void tcg_register_helper(void *func, const char *name)

{

    TCGContext *s = &tcg_ctx;

    GHashTable *table = s->helpers;



    if (table == NULL) {

        /* Use g_direct_hash/equal for direct pointer comparisons on func.  */

        table = g_hash_table_new(NULL, NULL);

        s->helpers = table;

    }



    g_hash_table_insert(table, (gpointer)func, (gpointer)name);

}

void tcg_register_helper(void *func, const char *name)

{

    TCGContext *s = &tcg_ctx;

    GHashTable *table = s->helpers;



    if (table == NULL) {

        

        table = g_hash_table_new(NULL, NULL);

        s->helpers = table;

    }



    g_hash_table_insert(table, (gpointer)func, (gpointer)name);

}

void FUNC_0(void *VAR_0, const char *VAR_1)

{

    TCGContext *s = &tcg_ctx;

    GHashTable *table = s->helpers;



    if (table == NULL) {

        

        table = g_hash_table_new(NULL, NULL);

        s->helpers = table;

    }



    g_hash_table_insert(table, (gpointer)VAR_0, (gpointer)VAR_1);

}

void FUNC_0(void *VAR_0, const char *VAR_1)
{ TCGContext *s = &tcg_ctx; GHashTable *table = s->helpers; if (table == NULL) { table = g_hash_table_new(NULL, NULL); s->helpers = table; } g_hash_table_insert(table, (gpointer)VAR_0, (gpointer)VAR_1); }