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

125 lines
4.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Handler;
import android.os.HandlerThread;
import java.util.HashSet;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.fOo, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C13034fOo {
final String b;
C13032fOm c;
HandlerThread d;
Handler e;
Runnable f;
final int h;
HashSet<Integer> i = new HashSet<>();
int a = 0;
/* JADX INFO: Access modifiers changed from: package-private */
public C13034fOo(String str, int i) {
this.b = str;
this.h = i;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void b() {
synchronized (this) {
HandlerThread handlerThread = this.d;
if (handlerThread != null) {
handlerThread.quit();
this.d = null;
this.e = null;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final boolean e() {
boolean z;
synchronized (this) {
z = this.a == 0;
}
return z;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final boolean d() {
boolean z;
synchronized (this) {
z = this.a != 0;
}
return z;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:22:0x0033, code lost:
if (r1.h != r0.h) goto L20;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean d(final o.C13035fOp r5) {
/*
r4 = this;
monitor-enter(r4)
java.util.HashSet<java.lang.Integer> r0 = r4.i // Catch: java.lang.Throwable -> L51
o.fOm r1 = r5.b // Catch: java.lang.Throwable -> L51
r2 = 0
r3 = 1
if (r1 == 0) goto L20
boolean r1 = r1.e() // Catch: java.lang.Throwable -> L51
if (r1 == 0) goto L20
o.fOm r1 = r5.b // Catch: java.lang.Throwable -> L51
int r1 = r1.h // Catch: java.lang.Throwable -> L51
java.lang.Integer r1 = java.lang.Integer.valueOf(r1) // Catch: java.lang.Throwable -> L51
boolean r0 = r0.contains(r1) // Catch: java.lang.Throwable -> L51
r0 = r0 ^ r3
if (r0 == 0) goto L20
monitor-exit(r4)
return r2
L20:
boolean r0 = r4.e() // Catch: java.lang.Throwable -> L51
if (r0 != 0) goto L37
o.fOm r0 = r4.c // Catch: java.lang.Throwable -> L51
o.fOm r1 = r5.b // Catch: java.lang.Throwable -> L51
if (r1 != 0) goto L2f
if (r0 != 0) goto L35
goto L37
L2f:
int r1 = r1.h // Catch: java.lang.Throwable -> L51
int r0 = r0.h // Catch: java.lang.Throwable -> L51
if (r1 == r0) goto L37
L35:
monitor-exit(r4)
return r2
L37:
monitor-enter(r4) // Catch: java.lang.Throwable -> L51
o.fOm r0 = r5.b // Catch: java.lang.Throwable -> L4e
r4.c = r0 // Catch: java.lang.Throwable -> L4e
int r0 = r4.a // Catch: java.lang.Throwable -> L4e
int r0 = r0 + r3
r4.a = r0 // Catch: java.lang.Throwable -> L4e
monitor-exit(r4) // Catch: java.lang.Throwable -> L51
android.os.Handler r0 = r4.e // Catch: java.lang.Throwable -> L51
o.fOx r1 = new o.fOx // Catch: java.lang.Throwable -> L51
r1.<init>(r4, r5) // Catch: java.lang.Throwable -> L51
r0.post(r1) // Catch: java.lang.Throwable -> L51
monitor-exit(r4)
return r3
L4e:
r5 = move-exception
monitor-exit(r4) // Catch: java.lang.Throwable -> L51
throw r5 // Catch: java.lang.Throwable -> L51
L51:
r5 = move-exception
monitor-exit(r4)
throw r5
*/
throw new UnsupportedOperationException("Method not decompiled: o.C13034fOo.d(o.fOp):boolean");
}
}