static inline int memory_access_size(MemoryRegion *mr, int l, hwaddr addr)

{

    if (l >= 4 && (((addr & 3) == 0 || mr->ops->impl.unaligned))) {

        return 4;

    }

    if (l >= 2 && (((addr & 1) == 0) || mr->ops->impl.unaligned)) {

        return 2;

    }

    return 1;

}

static inline int memory_access_size(MemoryRegion *mr, int l, hwaddr addr)

{

    if (l >= 4 && (((addr & 3) == 0 || mr->ops->impl.unaligned))) {

        return 4;

    }

    if (l >= 2 && (((addr & 1) == 0) || mr->ops->impl.unaligned)) {

        return 2;

    }

    return 1;

}

static inline int FUNC_0(MemoryRegion *VAR_0, int VAR_1, hwaddr VAR_2)

{

    if (VAR_1 >= 4 && (((VAR_2 & 3) == 0 || VAR_0->ops->impl.unaligned))) {

        return 4;

    }

    if (VAR_1 >= 2 && (((VAR_2 & 1) == 0) || VAR_0->ops->impl.unaligned)) {

        return 2;

    }

    return 1;

}

static inline int FUNC_0(MemoryRegion *VAR_0, int VAR_1, hwaddr VAR_2)
{ if (VAR_1 >= 4 && (((VAR_2 & 3) == 0 || VAR_0->ops->impl.unaligned))) { return 4; } if (VAR_1 >= 2 && (((VAR_2 & 1) == 0) || VAR_0->ops->impl.unaligned)) { return 2; } return 1; }