static void memory_region_prepare_ram_addr(MemoryRegion *mr)

{

    if (mr->backend_registered) {

        return;

    }



    mr->destructor = memory_region_destructor_iomem;

    mr->ram_addr = cpu_register_io_memory(memory_region_read_thunk,

                                          memory_region_write_thunk,

                                          mr);

    mr->backend_registered = true;

}

static void memory_region_prepare_ram_addr(MemoryRegion *mr)

{

    if (mr->backend_registered) {

        return;

    }



    mr->destructor = memory_region_destructor_iomem;

    mr->ram_addr = cpu_register_io_memory(memory_region_read_thunk,

                                          memory_region_write_thunk,

                                          mr);

    mr->backend_registered = true;

}

static void FUNC_0(MemoryRegion *VAR_0)

{

    if (VAR_0->backend_registered) {

        return;

    }



    VAR_0->destructor = memory_region_destructor_iomem;

    VAR_0->ram_addr = cpu_register_io_memory(memory_region_read_thunk,

                                          memory_region_write_thunk,

                                          VAR_0);

    VAR_0->backend_registered = true;

}

static void FUNC_0(MemoryRegion *VAR_0)
{ if (VAR_0->backend_registered) { return; } VAR_0->destructor = memory_region_destructor_iomem; VAR_0->ram_addr = cpu_register_io_memory(memory_region_read_thunk,
memory_region_write_thunk,
VAR_0); VAR_0->backend_registered = true; }