package y0;

import java.util.List;

/* loaded from: classes.dex */
public abstract /* synthetic */ class s3 {
    public static final j1.r a() {
        return new j1.r();
    }

    public static final j1.r b(Object... objArr) {
        List J0;
        j1.r rVar = new j1.r();
        J0 = sm.p.J0(objArr);
        rVar.addAll(J0);
        return rVar;
    }

    public static final q1 c(Object obj, m3 m3Var) {
        return b.d(obj, m3Var);
    }

    public static /* synthetic */ q1 d(Object obj, m3 m3Var, int i10, Object obj2) {
        if ((i10 & 2) != 0) {
            m3Var = n3.q();
        }
        return n3.h(obj, m3Var);
    }

    public static final y3 e(Object obj, m mVar, int i10) {
        if (p.H()) {
            p.Q(-1058319986, i10, -1, "androidx.compose.runtime.rememberUpdatedState (SnapshotState.kt:309)");
        }
        Object f10 = mVar.f();
        if (f10 == m.f51621a.a()) {
            f10 = d(obj, null, 2, null);
            mVar.I(f10);
        }
        q1 q1Var = (q1) f10;
        q1Var.setValue(obj);
        if (p.H()) {
            p.P();
        }
        return q1Var;
    }
}
