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

{

    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);

    SysbusAHCIState *s = SYSBUS_AHCI(dev);



    ahci_init(&s->ahci, dev, NULL, s->num_ports);



    sysbus_init_mmio(sbd, &s->ahci.mem);

    sysbus_init_irq(sbd, &s->ahci.irq);

}

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

{

    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);

    SysbusAHCIState *s = SYSBUS_AHCI(dev);



    ahci_init(&s->ahci, dev, NULL, s->num_ports);



    sysbus_init_mmio(sbd, &s->ahci.mem);

    sysbus_init_irq(sbd, &s->ahci.irq);

}

    ahci_init(&s->ahci, dev, NULL, s->num_ports);
static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    SysBusDevice *sbd = SYS_BUS_DEVICE(VAR_0);

    SysbusAHCIState *s = SYSBUS_AHCI(VAR_0);



    ahci_init(&s->ahci, VAR_0, NULL, s->num_ports);



    sysbus_init_mmio(sbd, &s->ahci.mem);

    sysbus_init_irq(sbd, &s->ahci.irq);

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ SysBusDevice *sbd = SYS_BUS_DEVICE(VAR_0); SysbusAHCIState *s = SYSBUS_AHCI(VAR_0); ahci_init(&s->ahci, VAR_0, NULL, s->num_ports); sysbus_init_mmio(sbd, &s->ahci.mem); sysbus_init_irq(sbd, &s->ahci.irq); }