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

1065 lines
36 KiB
Java

package o;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.rIZ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C16788rIZ {
private Qps e;
private static final byte[] $$a = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
private static int f = 1;
private static char[] d = {49117, 49094, 49116, 49119};
private static char j = 35371;
private final ArrayList<Fragment> c = new ArrayList<>();
private final HashMap<String, zMt> b = new HashMap<>();
private final HashMap<String, mbI> a = new HashMap<>();
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = ~i3;
int i6 = (i * 50) + (i2 * (-97)) + (((~(i4 | i5)) | (~(i4 | i))) * 98) + (((~(i5 | (~i))) | i4 | (~(i | i3))) * (-49)) + (((~(i | i2)) | (~(i3 | i4))) * 49);
return i6 != 1 ? i6 != 2 ? i6 != 3 ? i6 != 4 ? d(objArr) : e(objArr) : c(objArr) : a(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void l(byte r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r6 = 4 - r6
int r7 = r7 * 4
int r0 = r7 + 1
byte[] r1 = o.C16788rIZ.$$a
int r8 = r8 + 117
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r8 = r6
r3 = r7
r4 = r2
goto L2d
L15:
r3 = r2
L16:
r5 = r8
r8 = r6
r6 = r5
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
r3 = r1[r8]
r5 = r8
r8 = r6
r6 = r5
L2d:
int r6 = r6 + 1
int r8 = r8 + r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16788rIZ.l(byte, short, byte, java.lang.Object[]):void");
}
private static /* synthetic */ Object a(Object[] objArr) {
C16788rIZ c16788rIZ = (C16788rIZ) objArr[0];
int i = 2 % 2;
int i2 = h + 25;
f = i2 % 128;
int i3 = i2 % 2;
c16788rIZ.b.clear();
int i4 = h + 15;
f = i4 % 128;
int i5 = i4 % 2;
return null;
}
private static /* synthetic */ Object c(Object[] objArr) {
Iterator it;
C16788rIZ c16788rIZ = (C16788rIZ) objArr[0];
List list = (List) objArr[1];
int i = 2 % 2;
c16788rIZ.c.clear();
if (list == null) {
return null;
}
int i2 = h + 41;
f = i2 % 128;
if (i2 % 2 == 0) {
it = list.iterator();
int i3 = 53 / 0;
} else {
it = list.iterator();
}
while (it.hasNext()) {
String str = (String) it.next();
Fragment c = c16788rIZ.c(str);
if (c != null) {
int i4 = h + 75;
f = i4 % 128;
if (i4 % 2 == 0) {
yRS.b(5);
} else {
yRS.b(2);
}
c16788rIZ.a(c);
} else {
StringBuilder sb = new StringBuilder("No instantiated fragment for (");
sb.append(str);
sb.append(")");
throw new IllegalStateException(sb.toString());
}
}
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:10:0x0036, code lost:
if (r1.mRetainInstance != false) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost:
r4.e.a(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0043, code lost:
r4.e.b(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x003b, code lost:
if (r1.mRetainInstance != true) goto L15;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void b(o.zMt r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.C16788rIZ.f
int r1 = r1 + 117
int r2 = r1 % 128
o.C16788rIZ.h = r2
int r1 = r1 % r0
androidx.fragment.app.Fragment r1 = r5.e
java.lang.String r2 = r1.mWho
boolean r2 = r4.e(r2)
if (r2 == 0) goto L17
return
L17:
java.util.HashMap<java.lang.String, o.zMt> r2 = r4.b
java.lang.String r3 = r1.mWho
r2.put(r3, r5)
boolean r5 = r1.mRetainInstanceChangedWhileDetached
r2 = 1
r5 = r5 ^ r2
if (r5 == 0) goto L25
goto L4a
L25:
int r5 = o.C16788rIZ.f
int r5 = r5 + 43
int r3 = r5 % 128
o.C16788rIZ.h = r3
int r5 = r5 % r0
r3 = 0
if (r5 == 0) goto L39
boolean r5 = r1.mRetainInstance
r2 = 51
int r2 = r2 / r3
if (r5 == 0) goto L3d
goto L43
L39:
boolean r5 = r1.mRetainInstance
if (r5 == r2) goto L43
L3d:
o.Qps r5 = r4.e
r5.a(r1)
goto L48
L43:
o.Qps r5 = r4.e
r5.b(r1)
L48:
r1.mRetainInstanceChangedWhileDetached = r3
L4a:
o.yRS.b(r0)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16788rIZ.b(o.zMt):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void a(Fragment fragment) {
if (this.c.contains(fragment)) {
throw new IllegalStateException("Fragment already added: ".concat(String.valueOf(fragment)));
}
synchronized (this.c) {
this.c.add(fragment);
}
fragment.mAdded = true;
}
private static /* synthetic */ Object d(Object[] objArr) {
C16788rIZ c16788rIZ = (C16788rIZ) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = h + 13;
f = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
for (zMt zmt : c16788rIZ.b.values()) {
if (zmt != null) {
int i3 = f + 109;
h = i3 % 128;
if (i3 % 2 != 0) {
zmt.a = intValue;
obj.hashCode();
throw null;
}
zmt.a = intValue;
}
}
return null;
}
c16788rIZ.b.values().iterator();
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void i() {
int i = 2 % 2;
int i2 = h + 101;
f = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Iterator<Fragment> it = this.c.iterator();
while (it.hasNext()) {
int i3 = f + 19;
h = i3 % 128;
if (i3 % 2 != 0) {
this.b.get(it.next().mWho);
throw null;
}
zMt zmt = this.b.get(it.next().mWho);
if (zmt != null) {
zmt.a();
}
}
for (zMt zmt2 : this.b.values()) {
if (zmt2 != null) {
zmt2.a();
Fragment fragment = zmt2.e;
if (fragment.mRemoving && !fragment.isInBackStack()) {
if (fragment.mBeingSaved) {
int i4 = f + 73;
h = i4 % 128;
int i5 = i4 % 2;
if (!this.a.containsKey(fragment.mWho)) {
int i6 = h + 15;
f = i6 % 128;
int i7 = i6 % 2;
zmt2.c();
}
}
b(new Object[]{this, zmt2}, 244446028, -244446027, System.identityHashCode(this));
}
}
}
return;
}
this.c.iterator();
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void e(Fragment fragment) {
synchronized (this.c) {
this.c.remove(fragment);
}
fragment.mAdded = false;
}
private static /* synthetic */ Object b(Object[] objArr) {
C16788rIZ c16788rIZ = (C16788rIZ) objArr[0];
int i = 2 % 2;
Fragment fragment = ((zMt) objArr[1]).e;
Object obj = null;
if (fragment.mRetainInstance) {
int i2 = f + 7;
h = i2 % 128;
if (i2 % 2 == 0) {
c16788rIZ.e.a(fragment);
} else {
c16788rIZ.e.a(fragment);
obj.hashCode();
throw null;
}
}
if (c16788rIZ.b.put(fragment.mWho, null) == null) {
return null;
}
yRS.b(2);
int i3 = f + 7;
h = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 49 / 0;
}
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void a() {
int i = 2 % 2;
int i2 = f + 35;
h = i2 % 128;
if (i2 % 2 == 0) {
this.b.values().removeAll(Collections.singleton(null));
int i3 = f + 85;
h = i3 % 128;
int i4 = i3 % 2;
return;
}
this.b.values().removeAll(Collections.singleton(null));
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final mbI g(String str) {
int i = 2 % 2;
int i2 = h + 69;
f = i2 % 128;
if (i2 % 2 != 0) {
return this.a.get(str);
}
this.a.get(str);
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final mbI d(String str, mbI mbi) {
int i = 2 % 2;
Object obj = null;
if (mbi == null) {
mbI remove = this.a.remove(str);
int i2 = h + 115;
f = i2 % 128;
if (i2 % 2 != 0) {
return remove;
}
throw null;
}
int i3 = f + 109;
h = i3 % 128;
if (i3 % 2 == 0) {
return this.a.put(str, mbi);
}
this.a.put(str, mbi);
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void d(ArrayList<mbI> arrayList) {
int i = 2 % 2;
this.a.clear();
Iterator<mbI> it = arrayList.iterator();
while (!(!it.hasNext())) {
int i2 = f + 115;
h = i2 % 128;
int i3 = i2 % 2;
mbI next = it.next();
this.a.put(next.n, next);
int i4 = f + 23;
h = i4 % 128;
int i5 = i4 % 2;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final ArrayList<mbI> b() {
int i = 2 % 2;
ArrayList<mbI> arrayList = new ArrayList<>(this.a.values());
int i2 = f + 85;
h = i2 % 128;
if (i2 % 2 == 0) {
return arrayList;
}
throw null;
}
private static /* synthetic */ Object e(Object[] objArr) {
C16788rIZ c16788rIZ = (C16788rIZ) objArr[0];
int i = 2 % 2;
ArrayList arrayList = new ArrayList(c16788rIZ.b.size());
for (zMt zmt : c16788rIZ.b.values()) {
if (zmt != null) {
int i2 = h + 83;
f = i2 % 128;
int i3 = i2 % 2;
Fragment fragment = zmt.e;
zmt.c();
arrayList.add(fragment.mWho);
if (yRS.b(2)) {
Bundle bundle = fragment.mSavedFragmentState;
}
}
}
int i4 = h + 29;
f = i4 % 128;
if (i4 % 2 != 0) {
return arrayList;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final ArrayList<String> f() {
synchronized (this.c) {
if (this.c.isEmpty()) {
return null;
}
ArrayList<String> arrayList = new ArrayList<>(this.c.size());
Iterator<Fragment> it = this.c.iterator();
while (it.hasNext()) {
Fragment next = it.next();
arrayList.add(next.mWho);
if (yRS.b(2)) {
String str = next.mWho;
}
}
return arrayList;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final List<zMt> e() {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
Iterator<zMt> it = this.b.values().iterator();
int i2 = f + 105;
h = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 5 % 3;
}
while (!(!it.hasNext())) {
zMt next = it.next();
if (next != null) {
int i4 = f + 81;
h = i4 % 128;
int i5 = i4 % 2;
arrayList.add(next);
}
}
return arrayList;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final List<Fragment> d() {
ArrayList arrayList;
if (this.c.isEmpty()) {
return Collections.emptyList();
}
synchronized (this.c) {
arrayList = new ArrayList(this.c);
}
return arrayList;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final List<Fragment> c() {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
Iterator<zMt> it = this.b.values().iterator();
while (it.hasNext()) {
int i2 = f + 123;
h = i2 % 128;
if (i2 % 2 != 0) {
it.next();
throw null;
}
zMt next = it.next();
if (next != null) {
int i3 = h + 61;
f = i3 % 128;
int i4 = i3 % 2;
arrayList.add(next.e);
} else {
arrayList.add(null);
}
}
int i5 = f + 39;
h = i5 % 128;
if (i5 % 2 == 0) {
return arrayList;
}
throw null;
}
private static void k(int i, char[] cArr, byte b, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = d;
Object obj2 = null;
if (cArr2 != null) {
int i5 = $11 + 25;
$10 = i5 % 128;
int i6 = i5 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 89;
$10 = i8 % 128;
if (i8 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (KeyEvent.getMaxKeyCode() >> 16), 5 - View.combineMeasuredStates(0, 0), (char) KeyEvent.normalizeMetaState(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
l(b2, b3, b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i7] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i7 >>>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i7])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 298, 5 - (Process.myTid() >> 22), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
l(b4, b5, b5, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr3[i7] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
i7++;
}
i3 = 2;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(j)};
Object obj5 = xzZ.y.get(-1987398494);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(298 - TextUtils.indexOf("", ""), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) KeyEvent.keyCodeFromString(""));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
l(b6, b7, b7, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $11 + 95;
$10 = i9 % 128;
if (i9 % 2 != 0) {
i2 = i + 39;
cArr4[i2] = (char) (cArr[i2] << b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
char c2 = 7;
int i10 = $11 + 7;
$10 = i10 % 128;
int i11 = i10 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i12 = $11 + 9;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b << b);
cArr4[irs.e % 1] = (char) (irs.c * b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
c = c2;
obj = obj2;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[c2] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(233 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (22024 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
l(b8, b9, (byte) (b9 + 3), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 != null) {
c = 7;
} else {
Class cls5 = (Class) xzZ.c(327 - View.getDefaultSize(0, 0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) TextUtils.getCapsMode("", 0, 0));
byte b10 = (byte) 0;
byte b11 = b10;
Object[] objArr11 = new Object[1];
l(b10, b11, (byte) (b11 + 1), objArr11);
c = 7;
obj7 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else {
obj = null;
c = 7;
if (irs.a == irs.d) {
int i14 = $11 + 111;
$10 = i14 % 128;
int i15 = i14 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Fragment c(int i) {
int i2 = 2 % 2;
int i3 = f + 117;
h = i3 % 128;
int size = i3 % 2 != 0 ? this.c.size() : this.c.size() - 1;
while (true) {
Object obj = null;
if (size >= 0) {
Fragment fragment = this.c.get(size);
if (fragment != null) {
int i4 = f + 123;
h = i4 % 128;
if (i4 % 2 != 0) {
int i5 = fragment.mFragmentId;
obj.hashCode();
throw null;
}
if (fragment.mFragmentId == i) {
return fragment;
}
}
size--;
int i6 = f + 9;
h = i6 % 128;
int i7 = i6 % 2;
} else {
for (zMt zmt : this.b.values()) {
if (zmt != null) {
Fragment fragment2 = zmt.e;
if (fragment2.mFragmentId == i) {
return fragment2;
}
}
}
return null;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Fragment d(String str) {
int i = 2 % 2;
if (str != null) {
int size = this.c.size() - 1;
int i2 = f + 57;
h = i2 % 128;
while (true) {
int i3 = i2 % 2;
if (size < 0) {
break;
}
Fragment fragment = this.c.get(size);
if (fragment != null && str.equals(fragment.mTag)) {
return fragment;
}
size--;
i2 = h + 81;
f = i2 % 128;
}
}
if (str != null) {
Iterator<zMt> it = this.b.values().iterator();
while (it.hasNext()) {
int i4 = f + 43;
h = i4 % 128;
if (i4 % 2 != 0) {
it.next();
throw null;
}
zMt next = it.next();
if (next != null) {
Fragment fragment2 = next.e;
if (str.equals(fragment2.mTag)) {
return fragment2;
}
}
}
}
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final boolean e(String str) {
int i = 2 % 2;
int i2 = f + 49;
h = i2 % 128;
if (i2 % 2 != 0) {
this.b.get(str);
throw null;
}
if (this.b.get(str) == null) {
return false;
}
int i3 = h + 57;
f = i3 % 128;
int i4 = i3 % 2;
return true;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final zMt a(String str) {
int i = 2 % 2;
int i2 = h + 83;
f = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
this.b.get(str);
obj.hashCode();
throw null;
}
zMt zmt = this.b.get(str);
int i3 = f + 121;
h = i3 % 128;
if (i3 % 2 == 0) {
return zmt;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Fragment b(String str) {
int i = 2 % 2;
int i2 = f + 81;
h = i2 % 128;
int i3 = i2 % 2;
Iterator<zMt> it = this.b.values().iterator();
while (true) {
Object obj = null;
if (!it.hasNext()) {
int i4 = h + 3;
f = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
int i5 = f + 35;
h = i5 % 128;
if (i5 % 2 != 0) {
it.next();
throw null;
}
zMt next = it.next();
if (next != null) {
int i6 = h + 111;
f = i6 % 128;
int i7 = i6 % 2;
Fragment findFragmentByWho = next.e.findFragmentByWho(str);
if (findFragmentByWho != null) {
return findFragmentByWho;
}
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Fragment c(String str) {
int i = 2 % 2;
zMt zmt = this.b.get(str);
if (zmt == null) {
int i2 = h + 47;
f = i2 % 128;
int i3 = i2 % 2;
return null;
}
Fragment fragment = zmt.e;
int i4 = f + 17;
h = i4 % 128;
int i5 = i4 % 2;
return fragment;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final int d(Fragment fragment) {
int i = 2 % 2;
ViewGroup viewGroup = fragment.mContainer;
if (viewGroup == null) {
return -1;
}
int indexOf = this.c.indexOf(fragment);
int i2 = indexOf - 1;
while (i2 >= 0) {
Fragment fragment2 = this.c.get(i2);
if (fragment2.mContainer == viewGroup) {
int i3 = f + 41;
h = i3 % 128;
if (i3 % 2 != 0) {
View view = fragment2.mView;
Object obj = null;
obj.hashCode();
throw null;
}
if (fragment2.mView != null) {
int i4 = f + 41;
h = i4 % 128;
int i5 = i4 % 2;
return viewGroup.indexOfChild(fragment2.mView) + 1;
}
}
i2--;
int i6 = h + 7;
f = i6 % 128;
int i7 = i6 % 2;
}
while (true) {
indexOf++;
if (indexOf >= this.c.size()) {
return -1;
}
Fragment fragment3 = this.c.get(indexOf);
if (fragment3.mContainer == viewGroup && fragment3.mView != null) {
return viewGroup.indexOfChild(fragment3.mView);
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void c(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
zMt next;
int i = 2 % 2;
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(" ");
String obj = sb.toString();
int i2 = 1;
if (!this.b.isEmpty()) {
printWriter.print(str);
printWriter.println("Active Fragments:");
Iterator<zMt> it = this.b.values().iterator();
while (it.hasNext()) {
int i3 = f + 71;
h = i3 % 128;
if (i3 % 2 != 0) {
next = it.next();
printWriter.print(str);
int i4 = 20 / 0;
if (next != null) {
Fragment fragment = next.e;
printWriter.println(fragment);
fragment.dump(obj, fileDescriptor, printWriter, strArr);
} else {
Object[] objArr = new Object[1];
k(4 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), new char[]{1, 0, 13903, 13903}, (byte) (Color.alpha(0) + 89), objArr);
printWriter.println(((String) objArr[0]).intern());
int i5 = f + 29;
h = i5 % 128;
int i6 = i5 % 2;
}
} else {
next = it.next();
printWriter.print(str);
if (next != null) {
Fragment fragment2 = next.e;
printWriter.println(fragment2);
fragment2.dump(obj, fileDescriptor, printWriter, strArr);
} else {
Object[] objArr2 = new Object[1];
k(4 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), new char[]{1, 0, 13903, 13903}, (byte) (Color.alpha(0) + 89), objArr2);
printWriter.println(((String) objArr2[0]).intern());
int i52 = f + 29;
h = i52 % 128;
int i62 = i52 % 2;
}
}
}
}
int size = this.c.size();
if (size > 0) {
int i7 = h + 71;
f = i7 % 128;
if (i7 % 2 == 0) {
printWriter.print(str);
printWriter.println("Added Fragments:");
} else {
printWriter.print(str);
printWriter.println("Added Fragments:");
i2 = 0;
}
while (i2 < size) {
Fragment fragment3 = this.c.get(i2);
printWriter.print(str);
printWriter.print(" #");
printWriter.print(i2);
printWriter.print(": ");
printWriter.println(fragment3.toString());
i2++;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void e(Qps qps) {
int i = 2 % 2;
int i2 = h;
int i3 = i2 + 123;
f = i3 % 128;
int i4 = i3 % 2;
this.e = qps;
if (i4 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = i2 + 79;
f = i5 % 128;
int i6 = i5 % 2;
}
final ArrayList<String> g() {
return (ArrayList) b(new Object[]{this}, -238920329, 238920333, System.identityHashCode(this));
}
final void e(List<String> list) {
b(new Object[]{this, list}, 1966867651, -1966867648, System.identityHashCode(this));
}
final void h() {
b(new Object[]{this}, 1411844715, -1411844713, System.identityHashCode(this));
}
final void c(zMt zmt) {
b(new Object[]{this, zmt}, 244446028, -244446027, System.identityHashCode(this));
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Qps j() {
int i = 2 % 2;
int i2 = h + 51;
f = i2 % 128;
if (i2 % 2 != 0) {
return this.e;
}
Object obj = null;
obj.hashCode();
throw null;
}
final void b(int i) {
b(new Object[]{this, Integer.valueOf(i)}, -1260421080, 1260421080, i);
}
}