package defpackage;

import java.io.IOException;

/* JADX INFO: renamed from: ˇᵿ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC1004 implements InterfaceC3906 {

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

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public boolean f4378;

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

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public final /* synthetic */ C2376 f4380;

    public AbstractC1004(C2376 c2376, C1695 c1695) {
        this.f4380 = c2376;
        this.f4377 = c1695;
        this.f4379 = new C2072(((C1978) c2376.f9301.ᵔᵖᵹᵫ).f7847.mo1491());
    }

    @Override // defpackage.InterfaceC3906
    /* JADX INFO: renamed from: ᵪᵹᵥᵻ */
    public long mo1490(C4903 c4903, long j) throws IOException {
        C2376 c2376 = this.f4380;
        try {
            return ((C1978) c2376.f9301.ᵔᵖᵹᵫ).mo1490(c4903, j);
        } catch (IOException e) {
            c2376.f9300.mo8822();
            this.m3326(C2376.f9299);
            throw e;
        }
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final void m3326(C0661 c0661) {
        C3423 c3423;
        InterfaceC2605 interfaceC2605;
        C2376 c2376 = this.f4380;
        int i = c2376.f9304;
        if (i == 6) {
            return;
        }
        if (i != 5) {
            throw new IllegalStateException("state: " + c2376.f9304);
        }
        C2072 c2072 = this.f4379;
        C2466 c2466 = c2072.f8214;
        c2072.f8214 = C2466.f9579;
        c2466.mo5525();
        c2466.mo5522();
        c2376.f9304 = 6;
        if (c0661.size() <= 0 || (c3423 = c2376.f9303) == null || (interfaceC2605 = c3423.f13202) == null) {
            return;
        }
        AbstractC1384.m3960(interfaceC2605, this.f4377, c0661);
    }

    @Override // defpackage.InterfaceC3906
    /* JADX INFO: renamed from: ᵻʽᵯ */
    public final C2466 mo1491() {
        return this.f4379;
    }
}
