static void hash32_bat_size(CPUPPCState *env, target_ulong *blp, int *validp,

                            target_ulong batu, target_ulong batl)

{

    target_ulong bl;

    int valid;



    bl = (batu & BATU32_BL) << 15;

    valid = 0;

    if (((msr_pr == 0) && (batu & BATU32_VS)) ||

        ((msr_pr != 0) && (batu & BATU32_VP))) {

        valid = 1;

    }

    *blp = bl;

    *validp = valid;

}

static void hash32_bat_size(CPUPPCState *env, target_ulong *blp, int *validp,

                            target_ulong batu, target_ulong batl)

{

    target_ulong bl;

    int valid;



    bl = (batu & BATU32_BL) << 15;

    valid = 0;

    if (((msr_pr == 0) && (batu & BATU32_VS)) ||

        ((msr_pr != 0) && (batu & BATU32_VP))) {

        valid = 1;

    }

    *blp = bl;

    *validp = valid;

}

static void FUNC_0(CPUPPCState *VAR_0, target_ulong *VAR_1, int *VAR_2,

                            target_ulong VAR_3, target_ulong VAR_4)

{

    target_ulong bl;

    int VAR_5;



    bl = (VAR_3 & BATU32_BL) << 15;

    VAR_5 = 0;

    if (((msr_pr == 0) && (VAR_3 & BATU32_VS)) ||

        ((msr_pr != 0) && (VAR_3 & BATU32_VP))) {

        VAR_5 = 1;

    }

    *VAR_1 = bl;

    *VAR_2 = VAR_5;

}

static void FUNC_0(CPUPPCState *VAR_0, target_ulong *VAR_1, int *VAR_2,
target_ulong VAR_3, target_ulong VAR_4)
{ target_ulong bl; int VAR_5; bl = (VAR_3 & BATU32_BL) << 15; VAR_5 = 0; if (((msr_pr == 0) && (VAR_3 & BATU32_VS)) ||
((msr_pr != 0) && (VAR_3 & BATU32_VP))) { VAR_5 = 1; } *VAR_1 = bl; *VAR_2 = VAR_5; }