static void put_pci_irq_state(QEMUFile *f, void *pv, size_t size)

{

    int i;

    PCIDevice *s = container_of(pv, PCIDevice, config);



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

        qemu_put_be32(f, pci_irq_state(s, i));

    }

}

static void put_pci_irq_state(QEMUFile *f, void *pv, size_t size)

{

    int i;

    PCIDevice *s = container_of(pv, PCIDevice, config);



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

        qemu_put_be32(f, pci_irq_state(s, i));

    }

}

static void FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2)

{

    int VAR_3;

    PCIDevice *s = container_of(VAR_1, PCIDevice, config);



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

        qemu_put_be32(VAR_0, pci_irq_state(s, VAR_3));

    }

}

static void FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2)
{ int VAR_3; PCIDevice *s = container_of(VAR_1, PCIDevice, config); for (VAR_3 = 0; VAR_3 < PCI_NUM_PINS; ++VAR_3) { qemu_put_be32(VAR_0, pci_irq_state(s, VAR_3)); } }