static void openpic_irq_raise(OpenPICState *opp, int n_CPU, IRQ_src_t *src)

{

    int n_ci = IDR_CI0_SHIFT - n_CPU;



    if ((opp->flags & OPENPIC_FLAG_IDE_CRIT) && (src->ide & (1 << n_ci))) {

        qemu_irq_raise(opp->dst[n_CPU].irqs[OPENPIC_OUTPUT_CINT]);

    } else {

        qemu_irq_raise(opp->dst[n_CPU].irqs[OPENPIC_OUTPUT_INT]);

    }

}

static void openpic_irq_raise(OpenPICState *opp, int n_CPU, IRQ_src_t *src)

{

    int n_ci = IDR_CI0_SHIFT - n_CPU;



    if ((opp->flags & OPENPIC_FLAG_IDE_CRIT) && (src->ide & (1 << n_ci))) {

        qemu_irq_raise(opp->dst[n_CPU].irqs[OPENPIC_OUTPUT_CINT]);

    } else {

        qemu_irq_raise(opp->dst[n_CPU].irqs[OPENPIC_OUTPUT_INT]);

    }

}

static void openpic_irq_raise(OpenPICState *opp, int n_CPU, IRQ_src_t *src)
static void FUNC_0(OpenPICState *VAR_0, int VAR_1, IRQ_src_t *VAR_2)

{

    int VAR_3 = IDR_CI0_SHIFT - VAR_1;



    if ((VAR_0->flags & OPENPIC_FLAG_IDE_CRIT) && (VAR_2->ide & (1 << VAR_3))) {

        qemu_irq_raise(VAR_0->dst[VAR_1].irqs[OPENPIC_OUTPUT_CINT]);

    } else {

        qemu_irq_raise(VAR_0->dst[VAR_1].irqs[OPENPIC_OUTPUT_INT]);

    }

}

static void FUNC_0(OpenPICState *VAR_0, int VAR_1, IRQ_src_t *VAR_2)
{ int VAR_3 = IDR_CI0_SHIFT - VAR_1; if ((VAR_0->flags & OPENPIC_FLAG_IDE_CRIT) && (VAR_2->ide & (1 << VAR_3))) { qemu_irq_raise(VAR_0->dst[VAR_1].irqs[OPENPIC_OUTPUT_CINT]); } else { qemu_irq_raise(VAR_0->dst[VAR_1].irqs[OPENPIC_OUTPUT_INT]); } }