static inline void gen_outs(DisasContext *s, TCGMemOp ot)

{

    if (s->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_start();

    }

    gen_string_movl_A0_ESI(s);

    gen_op_ld_v(s, ot, cpu_T0, cpu_A0);



    tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_regs[R_EDX]);

    tcg_gen_andi_i32(cpu_tmp2_i32, cpu_tmp2_i32, 0xffff);

    tcg_gen_trunc_tl_i32(cpu_tmp3_i32, cpu_T0);

    gen_helper_out_func(ot, cpu_tmp2_i32, cpu_tmp3_i32);

    gen_op_movl_T0_Dshift(ot);

    gen_op_add_reg_T0(s->aflag, R_ESI);

    gen_bpt_io(s, cpu_tmp2_i32, ot);

    if (s->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_end();

    }

}

static inline void gen_outs(DisasContext *s, TCGMemOp ot)

{

    if (s->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_start();

    }

    gen_string_movl_A0_ESI(s);

    gen_op_ld_v(s, ot, cpu_T0, cpu_A0);



    tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_regs[R_EDX]);

    tcg_gen_andi_i32(cpu_tmp2_i32, cpu_tmp2_i32, 0xffff);

    tcg_gen_trunc_tl_i32(cpu_tmp3_i32, cpu_T0);

    gen_helper_out_func(ot, cpu_tmp2_i32, cpu_tmp3_i32);

    gen_op_movl_T0_Dshift(ot);

    gen_op_add_reg_T0(s->aflag, R_ESI);

    gen_bpt_io(s, cpu_tmp2_i32, ot);

    if (s->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_end();

    }

}

    if (s->base.tb->cflags & CF_USE_ICOUNT) {     if (s->base.tb->cflags & CF_USE_ICOUNT) {     if (s->base.tb->cflags & CF_USE_ICOUNT) {     if (s->base.tb->cflags & CF_USE_ICOUNT) {
static inline void FUNC_0(DisasContext *VAR_0, TCGMemOp VAR_1)

{

    if (VAR_0->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_start();

    }

    gen_string_movl_A0_ESI(VAR_0);

    gen_op_ld_v(VAR_0, VAR_1, cpu_T0, cpu_A0);



    tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_regs[R_EDX]);

    tcg_gen_andi_i32(cpu_tmp2_i32, cpu_tmp2_i32, 0xffff);

    tcg_gen_trunc_tl_i32(cpu_tmp3_i32, cpu_T0);

    gen_helper_out_func(VAR_1, cpu_tmp2_i32, cpu_tmp3_i32);

    gen_op_movl_T0_Dshift(VAR_1);

    gen_op_add_reg_T0(VAR_0->aflag, R_ESI);

    gen_bpt_io(VAR_0, cpu_tmp2_i32, VAR_1);

    if (VAR_0->base.tb->cflags & CF_USE_ICOUNT) {

        gen_io_end();

    }

}

static inline void FUNC_0(DisasContext *VAR_0, TCGMemOp VAR_1)
{ if (VAR_0->base.tb->cflags & CF_USE_ICOUNT) { gen_io_start(); } gen_string_movl_A0_ESI(VAR_0); gen_op_ld_v(VAR_0, VAR_1, cpu_T0, cpu_A0); tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_regs[R_EDX]); tcg_gen_andi_i32(cpu_tmp2_i32, cpu_tmp2_i32, 0xffff); tcg_gen_trunc_tl_i32(cpu_tmp3_i32, cpu_T0); gen_helper_out_func(VAR_1, cpu_tmp2_i32, cpu_tmp3_i32); gen_op_movl_T0_Dshift(VAR_1); gen_op_add_reg_T0(VAR_0->aflag, R_ESI); gen_bpt_io(VAR_0, cpu_tmp2_i32, VAR_1); if (VAR_0->base.tb->cflags & CF_USE_ICOUNT) { gen_io_end(); } }