static void dump_regs(TCGContext *s)

{

    TCGTemp *ts;

    int i;

    char buf[64];



    for(i = 0; i < s->nb_temps; i++) {

        ts = &s->temps[i];

        printf("  %10s: ", tcg_get_arg_str_idx(s, buf, sizeof(buf), i));

        switch(ts->val_type) {

        case TEMP_VAL_REG:

            printf("%s", tcg_target_reg_names[ts->reg]);

            break;

        case TEMP_VAL_MEM:

            printf("%d(%s)", (int)ts->mem_offset, tcg_target_reg_names[ts->mem_reg]);

            break;

        case TEMP_VAL_CONST:

            printf("$0x%" TCG_PRIlx, ts->val);

            break;

        case TEMP_VAL_DEAD:

            printf("D");

            break;

        default:

            printf("???");

            break;

        }

        printf("\n");

    }



    for(i = 0; i < TCG_TARGET_NB_REGS; i++) {

        if (s->reg_to_temp[i] >= 0) {

            printf("%s: %s\n", 

                   tcg_target_reg_names[i], 

                   tcg_get_arg_str_idx(s, buf, sizeof(buf), s->reg_to_temp[i]));

        }

    }

}

static void dump_regs(TCGContext *s)

{

    TCGTemp *ts;

    int i;

    char buf[64];



    for(i = 0; i < s->nb_temps; i++) {

        ts = &s->temps[i];

        printf("  %10s: ", tcg_get_arg_str_idx(s, buf, sizeof(buf), i));

        switch(ts->val_type) {

        case TEMP_VAL_REG:

            printf("%s", tcg_target_reg_names[ts->reg]);

            break;

        case TEMP_VAL_MEM:

            printf("%d(%s)", (int)ts->mem_offset, tcg_target_reg_names[ts->mem_reg]);

            break;

        case TEMP_VAL_CONST:

            printf("$0x%" TCG_PRIlx, ts->val);

            break;

        case TEMP_VAL_DEAD:

            printf("D");

            break;

        default:

            printf("???");

            break;

        }

        printf("\n");

    }



    for(i = 0; i < TCG_TARGET_NB_REGS; i++) {

        if (s->reg_to_temp[i] >= 0) {

            printf("%s: %s\n", 

                   tcg_target_reg_names[i], 

                   tcg_get_arg_str_idx(s, buf, sizeof(buf), s->reg_to_temp[i]));

        }

    }

}

static void FUNC_0(TCGContext *VAR_0)

{

    TCGTemp *ts;

    int VAR_1;

    char VAR_2[64];



    for(VAR_1 = 0; VAR_1 < VAR_0->nb_temps; VAR_1++) {

        ts = &VAR_0->temps[VAR_1];

        printf("  %10s: ", tcg_get_arg_str_idx(VAR_0, VAR_2, sizeof(VAR_2), VAR_1));

        switch(ts->val_type) {

        case TEMP_VAL_REG:

            printf("%VAR_0", tcg_target_reg_names[ts->reg]);

            break;

        case TEMP_VAL_MEM:

            printf("%d(%VAR_0)", (int)ts->mem_offset, tcg_target_reg_names[ts->mem_reg]);

            break;

        case TEMP_VAL_CONST:

            printf("$0x%" TCG_PRIlx, ts->val);

            break;

        case TEMP_VAL_DEAD:

            printf("D");

            break;

        default:

            printf("???");

            break;

        }

        printf("\n");

    }



    for(VAR_1 = 0; VAR_1 < TCG_TARGET_NB_REGS; VAR_1++) {

        if (VAR_0->reg_to_temp[VAR_1] >= 0) {

            printf("%VAR_0: %VAR_0\n", 

                   tcg_target_reg_names[VAR_1], 

                   tcg_get_arg_str_idx(VAR_0, VAR_2, sizeof(VAR_2), VAR_0->reg_to_temp[VAR_1]));

        }

    }

}

static void FUNC_0(TCGContext *VAR_0)
{ TCGTemp *ts; int VAR_1; char VAR_2[64]; for(VAR_1 = 0; VAR_1 < VAR_0->nb_temps; VAR_1++) { ts = &VAR_0->temps[VAR_1]; printf("  %10s: ", tcg_get_arg_str_idx(VAR_0, VAR_2, sizeof(VAR_2), VAR_1)); switch(ts->val_type) { case TEMP_VAL_REG:
printf("%VAR_0", tcg_target_reg_names[ts->reg]); break; case TEMP_VAL_MEM:
printf("%d(%VAR_0)", (int)ts->mem_offset, tcg_target_reg_names[ts->mem_reg]); break; case TEMP_VAL_CONST:
printf("$0x%" TCG_PRIlx, ts->val); break; case TEMP_VAL_DEAD:
printf("D"); break; default:
printf("???"); break; } printf("\n"); } for(VAR_1 = 0; VAR_1 < TCG_TARGET_NB_REGS; VAR_1++) { if (VAR_0->reg_to_temp[VAR_1] >= 0) { printf("%VAR_0: %VAR_0\n",
tcg_target_reg_names[VAR_1],
tcg_get_arg_str_idx(VAR_0, VAR_2, sizeof(VAR_2), VAR_0->reg_to_temp[VAR_1])); } } }