package defpackage;

import java.util.ListIterator;

/* renamed from: ˎᵶᵹ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1784 extends C0777 implements ListIterator {

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final /* synthetic */ AbstractC4202 f7174;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1784(AbstractC4202 abstractC4202, int i) {
        super(0, abstractC4202);
        this.f7174 = abstractC4202;
        int iMo4292 = abstractC4202.mo4292();
        if (i < 0 || i > iMo4292) {
            C2585.m6491(AbstractC1327.m4091(i, iMo4292, "index: ", ", size: "));
            throw null;
        }
        this.f3675 = i;
    }

    @Override // java.util.ListIterator
    public final void add(Object obj) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }

    @Override // java.util.ListIterator
    public final boolean hasPrevious() {
        return this.f3675 > 0;
    }

    @Override // java.util.ListIterator
    public final int nextIndex() {
        return this.f3675;
    }

    @Override // java.util.ListIterator
    public final Object previous() {
        if (!hasPrevious()) {
            C0190.m1427();
            return null;
        }
        int i = this.f3675 - 1;
        this.f3675 = i;
        return this.f7174.get(i);
    }

    @Override // java.util.ListIterator
    public final int previousIndex() {
        return this.f3675 - 1;
    }

    @Override // java.util.ListIterator
    public final void set(Object obj) {
        throw new UnsupportedOperationException("Operation is not supported for read-only collection");
    }
}
