static inline void tcg_reg_sync(TCGContext *s, int reg)

{

    TCGTemp *ts;

    int temp;



    temp = s->reg_to_temp[reg];

    ts = &s->temps[temp];

    assert(ts->val_type == TEMP_VAL_REG);

    if (!ts->mem_coherent && !ts->fixed_reg) {

        if (!ts->mem_allocated) {

            temp_allocate_frame(s, temp);

        }

        tcg_out_st(s, ts->type, reg, ts->mem_reg, ts->mem_offset);

    }

    ts->mem_coherent = 1;

}

static inline void tcg_reg_sync(TCGContext *s, int reg)

{

    TCGTemp *ts;

    int temp;



    temp = s->reg_to_temp[reg];

    ts = &s->temps[temp];

    assert(ts->val_type == TEMP_VAL_REG);

    if (!ts->mem_coherent && !ts->fixed_reg) {

        if (!ts->mem_allocated) {

            temp_allocate_frame(s, temp);

        }

        tcg_out_st(s, ts->type, reg, ts->mem_reg, ts->mem_offset);

    }

    ts->mem_coherent = 1;

}

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

{

    TCGTemp *ts;

    int VAR_2;



    VAR_2 = VAR_0->reg_to_temp[VAR_1];

    ts = &VAR_0->temps[VAR_2];

    assert(ts->val_type == TEMP_VAL_REG);

    if (!ts->mem_coherent && !ts->fixed_reg) {

        if (!ts->mem_allocated) {

            temp_allocate_frame(VAR_0, VAR_2);

        }

        tcg_out_st(VAR_0, ts->type, VAR_1, ts->mem_reg, ts->mem_offset);

    }

    ts->mem_coherent = 1;

}

static inline void FUNC_0(TCGContext *VAR_0, int VAR_1)
{ TCGTemp *ts; int VAR_2; VAR_2 = VAR_0->reg_to_temp[VAR_1]; ts = &VAR_0->temps[VAR_2]; assert(ts->val_type == TEMP_VAL_REG); if (!ts->mem_coherent && !ts->fixed_reg) { if (!ts->mem_allocated) { temp_allocate_frame(VAR_0, VAR_2); } tcg_out_st(VAR_0, ts->type, VAR_1, ts->mem_reg, ts->mem_offset); } ts->mem_coherent = 1; }