static void ppc_cpu_unrealizefn(DeviceState *dev, Error **errp)

{

    PowerPCCPU *cpu = POWERPC_CPU(dev);

    CPUPPCState *env = &cpu->env;

    opc_handler_t **table;

    int i, j;



    cpu_exec_exit(CPU(dev));



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

        if (env->opcodes[i] == &invalid_handler) {

            continue;

        }

        if (is_indirect_opcode(env->opcodes[i])) {

            table = ind_table(env->opcodes[i]);

            for (j = 0; j < PPC_CPU_INDIRECT_OPCODES_LEN; j++) {

                if (table[j] != &invalid_handler &&

                        is_indirect_opcode(table[j])) {

                    g_free((opc_handler_t *)((uintptr_t)table[j] &

                        ~PPC_INDIRECT));

                }

            }

            g_free((opc_handler_t *)((uintptr_t)env->opcodes[i] &

                ~PPC_INDIRECT));

        }

    }

}

static void ppc_cpu_unrealizefn(DeviceState *dev, Error **errp)

{

    PowerPCCPU *cpu = POWERPC_CPU(dev);

    CPUPPCState *env = &cpu->env;

    opc_handler_t **table;

    int i, j;



    cpu_exec_exit(CPU(dev));



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

        if (env->opcodes[i] == &invalid_handler) {

            continue;

        }

        if (is_indirect_opcode(env->opcodes[i])) {

            table = ind_table(env->opcodes[i]);

            for (j = 0; j < PPC_CPU_INDIRECT_OPCODES_LEN; j++) {

                if (table[j] != &invalid_handler &&

                        is_indirect_opcode(table[j])) {

                    g_free((opc_handler_t *)((uintptr_t)table[j] &

                        ~PPC_INDIRECT));

                }

            }

            g_free((opc_handler_t *)((uintptr_t)env->opcodes[i] &

                ~PPC_INDIRECT));

        }

    }

}

    opc_handler_t **table;     int i, j;                 if (table[j] != &invalid_handler &&                         is_indirect_opcode(table[j])) {                         ~PPC_INDIRECT));
static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    PowerPCCPU *cpu = POWERPC_CPU(VAR_0);

    CPUPPCState *env = &cpu->env;

    opc_handler_t **table;

    int VAR_2, VAR_3;



    cpu_exec_exit(CPU(VAR_0));



    for (VAR_2 = 0; VAR_2 < PPC_CPU_OPCODES_LEN; VAR_2++) {

        if (env->opcodes[VAR_2] == &invalid_handler) {

            continue;

        }

        if (is_indirect_opcode(env->opcodes[VAR_2])) {

            table = ind_table(env->opcodes[VAR_2]);

            for (VAR_3 = 0; VAR_3 < PPC_CPU_INDIRECT_OPCODES_LEN; VAR_3++) {

                if (table[VAR_3] != &invalid_handler &&

                        is_indirect_opcode(table[VAR_3])) {

                    g_free((opc_handler_t *)((uintptr_t)table[VAR_3] &

                        ~PPC_INDIRECT));

                }

            }

            g_free((opc_handler_t *)((uintptr_t)env->opcodes[VAR_2] &

                ~PPC_INDIRECT));

        }

    }

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ PowerPCCPU *cpu = POWERPC_CPU(VAR_0); CPUPPCState *env = &cpu->env; opc_handler_t **table; int VAR_2, VAR_3; cpu_exec_exit(CPU(VAR_0)); for (VAR_2 = 0; VAR_2 < PPC_CPU_OPCODES_LEN; VAR_2++) { if (env->opcodes[VAR_2] == &invalid_handler) { continue; } if (is_indirect_opcode(env->opcodes[VAR_2])) { table = ind_table(env->opcodes[VAR_2]); for (VAR_3 = 0; VAR_3 < PPC_CPU_INDIRECT_OPCODES_LEN; VAR_3++) { if (table[VAR_3] != &invalid_handler &&
is_indirect_opcode(table[VAR_3])) { g_free((opc_handler_t *)((uintptr_t)table[VAR_3] &
~PPC_INDIRECT)); } } g_free((opc_handler_t *)((uintptr_t)env->opcodes[VAR_2] &
~PPC_INDIRECT)); } } }