static void strongarm_ppc_handler_update(StrongARMPPCInfo *s)

{

    uint32_t level, diff;

    int bit;



    level = s->olevel & s->dir;



    for (diff = s->prev_level ^ level; diff; diff ^= 1 << bit) {

        bit = ffs(diff) - 1;

        qemu_set_irq(s->handler[bit], (level >> bit) & 1);

    }



    s->prev_level = level;

}

static void strongarm_ppc_handler_update(StrongARMPPCInfo *s)

{

    uint32_t level, diff;

    int bit;



    level = s->olevel & s->dir;



    for (diff = s->prev_level ^ level; diff; diff ^= 1 << bit) {

        bit = ffs(diff) - 1;

        qemu_set_irq(s->handler[bit], (level >> bit) & 1);

    }



    s->prev_level = level;

}

static void FUNC_0(StrongARMPPCInfo *VAR_0)

{

    uint32_t level, diff;

    int VAR_1;



    level = VAR_0->olevel & VAR_0->dir;



    for (diff = VAR_0->prev_level ^ level; diff; diff ^= 1 << VAR_1) {

        VAR_1 = ffs(diff) - 1;

        qemu_set_irq(VAR_0->handler[VAR_1], (level >> VAR_1) & 1);

    }



    VAR_0->prev_level = level;

}

static void FUNC_0(StrongARMPPCInfo *VAR_0)
{ uint32_t level, diff; int VAR_1; level = VAR_0->olevel & VAR_0->dir; for (diff = VAR_0->prev_level ^ level; diff; diff ^= 1 << VAR_1) { VAR_1 = ffs(diff) - 1; qemu_set_irq(VAR_0->handler[VAR_1], (level >> VAR_1) & 1); } VAR_0->prev_level = level; }