static void apb_pci_config_write(void *opaque, target_phys_addr_t addr,

                                 uint64_t val, unsigned size)

{

    APBState *s = opaque;



    val = qemu_bswap_len(val, size);

    APB_DPRINTF("%s: addr " TARGET_FMT_lx " val %" PRIx64 "\n", __func__, addr, val);

    pci_data_write(s->bus, addr, val, size);

}

static void apb_pci_config_write(void *opaque, target_phys_addr_t addr,

                                 uint64_t val, unsigned size)

{

    APBState *s = opaque;



    val = qemu_bswap_len(val, size);

    APB_DPRINTF("%s: addr " TARGET_FMT_lx " val %" PRIx64 "\n", __func__, addr, val);

    pci_data_write(s->bus, addr, val, size);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                                 uint64_t VAR_2, unsigned VAR_3)

{

    APBState *s = VAR_0;



    VAR_2 = qemu_bswap_len(VAR_2, VAR_3);

    APB_DPRINTF("%s: VAR_1 " TARGET_FMT_lx " VAR_2 %" PRIx64 "\n", __func__, VAR_1, VAR_2);

    pci_data_write(s->bus, VAR_1, VAR_2, VAR_3);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ APBState *s = VAR_0; VAR_2 = qemu_bswap_len(VAR_2, VAR_3); APB_DPRINTF("%s: VAR_1 " TARGET_FMT_lx " VAR_2 %" PRIx64 "\n", __func__, VAR_1, VAR_2); pci_data_write(s->bus, VAR_1, VAR_2, VAR_3); }