int dyngen_code(TCGContext *s, uint8_t *gen_code_buf)

{

#ifdef CONFIG_PROFILER

    {

        extern int64_t dyngen_op_count;

        extern int dyngen_op_count_max;

        int n;

        n = (gen_opc_ptr - gen_opc_buf);

        dyngen_op_count += n;

        if (n > dyngen_op_count_max)

            dyngen_op_count_max = n;

    }

#endif



    tcg_gen_code_common(s, gen_code_buf, 0, NULL);



    /* flush instruction cache */

    flush_icache_range((unsigned long)gen_code_buf, 

                       (unsigned long)s->code_ptr);

    return s->code_ptr -  gen_code_buf;

}

int dyngen_code(TCGContext *s, uint8_t *gen_code_buf)

{

#ifdef CONFIG_PROFILER

    {

        extern int64_t dyngen_op_count;

        extern int dyngen_op_count_max;

        int n;

        n = (gen_opc_ptr - gen_opc_buf);

        dyngen_op_count += n;

        if (n > dyngen_op_count_max)

            dyngen_op_count_max = n;

    }

#endif



    tcg_gen_code_common(s, gen_code_buf, 0, NULL);



    

    flush_icache_range((unsigned long)gen_code_buf, 

                       (unsigned long)s->code_ptr);

    return s->code_ptr -  gen_code_buf;

}

    tcg_gen_code_common(s, gen_code_buf, 0, NULL);
int FUNC_0(TCGContext *VAR_0, uint8_t *VAR_1)

{

#ifdef CONFIG_PROFILER

    {

        extern int64_t dyngen_op_count;

        extern int dyngen_op_count_max;

        int n;

        n = (gen_opc_ptr - gen_opc_buf);

        dyngen_op_count += n;

        if (n > dyngen_op_count_max)

            dyngen_op_count_max = n;

    }

#endif



    tcg_gen_code_common(VAR_0, VAR_1, 0, NULL);



    

    flush_icache_range((unsigned long)VAR_1, 

                       (unsigned long)VAR_0->code_ptr);

    return VAR_0->code_ptr -  VAR_1;

}

int FUNC_0(TCGContext *VAR_0, uint8_t *VAR_1)
{ #ifdef CONFIG_PROFILER
{ extern int64_t dyngen_op_count; extern int dyngen_op_count_max; int n; n = (gen_opc_ptr - gen_opc_buf); dyngen_op_count += n; if (n > dyngen_op_count_max)
dyngen_op_count_max = n; } #endif
tcg_gen_code_common(VAR_0, VAR_1, 0, NULL); flush_icache_range((unsigned long)VAR_1,
(unsigned long)VAR_0->code_ptr); return VAR_0->code_ptr -  VAR_1; }