package d.k.b;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import java.util.Iterator;
import java.util.Objects;
import java.util.concurrent.CopyOnWriteArrayList;

/* JADX INFO: loaded from: classes.dex */
public class z {
    public final CopyOnWriteArrayList<a> a = new CopyOnWriteArrayList<>();

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final a0 f3175b;

    public static final class a {
    }

    public z(a0 a0Var) {
        this.f3175b = a0Var;
    }

    public void a(m mVar, Bundle bundle, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.a(mVar, bundle, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void b(m mVar, boolean z2) {
        a0 a0Var = this.f3175b;
        Context context = a0Var.f2906q.f3169m;
        m mVar2 = a0Var.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.b(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void c(m mVar, Bundle bundle, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.c(mVar, bundle, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void d(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.d(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void e(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.e(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void f(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.f(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void g(m mVar, boolean z2) {
        a0 a0Var = this.f3175b;
        Context context = a0Var.f2906q.f3169m;
        m mVar2 = a0Var.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.g(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void h(m mVar, Bundle bundle, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.h(mVar, bundle, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void i(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.i(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void j(m mVar, Bundle bundle, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.j(mVar, bundle, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void k(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.k(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void l(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.l(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void m(m mVar, View view, Bundle bundle, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.m(mVar, view, bundle, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }

    public void n(m mVar, boolean z2) {
        m mVar2 = this.f3175b.f2908s;
        if (mVar2 != null) {
            mVar2.o().f2903n.n(mVar, true);
        }
        Iterator<a> it = this.a.iterator();
        while (it.hasNext()) {
            Objects.requireNonNull(it.next());
            if (!z2) {
                throw null;
            }
        }
    }
}
