static inline void tcg_out_ld_ptr(TCGContext *s, TCGReg ret, uintptr_t arg)

{

    TCGReg base = TCG_REG_G0;

    if (!check_fit_tl(arg, 10)) {

        tcg_out_movi(s, TCG_TYPE_PTR, ret, arg & ~0x3ff);

        base = ret;

    }

    tcg_out_ld(s, TCG_TYPE_PTR, ret, base, arg & 0x3ff);

}

static inline void tcg_out_ld_ptr(TCGContext *s, TCGReg ret, uintptr_t arg)

{

    TCGReg base = TCG_REG_G0;

    if (!check_fit_tl(arg, 10)) {

        tcg_out_movi(s, TCG_TYPE_PTR, ret, arg & ~0x3ff);

        base = ret;

    }

    tcg_out_ld(s, TCG_TYPE_PTR, ret, base, arg & 0x3ff);

}

static inline void FUNC_0(TCGContext *VAR_0, TCGReg VAR_1, uintptr_t VAR_2)

{

    TCGReg base = TCG_REG_G0;

    if (!check_fit_tl(VAR_2, 10)) {

        tcg_out_movi(VAR_0, TCG_TYPE_PTR, VAR_1, VAR_2 & ~0x3ff);

        base = VAR_1;

    }

    tcg_out_ld(VAR_0, TCG_TYPE_PTR, VAR_1, base, VAR_2 & 0x3ff);

}

static inline void FUNC_0(TCGContext *VAR_0, TCGReg VAR_1, uintptr_t VAR_2)
{ TCGReg base = TCG_REG_G0; if (!check_fit_tl(VAR_2, 10)) { tcg_out_movi(VAR_0, TCG_TYPE_PTR, VAR_1, VAR_2 & ~0x3ff); base = VAR_1; } tcg_out_ld(VAR_0, TCG_TYPE_PTR, VAR_1, base, VAR_2 & 0x3ff); }