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

141 lines
6.4 KiB
Java

package o;
import android.content.Context;
/* renamed from: o.GsH, reason: case insensitive filesystem */
/* loaded from: classes.dex */
final class C0446GsH extends AbstractC15575gub {
private static int a = 0;
private static int e = 1;
private final Context b;
private final String d;
/* JADX INFO: Access modifiers changed from: package-private */
public C0446GsH(Context context, String str) {
this.b = context;
this.d = str;
}
/* JADX WARN: Removed duplicated region for block: B:33:0x00ad */
@Override // o.AbstractC15575gub
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void initializeProviders() {
/*
r12 = this;
r0 = 2
int r1 = r0 % r0
r1 = 0
r2 = 0
android.content.Context r3 = r12.b // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
android.content.res.AssetManager r3 = r3.getAssets() // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
java.lang.String r4 = r12.d // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
java.lang.Object[] r3 = new java.lang.Object[]{r3, r4} // Catch: java.lang.Throwable -> L7f
java.util.Map r4 = o.xzZ.y // Catch: java.lang.Throwable -> L7f
r5 = -867414553(0xffffffffcc4c4de7, float:-5.3557148E7)
java.lang.Integer r6 = java.lang.Integer.valueOf(r5) // Catch: java.lang.Throwable -> L7f
java.lang.Object r4 = r4.get(r6) // Catch: java.lang.Throwable -> L7f
if (r4 == 0) goto L21
goto L5e
L21:
java.lang.String r4 = ""
r6 = 48
int r4 = android.text.TextUtils.lastIndexOf(r4, r6) // Catch: java.lang.Throwable -> L7f
int r4 = r4 + 6
int r6 = android.view.ViewConfiguration.getLongPressTimeout() // Catch: java.lang.Throwable -> L7f
int r6 = r6 >> 16
int r6 = r6 + 5
long r7 = android.os.SystemClock.currentThreadTimeMillis() // Catch: java.lang.Throwable -> L7f
r9 = -1
int r7 = (r7 > r9 ? 1 : (r7 == r9 ? 0 : -1))
int r7 = r7 + (-1)
char r7 = (char) r7 // Catch: java.lang.Throwable -> L7f
java.lang.Object r4 = o.xzZ.c(r4, r6, r7) // Catch: java.lang.Throwable -> L7f
java.lang.Class r4 = (java.lang.Class) r4 // Catch: java.lang.Throwable -> L7f
java.lang.String r6 = "NN_"
java.lang.Class[] r7 = new java.lang.Class[r0] // Catch: java.lang.Throwable -> L7f
java.lang.Class<android.content.res.AssetManager> r8 = android.content.res.AssetManager.class
r7[r1] = r8 // Catch: java.lang.Throwable -> L7f
java.lang.Class<java.lang.String> r8 = java.lang.String.class
r9 = 1
r7[r9] = r8 // Catch: java.lang.Throwable -> L7f
java.lang.reflect.Method r4 = r4.getMethod(r6, r7) // Catch: java.lang.Throwable -> L7f
java.util.Map r6 = o.xzZ.y // Catch: java.lang.Throwable -> L7f
java.lang.Integer r5 = java.lang.Integer.valueOf(r5) // Catch: java.lang.Throwable -> L7f
r6.put(r5, r4) // Catch: java.lang.Throwable -> L7f
L5e:
java.lang.reflect.Method r4 = (java.lang.reflect.Method) r4 // Catch: java.lang.Throwable -> L7f
java.lang.Object r3 = r4.invoke(r2, r3) // Catch: java.lang.Throwable -> L7f
java.io.InputStream r3 = (java.io.InputStream) r3 // Catch: java.lang.Throwable -> L7f
o.gtY r2 = new o.gtY // Catch: java.io.IOException -> L7d java.lang.Throwable -> Laa
r2.<init>(r3) // Catch: java.io.IOException -> L7d java.lang.Throwable -> Laa
if (r3 == 0) goto L79
r3.close() // Catch: java.io.IOException -> L79
int r1 = o.C0446GsH.e
int r1 = r1 + 101
int r3 = r1 % 128
o.C0446GsH.a = r3
int r1 = r1 % r0
L79:
o.AbstractC15576guc.registerProvider(r2)
return
L7d:
r2 = move-exception
goto L91
L7f:
r3 = move-exception
java.lang.Throwable r4 = r3.getCause() // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
if (r4 == 0) goto L87
throw r4 // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
L87:
throw r3 // Catch: java.lang.Throwable -> L88 java.io.IOException -> L8d
L88:
r3 = move-exception
r11 = r3
r3 = r2
r2 = r11
goto Lab
L8d:
r3 = move-exception
r11 = r3
r3 = r2
r2 = r11
L91:
java.lang.IllegalStateException r4 = new java.lang.IllegalStateException // Catch: java.lang.Throwable -> Laa
java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch: java.lang.Throwable -> Laa
r5.<init>() // Catch: java.lang.Throwable -> Laa
java.lang.String r6 = r12.d // Catch: java.lang.Throwable -> Laa
r5.append(r6) // Catch: java.lang.Throwable -> Laa
java.lang.String r6 = " missing from assets"
r5.append(r6) // Catch: java.lang.Throwable -> Laa
java.lang.String r5 = r5.toString() // Catch: java.lang.Throwable -> Laa
r4.<init>(r5, r2) // Catch: java.lang.Throwable -> Laa
throw r4 // Catch: java.lang.Throwable -> Laa
Laa:
r2 = move-exception
Lab:
if (r3 == 0) goto Lc4
int r4 = o.C0446GsH.a
int r4 = r4 + 19
int r5 = r4 % 128
o.C0446GsH.e = r5
int r4 = r4 % r0
if (r4 != 0) goto Lc1
r3.close() // Catch: java.io.IOException -> Lc4
r0 = 98
int r0 = r0 / r1
goto Lc4
Lbf:
r0 = move-exception
throw r0
Lc1:
r3.close() // Catch: java.io.IOException -> Lc4
Lc4:
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0446GsH.initializeProviders():void");
}
}