package m4;

import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;

/* JADX INFO: renamed from: m4.i, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C2512i {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final Logger f21048e = Logger.getLogger(C2512i.class.getName());

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Q0 f21049a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final k4.w0 f21050b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public W f21051c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public androidx.recyclerview.widget.i0 f21052d;

    public C2512i(i2 i2Var, Q0 q02, k4.w0 w0Var) {
        this.f21049a = q02;
        this.f21050b = w0Var;
    }

    public final void a(I2.K k6) {
        this.f21050b.d();
        if (this.f21051c == null) {
            this.f21051c = i2.g();
        }
        androidx.recyclerview.widget.i0 i0Var = this.f21052d;
        if (i0Var != null) {
            k4.v0 v0Var = (k4.v0) i0Var.f13105b;
            if (!v0Var.f19972c && !v0Var.f19971b) {
                return;
            }
        }
        long jA = this.f21051c.a();
        this.f21052d = this.f21050b.c(k6, jA, TimeUnit.NANOSECONDS, this.f21049a);
        f21048e.log(Level.FINE, "Scheduling DNS resolution backoff for {0}ns", Long.valueOf(jA));
    }
}
