static int nic_can_receive(void *opaque)

{

    dp8393xState *s = opaque;



    if (!(s->regs[SONIC_CR] & SONIC_CR_RXEN))

        return 0;

    if (s->regs[SONIC_ISR] & SONIC_ISR_RBE)

        return 0;

    return 1;

}

static int nic_can_receive(void *opaque)

{

    dp8393xState *s = opaque;



    if (!(s->regs[SONIC_CR] & SONIC_CR_RXEN))

        return 0;

    if (s->regs[SONIC_ISR] & SONIC_ISR_RBE)

        return 0;

    return 1;

}

static int FUNC_0(void *VAR_0)

{

    dp8393xState *s = VAR_0;



    if (!(s->regs[SONIC_CR] & SONIC_CR_RXEN))

        return 0;

    if (s->regs[SONIC_ISR] & SONIC_ISR_RBE)

        return 0;

    return 1;

}

static int FUNC_0(void *VAR_0)
{ dp8393xState *s = VAR_0; if (!(s->regs[SONIC_CR] & SONIC_CR_RXEN))
return 0; if (s->regs[SONIC_ISR] & SONIC_ISR_RBE)
return 0; return 1; }