static int arm946_prbs_write(CPUARMState *env, const ARMCPRegInfo *ri,

                             uint64_t value)

{

    if (ri->crm >= 8) {

        return EXCP_UDEF;

    }

    env->cp15.c6_region[ri->crm] = value;

    return 0;

}

static int arm946_prbs_write(CPUARMState *env, const ARMCPRegInfo *ri,

                             uint64_t value)

{

    if (ri->crm >= 8) {

        return EXCP_UDEF;

    }

    env->cp15.c6_region[ri->crm] = value;

    return 0;

}

static int FUNC_0(CPUARMState *VAR_0, const ARMCPRegInfo *VAR_1,

                             uint64_t VAR_2)

{

    if (VAR_1->crm >= 8) {

        return EXCP_UDEF;

    }

    VAR_0->cp15.c6_region[VAR_1->crm] = VAR_2;

    return 0;

}

static int FUNC_0(CPUARMState *VAR_0, const ARMCPRegInfo *VAR_1,
uint64_t VAR_2)
{ if (VAR_1->crm >= 8) { return EXCP_UDEF; } VAR_0->cp15.c6_region[VAR_1->crm] = VAR_2; return 0; }