package Q4;

import K4.o;
import O4.j;
import O4.l;
import java.util.concurrent.TimeUnit;
import r4.AbstractC0983h;

/* JADX INFO: loaded from: classes.dex */
public final class b extends a {

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final o f2610n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public long f2611o;
    public boolean p;
    public final /* synthetic */ l q;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public b(l lVar, o oVar) {
        super(lVar);
        AbstractC0983h.e("this$0", lVar);
        AbstractC0983h.e("url", oVar);
        this.q = lVar;
        this.f2610n = oVar;
        this.f2611o = -1L;
        this.p = true;
    }

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        if (this.f2608l) {
            return;
        }
        if (this.p) {
            TimeUnit timeUnit = TimeUnit.MILLISECONDS;
            if (!L4.b.f(this)) {
                ((j) this.q.f2368c).k();
                a();
            }
        }
        this.f2608l = true;
    }

    /* JADX WARN: Code restructure failed: missing block: B:48:0x00e2, code lost:
    
        if (r12.p == false) goto L49;
     */
    @Override // Q4.a, X4.u
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    public final long p(X4.e r13, long r14) throws java.io.IOException {
        /*
            Method dump skipped, instruction units count: 315
            To view this dump change 'Code comments level' option to 'DEBUG'
        */
        throw new UnsupportedOperationException("Method not decompiled: Q4.b.p(X4.e, long):long");
    }
}
