static void lance_mem_write(void *opaque, target_phys_addr_t addr,

                            uint64_t val, unsigned size)

{

    SysBusPCNetState *d = opaque;



    trace_lance_mem_writew(addr, val & 0xffff);

    pcnet_ioport_writew(&d->state, addr, val & 0xffff);

}

static void lance_mem_write(void *opaque, target_phys_addr_t addr,

                            uint64_t val, unsigned size)

{

    SysBusPCNetState *d = opaque;



    trace_lance_mem_writew(addr, val & 0xffff);

    pcnet_ioport_writew(&d->state, addr, val & 0xffff);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                            uint64_t VAR_2, unsigned VAR_3)

{

    SysBusPCNetState *d = VAR_0;



    trace_lance_mem_writew(VAR_1, VAR_2 & 0xffff);

    pcnet_ioport_writew(&d->state, VAR_1, VAR_2 & 0xffff);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ SysBusPCNetState *d = VAR_0; trace_lance_mem_writew(VAR_1, VAR_2 & 0xffff); pcnet_ioport_writew(&d->state, VAR_1, VAR_2 & 0xffff); }