static inline void tcg_out_ldst(TCGContext *s, int ret, int addr,

                                int offset, int op)

{

    if (check_fit_tl(offset, 13)) {

        tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(addr) |

                  INSN_IMM13(offset));

    } else {

        tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_T1, offset);

        tcg_out_ldst_rr(s, ret, addr, TCG_REG_T1, op);

    }

}

static inline void tcg_out_ldst(TCGContext *s, int ret, int addr,

                                int offset, int op)

{

    if (check_fit_tl(offset, 13)) {

        tcg_out32(s, op | INSN_RD(ret) | INSN_RS1(addr) |

                  INSN_IMM13(offset));

    } else {

        tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_T1, offset);

        tcg_out_ldst_rr(s, ret, addr, TCG_REG_T1, op);

    }

}

static inline void FUNC_0(TCGContext *VAR_0, int VAR_1, int VAR_2,

                                int VAR_3, int VAR_4)

{

    if (check_fit_tl(VAR_3, 13)) {

        tcg_out32(VAR_0, VAR_4 | INSN_RD(VAR_1) | INSN_RS1(VAR_2) |

                  INSN_IMM13(VAR_3));

    } else {

        tcg_out_movi(VAR_0, TCG_TYPE_PTR, TCG_REG_T1, VAR_3);

        tcg_out_ldst_rr(VAR_0, VAR_1, VAR_2, TCG_REG_T1, VAR_4);

    }

}

static inline void FUNC_0(TCGContext *VAR_0, int VAR_1, int VAR_2,
int VAR_3, int VAR_4)
{ if (check_fit_tl(VAR_3, 13)) { tcg_out32(VAR_0, VAR_4 | INSN_RD(VAR_1) | INSN_RS1(VAR_2) |
INSN_IMM13(VAR_3)); } else { tcg_out_movi(VAR_0, TCG_TYPE_PTR, TCG_REG_T1, VAR_3); tcg_out_ldst_rr(VAR_0, VAR_1, VAR_2, TCG_REG_T1, VAR_4); } }