static int smc91c111_can_receive(NetClientState *nc)

{

    smc91c111_state *s = qemu_get_nic_opaque(nc);



    if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))

        return 1;

    if (s->allocated == (1 << NUM_PACKETS) - 1)

        return 0;

    return 1;

}

static int smc91c111_can_receive(NetClientState *nc)

{

    smc91c111_state *s = qemu_get_nic_opaque(nc);



    if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))

        return 1;

    if (s->allocated == (1 << NUM_PACKETS) - 1)

        return 0;

    return 1;

}

static int smc91c111_can_receive(NetClientState *nc)     if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))         return 1;     if (s->allocated == (1 << NUM_PACKETS) - 1)         return 0;     return 1;
static int FUNC_0(NetClientState *VAR_0)

{

    smc91c111_state *s = qemu_get_nic_opaque(VAR_0);



    if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))

        return 1;

    if (s->allocated == (1 << NUM_PACKETS) - 1)

        return 0;

    return 1;

}

static int FUNC_0(NetClientState *VAR_0)
{ smc91c111_state *s = qemu_get_nic_opaque(VAR_0); if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))
return 1; if (s->allocated == (1 << NUM_PACKETS) - 1)
return 0; return 1; }