package x4;

import java.util.ListIterator;
import java.util.NoSuchElementException;

/* JADX INFO: renamed from: x4.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C3237c extends F1.I implements ListIterator {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ AbstractC3239e f26054d;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C3237c(AbstractC3239e abstractC3239e, int i6) {
        super(abstractC3239e, 10);
        this.f26054d = abstractC3239e;
        C3236b c3236b = AbstractC3239e.Companion;
        int size = abstractC3239e.size();
        c3236b.getClass();
        C3236b.c(i6, size);
        this.f1372b = i6;
    }

    @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.f1372b > 0;
    }

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

    @Override // java.util.ListIterator
    public final Object previous() {
        if (!hasPrevious()) {
            throw new NoSuchElementException();
        }
        int i6 = this.f1372b - 1;
        this.f1372b = i6;
        return this.f26054d.get(i6);
    }

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

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