what-the-bank/sources/o/C15223gkj.java

115 lines
4.9 KiB
Java

package o;
import java.net.URL;
import java.security.PrivilegedAction;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.gkj, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15223gkj implements PrivilegedAction {
private final URL b;
/* JADX INFO: Access modifiers changed from: package-private */
public C15223gkj(URL url) {
this.b = url;
}
/* JADX WARN: Removed duplicated region for block: B:35:0x008b A[EXC_TOP_SPLITTER, SYNTHETIC] */
@Override // java.security.PrivilegedAction
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.Object run() {
/*
r9 = this;
java.lang.String r0 = "Unable to close stream for URL "
r1 = -2079166566(0xffffffff84126f9a, float:-1.7213462E-36)
r2 = 2079166567(0x7bed9067, float:2.4670064E36)
r3 = 0
java.net.URL r4 = r9.b // Catch: java.lang.Throwable -> L37 java.io.IOException -> L39
java.net.URLConnection r4 = r4.openConnection() // Catch: java.lang.Throwable -> L37 java.io.IOException -> L39
r5 = 0
r4.setUseCaches(r5) // Catch: java.lang.Throwable -> L37 java.io.IOException -> L39
java.io.InputStream r4 = r4.getInputStream() // Catch: java.lang.Throwable -> L37 java.io.IOException -> L39
if (r4 == 0) goto L25
java.util.Properties r5 = new java.util.Properties // Catch: java.io.IOException -> L3a java.lang.Throwable -> L85
r5.<init>() // Catch: java.io.IOException -> L3a java.lang.Throwable -> L85
r5.load(r4) // Catch: java.io.IOException -> L3a java.lang.Throwable -> L85
r4.close() // Catch: java.io.IOException -> L3a java.lang.Throwable -> L85
return r5
L25:
if (r4 == 0) goto L84
r4.close() // Catch: java.io.IOException -> L2b
goto L84
L2b:
boolean r4 = o.AbstractC15217gkd.e()
if (r4 == 0) goto L84
java.lang.StringBuffer r4 = new java.lang.StringBuffer
r4.<init>(r0)
goto L6e
L37:
r4 = move-exception
goto L89
L39:
r4 = r3
L3a:
boolean r5 = o.AbstractC15217gkd.e() // Catch: java.lang.Throwable -> L85
if (r5 == 0) goto L5d
java.lang.StringBuffer r5 = new java.lang.StringBuffer // Catch: java.lang.Throwable -> L85
java.lang.String r6 = "Unable to read URL "
r5.<init>(r6) // Catch: java.lang.Throwable -> L85
java.net.URL r6 = r9.b // Catch: java.lang.Throwable -> L85
java.lang.StringBuffer r5 = r5.append(r6) // Catch: java.lang.Throwable -> L85
java.lang.String r5 = r5.toString() // Catch: java.lang.Throwable -> L85
java.lang.Object[] r5 = new java.lang.Object[]{r5} // Catch: java.lang.Throwable -> L85
long r6 = java.lang.System.currentTimeMillis() // Catch: java.lang.Throwable -> L85
int r6 = (int) r6 // Catch: java.lang.Throwable -> L85
o.AbstractC15217gkd.e(r5, r2, r1, r6) // Catch: java.lang.Throwable -> L85
L5d:
if (r4 == 0) goto L84
r4.close() // Catch: java.io.IOException -> L63
goto L84
L63:
boolean r4 = o.AbstractC15217gkd.e()
if (r4 == 0) goto L84
java.lang.StringBuffer r4 = new java.lang.StringBuffer
r4.<init>(r0)
L6e:
java.net.URL r0 = r9.b
java.lang.StringBuffer r0 = r4.append(r0)
java.lang.String r0 = r0.toString()
java.lang.Object[] r0 = new java.lang.Object[]{r0}
long r4 = java.lang.System.currentTimeMillis()
int r4 = (int) r4
o.AbstractC15217gkd.e(r0, r2, r1, r4)
L84:
return r3
L85:
r3 = move-exception
r8 = r4
r4 = r3
r3 = r8
L89:
if (r3 == 0) goto Lb0
r3.close() // Catch: java.io.IOException -> L8f
goto Lb0
L8f:
boolean r3 = o.AbstractC15217gkd.e()
if (r3 == 0) goto Lb0
java.lang.StringBuffer r3 = new java.lang.StringBuffer
r3.<init>(r0)
java.net.URL r0 = r9.b
java.lang.StringBuffer r0 = r3.append(r0)
java.lang.String r0 = r0.toString()
java.lang.Object[] r0 = new java.lang.Object[]{r0}
long r5 = java.lang.System.currentTimeMillis()
int r3 = (int) r5
o.AbstractC15217gkd.e(r0, r2, r1, r3)
Lb0:
throw r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15223gkj.run():java.lang.Object");
}
}