package defpackage;

import java.io.File;
import java.util.List;

/* renamed from: ˑᵗʖﹳ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2071 implements InterfaceC4672, InterfaceC0782 {

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public int f8242;

    /* renamed from: ˑᵥˁ, reason: contains not printable characters */
    public File f8243;

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public volatile C1370 f8244;

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public List f8245;

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final C1101 f8246;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public InterfaceC4207 f8247;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final List f8248;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public int f8249 = -1;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final InterfaceC2983 f8250;

    public C2071(List list, C1101 c1101, InterfaceC2983 interfaceC2983) {
        this.f8248 = list;
        this.f8246 = c1101;
        this.f8250 = interfaceC2983;
    }

    @Override // defpackage.InterfaceC4672
    public final void cancel() {
        C1370 c1370 = this.f8244;
        if (c1370 != null) {
            c1370.f5643.cancel();
        }
    }

    @Override // defpackage.InterfaceC0782
    /* renamed from: ˎˏʜʾ */
    public final void mo2869(Object obj) {
        this.f8250.mo7092(this.f8247, obj, this.f8244.f5643, 3, this.f8247);
    }

    @Override // defpackage.InterfaceC0782
    /* renamed from: ˏᵙ */
    public final void mo2870(Exception exc) {
        this.f8250.mo7086(this.f8247, exc, this.f8244.f5643, 3);
    }

    @Override // defpackage.InterfaceC4672
    /* renamed from: ᵥᵯˎ */
    public final boolean mo3178() {
        while (true) {
            List list = this.f8245;
            boolean z = false;
            if (list != null && this.f8242 < list.size()) {
                this.f8244 = null;
                while (!z && this.f8242 < this.f8245.size()) {
                    List list2 = this.f8245;
                    int i = this.f8242;
                    this.f8242 = i + 1;
                    InterfaceC0218 interfaceC0218 = (InterfaceC0218) list2.get(i);
                    File file = this.f8243;
                    C1101 c1101 = this.f8246;
                    this.f8244 = interfaceC0218.mo1497(file, c1101.f4721, c1101.f4725, c1101.f4727);
                    if (this.f8244 != null && this.f8246.m3500(this.f8244.f5643.mo1817()) != null) {
                        this.f8244.f5643.mo5387(this.f8246.f4732, this);
                        z = true;
                    }
                }
                return z;
            }
            int i2 = this.f8249 + 1;
            this.f8249 = i2;
            if (i2 >= this.f8248.size()) {
                return false;
            }
            InterfaceC4207 interfaceC4207 = (InterfaceC4207) this.f8248.get(this.f8249);
            C1101 c11012 = this.f8246;
            File fileMo6925 = c11012.f4737.m1591().mo6925(new C2661(interfaceC4207, c11012.f4730));
            this.f8243 = fileMo6925;
            if (fileMo6925 != null) {
                this.f8247 = interfaceC4207;
                this.f8245 = this.f8246.f4726.m2233().m8168(fileMo6925);
                this.f8242 = 0;
            }
        }
    }
}
