package defpackage;

import java.io.IOException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;

/* renamed from: ᵴᵞˀˑ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class C4657 extends C3948 {

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public static final long f17231;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public static C4657 f17232;

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public static final long f17233;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public static final ReentrantLock f17234;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public static final Condition f17235;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public static final C2124 f17236;

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public int f17237;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public long f17238;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public int f17239 = -1;

    static {
        C2124 c2124 = new C2124((char) 0, 9);
        c2124.f8376 = new C4657[8];
        f17236 = c2124;
        ReentrantLock reentrantLock = new ReentrantLock();
        f17234 = reentrantLock;
        f17235 = reentrantLock.newCondition();
        f17231 = 60000L;
        f17233 = TimeUnit.MILLISECONDS.toNanos(60000L);
    }

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final boolean m9834() {
        ReentrantLock reentrantLock = f17234;
        reentrantLock.lock();
        try {
            int i = this.f17237;
            this.f17237 = 0;
            if (i != 1) {
                return i == 2;
            }
            f17236.m5720(this);
            return false;
        } finally {
            reentrantLock.unlock();
        }
    }

    /* renamed from: ᵶᵷᵕ */
    public IOException mo2865(IOException iOException) {
        throw null;
    }

    /* renamed from: ᵸˑ */
    public void mo2866() {
    }

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final void m9835() {
        long j = this.f14905;
        boolean z = this.f14906;
        if (j != 0 || z) {
            ReentrantLock reentrantLock = f17234;
            reentrantLock.lock();
            try {
                if (this.f17237 != 0) {
                    throw new IllegalStateException("Unbalanced enter/exit");
                }
                this.f17237 = 1;
                ˉːᵡ.ˑᵥˁ(this);
            } finally {
                reentrantLock.unlock();
            }
        }
    }
}
