static void openpic_load_IRQ_queue(QEMUFile* f, IRQQueue *q)

{

    unsigned int i;



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

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



    qemu_get_sbe32s(f, &q->next);

    qemu_get_sbe32s(f, &q->priority);

}

static void openpic_load_IRQ_queue(QEMUFile* f, IRQQueue *q)

{

    unsigned int i;



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

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



    qemu_get_sbe32s(f, &q->next);

    qemu_get_sbe32s(f, &q->priority);

}

static void FUNC_0(QEMUFile* VAR_0, IRQQueue *VAR_1)

{

    unsigned int VAR_2;



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

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



    qemu_get_sbe32s(VAR_0, &VAR_1->next);

    qemu_get_sbe32s(VAR_0, &VAR_1->priority);

}

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