static void phys_sections_clear(PhysPageMap *map)

{

    while (map->sections_nb > 0) {

        MemoryRegionSection *section = &map->sections[--map->sections_nb];

        phys_section_destroy(section->mr);

    }

    g_free(map->sections);

    g_free(map->nodes);

}

static void phys_sections_clear(PhysPageMap *map)

{

    while (map->sections_nb > 0) {

        MemoryRegionSection *section = &map->sections[--map->sections_nb];

        phys_section_destroy(section->mr);

    }

    g_free(map->sections);

    g_free(map->nodes);

}

static void FUNC_0(PhysPageMap *VAR_0)

{

    while (VAR_0->sections_nb > 0) {

        MemoryRegionSection *section = &VAR_0->sections[--VAR_0->sections_nb];

        phys_section_destroy(section->mr);

    }

    g_free(VAR_0->sections);

    g_free(VAR_0->nodes);

}

static void FUNC_0(PhysPageMap *VAR_0)
{ while (VAR_0->sections_nb > 0) { MemoryRegionSection *section = &VAR_0->sections[--VAR_0->sections_nb]; phys_section_destroy(section->mr); } g_free(VAR_0->sections); g_free(VAR_0->nodes); }