static void gen_waiti(DisasContext *dc, uint32_t imm4)

{

    TCGv_i32 pc = tcg_const_i32(dc->next_pc);

    TCGv_i32 intlevel = tcg_const_i32(imm4);



    if (dc->tb->cflags & CF_USE_ICOUNT) {

        gen_io_start();

    }

    gen_helper_waiti(cpu_env, pc, intlevel);

    if (dc->tb->cflags & CF_USE_ICOUNT) {

        gen_io_end();

    }

    tcg_temp_free(pc);

    tcg_temp_free(intlevel);

    gen_jumpi_check_loop_end(dc, 0);

}

static void gen_waiti(DisasContext *dc, uint32_t imm4)

{

    TCGv_i32 pc = tcg_const_i32(dc->next_pc);

    TCGv_i32 intlevel = tcg_const_i32(imm4);



    if (dc->tb->cflags & CF_USE_ICOUNT) {

        gen_io_start();

    }

    gen_helper_waiti(cpu_env, pc, intlevel);

    if (dc->tb->cflags & CF_USE_ICOUNT) {

        gen_io_end();

    }

    tcg_temp_free(pc);

    tcg_temp_free(intlevel);

    gen_jumpi_check_loop_end(dc, 0);

}

    if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {     if (dc->tb->cflags & CF_USE_ICOUNT) {
static void FUNC_0(DisasContext *VAR_0, uint32_t VAR_1)

{

    TCGv_i32 pc = tcg_const_i32(VAR_0->next_pc);

    TCGv_i32 intlevel = tcg_const_i32(VAR_1);



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

        gen_io_start();

    }

    gen_helper_waiti(cpu_env, pc, intlevel);

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

        gen_io_end();

    }

    tcg_temp_free(pc);

    tcg_temp_free(intlevel);

    gen_jumpi_check_loop_end(VAR_0, 0);

}

static void FUNC_0(DisasContext *VAR_0, uint32_t VAR_1)
{ TCGv_i32 pc = tcg_const_i32(VAR_0->next_pc); TCGv_i32 intlevel = tcg_const_i32(VAR_1); if (VAR_0->tb->cflags & CF_USE_ICOUNT) { gen_io_start(); } gen_helper_waiti(cpu_env, pc, intlevel); if (VAR_0->tb->cflags & CF_USE_ICOUNT) { gen_io_end(); } tcg_temp_free(pc); tcg_temp_free(intlevel); gen_jumpi_check_loop_end(VAR_0, 0); }