package o;

import java.util.Iterator;
import java.util.NoSuchElementException;

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

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ Object f55o;

    public C0031Bf(Ws0 ws0) {
        this.f55o = ws0;
        this.n = ws0.c();
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        switch (this.l) {
            case 0:
                if (this.m < this.n) {
                }
                break;
            default:
                if (this.m < this.n) {
                }
                break;
        }
        return false;
    }

    @Override // java.util.Iterator
    public final Object next() {
        switch (this.l) {
            case 0:
                int i = this.m;
                if (i >= this.n) {
                    throw new NoSuchElementException();
                }
                this.m = i + 1;
                return Byte.valueOf(((AbstractC0083Df) this.f55o).e(i));
            default:
                int i2 = this.m;
                if (i2 >= this.n) {
                    throw new NoSuchElementException();
                }
                this.m = i2 + 1;
                return Byte.valueOf(((Ws0) this.f55o).b(i2));
        }
    }

    @Override // java.util.Iterator
    public final void remove() {
        switch (this.l) {
            case 0:
                throw new UnsupportedOperationException();
            default:
                throw new UnsupportedOperationException();
        }
    }

    public C0031Bf(AbstractC0083Df abstractC0083Df) {
        this.f55o = abstractC0083Df;
        this.n = abstractC0083Df.size();
    }
}
