static void macio_nvram_writeb(void *opaque, target_phys_addr_t addr,

                               uint64_t value, unsigned size)

{

    MacIONVRAMState *s = opaque;



    addr = (addr >> s->it_shift) & (s->size - 1);

    s->data[addr] = value;

    NVR_DPRINTF("writeb addr %04x val %x\n", (int)addr, value);

}

static void macio_nvram_writeb(void *opaque, target_phys_addr_t addr,

                               uint64_t value, unsigned size)

{

    MacIONVRAMState *s = opaque;



    addr = (addr >> s->it_shift) & (s->size - 1);

    s->data[addr] = value;

    NVR_DPRINTF("writeb addr %04x val %x\n", (int)addr, value);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                               uint64_t VAR_2, unsigned VAR_3)

{

    MacIONVRAMState *s = VAR_0;



    VAR_1 = (VAR_1 >> s->it_shift) & (s->VAR_3 - 1);

    s->data[VAR_1] = VAR_2;

    NVR_DPRINTF("writeb VAR_1 %04x val %x\n", (int)VAR_1, VAR_2);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ MacIONVRAMState *s = VAR_0; VAR_1 = (VAR_1 >> s->it_shift) & (s->VAR_3 - 1); s->data[VAR_1] = VAR_2; NVR_DPRINTF("writeb VAR_1 %04x val %x\n", (int)VAR_1, VAR_2); }