package y;

import y.m1;
import y0.m;
import y0.y3;

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

    /* renamed from: a, reason: collision with root package name */
    private static final dn.l f51314a = b.f51318p;

    /* renamed from: b, reason: collision with root package name */
    private static final rm.o f51315b;

    /* loaded from: classes.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        public static final a f51316p = new a();

        /* JADX INFO: Access modifiers changed from: package-private */
        /* renamed from: y.n1$a$a, reason: collision with other inner class name */
        /* loaded from: classes.dex */
        public static final class C1030a extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final C1030a f51317p = new C1030a();

            C1030a() {
                super(1);
            }

            public final void a(dn.a aVar) {
                aVar.invoke();
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((dn.a) obj);
                return rm.n0.f34904a;
            }
        }

        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final j1.u invoke() {
            j1.u uVar = new j1.u(C1030a.f51317p);
            uVar.s();
            return uVar;
        }
    }

    /* loaded from: classes.dex */
    static final class b extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        public static final b f51318p = new b();

        b() {
            super(1);
        }

        public final void a(b1 b1Var) {
            throw null;
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            android.support.v4.media.session.b.a(obj);
            a(null);
            return rm.n0.f34904a;
        }
    }

    /* loaded from: classes.dex */
    static final class c extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ m1 f51319p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ m1 f51320q;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ m1 f51321a;

            /* renamed from: b, reason: collision with root package name */
            final /* synthetic */ m1 f51322b;

            public a(m1 m1Var, m1 m1Var2) {
                this.f51321a = m1Var;
                this.f51322b = m1Var2;
            }

            @Override // y0.l0
            public void a() {
                this.f51321a.B(this.f51322b);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(m1 m1Var, m1 m1Var2) {
            super(1);
            this.f51319p = m1Var;
            this.f51320q = m1Var2;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            this.f51319p.d(this.f51320q);
            return new a(this.f51319p, this.f51320q);
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class d extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ m1 f51323p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ m1.a f51324q;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ m1 f51325a;

            /* renamed from: b, reason: collision with root package name */
            final /* synthetic */ m1.a f51326b;

            public a(m1 m1Var, m1.a aVar) {
                this.f51325a = m1Var;
                this.f51326b = aVar;
            }

            @Override // y0.l0
            public void a() {
                this.f51325a.z(this.f51326b);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(m1 m1Var, m1.a aVar) {
            super(1);
            this.f51323p = m1Var;
            this.f51324q = aVar;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            return new a(this.f51323p, this.f51324q);
        }
    }

    /* loaded from: classes.dex */
    static final class e extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ m1 f51327p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ m1.d f51328q;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ m1 f51329a;

            /* renamed from: b, reason: collision with root package name */
            final /* synthetic */ m1.d f51330b;

            public a(m1 m1Var, m1.d dVar) {
                this.f51329a = m1Var;
                this.f51330b = dVar;
            }

            @Override // y0.l0
            public void a() {
                this.f51329a.A(this.f51330b);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        e(m1 m1Var, m1.d dVar) {
            super(1);
            this.f51327p = m1Var;
            this.f51328q = dVar;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            this.f51327p.c(this.f51328q);
            return new a(this.f51327p, this.f51328q);
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class f extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ m1 f51331p;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ m1 f51332a;

            public a(m1 m1Var) {
                this.f51332a = m1Var;
            }

            @Override // y0.l0
            public void a() {
                this.f51332a.u();
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        f(m1 m1Var) {
            super(1);
            this.f51331p = m1Var;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            return new a(this.f51331p);
        }
    }

    /* loaded from: classes.dex */
    static final class g extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ m1 f51333p;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ m1 f51334a;

            public a(m1 m1Var) {
                this.f51334a = m1Var;
            }

            @Override // y0.l0
            public void a() {
                this.f51334a.u();
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        g(m1 m1Var) {
            super(1);
            this.f51333p = m1Var;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            return new a(this.f51333p);
        }
    }

    static {
        rm.o b10;
        b10 = rm.q.b(rm.s.NONE, a.f51316p);
        f51315b = b10;
    }

    public static final m1 a(m1 m1Var, Object obj, Object obj2, String str, y0.m mVar, int i10) {
        if (y0.p.H()) {
            y0.p.Q(-198307638, i10, -1, "androidx.compose.animation.core.createChildTransitionInternal (Transition.kt:1825)");
        }
        int i11 = (i10 & 14) ^ 6;
        boolean z10 = true;
        boolean z11 = (i11 > 4 && mVar.R(m1Var)) || (i10 & 6) == 4;
        Object f10 = mVar.f();
        if (z11 || f10 == y0.m.f51621a.a()) {
            f10 = new m1(new u0(obj), m1Var, m1Var.j() + " > " + str);
            mVar.I(f10);
        }
        m1 m1Var2 = (m1) f10;
        if ((i11 <= 4 || !mVar.R(m1Var)) && (i10 & 6) != 4) {
            z10 = false;
        }
        boolean R = mVar.R(m1Var2) | z10;
        Object f11 = mVar.f();
        if (R || f11 == y0.m.f51621a.a()) {
            f11 = new c(m1Var, m1Var2);
            mVar.I(f11);
        }
        y0.p0.a(m1Var2, (dn.l) f11, mVar, 0);
        if (m1Var.s()) {
            m1Var2.D(obj, obj2, m1Var.k());
        } else {
            m1Var2.L(obj2);
            m1Var2.F(false);
        }
        if (y0.p.H()) {
            y0.p.P();
        }
        return m1Var2;
    }

    public static final m1.a b(m1 m1Var, q1 q1Var, String str, y0.m mVar, int i10, int i11) {
        if ((i11 & 2) != 0) {
            str = "DeferredAnimation";
        }
        if (y0.p.H()) {
            y0.p.Q(-1714122528, i10, -1, "androidx.compose.animation.core.createDeferredAnimation (Transition.kt:1779)");
        }
        int i12 = (i10 & 14) ^ 6;
        boolean z10 = true;
        boolean z11 = (i12 > 4 && mVar.R(m1Var)) || (i10 & 6) == 4;
        Object f10 = mVar.f();
        if (z11 || f10 == y0.m.f51621a.a()) {
            f10 = new m1.a(q1Var, str);
            mVar.I(f10);
        }
        m1.a aVar = (m1.a) f10;
        if ((i12 <= 4 || !mVar.R(m1Var)) && (i10 & 6) != 4) {
            z10 = false;
        }
        boolean m10 = mVar.m(aVar) | z10;
        Object f11 = mVar.f();
        if (m10 || f11 == y0.m.f51621a.a()) {
            f11 = new d(m1Var, aVar);
            mVar.I(f11);
        }
        y0.p0.a(aVar, (dn.l) f11, mVar, 0);
        if (m1Var.s()) {
            aVar.d();
        }
        if (y0.p.H()) {
            y0.p.P();
        }
        return aVar;
    }

    public static final y3 c(m1 m1Var, Object obj, Object obj2, g0 g0Var, q1 q1Var, String str, y0.m mVar, int i10) {
        if (y0.p.H()) {
            y0.p.Q(-304821198, i10, -1, "androidx.compose.animation.core.createTransitionAnimation (Transition.kt:1900)");
        }
        int i11 = (i10 & 14) ^ 6;
        boolean z10 = true;
        boolean z11 = (i11 > 4 && mVar.R(m1Var)) || (i10 & 6) == 4;
        Object f10 = mVar.f();
        if (z11 || f10 == y0.m.f51621a.a()) {
            Object dVar = new m1.d(obj, l.i(q1Var, obj2), q1Var, str);
            mVar.I(dVar);
            f10 = dVar;
        }
        m1.d dVar2 = (m1.d) f10;
        if (m1Var.s()) {
            dVar2.H(obj, obj2, g0Var);
        } else {
            dVar2.I(obj2, g0Var);
        }
        if ((i11 <= 4 || !mVar.R(m1Var)) && (i10 & 6) != 4) {
            z10 = false;
        }
        boolean R = mVar.R(dVar2) | z10;
        Object f11 = mVar.f();
        if (R || f11 == y0.m.f51621a.a()) {
            f11 = new e(m1Var, dVar2);
            mVar.I(f11);
        }
        y0.p0.a(dVar2, (dn.l) f11, mVar, 0);
        if (y0.p.H()) {
            y0.p.P();
        }
        return dVar2;
    }

    public static final m1 d(o1 o1Var, String str, y0.m mVar, int i10, int i11) {
        if ((i11 & 2) != 0) {
            str = null;
        }
        if (y0.p.H()) {
            y0.p.Q(1643203617, i10, -1, "androidx.compose.animation.core.rememberTransition (Transition.kt:820)");
        }
        boolean z10 = (((i10 & 14) ^ 6) > 4 && mVar.R(o1Var)) || (i10 & 6) == 4;
        Object f10 = mVar.f();
        if (z10 || f10 == y0.m.f51621a.a()) {
            f10 = new m1(o1Var, str);
            mVar.I(f10);
        }
        m1 m1Var = (m1) f10;
        mVar.S(1030875195);
        m1Var.e(o1Var.b(), mVar, 0);
        mVar.H();
        boolean R = mVar.R(m1Var);
        Object f11 = mVar.f();
        if (R || f11 == y0.m.f51621a.a()) {
            f11 = new f(m1Var);
            mVar.I(f11);
        }
        y0.p0.a(m1Var, (dn.l) f11, mVar, 0);
        if (y0.p.H()) {
            y0.p.P();
        }
        return m1Var;
    }

    public static final m1 e(Object obj, String str, y0.m mVar, int i10, int i11) {
        if ((i11 & 2) != 0) {
            str = null;
        }
        if (y0.p.H()) {
            y0.p.Q(2029166765, i10, -1, "androidx.compose.animation.core.updateTransition (Transition.kt:91)");
        }
        Object f10 = mVar.f();
        m.a aVar = y0.m.f51621a;
        if (f10 == aVar.a()) {
            f10 = new m1(obj, str);
            mVar.I(f10);
        }
        m1 m1Var = (m1) f10;
        m1Var.e(obj, mVar, (i10 & 8) | 48 | (i10 & 14));
        Object f11 = mVar.f();
        if (f11 == aVar.a()) {
            f11 = new g(m1Var);
            mVar.I(f11);
        }
        y0.p0.a(m1Var, (dn.l) f11, mVar, 54);
        if (y0.p.H()) {
            y0.p.P();
        }
        return m1Var;
    }

    public static final m1 f(u0 u0Var, String str, y0.m mVar, int i10, int i11) {
        if ((i11 & 2) != 0) {
            str = null;
        }
        if (y0.p.H()) {
            y0.p.Q(882913843, i10, -1, "androidx.compose.animation.core.updateTransition (Transition.kt:873)");
        }
        m1 d10 = d(u0Var, str, mVar, (i10 & 112) | (i10 & 14), 0);
        if (y0.p.H()) {
            y0.p.P();
        }
        return d10;
    }
}
