package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class PF implements T90 {
    public final long l;
    public boolean m;
    public final C0732af n = new C0732af();

    /* renamed from: o, reason: collision with root package name */
    public final C0732af f281o = new C0732af();
    public boolean p;
    public final /* synthetic */ RF q;

    public PF(RF rf, long j, boolean z) {
        this.q = rf;
        this.l = j;
        this.m = z;
    }

    /* JADX WARN: Removed duplicated region for block: B:47:0x0092 A[LOOP:0: B:4:0x000a->B:47:0x0092, LOOP_END] */
    /* JADX WARN: Removed duplicated region for block: B:76:0x0096 A[SYNTHETIC] */
    @Override // o.T90
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final long C(long r17, o.C0732af r19) throws java.lang.Throwable {
        /*
            Method dump skipped, instructions count: 196
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.PF.C(long, o.af):long");
    }

    @Override // o.T90
    public final Cf0 a() {
        return this.q.k;
    }

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        long j;
        RF rf = this.q;
        synchronized (rf) {
            this.p = true;
            C0732af c0732af = this.f281o;
            j = c0732af.m;
            c0732af.b();
            rf.notifyAll();
        }
        if (j > 0) {
            RF rf2 = this.q;
            byte[] bArr = AbstractC2264qi0.a;
            rf2.b.g(j);
        }
        this.q.a();
    }
}
