static void pxa2xx_pic_save(QEMUFile *f, void *opaque)

{

    PXA2xxPICState *s = (PXA2xxPICState *) opaque;

    int i;



    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->int_enabled[i]);

    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->int_pending[i]);

    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->is_fiq[i]);

    qemu_put_be32s(f, &s->int_idle);

    for (i = 0; i < PXA2XX_PIC_SRCS; i ++)

        qemu_put_be32s(f, &s->priority[i]);

}

static void pxa2xx_pic_save(QEMUFile *f, void *opaque)

{

    PXA2xxPICState *s = (PXA2xxPICState *) opaque;

    int i;



    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->int_enabled[i]);

    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->int_pending[i]);

    for (i = 0; i < 2; i ++)

        qemu_put_be32s(f, &s->is_fiq[i]);

    qemu_put_be32s(f, &s->int_idle);

    for (i = 0; i < PXA2XX_PIC_SRCS; i ++)

        qemu_put_be32s(f, &s->priority[i]);

}

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

{

    PXA2xxPICState *s = (PXA2xxPICState *) VAR_1;

    int VAR_2;



    for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++)

        qemu_put_be32s(VAR_0, &s->int_enabled[VAR_2]);

    for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++)

        qemu_put_be32s(VAR_0, &s->int_pending[VAR_2]);

    for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++)

        qemu_put_be32s(VAR_0, &s->is_fiq[VAR_2]);

    qemu_put_be32s(VAR_0, &s->int_idle);

    for (VAR_2 = 0; VAR_2 < PXA2XX_PIC_SRCS; VAR_2 ++)

        qemu_put_be32s(VAR_0, &s->priority[VAR_2]);

}

static void FUNC_0(QEMUFile *VAR_0, void *VAR_1)
{ PXA2xxPICState *s = (PXA2xxPICState *) VAR_1; int VAR_2; for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++) qemu_put_be32s(VAR_0, &s->int_enabled[VAR_2]); for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++) qemu_put_be32s(VAR_0, &s->int_pending[VAR_2]); for (VAR_2 = 0; VAR_2 < 2; VAR_2 ++) qemu_put_be32s(VAR_0, &s->is_fiq[VAR_2]); qemu_put_be32s(VAR_0, &s->int_idle); for (VAR_2 = 0; VAR_2 < PXA2XX_PIC_SRCS; VAR_2 ++) qemu_put_be32s(VAR_0, &s->priority[VAR_2]); }