uint32_t HELPER(shr_cc)(CPUM68KState *env, uint32_t val, uint32_t shift)

{

    uint64_t temp;

    uint32_t result;



    shift &= 63;

    temp = (uint64_t)val << 32 >> shift;

    result = temp >> 32;



    env->cc_c = (temp >> 31) & 1;

    env->cc_n = result;

    env->cc_z = result;

    env->cc_v = 0;

    env->cc_x = shift ? env->cc_c : env->cc_x;



    return result;

}

uint32_t HELPER(shr_cc)(CPUM68KState *env, uint32_t val, uint32_t shift)

{

    uint64_t temp;

    uint32_t result;



    shift &= 63;

    temp = (uint64_t)val << 32 >> shift;

    result = temp >> 32;



    env->cc_c = (temp >> 31) & 1;

    env->cc_n = result;

    env->cc_z = result;

    env->cc_v = 0;

    env->cc_x = shift ? env->cc_c : env->cc_x;



    return result;

}

    shift &= 63;     env->cc_n = result;     env->cc_z = result;     env->cc_v = 0;     env->cc_x = shift ? env->cc_c : env->cc_x;     return result; uint32_t HELPER(shr_cc)(CPUM68KState *env, uint32_t val, uint32_t shift)     uint64_t temp;     uint32_t result;     shift &= 63;     temp = (uint64_t)val << 32 >> shift;     result = temp >> 32;     env->cc_c = (temp >> 31) & 1;     env->cc_n = result;     env->cc_z = result;     env->cc_v = 0;     env->cc_x = shift ? env->cc_c : env->cc_x;     return result;     uint64_t temp;     uint32_t result;     shift &= 63;     result = temp >> 32;     env->cc_c = (temp >> 31) & 1;     env->cc_n = result;     env->cc_z = result;     env->cc_x = shift ? env->cc_c : env->cc_x;     return result;
uint32_t FUNC_0(shr_cc)(CPUM68KState *env, uint32_t val, uint32_t shift)

{

    uint64_t temp;

    uint32_t result;



    shift &= 63;

    temp = (uint64_t)val << 32 >> shift;

    result = temp >> 32;



    env->cc_c = (temp >> 31) & 1;

    env->cc_n = result;

    env->cc_z = result;

    env->cc_v = 0;

    env->cc_x = shift ? env->cc_c : env->cc_x;



    return result;

}

uint32_t FUNC_0(shr_cc)(CPUM68KState *env, uint32_t val, uint32_t shift)
{ uint64_t temp; uint32_t result; shift &= 63; temp = (uint64_t)val << 32 >> shift; result = temp >> 32; env->cc_c = (temp >> 31) & 1; env->cc_n = result; env->cc_z = result; env->cc_v = 0; env->cc_x = shift ? env->cc_c : env->cc_x; return result; }