package androidx.fragment.app; import android.os.Bundle; import android.view.View; import java.util.Iterator; import java.util.concurrent.CopyOnWriteArrayList; /* loaded from: classes.dex */ class m { /* renamed from: a, reason: collision with root package name */ private final CopyOnWriteArrayList f1841a = new CopyOnWriteArrayList(); /* renamed from: b, reason: collision with root package name */ private final n f1842b; m(n nVar) { this.f1842b = nVar; } void a(Fragment fragment, Bundle bundle, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().a(fragment, bundle, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void b(Fragment fragment, boolean z10) { this.f1842b.s0().f(); Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().b(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void c(Fragment fragment, Bundle bundle, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().c(fragment, bundle, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void d(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().d(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void e(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().e(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void f(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().f(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void g(Fragment fragment, boolean z10) { this.f1842b.s0().f(); Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().g(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void h(Fragment fragment, Bundle bundle, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().h(fragment, bundle, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void i(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().i(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void j(Fragment fragment, Bundle bundle, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().j(fragment, bundle, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void k(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().k(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void l(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().l(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void m(Fragment fragment, View view, Bundle bundle, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().m(fragment, view, bundle, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } void n(Fragment fragment, boolean z10) { Fragment v02 = this.f1842b.v0(); if (v02 != null) { v02.getParentFragmentManager().u0().n(fragment, true); } Iterator it = this.f1841a.iterator(); if (it.hasNext()) { androidx.appcompat.app.m.a(it.next()); if (!z10) { throw null; } throw null; } } }