package androidx.fragment.app; import android.content.Context; import android.graphics.Rect; import android.util.SparseArray; import android.view.View; import android.view.ViewGroup; import androidx.core.view.l0; import androidx.core.view.n0; import androidx.fragment.app.v; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* loaded from: classes.dex */ abstract class w { /* renamed from: a, reason: collision with root package name */ private static final int[] f1959a = {0, 3, 0, 1, 5, 4, 7, 6, 9, 8, 10}; /* renamed from: b, reason: collision with root package name */ static final y f1960b = new x(); /* renamed from: c, reason: collision with root package name */ static final y f1961c = w(); class a implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ g f1962a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ Fragment f1963b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ v.b f1964c; a(g gVar, Fragment fragment, v.b bVar) { this.f1962a = gVar; this.f1963b = fragment; this.f1964c = bVar; } @Override // java.lang.Runnable public void run() { this.f1962a.b(this.f1963b, this.f1964c); } } class b implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ ArrayList f1965a; b(ArrayList arrayList) { this.f1965a = arrayList; } @Override // java.lang.Runnable public void run() { w.A(this.f1965a, 4); } } class c implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ g f1966a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ Fragment f1967b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ v.b f1968c; c(g gVar, Fragment fragment, v.b bVar) { this.f1966a = gVar; this.f1967b = fragment; this.f1968c = bVar; } @Override // java.lang.Runnable public void run() { this.f1966a.b(this.f1967b, this.f1968c); } } class d implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ Object f1969a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ y f1970b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ View f1971c; /* renamed from: d, reason: collision with root package name */ final /* synthetic */ Fragment f1972d; /* renamed from: e, reason: collision with root package name */ final /* synthetic */ ArrayList f1973e; /* renamed from: f, reason: collision with root package name */ final /* synthetic */ ArrayList f1974f; /* renamed from: g, reason: collision with root package name */ final /* synthetic */ ArrayList f1975g; /* renamed from: h, reason: collision with root package name */ final /* synthetic */ Object f1976h; d(Object obj, y yVar, View view, Fragment fragment, ArrayList arrayList, ArrayList arrayList2, ArrayList arrayList3, Object obj2) { this.f1969a = obj; this.f1970b = yVar; this.f1971c = view; this.f1972d = fragment; this.f1973e = arrayList; this.f1974f = arrayList2; this.f1975g = arrayList3; this.f1976h = obj2; } @Override // java.lang.Runnable public void run() { Object obj = this.f1969a; if (obj != null) { this.f1970b.p(obj, this.f1971c); this.f1974f.addAll(w.k(this.f1970b, this.f1969a, this.f1972d, this.f1973e, this.f1971c)); } if (this.f1975g != null) { if (this.f1976h != null) { ArrayList arrayList = new ArrayList(); arrayList.add(this.f1971c); this.f1970b.q(this.f1976h, this.f1975g, arrayList); } this.f1975g.clear(); this.f1975g.add(this.f1971c); } } } class e implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ Fragment f1977a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ Fragment f1978b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ boolean f1979c; /* renamed from: d, reason: collision with root package name */ final /* synthetic */ androidx.collection.a f1980d; /* renamed from: e, reason: collision with root package name */ final /* synthetic */ View f1981e; /* renamed from: f, reason: collision with root package name */ final /* synthetic */ y f1982f; /* renamed from: g, reason: collision with root package name */ final /* synthetic */ Rect f1983g; e(Fragment fragment, Fragment fragment2, boolean z10, androidx.collection.a aVar, View view, y yVar, Rect rect) { this.f1977a = fragment; this.f1978b = fragment2; this.f1979c = z10; this.f1980d = aVar; this.f1981e = view; this.f1982f = yVar; this.f1983g = rect; } @Override // java.lang.Runnable public void run() { w.f(this.f1977a, this.f1978b, this.f1979c, this.f1980d, false); View view = this.f1981e; if (view != null) { this.f1982f.k(view, this.f1983g); } } } class f implements Runnable { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ y f1984a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ androidx.collection.a f1985b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ Object f1986c; /* renamed from: d, reason: collision with root package name */ final /* synthetic */ h f1987d; /* renamed from: e, reason: collision with root package name */ final /* synthetic */ ArrayList f1988e; /* renamed from: f, reason: collision with root package name */ final /* synthetic */ View f1989f; /* renamed from: g, reason: collision with root package name */ final /* synthetic */ Fragment f1990g; /* renamed from: h, reason: collision with root package name */ final /* synthetic */ Fragment f1991h; /* renamed from: i, reason: collision with root package name */ final /* synthetic */ boolean f1992i; /* renamed from: j, reason: collision with root package name */ final /* synthetic */ ArrayList f1993j; /* renamed from: k, reason: collision with root package name */ final /* synthetic */ Object f1994k; /* renamed from: l, reason: collision with root package name */ final /* synthetic */ Rect f1995l; f(y yVar, androidx.collection.a aVar, Object obj, h hVar, ArrayList arrayList, View view, Fragment fragment, Fragment fragment2, boolean z10, ArrayList arrayList2, Object obj2, Rect rect) { this.f1984a = yVar; this.f1985b = aVar; this.f1986c = obj; this.f1987d = hVar; this.f1988e = arrayList; this.f1989f = view; this.f1990g = fragment; this.f1991h = fragment2; this.f1992i = z10; this.f1993j = arrayList2; this.f1994k = obj2; this.f1995l = rect; } @Override // java.lang.Runnable public void run() { androidx.collection.a h10 = w.h(this.f1984a, this.f1985b, this.f1986c, this.f1987d); if (h10 != null) { this.f1988e.addAll(h10.values()); this.f1988e.add(this.f1989f); } w.f(this.f1990g, this.f1991h, this.f1992i, h10, false); Object obj = this.f1986c; if (obj != null) { this.f1984a.A(obj, this.f1993j, this.f1988e); View s10 = w.s(h10, this.f1987d, this.f1994k, this.f1992i); if (s10 != null) { this.f1984a.k(s10, this.f1995l); } } } } interface g { void a(Fragment fragment, v.b bVar); void b(Fragment fragment, v.b bVar); } static class h { /* renamed from: a, reason: collision with root package name */ public Fragment f1996a; /* renamed from: b, reason: collision with root package name */ public boolean f1997b; /* renamed from: c, reason: collision with root package name */ public androidx.fragment.app.a f1998c; /* renamed from: d, reason: collision with root package name */ public Fragment f1999d; /* renamed from: e, reason: collision with root package name */ public boolean f2000e; /* renamed from: f, reason: collision with root package name */ public androidx.fragment.app.a f2001f; h() { } } static void A(ArrayList arrayList, int i10) { if (arrayList == null) { return; } for (int size = arrayList.size() - 1; size >= 0; size--) { ((View) arrayList.get(size)).setVisibility(i10); } } static void B(Context context, androidx.fragment.app.g gVar, ArrayList arrayList, ArrayList arrayList2, int i10, int i11, boolean z10, g gVar2) { ViewGroup viewGroup; SparseArray sparseArray = new SparseArray(); for (int i12 = i10; i12 < i11; i12++) { androidx.fragment.app.a aVar = (androidx.fragment.app.a) arrayList.get(i12); if (((Boolean) arrayList2.get(i12)).booleanValue()) { e(aVar, sparseArray, z10); } else { c(aVar, sparseArray, z10); } } if (sparseArray.size() != 0) { View view = new View(context); int size = sparseArray.size(); for (int i13 = 0; i13 < size; i13++) { int keyAt = sparseArray.keyAt(i13); androidx.collection.a d10 = d(keyAt, arrayList, arrayList2, i10, i11); h hVar = (h) sparseArray.valueAt(i13); if (gVar.d() && (viewGroup = (ViewGroup) gVar.c(keyAt)) != null) { if (z10) { o(viewGroup, hVar, view, d10, gVar2); } else { n(viewGroup, hVar, view, d10, gVar2); } } } } } private static void a(ArrayList arrayList, androidx.collection.a aVar, Collection collection) { for (int size = aVar.size() - 1; size >= 0; size--) { View view = (View) aVar.m(size); if (collection.contains(n0.J(view))) { arrayList.add(view); } } } /* JADX WARN: Code restructure failed: missing block: B:59:0x0039, code lost: if (r0.mAdded != false) goto L70; */ /* JADX WARN: Code restructure failed: missing block: B:60:0x008c, code lost: r9 = true; */ /* JADX WARN: Code restructure failed: missing block: B:71:0x006e, code lost: r9 = true; */ /* JADX WARN: Code restructure failed: missing block: B:96:0x008a, code lost: if (r0.mHidden == false) goto L70; */ /* JADX WARN: Removed duplicated region for block: B:26:0x009a */ /* JADX WARN: Removed duplicated region for block: B:29:0x00a7 A[ADDED_TO_REGION] */ /* JADX WARN: Removed duplicated region for block: B:36:0x00b5 */ /* JADX WARN: Removed duplicated region for block: B:38:0x00c7 A[ADDED_TO_REGION] */ /* JADX WARN: Removed duplicated region for block: B:43:0x00d9 A[ADDED_TO_REGION] */ /* JADX WARN: Removed duplicated region for block: B:52:? A[ADDED_TO_REGION, RETURN, SYNTHETIC] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct code enable 'Show inconsistent code' option in preferences */ private static void b(androidx.fragment.app.a r8, androidx.fragment.app.v.a r9, android.util.SparseArray r10, boolean r11, boolean r12) { /* Method dump skipped, instructions count: 228 To view this dump change 'Code comments level' option to 'DEBUG' */ throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.w.b(androidx.fragment.app.a, androidx.fragment.app.v$a, android.util.SparseArray, boolean, boolean):void"); } public static void c(androidx.fragment.app.a aVar, SparseArray sparseArray, boolean z10) { int size = aVar.f1934c.size(); for (int i10 = 0; i10 < size; i10++) { b(aVar, (v.a) aVar.f1934c.get(i10), sparseArray, false, z10); } } private static androidx.collection.a d(int i10, ArrayList arrayList, ArrayList arrayList2, int i11, int i12) { ArrayList arrayList3; ArrayList arrayList4; androidx.collection.a aVar = new androidx.collection.a(); for (int i13 = i12 - 1; i13 >= i11; i13--) { androidx.fragment.app.a aVar2 = (androidx.fragment.app.a) arrayList.get(i13); if (aVar2.x(i10)) { boolean booleanValue = ((Boolean) arrayList2.get(i13)).booleanValue(); ArrayList arrayList5 = aVar2.f1947p; if (arrayList5 != null) { int size = arrayList5.size(); if (booleanValue) { arrayList3 = aVar2.f1947p; arrayList4 = aVar2.f1948q; } else { ArrayList arrayList6 = aVar2.f1947p; arrayList3 = aVar2.f1948q; arrayList4 = arrayList6; } for (int i14 = 0; i14 < size; i14++) { String str = (String) arrayList4.get(i14); String str2 = (String) arrayList3.get(i14); String str3 = (String) aVar.remove(str2); if (str3 != null) { aVar.put(str, str3); } else { aVar.put(str, str2); } } } } } return aVar; } public static void e(androidx.fragment.app.a aVar, SparseArray sparseArray, boolean z10) { if (aVar.f1710t.n0().d()) { for (int size = aVar.f1934c.size() - 1; size >= 0; size--) { b(aVar, (v.a) aVar.f1934c.get(size), sparseArray, true, z10); } } } static void f(Fragment fragment, Fragment fragment2, boolean z10, androidx.collection.a aVar, boolean z11) { if (z10) { fragment2.getEnterTransitionCallback(); } else { fragment.getEnterTransitionCallback(); } } private static boolean g(y yVar, List list) { int size = list.size(); for (int i10 = 0; i10 < size; i10++) { if (!yVar.e(list.get(i10))) { return false; } } return true; } static androidx.collection.a h(y yVar, androidx.collection.a aVar, Object obj, h hVar) { ArrayList arrayList; Fragment fragment = hVar.f1996a; View view = fragment.getView(); if (aVar.isEmpty() || obj == null || view == null) { aVar.clear(); return null; } androidx.collection.a aVar2 = new androidx.collection.a(); yVar.j(aVar2, view); androidx.fragment.app.a aVar3 = hVar.f1998c; if (hVar.f1997b) { fragment.getExitTransitionCallback(); arrayList = aVar3.f1947p; } else { fragment.getEnterTransitionCallback(); arrayList = aVar3.f1948q; } if (arrayList != null) { aVar2.o(arrayList); aVar2.o(aVar.values()); } x(aVar, aVar2); return aVar2; } private static androidx.collection.a i(y yVar, androidx.collection.a aVar, Object obj, h hVar) { ArrayList arrayList; if (aVar.isEmpty() || obj == null) { aVar.clear(); return null; } Fragment fragment = hVar.f1999d; androidx.collection.a aVar2 = new androidx.collection.a(); yVar.j(aVar2, fragment.requireView()); androidx.fragment.app.a aVar3 = hVar.f2001f; if (hVar.f2000e) { fragment.getEnterTransitionCallback(); arrayList = aVar3.f1948q; } else { fragment.getExitTransitionCallback(); arrayList = aVar3.f1947p; } if (arrayList != null) { aVar2.o(arrayList); } aVar.o(aVar2.keySet()); return aVar2; } private static y j(Fragment fragment, Fragment fragment2) { ArrayList arrayList = new ArrayList(); if (fragment != null) { Object exitTransition = fragment.getExitTransition(); if (exitTransition != null) { arrayList.add(exitTransition); } Object returnTransition = fragment.getReturnTransition(); if (returnTransition != null) { arrayList.add(returnTransition); } Object sharedElementReturnTransition = fragment.getSharedElementReturnTransition(); if (sharedElementReturnTransition != null) { arrayList.add(sharedElementReturnTransition); } } if (fragment2 != null) { Object enterTransition = fragment2.getEnterTransition(); if (enterTransition != null) { arrayList.add(enterTransition); } Object reenterTransition = fragment2.getReenterTransition(); if (reenterTransition != null) { arrayList.add(reenterTransition); } Object sharedElementEnterTransition = fragment2.getSharedElementEnterTransition(); if (sharedElementEnterTransition != null) { arrayList.add(sharedElementEnterTransition); } } if (arrayList.isEmpty()) { return null; } y yVar = f1960b; if (yVar != null && g(yVar, arrayList)) { return yVar; } y yVar2 = f1961c; if (yVar2 != null && g(yVar2, arrayList)) { return yVar2; } if (yVar == null && yVar2 == null) { return null; } throw new IllegalArgumentException("Invalid Transition types"); } static ArrayList k(y yVar, Object obj, Fragment fragment, ArrayList arrayList, View view) { if (obj == null) { return null; } ArrayList arrayList2 = new ArrayList(); View view2 = fragment.getView(); if (view2 != null) { yVar.f(arrayList2, view2); } if (arrayList != null) { arrayList2.removeAll(arrayList); } if (arrayList2.isEmpty()) { return arrayList2; } arrayList2.add(view); yVar.b(obj, arrayList2); return arrayList2; } private static Object l(y yVar, ViewGroup viewGroup, View view, androidx.collection.a aVar, h hVar, ArrayList arrayList, ArrayList arrayList2, Object obj, Object obj2) { Object t10; androidx.collection.a aVar2; Object obj3; Rect rect; Fragment fragment = hVar.f1996a; Fragment fragment2 = hVar.f1999d; if (fragment == null || fragment2 == null) { return null; } boolean z10 = hVar.f1997b; if (aVar.isEmpty()) { aVar2 = aVar; t10 = null; } else { t10 = t(yVar, fragment, fragment2, z10); aVar2 = aVar; } androidx.collection.a i10 = i(yVar, aVar2, t10, hVar); if (aVar.isEmpty()) { obj3 = null; } else { arrayList.addAll(i10.values()); obj3 = t10; } if (obj == null && obj2 == null && obj3 == null) { return null; } f(fragment, fragment2, z10, i10, true); if (obj3 != null) { rect = new Rect(); yVar.z(obj3, view, arrayList); z(yVar, obj3, obj2, i10, hVar.f2000e, hVar.f2001f); if (obj != null) { yVar.u(obj, rect); } } else { rect = null; } l0.a(viewGroup, new f(yVar, aVar, obj3, hVar, arrayList2, view, fragment, fragment2, z10, arrayList, obj, rect)); return obj3; } private static Object m(y yVar, ViewGroup viewGroup, View view, androidx.collection.a aVar, h hVar, ArrayList arrayList, ArrayList arrayList2, Object obj, Object obj2) { Object obj3; View view2; Rect rect; Fragment fragment = hVar.f1996a; Fragment fragment2 = hVar.f1999d; if (fragment != null) { fragment.requireView().setVisibility(0); } if (fragment == null || fragment2 == null) { return null; } boolean z10 = hVar.f1997b; Object t10 = aVar.isEmpty() ? null : t(yVar, fragment, fragment2, z10); androidx.collection.a i10 = i(yVar, aVar, t10, hVar); androidx.collection.a h10 = h(yVar, aVar, t10, hVar); if (aVar.isEmpty()) { if (i10 != null) { i10.clear(); } if (h10 != null) { h10.clear(); } obj3 = null; } else { a(arrayList, i10, aVar.keySet()); a(arrayList2, h10, aVar.values()); obj3 = t10; } if (obj == null && obj2 == null && obj3 == null) { return null; } f(fragment, fragment2, z10, i10, true); if (obj3 != null) { arrayList2.add(view); yVar.z(obj3, view, arrayList); z(yVar, obj3, obj2, i10, hVar.f2000e, hVar.f2001f); Rect rect2 = new Rect(); View s10 = s(h10, hVar, obj, z10); if (s10 != null) { yVar.u(obj, rect2); } rect = rect2; view2 = s10; } else { view2 = null; rect = null; } l0.a(viewGroup, new e(fragment, fragment2, z10, h10, view2, yVar, rect)); return obj3; } private static void n(ViewGroup viewGroup, h hVar, View view, androidx.collection.a aVar, g gVar) { Object obj; Fragment fragment = hVar.f1996a; Fragment fragment2 = hVar.f1999d; y j10 = j(fragment2, fragment); if (j10 == null) { return; } boolean z10 = hVar.f1997b; boolean z11 = hVar.f2000e; Object q10 = q(j10, fragment, z10); Object r10 = r(j10, fragment2, z11); ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); Object l10 = l(j10, viewGroup, view, aVar, hVar, arrayList, arrayList2, q10, r10); if (q10 == null && l10 == null) { obj = r10; if (obj == null) { return; } } else { obj = r10; } ArrayList k10 = k(j10, obj, fragment2, arrayList, view); if (k10 == null || k10.isEmpty()) { obj = null; } Object obj2 = obj; j10.a(q10, view); Object u10 = u(j10, q10, obj2, l10, fragment, hVar.f1997b); if (fragment2 != null && k10 != null && (k10.size() > 0 || arrayList.size() > 0)) { v.b bVar = new v.b(); gVar.a(fragment2, bVar); j10.w(fragment2, u10, bVar, new c(gVar, fragment2, bVar)); } if (u10 != null) { ArrayList arrayList3 = new ArrayList(); j10.t(u10, q10, arrayList3, obj2, k10, l10, arrayList2); y(j10, viewGroup, fragment, view, arrayList2, q10, arrayList3, obj2, k10); j10.x(viewGroup, arrayList2, aVar); j10.c(viewGroup, u10); j10.s(viewGroup, arrayList2, aVar); } } private static void o(ViewGroup viewGroup, h hVar, View view, androidx.collection.a aVar, g gVar) { Object obj; Fragment fragment = hVar.f1996a; Fragment fragment2 = hVar.f1999d; y j10 = j(fragment2, fragment); if (j10 == null) { return; } boolean z10 = hVar.f1997b; boolean z11 = hVar.f2000e; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); Object q10 = q(j10, fragment, z10); Object r10 = r(j10, fragment2, z11); Object m10 = m(j10, viewGroup, view, aVar, hVar, arrayList2, arrayList, q10, r10); if (q10 == null && m10 == null) { obj = r10; if (obj == null) { return; } } else { obj = r10; } ArrayList k10 = k(j10, obj, fragment2, arrayList2, view); ArrayList k11 = k(j10, q10, fragment, arrayList, view); A(k11, 4); Object u10 = u(j10, q10, obj, m10, fragment, z10); if (fragment2 != null && k10 != null && (k10.size() > 0 || arrayList2.size() > 0)) { v.b bVar = new v.b(); gVar.a(fragment2, bVar); j10.w(fragment2, u10, bVar, new a(gVar, fragment2, bVar)); } if (u10 != null) { v(j10, obj, fragment2, k10); ArrayList o10 = j10.o(arrayList); j10.t(u10, q10, k11, obj, k10, m10, arrayList); j10.c(viewGroup, u10); j10.y(viewGroup, arrayList2, arrayList, o10, aVar); A(k11, 0); j10.A(m10, arrayList2, arrayList); } } private static h p(h hVar, SparseArray sparseArray, int i10) { if (hVar != null) { return hVar; } h hVar2 = new h(); sparseArray.put(i10, hVar2); return hVar2; } private static Object q(y yVar, Fragment fragment, boolean z10) { if (fragment == null) { return null; } return yVar.g(z10 ? fragment.getReenterTransition() : fragment.getEnterTransition()); } private static Object r(y yVar, Fragment fragment, boolean z10) { if (fragment == null) { return null; } return yVar.g(z10 ? fragment.getReturnTransition() : fragment.getExitTransition()); } static View s(androidx.collection.a aVar, h hVar, Object obj, boolean z10) { ArrayList arrayList; androidx.fragment.app.a aVar2 = hVar.f1998c; if (obj == null || aVar == null || (arrayList = aVar2.f1947p) == null || arrayList.isEmpty()) { return null; } return (View) aVar.get(z10 ? (String) aVar2.f1947p.get(0) : (String) aVar2.f1948q.get(0)); } private static Object t(y yVar, Fragment fragment, Fragment fragment2, boolean z10) { if (fragment == null || fragment2 == null) { return null; } return yVar.B(yVar.g(z10 ? fragment2.getSharedElementReturnTransition() : fragment.getSharedElementEnterTransition())); } private static Object u(y yVar, Object obj, Object obj2, Object obj3, Fragment fragment, boolean z10) { return (obj == null || obj2 == null || fragment == null) ? true : z10 ? fragment.getAllowReturnTransitionOverlap() : fragment.getAllowEnterTransitionOverlap() ? yVar.n(obj2, obj, obj3) : yVar.m(obj2, obj, obj3); } private static void v(y yVar, Object obj, Fragment fragment, ArrayList arrayList) { if (fragment != null && obj != null && fragment.mAdded && fragment.mHidden && fragment.mHiddenChanged) { fragment.setHideReplaced(true); yVar.r(obj, fragment.getView(), arrayList); l0.a(fragment.mContainer, new b(arrayList)); } } private static y w() { try { return (y) t0.e.class.getDeclaredConstructor(new Class[0]).newInstance(new Object[0]); } catch (Exception unused) { return null; } } static void x(androidx.collection.a aVar, androidx.collection.a aVar2) { for (int size = aVar.size() - 1; size >= 0; size--) { if (!aVar2.containsKey((String) aVar.m(size))) { aVar.k(size); } } } private static void y(y yVar, ViewGroup viewGroup, Fragment fragment, View view, ArrayList arrayList, Object obj, ArrayList arrayList2, Object obj2, ArrayList arrayList3) { l0.a(viewGroup, new d(obj, yVar, view, fragment, arrayList, arrayList2, arrayList3, obj2)); } private static void z(y yVar, Object obj, Object obj2, androidx.collection.a aVar, boolean z10, androidx.fragment.app.a aVar2) { ArrayList arrayList = aVar2.f1947p; if (arrayList == null || arrayList.isEmpty()) { return; } View view = (View) aVar.get(z10 ? (String) aVar2.f1948q.get(0) : (String) aVar2.f1947p.get(0)); yVar.v(obj, view); if (obj2 != null) { yVar.v(obj2, view); } } }