static void tcg_out_qemu_st_slow_path (TCGContext *s, TCGLabelQemuLdst *label)

{

    int s_bits;

    int ir;

    int opc = label->opc;

    int mem_index = label->mem_index;

    int data_reg = label->datalo_reg;

    int data_reg2 = label->datahi_reg;

    int addr_reg = label->addrlo_reg;

    uint8_t *raddr = label->raddr;

    uint8_t **label_ptr = &label->label_ptr[0];



    s_bits = opc & 3;



    /* resolve label address */

    reloc_pc14 (label_ptr[0], (tcg_target_long) s->code_ptr);



    /* slow path */

    ir = 3;

    tcg_out_mov (s, TCG_TYPE_I32, ir++, TCG_AREG0);

#if TARGET_LONG_BITS == 32

    tcg_out_mov (s, TCG_TYPE_I32, ir++, addr_reg);

#else

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

    ir |= 1;

#endif

    tcg_out_mov (s, TCG_TYPE_I32, ir++, label->addrhi_reg);

    tcg_out_mov (s, TCG_TYPE_I32, ir++, addr_reg);

#endif



    switch (opc) {

    case 0:

        tcg_out32 (s, (RLWINM

                       | RA (ir)

                       | RS (data_reg)

                       | SH (0)

                       | MB (24)

                       | ME (31)));

        break;

    case 1:

        tcg_out32 (s, (RLWINM

                       | RA (ir)

                       | RS (data_reg)

                       | SH (0)

                       | MB (16)

                       | ME (31)));

        break;

    case 2:

        tcg_out_mov (s, TCG_TYPE_I32, ir, data_reg);

        break;

    case 3:

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

        ir |= 1;

#endif

        tcg_out_mov (s, TCG_TYPE_I32, ir++, data_reg2);

        tcg_out_mov (s, TCG_TYPE_I32, ir, data_reg);

        break;

    }

    ir++;



    tcg_out_movi (s, TCG_TYPE_I32, ir, mem_index);

    tcg_out_call (s, (tcg_target_long) qemu_st_helpers[opc], 1);

    tcg_out32 (s, B | 8);

    tcg_out32 (s, (tcg_target_long) raddr);

    tcg_out_b (s, 0, (tcg_target_long) raddr);

}

static void tcg_out_qemu_st_slow_path (TCGContext *s, TCGLabelQemuLdst *label)

{

    int s_bits;

    int ir;

    int opc = label->opc;

    int mem_index = label->mem_index;

    int data_reg = label->datalo_reg;

    int data_reg2 = label->datahi_reg;

    int addr_reg = label->addrlo_reg;

    uint8_t *raddr = label->raddr;

    uint8_t **label_ptr = &label->label_ptr[0];



    s_bits = opc & 3;



    

    reloc_pc14 (label_ptr[0], (tcg_target_long) s->code_ptr);



    

    ir = 3;

    tcg_out_mov (s, TCG_TYPE_I32, ir++, TCG_AREG0);

#if TARGET_LONG_BITS == 32

    tcg_out_mov (s, TCG_TYPE_I32, ir++, addr_reg);

#else

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

    ir |= 1;

#endif

    tcg_out_mov (s, TCG_TYPE_I32, ir++, label->addrhi_reg);

    tcg_out_mov (s, TCG_TYPE_I32, ir++, addr_reg);

#endif



    switch (opc) {

    case 0:

        tcg_out32 (s, (RLWINM

                       | RA (ir)

                       | RS (data_reg)

                       | SH (0)

                       | MB (24)

                       | ME (31)));

        break;

    case 1:

        tcg_out32 (s, (RLWINM

                       | RA (ir)

                       | RS (data_reg)

                       | SH (0)

                       | MB (16)

                       | ME (31)));

        break;

    case 2:

        tcg_out_mov (s, TCG_TYPE_I32, ir, data_reg);

        break;

    case 3:

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

        ir |= 1;

#endif

        tcg_out_mov (s, TCG_TYPE_I32, ir++, data_reg2);

        tcg_out_mov (s, TCG_TYPE_I32, ir, data_reg);

        break;

    }

    ir++;



    tcg_out_movi (s, TCG_TYPE_I32, ir, mem_index);

    tcg_out_call (s, (tcg_target_long) qemu_st_helpers[opc], 1);

    tcg_out32 (s, B | 8);

    tcg_out32 (s, (tcg_target_long) raddr);

    tcg_out_b (s, 0, (tcg_target_long) raddr);

}

static void FUNC_0 (TCGContext *VAR_0, TCGLabelQemuLdst *VAR_1)

{

    int VAR_2;

    int VAR_3;

    int VAR_4 = VAR_1->VAR_4;

    int VAR_5 = VAR_1->VAR_5;

    int VAR_6 = VAR_1->datalo_reg;

    int VAR_7 = VAR_1->datahi_reg;

    int VAR_8 = VAR_1->addrlo_reg;

    uint8_t *raddr = VAR_1->raddr;

    uint8_t **label_ptr = &VAR_1->label_ptr[0];



    VAR_2 = VAR_4 & 3;



    

    reloc_pc14 (label_ptr[0], (tcg_target_long) VAR_0->code_ptr);



    

    VAR_3 = 3;

    tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, TCG_AREG0);

#if TARGET_LONG_BITS == 32

    tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_8);

#else

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

    VAR_3 |= 1;

#endif

    tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_1->addrhi_reg);

    tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_8);

#endif



    switch (VAR_4) {

    case 0:

        tcg_out32 (VAR_0, (RLWINM

                       | RA (VAR_3)

                       | RS (VAR_6)

                       | SH (0)

                       | MB (24)

                       | ME (31)));

        break;

    case 1:

        tcg_out32 (VAR_0, (RLWINM

                       | RA (VAR_3)

                       | RS (VAR_6)

                       | SH (0)

                       | MB (16)

                       | ME (31)));

        break;

    case 2:

        tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3, VAR_6);

        break;

    case 3:

#ifdef TCG_TARGET_CALL_ALIGN_ARGS

        VAR_3 |= 1;

#endif

        tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_7);

        tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3, VAR_6);

        break;

    }

    VAR_3++;



    tcg_out_movi (VAR_0, TCG_TYPE_I32, VAR_3, VAR_5);

    tcg_out_call (VAR_0, (tcg_target_long) qemu_st_helpers[VAR_4], 1);

    tcg_out32 (VAR_0, B | 8);

    tcg_out32 (VAR_0, (tcg_target_long) raddr);

    tcg_out_b (VAR_0, 0, (tcg_target_long) raddr);

}

static void FUNC_0 (TCGContext *VAR_0, TCGLabelQemuLdst *VAR_1)
{ int VAR_2; int VAR_3; int VAR_4 = VAR_1->VAR_4; int VAR_5 = VAR_1->VAR_5; int VAR_6 = VAR_1->datalo_reg; int VAR_7 = VAR_1->datahi_reg; int VAR_8 = VAR_1->addrlo_reg; uint8_t *raddr = VAR_1->raddr; uint8_t **label_ptr = &VAR_1->label_ptr[0]; VAR_2 = VAR_4 & 3; reloc_pc14 (label_ptr[0], (tcg_target_long) VAR_0->code_ptr); VAR_3 = 3; tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, TCG_AREG0); #if TARGET_LONG_BITS == 32
tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_8); #else
#ifdef TCG_TARGET_CALL_ALIGN_ARGS
VAR_3 |= 1; #endif
tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_1->addrhi_reg); tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_8); #endif
switch (VAR_4) { case 0:
tcg_out32 (VAR_0, (RLWINM
| RA (VAR_3)
| RS (VAR_6)
| SH (0)
| MB (24)
| ME (31))); break; case 1:
tcg_out32 (VAR_0, (RLWINM
| RA (VAR_3)
| RS (VAR_6)
| SH (0)
| MB (16)
| ME (31))); break; case 2:
tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3, VAR_6); break; case 3:
#ifdef TCG_TARGET_CALL_ALIGN_ARGS
VAR_3 |= 1; #endif
tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3++, VAR_7); tcg_out_mov (VAR_0, TCG_TYPE_I32, VAR_3, VAR_6); break; } VAR_3++; tcg_out_movi (VAR_0, TCG_TYPE_I32, VAR_3, VAR_5); tcg_out_call (VAR_0, (tcg_target_long) qemu_st_helpers[VAR_4], 1); tcg_out32 (VAR_0, B | 8); tcg_out32 (VAR_0, (tcg_target_long) raddr); tcg_out_b (VAR_0, 0, (tcg_target_long) raddr); }