package defpackage;

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

/* JADX INFO: renamed from: ᵖᵽ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public class C2466 {

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public static final C0869 f9579 = new C0869();

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public long f9580;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public long f9581;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public boolean f9582;

    /* JADX INFO: renamed from: ʽˈˋ */
    public C2466 mo5522() {
        this.f9581 = 0L;
        return this;
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ */
    public long mo5523() {
        if (this.f9582) {
            return this.f9580;
        }
        ᵕᵩʽᵲ.ᵪᵹᵥᵻ("No deadline");
        return 0L;
    }

    /* JADX INFO: renamed from: ᵨᵣ */
    public boolean mo5524() {
        return this.f9582;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public C2466 mo5525() {
        this.f9582 = false;
        return this;
    }

    /* JADX INFO: renamed from: ᵵᵽ */
    public C2466 mo3055(long j) {
        if (j >= 0) {
            this.f9581 = TimeUnit.MILLISECONDS.toNanos(j);
            return this;
        }
        ᵕᵩʽᵲ.ᵱᵽʡᵚ(AbstractC0659.m2417(j, "timeout < 0: "));
        return null;
    }

    /* JADX INFO: renamed from: ᵷᵺʾᵖ */
    public C2466 mo3056(long j) {
        this.f9582 = true;
        this.f9580 = j;
        return this;
    }

    /* JADX INFO: renamed from: ᵻˈᵦʼ */
    public void mo3057() throws InterruptedIOException {
        if (Thread.currentThread().isInterrupted()) {
            throw new InterruptedIOException("interrupted");
        }
        if (this.f9582 && this.f9580 - System.nanoTime() <= 0) {
            throw new InterruptedIOException("deadline reached");
        }
    }
}
