static void do_address_space_destroy(AddressSpace *as)
{
    MemoryListener *listener;
    address_space_destroy_dispatch(as);
    QTAILQ_FOREACH(listener, &memory_listeners, link) {
        assert(listener->address_space_filter != as);
    }
    flatview_unref(as->current_map);
    g_free(as->name);
    g_free(as->ioeventfds);
}
static void do_address_space_destroy(AddressSpace *as)
{
    MemoryListener *listener;
    address_space_destroy_dispatch(as);
    QTAILQ_FOREACH(listener, &memory_listeners, link) {
        assert(listener->address_space_filter != as);
    }
    flatview_unref(as->current_map);
    g_free(as->name);
    g_free(as->ioeventfds);
}
static void FUNC_0(AddressSpace *VAR_0)
{
    MemoryListener *listener;
    address_space_destroy_dispatch(VAR_0);
    QTAILQ_FOREACH(listener, &memory_listeners, link) {
        assert(listener->address_space_filter != VAR_0);
    }
    flatview_unref(VAR_0->current_map);
    g_free(VAR_0->name);
    g_free(VAR_0->ioeventfds);
}
static void FUNC_0(AddressSpace *VAR_0)
{ MemoryListener *listener; address_space_destroy_dispatch(VAR_0); QTAILQ_FOREACH(listener, &memory_listeners, link) { assert(listener->address_space_filter != VAR_0); } flatview_unref(VAR_0->current_map); g_free(VAR_0->name); g_free(VAR_0->ioeventfds); }