package defpackage;

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

/* renamed from: ᵣᵼᵫ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3389 implements Iterator {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public int f12650 = 0;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f12651;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ Object f12652;

    public /* synthetic */ C3389(int i, Object obj) {
        this.f12651 = i;
        this.f12652 = obj;
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        switch (this.f12651) {
            case 0:
                if (this.f12650 < ((C3470) this.f12652).f13012.length()) {
                }
                break;
            case 1:
                if (this.f12650 < ((C3470) this.f12652).f13012.length()) {
                }
                break;
            default:
                if (this.f12650 < ((C2948) this.f12652).m7187()) {
                }
                break;
        }
        return false;
    }

    @Override // java.util.Iterator
    public final /* synthetic */ Object next() {
        int i = this.f12651;
        Object obj = this.f12652;
        switch (i) {
            case 0:
                String str = ((C3470) obj).f13012;
                int i2 = this.f12650;
                if (i2 < str.length()) {
                    this.f12650 = i2 + 1;
                    return new C3470(String.valueOf(i2));
                }
                C0190.m1427();
                return null;
            case 1:
                C3470 c3470 = (C3470) obj;
                String str2 = c3470.f13012;
                int i3 = this.f12650;
                if (i3 < str2.length()) {
                    this.f12650 = i3 + 1;
                    return new C3470(String.valueOf(c3470.f13012.charAt(i3)));
                }
                C0190.m1427();
                return null;
            default:
                C2948 c2948 = (C2948) obj;
                int i4 = this.f12650;
                int iM7187 = c2948.m7187();
                int i5 = this.f12650;
                if (i4 >= iM7187) {
                    throw new NoSuchElementException(AbstractC4486.m9556(new StringBuilder(String.valueOf(i5).length() + 21), "Out of bounds index: ", i5));
                }
                this.f12650 = i5 + 1;
                return c2948.m7186(i5);
        }
    }
}
