static void memory_region_oldmmio_read_accessor(MemoryRegion *mr,

                                                hwaddr addr,

                                                uint64_t *value,

                                                unsigned size,

                                                unsigned shift,

                                                uint64_t mask)

{

    uint64_t tmp;



    tmp = mr->ops->old_mmio.read[ctz32(size)](mr->opaque, addr);

    trace_memory_region_ops_read(mr, addr, tmp, size);

    *value |= (tmp & mask) << shift;

}

static void memory_region_oldmmio_read_accessor(MemoryRegion *mr,

                                                hwaddr addr,

                                                uint64_t *value,

                                                unsigned size,

                                                unsigned shift,

                                                uint64_t mask)

{

    uint64_t tmp;



    tmp = mr->ops->old_mmio.read[ctz32(size)](mr->opaque, addr);

    trace_memory_region_ops_read(mr, addr, tmp, size);

    *value |= (tmp & mask) << shift;

}

static void memory_region_oldmmio_read_accessor(MemoryRegion *mr,                                                 uint64_t mask)     tmp = mr->ops->old_mmio.read[ctz32(size)](mr->opaque, addr);     uint64_t tmp;
static void FUNC_0(MemoryRegion *VAR_0,

                                                hwaddr VAR_1,

                                                uint64_t *VAR_2,

                                                unsigned VAR_3,

                                                unsigned VAR_4,

                                                uint64_t VAR_5)

{

    uint64_t tmp;



    tmp = VAR_0->ops->old_mmio.read[ctz32(VAR_3)](VAR_0->opaque, VAR_1);

    trace_memory_region_ops_read(VAR_0, VAR_1, tmp, VAR_3);

    *VAR_2 |= (tmp & VAR_5) << VAR_4;

}

static void FUNC_0(MemoryRegion *VAR_0,
hwaddr VAR_1,
uint64_t *VAR_2,
unsigned VAR_3,
unsigned VAR_4,
uint64_t VAR_5)
{ uint64_t tmp; tmp = VAR_0->ops->old_mmio.read[ctz32(VAR_3)](VAR_0->opaque, VAR_1); trace_memory_region_ops_read(VAR_0, VAR_1, tmp, VAR_3); *VAR_2 |= (tmp & VAR_5) << VAR_4; }