package defpackage;

import java.util.Iterator;

/* renamed from: ˊʞ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1259 extends AbstractC3585 implements Iterator {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public boolean f5248 = true;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public C2270 f5249;

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

    public C1259(C1031 c1031) {
        this.f5250 = c1031;
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        if (this.f5248) {
            return this.f5250.f4501 != null;
        }
        C2270 c2270 = this.f5249;
        return (c2270 == null || c2270.f8878 == null) ? false : true;
    }

    @Override // java.util.Iterator
    public final Object next() {
        if (this.f5248) {
            this.f5248 = false;
            this.f5249 = this.f5250.f4501;
        } else {
            C2270 c2270 = this.f5249;
            this.f5249 = c2270 != null ? c2270.f8878 : null;
        }
        return this.f5249;
    }

    @Override // defpackage.AbstractC3585
    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void mo3809(C2270 c2270) {
        C2270 c22702 = this.f5249;
        if (c2270 == c22702) {
            C2270 c22703 = c22702.f8877;
            this.f5249 = c22703;
            this.f5248 = c22703 == null;
        }
    }
}
