static bool nvic_rettobase(NVICState *s)

{

    int irq, nhand = 0;



    for (irq = ARMV7M_EXCP_RESET; irq < s->num_irq; irq++) {

        if (s->vectors[irq].active) {

            nhand++;

            if (nhand == 2) {

                return 0;

            }

        }

    }



    return 1;

}

static bool nvic_rettobase(NVICState *s)

{

    int irq, nhand = 0;



    for (irq = ARMV7M_EXCP_RESET; irq < s->num_irq; irq++) {

        if (s->vectors[irq].active) {

            nhand++;

            if (nhand == 2) {

                return 0;

            }

        }

    }



    return 1;

}

static bool FUNC_0(NVICState *s)

{

    int VAR_0, VAR_1 = 0;



    for (VAR_0 = ARMV7M_EXCP_RESET; VAR_0 < s->num_irq; VAR_0++) {

        if (s->vectors[VAR_0].active) {

            VAR_1++;

            if (VAR_1 == 2) {

                return 0;

            }

        }

    }



    return 1;

}

static bool FUNC_0(NVICState *s)
{ int VAR_0, VAR_1 = 0; for (VAR_0 = ARMV7M_EXCP_RESET; VAR_0 < s->num_irq; VAR_0++) { if (s->vectors[VAR_0].active) { VAR_1++; if (VAR_1 == 2) { return 0; } } } return 1; }