package defpackage;

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

/* JADX INFO: renamed from: ᵢˋʕᵾ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3270 implements InterfaceC3305, InterfaceC3368 {

    /* JADX INFO: renamed from: ˈᵲᵢ, reason: contains not printable characters */
    public int f12502;

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final List f12503;

    /* JADX INFO: renamed from: ˌᵨʠᵫ, reason: contains not printable characters */
    public volatile C0529 f12504;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final InterfaceC0794 f12505;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final C5155 f12506;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public int f12507 = -1;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public InterfaceC0883 f12508;

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public List f12509;

    /* JADX INFO: renamed from: ᵸˆˁ, reason: contains not printable characters */
    public File f12510;

    public C3270(List list, C5155 c5155, InterfaceC0794 interfaceC0794) {
        this.f12503 = list;
        this.f12506 = c5155;
        this.f12505 = interfaceC0794;
    }

    @Override // defpackage.InterfaceC3305
    public final void cancel() {
        C0529 c0529 = this.f12504;
        if (c0529 != null) {
            c0529.f2716.cancel();
        }
    }

    @Override // defpackage.InterfaceC3368
    /* JADX INFO: renamed from: ˊᵫᵗ */
    public final void mo1312(Object obj) {
        this.f12505.mo2883(this.f12508, obj, this.f12504.f2716, 3, this.f12508);
    }

    @Override // defpackage.InterfaceC3368
    /* JADX INFO: renamed from: ːˏᵟᵯ */
    public final void mo1313(Exception exc) {
        this.f12505.mo2884(this.f12508, exc, this.f12504.f2716, 3);
    }

    @Override // defpackage.InterfaceC3305
    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public final boolean mo5327() {
        while (true) {
            List list = this.f12509;
            boolean z = false;
            if (list != null && this.f12502 < list.size()) {
                this.f12504 = null;
                while (!z && this.f12502 < this.f12509.size()) {
                    List list2 = this.f12509;
                    int i = this.f12502;
                    this.f12502 = i + 1;
                    InterfaceC0713 interfaceC0713 = (InterfaceC0713) list2.get(i);
                    File file = this.f12510;
                    C5155 c5155 = this.f12506;
                    this.f12504 = interfaceC0713.mo1492(file, c5155.f19376, c5155.f19386, c5155.f19385);
                    if (this.f12504 != null && this.f12506.m10660(this.f12504.f2716.mo1311()) != null) {
                        this.f12504.f2716.mo1314(this.f12506.f19377, this);
                        z = true;
                    }
                }
                return z;
            }
            int i2 = this.f12507 + 1;
            this.f12507 = i2;
            if (i2 >= this.f12503.size()) {
                return false;
            }
            InterfaceC0883 interfaceC0883 = (InterfaceC0883) this.f12503.get(this.f12507);
            C5155 c51552 = this.f12506;
            File fileMo10107 = c51552.f19371.m10223().mo10107(new C1056(interfaceC0883, c51552.f19372));
            this.f12510 = fileMo10107;
            if (fileMo10107 != null) {
                this.f12508 = interfaceC0883;
                this.f12509 = this.f12506.f19373.m5115().m2853(fileMo10107);
                this.f12502 = 0;
            }
        }
    }
}
