APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Consulta Recibo Luz Guia
版本号:8.0
包名称:com.satruk.consultareciboluzcfe

MD5 校验值:d53ec1a251294bef920c76a08ee856d9

反编译源代码说明

JMW1nY4qeylWh.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package h1nz4Fh6c0qTAAc06D3n;

import Q4yxHmvMaiiS.jWoG5FR9o;
import bU6nVanxCx1XZefIjrUEN.V4UL8fNzd;
import hBRTgXXhcJzGjGt7p5.Gcw36yU85LOl2EzjVIG0;
import hBRTgXXhcJzGjGt7p5.ax0nGU8LIsBL;
import hBRTgXXhcJzGjGt7p5.fzEm5zhqI3YBrM7NdcW2YUauv;
import hBRTgXXhcJzGjGt7p5.qck5v1bb2rYhaEqVs;
import hBRTgXXhcJzGjGt7p5.yycNTKtNNfBQ2oa6MEm;
import java.io.IOException;
import java.lang.ref.Reference;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Proxy;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Set;

public final class JMW1nY4qeylWh {
    public boolean AE3aYQniE2MVzIhSQaIUIvmNJIb;
    public final ax0nGU8LIsBL BTzhn1XfTKC8cL901w67xnNTX;
    public final i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 Dx9UYYdrV;
    public LlsAwtCXtFvPG3dW4 ELZW2TfCJuaH27ILK7NhOac8P;
    public int IOcwVNZBJVninyXba;
    public final hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV Xcb5jjxCoQp9OA;
    public uJesLkqn3yALlHyRT3sA.xgYehFlZAxMDizbH0hKTuJMEFk aG7kT0ezy;
    public final Gcw36yU85LOl2EzjVIG0 mddTHTsghpG247Tn8aU17dbs;
    public final Object pYOoWpqdhXIAEqnxMp1M;
    public V4UL8fNzd qU83Vx5J8I;
    public fzEm5zhqI3YBrM7NdcW2YUauv uaTfCKNviddAWLbck;
    public boolean uu8w11aBWYrANOCpbexEQ06dS;

    public JMW1nY4qeylWh(ax0nGU8LIsBL ax0ngu8lisbl, hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV mhXFz4O2fao0frTdgvSgsROV, yycNTKtNNfBQ2oa6MEm yycntktnnfbq2oa6mem, i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4, Object obj) {
        this.BTzhn1XfTKC8cL901w67xnNTX = ax0ngu8lisbl;
        this.Xcb5jjxCoQp9OA = mhXFz4O2fao0frTdgvSgsROV;
        this.Dx9UYYdrV = llsAwtCXtFvPG3dW4;
        i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ.getClass();
        this.mddTHTsghpG247Tn8aU17dbs = new Gcw36yU85LOl2EzjVIG0(mhXFz4O2fao0frTdgvSgsROV, ax0ngu8lisbl.Dx9UYYdrV, yycntktnnfbq2oa6mem, llsAwtCXtFvPG3dW4);
        this.pYOoWpqdhXIAEqnxMp1M = obj;
    }

    public final LlsAwtCXtFvPG3dW4 BTzhn1XfTKC8cL901w67xnNTX(boolean z, int i, int i2, int i3) {
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4;
        boolean z2;
        Socket socket;
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW42;
        boolean z3;
        fzEm5zhqI3YBrM7NdcW2YUauv fzem5zhqi3ybrm7ndcw2yuauv;
        boolean z4;
        Socket socket2;
        boolean z5;
        boolean z6;
        boolean z7;
        boolean z8;
        boolean z9;
        String str;
        int i4;
        boolean contains;
        boolean z10;
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
            if (!this.uu8w11aBWYrANOCpbexEQ06dS) {
                if (this.aG7kT0ezy == null) {
                    llsAwtCXtFvPG3dW4 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                    z2 = false;
                    if (llsAwtCXtFvPG3dW4 != null && llsAwtCXtFvPG3dW4.uu8w11aBWYrANOCpbexEQ06dS) {
                        socket = uaTfCKNviddAWLbck(false, false, true);
                    } else {
                        socket = null;
                    }
                    llsAwtCXtFvPG3dW42 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                    if (llsAwtCXtFvPG3dW42 != null) {
                        llsAwtCXtFvPG3dW4 = null;
                    } else {
                        llsAwtCXtFvPG3dW42 = null;
                    }
                    if (!this.AE3aYQniE2MVzIhSQaIUIvmNJIb) {
                        llsAwtCXtFvPG3dW4 = null;
                    }
                    if (llsAwtCXtFvPG3dW42 == null) {
                        i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW43 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ;
                        ax0nGU8LIsBL ax0ngu8lisbl = this.BTzhn1XfTKC8cL901w67xnNTX;
                        hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV mhXFz4O2fao0frTdgvSgsROV = this.Xcb5jjxCoQp9OA;
                        llsAwtCXtFvPG3dW43.getClass();
                        i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.Dx9UYYdrV(ax0ngu8lisbl, mhXFz4O2fao0frTdgvSgsROV, this, null);
                        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW44 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                        if (llsAwtCXtFvPG3dW44 != null) {
                            llsAwtCXtFvPG3dW42 = llsAwtCXtFvPG3dW44;
                            z3 = true;
                        } else {
                            fzem5zhqi3ybrm7ndcw2yuauv = this.uaTfCKNviddAWLbck;
                            z3 = false;
                        }
                    } else {
                        z3 = false;
                    }
                    fzem5zhqi3ybrm7ndcw2yuauv = null;
                } else {
                    throw new IllegalStateException("codec != null");
                }
            } else {
                throw new IllegalStateException("released");
            }
        }
        wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(socket);
        if (llsAwtCXtFvPG3dW4 != null) {
            this.Dx9UYYdrV.getClass();
        }
        if (z3) {
            this.Dx9UYYdrV.getClass();
        }
        if (llsAwtCXtFvPG3dW42 != null) {
            return llsAwtCXtFvPG3dW42;
        }
        if (fzem5zhqi3ybrm7ndcw2yuauv == null) {
            V4UL8fNzd v4UL8fNzd = this.qU83Vx5J8I;
            if (v4UL8fNzd != null) {
                if (v4UL8fNzd.Xcb5jjxCoQp9OA < ((List) v4UL8fNzd.qU83Vx5J8I).size()) {
                    z10 = true;
                } else {
                    z10 = false;
                }
            }
            Gcw36yU85LOl2EzjVIG0 gcw36yU85LOl2EzjVIG0 = this.mddTHTsghpG247Tn8aU17dbs;
            if (gcw36yU85LOl2EzjVIG0.uaTfCKNviddAWLbck < gcw36yU85LOl2EzjVIG0.qU83Vx5J8I.size()) {
                z6 = true;
            } else {
                z6 = false;
            }
            if (!z6 && ((List) gcw36yU85LOl2EzjVIG0.ELZW2TfCJuaH27ILK7NhOac8P).isEmpty()) {
                z7 = false;
            } else {
                z7 = true;
            }
            if (z7) {
                ArrayList arrayList = new ArrayList();
                do {
                    if (gcw36yU85LOl2EzjVIG0.uaTfCKNviddAWLbck < gcw36yU85LOl2EzjVIG0.qU83Vx5J8I.size()) {
                        z8 = true;
                    } else {
                        z8 = false;
                    }
                    if (!z8) {
                        break;
                    }
                    if (gcw36yU85LOl2EzjVIG0.uaTfCKNviddAWLbck < gcw36yU85LOl2EzjVIG0.qU83Vx5J8I.size()) {
                        z9 = true;
                    } else {
                        z9 = false;
                    }
                    if (z9) {
                        List list = gcw36yU85LOl2EzjVIG0.qU83Vx5J8I;
                        int i5 = gcw36yU85LOl2EzjVIG0.uaTfCKNviddAWLbck;
                        gcw36yU85LOl2EzjVIG0.uaTfCKNviddAWLbck = i5 + 1;
                        Proxy proxy = (Proxy) list.get(i5);
                        gcw36yU85LOl2EzjVIG0.BTzhn1XfTKC8cL901w67xnNTX = new ArrayList();
                        if (proxy.type() != Proxy.Type.DIRECT && proxy.type() != Proxy.Type.SOCKS) {
                            SocketAddress address = proxy.address();
                            if (address instanceof InetSocketAddress) {
                                InetSocketAddress inetSocketAddress = (InetSocketAddress) address;
                                InetAddress address2 = inetSocketAddress.getAddress();
                                if (address2 == null) {
                                    str = inetSocketAddress.getHostName();
                                } else {
                                    str = address2.getHostAddress();
                                }
                                i4 = inetSocketAddress.getPort();
                            } else {
                                throw new IllegalArgumentException("Proxy.address() is not an InetSocketAddress: " + address.getClass());
                            }
                        } else {
                            qck5v1bb2rYhaEqVs qck5v1bb2ryhaeqvs = ((hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV) gcw36yU85LOl2EzjVIG0.Dx9UYYdrV).Xcb5jjxCoQp9OA;
                            str = qck5v1bb2ryhaeqvs.BTzhn1XfTKC8cL901w67xnNTX;
                            i4 = qck5v1bb2ryhaeqvs.Dx9UYYdrV;
                        }
                        if (i4 >= 1 && i4 <= 65535) {
                            if (proxy.type() == Proxy.Type.SOCKS) {
                                gcw36yU85LOl2EzjVIG0.BTzhn1XfTKC8cL901w67xnNTX.add(InetSocketAddress.createUnresolved(str, i4));
                            } else {
                                ((i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4) gcw36yU85LOl2EzjVIG0.IOcwVNZBJVninyXba).getClass();
                                ((i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4) ((hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV) gcw36yU85LOl2EzjVIG0.Dx9UYYdrV).qU83Vx5J8I).getClass();
                                if (str != null) {
                                    try {
                                        List asList = Arrays.asList(InetAddress.getAllByName(str));
                                        if (!asList.isEmpty()) {
                                            ((i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4) gcw36yU85LOl2EzjVIG0.IOcwVNZBJVninyXba).getClass();
                                            int size = asList.size();
                                            for (int i6 = 0; i6 < size; i6++) {
                                                gcw36yU85LOl2EzjVIG0.BTzhn1XfTKC8cL901w67xnNTX.add(new InetSocketAddress((InetAddress) asList.get(i6), i4));
                                            }
                                        } else {
                                            throw new UnknownHostException(((hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV) gcw36yU85LOl2EzjVIG0.Dx9UYYdrV).qU83Vx5J8I + " returned no addresses for " + str);
                                        }
                                    } catch (NullPointerException e) {
                                        UnknownHostException unknownHostException = new UnknownHostException("Broken system behaviour for dns lookup of ".concat(str));
                                        unknownHostException.initCause(e);
                                        throw unknownHostException;
                                    }
                                } else {
                                    throw new UnknownHostException("hostname == null");
                                }
                            }
                            int size2 = gcw36yU85LOl2EzjVIG0.BTzhn1XfTKC8cL901w67xnNTX.size();
                            for (int i7 = 0; i7 < size2; i7++) {
                                fzEm5zhqI3YBrM7NdcW2YUauv fzem5zhqi3ybrm7ndcw2yuauv2 = new fzEm5zhqI3YBrM7NdcW2YUauv((hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV) gcw36yU85LOl2EzjVIG0.Dx9UYYdrV, proxy, (InetSocketAddress) gcw36yU85LOl2EzjVIG0.BTzhn1XfTKC8cL901w67xnNTX.get(i7));
                                cCbGqGhDub7X41luW5btqZaDgxY.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW45 = (cCbGqGhDub7X41luW5btqZaDgxY.LlsAwtCXtFvPG3dW4) gcw36yU85LOl2EzjVIG0.pYOoWpqdhXIAEqnxMp1M;
                                synchronized (llsAwtCXtFvPG3dW45) {
                                    contains = ((Set) llsAwtCXtFvPG3dW45.qU83Vx5J8I).contains(fzem5zhqi3ybrm7ndcw2yuauv2);
                                }
                                if (contains) {
                                    ((List) gcw36yU85LOl2EzjVIG0.ELZW2TfCJuaH27ILK7NhOac8P).add(fzem5zhqi3ybrm7ndcw2yuauv2);
                                } else {
                                    arrayList.add(fzem5zhqi3ybrm7ndcw2yuauv2);
                                }
                            }
                        } else {
                            throw new SocketException("No route to " + str + ":" + i4 + "; port is out of range");
                        }
                    } else {
                        throw new SocketException("No route to " + ((hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV) gcw36yU85LOl2EzjVIG0.Dx9UYYdrV).Xcb5jjxCoQp9OA.BTzhn1XfTKC8cL901w67xnNTX + "; exhausted proxy configurations: " + gcw36yU85LOl2EzjVIG0.qU83Vx5J8I);
                    }
                } while (arrayList.isEmpty());
                if (arrayList.isEmpty()) {
                    arrayList.addAll((List) gcw36yU85LOl2EzjVIG0.ELZW2TfCJuaH27ILK7NhOac8P);
                    ((List) gcw36yU85LOl2EzjVIG0.ELZW2TfCJuaH27ILK7NhOac8P).clear();
                }
                this.qU83Vx5J8I = new V4UL8fNzd(arrayList);
                z4 = true;
                synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
                    if (z4) {
                        try {
                            V4UL8fNzd v4UL8fNzd2 = this.qU83Vx5J8I;
                            v4UL8fNzd2.getClass();
                            ArrayList arrayList2 = new ArrayList((List) v4UL8fNzd2.qU83Vx5J8I);
                            int size3 = arrayList2.size();
                            int i8 = 0;
                            while (true) {
                                if (i8 >= size3) {
                                    break;
                                }
                                fzEm5zhqI3YBrM7NdcW2YUauv fzem5zhqi3ybrm7ndcw2yuauv3 = (fzEm5zhqI3YBrM7NdcW2YUauv) arrayList2.get(i8);
                                i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW46 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ;
                                ax0nGU8LIsBL ax0ngu8lisbl2 = this.BTzhn1XfTKC8cL901w67xnNTX;
                                hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV mhXFz4O2fao0frTdgvSgsROV2 = this.Xcb5jjxCoQp9OA;
                                llsAwtCXtFvPG3dW46.getClass();
                                i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.Dx9UYYdrV(ax0ngu8lisbl2, mhXFz4O2fao0frTdgvSgsROV2, this, fzem5zhqi3ybrm7ndcw2yuauv3);
                                LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW47 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                                if (llsAwtCXtFvPG3dW47 != null) {
                                    this.uaTfCKNviddAWLbck = fzem5zhqi3ybrm7ndcw2yuauv3;
                                    z3 = true;
                                    llsAwtCXtFvPG3dW42 = llsAwtCXtFvPG3dW47;
                                    break;
                                }
                                i8++;
                            }
                        } finally {
                        }
                    }
                    if (!z3) {
                        if (fzem5zhqi3ybrm7ndcw2yuauv == null) {
                            V4UL8fNzd v4UL8fNzd3 = this.qU83Vx5J8I;
                            if (v4UL8fNzd3.Xcb5jjxCoQp9OA < ((List) v4UL8fNzd3.qU83Vx5J8I).size()) {
                                z5 = true;
                            } else {
                                z5 = false;
                            }
                            if (z5) {
                                List list2 = (List) v4UL8fNzd3.qU83Vx5J8I;
                                int i9 = v4UL8fNzd3.Xcb5jjxCoQp9OA;
                                v4UL8fNzd3.Xcb5jjxCoQp9OA = i9 + 1;
                                fzem5zhqi3ybrm7ndcw2yuauv = (fzEm5zhqI3YBrM7NdcW2YUauv) list2.get(i9);
                            } else {
                                throw new NoSuchElementException();
                            }
                        }
                        this.uaTfCKNviddAWLbck = fzem5zhqi3ybrm7ndcw2yuauv;
                        this.IOcwVNZBJVninyXba = 0;
                        llsAwtCXtFvPG3dW42 = new LlsAwtCXtFvPG3dW4(this.BTzhn1XfTKC8cL901w67xnNTX, fzem5zhqi3ybrm7ndcw2yuauv);
                        Xcb5jjxCoQp9OA(llsAwtCXtFvPG3dW42, false);
                    }
                }
                if (z3) {
                    this.Dx9UYYdrV.getClass();
                    return llsAwtCXtFvPG3dW42;
                }
                llsAwtCXtFvPG3dW42.uaTfCKNviddAWLbck(i, i2, i3, z, this.Dx9UYYdrV);
                i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ.getClass();
                this.BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.Xcb5jjxCoQp9OA(llsAwtCXtFvPG3dW42.uaTfCKNviddAWLbck);
                synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
                    try {
                        this.AE3aYQniE2MVzIhSQaIUIvmNJIb = true;
                        i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW48 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ;
                        ax0nGU8LIsBL ax0ngu8lisbl3 = this.BTzhn1XfTKC8cL901w67xnNTX;
                        llsAwtCXtFvPG3dW48.getClass();
                        if (!ax0ngu8lisbl3.pYOoWpqdhXIAEqnxMp1M) {
                            ax0ngu8lisbl3.pYOoWpqdhXIAEqnxMp1M = true;
                            ax0nGU8LIsBL.mddTHTsghpG247Tn8aU17dbs.execute(ax0ngu8lisbl3.uaTfCKNviddAWLbck);
                        }
                        ax0ngu8lisbl3.BTzhn1XfTKC8cL901w67xnNTX.add(llsAwtCXtFvPG3dW42);
                        if (llsAwtCXtFvPG3dW42.IOcwVNZBJVninyXba != null) {
                            z2 = true;
                        }
                        if (z2) {
                            i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW49 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ;
                            ax0nGU8LIsBL ax0ngu8lisbl4 = this.BTzhn1XfTKC8cL901w67xnNTX;
                            hBRTgXXhcJzGjGt7p5.MhXFz4O2fao0frTdgvSgsROV mhXFz4O2fao0frTdgvSgsROV3 = this.Xcb5jjxCoQp9OA;
                            llsAwtCXtFvPG3dW49.getClass();
                            socket2 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.qU83Vx5J8I(ax0ngu8lisbl4, mhXFz4O2fao0frTdgvSgsROV3, this);
                            llsAwtCXtFvPG3dW42 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                        } else {
                            socket2 = null;
                        }
                    } finally {
                    }
                }
                wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(socket2);
                this.Dx9UYYdrV.getClass();
                return llsAwtCXtFvPG3dW42;
            }
            throw new NoSuchElementException();
        }
        z4 = false;
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
        }
    }

    public final LlsAwtCXtFvPG3dW4 Dx9UYYdrV(int i, int i2, int i3, boolean z, boolean z2) {
        boolean z3;
        boolean z4;
        while (true) {
            LlsAwtCXtFvPG3dW4 BTzhn1XfTKC8cL901w67xnNTX = BTzhn1XfTKC8cL901w67xnNTX(z, i, i2, i3);
            synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
                if (BTzhn1XfTKC8cL901w67xnNTX.aG7kT0ezy == 0) {
                    return BTzhn1XfTKC8cL901w67xnNTX;
                }
                if (!BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.isClosed() && !BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.isInputShutdown() && !BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.isOutputShutdown()) {
                    Q4yxHmvMaiiS.Gcw36yU85LOl2EzjVIG0 gcw36yU85LOl2EzjVIG0 = BTzhn1XfTKC8cL901w67xnNTX.IOcwVNZBJVninyXba;
                    z3 = true;
                    if (gcw36yU85LOl2EzjVIG0 != null) {
                        synchronized (gcw36yU85LOl2EzjVIG0) {
                            z4 = gcw36yU85LOl2EzjVIG0.ZFBSAcaG2VliO0t5HzdI;
                        }
                        z3 = true ^ z4;
                    } else if (z2) {
                        try {
                            int soTimeout = BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.getSoTimeout();
                            try {
                                BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.setSoTimeout(1);
                                if (BTzhn1XfTKC8cL901w67xnNTX.ELZW2TfCJuaH27ILK7NhOac8P.NuA3cq48IXLTICW()) {
                                    BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.setSoTimeout(soTimeout);
                                } else {
                                    BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.setSoTimeout(soTimeout);
                                }
                            } catch (Throwable th) {
                                BTzhn1XfTKC8cL901w67xnNTX.Dx9UYYdrV.setSoTimeout(soTimeout);
                                throw th;
                                break;
                            }
                        } catch (SocketTimeoutException unused) {
                        } catch (IOException unused2) {
                        }
                    }
                    if (z3) {
                        pYOoWpqdhXIAEqnxMp1M();
                    } else {
                        return BTzhn1XfTKC8cL901w67xnNTX;
                    }
                }
                z3 = false;
                if (z3) {
                }
            }
        }
    }

    public final void ELZW2TfCJuaH27ILK7NhOac8P(boolean z, uJesLkqn3yALlHyRT3sA.xgYehFlZAxMDizbH0hKTuJMEFk xgyehflzaxmdizbh0hktujmefk, IOException iOException) {
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4;
        Socket uaTfCKNviddAWLbck;
        boolean z2;
        this.Dx9UYYdrV.getClass();
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
            if (xgyehflzaxmdizbh0hktujmefk != null) {
                if (xgyehflzaxmdizbh0hktujmefk == this.aG7kT0ezy) {
                    if (!z) {
                        this.ELZW2TfCJuaH27ILK7NhOac8P.aG7kT0ezy++;
                    }
                    llsAwtCXtFvPG3dW4 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                    uaTfCKNviddAWLbck = uaTfCKNviddAWLbck(z, false, true);
                    if (this.ELZW2TfCJuaH27ILK7NhOac8P != null) {
                        llsAwtCXtFvPG3dW4 = null;
                    }
                    z2 = this.uu8w11aBWYrANOCpbexEQ06dS;
                }
            }
            throw new IllegalStateException("expected " + this.aG7kT0ezy + " but was " + xgyehflzaxmdizbh0hktujmefk);
        }
        wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(uaTfCKNviddAWLbck);
        if (llsAwtCXtFvPG3dW4 != null) {
            this.Dx9UYYdrV.getClass();
        }
        if (iOException != null) {
            this.Dx9UYYdrV.getClass();
        } else if (z2) {
            this.Dx9UYYdrV.getClass();
        }
    }

    public final void IOcwVNZBJVninyXba(IOException iOException) {
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4;
        boolean z;
        boolean z2;
        Socket uaTfCKNviddAWLbck;
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
            try {
                llsAwtCXtFvPG3dW4 = null;
                if (iOException instanceof jWoG5FR9o) {
                    Q4yxHmvMaiiS.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW42 = ((jWoG5FR9o) iOException).A75bpaYM06AVd;
                    Q4yxHmvMaiiS.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW43 = Q4yxHmvMaiiS.LlsAwtCXtFvPG3dW4.REFUSED_STREAM;
                    if (llsAwtCXtFvPG3dW42 == llsAwtCXtFvPG3dW43) {
                        this.IOcwVNZBJVninyXba++;
                    }
                    if (llsAwtCXtFvPG3dW42 != llsAwtCXtFvPG3dW43 || this.IOcwVNZBJVninyXba > 1) {
                        this.uaTfCKNviddAWLbck = null;
                        z2 = true;
                    }
                    z2 = false;
                } else {
                    LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW44 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                    if (llsAwtCXtFvPG3dW44 != null) {
                        if (llsAwtCXtFvPG3dW44.IOcwVNZBJVninyXba != null) {
                            z = true;
                        } else {
                            z = false;
                        }
                        if (!z || (iOException instanceof Q4yxHmvMaiiS.MhXFz4O2fao0frTdgvSgsROV)) {
                            if (llsAwtCXtFvPG3dW44.aG7kT0ezy == 0) {
                                fzEm5zhqI3YBrM7NdcW2YUauv fzem5zhqi3ybrm7ndcw2yuauv = this.uaTfCKNviddAWLbck;
                                if (fzem5zhqi3ybrm7ndcw2yuauv != null && iOException != null) {
                                    this.mddTHTsghpG247Tn8aU17dbs.qU83Vx5J8I(fzem5zhqi3ybrm7ndcw2yuauv, iOException);
                                }
                                this.uaTfCKNviddAWLbck = null;
                            }
                            z2 = true;
                        }
                    }
                    z2 = false;
                }
                LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW45 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                uaTfCKNviddAWLbck = uaTfCKNviddAWLbck(z2, false, true);
                if (this.ELZW2TfCJuaH27ILK7NhOac8P == null && this.AE3aYQniE2MVzIhSQaIUIvmNJIb) {
                    llsAwtCXtFvPG3dW4 = llsAwtCXtFvPG3dW45;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(uaTfCKNviddAWLbck);
        if (llsAwtCXtFvPG3dW4 != null) {
            this.Dx9UYYdrV.getClass();
        }
    }

    public final void Xcb5jjxCoQp9OA(LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4, boolean z) {
        if (this.ELZW2TfCJuaH27ILK7NhOac8P == null) {
            this.ELZW2TfCJuaH27ILK7NhOac8P = llsAwtCXtFvPG3dW4;
            this.AE3aYQniE2MVzIhSQaIUIvmNJIb = z;
            llsAwtCXtFvPG3dW4.WWEgdPrhVv.add(new xgYehFlZAxMDizbH0hKTuJMEFk(this, this.pYOoWpqdhXIAEqnxMp1M));
            return;
        }
        throw new IllegalStateException();
    }

    public final void mddTHTsghpG247Tn8aU17dbs() {
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4;
        Socket uaTfCKNviddAWLbck;
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
            llsAwtCXtFvPG3dW4 = this.ELZW2TfCJuaH27ILK7NhOac8P;
            uaTfCKNviddAWLbck = uaTfCKNviddAWLbck(false, true, false);
            if (this.ELZW2TfCJuaH27ILK7NhOac8P != null) {
                llsAwtCXtFvPG3dW4 = null;
            }
        }
        wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(uaTfCKNviddAWLbck);
        if (llsAwtCXtFvPG3dW4 != null) {
            this.Dx9UYYdrV.getClass();
        }
    }

    public final void pYOoWpqdhXIAEqnxMp1M() {
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4;
        Socket uaTfCKNviddAWLbck;
        synchronized (this.BTzhn1XfTKC8cL901w67xnNTX) {
            llsAwtCXtFvPG3dW4 = this.ELZW2TfCJuaH27ILK7NhOac8P;
            uaTfCKNviddAWLbck = uaTfCKNviddAWLbck(true, false, false);
            if (this.ELZW2TfCJuaH27ILK7NhOac8P != null) {
                llsAwtCXtFvPG3dW4 = null;
            }
        }
        wPgQ0XkYMI4vGZ.LlsAwtCXtFvPG3dW4.BTzhn1XfTKC8cL901w67xnNTX(uaTfCKNviddAWLbck);
        if (llsAwtCXtFvPG3dW4 != null) {
            this.Dx9UYYdrV.getClass();
        }
    }

    public final synchronized LlsAwtCXtFvPG3dW4 qU83Vx5J8I() {
        return this.ELZW2TfCJuaH27ILK7NhOac8P;
    }

    public final String toString() {
        LlsAwtCXtFvPG3dW4 qU83Vx5J8I = qU83Vx5J8I();
        if (qU83Vx5J8I != null) {
            return qU83Vx5J8I.toString();
        }
        return this.Xcb5jjxCoQp9OA.toString();
    }

    public final Socket uaTfCKNviddAWLbck(boolean z, boolean z2, boolean z3) {
        Socket socket;
        if (z3) {
            this.aG7kT0ezy = null;
        }
        boolean z4 = true;
        if (z2) {
            this.uu8w11aBWYrANOCpbexEQ06dS = true;
        }
        LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW4 = this.ELZW2TfCJuaH27ILK7NhOac8P;
        if (llsAwtCXtFvPG3dW4 == null) {
            return null;
        }
        if (z) {
            llsAwtCXtFvPG3dW4.uu8w11aBWYrANOCpbexEQ06dS = true;
        }
        if (this.aG7kT0ezy != null) {
            return null;
        }
        if (!this.uu8w11aBWYrANOCpbexEQ06dS && !llsAwtCXtFvPG3dW4.uu8w11aBWYrANOCpbexEQ06dS) {
            return null;
        }
        ArrayList arrayList = llsAwtCXtFvPG3dW4.WWEgdPrhVv;
        int size = arrayList.size();
        for (int i = 0; i < size; i++) {
            if (((Reference) arrayList.get(i)).get() == this) {
                arrayList.remove(i);
                if (this.ELZW2TfCJuaH27ILK7NhOac8P.WWEgdPrhVv.isEmpty()) {
                    this.ELZW2TfCJuaH27ILK7NhOac8P.n4PQOBD9XmtL4DDReRQ = System.nanoTime();
                    i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW42 = i9oQO4eiqYj7cqH.LlsAwtCXtFvPG3dW4.IU8ibgBs6x00oZ;
                    LlsAwtCXtFvPG3dW4 llsAwtCXtFvPG3dW43 = this.ELZW2TfCJuaH27ILK7NhOac8P;
                    llsAwtCXtFvPG3dW42.getClass();
                    ax0nGU8LIsBL ax0ngu8lisbl = this.BTzhn1XfTKC8cL901w67xnNTX;
                    ax0ngu8lisbl.getClass();
                    if (!llsAwtCXtFvPG3dW43.uu8w11aBWYrANOCpbexEQ06dS && ax0ngu8lisbl.Xcb5jjxCoQp9OA != 0) {
                        ax0ngu8lisbl.notifyAll();
                        z4 = false;
                    } else {
                        ax0ngu8lisbl.BTzhn1XfTKC8cL901w67xnNTX.remove(llsAwtCXtFvPG3dW43);
                    }
                    if (z4) {
                        socket = this.ELZW2TfCJuaH27ILK7NhOac8P.Dx9UYYdrV;
                        this.ELZW2TfCJuaH27ILK7NhOac8P = null;
                        return socket;
                    }
                }
                socket = null;
                this.ELZW2TfCJuaH27ILK7NhOac8P = null;
                return socket;
            }
        }
        throw new IllegalStateException();
    }
}