static void sysbus_esp_mem_write(void *opaque, target_phys_addr_t addr,

                                 uint64_t val, unsigned int size)

{

    SysBusESPState *sysbus = opaque;

    uint32_t saddr;



    saddr = addr >> sysbus->it_shift;

    esp_reg_write(&sysbus->esp, saddr, val);

}

static void sysbus_esp_mem_write(void *opaque, target_phys_addr_t addr,

                                 uint64_t val, unsigned int size)

{

    SysBusESPState *sysbus = opaque;

    uint32_t saddr;



    saddr = addr >> sysbus->it_shift;

    esp_reg_write(&sysbus->esp, saddr, val);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                                 uint64_t VAR_2, unsigned int VAR_3)

{

    SysBusESPState *sysbus = VAR_0;

    uint32_t saddr;



    saddr = VAR_1 >> sysbus->it_shift;

    esp_reg_write(&sysbus->esp, saddr, VAR_2);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned int VAR_3)
{ SysBusESPState *sysbus = VAR_0; uint32_t saddr; saddr = VAR_1 >> sysbus->it_shift; esp_reg_write(&sysbus->esp, saddr, VAR_2); }