package y0;

import java.util.Arrays;
import tp.u1;

/* loaded from: classes.dex */
public abstract class p0 {

    /* renamed from: a, reason: collision with root package name */
    private static final m0 f51750a = new m0();

    public static final void a(Object obj, dn.l lVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(-1371986847, i10, -1, "androidx.compose.runtime.DisposableEffect (Effects.kt:155)");
        }
        boolean R = mVar.R(obj);
        Object f10 = mVar.f();
        if (R || f10 == m.f51621a.a()) {
            f10 = new k0(lVar);
            mVar.I(f10);
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void b(Object obj, Object obj2, dn.l lVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(1429097729, i10, -1, "androidx.compose.runtime.DisposableEffect (Effects.kt:195)");
        }
        boolean R = mVar.R(obj) | mVar.R(obj2);
        Object f10 = mVar.f();
        if (R || f10 == m.f51621a.a()) {
            f10 = new k0(lVar);
            mVar.I(f10);
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void c(Object[] objArr, dn.l lVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(-1307627122, i10, -1, "androidx.compose.runtime.DisposableEffect (Effects.kt:276)");
        }
        boolean z10 = false;
        for (Object obj : Arrays.copyOf(objArr, objArr.length)) {
            z10 |= mVar.R(obj);
        }
        Object f10 = mVar.f();
        if (z10 || f10 == m.f51621a.a()) {
            mVar.I(new k0(lVar));
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void d(Object obj, dn.p pVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(1179185413, i10, -1, "androidx.compose.runtime.LaunchedEffect (Effects.kt:337)");
        }
        vm.g B = mVar.B();
        boolean R = mVar.R(obj);
        Object f10 = mVar.f();
        if (R || f10 == m.f51621a.a()) {
            f10 = new c1(B, pVar);
            mVar.I(f10);
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void e(Object obj, Object obj2, dn.p pVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(590241125, i10, -1, "androidx.compose.runtime.LaunchedEffect (Effects.kt:360)");
        }
        vm.g B = mVar.B();
        boolean R = mVar.R(obj) | mVar.R(obj2);
        Object f10 = mVar.f();
        if (R || f10 == m.f51621a.a()) {
            f10 = new c1(B, pVar);
            mVar.I(f10);
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void f(Object[] objArr, dn.p pVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(-139560008, i10, -1, "androidx.compose.runtime.LaunchedEffect (Effects.kt:410)");
        }
        vm.g B = mVar.B();
        boolean z10 = false;
        for (Object obj : Arrays.copyOf(objArr, objArr.length)) {
            z10 |= mVar.R(obj);
        }
        Object f10 = mVar.f();
        if (z10 || f10 == m.f51621a.a()) {
            mVar.I(new c1(B, pVar));
        }
        if (p.H()) {
            p.P();
        }
    }

    public static final void g(dn.a aVar, m mVar, int i10) {
        if (p.H()) {
            p.Q(-1288466761, i10, -1, "androidx.compose.runtime.SideEffect (Effects.kt:48)");
        }
        mVar.Q(aVar);
        if (p.H()) {
            p.P();
        }
    }

    public static final tp.m0 i(vm.g gVar, m mVar) {
        tp.a0 b10;
        u1.b bVar = tp.u1.f36592j;
        if (gVar.d(bVar) == null) {
            vm.g B = mVar.B();
            return tp.n0.a(B.h(tp.y1.a((tp.u1) B.d(bVar))).h(gVar));
        }
        b10 = tp.a2.b(null, 1, null);
        b10.a(new IllegalArgumentException("CoroutineContext supplied to rememberCoroutineScope may not include a parent job"));
        return tp.n0.a(b10);
    }
}
