static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr,

                                     uint32_t val)

{

    addr &= ~1; /* XXX: check exact behaviour if not even */

    if (addr < 32 ||

        (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {

        stl_le_p(s->mem + addr, val);

    }

}

static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr,

                                     uint32_t val)

{

    addr &= ~1; 

    if (addr < 32 ||

        (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) {

        stl_le_p(s->mem + addr, val);

    }

}

static inline void FUNC_0(NE2000State *VAR_0, uint32_t VAR_1,

                                     uint32_t VAR_2)

{

    VAR_1 &= ~1; 

    if (VAR_1 < 32 ||

        (VAR_1 >= NE2000_PMEM_START && VAR_1 < NE2000_MEM_SIZE)) {

        stl_le_p(VAR_0->mem + VAR_1, VAR_2);

    }

}

static inline void FUNC_0(NE2000State *VAR_0, uint32_t VAR_1,
uint32_t VAR_2)
{ VAR_1 &= ~1; if (VAR_1 < 32 ||
(VAR_1 >= NE2000_PMEM_START && VAR_1 < NE2000_MEM_SIZE)) { stl_le_p(VAR_0->mem + VAR_1, VAR_2); } }