int qemu_bh_poll(void)

{

    QEMUBH *bh, **pbh;

    int ret;



    ret = 0;

    for(;;) {

        pbh = &first_bh;

        bh = *pbh;

        if (!bh)

            break;

        ret = 1;

        *pbh = bh->next;

        bh->scheduled = 0;

        bh->cb(bh->opaque);

    }

    return ret;

}

int qemu_bh_poll(void)

{

    QEMUBH *bh, **pbh;

    int ret;



    ret = 0;

    for(;;) {

        pbh = &first_bh;

        bh = *pbh;

        if (!bh)

            break;

        ret = 1;

        *pbh = bh->next;

        bh->scheduled = 0;

        bh->cb(bh->opaque);

    }

    return ret;

}

    QEMUBH *bh, **pbh;     for(;;) {         pbh = &first_bh;         bh = *pbh;         if (!bh)             break;         ret = 1;         *pbh = bh->next;         bh->scheduled = 0;         bh->cb(bh->opaque);         pbh = &first_bh;         *pbh = bh->next;         bh->scheduled = 0;
int FUNC_0(void)

{

    QEMUBH *bh, **pbh;

    int VAR_0;



    VAR_0 = 0;

    for(;;) {

        pbh = &first_bh;

        bh = *pbh;

        if (!bh)

            break;

        VAR_0 = 1;

        *pbh = bh->next;

        bh->scheduled = 0;

        bh->cb(bh->opaque);

    }

    return VAR_0;

}

int FUNC_0(void)
{ QEMUBH *bh, **pbh; int VAR_0; VAR_0 = 0; for(;;) { pbh = &first_bh; bh = *pbh; if (!bh)
break; VAR_0 = 1; *pbh = bh->next; bh->scheduled = 0; bh->cb(bh->opaque); } return VAR_0; }