static int hash32_bat_601_prot(CPUPPCState *env,

                               target_ulong batu, target_ulong batl)

{

    int key, pp;



    pp = batu & BATU32_601_PP;

    if (msr_pr == 0) {

        key = !!(batu & BATU32_601_KS);

    } else {

        key = !!(batu & BATU32_601_KP);

    }

    return ppc_hash32_pp_check(key, pp, 0);

}

static int hash32_bat_601_prot(CPUPPCState *env,

                               target_ulong batu, target_ulong batl)

{

    int key, pp;



    pp = batu & BATU32_601_PP;

    if (msr_pr == 0) {

        key = !!(batu & BATU32_601_KS);

    } else {

        key = !!(batu & BATU32_601_KP);

    }

    return ppc_hash32_pp_check(key, pp, 0);

}

static int FUNC_0(CPUPPCState *VAR_0,

                               target_ulong VAR_1, target_ulong VAR_2)

{

    int VAR_3, VAR_4;



    VAR_4 = VAR_1 & BATU32_601_PP;

    if (msr_pr == 0) {

        VAR_3 = !!(VAR_1 & BATU32_601_KS);

    } else {

        VAR_3 = !!(VAR_1 & BATU32_601_KP);

    }

    return ppc_hash32_pp_check(VAR_3, VAR_4, 0);

}

static int FUNC_0(CPUPPCState *VAR_0,
target_ulong VAR_1, target_ulong VAR_2)
{ int VAR_3, VAR_4; VAR_4 = VAR_1 & BATU32_601_PP; if (msr_pr == 0) { VAR_3 = !!(VAR_1 & BATU32_601_KS); } else { VAR_3 = !!(VAR_1 & BATU32_601_KP); } return ppc_hash32_pp_check(VAR_3, VAR_4, 0); }