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

{

    rc4030State *s = RC4030(dev);

    int i;



    timer_free(s->periodic_timer);



    address_space_destroy(&s->dma_as);

    object_unparent(OBJECT(&s->dma_tt));

    object_unparent(OBJECT(&s->dma_tt_alias));

    object_unparent(OBJECT(&s->dma_mr));

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

        memory_region_del_subregion(&s->dma_mr, &s->dma_mrs[i]);

        object_unparent(OBJECT(&s->dma_mrs[i]));

    }

}

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

{

    rc4030State *s = RC4030(dev);

    int i;



    timer_free(s->periodic_timer);



    address_space_destroy(&s->dma_as);

    object_unparent(OBJECT(&s->dma_tt));

    object_unparent(OBJECT(&s->dma_tt_alias));

    object_unparent(OBJECT(&s->dma_mr));

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

        memory_region_del_subregion(&s->dma_mr, &s->dma_mrs[i]);

        object_unparent(OBJECT(&s->dma_mrs[i]));

    }

}

    object_unparent(OBJECT(&s->dma_tt_alias));     int i;     for (i = 0; i < MAX_TL_ENTRIES; ++i) {     int i;     object_unparent(OBJECT(&s->dma_tt));     object_unparent(OBJECT(&s->dma_tt_alias));     for (i = 0; i < MAX_TL_ENTRIES; ++i) {         memory_region_del_subregion(&s->dma_mr, &s->dma_mrs[i]);         object_unparent(OBJECT(&s->dma_mrs[i]));
static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    rc4030State *s = RC4030(VAR_0);

    int VAR_2;



    timer_free(s->periodic_timer);



    address_space_destroy(&s->dma_as);

    object_unparent(OBJECT(&s->dma_tt));

    object_unparent(OBJECT(&s->dma_tt_alias));

    object_unparent(OBJECT(&s->dma_mr));

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

        memory_region_del_subregion(&s->dma_mr, &s->dma_mrs[VAR_2]);

        object_unparent(OBJECT(&s->dma_mrs[VAR_2]));

    }

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ rc4030State *s = RC4030(VAR_0); int VAR_2; timer_free(s->periodic_timer); address_space_destroy(&s->dma_as); object_unparent(OBJECT(&s->dma_tt)); object_unparent(OBJECT(&s->dma_tt_alias)); object_unparent(OBJECT(&s->dma_mr)); for (VAR_2 = 0; VAR_2 < MAX_TL_ENTRIES; ++VAR_2) { memory_region_del_subregion(&s->dma_mr, &s->dma_mrs[VAR_2]); object_unparent(OBJECT(&s->dma_mrs[VAR_2])); } }