package defpackage;

import java.io.InterruptedIOException;
import java.util.concurrent.TimeUnit;

/* renamed from: ᵫˋᵦ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class C3948 {

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public static final C4050 f14904 = new C4050();

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public long f14905;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public boolean f14906;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public long f14907;

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public boolean mo8740() {
        return this.f14906;
    }

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public C3948 mo8741(long j) {
        if (j >= 0) {
            this.f14905 = TimeUnit.MILLISECONDS.toNanos(j);
            return this;
        }
        ᵹˉᵞ.ᵸˑ(AbstractC4737.m10015(j, "timeout < 0: "));
        return null;
    }

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public void mo8742() throws InterruptedIOException {
        if (Thread.currentThread().isInterrupted()) {
            throw new InterruptedIOException("interrupted");
        }
        if (this.f14906 && this.f14907 - System.nanoTime() <= 0) {
            throw new InterruptedIOException("deadline reached");
        }
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public long mo8743() {
        if (this.f14906) {
            return this.f14907;
        }
        ᵹˉᵞ.ᵳٴᵶ("No deadline");
        return 0L;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public C3948 mo8744() {
        this.f14906 = false;
        return this;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public C3948 mo8745() {
        this.f14905 = 0L;
        return this;
    }

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public C3948 mo8746(long j) {
        this.f14906 = true;
        this.f14907 = j;
        return this;
    }
}
