package p447.p448.p452;

import java.io.IOException;
import java.lang.ref.Reference;
import java.net.ConnectException;
import java.net.InetSocketAddress;
import java.net.Proxy;
import java.net.Socket;
import java.net.SocketException;
import java.security.Principal;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import kotlin.TypeCastException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import okhttp3.internal.http2.ConnectionShutdownException;
import okhttp3.internal.http2.StreamResetException;
import p138.p139.p143.p144.C2803;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.InterfaceC6540;
import p402.p411.p413.C6635;
import p402.p420.C6703;
import p447.AbstractC6894;
import p447.AbstractC6930;
import p447.C6860;
import p447.C6871;
import p447.C6881;
import p447.C6901;
import p447.C6908;
import p447.C6921;
import p447.C6926;
import p447.C6933;
import p447.C6938;
import p447.EnumC6924;
import p447.InterfaceC6868;
import p447.InterfaceC6879;
import p447.p448.C6943;
import p447.p448.p451.C6951;
import p447.p448.p451.C6952;
import p447.p448.p451.C6953;
import p447.p448.p453.C6987;
import p447.p448.p453.InterfaceC6984;
import p447.p448.p454.C6995;
import p447.p448.p455.C7011;
import p447.p448.p455.C7030;
import p447.p448.p455.C7036;
import p447.p448.p455.C7048;
import p447.p448.p455.EnumC7003;
import p447.p448.p457.C7069;
import p447.p448.p460.C7095;
import p461.InterfaceC7106;
import p461.InterfaceC7107;
import p461.InterfaceC7129;

/* JADX INFO: renamed from: ސ.ޣ.ބ.ރ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class C6968 extends C7011.AbstractC7015 implements InterfaceC6879 {

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public Socket f20283;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public Socket f20284;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public C6901 f20285;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public EnumC6924 f20286;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public C7011 f20287;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public InterfaceC7107 f20288;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public InterfaceC7106 f20289;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public boolean f20290;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public boolean f20291;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public int f20292;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public int f20293;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public int f20294;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public int f20295;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final List<Reference<C6964>> f20296;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public long f20297;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public final C6973 f20298;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public final C6938 f20299;

    /* JADX INFO: renamed from: ސ.ޣ.ބ.ރ$֏, reason: contains not printable characters */
    public static final class C6969 {
        public C6969() {
        }

        public /* synthetic */ C6969(DefaultConstructorMarker defaultConstructorMarker) {
        }
    }

    static {
        new C6969(null);
    }

    public C6968(C6973 c6973, C6938 c6938) {
        if (c6973 == null) {
            C6635.m9824("connectionPool");
            throw null;
        }
        if (c6938 == null) {
            C6635.m9824("route");
            throw null;
        }
        this.f20298 = c6973;
        this.f20299 = c6938;
        this.f20295 = 1;
        this.f20296 = new ArrayList();
        this.f20297 = Long.MAX_VALUE;
    }

    public String toString() {
        Object obj;
        StringBuilder sbM4889 = C2803.m4889("Connection{");
        sbM4889.append(this.f20299.f20176.f19900.f20017);
        sbM4889.append(':');
        sbM4889.append(this.f20299.f20176.f19900.f20018);
        sbM4889.append(',');
        sbM4889.append(" proxy=");
        sbM4889.append(this.f20299.f20177);
        sbM4889.append(" hostAddress=");
        sbM4889.append(this.f20299.f20178);
        sbM4889.append(" cipherSuite=");
        C6901 c6901 = this.f20285;
        if (c6901 == null || (obj = c6901.f20004) == null) {
            obj = "none";
        }
        sbM4889.append(obj);
        sbM4889.append(" protocol=");
        sbM4889.append(this.f20286);
        sbM4889.append('}');
        return sbM4889.toString();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final InterfaceC6984 m10226(C6921 c6921, C6987 c6987) {
        if (c6921 == null) {
            C6635.m9824("client");
            throw null;
        }
        if (c6987 == null) {
            C6635.m9824("chain");
            throw null;
        }
        Socket socket = this.f20284;
        if (socket == null) {
            C6635.m9822();
            throw null;
        }
        InterfaceC7107 interfaceC7107 = this.f20288;
        if (interfaceC7107 == null) {
            C6635.m9822();
            throw null;
        }
        InterfaceC7106 interfaceC7106 = this.f20289;
        if (interfaceC7106 == null) {
            C6635.m9822();
            throw null;
        }
        C7011 c7011 = this.f20287;
        if (c7011 != null) {
            return new C7030(c6921, this, c6987, c7011);
        }
        socket.setSoTimeout(c6987.f20337);
        interfaceC7107.mo10277().mo10460(c6987.f20337, TimeUnit.MILLISECONDS);
        interfaceC7106.mo10278().mo10460(c6987.f20338, TimeUnit.MILLISECONDS);
        return new C6995(c6921, this, interfaceC7107, interfaceC7106);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10227(int i) throws SocketException {
        String strM4879;
        Socket socket = this.f20284;
        if (socket == null) {
            C6635.m9822();
            throw null;
        }
        InterfaceC7107 interfaceC7107 = this.f20288;
        if (interfaceC7107 == null) {
            C6635.m9822();
            throw null;
        }
        InterfaceC7106 interfaceC7106 = this.f20289;
        if (interfaceC7106 == null) {
            C6635.m9822();
            throw null;
        }
        socket.setSoTimeout(0);
        C7011.C7013 c7013 = new C7011.C7013(true, C6953.f20216);
        String str = this.f20299.f20176.f19900.f20017;
        if (str == null) {
            C6635.m9824("peerName");
            throw null;
        }
        c7013.f20448 = socket;
        if (c7013.f20455) {
            strM4879 = C6943.f20197 + ' ' + str;
        } else {
            strM4879 = C2803.m4879("MockWebServer ", str);
        }
        c7013.f20449 = strM4879;
        c7013.f20450 = interfaceC7107;
        c7013.f20451 = interfaceC7106;
        c7013.f20452 = this;
        c7013.f20454 = i;
        C7011 c7011 = new C7011(c7013);
        this.f20287 = c7011;
        if (C7011.f20417 == null) {
            throw null;
        }
        C7048 c7048 = C7011.f20416;
        this.f20295 = (c7048.f20553 & 16) != 0 ? c7048.f20554[4] : Integer.MAX_VALUE;
        C6953 c6953 = C6953.f20216;
        if (c6953 == null) {
            C6635.m9824("taskRunner");
            throw null;
        }
        c7011.f20443.m10344();
        c7011.f20443.m10355(c7011.f20436);
        if (c7011.f20436.m10361() != 65535) {
            c7011.f20443.m10347(0, r1 - 65535);
        }
        C6952 c6952M10194 = c6953.m10194();
        String str2 = c7011.f20421;
        c6952M10194.m10185(new C6951(c7011.f20444, str2, true, str2, true), 0L);
    }

    /* JADX WARN: Type inference failed for: r5v16 */
    /* JADX WARN: Type inference failed for: r5v17 */
    /* JADX WARN: Type inference failed for: r5v5, types: [java.lang.Throwable, ސ.ޘ] */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10228(int i, int i2, int i3, InterfaceC6868 interfaceC6868, AbstractC6894 abstractC6894) throws IOException {
        int i4 = i2;
        C6926.C6927 c6927 = new C6926.C6927();
        c6927.m10122(this.f20299.f20176.f19900);
        boolean z = false;
        c6927.m10120("CONNECT", (AbstractC6930) null);
        boolean z2 = true;
        c6927.m10119("Host", C6943.m10157(this.f20299.f20176.f19900, true));
        c6927.m10119("Proxy-Connection", "Keep-Alive");
        c6927.m10119("User-Agent", "okhttp/4.7.2");
        C6926 c6926M10123 = c6927.m10123();
        C6933.C6934 c6934 = new C6933.C6934();
        c6934.f20159 = c6926M10123;
        c6934.m10130(EnumC6924.HTTP_1_1);
        c6934.f20161 = 407;
        c6934.f20162 = "Preemptive Authenticate";
        c6934.f20165 = C6943.f20192;
        c6934.f20169 = -1L;
        c6934.f20170 = -1L;
        c6934.f20164.m10075("Proxy-Authenticate", "OkHttp-Preemptive");
        C6933 c6933M10133 = c6934.m10133();
        C6938 c6938 = this.f20299;
        C6926 c6926Mo2523 = c6938.f20176.f19908.mo2523(c6938, c6933M10133);
        if (c6926Mo2523 != null) {
            c6926M10123 = c6926Mo2523;
        }
        C6908 c6908 = c6926M10123.f20128;
        int i5 = 0;
        for (int i6 = 21; i5 < i6; i6 = 21) {
            m10229(i, i4, interfaceC6868, abstractC6894);
            String str = "CONNECT " + C6943.m10157(c6908, z2) + " HTTP/1.1";
            ?? r5 = z;
            while (true) {
                InterfaceC7107 interfaceC7107 = this.f20288;
                if (interfaceC7107 == null) {
                    C6635.m9822();
                    throw r5;
                }
                InterfaceC7106 interfaceC7106 = this.f20289;
                if (interfaceC7106 == null) {
                    C6635.m9822();
                    throw r5;
                }
                C6995 c6995 = new C6995(r5, this, interfaceC7107, interfaceC7106);
                interfaceC7107.mo10277().mo10460(i4, TimeUnit.MILLISECONDS);
                interfaceC7106.mo10278().mo10460(i3, TimeUnit.MILLISECONDS);
                c6995.m10275(c6926M10123.f20130, str);
                c6995.f20355.flush();
                C6933.C6934 c6934Mo10251 = c6995.mo10251(false);
                if (c6934Mo10251 == null) {
                    C6635.m9822();
                    throw null;
                }
                c6934Mo10251.f20159 = c6926M10123;
                C6933 c6933M101332 = c6934Mo10251.m10133();
                long jM10155 = C6943.m10155(c6933M101332);
                if (jM10155 != -1) {
                    InterfaceC7129 interfaceC7129M10274 = c6995.m10274(jM10155);
                    C6943.m10176(interfaceC7129M10274, Integer.MAX_VALUE, TimeUnit.MILLISECONDS);
                    interfaceC7129M10274.close();
                }
                int i7 = c6933M101332.f20149;
                if (i7 != 200) {
                    if (i7 != 407) {
                        StringBuilder sbM4889 = C2803.m4889("Unexpected response code for CONNECT: ");
                        sbM4889.append(c6933M101332.f20149);
                        throw new IOException(sbM4889.toString());
                    }
                    C6938 c69382 = this.f20299;
                    c6926M10123 = c69382.f20176.f19908.mo2523(c69382, c6933M101332);
                    if (c6926M10123 == null) {
                        throw new IOException("Failed to authenticate with proxy");
                    }
                    if (C6703.m9905("close", C6933.m10126(c6933M101332, "Connection", null, 2), true)) {
                        break;
                    }
                    r5 = 0;
                    i4 = i2;
                } else {
                    if (!interfaceC7107.getBuffer().mo10436() || !interfaceC7106.getBuffer().mo10436()) {
                        throw new IOException("TLS tunnel buffered too many bytes!");
                    }
                    c6926M10123 = null;
                }
            }
            if (c6926M10123 == null) {
                return;
            }
            Socket socket = this.f20283;
            if (socket != null) {
                C6943.m10165(socket);
            }
            this.f20283 = null;
            this.f20289 = null;
            this.f20288 = null;
            C6938 c69383 = this.f20299;
            abstractC6894.m10059(interfaceC6868, c69383.f20178, c69383.f20177);
            i5++;
            z = false;
            z2 = true;
            i4 = i2;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10229(int i, int i2, InterfaceC6868 interfaceC6868, AbstractC6894 abstractC6894) throws IOException {
        Socket socket;
        int i3;
        C6938 c6938 = this.f20299;
        Proxy proxy = c6938.f20177;
        C6860 c6860 = c6938.f20176;
        Proxy.Type type = proxy.type();
        if (type != null && ((i3 = C6970.f20300[type.ordinal()]) == 1 || i3 == 2)) {
            socket = c6860.f19904.createSocket();
            if (socket == null) {
                C6635.m9822();
                throw null;
            }
        } else {
            socket = new Socket(proxy);
        }
        this.f20283 = socket;
        InetSocketAddress inetSocketAddress = this.f20299.f20178;
        if (abstractC6894 == null) {
            throw null;
        }
        if (interfaceC6868 == null) {
            C6635.m9824("call");
            throw null;
        }
        if (inetSocketAddress == null) {
            C6635.m9824("inetSocketAddress");
            throw null;
        }
        socket.setSoTimeout(i2);
        try {
            if (C7069.f20588 == null) {
                throw null;
            }
            C7069.f20586.mo10372(socket, this.f20299.f20178, i);
            try {
                this.f20288 = C4303.m7076(C4303.m7163(socket));
                this.f20289 = C4303.m7075(C4303.m7079(socket));
            } catch (NullPointerException e) {
                if (C6635.m9825((Object) e.getMessage(), (Object) "throw with null exception")) {
                    throw new IOException(e);
                }
            }
        } catch (ConnectException e2) {
            StringBuilder sbM4889 = C2803.m4889("Failed to connect to ");
            sbM4889.append(this.f20299.f20178);
            ConnectException connectException = new ConnectException(sbM4889.toString());
            connectException.initCause(e2);
            throw connectException;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10230(C6921 c6921, C6938 c6938, IOException iOException) {
        if (c6921 == null) {
            C6635.m9824("client");
            throw null;
        }
        if (c6938 == null) {
            C6635.m9824("failedRoute");
            throw null;
        }
        if (iOException == null) {
            C6635.m9824("failure");
            throw null;
        }
        if (c6938.f20177.type() != Proxy.Type.DIRECT) {
            C6860 c6860 = c6938.f20176;
            c6860.f19910.connectFailed(c6860.f19900.m10088(), c6938.f20177.address(), iOException);
        }
        c6921.f20087.m10244(c6938);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10231(C6959 c6959, int i, InterfaceC6868 interfaceC6868, AbstractC6894 abstractC6894) throws Throwable {
        SSLSocket sSLSocket;
        String strMo10368;
        C6860 c6860 = this.f20299.f20176;
        SSLSocketFactory sSLSocketFactory = c6860.f19905;
        if (sSLSocketFactory == null) {
            if (!c6860.f19901.contains(EnumC6924.H2_PRIOR_KNOWLEDGE)) {
                this.f20284 = this.f20283;
                this.f20286 = EnumC6924.HTTP_1_1;
                return;
            } else {
                this.f20284 = this.f20283;
                this.f20286 = EnumC6924.H2_PRIOR_KNOWLEDGE;
                m10227(i);
                return;
            }
        }
        if (abstractC6894 == null) {
            throw null;
        }
        if (interfaceC6868 == null) {
            C6635.m9824("call");
            throw null;
        }
        try {
            if (sSLSocketFactory == null) {
                C6635.m9822();
                throw null;
            }
            Socket socketCreateSocket = sSLSocketFactory.createSocket(this.f20283, c6860.f19900.f20017, c6860.f19900.f20018, true);
            if (socketCreateSocket == null) {
                throw new TypeCastException("null cannot be cast to non-null type javax.net.ssl.SSLSocket");
            }
            sSLSocket = (SSLSocket) socketCreateSocket;
            try {
                C6881 c6881M10198 = c6959.m10198(sSLSocket);
                if (c6881M10198.f19965) {
                    if (C7069.f20588 == null) {
                        throw null;
                    }
                    C7069.f20586.mo10367(sSLSocket, c6860.f19900.f20017, c6860.f19901);
                }
                sSLSocket.startHandshake();
                SSLSession session = sSLSocket.getSession();
                C6901.C6902 c6902 = C6901.f20001;
                C6635.m9823((Object) session, "sslSocketSession");
                C6901 c6901M10066 = c6902.m10066(session);
                HostnameVerifier hostnameVerifier = c6860.f19906;
                if (hostnameVerifier == null) {
                    C6635.m9822();
                    throw null;
                }
                if (hostnameVerifier.verify(c6860.f19900.f20017, session)) {
                    C6871 c6871 = c6860.f19907;
                    if (c6871 == null) {
                        C6635.m9822();
                        throw null;
                    }
                    this.f20285 = new C6901(c6901M10066.f20003, c6901M10066.f20004, c6901M10066.f20005, new C6971(c6871, c6901M10066, c6860));
                    c6871.m10030(c6860.f19900.f20017, new C6972(this));
                    if (!c6881M10198.f19965) {
                        strMo10368 = null;
                    } else {
                        if (C7069.f20588 == null) {
                            throw null;
                        }
                        strMo10368 = C7069.f20586.mo10368(sSLSocket);
                    }
                    this.f20284 = sSLSocket;
                    this.f20288 = C4303.m7076(C4303.m7163((Socket) sSLSocket));
                    this.f20289 = C4303.m7075(C4303.m7079((Socket) sSLSocket));
                    this.f20286 = strMo10368 != null ? EnumC6924.f20125.m10114(strMo10368) : EnumC6924.HTTP_1_1;
                    if (C7069.f20588 == null) {
                        throw null;
                    }
                    C7069.f20586.mo10379(sSLSocket);
                    if (this.f20286 == EnumC6924.HTTP_2) {
                        m10227(i);
                        return;
                    }
                    return;
                }
                List<Certificate> listM10065 = c6901M10066.m10065();
                if (!(!listM10065.isEmpty())) {
                    throw new SSLPeerUnverifiedException("Hostname " + c6860.f19900.f20017 + " not verified (no certificates)");
                }
                Certificate certificate = listM10065.get(0);
                if (certificate == null) {
                    throw new TypeCastException("null cannot be cast to non-null type java.security.cert.X509Certificate");
                }
                X509Certificate x509Certificate = (X509Certificate) certificate;
                StringBuilder sb = new StringBuilder();
                sb.append("\n              |Hostname ");
                sb.append(c6860.f19900.f20017);
                sb.append(" not verified:\n              |    certificate: ");
                sb.append(C6871.f19927.m10031((Certificate) x509Certificate));
                sb.append("\n              |    DN: ");
                Principal subjectDN = x509Certificate.getSubjectDN();
                C6635.m9823((Object) subjectDN, "cert.subjectDN");
                sb.append(subjectDN.getName());
                sb.append("\n              |    subjectAltNames: ");
                sb.append(C7095.f20616.m10395(x509Certificate));
                sb.append("\n              ");
                throw new SSLPeerUnverifiedException(C6703.m9868(sb.toString(), (String) null, 1));
            } catch (Throwable th) {
                th = th;
                if (sSLSocket != null) {
                    if (C7069.f20588 == null) {
                        throw null;
                    }
                    C7069.f20586.mo10379(sSLSocket);
                }
                if (sSLSocket != null) {
                    C6943.m10165((Socket) sSLSocket);
                }
                throw th;
            }
        } catch (Throwable th2) {
            th = th2;
            sSLSocket = null;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10232(C6964 c6964, IOException iOException) {
        if (c6964 == null) {
            C6635.m9824("call");
            throw null;
        }
        C6973 c6973 = this.f20298;
        if (C6943.f20196 && Thread.holdsLock(c6973)) {
            StringBuilder sbM4889 = C2803.m4889("Thread ");
            Thread threadCurrentThread = Thread.currentThread();
            C6635.m9823((Object) threadCurrentThread, "Thread.currentThread()");
            sbM4889.append(threadCurrentThread.getName());
            sbM4889.append(" MUST NOT hold lock on ");
            sbM4889.append(c6973);
            throw new AssertionError(sbM4889.toString());
        }
        synchronized (this.f20298) {
            if (iOException instanceof StreamResetException) {
                if (((StreamResetException) iOException).f2195 == EnumC7003.REFUSED_STREAM) {
                    int i = this.f20294 + 1;
                    this.f20294 = i;
                    if (i > 1) {
                        this.f20290 = true;
                        this.f20292++;
                    }
                } else if (((StreamResetException) iOException).f2195 != EnumC7003.CANCEL || !c6964.mo10027()) {
                    this.f20290 = true;
                    this.f20292++;
                }
            } else if (!m10235() || (iOException instanceof ConnectionShutdownException)) {
                this.f20290 = true;
                if (this.f20293 == 0) {
                    if (iOException != null) {
                        m10230(c6964.f20275, this.f20299, iOException);
                    }
                    this.f20292++;
                }
            }
        }
    }

    @Override // p447.p448.p455.C7011.AbstractC7015
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo10233(C7011 c7011, C7048 c7048) {
        if (c7011 == null) {
            C6635.m9824("connection");
            throw null;
        }
        if (c7048 == null) {
            C6635.m9824("settings");
            throw null;
        }
        synchronized (this.f20298) {
            this.f20295 = (c7048.f20553 & 16) != 0 ? c7048.f20554[4] : Integer.MAX_VALUE;
        }
    }

    @Override // p447.p448.p455.C7011.AbstractC7015
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo10234(C7036 c7036) {
        if (c7036 != null) {
            c7036.m10329(EnumC7003.REFUSED_STREAM, (IOException) null);
        } else {
            C6635.m9824("stream");
            throw null;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final boolean m10235() {
        return this.f20287 != null;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final void m10236() {
        C6973 c6973 = this.f20298;
        if (!C6943.f20196 || !Thread.holdsLock(c6973)) {
            synchronized (this.f20298) {
                this.f20291 = true;
            }
        } else {
            StringBuilder sbM4889 = C2803.m4889("Thread ");
            Thread threadCurrentThread = Thread.currentThread();
            C6635.m9823((Object) threadCurrentThread, "Thread.currentThread()");
            sbM4889.append(threadCurrentThread.getName());
            sbM4889.append(" MUST NOT hold lock on ");
            sbM4889.append(c6973);
            throw new AssertionError(sbM4889.toString());
        }
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final void m10237() {
        C6973 c6973 = this.f20298;
        if (!C6943.f20196 || !Thread.holdsLock(c6973)) {
            synchronized (this.f20298) {
                this.f20290 = true;
            }
        } else {
            StringBuilder sbM4889 = C2803.m4889("Thread ");
            Thread threadCurrentThread = Thread.currentThread();
            C6635.m9823((Object) threadCurrentThread, "Thread.currentThread()");
            sbM4889.append(threadCurrentThread.getName());
            sbM4889.append(" MUST NOT hold lock on ");
            sbM4889.append(c6973);
            throw new AssertionError(sbM4889.toString());
        }
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public Socket m10238() {
        Socket socket = this.f20284;
        if (socket != null) {
            return socket;
        }
        C6635.m9822();
        throw null;
    }
}
