package o;

import java.util.List;
import javax.net.ssl.SSLSocket;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Nq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0353Nq implements K90 {
    public final InterfaceC0327Mq a;
    public K90 b;

    public C0353Nq(InterfaceC0327Mq interfaceC0327Mq) {
        this.a = interfaceC0327Mq;
    }

    @Override // o.K90
    public final String a(SSLSocket sSLSocket) {
        K90 k90E = e(sSLSocket);
        if (k90E != null) {
            return k90E.a(sSLSocket);
        }
        return null;
    }

    @Override // o.K90
    public final boolean b(SSLSocket sSLSocket) {
        return this.a.b(sSLSocket);
    }

    @Override // o.K90
    public final boolean c() {
        return true;
    }

    @Override // o.K90
    public final void d(SSLSocket sSLSocket, String str, List list) {
        K90 k90E = e(sSLSocket);
        if (k90E != null) {
            k90E.d(sSLSocket, str, list);
        }
    }

    public final synchronized K90 e(SSLSocket sSLSocket) {
        try {
            if (this.b == null && this.a.b(sSLSocket)) {
                this.b = this.a.g(sSLSocket);
            }
        } catch (Throwable th) {
            throw th;
        }
        return this.b;
    }
}
