package o; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.res.Configuration; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Looper; import android.os.Parcel; import android.os.Parcelable; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.widget.ExpandableListView; import androidx.activity.OnBackPressedDispatcher; import androidx.core.app.ActivityCompat; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentContainerView; import com.airbnb.deeplinkdispatch.UrlTreeKt; import com.huawei.hms.support.api.entity.common.CommonConstant; import java.io.FileDescriptor; import java.io.PrintWriter; import java.lang.reflect.Method; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger; import net.sf.scuba.smartcards.ISO7816; import o.AbstractC13482fbE; import o.AcL; import o.C11560ehe; import o.C5393bsG; import o.DGn; import o.FNE; import o.IUF; import o.InterfaceC16541pFg; import o.gFT; import o.wdQ; import o.yRS; /* loaded from: classes.dex */ public abstract class yRS { private huo H; private Fragment I; private boolean J; private huo L; private huo M; private boolean N; private ArrayList O; private gFT.LWm P; private ArrayList Q; private ArrayList S; Fragment b; private ArrayList c; private ArrayList e; private wTJ i; private ArrayList j; private boolean m; private boolean n; private vjh q; private boolean r; private boolean u; private Qps w; private OnBackPressedDispatcher z; private static final byte[] $$a = {80, 41, ISO7816.INS_UPDATE_RECORD, 94}; private static final int $$b = 243; private static int $10 = 0; private static int $11 = 1; private static int T = 0; private static int W = 1; private static long R = 9051040786702654117L; private static int U = 1574102807; private static char V = 55973; private final ArrayList F = new ArrayList<>(); private final C16788rIZ k = new C16788rIZ(); private final LayoutInflaterFactory2C9519dlK s = new LayoutInflaterFactory2C9519dlK(this); private final o.ZqN x = new o.ZqN(this) { // from class: o.yRS.5 final yRS b; AnonymousClass5(yRS this) { this.b = this; } @Override // o.ZqN public final void handleOnBackPressed() { this.b.z(); } }; private final AtomicInteger a = new AtomicInteger(); private final Map h = Collections.synchronizedMap(new HashMap()); private final Map E = Collections.synchronizedMap(new HashMap()); private final Map G = Collections.synchronizedMap(new HashMap()); private final C5393bsG p = new C5393bsG(this); private final CopyOnWriteArrayList y = new CopyOnWriteArrayList<>(); private final QUU D = new QUU(this) { // from class: o.EQe public final yRS a; @Override // o.QUU public final void accept(Object obj) { this.a.yG_((Configuration) obj); } { this.a = this; } }; private final QUU A = new QUU(this) { // from class: o.izu public final yRS b; @Override // o.QUU public final void accept(Object obj) { this.b.b((Integer) obj); } { this.b = this; } }; private final QUU B = new QUU(this) { // from class: o.nwm public final yRS c; @Override // o.QUU public final void accept(Object obj) { this.c.e((vPa) obj); } { this.c = this; } }; private final QUU C = new QUU(this) { // from class: o.swM public final yRS a; @Override // o.QUU public final void accept(Object obj) { this.a.c((C0801Ovz) obj); } { this.a = this; } }; private final AHZ v = new AHZ(this) { // from class: o.yRS.4 final yRS a; AnonymousClass4(yRS this) { this.a = this; } @Override // o.AHZ public final void yR_(Menu menu) { this.a.yC_(menu); } @Override // o.AHZ public final void yO_(Menu menu, MenuInflater menuInflater) { yRS yrs = this.a; ((Boolean) yRS.c(new Object[]{yrs, menu, menuInflater}, -1718728263, 1718728264, System.identityHashCode(yrs))).booleanValue(); } @Override // o.AHZ public final boolean yQ_(MenuItem menuItem) { return this.a.yA_(menuItem); } @Override // o.AHZ public final void yP_(Menu menu) { yRS yrs = this.a; yRS.c(new Object[]{yrs, menu}, 140973364, -140973339, System.identityHashCode(yrs)); } }; private int f = -1; private iAz l = null; private iAz t = new iAz(this) { // from class: o.yRS.2 final yRS c; AnonymousClass2(yRS this) { this.c = this; } @Override // o.iAz public final Fragment instantiate(ClassLoader classLoader, String str) { this.c.q(); return vjh.c(this.c.q().c, str); } }; private DVM K = null; private DVM g = new DVM(this) { // from class: o.yRS.3 final yRS e; AnonymousClass3(yRS this) { this.e = this; } @Override // o.DVM public final AbstractC17389wOZ zk_(ViewGroup viewGroup) { return new QJz(viewGroup); } }; ArrayDeque d = new ArrayDeque<>(); /* renamed from: o */ private Runnable f9320o = new Runnable(this) { // from class: o.yRS.7 final yRS d; AnonymousClass7(yRS this) { this.d = this; } @Override // java.lang.Runnable public final void run() { this.d.d(true); } }; /* loaded from: classes.dex */ public interface HBt { String c(); } /* loaded from: classes.dex */ public static abstract class LWm { public void e(yRS yrs, Fragment fragment, View view) { } } /* loaded from: classes.dex */ public interface ZqN { boolean e(ArrayList arrayList, ArrayList arrayList2); } /* loaded from: classes.dex */ public interface saX { void a(); } /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002f). 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 Y(byte r5, byte r6, byte r7, java.lang.Object[] r8) { /* int r6 = r6 * 4 int r6 = 3 - r6 int r5 = r5 * 2 int r0 = r5 + 1 byte[] r1 = o.yRS.$$a int r7 = 115 - r7 byte[] r0 = new byte[r0] r2 = -1 if (r1 != 0) goto L14 r3 = r2 r2 = r6 goto L2f L14: r4 = r7 r7 = r6 r6 = r4 L17: int r2 = r2 + 1 byte r3 = (byte) r6 r0[r2] = r3 if (r2 != r5) goto L27 java.lang.String r5 = new java.lang.String r6 = 0 r5.(r0, r6) r8[r6] = r5 return L27: int r7 = r7 + 1 r3 = r1[r7] r4 = r2 r2 = r7 r7 = r3 r3 = r4 L2f: int r7 = -r7 int r6 = r6 + r7 r7 = r2 r2 = r3 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.Y(byte, byte, byte, java.lang.Object[]):void"); } public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-1939)) + (i2 * 971); int i5 = ~i2; int i6 = ~(i5 | i); int i7 = ~((~i3) | i2); int i8 = ~i; switch (i4 + ((i6 | i7) * (-970)) + ((~(i2 | i8)) * 1940) + (((~(i8 | i5)) | i7) * 970)) { case 1: return d(objArr); case 2: return a(objArr); case 3: yRS yrs = (yRS) objArr[0]; int i9 = 2 % 2; int i10 = W + 23; T = i10 % 128; int i11 = i10 % 2; boolean d = yrs.d(-1, 0); int i12 = T + 43; W = i12 % 128; int i13 = i12 % 2; return Boolean.valueOf(d); case 4: return e(objArr); case 5: return c(objArr); case 6: return i(objArr); case 7: return j(objArr); case 8: return f(objArr); case 9: return g(objArr); case 10: return h(objArr); case 11: return n(objArr); case 12: return k(objArr); case 13: yRS yrs2 = (yRS) objArr[0]; int i14 = 2 % 2; int i15 = W + 37; T = i15 % 128; int i16 = i15 % 2; c(new Object[]{yrs2, 5}, 62540070, -62540048, 5); int i17 = W + 93; T = i17 % 128; int i18 = i17 % 2; return null; case 14: return l(objArr); case 15: return o(objArr); case 16: return m(objArr); case 17: return q(objArr); case 18: return r(objArr); case 19: return s(objArr); case 20: return p(objArr); case 21: return t(objArr); case 22: return y(objArr); case 23: return v(objArr); case 24: return w(objArr); case 25: return u(objArr); default: return b(objArr); } } public static /* synthetic */ Map a(yRS yrs) { int i = 2 % 2; int i2 = T + 43; W = i2 % 128; int i3 = i2 % 2; Map map = yrs.G; if (i3 != 0) { return map; } throw null; } static /* synthetic */ C16788rIZ b(yRS yrs) { int i = 2 % 2; int i2 = W + 123; T = i2 % 128; int i3 = i2 % 2; C16788rIZ c16788rIZ = yrs.k; if (i3 == 0) { return c16788rIZ; } throw null; } private static /* synthetic */ Object w(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int i = 2 % 2; int i2 = W + 15; int i3 = i2 % 128; T = i3; int i4 = i2 % 2; Map map = yrs.E; if (i4 != 0) { throw null; } int i5 = i3 + 67; W = i5 % 128; if (i5 % 2 != 0) { return map; } throw null; } private static void X(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { int i2; int i3 = 2; int i4 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; int i5 = $11 + 5; $10 = i5 % 128; int i6 = i5 % 2; while (nhs.a < length3) { int i7 = $11 + 39; $10 = i7 % 128; int i8 = i7 % i3; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(46 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); try { Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (View.resolveSizeAndState(0, 0, 0) + 52128)); byte b = (byte) 0; byte b2 = b; Object[] objArr4 = new Object[1]; Y(b, b2, b2, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(748 - Color.green(0), Drawable.resolveOpacity(0, 0) + 5, (char) View.getDefaultSize(0, 0))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 != null) { i2 = 2; } else { Class cls2 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 402, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (21607 - MotionEvent.axisFromString(""))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; Y(b3, b4, (byte) (b4 + 1), objArr7); i2 = 2; obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (R ^ 9051040786702654117L)) ^ ((int) (U ^ 9051040786702654117L))) ^ ((char) (V ^ 9051040786702654117L))); nhs.a++; i3 = i2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr6); } public static boolean b(int i) { int i2 = 2 % 2; if (!Log.isLoggable("FragmentManager", i)) { int i3 = W + 11; T = i3 % 128; return i3 % 2 != 0; } int i4 = W + 43; T = i4 % 128; int i5 = i4 % 2; return true; } /* loaded from: classes.dex */ public static class IeS implements DGn { final InterfaceC3451axm a; final DGn b; final wdQ e; IeS(wdQ wdq, DGn dGn, InterfaceC3451axm interfaceC3451axm) { this.e = wdq; this.b = dGn; this.a = interfaceC3451axm; } @Override // o.DGn public final void awo_(String str, Bundle bundle) { this.b.awo_(str, bundle); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.yRS$5 */ /* loaded from: classes.dex */ public final class AnonymousClass5 extends o.ZqN { final yRS b; AnonymousClass5(yRS this) { this.b = this; } @Override // o.ZqN public final void handleOnBackPressed() { this.b.z(); } } public final /* synthetic */ void yG_(Configuration configuration) { int i = 2 % 2; int i2 = W + 47; T = i2 % 128; int i3 = i2 % 2; if (R()) { int i4 = W + 5; T = i4 % 128; int i5 = i4 % 2; yx_(configuration, false); } int i6 = W + 97; T = i6 % 128; int i7 = i6 % 2; } public final /* synthetic */ void b(Integer num) { int i = 2 % 2; int i2 = T + 119; W = i2 % 128; if (i2 % 2 == 0) { int i3 = 75 / 0; if (!R()) { return; } } else if (!R()) { return; } if (num.intValue() == 80) { int i4 = T + 121; W = i4 % 128; if (i4 % 2 == 0) { e(true); } else { e(false); } } } public final /* synthetic */ void e(vPa vpa) { int i = 2 % 2; int i2 = T + 57; W = i2 % 128; if (i2 % 2 == 0) { R(); Object obj = null; obj.hashCode(); throw null; } if (R()) { int i3 = W + 73; T = i3 % 128; if (i3 % 2 != 0) { c(new Object[]{this, Boolean.valueOf(vpa.d), true}, -1242210938, 1242210938, System.identityHashCode(this)); } else { c(new Object[]{this, Boolean.valueOf(vpa.d), false}, -1242210938, 1242210938, System.identityHashCode(this)); } } } public final /* synthetic */ void c(C0801Ovz c0801Ovz) { int i = 2 % 2; int i2 = T + 97; W = i2 % 128; if (i2 % 2 == 0) { R(); Object obj = null; obj.hashCode(); throw null; } if (R()) { d(c0801Ovz.e, false); } int i3 = W + 11; T = i3 % 128; int i4 = i3 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.yRS$4 */ /* loaded from: classes.dex */ public final class AnonymousClass4 implements AHZ { final yRS a; AnonymousClass4(yRS this) { this.a = this; } @Override // o.AHZ public final void yR_(Menu menu) { this.a.yC_(menu); } @Override // o.AHZ public final void yO_(Menu menu, MenuInflater menuInflater) { yRS yrs = this.a; ((Boolean) yRS.c(new Object[]{yrs, menu, menuInflater}, -1718728263, 1718728264, System.identityHashCode(yrs))).booleanValue(); } @Override // o.AHZ public final boolean yQ_(MenuItem menuItem) { return this.a.yA_(menuItem); } @Override // o.AHZ public final void yP_(Menu menu) { yRS yrs = this.a; yRS.c(new Object[]{yrs, menu}, 140973364, -140973339, System.identityHashCode(yrs)); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.yRS$2 */ /* loaded from: classes.dex */ public final class AnonymousClass2 extends iAz { final yRS c; AnonymousClass2(yRS this) { this.c = this; } @Override // o.iAz public final Fragment instantiate(ClassLoader classLoader, String str) { this.c.q(); return vjh.c(this.c.q().c, str); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.yRS$3 */ /* loaded from: classes.dex */ public final class AnonymousClass3 implements DVM { final yRS e; AnonymousClass3(yRS this) { this.e = this; } @Override // o.DVM public final AbstractC17389wOZ zk_(ViewGroup viewGroup) { return new QJz(viewGroup); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.yRS$7 */ /* loaded from: classes.dex */ public final class AnonymousClass7 implements Runnable { final yRS d; AnonymousClass7(yRS this) { this.d = this; } @Override // java.lang.Runnable public final void run() { this.d.d(true); } } private void c(RuntimeException runtimeException) { int i = 2 % 2; runtimeException.getMessage(); PrintWriter printWriter = new PrintWriter(new ico("FragmentManager")); vjh vjhVar = this.q; try { if (vjhVar != null) { int i2 = W + 61; T = i2 % 128; int i3 = i2 % 2; vjhVar.c(" ", printWriter, new String[0]); int i4 = W + 53; T = i4 % 128; int i5 = i4 % 2; } else { e(" ", (FileDescriptor) null, printWriter, new String[0]); } throw runtimeException; } catch (Exception unused) { throw runtimeException; } } public final AbstractC13482fbE a() { int i = 2 % 2; RlT rlT = new RlT(this); int i2 = W + 29; T = i2 % 128; if (i2 % 2 == 0) { return rlT; } Object obj = null; obj.hashCode(); throw null; } public final boolean n() { int i = 2 % 2; int i2 = T + 121; W = i2 % 128; int i3 = i2 % 2; boolean d = d(true); N(); return d; } private void O() { synchronized (this.F) { if (!this.F.isEmpty()) { this.x.setEnabled(true); } else { this.x.setEnabled(t() > 0 && h(this.I)); } } } /* JADX WARN: Code restructure failed: missing block: B:16:0x0015, code lost: if (r6 == null) goto L27; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean h(androidx.fragment.app.Fragment r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.yRS.T int r1 = r1 + 19 int r2 = r1 % 128 o.yRS.W = r2 int r1 = r1 % r0 r3 = 0 r4 = 1 if (r1 != 0) goto L15 if (r6 != 0) goto L13 goto L17 L13: r4 = r3 goto L1f L15: if (r6 != 0) goto L1f L17: int r2 = r2 + 65 int r6 = r2 % 128 o.yRS.T = r6 int r2 = r2 % r0 return r4 L1f: o.yRS r1 = r6.mFragmentManager androidx.fragment.app.Fragment r2 = r1.V() boolean r6 = r6.equals(r2) if (r6 == 0) goto L3f int r6 = o.yRS.T int r6 = r6 + 95 int r2 = r6 % 128 o.yRS.W = r2 int r6 = r6 % r0 androidx.fragment.app.Fragment r6 = r1.I boolean r6 = r5.h(r6) if (r6 != 0) goto L3d goto L3f L3d: r3 = r4 goto L48 L3f: int r6 = o.yRS.W int r6 = r6 + 47 int r1 = r6 % 128 o.yRS.T = r1 int r6 = r6 % r0 L48: return r3 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.h(androidx.fragment.app.Fragment):boolean"); } public final boolean j(Fragment fragment) { int i = 2 % 2; int i2 = T; int i3 = i2 + 125; W = i3 % 128; if (i3 % 2 == 0) { throw null; } if (fragment != null) { return fragment.isMenuVisible(); } int i4 = i2 + 77; W = i4 % 128; int i5 = i4 % 2; return true; } public final boolean f(Fragment fragment) { int i = 2 % 2; int i2 = T + 69; int i3 = i2 % 128; W = i3; int i4 = i2 % 2; if (fragment != null) { return fragment.isHidden(); } int i5 = i3 + 19; T = i5 % 128; int i6 = i5 % 2; return false; } /* JADX WARN: Code restructure failed: missing block: B:11:0x0025, code lost: if (r4.x.isEnabled() != false) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost: if ((!r4.x.isEnabled()) != false) goto L24; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0027, code lost: ((java.lang.Boolean) c(new java.lang.Object[]{r4}, 1273581602, -1273581599, java.lang.System.identityHashCode(r4))).booleanValue(); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x003e, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x003f, code lost: r4.z.a(); r1 = o.yRS.W + 91; o.yRS.T = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x004d, code lost: return; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ final void z() { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.yRS.W int r1 = r1 + 95 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 r2 = 1 if (r1 == 0) goto L1c r4.d(r2) o.ZqN r1 = r4.x boolean r1 = r1.isEnabled() r1 = r1 ^ r2 if (r1 == 0) goto L27 goto L3f L1c: r4.d(r2) o.ZqN r1 = r4.x boolean r1 = r1.isEnabled() if (r1 == 0) goto L3f L27: java.lang.Object[] r0 = new java.lang.Object[]{r4} int r1 = java.lang.System.identityHashCode(r4) r2 = 1273581602(0x4be95022, float:3.0580804E7) r3 = -1273581599(0xffffffffb416afe1, float:-1.4033823E-7) java.lang.Object r0 = c(r0, r2, r3, r1) java.lang.Boolean r0 = (java.lang.Boolean) r0 r0.booleanValue() return L3f: androidx.activity.OnBackPressedDispatcher r1 = r4.z r1.a() int r1 = o.yRS.W int r1 = r1 + 91 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.z():void"); } public final void H() { int i = 2 % 2; c(new Object[]{this, new jbe(this, null, -1, 0), false}, 25603384, -25603378, System.identityHashCode(this)); int i2 = W + 61; T = i2 % 128; int i3 = i2 % 2; } public final void a(String str) { int i = 2 % 2; c(new Object[]{this, new jbe(this, str, -1, 0), false}, 25603384, -25603378, System.identityHashCode(this)); int i2 = W + 49; T = i2 % 128; if (i2 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void a(int i, boolean z) { int i2 = 2 % 2; int i3 = W + 75; T = i3 % 128; Object obj = null; if (i3 % 2 != 0) { obj.hashCode(); throw null; } if (i < 0) { throw new IllegalArgumentException("Bad id: ".concat(String.valueOf(i))); } c(new Object[]{this, new jbe(this, null, i, 1), Boolean.valueOf(z)}, 25603384, -25603378, System.identityHashCode(this)); int i4 = T + 5; W = i4 % 128; if (i4 % 2 == 0) { int i5 = 50 / 0; } } public final boolean e(int i) { int i2 = 2 % 2; int i3 = T + 61; int i4 = i3 % 128; W = i4; int i5 = i3 % 2; if (i >= 0) { int i6 = i4 + 59; T = i6 % 128; return d(i, i6 % 2 != 0 ? 0 : 1); } throw new IllegalArgumentException("Bad id: ".concat(String.valueOf(i))); } /* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost: if (r10 < 0) goto L41; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x002f, code lost: if (r10 < 0) goto L41; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0034, code lost: r1 = r3.getChildFragmentManager(); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0050, code lost: if (((java.lang.Boolean) c(new java.lang.Object[]{r1}, 1273581602, -1273581599, java.lang.System.identityHashCode(r1))).booleanValue() == false) goto L44; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0052, code lost: return true; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private boolean d(int r10, int r11) { /* r9 = this; r0 = 2 int r1 = r0 % r0 r1 = 0 r9.d(r1) r2 = 1 java.lang.Boolean r3 = java.lang.Boolean.valueOf(r2) java.lang.Object[] r3 = new java.lang.Object[]{r9, r3} int r4 = java.lang.System.identityHashCode(r9) r5 = -770007977(0xffffffffd21a9c57, float:-1.6601198E11) r6 = 770007986(0x2de563b2, float:2.607856E-11) c(r3, r5, r6, r4) androidx.fragment.app.Fragment r3 = r9.b if (r3 == 0) goto L53 int r4 = o.yRS.T int r4 = r4 + 111 int r5 = r4 % 128 o.yRS.W = r5 int r4 = r4 % r0 if (r4 != 0) goto L32 r4 = 8 int r4 = r4 / r1 if (r10 >= 0) goto L53 goto L34 L32: if (r10 >= 0) goto L53 L34: o.yRS r1 = r3.getChildFragmentManager() java.lang.Object[] r3 = new java.lang.Object[]{r1} int r1 = java.lang.System.identityHashCode(r1) r4 = 1273581602(0x4be95022, float:3.0580804E7) r5 = -1273581599(0xffffffffb416afe1, float:-1.4033823E-7) java.lang.Object r1 = c(r3, r4, r5, r1) java.lang.Boolean r1 = (java.lang.Boolean) r1 boolean r1 = r1.booleanValue() if (r1 == 0) goto L53 return r2 L53: java.util.ArrayList r4 = r9.Q java.util.ArrayList r5 = r9.S r6 = 0 r3 = r9 r7 = r10 r8 = r11 boolean r10 = r3.e(r4, r5, r6, r7, r8) if (r10 == 0) goto L85 int r11 = o.yRS.T int r11 = r11 + 33 int r1 = r11 % 128 o.yRS.W = r1 int r11 = r11 % r0 if (r11 != 0) goto L73 r9.n = r2 java.util.ArrayList r11 = r9.Q // Catch: java.lang.Throwable -> L80 java.util.ArrayList r0 = r9.S // Catch: java.lang.Throwable -> L80 goto L79 L73: r9.n = r2 java.util.ArrayList r11 = r9.Q // Catch: java.lang.Throwable -> L80 java.util.ArrayList r0 = r9.S // Catch: java.lang.Throwable -> L80 L79: r9.b(r11, r0) // Catch: java.lang.Throwable -> L80 r9.G() goto L85 L80: r10 = move-exception r9.G() throw r10 L85: r9.O() java.lang.Object[] r11 = new java.lang.Object[]{r9} int r0 = java.lang.System.identityHashCode(r9) r1 = 1472855727(0x57c9feaf, float:4.441914E14) r2 = -1472855725(0xffffffffa8360153, float:-1.0103317E-14) c(r11, r1, r2, r0) o.rIZ r11 = r9.k r11.a() return r10 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.d(int, int):boolean"); } public final int t() { int i = 2 % 2; int i2 = T; int i3 = i2 + 123; W = i3 % 128; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } ArrayList arrayList = this.e; if (arrayList != null) { return arrayList.size(); } int i4 = i2 + 103; W = i4 % 128; int i5 = i4 % 2; return 0; } public final HBt c(int i) { int i2 = 2 % 2; int i3 = W + 9; T = i3 % 128; int i4 = i3 % 2; RlT rlT = this.e.get(i); int i5 = W + 39; T = i5 % 128; if (i5 % 2 != 0) { int i6 = 71 / 0; } return rlT; } public final void d(saX sax) { int i = 2 % 2; int i2 = W + 85; T = i2 % 128; Object obj = null; if (i2 % 2 != 0) { throw null; } if (this.c == null) { this.c = new ArrayList<>(); } this.c.add(sax); int i3 = W + 85; T = i3 % 128; if (i3 % 2 == 0) { return; } obj.hashCode(); throw null; } public final void yM_(String str, Bundle bundle) { int i = 2 % 2; int i2 = W + 91; T = i2 % 128; int i3 = i2 % 2; IeS ieS = this.G.get(str); if (ieS != null) { if (ieS.e.a().compareTo(wdQ.IeS.STARTED) >= 0) { int i4 = W + 63; int i5 = i4 % 128; T = i5; int i6 = i4 % 2; int i7 = i5 + 85; W = i7 % 128; int i8 = i7 % 2; int i9 = i5 + 99; W = i9 % 128; if (i9 % 2 == 0) { ieS.b.awo_(str, bundle); throw null; } ieS.b.awo_(str, bundle); b(2); } } this.E.put(str, bundle); b(2); } public final void e(String str) { int i = 2 % 2; int i2 = W + 9; T = i2 % 128; int i3 = i2 % 2; this.E.remove(str); b(2); int i4 = W + 17; T = i4 % 128; int i5 = i4 % 2; } public final void e(String str, InterfaceC16541pFg interfaceC16541pFg, DGn dGn) { wdQ lifecycle; int i = 2 % 2; int i2 = T + 71; W = i2 % 128; if (i2 % 2 == 0) { lifecycle = interfaceC16541pFg.getLifecycle(); int i3 = 50 / 0; if (lifecycle.a() == wdQ.IeS.DESTROYED) { return; } } else { lifecycle = interfaceC16541pFg.getLifecycle(); if (lifecycle.a() == wdQ.IeS.DESTROYED) { return; } } InterfaceC3451axm interfaceC3451axm = new InterfaceC3451axm(this, str, dGn, lifecycle) { // from class: androidx.fragment.app.FragmentManager$6 final yRS a; final DGn c; final String d; final wdQ e; { this.a = this; this.d = str; this.c = dGn; this.e = lifecycle; } @Override // o.InterfaceC3451axm public final void c(InterfaceC16541pFg interfaceC16541pFg2, wdQ.HBt hBt) { Bundle bundle; if (hBt == wdQ.HBt.ON_START && (bundle = (Bundle) ((Map) yRS.c(new Object[]{this.a}, -93423617, 93423641, (int) System.currentTimeMillis())).get(this.d)) != null) { this.c.awo_(this.d, bundle); this.a.e(this.d); } if (hBt == wdQ.HBt.ON_DESTROY) { this.e.a(this); yRS.a(this.a).remove(this.d); } } }; lifecycle.e(interfaceC3451axm); IeS put = this.G.put(str, new IeS(lifecycle, dGn, interfaceC3451axm)); if (put != null) { int i4 = W + 95; T = i4 % 128; int i5 = i4 % 2; put.e.a(put.a); } b(2); } public final void yJ_(Bundle bundle, String str, Fragment fragment) { int i = 2 % 2; int i2 = T + 89; W = i2 % 128; if (i2 % 2 != 0) { if (fragment.mFragmentManager != this) { StringBuilder sb = new StringBuilder("Fragment "); sb.append(fragment); sb.append(" is not currently in the FragmentManager"); c(new IllegalStateException(sb.toString())); int i3 = W + 121; T = i3 % 128; int i4 = i3 % 2; } bundle.putString(str, fragment.mWho); int i5 = W + 17; T = i5 % 128; if (i5 % 2 != 0) { throw null; } return; } yRS yrs = fragment.mFragmentManager; throw null; } public final Fragment yD_(Bundle bundle, String str) { int i = 2 % 2; String string = bundle.getString(str); if (string != null) { Fragment c = c(string); if (c == null) { StringBuilder sb = new StringBuilder("Fragment no longer exists for key "); sb.append(str); sb.append(": unique id "); sb.append(string); c(new IllegalStateException(sb.toString())); int i2 = W + 73; T = i2 % 128; int i3 = i2 % 2; } return c; } int i4 = W + 31; int i5 = i4 % 128; T = i5; if (i4 % 2 != 0) { throw null; } int i6 = i5 + 105; W = i6 % 128; int i7 = i6 % 2; return null; } public static Fragment d(View view) { int i = 2 % 2; int i2 = W + 81; T = i2 % 128; int i3 = i2 % 2; Object tag = view.getTag(IUF.IeS.fragment_container_view_tag); if (tag instanceof Fragment) { return (Fragment) tag; } int i4 = T + 91; W = i4 % 128; if (i4 % 2 == 0) { int i5 = 67 / 0; } return null; } public final void c(FragmentContainerView fragmentContainerView) { Iterator it; int i = 2 % 2; int i2 = T + 59; W = i2 % 128; if (i2 % 2 == 0) { it = this.k.e().iterator(); int i3 = 13 / 0; } else { it = this.k.e().iterator(); } while (it.hasNext()) { zMt next = it.next(); Fragment fragment = next.e; if (fragment.mContainerId == fragmentContainerView.getId()) { int i4 = W + 67; T = i4 % 128; if (i4 % 2 != 0) { View view = fragment.mView; Object obj = null; obj.hashCode(); throw null; } if (fragment.mView != null && fragment.mView.getParent() == null) { fragment.mContainer = fragmentContainerView; next.d(); } } } } public final List r() { int i = 2 % 2; int i2 = T + 57; W = i2 % 128; int i3 = i2 % 2; List d = this.k.d(); int i4 = T + 19; W = i4 % 128; int i5 = i4 % 2; return d; } public final sUv d(Fragment fragment) { int i = 2 % 2; int i2 = T + 93; W = i2 % 128; if (i2 % 2 != 0) { Qps qps = this.w; sUv suv = qps.g.get(fragment.mWho); if (suv == null) { suv = new sUv(); qps.g.put(fragment.mWho, suv); } int i3 = T + 39; W = i3 % 128; int i4 = i3 % 2; return suv; } this.w.g.get(fragment.mWho); Object obj = null; obj.hashCode(); throw null; } private Qps m(Fragment fragment) { int i = 2 % 2; int i2 = T + 15; W = i2 % 128; int i3 = i2 % 2; Qps qps = this.w; Qps qps2 = qps.e.get(fragment.mWho); if (qps2 == null) { qps2 = new Qps(qps.c); qps.e.put(fragment.mWho, qps2); } int i4 = T + 103; W = i4 % 128; int i5 = i4 % 2; return qps2; } public final void b(Fragment fragment) { int i = 2 % 2; int i2 = T + 89; W = i2 % 128; int i3 = i2 % 2; this.w.b(fragment); int i4 = W + 101; T = i4 % 128; int i5 = i4 % 2; } private static /* synthetic */ Object l(Object[] objArr) { yRS yrs = (yRS) objArr[0]; Fragment fragment = (Fragment) objArr[1]; int i = 2 % 2; int i2 = W + 119; T = i2 % 128; int i3 = i2 % 2; yrs.w.a(fragment); int i4 = W + 119; T = i4 % 128; Object obj = null; if (i4 % 2 == 0) { return null; } obj.hashCode(); throw null; } List getActiveFragments() { int i = 2 % 2; int i2 = W + 23; T = i2 % 128; if (i2 % 2 == 0) { return this.k.c(); } this.k.c(); throw null; } public final Fragment.LWm k(Fragment fragment) { Bundle yX_; int i = 2 % 2; int i2 = T + 41; W = i2 % 128; int i3 = i2 % 2; zMt a = this.k.a(fragment.mWho); if (a == null || !a.e.equals(fragment)) { StringBuilder sb = new StringBuilder("Fragment "); sb.append(fragment); sb.append(" is not currently in the FragmentManager"); c(new IllegalStateException(sb.toString())); } if (a.e.mState < 0) { return null; } int i4 = T + 31; W = i4 % 128; if (i4 % 2 == 0) { yX_ = a.yX_(); int i5 = 84 / 0; if (yX_ == null) { return null; } } else { yX_ = a.yX_(); if (yX_ == null) { return null; } } Fragment.LWm lWm = new Fragment.LWm(yX_); int i6 = T + 15; W = i6 % 128; int i7 = i6 % 2; return lWm; } /* JADX WARN: Code restructure failed: missing block: B:8:0x004f, code lost: if (r1 != false) goto L44; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void L() { /* r6 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.yRS.W int r1 = r1 + 115 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 if (r1 != 0) goto L95 o.vjh r1 = r6.q boolean r3 = r1 instanceof o.InterfaceC0940Ryk r4 = 3 if (r3 == 0) goto L34 int r2 = r2 + 121 int r1 = r2 % 128 o.yRS.W = r1 int r2 = r2 % r0 if (r2 != 0) goto L2b o.rIZ r1 = r6.k o.Qps r1 = r1.j() boolean r1 = r1.b r2 = 94 int r2 = r2 / 0 goto L4f L2b: o.rIZ r1 = r6.k o.Qps r1 = r1.j() boolean r1 = r1.b goto L4f L34: android.content.Context r1 = r1.c boolean r1 = r1 instanceof android.app.Activity if (r1 == 0) goto L51 int r1 = o.yRS.W int r1 = r1 + 113 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 o.vjh r1 = r6.q android.content.Context r1 = r1.c android.app.Activity r1 = (android.app.Activity) r1 boolean r1 = r1.isChangingConfigurations() r1 = r1 ^ 1 L4f: if (r1 == 0) goto L86 L51: java.util.Map r1 = r6.h java.util.Collection r1 = r1.values() java.util.Iterator r1 = r1.iterator() L5b: boolean r2 = r1.hasNext() if (r2 == 0) goto L86 java.lang.Object r2 = r1.next() o.IER r2 = (o.IER) r2 java.util.List r2 = r2.e java.util.Iterator r2 = r2.iterator() L6d: boolean r3 = r2.hasNext() if (r3 == 0) goto L5b java.lang.Object r3 = r2.next() java.lang.String r3 = (java.lang.String) r3 o.rIZ r5 = r6.k o.Qps r5 = r5.j() b(r4) r5.c(r3) goto L6d L86: int r1 = o.yRS.W int r1 = r1 + r4 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 if (r1 == 0) goto L94 r0 = 55 int r0 = r0 / 0 L94: return L95: o.vjh r0 = r6.q boolean r0 = r0 instanceof o.InterfaceC0940Ryk r0 = 0 r0.hashCode() throw r0 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.L():void"); } public String toString() { int i = 2 % 2; StringBuilder sb = new StringBuilder(128); sb.append("FragmentManager{"); sb.append(Integer.toHexString(System.identityHashCode(this))); sb.append(" in "); Fragment fragment = this.I; if (fragment != null) { int i2 = T + 63; W = i2 % 128; if (i2 % 2 == 0) { sb.append(fragment.getClass().getSimpleName()); sb.append(UrlTreeKt.componentParamPrefix); sb.append(Integer.toHexString(System.identityHashCode(this.I))); sb.append(UrlTreeKt.componentParamSuffix); Object obj = null; obj.hashCode(); throw null; } sb.append(fragment.getClass().getSimpleName()); sb.append(UrlTreeKt.componentParamPrefix); sb.append(Integer.toHexString(System.identityHashCode(this.I))); sb.append(UrlTreeKt.componentParamSuffix); } else { vjh vjhVar = this.q; if (vjhVar != null) { int i3 = T + 117; W = i3 % 128; int i4 = i3 % 2; sb.append(vjhVar.getClass().getSimpleName()); sb.append(UrlTreeKt.componentParamPrefix); sb.append(Integer.toHexString(System.identityHashCode(this.q))); sb.append(UrlTreeKt.componentParamSuffix); int i5 = W + 61; T = i5 % 128; int i6 = i5 % 2; } else { Object[] objArr = new Object[1]; X((char) (5982 - TextUtils.lastIndexOf("", '0', 0)), TextUtils.getOffsetAfter("", 0), new char[]{55486, 5154, 24457, 44055}, new char[]{28682, 19604, 21350, 49346}, new char[]{0, 0, 0, 0}, objArr); sb.append(((String) objArr[0]).intern()); } } sb.append("}}"); String obj2 = sb.toString(); int i7 = W + 83; T = i7 % 128; int i8 = i7 % 2; return obj2; } public final void e(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) { int size; int size2; StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(" "); String obj = sb.toString(); this.k.c(str, fileDescriptor, printWriter, strArr); ArrayList arrayList = this.j; if (arrayList != null && (size2 = arrayList.size()) > 0) { printWriter.print(str); printWriter.println("Fragments Created Menus:"); for (int i = 0; i < size2; i++) { Fragment fragment = this.j.get(i); printWriter.print(str); printWriter.print(" #"); printWriter.print(i); printWriter.print(": "); printWriter.println(fragment.toString()); } } ArrayList arrayList2 = this.e; if (arrayList2 != null && (size = arrayList2.size()) > 0) { printWriter.print(str); printWriter.println("Back Stack:"); for (int i2 = 0; i2 < size; i2++) { RlT rlT = this.e.get(i2); printWriter.print(str); printWriter.print(" #"); printWriter.print(i2); printWriter.print(": "); printWriter.println(rlT.toString()); rlT.a(obj, printWriter, true); } } printWriter.print(str); StringBuilder sb2 = new StringBuilder("Back Stack Index: "); sb2.append(this.a.get()); printWriter.println(sb2.toString()); synchronized (this.F) { int size3 = this.F.size(); if (size3 > 0) { printWriter.print(str); printWriter.println("Pending Actions:"); for (int i3 = 0; i3 < size3; i3++) { ZqN zqN = this.F.get(i3); printWriter.print(str); printWriter.print(" #"); printWriter.print(i3); printWriter.print(": "); printWriter.println(zqN); } } } printWriter.print(str); printWriter.println("FragmentManager misc state:"); printWriter.print(str); printWriter.print(" mHost="); printWriter.println(this.q); printWriter.print(str); printWriter.print(" mContainer="); printWriter.println(this.i); if (this.I != null) { printWriter.print(str); printWriter.print(" mParent="); printWriter.println(this.I); } printWriter.print(str); printWriter.print(" mCurState="); printWriter.print(this.f); printWriter.print(" mStateSaved="); printWriter.print(this.J); printWriter.print(" mStopped="); printWriter.print(this.N); printWriter.print(" mDestroyed="); printWriter.println(this.m); if (this.u) { printWriter.print(str); printWriter.print(" mNeedMenuInvalidate="); printWriter.println(this.u); } } public final void b(zMt zmt) { int i = 2 % 2; int i2 = T + 43; W = i2 % 128; int i3 = i2 % 2; Fragment fragment = zmt.e; if (fragment.mDeferStart) { if (!(!this.n)) { this.r = true; int i4 = T + 71; W = i4 % 128; if (i4 % 2 == 0) { throw null; } return; } fragment.mDeferStart = false; zmt.a(); } } private void e(Fragment fragment, boolean z) { int i = 2 % 2; ViewGroup yw_ = yw_(fragment); if (yw_ != null && (yw_ instanceof FragmentContainerView)) { ((FragmentContainerView) yw_).setDrawDisappearingViewsLast(!z); int i2 = W + 53; T = i2 % 128; int i3 = i2 % 2; } int i4 = W + 59; T = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:25:0x0067, code lost: if (r2 != null) goto L64; */ /* JADX WARN: Code restructure failed: missing block: B:26:0x006e, code lost: r7 = r7 + 99; o.yRS.T = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x0078, code lost: if (r1.f != 7) goto L67; */ /* JADX WARN: Code restructure failed: missing block: B:28:0x007a, code lost: r2.a(); r1.u = false; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x006c, code lost: if (r2 != null) goto L64; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object n(java.lang.Object[] r7) { /* r0 = 0 r1 = r7[r0] o.yRS r1 = (o.yRS) r1 r2 = 1 r2 = r7[r2] java.lang.Number r2 = (java.lang.Number) r2 int r2 = r2.intValue() r3 = 2 r7 = r7[r3] java.lang.Boolean r7 = (java.lang.Boolean) r7 boolean r7 = r7.booleanValue() int r4 = r3 % r3 o.vjh r4 = r1.q if (r4 != 0) goto L29 r4 = -1 if (r2 != r4) goto L21 goto L29 L21: java.lang.IllegalStateException r7 = new java.lang.IllegalStateException java.lang.String r0 = "No activity" r7.(r0) throw r7 L29: r4 = 0 if (r7 != 0) goto L49 int r7 = o.yRS.W int r5 = r7 + 5 int r6 = r5 % 128 o.yRS.T = r6 int r5 = r5 % r3 if (r5 != 0) goto L46 int r5 = r1.f if (r2 != r5) goto L49 int r7 = r7 + 61 int r0 = r7 % 128 o.yRS.T = r0 int r7 = r7 % r3 if (r7 != 0) goto L45 return r4 L45: throw r4 L46: int r7 = r1.f throw r4 L49: r1.f = r2 o.rIZ r7 = r1.k r7.i() r1.P() boolean r7 = r1.u if (r7 == 0) goto L7f int r7 = o.yRS.W int r2 = r7 + 123 int r5 = r2 % 128 o.yRS.T = r5 int r2 = r2 % r3 if (r2 == 0) goto L6a o.vjh r2 = r1.q r5 = 32 int r5 = r5 / r0 if (r2 == 0) goto L7f goto L6e L6a: o.vjh r2 = r1.q if (r2 == 0) goto L7f L6e: int r7 = r7 + 99 int r5 = r7 % 128 o.yRS.T = r5 int r7 = r7 % r3 int r7 = r1.f r3 = 7 if (r7 != r3) goto L7f r2.a() r1.u = r0 L7f: return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.n(java.lang.Object[]):java.lang.Object"); } private void P() { Iterator it; int i = 2 % 2; int i2 = W + 19; T = i2 % 128; if (i2 % 2 != 0) { it = this.k.e().iterator(); int i3 = 71 / 0; } else { it = this.k.e().iterator(); } while (it.hasNext()) { b(it.next()); } int i4 = T + 45; W = i4 % 128; if (i4 % 2 == 0) { throw null; } } public final zMt e(Fragment fragment) { int i = 2 % 2; zMt a = this.k.a(fragment.mWho); if (a == null) { zMt zmt = new zMt(this.p, this.k, fragment); zmt.b(this.q.c.getClassLoader()); zmt.a = this.f; return zmt; } int i2 = T + 51; int i3 = i2 % 128; W = i3; Object obj = null; if (i2 % 2 == 0) { obj.hashCode(); throw null; } int i4 = i3 + 35; T = i4 % 128; if (i4 % 2 == 0) { return a; } obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:15:0x001a, code lost: o.gFT.a(r6, r6.mPreviousWho); */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0018, code lost: if (r6.mPreviousWho != null) goto L28; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost: if (r6.mPreviousWho != null) goto L28; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final o.zMt a(androidx.fragment.app.Fragment r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.yRS.W int r1 = r1 + 69 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 r2 = 0 if (r1 == 0) goto L16 java.lang.String r1 = r6.mPreviousWho r3 = 4 int r3 = r3 / r2 if (r1 == 0) goto L1f goto L1a L16: java.lang.String r1 = r6.mPreviousWho if (r1 == 0) goto L1f L1a: java.lang.String r1 = r6.mPreviousWho o.gFT.a(r6, r1) L1f: b(r0) o.zMt r1 = r5.e(r6) r6.mFragmentManager = r5 o.rIZ r3 = r5.k r3.b(r1) boolean r3 = r6.mDetached if (r3 != 0) goto L6e o.rIZ r3 = r5.k r3.a(r6) r6.mRemoving = r2 android.view.View r3 = r6.mView if (r3 != 0) goto L47 int r3 = o.yRS.T int r3 = r3 + 83 int r4 = r3 % 128 o.yRS.W = r4 int r3 = r3 % r0 r6.mHiddenChanged = r2 L47: java.lang.Object[] r6 = new java.lang.Object[]{r6} long r2 = java.lang.System.currentTimeMillis() int r2 = (int) r2 r3 = -1300446093(0xffffffffb27cc473, float:-1.4712998E-8) r4 = 1300446103(0x4d833b97, float:2.7521507E8) java.lang.Object r6 = c(r6, r3, r4, r2) java.lang.Boolean r6 = (java.lang.Boolean) r6 boolean r6 = r6.booleanValue() if (r6 == 0) goto L6e int r6 = o.yRS.W int r6 = r6 + 113 int r2 = r6 % 128 o.yRS.T = r2 int r6 = r6 % r0 r6 = 1 r5.u = r6 L6e: return r1 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.a(androidx.fragment.app.Fragment):o.zMt"); } private static /* synthetic */ Object j(Object[] objArr) { yRS yrs = (yRS) objArr[0]; Fragment fragment = (Fragment) objArr[1]; int i = 2 % 2; int i2 = W + 75; T = i2 % 128; if (i2 % 2 == 0 ? b(2) : b(4)) { int i3 = fragment.mBackStackNesting; } boolean isInBackStack = fragment.isInBackStack(); if (fragment.mDetached) { int i4 = W + 87; T = i4 % 128; if (i4 % 2 != 0) { if (!(!isInBackStack)) { return null; } } else if (!(!isInBackStack)) { return null; } } yrs.k.e(fragment); if (((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue()) { yrs.u = true; } fragment.mRemoving = true; c(new Object[]{yrs, fragment}, 1831660647, -1831660624, System.identityHashCode(yrs)); return null; } private void q(Fragment fragment) { int i = 2 % 2; int i2 = T + 21; W = i2 % 128; if (i2 % 2 == 0) { b(3); if (fragment.mHidden) { return; } } else { b(2); if (fragment.mHidden) { return; } } int i3 = T + 107; W = i3 % 128; if (i3 % 2 == 0) { fragment.mHidden = false; fragment.mHiddenChanged = !fragment.mHiddenChanged; c(new Object[]{this, fragment}, 1831660647, -1831660624, System.identityHashCode(this)); } else { fragment.mHidden = true; fragment.mHiddenChanged = !fragment.mHiddenChanged; c(new Object[]{this, fragment}, 1831660647, -1831660624, System.identityHashCode(this)); } } private static void x(Fragment fragment) { int i = 2 % 2; int i2 = T + 125; W = i2 % 128; int i3 = i2 % 2; b(2); if (fragment.mHidden) { fragment.mHidden = false; fragment.mHiddenChanged = !fragment.mHiddenChanged; int i4 = W + 19; T = i4 % 128; int i5 = i4 % 2; } int i6 = W + 97; T = i6 % 128; int i7 = i6 % 2; } private void s(Fragment fragment) { int i = 2 % 2; b(2); if (fragment.mDetached) { return; } int i2 = W + 81; T = i2 % 128; if (i2 % 2 != 0) { fragment.mDetached = false; if (!fragment.mAdded) { return; } } else { fragment.mDetached = true; if (!fragment.mAdded) { return; } } b(2); this.k.e(fragment); if (((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue()) { this.u = true; int i3 = W + 65; T = i3 % 128; int i4 = i3 % 2; } c(new Object[]{this, fragment}, 1831660647, -1831660624, System.identityHashCode(this)); } private static /* synthetic */ Object s(Object[] objArr) { yRS yrs = (yRS) objArr[0]; Fragment fragment = (Fragment) objArr[1]; int i = 2 % 2; b(2); if (!fragment.mDetached) { return null; } int i2 = T + 69; W = i2 % 128; int i3 = i2 % 2; fragment.mDetached = false; if (!(!fragment.mAdded)) { return null; } int i4 = W + 49; T = i4 % 128; if (i4 % 2 != 0) { yrs.k.a(fragment); b(4); if (!((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue()) { return null; } } else { yrs.k.a(fragment); b(2); if (!((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue()) { return null; } } int i5 = W + 101; T = i5 % 128; int i6 = i5 % 2; yrs.u = true; return null; } public Fragment findFragmentById(int i) { int i2 = 2 % 2; int i3 = T + 13; W = i3 % 128; int i4 = i3 % 2; Fragment c = this.k.c(i); int i5 = T + 67; W = i5 % 128; if (i5 % 2 == 0) { int i6 = 96 / 0; } return c; } public Fragment findFragmentByTag(String str) { int i = 2 % 2; int i2 = W + 65; T = i2 % 128; if (i2 % 2 == 0) { return this.k.d(str); } int i3 = 91 / 0; return this.k.d(str); } public final Fragment b(String str) { int i = 2 % 2; int i2 = W + 49; T = i2 % 128; int i3 = i2 % 2; Fragment b = this.k.b(str); int i4 = T + 65; W = i4 % 128; if (i4 % 2 != 0) { return b; } Object obj = null; obj.hashCode(); throw null; } public final Fragment c(String str) { int i = 2 % 2; int i2 = W + 21; T = i2 % 128; if (i2 % 2 == 0) { return this.k.c(str); } int i3 = 27 / 0; return this.k.c(str); } private void F() { int i = 2 % 2; int i2 = T + 115; W = i2 % 128; int i3 = i2 % 2; if (A()) { throw new IllegalStateException("Can not perform this action after onSaveInstanceState"); } int i4 = W + 57; T = i4 % 128; if (i4 % 2 != 0) { int i5 = 31 / 0; } } private static /* synthetic */ Object i(Object[] objArr) { yRS yrs = (yRS) objArr[0]; ZqN zqN = (ZqN) objArr[1]; boolean booleanValue = ((Boolean) objArr[2]).booleanValue(); if (!booleanValue) { if (yrs.q == null) { if (yrs.m) { throw new IllegalStateException("FragmentManager has been destroyed"); } throw new IllegalStateException("FragmentManager has not been attached to a host."); } yrs.F(); } synchronized (yrs.F) { if (yrs.q == null) { if (booleanValue) { return null; } throw new IllegalStateException("Activity has been destroyed"); } yrs.F.add(zqN); yrs.U(); return null; } } private void U() { synchronized (this.F) { if (this.F.size() == 1) { this.q.a.removeCallbacks(this.f9320o); this.q.a.post(this.f9320o); O(); } } } public final int c() { int i = 2 % 2; int i2 = T + 111; W = i2 % 128; if (i2 % 2 != 0) { return this.a.getAndIncrement(); } this.a.getAndIncrement(); throw null; } private static /* synthetic */ Object g(Object[] objArr) { yRS yrs = (yRS) objArr[0]; boolean booleanValue = ((Boolean) objArr[1]).booleanValue(); int i = 2 % 2; if (yrs.n) { throw new IllegalStateException("FragmentManager is already executing transactions"); } if (yrs.q == null) { int i2 = W + 25; T = i2 % 128; int i3 = i2 % 2; if (yrs.m) { throw new IllegalStateException("FragmentManager has been destroyed"); } throw new IllegalStateException("FragmentManager has not been attached to a host."); } if (Looper.myLooper() != yrs.q.a.getLooper()) { throw new IllegalStateException("Must be called from main thread of fragment host"); } int i4 = T + 63; W = i4 % 128; int i5 = i4 % 2; if (!booleanValue) { yrs.F(); int i6 = W + 53; T = i6 % 128; int i7 = i6 % 2; } if (yrs.Q != null) { return null; } yrs.Q = new ArrayList<>(); yrs.S = new ArrayList<>(); return null; } public final void e(ZqN zqN, boolean z) { int i = 2 % 2; int i2 = T; int i3 = i2 + 95; W = i3 % 128; int i4 = i3 % 2; if (z) { if (this.q == null) { return; } int i5 = i2 + 17; W = i5 % 128; int i6 = i5 % 2; if (this.m) { return; } } c(new Object[]{this, Boolean.valueOf(z)}, -770007977, 770007986, System.identityHashCode(this)); if (zqN.e(this.Q, this.S)) { this.n = true; try { b(this.Q, this.S); } finally { G(); } } O(); c(new Object[]{this}, 1472855727, -1472855725, System.identityHashCode(this)); this.k.a(); } private void G() { int i = 2 % 2; int i2 = W + 77; T = i2 % 128; int i3 = i2 % 2; this.n = false; this.S.clear(); this.Q.clear(); int i4 = W + 5; T = i4 % 128; int i5 = i4 % 2; } public final boolean d(boolean z) { int i = 2 % 2; int i2 = W + 89; T = i2 % 128; int i3 = i2 % 2; c(new Object[]{this, Boolean.valueOf(z)}, -770007977, 770007986, System.identityHashCode(this)); boolean z2 = false; while (c(this.Q, this.S)) { int i4 = W + 65; T = i4 % 128; int i5 = i4 % 2; z2 = true; this.n = true; try { b(this.Q, this.S); G(); int i6 = W + 63; T = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { G(); throw th; } } O(); c(new Object[]{this}, 1472855727, -1472855725, System.identityHashCode(this)); this.k.a(); return z2; } private void b(ArrayList arrayList, ArrayList arrayList2) { int i = 2 % 2; if (arrayList.isEmpty()) { return; } if (arrayList.size() != arrayList2.size()) { throw new IllegalStateException("Internal error with the back stack records"); } int size = arrayList.size(); int i2 = T + 29; W = i2 % 128; int i3 = i2 % 2; int i4 = 0; int i5 = 0; while (i4 < size) { if (!arrayList.get(i4).r) { if (i5 != i4) { e(arrayList, arrayList2, i5, i4); } i5 = i4 + 1; if (arrayList2.get(i4).booleanValue()) { while (i5 < size) { int i6 = T + 119; W = i6 % 128; int i7 = i6 % 2; if (!arrayList2.get(i5).booleanValue() || arrayList.get(i5).r) { break; } else { i5++; } } } e(arrayList, arrayList2, i4, i5); i4 = i5 - 1; } i4++; } if (i5 != size) { int i8 = T + 71; W = i8 % 128; if (i8 % 2 != 0) { e(arrayList, arrayList2, i5, size); } else { e(arrayList, arrayList2, i5, size); int i9 = 4 / 0; } } } /* JADX WARN: Removed duplicated region for block: B:131:0x0246 */ /* JADX WARN: Removed duplicated region for block: B:158:0x02f1 A[LOOP:9: B:156:0x02eb->B:158:0x02f1, LOOP_END] */ /* JADX WARN: Removed duplicated region for block: B:161:0x0302 */ /* JADX WARN: Removed duplicated region for block: B:172:0x0322 */ /* JADX WARN: Removed duplicated region for block: B:175:0x0331 A[RETURN] */ /* JADX WARN: Removed duplicated region for block: B:176:0x0332 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void e(java.util.ArrayList r19, java.util.ArrayList r20, int r21, int r22) { /* Method dump skipped, instructions count: 834 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.e(java.util.ArrayList, java.util.ArrayList, int, int):void"); } private static /* synthetic */ Object m(Object[] objArr) { yRS yrs = (yRS) objArr[0]; ArrayList arrayList = (ArrayList) objArr[1]; int intValue = ((Number) objArr[3]).intValue(); int i = 2 % 2; HashSet hashSet = new HashSet(); int i2 = W + 107; T = i2 % 128; int i3 = i2 % 2; for (int intValue2 = ((Number) objArr[2]).intValue(); intValue2 < intValue; intValue2++) { Iterator it = ((RlT) arrayList.get(intValue2)).k.iterator(); while (!(!it.hasNext())) { int i4 = T + 61; W = i4 % 128; int i5 = i4 % 2; Fragment fragment = it.next().d; if (fragment != null) { int i6 = T + 85; W = i6 % 128; if (i6 % 2 == 0) { ViewGroup viewGroup = fragment.mContainer; throw null; } ViewGroup viewGroup2 = fragment.mContainer; if (viewGroup2 != null) { hashSet.add(AbstractC17389wOZ.zi_(viewGroup2, yrs.v())); } } } } return hashSet; } /* JADX WARN: Failed to find 'out' block for switch in B:49:0x017f. Please report as an issue. */ /* JADX WARN: Multi-variable type inference failed */ private static /* synthetic */ Object p(Object[] objArr) { int i; boolean z; ArrayList arrayList = (ArrayList) objArr[0]; int i2 = 1; ArrayList arrayList2 = (ArrayList) objArr[1]; int i3 = 2; int intValue = ((Number) objArr[2]).intValue(); int intValue2 = ((Number) objArr[3]).intValue(); int i4 = 2 % 2; while (true) { Fragment fragment = null; if (intValue >= intValue2) { int i5 = W + 119; T = i5 % 128; if (i5 % 2 == 0) { return null; } throw null; } int i6 = W + 115; T = i6 % 128; int i7 = i6 % i3; RlT rlT = (RlT) arrayList.get(intValue); if (((Boolean) arrayList2.get(intValue)).booleanValue() != i2) { rlT.b(i2); int size = rlT.k.size(); int i8 = 0; while (i8 < size) { AbstractC13482fbE.RVV rvv = rlT.k.get(i8); Fragment fragment2 = rvv.d; if (fragment2 != null) { boolean z2 = rlT.c; fragment2.mBeingSaved = false; fragment2.setPopDirection(false); fragment2.setNextTransition(rlT.q); fragment2.setSharedElementNames(rlT.p, rlT.s); } switch (rvv.e) { case 1: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); rlT.e.e(fragment2, false); rlT.e.a(fragment2); break; case 2: default: StringBuilder sb = new StringBuilder("Unknown cmd: "); sb.append(rvv.e); throw new IllegalArgumentException(sb.toString()); case 3: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); yRS yrs = rlT.e; c(new Object[]{yrs, fragment2}, 860531721, -860531714, System.identityHashCode(yrs)); int i9 = T + 101; W = i9 % 128; if (i9 % 2 != 0) { break; } else { int i10 = 5 / 2; break; } case 4: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); rlT.e.q(fragment2); break; case 5: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); rlT.e.e(fragment2, false); yRS yrs2 = rlT.e; x(fragment2); break; case 6: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); rlT.e.s(fragment2); break; case 7: fragment2.setAnimations(rvv.b, rvv.c, rvv.h, rvv.j); rlT.e.e(fragment2, false); yRS yrs3 = rlT.e; c(new Object[]{yrs3, fragment2}, -1804435732, 1804435751, System.identityHashCode(yrs3)); int i11 = W + 75; T = i11 % 128; int i12 = i11 % 2; break; case 8: rlT.e.y(fragment2); break; case 9: rlT.e.y(fragment); break; case 10: rlT.e.a(fragment2, rvv.a); break; } i8++; i2 = 1; fragment = null; } i = i2; } else { rlT.b(-1); boolean z3 = 1; int size2 = rlT.k.size() - 1; while (size2 >= 0) { AbstractC13482fbE.RVV rvv2 = rlT.k.get(size2); Fragment fragment3 = rvv2.d; if (fragment3 != null) { boolean z4 = rlT.c; fragment3.mBeingSaved = false; fragment3.setPopDirection(z3); fragment3.setNextTransition(h(rlT.q)); fragment3.setSharedElementNames(rlT.s, rlT.p); } switch (rvv2.e) { case 1: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); z = true; rlT.e.e(fragment3, true); yRS yrs4 = rlT.e; c(new Object[]{yrs4, fragment3}, 860531721, -860531714, System.identityHashCode(yrs4)); size2--; z3 = z; case 2: default: StringBuilder sb2 = new StringBuilder("Unknown cmd: "); sb2.append(rvv2.e); throw new IllegalArgumentException(sb2.toString()); case 3: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); rlT.e.a(fragment3); z = true; size2--; z3 = z; case 4: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); yRS yrs5 = rlT.e; x(fragment3); z = true; size2--; z3 = z; case 5: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); rlT.e.e(fragment3, true); rlT.e.q(fragment3); z = true; size2--; z3 = z; case 6: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); yRS yrs6 = rlT.e; c(new Object[]{yrs6, fragment3}, -1804435732, 1804435751, System.identityHashCode(yrs6)); z = true; size2--; z3 = z; case 7: fragment3.setAnimations(rvv2.b, rvv2.c, rvv2.h, rvv2.j); rlT.e.e(fragment3, true); rlT.e.s(fragment3); z = true; size2--; z3 = z; case 8: rlT.e.y((Fragment) null); z = true; size2--; z3 = z; case 9: rlT.e.y(fragment3); z = true; size2--; z3 = z; case 10: rlT.e.a(fragment3, rvv2.g); z = true; size2--; z3 = z; } } i = z3; } intValue++; i2 = i; i3 = 2; } } private static /* synthetic */ Object v(Object[] objArr) { yRS yrs = (yRS) objArr[0]; Fragment fragment = (Fragment) objArr[1]; int i = 2 % 2; int i2 = W + 3; T = i2 % 128; int i3 = i2 % 2; ViewGroup yw_ = yrs.yw_(fragment); if (yw_ != null) { int i4 = T + 57; W = i4 % 128; if (i4 % 2 != 0 ? fragment.getEnterAnim() + fragment.getExitAnim() + fragment.getPopEnterAnim() + fragment.getPopExitAnim() > 0 : ((fragment.getEnterAnim() - fragment.getExitAnim()) * fragment.getPopEnterAnim()) / fragment.getPopExitAnim() > 0) { if (yw_.getTag(IUF.IeS.visible_removing_fragment_view_tag) == null) { int i5 = T + 61; W = i5 % 128; if (i5 % 2 != 0) { yw_.setTag(IUF.IeS.visible_removing_fragment_view_tag, fragment); } else { yw_.setTag(IUF.IeS.visible_removing_fragment_view_tag, fragment); throw null; } } ((Fragment) yw_.getTag(IUF.IeS.visible_removing_fragment_view_tag)).setPopDirection(fragment.getPopDirection()); } } return null; } private ViewGroup yw_(Fragment fragment) { int i = 2 % 2; int i2 = W + 53; T = i2 % 128; int i3 = i2 % 2; if (fragment.mContainer != null) { return fragment.mContainer; } if (fragment.mContainerId > 0) { if (this.i.c()) { View b = this.i.b(fragment.mContainerId); if (b instanceof ViewGroup) { return (ViewGroup) b; } } return null; } int i4 = T + 29; W = i4 % 128; int i5 = i4 % 2; return null; } private void N() { int i = 2 % 2; for (AbstractC17389wOZ abstractC17389wOZ : K()) { int i2 = T + 7; W = i2 % 128; int i3 = i2 % 2; if (abstractC17389wOZ.e) { int i4 = T + 119; W = i4 % 128; int i5 = i4 % 2; b(2); abstractC17389wOZ.e = false; abstractC17389wOZ.a(); int i6 = W + 77; T = i6 % 128; int i7 = i6 % 2; } } } private void M() { int i = 2 % 2; Iterator it = K().iterator(); int i2 = W + 63; T = i2 % 128; if (i2 % 2 != 0) { int i3 = 5 / 2; } while (it.hasNext()) { int i4 = W + 59; T = i4 % 128; if (i4 % 2 != 0) { it.next().d(); int i5 = 91 / 0; } else { it.next().d(); } } } private Set K() { ViewGroup viewGroup; int i = 2 % 2; HashSet hashSet = new HashSet(); Iterator it = this.k.e().iterator(); while (it.hasNext()) { int i2 = W + 75; T = i2 % 128; if (i2 % 2 != 0) { viewGroup = it.next().e.mContainer; int i3 = 46 / 0; if (viewGroup != null) { hashSet.add(AbstractC17389wOZ.zi_(viewGroup, v())); int i4 = T + 9; W = i4 % 128; int i5 = i4 % 2; } } else { viewGroup = it.next().e.mContainer; if (viewGroup != null) { hashSet.add(AbstractC17389wOZ.zi_(viewGroup, v())); int i42 = T + 9; W = i42 % 128; int i52 = i42 % 2; } } } return hashSet; } private boolean c(ArrayList arrayList, ArrayList arrayList2) { synchronized (this.F) { if (this.F.isEmpty()) { return false; } try { int size = this.F.size(); boolean z = false; for (int i = 0; i < size; i++) { z |= this.F.get(i).e(arrayList, arrayList2); } return z; } finally { this.F.clear(); this.q.a.removeCallbacks(this.f9320o); } } } private static /* synthetic */ Object a(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int i = 2 % 2; int i2 = T + 43; W = i2 % 128; Object obj = null; if (i2 % 2 == 0) { boolean z = yrs.r; obj.hashCode(); throw null; } if (yrs.r) { yrs.r = false; yrs.P(); int i3 = T + 119; W = i3 % 128; int i4 = i3 % 2; } return null; } private void Q() { int i = 2 % 2; if (this.c != null) { int i2 = W + 33; T = i2 % 128; int i3 = i2 % 2; int i4 = 0; while (i4 < this.c.size()) { int i5 = T + 123; W = i5 % 128; if (i5 % 2 == 0) { this.c.get(i4).a(); i4 += 28; } else { this.c.get(i4).a(); i4++; } } } } public final void b(RlT rlT) { int i = 2 % 2; int i2 = W + 17; T = i2 % 128; if (i2 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (this.e == null) { this.e = new ArrayList<>(); } this.e.add(rlT); int i3 = T + 105; W = i3 % 128; if (i3 % 2 == 0) { int i4 = 24 / 0; } } final boolean e(ArrayList arrayList, ArrayList arrayList2, String str, int i, int i2) { boolean z; int i3 = 2 % 2; if ((i2 & 1) != 0) { int i4 = T + 121; W = i4 % 128; int i5 = i4 % 2; z = true; } else { z = false; } int a = a(str, i, z); if (a >= 0) { for (int size = this.e.size() - 1; size >= a; size--) { arrayList.add(this.e.remove(size)); arrayList2.add(Boolean.TRUE); } int i6 = W + 103; T = i6 % 128; if (i6 % 2 == 0) { return true; } throw null; } int i7 = T; int i8 = i7 + 103; W = i8 % 128; int i9 = i8 % 2; int i10 = i7 + 121; W = i10 % 128; int i11 = i10 % 2; return false; } /* JADX WARN: Code restructure failed: missing block: B:28:0x007c, code lost: if (r8 != null) goto L103; */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0093, code lost: if (r9 < 0) goto L127; */ /* JADX WARN: Code restructure failed: missing block: B:31:0x0097, code lost: if (r9 != r10.b) goto L128; */ /* JADX WARN: Code restructure failed: missing block: B:33:?, code lost: return r1; */ /* JADX WARN: Code restructure failed: missing block: B:35:0x0099, code lost: r1 = r1 - 1; r10 = o.yRS.W + 39; o.yRS.T = r10 % 128; r10 = r10 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:37:?, code lost: return r1; */ /* JADX WARN: Code restructure failed: missing block: B:39:0x0091, code lost: if (r8.equals(r10.m) != false) goto L129; */ /* JADX WARN: Code restructure failed: missing block: B:40:0x0099, code lost: continue; */ /* JADX WARN: Code restructure failed: missing block: B:42:0x0089, code lost: if (r8 != null) goto L103; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private int a(java.lang.String r8, int r9, boolean r10) { /* r7 = this; r0 = 2 int r1 = r0 % r0 java.util.ArrayList r1 = r7.e r2 = -1 if (r1 == 0) goto Lc6 boolean r1 = r1.isEmpty() if (r1 != 0) goto Lc6 int r1 = o.yRS.T int r1 = r1 + 97 int r3 = r1 % 128 o.yRS.W = r3 int r1 = r1 % r0 r3 = 0 if (r1 == 0) goto Lc2 if (r8 != 0) goto L2b if (r9 >= 0) goto L2b if (r10 == 0) goto L22 r8 = 0 return r8 L22: java.util.ArrayList r8 = r7.e int r8 = r8.size() int r8 = r8 + (-1) return r8 L2b: java.util.ArrayList r1 = r7.e int r1 = r1.size() int r1 = r1 + (-1) L33: if (r1 < 0) goto L62 java.util.ArrayList r4 = r7.e java.lang.Object r4 = r4.get(r1) o.RlT r4 = (o.RlT) r4 if (r8 == 0) goto L50 int r5 = o.yRS.W int r5 = r5 + 7 int r6 = r5 % 128 o.yRS.T = r6 int r5 = r5 % r0 java.lang.String r5 = r4.m boolean r5 = r8.equals(r5) if (r5 != 0) goto L62 L50: if (r9 < 0) goto L56 int r4 = r4.b if (r9 == r4) goto L62 L56: int r1 = r1 + (-1) int r4 = o.yRS.T int r4 = r4 + 109 int r5 = r4 % 128 o.yRS.W = r5 int r4 = r4 % r0 goto L33 L62: if (r1 >= 0) goto L65 return r1 L65: if (r10 == 0) goto La5 L67: if (r1 <= 0) goto Lc1 int r10 = o.yRS.W int r10 = r10 + 65 int r2 = r10 % 128 o.yRS.T = r2 int r10 = r10 % r0 if (r10 == 0) goto L7f java.util.ArrayList r10 = r7.e java.lang.Object r10 = r10.get(r1) o.RlT r10 = (o.RlT) r10 if (r8 == 0) goto L93 goto L8b L7f: java.util.ArrayList r10 = r7.e int r2 = r1 + (-1) java.lang.Object r10 = r10.get(r2) o.RlT r10 = (o.RlT) r10 if (r8 == 0) goto L93 L8b: java.lang.String r2 = r10.m boolean r2 = r8.equals(r2) if (r2 != 0) goto L99 L93: if (r9 < 0) goto Lc1 int r10 = r10.b if (r9 != r10) goto Lc1 L99: int r1 = r1 + (-1) int r10 = o.yRS.W int r10 = r10 + 39 int r2 = r10 % 128 o.yRS.T = r2 int r10 = r10 % r0 goto L67 La5: java.util.ArrayList r8 = r7.e int r8 = r8.size() int r8 = r8 + (-1) if (r1 != r8) goto Lbf int r8 = o.yRS.T int r8 = r8 + 123 int r9 = r8 % 128 o.yRS.W = r9 int r8 = r8 % r0 if (r8 == 0) goto Lbb return r2 Lbb: r3.hashCode() throw r3 Lbf: int r1 = r1 + 1 Lc1: return r1 Lc2: r3.hashCode() throw r3 Lc6: return r2 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.a(java.lang.String, int, boolean):int"); } private static /* synthetic */ Object e(Object[] objArr) { FRM[] frmArr; int size; int i = 0; yRS yrs = (yRS) objArr[0]; int i2 = 2 % 2; Bundle bundle = new Bundle(); yrs.N(); yrs.M(); yrs.d(true); yrs.J = true; yrs.w.a = true; C16788rIZ c16788rIZ = yrs.k; ArrayList arrayList = (ArrayList) C16788rIZ.b(new Object[]{c16788rIZ}, -238920329, 238920333, System.identityHashCode(c16788rIZ)); ArrayList b = yrs.k.b(); if (b.isEmpty()) { int i3 = W + 117; T = i3 % 128; int i4 = i3 % 2; b(2); } else { ArrayList f = yrs.k.f(); ArrayList arrayList2 = yrs.e; if (arrayList2 == null || (size = arrayList2.size()) <= 0) { frmArr = null; } else { frmArr = new FRM[size]; while (i < size) { frmArr[i] = new FRM(yrs.e.get(i)); if (b(2)) { yrs.e.get(i); } i++; int i5 = T + 67; W = i5 % 128; int i6 = i5 % 2; } } UWv uWv = new UWv(); uWv.c = arrayList; uWv.b = f; uWv.a = frmArr; uWv.e = yrs.a.get(); Fragment fragment = yrs.b; if (fragment != null) { uWv.g = fragment.mWho; } uWv.d.addAll(yrs.h.keySet()); uWv.i.addAll(yrs.h.values()); uWv.j = new ArrayList<>(yrs.d); bundle.putParcelable(CommonConstant.ReqAccessTokenParam.STATE_LABEL, uWv); for (String str : yrs.E.keySet()) { bundle.putBundle("result_".concat(String.valueOf(str)), yrs.E.get(str)); int i7 = T + 73; W = i7 % 128; int i8 = i7 % 2; } Iterator it = b.iterator(); while (it.hasNext()) { mbI next = it.next(); Bundle bundle2 = new Bundle(); bundle2.putParcelable(CommonConstant.ReqAccessTokenParam.STATE_LABEL, next); StringBuilder sb = new StringBuilder("fragment_"); sb.append(next.n); bundle.putBundle(sb.toString(), bundle2); } } return bundle; } public final void yK_(Parcelable parcelable) { int i; zMt zmt; Bundle bundle; Bundle bundle2; int i2 = 2 % 2; int i3 = T + 97; W = i3 % 128; int i4 = i3 % 2; if (parcelable == null) { return; } Bundle bundle3 = (Bundle) parcelable; for (String str : bundle3.keySet()) { if (str.startsWith("result_") && (bundle2 = bundle3.getBundle(str)) != null) { bundle2.setClassLoader(this.q.c.getClassLoader()); this.E.put(str.substring(7), bundle2); } } ArrayList arrayList = new ArrayList<>(); Iterator it = bundle3.keySet().iterator(); while (true) { if (!it.hasNext()) { break; } String next = it.next(); if (next.startsWith("fragment_") && (bundle = bundle3.getBundle(next)) != null) { int i5 = T + 113; W = i5 % 128; if (i5 % 2 == 0) { bundle.setClassLoader(this.q.c.getClassLoader()); arrayList.add((mbI) bundle.getParcelable(CommonConstant.ReqAccessTokenParam.STATE_LABEL)); int i6 = 13 / 0; } else { bundle.setClassLoader(this.q.c.getClassLoader()); arrayList.add((mbI) bundle.getParcelable(CommonConstant.ReqAccessTokenParam.STATE_LABEL)); } } } this.k.d(arrayList); UWv uWv = (UWv) bundle3.getParcelable(CommonConstant.ReqAccessTokenParam.STATE_LABEL); if (uWv == null) { return; } C16788rIZ c16788rIZ = this.k; C16788rIZ.b(new Object[]{c16788rIZ}, 1411844715, -1411844713, System.identityHashCode(c16788rIZ)); Iterator it2 = uWv.c.iterator(); while (it2.hasNext()) { int i7 = T + 43; W = i7 % 128; int i8 = i7 % 2; mbI d = this.k.d(it2.next(), null); if (d != null) { int i9 = T + 123; W = i9 % 128; int i10 = i9 % 2; Fragment fragment = this.w.d.get(d.n); if (fragment != null) { b(2); zmt = new zMt(this.p, this.k, fragment, d); } else { zmt = new zMt(this.p, this.k, this.q.c.getClassLoader(), p(), d); int i11 = T + 93; W = i11 % 128; int i12 = i11 % 2; } Fragment fragment2 = zmt.e; fragment2.mFragmentManager = this; if (b(2)) { int i13 = T + 39; W = i13 % 128; int i14 = i13 % 2; String str2 = fragment2.mWho; } zmt.b(this.q.c.getClassLoader()); this.k.b(zmt); zmt.a = this.f; } } for (Fragment fragment3 : new ArrayList(this.w.d.values())) { if (!this.k.e(fragment3.mWho)) { int i15 = T + 49; W = i15 % 128; int i16 = i15 % 2; if (b(2)) { int i17 = T + 77; W = i17 % 128; int i18 = i17 % 2; ArrayList arrayList2 = uWv.c; } this.w.a(fragment3); fragment3.mFragmentManager = this; zMt zmt2 = new zMt(this.p, this.k, fragment3); zmt2.a = 1; zmt2.a(); fragment3.mRemoving = true; zmt2.a(); } } C16788rIZ c16788rIZ2 = this.k; C16788rIZ.b(new Object[]{c16788rIZ2, uWv.b}, 1966867651, -1966867648, System.identityHashCode(c16788rIZ2)); if (uWv.a != null) { this.e = new ArrayList<>(uWv.a.length); for (int i19 = 0; i19 < uWv.a.length; i19++) { int i20 = W + 71; T = i20 % 128; int i21 = i20 % 2; RlT c = uWv.a[i19].c(this); if (b(2)) { int i22 = c.b; PrintWriter printWriter = new PrintWriter(new ico("FragmentManager")); c.a(" ", printWriter, false); printWriter.close(); } this.e.add(c); } } else { this.e = null; } this.a.set(uWv.e); if (uWv.g != null) { Fragment c2 = c(uWv.g); this.b = c2; l(c2); } ArrayList arrayList3 = uWv.d; if (arrayList3 != null) { for (i = 0; i < arrayList3.size(); i++) { this.h.put(arrayList3.get(i), uWv.i.get(i)); } } this.d = new ArrayDeque<>(uWv.j); } /* JADX WARN: Multi-variable type inference failed */ private static /* synthetic */ Object q(Object[] objArr) { String str; yRS yrs = (yRS) objArr[0]; vjh vjhVar = (vjh) objArr[1]; wTJ wtj = (wTJ) objArr[2]; Fragment fragment = (Fragment) objArr[3]; int i = 2 % 2; int i2 = T + 119; int i3 = i2 % 128; W = i3; int i4 = i2 % 2; if (yrs.q != null) { throw new IllegalStateException("Already attached"); } int i5 = i3 + 21; T = i5 % 128; int i6 = i5 % 2; yrs.q = vjhVar; yrs.i = wtj; yrs.I = fragment; if (fragment != null) { yrs.a(new gxQ(yrs, fragment) { // from class: o.yRS.10 final Fragment d; final yRS e; AnonymousClass10(yRS yrs2, Fragment fragment2) { this.e = yrs2; this.d = fragment2; } @Override // o.gxQ public final void d(yRS yrs2, Fragment fragment2) { this.d.onAttachFragment(fragment2); } }); } else if (vjhVar instanceof gxQ) { yrs2.a((gxQ) vjhVar); } if (yrs2.I != null) { yrs2.O(); } if (vjhVar instanceof NHB) { NHB nhb = (NHB) vjhVar; OnBackPressedDispatcher onBackPressedDispatcher = nhb.getOnBackPressedDispatcher(); yrs2.z = onBackPressedDispatcher; InterfaceC16541pFg interfaceC16541pFg = nhb; if (fragment2 != null) { interfaceC16541pFg = fragment2; } onBackPressedDispatcher.d(interfaceC16541pFg, yrs2.x); } if (fragment2 != null) { yrs2.w = fragment2.mFragmentManager.m(fragment2); int i7 = T + 93; W = i7 % 128; int i8 = i7 % 2; } else if (vjhVar instanceof InterfaceC0940Ryk) { yrs2.w = Qps.b(((InterfaceC0940Ryk) vjhVar).getViewModelStore()); } else { yrs2.w = new Qps(false); } yrs2.w.a = yrs2.A(); yrs2.k.e(yrs2.w); Object obj = yrs2.q; Object obj2 = null; if (obj instanceof InterfaceC9254dgJ) { int i9 = T + 19; W = i9 % 128; if (i9 % 2 == 0) { obj2.hashCode(); throw null; } if (fragment2 == null) { FNE savedStateRegistry = ((InterfaceC9254dgJ) obj).getSavedStateRegistry(); savedStateRegistry.a("android:support:fragments", new FNE.Sts(yrs2) { // from class: o.ceO public final yRS d; @Override // o.FNE.Sts public final Bundle AK_() { return this.d.yF_(); } { this.d = yrs2; } }); Bundle AH_ = savedStateRegistry.AH_("android:support:fragments"); if (AH_ != null) { yrs2.yK_(AH_); } } } Object obj3 = yrs2.q; if (obj3 instanceof mxa) { int i10 = W + 109; T = i10 % 128; if (i10 % 2 != 0) { ((mxa) obj3).getActivityResultRegistry(); throw null; } CeN activityResultRegistry = ((mxa) obj3).getActivityResultRegistry(); if (fragment2 != null) { StringBuilder sb = new StringBuilder(); sb.append(fragment2.mWho); sb.append(":"); str = sb.toString(); } else { int i11 = T + 91; W = i11 % 128; int i12 = i11 % 2; str = ""; } String concat = "FragmentManager:".concat(String.valueOf(str)); StringBuilder sb2 = new StringBuilder(); sb2.append(concat); sb2.append("StartActivityForResult"); yrs2.L = activityResultRegistry.e(sb2.toString(), new C11560ehe.Sts(), new InterfaceC0834Plv(yrs2) { // from class: o.yRS.9 final yRS c; AnonymousClass9(yRS yrs2) { this.c = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Heg heg) { Heg heg2 = heg; RVV pollFirst = this.c.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i13 = pollFirst.c; Fragment b = yRS.b(this.c).b(str2); if (b != null) { b.onActivityResult(i13, heg2.e, heg2.b); } } } }); StringBuilder sb3 = new StringBuilder(); sb3.append(concat); sb3.append("StartIntentSenderForResult"); yrs2.M = activityResultRegistry.e(sb3.toString(), new Sts(), new InterfaceC0834Plv(yrs2) { // from class: o.yRS.6 final yRS b; AnonymousClass6(yRS yrs2) { this.b = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Heg heg) { Heg heg2 = heg; RVV pollFirst = this.b.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i13 = pollFirst.c; Fragment b = yRS.b(this.b).b(str2); if (b != null) { b.onActivityResult(i13, heg2.e, heg2.b); } } } }); StringBuilder sb4 = new StringBuilder(); sb4.append(concat); sb4.append("RequestPermissions"); yrs2.H = activityResultRegistry.e(sb4.toString(), new C11560ehe.HBt(), new InterfaceC0834Plv>(yrs2) { // from class: o.yRS.1 final yRS e; AnonymousClass1(yRS yrs2) { this.e = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Map map) { Map map2 = map; String[] strArr = (String[]) map2.keySet().toArray(new String[0]); ArrayList arrayList = new ArrayList(map2.values()); int[] iArr = new int[arrayList.size()]; for (int i13 = 0; i13 < arrayList.size(); i13++) { iArr[i13] = ((Boolean) arrayList.get(i13)).booleanValue() ? 0 : -1; } RVV pollFirst = this.e.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i14 = pollFirst.c; Fragment b = yRS.b(this.e).b(str2); if (b != null) { b.onRequestPermissionsResult(i14, strArr, iArr); } } } }); } Object obj4 = yrs2.q; if (obj4 instanceof VYa) { ((VYa) obj4).addOnConfigurationChangedListener(yrs2.D); } Object obj5 = yrs2.q; if (obj5 instanceof InterfaceC16139lbS) { int i13 = T + 47; W = i13 % 128; if (i13 % 2 == 0) { ((InterfaceC16139lbS) obj5).addOnTrimMemoryListener(yrs2.A); throw null; } ((InterfaceC16139lbS) obj5).addOnTrimMemoryListener(yrs2.A); } Object obj6 = yrs2.q; if (obj6 instanceof InterfaceC17396wQp) { ((InterfaceC17396wQp) obj6).addOnMultiWindowModeChangedListener(yrs2.B); } Object obj7 = yrs2.q; if (obj7 instanceof WDF) { int i14 = T + 105; W = i14 % 128; if (i14 % 2 == 0) { ((WDF) obj7).addOnPictureInPictureModeChangedListener(yrs2.C); throw null; } ((WDF) obj7).addOnPictureInPictureModeChangedListener(yrs2.C); } Object obj8 = yrs2.q; if ((obj8 instanceof RIz) && fragment2 == null) { ((RIz) obj8).addMenuProvider(yrs2.v); } return null; } /* renamed from: o.yRS$10 */ /* loaded from: classes.dex */ public final class AnonymousClass10 implements gxQ { final Fragment d; final yRS e; AnonymousClass10(yRS yrs2, Fragment fragment2) { this.e = yrs2; this.d = fragment2; } @Override // o.gxQ public final void d(yRS yrs2, Fragment fragment2) { this.d.onAttachFragment(fragment2); } } public final /* synthetic */ Bundle yF_() { int i = 2 % 2; int i2 = T + 45; W = i2 % 128; int i3 = i2 % 2; Bundle bundle = (Bundle) c(new Object[]{this}, -1703492040, 1703492044, System.identityHashCode(this)); int i4 = T + 97; W = i4 % 128; if (i4 % 2 != 0) { return bundle; } throw null; } /* renamed from: o.yRS$9 */ /* loaded from: classes.dex */ public final class AnonymousClass9 implements InterfaceC0834Plv { final yRS c; AnonymousClass9(yRS yrs2) { this.c = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Heg heg) { Heg heg2 = heg; RVV pollFirst = this.c.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i13 = pollFirst.c; Fragment b = yRS.b(this.c).b(str2); if (b != null) { b.onActivityResult(i13, heg2.e, heg2.b); } } } } /* renamed from: o.yRS$6 */ /* loaded from: classes.dex */ public final class AnonymousClass6 implements InterfaceC0834Plv { final yRS b; AnonymousClass6(yRS yrs2) { this.b = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Heg heg) { Heg heg2 = heg; RVV pollFirst = this.b.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i13 = pollFirst.c; Fragment b = yRS.b(this.b).b(str2); if (b != null) { b.onActivityResult(i13, heg2.e, heg2.b); } } } } /* renamed from: o.yRS$1 */ /* loaded from: classes.dex */ public final class AnonymousClass1 implements InterfaceC0834Plv> { final yRS e; AnonymousClass1(yRS yrs2) { this.e = yrs2; } @Override // o.InterfaceC0834Plv public final /* synthetic */ void d(Map map) { Map map2 = map; String[] strArr = (String[]) map2.keySet().toArray(new String[0]); ArrayList arrayList = new ArrayList(map2.values()); int[] iArr = new int[arrayList.size()]; for (int i13 = 0; i13 < arrayList.size(); i13++) { iArr[i13] = ((Boolean) arrayList.get(i13)).booleanValue() ? 0 : -1; } RVV pollFirst = this.e.d.pollFirst(); if (pollFirst != null) { String str2 = pollFirst.d; int i14 = pollFirst.c; Fragment b = yRS.b(this.e).b(str2); if (b != null) { b.onRequestPermissionsResult(i14, strArr, iArr); } } } } public final void C() { int i = 2 % 2; int i2 = T; int i3 = i2 + 55; W = i3 % 128; Object obj = null; if (i3 % 2 == 0) { throw null; } if (this.q == null) { int i4 = i2 + 53; W = i4 % 128; if (i4 % 2 != 0) { return; } obj.hashCode(); throw null; } this.J = false; this.N = false; this.w.a = false; for (Fragment fragment : this.k.d()) { int i5 = T + 93; W = i5 % 128; int i6 = i5 % 2; if (fragment != null) { int i7 = T + 99; W = i7 % 128; int i8 = i7 % 2; fragment.noteStateNotSaved(); } } } public final void b(Fragment fragment, String[] strArr, int i) { int i2 = 2 % 2; int i3 = T + 7; W = i3 % 128; int i4 = i3 % 2; if (this.H != null) { this.d.addLast(new RVV(fragment.mWho, i)); Object obj = null; this.H.d(strArr, null); int i5 = W + 59; T = i5 % 128; if (i5 % 2 == 0) { return; } obj.hashCode(); throw null; } } private static /* synthetic */ Object c(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int i = 2 % 2; int i2 = W + 57; T = i2 % 128; if (i2 % 2 != 0) { yrs.J = false; yrs.N = false; yrs.w.a = true; c(new Object[]{yrs, 0}, 62540070, -62540048, 0); return null; } yrs.J = false; yrs.N = false; yrs.w.a = false; c(new Object[]{yrs, 0}, 62540070, -62540048, 0); return null; } public final void d() { int i = 2 % 2; int i2 = T + 45; W = i2 % 128; int i3 = i2 % 2; this.J = false; this.N = false; this.w.a = false; c(new Object[]{this, 1}, 62540070, -62540048, 1); int i4 = W + 95; T = i4 % 128; int i5 = i4 % 2; } public final void k() { int i = 2 % 2; int i2 = T + 71; W = i2 % 128; int i3 = i2 % 2; c(new Object[]{this, 2}, 62540070, -62540048, 2); int i4 = W + 37; T = i4 % 128; int i5 = i4 % 2; } public final void b() { int i = 2 % 2; int i2 = T + 115; W = i2 % 128; int i3 = i2 % 2; this.J = false; this.N = false; this.w.a = false; c(new Object[]{this, 4}, 62540070, -62540048, 4); int i4 = W + 27; T = i4 % 128; int i5 = i4 % 2; } public final void o() { int i = 2 % 2; int i2 = W + 37; T = i2 % 128; if (i2 % 2 != 0) { this.J = false; this.N = true; this.w.a = true; c(new Object[]{this, 5}, 62540070, -62540048, 5); return; } this.J = false; this.N = false; this.w.a = false; c(new Object[]{this, 5}, 62540070, -62540048, 5); } private static /* synthetic */ Object o(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int i = 2 % 2; int i2 = W + 9; T = i2 % 128; int i3 = i2 % 2; yrs.J = false; yrs.N = false; yrs.w.a = false; c(new Object[]{yrs, 7}, 62540070, -62540048, 7); int i4 = W + 77; T = i4 % 128; int i5 = i4 % 2; return null; } public final void l() { int i = 2 % 2; int i2 = T + 19; W = i2 % 128; if (i2 % 2 == 0) { this.N = false; this.w.a = false; c(new Object[]{this, 4}, 62540070, -62540048, 4); } else { this.N = true; this.w.a = true; c(new Object[]{this, 4}, 62540070, -62540048, 4); } int i3 = T + 49; W = i3 % 128; int i4 = i3 % 2; } public final void g() { int i = 2 % 2; int i2 = T + 53; W = i2 % 128; int i3 = i2 % 2; c(new Object[]{this, 1}, 62540070, -62540048, 1); int i4 = W + 21; T = i4 % 128; int i5 = i4 % 2; } public final void j() { int i = 2 % 2; this.m = true; d(true); M(); L(); c(new Object[]{this, -1}, 62540070, -62540048, -1); Object obj = this.q; Object obj2 = null; if (obj instanceof InterfaceC16139lbS) { int i2 = T + 9; W = i2 % 128; if (i2 % 2 == 0) { ((InterfaceC16139lbS) obj).removeOnTrimMemoryListener(this.A); obj2.hashCode(); throw null; } ((InterfaceC16139lbS) obj).removeOnTrimMemoryListener(this.A); } Object obj3 = this.q; if (obj3 instanceof VYa) { ((VYa) obj3).removeOnConfigurationChangedListener(this.D); } Object obj4 = this.q; if (obj4 instanceof InterfaceC17396wQp) { int i3 = W + 27; T = i3 % 128; int i4 = i3 % 2; ((InterfaceC17396wQp) obj4).removeOnMultiWindowModeChangedListener(this.B); } Object obj5 = this.q; if (obj5 instanceof WDF) { ((WDF) obj5).removeOnPictureInPictureModeChangedListener(this.C); int i5 = T + 3; W = i5 % 128; int i6 = i5 % 2; } Object obj6 = this.q; if (obj6 instanceof RIz) { int i7 = T + 9; W = i7 % 128; int i8 = i7 % 2; ((RIz) obj6).removeMenuProvider(this.v); } this.q = null; this.i = null; this.I = null; if (this.z != null) { this.x.remove(); this.z = null; } huo huoVar = this.L; if (huoVar != null) { huoVar.e(); this.M.e(); this.H.e(); int i9 = W + 47; T = i9 % 128; int i10 = i9 % 2; } } private static /* synthetic */ Object y(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int i = 2 % 2; try { yrs.n = true; C16788rIZ.b(new Object[]{yrs.k, Integer.valueOf(intValue)}, -1260421080, 1260421080, intValue); c(new Object[]{yrs, Integer.valueOf(intValue), false}, 1690180927, -1690180916, intValue); Iterator it = yrs.K().iterator(); while (it.hasNext()) { int i2 = W + 71; T = i2 % 128; if (i2 % 2 != 0) { it.next().d(); throw null; } it.next().d(); } yrs.n = false; yrs.d(true); int i3 = T + 105; W = i3 % 128; int i4 = i3 % 2; return null; } catch (Throwable th) { yrs.n = false; throw th; } } private static /* synthetic */ Object b(Object[] objArr) { yRS yrs = (yRS) objArr[0]; boolean booleanValue = ((Boolean) objArr[1]).booleanValue(); boolean booleanValue2 = ((Boolean) objArr[2]).booleanValue(); int i = 2 % 2; int i2 = T; int i3 = i2 + 89; W = i3 % 128; int i4 = i3 % 2; Object obj = null; if (booleanValue2) { int i5 = i2 + 105; W = i5 % 128; if (i5 % 2 == 0) { boolean z = yrs.q instanceof InterfaceC17396wQp; obj.hashCode(); throw null; } if (yrs.q instanceof InterfaceC17396wQp) { yrs.c(new IllegalStateException("Do not call dispatchMultiWindowModeChanged() on host. Host implements OnMultiWindowModeChangedProvider and automatically dispatches multi-window mode changes to fragments.")); } } for (Fragment fragment : yrs.k.d()) { int i6 = W + 1; T = i6 % 128; int i7 = i6 % 2; if (fragment != null) { fragment.performMultiWindowModeChanged(booleanValue); if (booleanValue2) { yRS yrs2 = fragment.mChildFragmentManager; c(new Object[]{yrs2, Boolean.valueOf(booleanValue), true}, -1242210938, 1242210938, System.identityHashCode(yrs2)); int i8 = T + 87; W = i8 % 128; int i9 = i8 % 2; } } } return null; } private void d(boolean z, boolean z2) { int i = 2 % 2; int i2 = W; int i3 = i2 + 29; T = i3 % 128; int i4 = i3 % 2; if (z2) { int i5 = i2 + 61; T = i5 % 128; int i6 = i5 % 2; if (this.q instanceof WDF) { c(new IllegalStateException("Do not call dispatchPictureInPictureModeChanged() on host. Host implements OnPictureInPictureModeChangedProvider and automatically dispatches picture-in-picture mode changes to fragments.")); } } for (Fragment fragment : this.k.d()) { if (fragment != null) { fragment.performPictureInPictureModeChanged(z); if (z2) { int i7 = W + 43; T = i7 % 128; int i8 = i7 % 2; fragment.mChildFragmentManager.d(z, true); } } } } private void yx_(Configuration configuration, boolean z) { int i = 2 % 2; int i2 = W + 119; T = i2 % 128; int i3 = i2 % 2; if (z && (this.q instanceof VYa)) { c(new IllegalStateException("Do not call dispatchConfigurationChanged() on host. Host implements OnConfigurationChangedProvider and automatically dispatches configuration changes to fragments.")); } Iterator it = this.k.d().iterator(); while (it.hasNext()) { int i4 = W + 73; T = i4 % 128; if (i4 % 2 != 0) { it.next(); Object obj = null; obj.hashCode(); throw null; } Fragment next = it.next(); if (next != null) { next.performConfigurationChanged(configuration); if (z) { next.mChildFragmentManager.yx_(configuration, true); int i5 = T + 5; W = i5 % 128; int i6 = i5 % 2; } } } } private void e(boolean z) { int i = 2 % 2; if (z) { int i2 = T + 71; W = i2 % 128; int i3 = i2 % 2; if (this.q instanceof InterfaceC16139lbS) { c(new IllegalStateException("Do not call dispatchLowMemory() on host. Host implements OnTrimMemoryProvider and automatically dispatches low memory callbacks to fragments.")); } } int i4 = W + 119; T = i4 % 128; int i5 = i4 % 2; for (Fragment fragment : this.k.d()) { int i6 = T + 109; W = i6 % 128; int i7 = i6 % 2; if (fragment != null) { int i8 = W + 89; T = i8 % 128; int i9 = i8 % 2; fragment.performLowMemory(); if (z) { int i10 = W + 69; T = i10 % 128; fragment.mChildFragmentManager.e(i10 % 2 == 0); } } } } /* JADX WARN: Removed duplicated region for block: B:20:0x0091 A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:26:0x0026 A[SYNTHETIC] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object d(java.lang.Object[] r11) { /* r0 = 0 r1 = r11[r0] o.yRS r1 = (o.yRS) r1 r2 = 1 r3 = r11[r2] android.view.Menu r3 = (android.view.Menu) r3 r4 = 2 r11 = r11[r4] android.view.MenuInflater r11 = (android.view.MenuInflater) r11 int r5 = r4 % r4 int r5 = r1.f if (r5 > 0) goto L1a java.lang.Boolean r11 = java.lang.Boolean.valueOf(r0) return r11 L1a: o.rIZ r5 = r1.k java.util.List r5 = r5.d() java.util.Iterator r5 = r5.iterator() r6 = 0 r7 = r0 L26: boolean r8 = r5.hasNext() if (r8 == r2) goto L5e java.util.ArrayList r11 = r1.j if (r11 == 0) goto L57 L30: java.util.ArrayList r11 = r1.j int r11 = r11.size() if (r0 >= r11) goto L57 int r11 = o.yRS.W int r11 = r11 + 45 int r3 = r11 % 128 o.yRS.T = r3 int r11 = r11 % r4 java.util.ArrayList r11 = r1.j java.lang.Object r11 = r11.get(r0) androidx.fragment.app.Fragment r11 = (androidx.fragment.app.Fragment) r11 if (r6 == 0) goto L51 boolean r3 = r6.contains(r11) if (r3 == r2) goto L54 L51: r11.onDestroyOptionsMenu() L54: int r0 = r0 + 1 goto L30 L57: r1.j = r6 java.lang.Boolean r11 = java.lang.Boolean.valueOf(r7) return r11 L5e: int r8 = o.yRS.W int r8 = r8 + 111 int r9 = r8 % 128 o.yRS.T = r9 int r8 = r8 % r4 java.lang.Object r8 = r5.next() androidx.fragment.app.Fragment r8 = (androidx.fragment.app.Fragment) r8 if (r8 == 0) goto L26 int r9 = o.yRS.T int r9 = r9 + 101 int r10 = r9 % 128 o.yRS.W = r10 int r9 = r9 % r4 if (r9 != 0) goto L84 boolean r9 = r1.j(r8) r10 = 20 int r10 = r10 / r0 if (r9 == 0) goto L26 goto L8b L84: boolean r9 = r1.j(r8) if (r9 == r2) goto L8b goto L26 L8b: boolean r9 = r8.performCreateOptionsMenu(r3, r11) if (r9 == 0) goto L26 if (r6 != 0) goto L98 java.util.ArrayList r6 = new java.util.ArrayList r6.() L98: r6.add(r8) r7 = r2 goto L26 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.d(java.lang.Object[]):java.lang.Object"); } /* JADX WARN: Code restructure failed: missing block: B:30:0x0019, code lost: if (r5.f <= 0) goto L42; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean yC_(android.view.Menu r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.yRS.T int r1 = r1 + 117 int r2 = r1 % 128 o.yRS.W = r2 int r1 = r1 % r0 r3 = 1 r4 = 0 if (r1 != 0) goto L17 int r1 = r5.f if (r1 > 0) goto L15 goto L1b L15: r4 = r3 goto L23 L17: int r1 = r5.f if (r1 > 0) goto L23 L1b: int r2 = r2 + 21 int r6 = r2 % 128 o.yRS.T = r6 int r2 = r2 % r0 return r4 L23: o.rIZ r0 = r5.k java.util.List r0 = r0.d() java.util.Iterator r0 = r0.iterator() L2d: boolean r1 = r0.hasNext() if (r1 == 0) goto L53 java.lang.Object r1 = r0.next() androidx.fragment.app.Fragment r1 = (androidx.fragment.app.Fragment) r1 if (r1 == 0) goto L2d boolean r2 = r5.j(r1) if (r2 == 0) goto L2d boolean r1 = r1.performPrepareOptionsMenu(r6) if (r1 == 0) goto L2d int r1 = o.yRS.W int r1 = r1 + 105 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % 2 r4 = r3 goto L2d L53: return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.yC_(android.view.Menu):boolean"); } public final boolean yA_(MenuItem menuItem) { int i = 2 % 2; if (this.f <= 0) { int i2 = T + 113; W = i2 % 128; int i3 = i2 % 2; return false; } for (Fragment fragment : this.k.d()) { int i4 = T + 121; W = i4 % 128; int i5 = i4 % 2; if (fragment != null) { int i6 = W + 23; T = i6 % 128; if (i6 % 2 != 0) { fragment.performOptionsItemSelected(menuItem); throw null; } if (fragment.performOptionsItemSelected(menuItem)) { return true; } } } return false; } private static /* synthetic */ Object k(Object[] objArr) { yRS yrs = (yRS) objArr[0]; MenuItem menuItem = (MenuItem) objArr[1]; int i = 2 % 2; if (yrs.f <= 0) { return false; } int i2 = W + 73; T = i2 % 128; int i3 = i2 % 2; for (Fragment fragment : yrs.k.d()) { if (fragment != null) { int i4 = W + 15; T = i4 % 128; int i5 = i4 % 2; if (fragment.performContextItemSelected(menuItem)) { int i6 = T + 25; W = i6 % 128; return Boolean.valueOf(i6 % 2 != 0); } } } return false; } private static /* synthetic */ Object u(Object[] objArr) { yRS yrs = (yRS) objArr[0]; Menu menu = (Menu) objArr[1]; int i = 2 % 2; int i2 = T + 121; W = i2 % 128; if (i2 % 2 == 0) { int i3 = yrs.f; throw null; } if (yrs.f <= 0) { return null; } for (Fragment fragment : yrs.k.d()) { if (fragment != null) { int i4 = W + 1; T = i4 % 128; int i5 = i4 % 2; fragment.performOptionsMenuClosed(menu); } } return null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x002f, code lost: if (r4.mHost == null) goto L46; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0031, code lost: r1 = o.yRS.T + 95; o.yRS.W = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x003a, code lost: if ((r1 % 2) == 0) goto L42; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x003e, code lost: if (r4.mFragmentManager != r3) goto L44; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0041, code lost: r4 = r4.mFragmentManager; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0044, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x002b, code lost: if (r4.equals(c(r4.mWho)) != false) goto L35; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x001e, code lost: if (r4.equals(c(r4.mWho)) != false) goto L35; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0045, code lost: r1 = new java.lang.StringBuilder("Fragment "); r1.append(r4); r1.append(" is not an active fragment of FragmentManager "); r1.append(r3); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0060, code lost: throw new java.lang.IllegalArgumentException(r1.toString()); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void y(androidx.fragment.app.Fragment r4) { /* r3 = this; r0 = 2 int r1 = r0 % r0 if (r4 == 0) goto L61 int r1 = o.yRS.W int r1 = r1 + 111 int r2 = r1 % 128 o.yRS.T = r2 int r1 = r1 % r0 if (r1 == 0) goto L21 java.lang.String r1 = r4.mWho androidx.fragment.app.Fragment r1 = r3.c(r1) boolean r1 = r4.equals(r1) r2 = 20 int r2 = r2 / 0 if (r1 == 0) goto L45 goto L2d L21: java.lang.String r1 = r4.mWho androidx.fragment.app.Fragment r1 = r3.c(r1) boolean r1 = r4.equals(r1) if (r1 == 0) goto L45 L2d: o.vjh r1 = r4.mHost if (r1 == 0) goto L61 int r1 = o.yRS.T int r1 = r1 + 95 int r2 = r1 % 128 o.yRS.W = r2 int r1 = r1 % r0 if (r1 == 0) goto L41 o.yRS r0 = r4.mFragmentManager if (r0 != r3) goto L45 goto L61 L41: o.yRS r4 = r4.mFragmentManager r4 = 0 throw r4 L45: java.lang.IllegalArgumentException r0 = new java.lang.IllegalArgumentException java.lang.StringBuilder r1 = new java.lang.StringBuilder java.lang.String r2 = "Fragment " r1.(r2) r1.append(r4) java.lang.String r4 = " is not an active fragment of FragmentManager " r1.append(r4) r1.append(r3) java.lang.String r4 = r1.toString() r0.(r4) throw r0 L61: androidx.fragment.app.Fragment r0 = r3.b r3.b = r4 r3.l(r0) androidx.fragment.app.Fragment r4 = r3.b r3.l(r4) return */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.y(androidx.fragment.app.Fragment):void"); } private void l(Fragment fragment) { int i = 2 % 2; if (fragment != null) { int i2 = T + 119; W = i2 % 128; int i3 = i2 % 2; if (!(!fragment.equals(c(fragment.mWho)))) { int i4 = W + 23; T = i4 % 128; int i5 = i4 % 2; fragment.performPrimaryNavigationFragmentChanged(); if (i5 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } } } public final void h() { int i = 2 % 2; int i2 = T + 121; W = i2 % 128; if (i2 % 2 != 0) { O(); l(this.b); } else { O(); l(this.b); Object obj = null; obj.hashCode(); throw null; } } /* JADX WARN: Code restructure failed: missing block: B:11:0x0029, code lost: if (r4.mFragmentManager != r3) goto L32; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0025, code lost: if (r4.mHost != null) goto L28; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0020, code lost: if (r4.mHost != null) goto L28; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x002b, code lost: r4.mMaxState = r5; r4 = o.yRS.W + 23; o.yRS.T = r4 % 128; r4 = r4 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0036, code lost: return; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void a(androidx.fragment.app.Fragment r4, o.wdQ.IeS r5) { /* r3 = this; r0 = 2 int r1 = r0 % r0 java.lang.String r1 = r4.mWho androidx.fragment.app.Fragment r1 = r3.c(r1) boolean r1 = r4.equals(r1) if (r1 == 0) goto L37 int r1 = o.yRS.T int r1 = r1 + 33 int r2 = r1 % 128 o.yRS.W = r2 int r1 = r1 % r0 if (r1 != 0) goto L23 o.vjh r1 = r4.mHost r2 = 60 int r2 = r2 / 0 if (r1 == 0) goto L2b goto L27 L23: o.vjh r1 = r4.mHost if (r1 == 0) goto L2b L27: o.yRS r1 = r4.mFragmentManager if (r1 != r3) goto L37 L2b: r4.mMaxState = r5 int r4 = o.yRS.W int r4 = r4 + 23 int r5 = r4 % 128 o.yRS.T = r5 int r4 = r4 % r0 return L37: java.lang.IllegalArgumentException r5 = new java.lang.IllegalArgumentException java.lang.StringBuilder r0 = new java.lang.StringBuilder java.lang.String r1 = "Fragment " r0.(r1) r0.append(r4) java.lang.String r4 = " is not an active fragment of FragmentManager " r0.append(r4) r0.append(r3) java.lang.String r4 = r0.toString() r5.(r4) throw r5 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.a(androidx.fragment.app.Fragment, o.wdQ$IeS):void"); } public final iAz p() { int i = 2 % 2; yRS yrs = this; while (true) { iAz iaz = yrs.l; if (iaz != null) { int i2 = T + 19; W = i2 % 128; int i3 = i2 % 2; return iaz; } Fragment fragment = yrs.I; if (fragment == null) { return yrs.t; } int i4 = T + 99; W = i4 % 128; int i5 = i4 % 2; yrs = fragment.mFragmentManager; int i6 = W + 79; T = i6 % 128; if (i6 % 2 != 0) { int i7 = 5 % 3; } } } public final DVM v() { int i = 2 % 2; yRS yrs = this; while (true) { DVM dvm = yrs.K; Fragment fragment = yrs.I; Object obj = null; if (fragment == null) { DVM dvm2 = yrs.g; int i2 = T + 103; W = i2 % 128; if (i2 % 2 != 0) { return dvm2; } obj.hashCode(); throw null; } int i3 = T + 3; W = i3 % 128; if (i3 % 2 == 0) { yRS yrs2 = fragment.mFragmentManager; obj.hashCode(); throw null; } yrs = fragment.mFragmentManager; } } public final void e(LWm lWm) { int i = 2 % 2; this.p.e.add(new C5393bsG.RVV(lWm)); int i2 = W + 115; T = i2 % 128; if (i2 % 2 != 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x001a, code lost: r0.e.remove(r3); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void b(o.yRS.LWm r6) { /* r5 = this; o.bsG r0 = r5.p java.util.concurrent.CopyOnWriteArrayList r1 = r0.e monitor-enter(r1) java.util.concurrent.CopyOnWriteArrayList r2 = r0.e // Catch: java.lang.Throwable -> L25 int r2 = r2.size() // Catch: java.lang.Throwable -> L25 r3 = 0 Lc: if (r3 >= r2) goto L23 java.util.concurrent.CopyOnWriteArrayList r4 = r0.e // Catch: java.lang.Throwable -> L25 java.lang.Object r4 = r4.get(r3) // Catch: java.lang.Throwable -> L25 o.bsG$RVV r4 = (o.C5393bsG.RVV) r4 // Catch: java.lang.Throwable -> L25 o.yRS$LWm r4 = r4.a // Catch: java.lang.Throwable -> L25 if (r4 != r6) goto L20 java.util.concurrent.CopyOnWriteArrayList r6 = r0.e // Catch: java.lang.Throwable -> L25 r6.remove(r3) // Catch: java.lang.Throwable -> L25 goto L23 L20: int r3 = r3 + 1 goto Lc L23: monitor-exit(r1) return L25: r6 = move-exception monitor-exit(r1) throw r6 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.b(o.yRS$LWm):void"); } public final void a(gxQ gxq) { int i = 2 % 2; int i2 = W + 65; T = i2 % 128; int i3 = i2 % 2; this.y.add(gxq); int i4 = T + 117; W = i4 % 128; int i5 = i4 % 2; } public final void c(Fragment fragment) { int i = 2 % 2; int i2 = T + 15; W = i2 % 128; int i3 = i2 % 2; Iterator it = this.y.iterator(); int i4 = W + 7; T = i4 % 128; int i5 = i4 % 2; while (it.hasNext()) { int i6 = T + 9; W = i6 % 128; int i7 = i6 % 2; it.next().d(this, fragment); } } /* JADX WARN: Removed duplicated region for block: B:12:0x0042 */ /* JADX WARN: Removed duplicated region for block: B:15:0x004f A[SYNTHETIC] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void f() { /* r5 = this; r0 = 2 int r1 = r0 % r0 o.rIZ r1 = r5.k java.util.List r1 = r1.c() java.util.Iterator r1 = r1.iterator() Ld: boolean r2 = r1.hasNext() r2 = r2 ^ 1 if (r2 == 0) goto L16 return L16: int r2 = o.yRS.W int r2 = r2 + 55 int r3 = r2 % 128 o.yRS.T = r3 int r2 = r2 % r0 if (r2 == 0) goto L2e java.lang.Object r2 = r1.next() androidx.fragment.app.Fragment r2 = (androidx.fragment.app.Fragment) r2 r3 = 25 int r3 = r3 / 0 if (r2 == 0) goto Ld goto L36 L2e: java.lang.Object r2 = r1.next() androidx.fragment.app.Fragment r2 = (androidx.fragment.app.Fragment) r2 if (r2 == 0) goto Ld L36: int r3 = o.yRS.W int r3 = r3 + 21 int r4 = r3 % 128 o.yRS.T = r4 int r3 = r3 % 2 if (r3 != 0) goto L4f boolean r3 = r2.isHidden() r2.onHiddenChanged(r3) o.yRS r2 = r2.mChildFragmentManager r2.f() goto Ld L4f: boolean r0 = r2.isHidden() r2.onHiddenChanged(r0) o.yRS r0 = r2.mChildFragmentManager r0.f() r0 = 0 r0.hashCode() throw r0 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.f():void"); } private boolean S() { int i = 2 % 2; boolean z = false; for (Fragment fragment : this.k.c()) { if (fragment != null) { int i2 = T + 75; W = i2 % 128; if (i2 % 2 == 0) { ((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue(); Object obj = null; obj.hashCode(); throw null; } z = ((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue(); } if (!(!z)) { int i3 = T + 115; int i4 = i3 % 128; W = i4; int i5 = i3 % 2; int i6 = i4 + 1; T = i6 % 128; int i7 = i6 % 2; return true; } } return false; } /* JADX WARN: Code restructure failed: missing block: B:15:0x002a, code lost: if (r5.mChildFragmentManager.S() == false) goto L35; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x002d, code lost: r3 = false; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x001e, code lost: if (r5.mHasMenu != false) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost: if (r5.mHasMenu != true) goto L32; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0022, code lost: if (r5.mMenuVisible != false) goto L36; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object h(java.lang.Object[] r5) { /* r0 = 0 r5 = r5[r0] androidx.fragment.app.Fragment r5 = (androidx.fragment.app.Fragment) r5 r1 = 2 int r2 = r1 % r1 int r2 = o.yRS.T int r2 = r2 + 67 int r3 = r2 % 128 o.yRS.W = r3 int r2 = r2 % r1 r3 = 1 if (r2 != 0) goto L1c boolean r2 = r5.mHasMenu r4 = 64 int r4 = r4 / r0 if (r2 == r3) goto L20 goto L24 L1c: boolean r2 = r5.mHasMenu if (r2 == 0) goto L24 L20: boolean r2 = r5.mMenuVisible if (r2 != 0) goto L2e L24: o.yRS r5 = r5.mChildFragmentManager boolean r5 = r5.S() if (r5 == 0) goto L2d goto L2e L2d: r3 = r0 L2e: int r5 = o.yRS.T int r5 = r5 + 119 int r2 = r5 % 128 o.yRS.W = r2 int r5 = r5 % r1 if (r5 != 0) goto L41 r5 = 52 int r5 = r5 / r0 java.lang.Boolean r5 = java.lang.Boolean.valueOf(r3) return r5 L41: java.lang.Boolean r5 = java.lang.Boolean.valueOf(r3) return r5 */ throw new UnsupportedOperationException("Method not decompiled: o.yRS.h(java.lang.Object[]):java.lang.Object"); } public final void g(Fragment fragment) { int i = 2 % 2; int i2 = T + 93; W = i2 % 128; if (i2 % 2 == 0) { int i3 = 74 / 0; if (!fragment.mAdded) { return; } } else if (!fragment.mAdded) { return; } if (((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue()) { this.u = true; int i4 = T + 71; W = i4 % 128; if (i4 % 2 == 0) { int i5 = 3 / 4; } } } private boolean R() { int i = 2 % 2; boolean z = false; if (this.I == null) { int i2 = W + 123; T = i2 % 128; if (i2 % 2 != 0) { int i3 = 9 / 0; } return true; } if (!(!r1.isAdded()) && this.I.getParentFragmentManager().R()) { z = true; } int i4 = T + 71; W = i4 % 128; int i5 = i4 % 2; return z; } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public class jbe implements ZqN { final yRS a; final String b; final int c; final int e; jbe(yRS yrs, String str, int i, int i2) { this.a = yrs; this.b = str; this.c = i; this.e = i2; } @Override // o.yRS.ZqN public final boolean e(ArrayList arrayList, ArrayList arrayList2) { if (this.a.b != null && this.c < 0 && this.b == null) { yRS childFragmentManager = this.a.b.getChildFragmentManager(); if (((Boolean) yRS.c(new Object[]{childFragmentManager}, 1273581602, -1273581599, System.identityHashCode(childFragmentManager))).booleanValue()) { return false; } } return this.a.e(arrayList, arrayList2, this.b, this.c, this.e); } } /* loaded from: classes.dex */ public static class RVV implements Parcelable { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: o.yRS.RVV.4 AnonymousClass4() { } @Override // android.os.Parcelable.Creator public final /* synthetic */ RVV createFromParcel(Parcel parcel) { return new RVV(parcel); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ RVV[] newArray(int i) { return new RVV[i]; } }; int c; String d; @Override // android.os.Parcelable public final int describeContents() { return 0; } RVV(String str, int i) { this.d = str; this.c = i; } RVV(Parcel parcel) { this.d = parcel.readString(); this.c = parcel.readInt(); } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { parcel.writeString(this.d); parcel.writeInt(this.c); } /* renamed from: o.yRS$RVV$4 */ /* loaded from: classes.dex */ final class AnonymousClass4 implements Parcelable.Creator { AnonymousClass4() { } @Override // android.os.Parcelable.Creator public final /* synthetic */ RVV createFromParcel(Parcel parcel) { return new RVV(parcel); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ RVV[] newArray(int i) { return new RVV[i]; } } } /* loaded from: classes.dex */ public static class Sts extends AbstractC6423cSf { Sts() { } @Override // o.AbstractC6423cSf public final /* synthetic */ Intent YF_(Context context, AcL acL) { Bundle bundleExtra; AcL acL2 = acL; Intent intent = new Intent("androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"); Intent intent2 = acL2.b; if (intent2 != null && (bundleExtra = intent2.getBundleExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE")) != null) { intent.putExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE", bundleExtra); intent2.removeExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"); if (intent2.getBooleanExtra("androidx.fragment.extra.ACTIVITY_OPTIONS_BUNDLE", false)) { AcL.HBt hBt = new AcL.HBt(acL2.a); hBt.c = null; int i = acL2.c; int i2 = acL2.e; hBt.b = i; hBt.d = i2; acL2 = new AcL(hBt.a, hBt.c, hBt.d, hBt.b); } } intent.putExtra("androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST", acL2); yRS.b(2); return intent; } @Override // o.AbstractC6423cSf public final /* synthetic */ Heg YG_(int i, Intent intent) { return new Heg(i, intent); } } public final void yH_(Fragment fragment, Intent intent, int i, Bundle bundle) { int i2 = 2 % 2; int i3 = W + 9; T = i3 % 128; int i4 = i3 % 2; if (this.L != null) { this.d.addLast(new RVV(fragment.mWho, i)); if (intent != null && bundle != null) { int i5 = W + 35; T = i5 % 128; if (i5 % 2 != 0) { intent.putExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE", bundle); throw null; } intent.putExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE", bundle); } this.L.d(intent, null); return; } vjh vjhVar = this.q; if (i != -1) { throw new IllegalStateException("Starting activity with a requestCode requires a FragmentActivity host"); } nMh.startActivity(vjhVar.c, intent, bundle); } public final void yI_(Fragment fragment, IntentSender intentSender, int i, Intent intent, int i2, int i3, int i4, Bundle bundle) throws IntentSender.SendIntentException { Intent intent2; int i5 = 2 % 2; if (this.M == null) { vjh vjhVar = this.q; if (i != -1) { throw new IllegalStateException("Starting intent sender with a requestCode requires a FragmentActivity host"); } ActivityCompat.lR_(vjhVar.d, intentSender, i, intent, i2, i3, i4, bundle); return; } int i6 = W + 119; int i7 = i6 % 128; T = i7; int i8 = i6 % 2; Object obj = null; if (bundle != null) { int i9 = i7 + 107; W = i9 % 128; if (i9 % 2 == 0) { obj.hashCode(); throw null; } if (intent == null) { intent2 = new Intent(); intent2.putExtra("androidx.fragment.extra.ACTIVITY_OPTIONS_BUNDLE", true); } else { intent2 = intent; } b(2); intent2.putExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE", bundle); } else { intent2 = intent; } AcL.HBt hBt = new AcL.HBt(intentSender); hBt.c = intent2; hBt.b = i3; hBt.d = i2; AcL acL = new AcL(hBt.a, hBt.c, hBt.d, hBt.b); this.d.addLast(new RVV(fragment.mWho, i)); b(2); this.M.d(acL, null); } private static /* synthetic */ Object t(Object[] objArr) { yRS yrs = (yRS) objArr[0]; iAz iaz = (iAz) objArr[1]; int i = 2 % 2; int i2 = T; int i3 = i2 + 19; W = i3 % 128; int i4 = i3 % 2; yrs.l = iaz; if (i4 == 0) { int i5 = 50 / 0; } int i6 = i2 + 55; W = i6 % 128; if (i6 % 2 == 0) { int i7 = 2 / 0; } return null; } private static /* synthetic */ Object r(Object[] objArr) { boolean z = false; yRS yrs = (yRS) objArr[0]; ((Number) objArr[1]).intValue(); int i = 2 % 2; if (yrs.f > 0) { int i2 = T + 59; W = i2 % 128; if (i2 % 2 != 0) { z = true; } } else { int i3 = T + 23; W = i3 % 128; if (i3 % 2 == 0) { int i4 = 3 / 3; } } int i5 = T + 11; W = i5 % 128; int i6 = i5 % 2; return Boolean.valueOf(z); } private static /* synthetic */ Object f(Object[] objArr) { yRS yrs = (yRS) objArr[0]; int i = 2 % 2; int i2 = W + 69; int i3 = i2 % 128; T = i3; int i4 = i2 % 2; LayoutInflaterFactory2C9519dlK layoutInflaterFactory2C9519dlK = yrs.s; if (i4 != 0) { int i5 = 19 / 0; } int i6 = i3 + 11; W = i6 % 128; int i7 = i6 % 2; return layoutInflaterFactory2C9519dlK; } public final void d(iAz iaz) { c(new Object[]{this, iaz}, 548530061, -548530040, System.identityHashCode(this)); } final Bundle yL_() { return (Bundle) c(new Object[]{this}, -1703492040, 1703492044, System.identityHashCode(this)); } final void i(Fragment fragment) { c(new Object[]{this, fragment}, -1229762499, 1229762513, System.identityHashCode(this)); } private void r(Fragment fragment) { c(new Object[]{this, fragment}, 860531721, -860531714, System.identityHashCode(this)); } public final boolean E() { return ((Boolean) c(new Object[]{this}, 1273581602, -1273581599, System.identityHashCode(this))).booleanValue(); } private void c(int i, boolean z) { c(new Object[]{this, Integer.valueOf(i), Boolean.valueOf(z)}, 1690180927, -1690180916, i); } public final boolean A() { int i = 2 % 2; int i2 = T + 73; int i3 = i2 % 128; W = i3; if (i2 % 2 == 0) { throw null; } if (!(!this.J) || this.N) { return true; } int i4 = i3 + 15; T = i4 % 128; int i5 = i4 % 2; return false; } final boolean d(int i) { return ((Boolean) c(new Object[]{this, Integer.valueOf(i)}, -453743088, 453743106, i)).booleanValue(); } public final boolean B() { int i = 2 % 2; int i2 = W + 105; int i3 = i2 % 128; T = i3; if (i2 % 2 != 0) { throw null; } boolean z = this.m; int i4 = i3 + 59; W = i4 % 128; int i5 = i4 % 2; return z; } public final gFT.LWm y() { int i = 2 % 2; int i2 = T + 95; int i3 = i2 % 128; W = i3; int i4 = i2 % 2; gFT.LWm lWm = this.P; int i5 = i3 + 49; T = i5 % 128; int i6 = i5 % 2; return lWm; } private Fragment V() { int i = 2 % 2; int i2 = W + 107; int i3 = i2 % 128; T = i3; int i4 = i2 % 2; Fragment fragment = this.b; int i5 = i3 + 21; W = i5 % 128; if (i5 % 2 != 0) { return fragment; } throw null; } public final Fragment x() { int i = 2 % 2; int i2 = T + 7; W = i2 % 128; int i3 = i2 % 2; Fragment fragment = this.I; if (i3 == 0) { int i4 = 49 / 0; } return fragment; } public final C5393bsG u() { int i = 2 % 2; int i2 = T + 89; W = i2 % 128; if (i2 % 2 != 0) { return this.p; } Object obj = null; obj.hashCode(); throw null; } final LayoutInflater.Factory2 yE_() { return (LayoutInflater.Factory2) c(new Object[]{this}, -480084136, 480084144, System.identityHashCode(this)); } public final vjh q() { int i = 2 % 2; int i2 = T; int i3 = i2 + 5; W = i3 % 128; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } vjh vjhVar = this.q; int i4 = i2 + 7; W = i4 % 128; int i5 = i4 % 2; return vjhVar; } public final wTJ s() { int i = 2 % 2; int i2 = W; int i3 = i2 + 81; T = i3 % 128; int i4 = i3 % 2; wTJ wtj = this.i; int i5 = i2 + 87; T = i5 % 128; int i6 = i5 % 2; return wtj; } final void c(ZqN zqN, boolean z) { c(new Object[]{this, zqN, Boolean.valueOf(z)}, 25603384, -25603378, System.identityHashCode(this)); } final void m() { c(new Object[]{this}, 1695697708, -1695697693, System.identityHashCode(this)); } final void i() { c(new Object[]{this}, -917739792, 917739805, System.identityHashCode(this)); } final void yB_(Menu menu) { c(new Object[]{this, menu}, 140973364, -140973339, System.identityHashCode(this)); } private void a(boolean z, boolean z2) { c(new Object[]{this, Boolean.valueOf(z), Boolean.valueOf(z2)}, -1242210938, 1242210938, System.identityHashCode(this)); } final boolean yz_(Menu menu, MenuInflater menuInflater) { return ((Boolean) c(new Object[]{this, menu, menuInflater}, -1718728263, 1718728264, System.identityHashCode(this))).booleanValue(); } final boolean yy_(MenuItem menuItem) { return ((Boolean) c(new Object[]{this, menuItem}, 283050109, -283050097, System.identityHashCode(this))).booleanValue(); } final void e() { c(new Object[]{this}, -130151900, 130151905, System.identityHashCode(this)); } private void t(Fragment fragment) { c(new Object[]{this, fragment}, -1804435732, 1804435751, System.identityHashCode(this)); } final void a(vjh vjhVar, wTJ wtj, Fragment fragment) { c(new Object[]{this, vjhVar, wtj, fragment}, 1577112781, -1577112764, System.identityHashCode(this)); } private void p(Fragment fragment) { c(new Object[]{this, fragment}, 1831660647, -1831660624, System.identityHashCode(this)); } private static int h(int i) { int i2 = 2 % 2; int i3 = 4097; if (i == 4097) { return 8194; } int i4 = W; int i5 = i4 + 1; T = i5 % 128; int i6 = i5 % 2; if (i != 8194) { i3 = 8197; if (i == 8197) { return 4100; } int i7 = i4 + 47; int i8 = i7 % 128; T = i8; int i9 = i7 % 2; if (i == 4099) { int i10 = i8 + 125; W = i10 % 128; int i11 = i10 % 2; return 4099; } if (i != 4100) { return 0; } } return i3; } private static boolean o(Fragment fragment) { return ((Boolean) c(new Object[]{fragment}, -1300446093, 1300446103, (int) System.currentTimeMillis())).booleanValue(); } private static void b(ArrayList arrayList, ArrayList arrayList2, int i, int i2) { c(new Object[]{arrayList, arrayList2, Integer.valueOf(i), Integer.valueOf(i2)}, 1148345637, -1148345617, i); } private void c(boolean z) { c(new Object[]{this, Boolean.valueOf(z)}, -770007977, 770007986, System.identityHashCode(this)); } private void J() { c(new Object[]{this}, 1472855727, -1472855725, System.identityHashCode(this)); } private void a(int i) { c(new Object[]{this, Integer.valueOf(i)}, 62540070, -62540048, i); } private Set e(ArrayList arrayList, int i, int i2) { return (Set) c(new Object[]{this, arrayList, Integer.valueOf(i), Integer.valueOf(i2)}, 1493461448, -1493461432, i); } static /* synthetic */ Map d(yRS yrs) { return (Map) c(new Object[]{yrs}, -93423617, 93423641, (int) System.currentTimeMillis()); } }