package o;

import java.util.Iterator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.rE, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2319rE implements Iterator, InterfaceC2989yJ {
    public final /* synthetic */ int l = 0;
    public final C1077e90 m;
    public final int n;

    /* renamed from: o, reason: collision with root package name */
    public int f699o;
    public int p;

    public C2319rE(C1077e90 c1077e90, int i, int i2) {
        this.m = c1077e90;
        this.n = i2;
        this.f699o = i;
        this.p = c1077e90.s;
        if (c1077e90.r) {
            AbstractC1269g90.f();
        }
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        switch (this.l) {
            case 0:
                return this.f699o < this.n;
            default:
                throw null;
        }
    }

    @Override // java.util.Iterator
    public final Object next() {
        switch (this.l) {
            case 0:
                C1077e90 c1077e90 = this.m;
                int i = c1077e90.s;
                int i2 = this.p;
                if (i != i2) {
                    AbstractC1269g90.f();
                }
                int i3 = this.f699o;
                this.f699o = AbstractC1269g90.a(c1077e90.l, i3) + i3;
                return new C1173f90(c1077e90, i3, i2);
            default:
                throw null;
        }
    }

    @Override // java.util.Iterator
    public final void remove() {
        switch (this.l) {
            case 0:
                throw new UnsupportedOperationException("Operation is not supported for read-only collection");
            default:
                throw new UnsupportedOperationException("Operation is not supported for read-only collection");
        }
    }

    public C2319rE(C1077e90 c1077e90, int i, AbstractC2414sE abstractC2414sE, IJ ij) {
        this.m = c1077e90;
        this.n = i;
        this.f699o = c1077e90.s;
    }
}
