MT Manager v2.15.3版本的 MD5 值为:1cbd6ee7afdac97645dd3a8c4751ecf0
以下内容为反编译后的 RunnableC6055.java 源代码,内容仅作参考
package l;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
public final class RunnableC6055 implements Runnable, InterfaceC7461 {
public static final InterfaceC3750 f19490 = C7121.m17489(RunnableC6055.class);
public C13541 f19491;
public byte[] f19492;
public C1001 f19493;
public final HashMap f19494;
public InterfaceC14570 f19495;
public ArrayList f19496;
public int f19497;
public DatagramPacket f19498;
public int f19499;
public byte[] f19500;
public final Object f19501;
public Thread f19502;
public InetAddress f19503;
public C1001 f19504;
public DatagramSocket f19505;
public int f19506;
public C14383 f19507;
public int f19508;
public HashMap f19509;
public InetAddress f19510;
public DatagramPacket f19511;
public final HashSet f19512;
private void m15325(C14383 c14383) {
synchronized (this.f19512) {
this.f19512.remove(c14383);
this.f19512.notifyAll();
}
}
@Override
public final void run() {
while (this.f19502 == Thread.currentThread()) {
try {
try {
try {
this.f19511.setLength(((C0722) this.f19495.mo12173()).m2771());
this.f19505.setSoTimeout(this.f19506);
this.f19505.receive(this.f19511);
InterfaceC3750 interfaceC3750 = f19490;
interfaceC3750.mo10205("NetBIOS: new data read from socket");
AbstractC5212 abstractC5212 = (AbstractC5212) this.f19509.get(new Integer(AbstractC5212.m13450(0, this.f19492)));
if (abstractC5212 != null && !abstractC5212.f16699) {
synchronized (abstractC5212) {
abstractC5212.m13453(this.f19492);
abstractC5212.f16699 = true;
if (interfaceC3750.mo10207()) {
interfaceC3750.mo10205(abstractC5212.toString());
interfaceC3750.mo10205(C0344.m1507(this.f19492, 0, this.f19511.getLength()));
}
abstractC5212.notify();
}
}
} catch (SocketTimeoutException e) {
f19490.mo10218("Socket timeout", e);
}
} catch (Exception e2) {
f19490.mo10226("Uncaught exception in NameServiceClient", (Throwable) e2);
}
} finally {
m15326();
}
}
}
public final void m15326() {
synchronized (this.f19501) {
DatagramSocket datagramSocket = this.f19505;
if (datagramSocket != null) {
datagramSocket.close();
this.f19505 = null;
}
this.f19502 = null;
this.f19509.clear();
}
}
public final C14383 m15331() {
C1001 c1001 = this.f19493;
if (c1001 != null) {
return c1001.f3249;
}
return null;
}
public final void m15333(AbstractC5212 abstractC5212, AbstractC5212 abstractC52122, int i) {
RunnableC6055 runnableC6055;
Integer num;
int length = ((C0722) this.f19495.mo12173()).m2764().length;
if (length == 0) {
length = 1;
}
synchronized (abstractC52122) {
Integer num2 = null;
while (true) {
int i2 = length - 1;
if (length <= 0) {
break;
}
try {
synchronized (this.f19501) {
try {
int i3 = this.f19499 + 1;
this.f19499 = i3;
if ((i3 & 65535) == 0) {
this.f19499 = 1;
}
int i4 = this.f19499;
abstractC5212.f16714 = i4;
num = new Integer(i4);
try {
this.f19498.setAddress(abstractC5212.f16700);
this.f19498.setLength(abstractC5212.m13455(this.f19500));
abstractC52122.f16699 = false;
this.f19509.put(num, abstractC52122);
m15332(i + 1000);
this.f19505.send(this.f19498);
InterfaceC3750 interfaceC3750 = f19490;
if (interfaceC3750.mo10207()) {
interfaceC3750.mo10205(abstractC5212.toString());
interfaceC3750.mo10205(C0344.m1507(this.f19500, 0, this.f19498.getLength()));
}
try {
long currentTimeMillis = System.currentTimeMillis();
while (i > 0) {
long j = i;
abstractC52122.wait(j);
if (!abstractC52122.f16699 || abstractC5212.f16697 != abstractC52122.f16711) {
abstractC52122.f16699 = false;
i = (int) (j - (System.currentTimeMillis() - currentTimeMillis));
} else {
this.f19509.remove(num);
return;
}
}
this.f19509.remove(num);
synchronized (this.f19501) {
if (!m15337(abstractC5212.f16700)) {
break;
}
if (abstractC5212.f16700 == m15343()) {
m15342();
}
abstractC5212.f16700 = m15343();
}
} catch (InterruptedException unused) {
runnableC6055 = this;
num2 = num;
throw new InterruptedIOException();
} catch (Throwable th) {
th = th;
runnableC6055 = this;
runnableC6055.f19509.remove(num);
throw th;
}
} catch (Throwable th2) {
th = th2;
runnableC6055 = this;
num2 = num;
while (true) {
try {
try {
try {
break;
} catch (InterruptedException unused2) {
throw new InterruptedIOException();
}
} catch (Throwable th3) {
th = th3;
num = num2;
runnableC6055.f19509.remove(num);
throw th;
}
} catch (Throwable th4) {
th = th4;
}
}
throw th;
}
} catch (Throwable th5) {
th = th5;
runnableC6055 = this;
}
}
} catch (InterruptedException unused3) {
runnableC6055 = this;
} catch (Throwable th6) {
th = th6;
runnableC6055 = this;
num = num2;
runnableC6055.f19509.remove(num);
throw th;
}
length = i2;
num2 = num;
}
}
}
public final void m15336(C1001[] c1001Arr) {
if (((C0722) this.f19495.mo12173()).m2763() == 0) {
return;
}
long currentTimeMillis = ((C0722) this.f19495.mo12173()).m2763() != -1 ? System.currentTimeMillis() + (((C0722) this.f19495.mo12173()).m2763() * 1000) : -1L;
synchronized (this.f19494) {
for (int i = 0; i < c1001Arr.length; i++) {
C1750 c1750 = (C1750) this.f19494.get(c1001Arr[i].f3249);
if (c1750 == null) {
C1001 c1001 = c1001Arr[i];
this.f19494.put(c1001.f3249, new C1750(c1001, currentTimeMillis));
} else {
c1750.f6122 = c1001Arr[i];
c1750.f6123 = currentTimeMillis;
}
}
}
}
public final void m15342() {
int i = this.f19497 + 1;
InterfaceC14570 interfaceC14570 = this.f19495;
this.f19497 = i < ((C0722) interfaceC14570.mo12173()).m2764().length ? this.f19497 + 1 : 0;
if (((C0722) interfaceC14570.mo12173()).m2764().length == 0) {
return;
}
InetAddress inetAddress = ((C0722) interfaceC14570.mo12173()).m2764()[this.f19497];
}
public final InetAddress m15343() {
InterfaceC14570 interfaceC14570 = this.f19495;
if (((C0722) interfaceC14570.mo12173()).m2764().length == 0) {
return null;
}
return ((C0722) interfaceC14570.mo12173()).m2764()[this.f19497];
}
public final C1001 m15344(C14383 c14383) {
C1001 c1001;
if (((C0722) this.f19495.mo12173()).m2763() == 0) {
return null;
}
synchronized (this.f19494) {
C1750 c1750 = (C1750) this.f19494.get(c14383);
if (c1750 != null && c1750.f6123 < System.currentTimeMillis() && c1750.f6123 >= 0) {
c1750 = null;
}
c1001 = c1750 != null ? c1750.f6122 : null;
}
return c1001;
}
public final void m15332(int i) {
this.f19506 = 0;
InterfaceC14570 interfaceC14570 = this.f19495;
if (((C0722) interfaceC14570.mo12173()).m2787() != 0) {
this.f19506 = Math.max(((C0722) interfaceC14570.mo12173()).m2787(), i);
}
if (this.f19505 == null) {
this.f19505 = new DatagramSocket(this.f19508, this.f19510);
Thread thread = new Thread(this, "JCIFS-NameServiceClient");
this.f19502 = thread;
thread.setDaemon(true);
this.f19502.start();
}
}
public final boolean m15337(InetAddress inetAddress) {
int i = 0;
while (inetAddress != null) {
InterfaceC14570 interfaceC14570 = this.f19495;
if (i >= ((C0722) interfaceC14570.mo12173()).m2764().length) {
break;
}
if (inetAddress.hashCode() == ((C0722) interfaceC14570.mo12173()).m2764()[i].hashCode()) {
return true;
}
i++;
}
return false;
}
public RunnableC6055(InterfaceC14570 interfaceC14570) {
InetAddress byName;
interfaceC14570.mo12173().getClass();
interfaceC14570.mo12173().getClass();
this.f19501 = new Object();
this.f19497 = 0;
HashMap hashMap = new HashMap();
this.f19494 = hashMap;
this.f19512 = new HashSet();
this.f19509 = new HashMap();
this.f19499 = 0;
this.f19496 = new ArrayList();
this.f19491 = new C13541();
this.f19508 = 0;
this.f19510 = null;
this.f19495 = interfaceC14570;
InetAddress m2780 = ((C0722) interfaceC14570.mo12173()).m2780();
this.f19503 = m2780;
byte[] bArr = new byte[((C0722) interfaceC14570.mo12173()).m2792()];
this.f19500 = bArr;
byte[] bArr2 = new byte[((C0722) interfaceC14570.mo12173()).m2771()];
this.f19492 = bArr2;
this.f19498 = new DatagramPacket(bArr, ((C0722) interfaceC14570.mo12173()).m2792(), m2780, InterfaceC2279.f7353);
this.f19511 = new DatagramPacket(bArr2, ((C0722) interfaceC14570.mo12173()).m2771());
this.f19496 = ((C0722) interfaceC14570.mo12173()).m2806();
C14383 c14383 = new C14383(interfaceC14570.mo12173(), "0.0.0.0", 0, null);
this.f19507 = c14383;
C1001 c1001 = new C1001(c14383, 0);
this.f19504 = c1001;
hashMap.put(c14383, new C1750(c1001, -1L));
interfaceC14570.mo12173().getClass();
try {
try {
byName = InetAddress.getLocalHost();
} catch (UnknownHostException unused) {
byName = InetAddress.getByName("127.0.0.1");
}
interfaceC14570.mo12173().getClass();
byte[] address = byName.getAddress();
String str = "JCIFS" + (address[2] & 255) + "_" + (address[3] & 255) + "_" + C0344.m1506((int) (Math.random() * 255.0d), 2);
InterfaceC11202 mo12173 = interfaceC14570.mo12173();
interfaceC14570.mo12173().getClass();
C14383 c143832 = new C14383(mo12173, str, 0, null);
C1001 c10012 = new C1001(c143832, byName.hashCode(), 0);
this.f19493 = c10012;
m15335(c143832, c10012, -1L);
} catch (UnknownHostException e) {
throw new RuntimeException(e);
}
}
public final C1001 m15328(C14383 c14383) {
C1001 c1001;
C1001 c10012 = null;
InetAddress inetAddress = c14383.f43680 == 29 ? this.f19503 : null;
c14383.f43677 = inetAddress != null ? inetAddress.hashCode() : 0;
C1001 m15344 = m15344(c14383);
if (m15344 == null) {
synchronized (this.f19512) {
if (!this.f19512.contains(c14383)) {
this.f19512.add(c14383);
} else {
while (this.f19512.contains(c14383)) {
try {
this.f19512.wait();
} catch (InterruptedException e) {
f19490.mo10218("Interrupted", e);
}
}
c10012 = m15344(c14383);
if (c10012 == null) {
synchronized (this.f19512) {
this.f19512.add(c14383);
}
}
}
}
try {
if (c10012 == null) {
try {
c1001 = m15329(c14383, inetAddress);
} catch (UnknownHostException unused) {
c1001 = this.f19504;
}
m15344 = c1001;
m15334(c14383, m15344);
m15325(c14383);
} else {
m15344 = c10012;
}
} catch (Throwable th) {
m15334(c14383, c10012);
m15325(c14383);
throw th;
}
}
if (m15344 != this.f19504) {
return m15344;
}
throw new UnknownHostException(c14383.toString());
}
public final void m15334(C14383 c14383, C1001 c1001) {
InterfaceC14570 interfaceC14570 = this.f19495;
if (((C0722) interfaceC14570.mo12173()).m2763() == 0) {
return;
}
m15335(c14383, c1001, ((C0722) interfaceC14570.mo12173()).m2763() != -1 ? System.currentTimeMillis() + (((C0722) interfaceC14570.mo12173()).m2763() * 1000) : -1L);
}
public final void m15335(C14383 c14383, C1001 c1001, long j) {
if (((C0722) this.f19495.mo12173()).m2763() == 0) {
return;
}
synchronized (this.f19494) {
C1750 c1750 = (C1750) this.f19494.get(c14383);
if (c1750 == null) {
this.f19494.put(c14383, new C1750(c1001, j));
} else {
c1750.f6122 = c1001;
c1750.f6123 = j;
}
}
}
public final C1001 m15329(C14383 c14383, InetAddress inetAddress) {
InterfaceC14570 interfaceC14570 = this.f19495;
C12699 c12699 = new C12699(interfaceC14570.mo12173(), c14383);
C0066 c0066 = new C0066(interfaceC14570.mo12173());
InterfaceC3750 interfaceC3750 = f19490;
if (inetAddress == null) {
Iterator it = this.f19496.iterator();
while (it.hasNext()) {
EnumC8303 enumC8303 = (EnumC8303) it.next();
try {
int ordinal = enumC8303.ordinal();
if (ordinal == 0 || ordinal == 1) {
EnumC8303 enumC83032 = EnumC8303.f25426;
if (enumC8303 != enumC83032 || c14383.f43679 == "\u0001\u0002__MSBROWSE__\u0002" || c14383.f43680 == 29) {
c12699.f16700 = this.f19503;
c12699.f16704 = true;
} else {
c12699.f16700 = m15343();
c12699.f16704 = false;
}
int m2799 = ((C0722) interfaceC14570.mo12173()).m2799();
while (true) {
int i = m2799 - 1;
if (m2799 > 0) {
try {
m15333(c12699, c0066, ((C0722) interfaceC14570.mo12173()).m2784());
if (c0066.f16699 && c0066.f16703 == 0) {
c0066.f16698[0].f3249.f43677 = c12699.f16700.hashCode();
return c0066.f16698[0];
}
if (enumC8303 == enumC83032) {
break;
}
m2799 = i;
} catch (IOException e) {
interfaceC3750.mo10224("Failed to send nameservice request for " + c14383.f43679, (Exception) e);
throw new UnknownHostException(c14383.f43679);
}
}
}
} else if (ordinal == 3) {
this.f19491.m28845(interfaceC14570);
}
} catch (IOException e2) {
interfaceC3750.mo10210("Failed to lookup name", (Exception) e2);
}
}
throw new UnknownHostException(c14383.f43679);
}
c12699.f16700 = inetAddress;
c12699.f16704 = inetAddress.equals(this.f19503) || inetAddress.getAddress()[3] == -1;
int m27992 = ((C0722) interfaceC14570.mo12173()).m2799();
do {
try {
m15333(c12699, c0066, ((C0722) interfaceC14570.mo12173()).m2784());
if (!c0066.f16699 || c0066.f16703 != 0) {
m27992--;
if (m27992 <= 0) {
break;
}
} else {
C1001[] c1001Arr = c0066.f16698;
int length = c1001Arr.length - 1;
c1001Arr[length].f3249.f43677 = inetAddress.hashCode();
return c0066.f16698[length];
}
} catch (InterruptedIOException e3) {
if (interfaceC3750.mo10207()) {
interfaceC3750.mo10218("Timeout waiting for response " + c14383.f43679, e3);
}
throw new UnknownHostException(c14383.f43679);
} catch (IOException e4) {
interfaceC3750.mo10224("Failed to send nameservice request for " + c14383.f43679, (Exception) e4);
throw new UnknownHostException(c14383.f43679);
}
} while (c12699.f16704);
throw new UnknownHostException(c14383.f43679);
}
public final C1001[] m15339(InterfaceC9987 interfaceC9987) {
InterfaceC14570 interfaceC14570 = this.f19495;
C6898 c6898 = new C6898(interfaceC14570.mo12173(), (C1001) interfaceC9987.mo3573(C1001.class));
InterfaceC11202 mo12173 = interfaceC14570.mo12173();
int i = 0;
C14383 c14383 = new C14383(interfaceC14570.mo12173(), "*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", 0, null);
AbstractC5212 abstractC5212 = new AbstractC5212(mo12173);
abstractC5212.f16709 = c14383;
abstractC5212.f16697 = 33;
abstractC5212.f16705 = false;
abstractC5212.f16704 = false;
abstractC5212.f16700 = interfaceC9987.mo3574();
int m2799 = ((C0722) interfaceC14570.mo12173()).m2799();
while (true) {
int i2 = m2799 - 1;
if (m2799 > 0) {
try {
m15333(abstractC5212, c6898, ((C0722) interfaceC14570.mo12173()).m2784());
if (c6898.f16699 && c6898.f16703 == 0) {
int hashCode = abstractC5212.f16700.hashCode();
while (true) {
C1001[] c1001Arr = c6898.f21790;
if (i >= c1001Arr.length) {
return c1001Arr;
}
c1001Arr[i].f3249.f43677 = hashCode;
i++;
}
} else {
m2799 = i2;
}
} catch (IOException e) {
f19490.mo10224("Failed to send node status request for " + interfaceC9987, (Exception) e);
throw new UnknownHostException(interfaceC9987.toString());
}
} else {
throw new UnknownHostException(interfaceC9987.mo3570());
}
}
}
public final C1001 m15327(int i, String str) {
if (str == null || str.length() == 0) {
return this.f19493;
}
C14383 c14383 = new C14383(this.f19495.mo12173(), str, i, null);
if (!Character.isDigit(str.charAt(0))) {
return m15328(c14383);
}
char[] charArray = str.toCharArray();
int i2 = 0;
int i3 = 0;
int i4 = 0;
while (i2 < charArray.length) {
char c = charArray[i2];
if (c < '0' || c > '9') {
return m15328(c14383);
}
int i5 = 0;
while (c != '.') {
if (c < '0' || c > '9') {
return m15328(c14383);
}
i5 = ((i5 * 10) + c) - 48;
i2++;
if (i2 >= charArray.length) {
break;
}
c = charArray[i2];
}
if (i5 > 255) {
return m15328(c14383);
}
i4 = (i4 << 8) + i5;
i3++;
i2++;
}
if (i3 != 4 || str.endsWith(".")) {
return m15328(c14383);
}
return new C1001(this.f19507, i4);
}
public final C1001[] m15338(String str, int i, String str2, InetAddress inetAddress) {
InterfaceC14570 interfaceC14570 = this.f19495;
C14383 c14383 = new C14383(interfaceC14570.mo12173(), str, i, str2);
InterfaceC3750 interfaceC3750 = f19490;
InterfaceC11202 mo12173 = interfaceC14570.mo12173();
C12699 c12699 = new C12699(mo12173, c14383);
C0066 c0066 = new C0066(mo12173);
if (inetAddress == null) {
inetAddress = m15343();
}
c12699.f16700 = inetAddress;
int i2 = 1;
boolean z = inetAddress == null || inetAddress.equals(this.f19503) || inetAddress.getAddress()[3] == -1;
c12699.f16704 = z;
if (z) {
if (c12699.f16700 == null) {
c12699.f16700 = this.f19503;
}
i2 = ((C0722) mo12173).m2799();
}
do {
try {
m15333(c12699, c0066, ((C0722) mo12173).m2784());
if (!c0066.f16699 || c0066.f16703 != 0) {
i2--;
if (i2 <= 0) {
break;
}
} else {
return c0066.f16698;
}
} catch (InterruptedIOException e) {
if (interfaceC3750.mo10207()) {
interfaceC3750.mo10218("Failed to send nameservice request for " + c14383.f43679, e);
}
throw new UnknownHostException(c14383.f43679);
} catch (IOException e2) {
interfaceC3750.mo10224("Failed to send nameservice request for " + c14383.f43679, (Exception) e2);
throw new UnknownHostException(c14383.f43679);
}
} while (c12699.f16704);
throw new UnknownHostException(c14383.f43679);
}
public final InterfaceC9987[] m15345(String str) {
String str2;
C1001 m15327 = m15327(0, str);
try {
C1001[] m15339 = m15339(m15327);
m15336(m15339);
return m15339;
} catch (UnknownHostException unused) {
StringBuilder sb = new StringBuilder("no name with type 0x");
sb.append(C0344.m1506(m15327.f3249.f43680, 2));
String str3 = m15327.f3249.f43676;
if (str3 == null || str3.isEmpty()) {
str2 = " with no scope";
} else {
str2 = " with scope " + m15327.f3249.f43676;
}
sb.append(str2);
sb.append(" for host ");
sb.append(m15327.mo3569());
throw new UnknownHostException(sb.toString());
}
}
public final InterfaceC9987[] m15341(String str, InetAddress inetAddress) {
?? obj = new Object();
obj.f13230 = 2;
C11015 c11015 = new C11015(obj, str, m15337(inetAddress) ? 27 : 29, inetAddress, this.f19495);
C11015 c110152 = new C11015(obj, str, 32, inetAddress, this.f19495);
c11015.setDaemon(true);
c110152.setDaemon(true);
try {
synchronized (obj) {
c11015.start();
c110152.start();
while (obj.f13230 > 0 && c11015.m24705() == null && c110152.m24705() == null) {
obj.wait();
}
}
try {
c11015.interrupt();
} catch (SecurityException unused) {
}
try {
c11015.join();
} catch (InterruptedException unused2) {
}
try {
c110152.interrupt();
} catch (SecurityException unused3) {
}
try {
c110152.join();
} catch (InterruptedException unused4) {
}
if (c11015.m24705() != null) {
return c11015.m24705();
}
if (c110152.m24705() != null) {
return c110152.m24705();
}
throw c11015.m24706();
} catch (InterruptedException unused5) {
throw new UnknownHostException(str);
}
}
public final C7740 m15330(String str) {
return m15340(str, false)[0];
}
public final C7740[] m15340(String str, boolean z) {
int ordinal;
InterfaceC9987[] m15338;
if (str == null || str.length() == 0) {
throw new UnknownHostException();
}
if (C7740.m18717(str)) {
return new C7740[]{new C7740(m15327(0, str))};
}
InterfaceC3750 interfaceC3750 = f19490;
if (interfaceC3750.mo10207()) {
interfaceC3750.mo10205("Resolver order is " + ((C0722) this.f19495.mo12173()).m2806());
}
Iterator it = ((C0722) this.f19495.mo12173()).m2806().iterator();
while (it.hasNext()) {
EnumC8303 enumC8303 = (EnumC8303) it.next();
try {
ordinal = enumC8303.ordinal();
} catch (IOException e) {
InterfaceC3750 interfaceC37502 = f19490;
interfaceC37502.mo10225("Resolving {} via {} failed:", str, enumC8303);
interfaceC37502.mo10218("Exception is", e);
}
if (ordinal != 0) {
if (ordinal != 1) {
if (ordinal == 2) {
for (int i = 0; i < str.length(); i++) {
if (!Character.isDigit(str.charAt(i))) {
InetAddress[] allByName = InetAddress.getAllByName(str);
C7740[] c7740Arr = new C7740[allByName.length];
for (int i2 = 0; i2 < allByName.length; i2++) {
c7740Arr[i2] = new C7740(allByName[i2]);
}
InterfaceC3750 interfaceC37503 = f19490;
if (interfaceC37503.mo10229()) {
interfaceC37503.mo10211("Resolved '{}' to {} using DNS", str, Arrays.toString(c7740Arr));
}
return c7740Arr;
}
}
throw new UnknownHostException(str);
}
if (ordinal == 3) {
C13541 c13541 = this.f19491;
InterfaceC14570 interfaceC14570 = this.f19495;
synchronized (c13541) {
new C14383(interfaceC14570.mo12173(), str, 32, null);
c13541.m28845(interfaceC14570);
}
} else {
throw new UnknownHostException(str);
}
} else if (str.length() <= 15) {
if (z) {
m15338 = m15341(str, ((C0722) this.f19495.mo12173()).m2780());
} else {
m15338 = m15338(str, 32, null, ((C0722) this.f19495.mo12173()).m2780());
}
}
} else if (!str.equals("\u0001\u0002__MSBROWSE__\u0002") && str.length() <= 15) {
if (z) {
m15338 = m15341(str, m15343());
} else {
m15338 = m15338(str, 32, null, m15343());
}
}
if (m15338 != null) {
InterfaceC3750 interfaceC37504 = f19490;
if (interfaceC37504.mo10229()) {
interfaceC37504.mo10227("Resolved '{}' to addrs {} via {}", str, Arrays.toString(m15338), enumC8303);
}
C7740[] c7740Arr2 = new C7740[m15338.length];
for (int i3 = 0; i3 < m15338.length; i3++) {
c7740Arr2[i3] = new C7740(m15338[i3]);
}
return c7740Arr2;
}
}
throw new UnknownHostException(str);
}
}