static void tcg_out_qemu_st(TCGContext* s, TCGReg data_reg, TCGReg addr_reg,

                            TCGMemOpIdx oi)

{

    TCGMemOp opc = get_memop(oi);

#ifdef CONFIG_SOFTMMU

    unsigned mem_index = get_mmuidx(oi);

    tcg_insn_unit *label_ptr;

    TCGReg base_reg;



    base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 0);



    label_ptr = s->code_ptr + 1;

    tcg_out_insn(s, RI, BRC, S390_CC_NE, 0);



    tcg_out_qemu_st_direct(s, opc, data_reg, base_reg, TCG_REG_R2, 0);



    add_qemu_ldst_label(s, 0, oi, data_reg, addr_reg, s->code_ptr, label_ptr);

#else

    TCGReg index_reg;

    tcg_target_long disp;



    tcg_prepare_user_ldst(s, &addr_reg, &index_reg, &disp);

    tcg_out_qemu_st_direct(s, opc, data_reg, addr_reg, index_reg, disp);

#endif

}

static void tcg_out_qemu_st(TCGContext* s, TCGReg data_reg, TCGReg addr_reg,

                            TCGMemOpIdx oi)

{

    TCGMemOp opc = get_memop(oi);

#ifdef CONFIG_SOFTMMU

    unsigned mem_index = get_mmuidx(oi);

    tcg_insn_unit *label_ptr;

    TCGReg base_reg;



    base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 0);



    label_ptr = s->code_ptr + 1;

    tcg_out_insn(s, RI, BRC, S390_CC_NE, 0);



    tcg_out_qemu_st_direct(s, opc, data_reg, base_reg, TCG_REG_R2, 0);



    add_qemu_ldst_label(s, 0, oi, data_reg, addr_reg, s->code_ptr, label_ptr);

#else

    TCGReg index_reg;

    tcg_target_long disp;



    tcg_prepare_user_ldst(s, &addr_reg, &index_reg, &disp);

    tcg_out_qemu_st_direct(s, opc, data_reg, addr_reg, index_reg, disp);

#endif

}

    label_ptr = s->code_ptr + 1;     tcg_out_insn(s, RI, BRC, S390_CC_NE, 0);     label_ptr = s->code_ptr + 1;     tcg_out_insn(s, RI, BRC, S390_CC_NE, 0);
static void FUNC_0(TCGContext* VAR_0, TCGReg VAR_1, TCGReg VAR_2,

                            TCGMemOpIdx VAR_3)

{

    TCGMemOp opc = get_memop(VAR_3);

#ifdef CONFIG_SOFTMMU

    unsigned mem_index = get_mmuidx(VAR_3);

    tcg_insn_unit *label_ptr;

    TCGReg base_reg;



    base_reg = tcg_out_tlb_read(VAR_0, VAR_2, opc, mem_index, 0);



    label_ptr = VAR_0->code_ptr + 1;

    tcg_out_insn(VAR_0, RI, BRC, S390_CC_NE, 0);



    tcg_out_qemu_st_direct(VAR_0, opc, VAR_1, base_reg, TCG_REG_R2, 0);



    add_qemu_ldst_label(VAR_0, 0, VAR_3, VAR_1, VAR_2, VAR_0->code_ptr, label_ptr);

#else

    TCGReg index_reg;

    tcg_target_long disp;



    tcg_prepare_user_ldst(VAR_0, &VAR_2, &index_reg, &disp);

    tcg_out_qemu_st_direct(VAR_0, opc, VAR_1, VAR_2, index_reg, disp);

#endif

}

static void FUNC_0(TCGContext* VAR_0, TCGReg VAR_1, TCGReg VAR_2,
TCGMemOpIdx VAR_3)
{ TCGMemOp opc = get_memop(VAR_3); #ifdef CONFIG_SOFTMMU
unsigned mem_index = get_mmuidx(VAR_3); tcg_insn_unit *label_ptr; TCGReg base_reg; base_reg = tcg_out_tlb_read(VAR_0, VAR_2, opc, mem_index, 0); label_ptr = VAR_0->code_ptr + 1; tcg_out_insn(VAR_0, RI, BRC, S390_CC_NE, 0); tcg_out_qemu_st_direct(VAR_0, opc, VAR_1, base_reg, TCG_REG_R2, 0); add_qemu_ldst_label(VAR_0, 0, VAR_3, VAR_1, VAR_2, VAR_0->code_ptr, label_ptr); #else
TCGReg index_reg; tcg_target_long disp; tcg_prepare_user_ldst(VAR_0, &VAR_2, &index_reg, &disp); tcg_out_qemu_st_direct(VAR_0, opc, VAR_1, VAR_2, index_reg, disp); #endif
}