static void openpic_save_IRQ_queue(QEMUFile* f, IRQ_queue_t *q)

{

    unsigned int i;



    for (i = 0; i < BF_WIDTH(MAX_IRQ); i++)

        qemu_put_be32s(f, &q->queue[i]);



    qemu_put_sbe32s(f, &q->next);

    qemu_put_sbe32s(f, &q->priority);

}

static void openpic_save_IRQ_queue(QEMUFile* f, IRQ_queue_t *q)

{

    unsigned int i;



    for (i = 0; i < BF_WIDTH(MAX_IRQ); i++)

        qemu_put_be32s(f, &q->queue[i]);



    qemu_put_sbe32s(f, &q->next);

    qemu_put_sbe32s(f, &q->priority);

}

static void openpic_save_IRQ_queue(QEMUFile* f, IRQ_queue_t *q)
static void FUNC_0(QEMUFile* VAR_0, IRQ_queue_t *VAR_1)

{

    unsigned int VAR_2;



    for (VAR_2 = 0; VAR_2 < BF_WIDTH(MAX_IRQ); VAR_2++)

        qemu_put_be32s(VAR_0, &VAR_1->queue[VAR_2]);



    qemu_put_sbe32s(VAR_0, &VAR_1->next);

    qemu_put_sbe32s(VAR_0, &VAR_1->priority);

}

static void FUNC_0(QEMUFile* VAR_0, IRQ_queue_t *VAR_1)
{ unsigned int VAR_2; for (VAR_2 = 0; VAR_2 < BF_WIDTH(MAX_IRQ); VAR_2++) qemu_put_be32s(VAR_0, &VAR_1->queue[VAR_2]); qemu_put_sbe32s(VAR_0, &VAR_1->next); qemu_put_sbe32s(VAR_0, &VAR_1->priority); }