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

124 lines
6.6 KiB
Java

package o;
/* loaded from: classes5.dex */
public final class fJY {
public static final IeS e = new IeS(0);
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
/* JADX WARN: Code restructure failed: missing block: B:19:0x003a, code lost:
if (r11 != null) goto L22;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.lang.String ayN_(android.content.Context r10, android.net.Uri r11) {
/*
r0 = 0
if (r10 != 0) goto L4
return r0
L4:
if (r11 != 0) goto L7
return r0
L7:
android.content.ContentResolver r1 = r10.getContentResolver() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
if (r1 == 0) goto L92
java.io.InputStream r1 = r1.openInputStream(r11) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
if (r1 == 0) goto L92
r2 = 1
java.lang.String[] r5 = new java.lang.String[r2] // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.String r2 = "_display_name"
r9 = 0
r5[r9] = r2 // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
android.content.ContentResolver r3 = r10.getContentResolver() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
if (r3 == 0) goto L2a
r6 = 0
r7 = 0
r8 = 0
r4 = r11
android.database.Cursor r10 = r3.query(r4, r5, r6, r7, r8) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
goto L2b
L2a:
r10 = r0
L2b:
if (r10 == 0) goto L3d
int r11 = r10.getCount() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
if (r11 == 0) goto L3d
r10.moveToFirst() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.String r11 = r10.getString(r9) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
if (r11 == 0) goto L3d
goto L3f
L3d:
java.lang.String r11 = "temp.pdf"
L3f:
if (r10 == 0) goto L44
r10.close() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
L44:
java.lang.String r10 = "java.io.tmpdir"
java.lang.String r10 = java.lang.System.getProperty(r10) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.io.File r2 = new java.io.File // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.StringBuilder r3 = new java.lang.StringBuilder // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r3.<init>() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r3.append(r10) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.String r10 = "/"
r3.append(r10) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r3.append(r11) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.String r10 = r3.toString() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r2.<init>(r10) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r10 = r1
java.io.Closeable r10 = (java.io.Closeable) r10 // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
r11 = r10
java.io.InputStream r11 = (java.io.InputStream) r11 // Catch: java.lang.Throwable -> L8b
java.io.FileOutputStream r11 = new java.io.FileOutputStream // Catch: java.lang.Throwable -> L8b
r11.<init>(r2) // Catch: java.lang.Throwable -> L8b
java.io.OutputStream r11 = (java.io.OutputStream) r11 // Catch: java.lang.Throwable -> L8b
r3 = r11
java.io.Closeable r3 = (java.io.Closeable) r3 // Catch: java.lang.Throwable -> L8b
r4 = r3
java.io.OutputStream r4 = (java.io.OutputStream) r4 // Catch: java.lang.Throwable -> L84
com.google.android.gms.common.util.IOUtils.copyStream(r1, r11) // Catch: java.lang.Throwable -> L84
o.gbF.d(r3, r0) // Catch: java.lang.Throwable -> L8b
o.gbF.d(r10, r0) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
java.lang.String r10 = r2.getAbsolutePath() // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
return r10
L84:
r11 = move-exception
throw r11 // Catch: java.lang.Throwable -> L86
L86:
r1 = move-exception
o.gbF.d(r3, r11) // Catch: java.lang.Throwable -> L8b
throw r1 // Catch: java.lang.Throwable -> L8b
L8b:
r11 = move-exception
throw r11 // Catch: java.lang.Throwable -> L8d
L8d:
r1 = move-exception
o.gbF.d(r10, r11) // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
throw r1 // Catch: java.lang.Exception -> L93 java.io.FileNotFoundException -> L9a
L92:
return r0
L93:
r10 = move-exception
java.lang.Throwable r10 = (java.lang.Throwable) r10
o.guQ.e(r10)
return r0
L9a:
r10 = move-exception
java.lang.Throwable r10 = (java.lang.Throwable) r10
o.guQ.e(r10)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: o.fJY.IeS.ayN_(android.content.Context, android.net.Uri):java.lang.String");
}
public /* synthetic */ IeS(byte b) {
this();
}
}
}