static void disas_uncond_b_reg(DisasContext *s, uint32_t insn)

{

    unsigned int opc, op2, op3, rn, op4;



    opc = extract32(insn, 21, 4);

    op2 = extract32(insn, 16, 5);

    op3 = extract32(insn, 10, 6);

    rn = extract32(insn, 5, 5);

    op4 = extract32(insn, 0, 5);



    if (op4 != 0x0 || op3 != 0x0 || op2 != 0x1f) {

        unallocated_encoding(s);


    }



    switch (opc) {

    case 0: /* BR */

    case 2: /* RET */

        break;

    case 1: /* BLR */

        tcg_gen_movi_i64(cpu_reg(s, 30), s->pc);

        break;

    case 4: /* ERET */




    case 5: /* DRPS */

        if (rn != 0x1f) {

            unallocated_encoding(s);

        } else {

            unsupported_encoding(s, insn);

        }


    default:

        unallocated_encoding(s);


    }



    tcg_gen_mov_i64(cpu_pc, cpu_reg(s, rn));


}
static void disas_uncond_b_reg(DisasContext *s, uint32_t insn)

{

    unsigned int opc, op2, op3, rn, op4;



    opc = extract32(insn, 21, 4);

    op2 = extract32(insn, 16, 5);

    op3 = extract32(insn, 10, 6);

    rn = extract32(insn, 5, 5);

    op4 = extract32(insn, 0, 5);



    if (op4 != 0x0 || op3 != 0x0 || op2 != 0x1f) {

        unallocated_encoding(s);


    }



    switch (opc) {

    case 0: 

    case 2: 

        break;

    case 1: 

        tcg_gen_movi_i64(cpu_reg(s, 30), s->pc);

        break;

    case 4: 




    case 5: 

        if (rn != 0x1f) {

            unallocated_encoding(s);

        } else {

            unsupported_encoding(s, insn);

        }


    default:

        unallocated_encoding(s);


    }



    tcg_gen_mov_i64(cpu_pc, cpu_reg(s, rn));


}
static void FUNC_0(DisasContext *VAR_0, uint32_t VAR_1)

{

    unsigned int VAR_2, VAR_3, VAR_4, VAR_5, VAR_6;



    VAR_2 = extract32(VAR_1, 21, 4);

    VAR_3 = extract32(VAR_1, 16, 5);

    VAR_4 = extract32(VAR_1, 10, 6);

    VAR_5 = extract32(VAR_1, 5, 5);

    VAR_6 = extract32(VAR_1, 0, 5);



    if (VAR_6 != 0x0 || VAR_4 != 0x0 || VAR_3 != 0x1f) {

        unallocated_encoding(VAR_0);


    }



    switch (VAR_2) {

    case 0: 

    case 2: 

        break;

    case 1: 

        tcg_gen_movi_i64(cpu_reg(VAR_0, 30), VAR_0->pc);

        break;

    case 4: 




    case 5: 

        if (VAR_5 != 0x1f) {

            unallocated_encoding(VAR_0);

        } else {

            unsupported_encoding(VAR_0, VAR_1);

        }


    default:

        unallocated_encoding(VAR_0);


    }



    tcg_gen_mov_i64(cpu_pc, cpu_reg(VAR_0, VAR_5));


}
static void FUNC_0(DisasContext *VAR_0, uint32_t VAR_1)
{ unsigned int VAR_2, VAR_3, VAR_4, VAR_5, VAR_6; VAR_2 = extract32(VAR_1, 21, 4); VAR_3 = extract32(VAR_1, 16, 5); VAR_4 = extract32(VAR_1, 10, 6); VAR_5 = extract32(VAR_1, 5, 5); VAR_6 = extract32(VAR_1, 0, 5); if (VAR_6 != 0x0 || VAR_4 != 0x0 || VAR_3 != 0x1f) { unallocated_encoding(VAR_0); } switch (VAR_2) { case 0:
case 2:
break; case 1:
tcg_gen_movi_i64(cpu_reg(VAR_0, 30), VAR_0->pc); break; case 4:
case 5:
if (VAR_5 != 0x1f) { unallocated_encoding(VAR_0); } else { unsupported_encoding(VAR_0, VAR_1); } default:
unallocated_encoding(VAR_0); } tcg_gen_mov_i64(cpu_pc, cpu_reg(VAR_0, VAR_5)); }