static void par_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value)

{

    if (arm_feature(env, ARM_FEATURE_LPAE)) {

        env->cp15.par_el1 = value;

    } else if (arm_feature(env, ARM_FEATURE_V7)) {

        env->cp15.par_el1 = value & 0xfffff6ff;

    } else {

        env->cp15.par_el1 = value & 0xfffff1ff;

    }

}

static void par_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value)

{

    if (arm_feature(env, ARM_FEATURE_LPAE)) {

        env->cp15.par_el1 = value;

    } else if (arm_feature(env, ARM_FEATURE_V7)) {

        env->cp15.par_el1 = value & 0xfffff6ff;

    } else {

        env->cp15.par_el1 = value & 0xfffff1ff;

    }

}

static void FUNC_0(CPUARMState *VAR_0, const ARMCPRegInfo *VAR_1, uint64_t VAR_2)

{

    if (arm_feature(VAR_0, ARM_FEATURE_LPAE)) {

        VAR_0->cp15.par_el1 = VAR_2;

    } else if (arm_feature(VAR_0, ARM_FEATURE_V7)) {

        VAR_0->cp15.par_el1 = VAR_2 & 0xfffff6ff;

    } else {

        VAR_0->cp15.par_el1 = VAR_2 & 0xfffff1ff;

    }

}

static void FUNC_0(CPUARMState *VAR_0, const ARMCPRegInfo *VAR_1, uint64_t VAR_2)
{ if (arm_feature(VAR_0, ARM_FEATURE_LPAE)) { VAR_0->cp15.par_el1 = VAR_2; } else if (arm_feature(VAR_0, ARM_FEATURE_V7)) { VAR_0->cp15.par_el1 = VAR_2 & 0xfffff6ff; } else { VAR_0->cp15.par_el1 = VAR_2 & 0xfffff1ff; } }