package n4;

import java.io.Closeable;
import java.util.concurrent.Executor;
import java.util.concurrent.ScheduledExecutorService;
import javax.net.ssl.SSLSocketFactory;
import m4.C2497d;
import m4.e2;
import m4.f2;
import m4.i2;

/* JADX INFO: loaded from: classes3.dex */
public final class g implements Closeable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final l2.c f21650a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Executor f21651b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final l2.c f21652c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final ScheduledExecutorService f21653d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final i2 f21654e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final SSLSocketFactory f21655f;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final o4.c f21656j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final int f21657k;
    public final boolean l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final C2497d f21658m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final long f21659n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final int f21660o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final int f21661p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public boolean f21662q;

    public g(l2.c cVar, l2.c cVar2, SSLSocketFactory sSLSocketFactory, o4.c cVar3, int i6, boolean z6, long j4, long j6, int i7, int i8, i2 i2Var) {
        this.f21650a = cVar;
        this.f21651b = (Executor) f2.a((e2) cVar.f20267b);
        this.f21652c = cVar2;
        this.f21653d = (ScheduledExecutorService) f2.a((e2) cVar2.f20267b);
        this.f21655f = sSLSocketFactory;
        this.f21656j = cVar3;
        this.f21657k = i6;
        this.l = z6;
        this.f21658m = new C2497d(j4);
        this.f21659n = j6;
        this.f21660o = i7;
        this.f21661p = i8;
        A4.g.o(i2Var, "transportTracerFactory");
        this.f21654e = i2Var;
    }

    @Override // java.io.Closeable, java.lang.AutoCloseable
    public final void close() {
        if (this.f21662q) {
            return;
        }
        this.f21662q = true;
        f2.b((e2) this.f21650a.f20267b, this.f21651b);
        f2.b((e2) this.f21652c.f20267b, this.f21653d);
    }
}
