package l0;

import android.view.KeyEvent;
import androidx.compose.ui.platform.h3;
import androidx.compose.ui.platform.p2;
import androidx.compose.ui.platform.q2;
import com.google.android.gms.common.api.Api;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import h2.p0;
import j1.k;
import j2.g;
import java.util.List;
import java.util.Map;
import l0.n0;
import l1.i;
import net.sqlcipher.database.SQLiteDatabase;
import s1.s1;
import v2.i;
import w2.y;
import y0.d4;
import y0.j2;
import y0.l2;
import y0.m;
import y0.n3;
import y0.x2;
import y0.y3;

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

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

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

        a() {
            super(1);
        }

        public final void a(q2.j0 j0Var) {
        }

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

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

        /* renamed from: p, reason: collision with root package name */
        int f26936p;

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ y3 f26938r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ w2.s0 f26939s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ r0.f0 f26940t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w2.s f26941u;

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(y3 y3Var) {
                super(0);
                this.f26942p = y3Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                return Boolean.valueOf(j.b(this.f26942p));
            }
        }

        /* JADX INFO: Access modifiers changed from: package-private */
        /* renamed from: l0.j$b$b, reason: collision with other inner class name */
        /* loaded from: classes.dex */
        public static final class C0587b implements wp.f {

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ w2.s0 f26944q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ r0.f0 f26945r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ w2.s f26946s;

            C0587b(z zVar, w2.s0 s0Var, r0.f0 f0Var, w2.s sVar) {
                this.f26943p = zVar;
                this.f26944q = s0Var;
                this.f26945r = f0Var;
                this.f26946s = sVar;
            }

            public final Object b(boolean z10, vm.d dVar) {
                if (z10 && this.f26943p.e()) {
                    j.q(this.f26944q, this.f26943p, this.f26945r.O(), this.f26946s, this.f26945r.J());
                } else {
                    j.n(this.f26943p);
                }
                return rm.n0.f34904a;
            }

            @Override // wp.f
            public /* bridge */ /* synthetic */ Object emit(Object obj, vm.d dVar) {
                return b(((Boolean) obj).booleanValue(), dVar);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(z zVar, y3 y3Var, w2.s0 s0Var, r0.f0 f0Var, w2.s sVar, vm.d dVar) {
            super(2, dVar);
            this.f26937q = zVar;
            this.f26938r = y3Var;
            this.f26939s = s0Var;
            this.f26940t = f0Var;
            this.f26941u = sVar;
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final vm.d create(Object obj, vm.d dVar) {
            return new b(this.f26937q, this.f26938r, this.f26939s, this.f26940t, this.f26941u, dVar);
        }

        /* JADX WARN: Multi-variable type inference failed */
        /* JADX WARN: Type inference failed for: r7v4, types: [java.lang.Object, rm.n0] */
        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            Object f10;
            f10 = wm.d.f();
            int i10 = this.f26936p;
            try {
                if (i10 == 0) {
                    rm.y.b(obj);
                    wp.e p10 = n3.p(new a(this.f26938r));
                    C0587b c0587b = new C0587b(this.f26937q, this.f26939s, this.f26940t, this.f26941u);
                    this.f26936p = 1;
                    if (p10.collect(c0587b, this) == f10) {
                        return f10;
                    }
                } else {
                    if (i10 != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    rm.y.b(obj);
                }
                j.n(this.f26937q);
                this = rm.n0.f34904a;
                return this;
            } catch (Throwable th2) {
                j.n(this.f26937q);
                throw th2;
            }
        }

        @Override // dn.p
        public final Object invoke(tp.m0 m0Var, vm.d dVar) {
            return ((b) create(m0Var, dVar)).invokeSuspend(rm.n0.f34904a);
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ r0.f0 f26947p;

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

            /* renamed from: a, reason: collision with root package name */
            final /* synthetic */ r0.f0 f26948a;

            public a(r0.f0 f0Var) {
                this.f26948a = f0Var;
            }

            @Override // y0.l0
            public void a() {
                this.f26948a.R();
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(r0.f0 f0Var) {
            super(1);
            this.f26947p = f0Var;
        }

        @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.f26947p);
        }
    }

    /* 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 */ z f26949p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ w2.s0 f26950q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ w2.q0 f26951r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ w2.s f26952s;

        /* loaded from: classes.dex */
        public static final class a implements y0.l0 {
            @Override // y0.l0
            public void a() {
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(z zVar, w2.s0 s0Var, w2.q0 q0Var, w2.s sVar) {
            super(1);
            this.f26949p = zVar;
            this.f26950q = s0Var;
            this.f26951r = q0Var;
            this.f26952s = sVar;
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final y0.l0 invoke(y0.m0 m0Var) {
            if (this.f26949p.e()) {
                z zVar = this.f26949p;
                zVar.E(n0.f27142a.i(this.f26950q, this.f26951r, zVar.n(), this.f26952s, this.f26949p.m(), this.f26949p.l()));
            }
            return new a();
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class e extends kotlin.jvm.internal.v implements dn.p {
        final /* synthetic */ l1.i A;
        final /* synthetic */ i0.b B;
        final /* synthetic */ r0.f0 C;
        final /* synthetic */ boolean D;
        final /* synthetic */ boolean E;
        final /* synthetic */ dn.l F;
        final /* synthetic */ w2.h0 G;
        final /* synthetic */ c3.d H;

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ dn.q f26953p;

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ q2.o0 f26955r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ int f26956s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ int f26957t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w0 f26958u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ w2.q0 f26959v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ w2.b1 f26960w;

        /* renamed from: x, reason: collision with root package name */
        final /* synthetic */ l1.i f26961x;

        /* renamed from: y, reason: collision with root package name */
        final /* synthetic */ l1.i f26962y;

        /* renamed from: z, reason: collision with root package name */
        final /* synthetic */ l1.i f26963z;

        /* JADX INFO: Access modifiers changed from: package-private */
        /* loaded from: classes.dex */
        public static final class a extends kotlin.jvm.internal.v implements dn.p {
            final /* synthetic */ i0.b A;
            final /* synthetic */ r0.f0 B;
            final /* synthetic */ boolean C;
            final /* synthetic */ boolean D;
            final /* synthetic */ dn.l E;
            final /* synthetic */ w2.h0 F;
            final /* synthetic */ c3.d G;

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ q2.o0 f26965q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ int f26966r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ int f26967s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ w0 f26968t;

            /* renamed from: u, reason: collision with root package name */
            final /* synthetic */ w2.q0 f26969u;

            /* renamed from: v, reason: collision with root package name */
            final /* synthetic */ w2.b1 f26970v;

            /* renamed from: w, reason: collision with root package name */
            final /* synthetic */ l1.i f26971w;

            /* renamed from: x, reason: collision with root package name */
            final /* synthetic */ l1.i f26972x;

            /* renamed from: y, reason: collision with root package name */
            final /* synthetic */ l1.i f26973y;

            /* renamed from: z, reason: collision with root package name */
            final /* synthetic */ l1.i f26974z;

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

                /* renamed from: p, reason: collision with root package name */
                final /* synthetic */ r0.f0 f26975p;

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

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ boolean f26977r;

                /* renamed from: s, reason: collision with root package name */
                final /* synthetic */ boolean f26978s;

                /* renamed from: t, reason: collision with root package name */
                final /* synthetic */ dn.l f26979t;

                /* renamed from: u, reason: collision with root package name */
                final /* synthetic */ w2.q0 f26980u;

                /* renamed from: v, reason: collision with root package name */
                final /* synthetic */ w2.h0 f26981v;

                /* renamed from: w, reason: collision with root package name */
                final /* synthetic */ c3.d f26982w;

                /* renamed from: x, reason: collision with root package name */
                final /* synthetic */ int f26983x;

                /* renamed from: l0.j$e$a$a$a, reason: collision with other inner class name */
                /* loaded from: classes.dex */
                public static final class C0589a implements h2.e0 {

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

                    /* renamed from: b, reason: collision with root package name */
                    final /* synthetic */ dn.l f26985b;

                    /* renamed from: c, reason: collision with root package name */
                    final /* synthetic */ w2.q0 f26986c;

                    /* renamed from: d, reason: collision with root package name */
                    final /* synthetic */ w2.h0 f26987d;

                    /* renamed from: e, reason: collision with root package name */
                    final /* synthetic */ c3.d f26988e;

                    /* renamed from: f, reason: collision with root package name */
                    final /* synthetic */ int f26989f;

                    /* renamed from: l0.j$e$a$a$a$a, reason: collision with other inner class name */
                    /* loaded from: classes.dex */
                    static final class C0590a extends kotlin.jvm.internal.v implements dn.l {

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

                        C0590a() {
                            super(1);
                        }

                        public final void a(p0.a aVar) {
                        }

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

                    C0589a(z zVar, dn.l lVar, w2.q0 q0Var, w2.h0 h0Var, c3.d dVar, int i10) {
                        this.f26984a = zVar;
                        this.f26985b = lVar;
                        this.f26986c = q0Var;
                        this.f26987d = h0Var;
                        this.f26988e = dVar;
                        this.f26989f = i10;
                    }

                    @Override // h2.e0
                    public h2.f0 f(h2.g0 g0Var, List list, long j10) {
                        Map l10;
                        k.a aVar = j1.k.f23492e;
                        z zVar = this.f26984a;
                        j1.k d10 = aVar.d();
                        dn.l h10 = d10 != null ? d10.h() : null;
                        j1.k f10 = aVar.f(d10);
                        try {
                            a1 j11 = zVar.j();
                            q2.j0 f11 = j11 != null ? j11.f() : null;
                            rm.b0 d11 = n0.f27142a.d(this.f26984a.v(), j10, g0Var.getLayoutDirection(), f11);
                            int intValue = ((Number) d11.a()).intValue();
                            int intValue2 = ((Number) d11.b()).intValue();
                            q2.j0 j0Var = (q2.j0) d11.c();
                            if (!kotlin.jvm.internal.t.b(f11, j0Var)) {
                                this.f26984a.G(new a1(j0Var, null, j11 != null ? j11.b() : null, 2, null));
                                this.f26985b.invoke(j0Var);
                                j.o(this.f26984a, this.f26986c, this.f26987d);
                            }
                            this.f26984a.H(this.f26988e.w(this.f26989f == 1 ? k0.a(j0Var.m(0)) : 0));
                            l10 = sm.q0.l(rm.c0.a(h2.b.a(), Integer.valueOf(Math.round(j0Var.h()))), rm.c0.a(h2.b.b(), Integer.valueOf(Math.round(j0Var.k()))));
                            return g0Var.e0(intValue, intValue2, l10, C0590a.f26990p);
                        } finally {
                            aVar.m(d10, f10, h10);
                        }
                    }

                    @Override // h2.e0
                    public int j(h2.o oVar, List list, int i10) {
                        this.f26984a.v().m(oVar.getLayoutDirection());
                        return this.f26984a.v().c();
                    }
                }

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0588a(r0.f0 f0Var, z zVar, boolean z10, boolean z11, dn.l lVar, w2.q0 q0Var, w2.h0 h0Var, c3.d dVar, int i10) {
                    super(2);
                    this.f26975p = f0Var;
                    this.f26976q = zVar;
                    this.f26977r = z10;
                    this.f26978s = z11;
                    this.f26979t = lVar;
                    this.f26980u = q0Var;
                    this.f26981v = h0Var;
                    this.f26982w = dVar;
                    this.f26983x = i10;
                }

                /* JADX WARN: Removed duplicated region for block: B:39:0x0101  */
                /* JADX WARN: Removed duplicated region for block: B:41:? A[RETURN, SYNTHETIC] */
                /*
                    Code decompiled incorrectly, please refer to instructions dump.
                */
                public final void a(y0.m mVar, int i10) {
                    boolean z10;
                    if ((i10 & 3) == 2 && mVar.v()) {
                        mVar.A();
                        return;
                    }
                    if (y0.p.H()) {
                        y0.p.Q(-363167407, i10, -1, "androidx.compose.foundation.text.CoreTextField.<anonymous>.<anonymous>.<anonymous> (CoreTextField.kt:721)");
                    }
                    C0589a c0589a = new C0589a(this.f26976q, this.f26979t, this.f26980u, this.f26981v, this.f26982w, this.f26983x);
                    i.a aVar = l1.i.f27362a;
                    int a10 = y0.j.a(mVar, 0);
                    y0.y D = mVar.D();
                    l1.i e10 = l1.h.e(mVar, aVar);
                    g.a aVar2 = j2.g.f23616d;
                    dn.a a11 = aVar2.a();
                    if (!(mVar.w() instanceof y0.f)) {
                        y0.j.c();
                    }
                    mVar.u();
                    if (mVar.n()) {
                        mVar.o(a11);
                    } else {
                        mVar.F();
                    }
                    y0.m a12 = d4.a(mVar);
                    d4.b(a12, c0589a, aVar2.c());
                    d4.b(a12, D, aVar2.e());
                    dn.p b10 = aVar2.b();
                    if (a12.n() || !kotlin.jvm.internal.t.b(a12.f(), Integer.valueOf(a10))) {
                        a12.I(Integer.valueOf(a10));
                        a12.l(Integer.valueOf(a10), b10);
                    }
                    d4.b(a12, e10, aVar2.d());
                    mVar.O();
                    r0.f0 f0Var = this.f26975p;
                    if (this.f26976q.d() != l0.n.None && this.f26976q.i() != null) {
                        h2.s i11 = this.f26976q.i();
                        kotlin.jvm.internal.t.d(i11);
                        if (i11.N() && this.f26977r) {
                            z10 = true;
                            j.d(f0Var, z10, mVar, 0);
                            if (this.f26976q.d() == l0.n.Cursor || this.f26978s || !this.f26977r) {
                                mVar.S(-1955394);
                                mVar.H();
                            } else {
                                mVar.S(-2032274);
                                j.e(this.f26975p, mVar, 0);
                                mVar.H();
                            }
                            if (y0.p.H()) {
                                return;
                            }
                            y0.p.P();
                            return;
                        }
                    }
                    z10 = false;
                    j.d(f0Var, z10, mVar, 0);
                    if (this.f26976q.d() == l0.n.Cursor) {
                    }
                    mVar.S(-1955394);
                    mVar.H();
                    if (y0.p.H()) {
                    }
                }

                @Override // dn.p
                public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
                    a((y0.m) obj, ((Number) obj2).intValue());
                    return rm.n0.f34904a;
                }
            }

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

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

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                b(z zVar) {
                    super(0);
                    this.f26991p = zVar;
                }

                @Override // dn.a
                /* renamed from: a, reason: merged with bridge method [inline-methods] */
                public final a1 invoke() {
                    return this.f26991p.j();
                }
            }

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(z zVar, q2.o0 o0Var, int i10, int i11, w0 w0Var, w2.q0 q0Var, w2.b1 b1Var, l1.i iVar, l1.i iVar2, l1.i iVar3, l1.i iVar4, i0.b bVar, r0.f0 f0Var, boolean z10, boolean z11, dn.l lVar, w2.h0 h0Var, c3.d dVar) {
                super(2);
                this.f26964p = zVar;
                this.f26965q = o0Var;
                this.f26966r = i10;
                this.f26967s = i11;
                this.f26968t = w0Var;
                this.f26969u = q0Var;
                this.f26970v = b1Var;
                this.f26971w = iVar;
                this.f26972x = iVar2;
                this.f26973y = iVar3;
                this.f26974z = iVar4;
                this.A = bVar;
                this.B = f0Var;
                this.C = z10;
                this.D = z11;
                this.E = lVar;
                this.F = h0Var;
                this.G = dVar;
            }

            public final void a(y0.m mVar, int i10) {
                if ((i10 & 3) == 2 && mVar.v()) {
                    mVar.A();
                    return;
                }
                if (y0.p.H()) {
                    y0.p.Q(2032502107, i10, -1, "androidx.compose.foundation.text.CoreTextField.<anonymous>.<anonymous> (CoreTextField.kt:698)");
                }
                l1.i a10 = l0.o.a(androidx.compose.foundation.layout.o.k(l1.i.f27362a, this.f26964p.k(), BitmapDescriptorFactory.HUE_RED, 2, null), this.f26965q, this.f26966r, this.f26967s);
                w0 w0Var = this.f26968t;
                w2.q0 q0Var = this.f26969u;
                w2.b1 b1Var = this.f26970v;
                boolean m10 = mVar.m(this.f26964p);
                z zVar = this.f26964p;
                Object f10 = mVar.f();
                if (m10 || f10 == y0.m.f51621a.a()) {
                    f10 = new b(zVar);
                    mVar.I(f10);
                }
                r0.c0.a(androidx.compose.foundation.relocation.b.b(y0.a(v0.c(a10, w0Var, q0Var, b1Var, (dn.a) f10).f(this.f26971w).f(this.f26972x), this.f26965q).f(this.f26973y).f(this.f26974z), this.A), g1.c.e(-363167407, true, new C0588a(this.B, this.f26964p, this.C, this.D, this.E, this.f26969u, this.F, this.G, this.f26967s), mVar, 54), mVar, 48, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            }

            @Override // dn.p
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
                a((y0.m) obj, ((Number) obj2).intValue());
                return rm.n0.f34904a;
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        e(dn.q qVar, z zVar, q2.o0 o0Var, int i10, int i11, w0 w0Var, w2.q0 q0Var, w2.b1 b1Var, l1.i iVar, l1.i iVar2, l1.i iVar3, l1.i iVar4, i0.b bVar, r0.f0 f0Var, boolean z10, boolean z11, dn.l lVar, w2.h0 h0Var, c3.d dVar) {
            super(2);
            this.f26953p = qVar;
            this.f26954q = zVar;
            this.f26955r = o0Var;
            this.f26956s = i10;
            this.f26957t = i11;
            this.f26958u = w0Var;
            this.f26959v = q0Var;
            this.f26960w = b1Var;
            this.f26961x = iVar;
            this.f26962y = iVar2;
            this.f26963z = iVar3;
            this.A = iVar4;
            this.B = bVar;
            this.C = f0Var;
            this.D = z10;
            this.E = z11;
            this.F = lVar;
            this.G = h0Var;
            this.H = dVar;
        }

        public final void a(y0.m mVar, int i10) {
            if ((i10 & 3) == 2 && mVar.v()) {
                mVar.A();
                return;
            }
            if (y0.p.H()) {
                y0.p.Q(-374338080, i10, -1, "androidx.compose.foundation.text.CoreTextField.<anonymous> (CoreTextField.kt:695)");
            }
            this.f26953p.invoke(g1.c.e(2032502107, true, new a(this.f26954q, this.f26955r, this.f26956s, this.f26957t, this.f26958u, this.f26959v, this.f26960w, this.f26961x, this.f26962y, this.f26963z, this.A, this.B, this.C, this.D, this.E, this.F, this.G, this.H), mVar, 54), mVar, 6);
            if (y0.p.H()) {
                y0.p.P();
            }
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class f extends kotlin.jvm.internal.v implements dn.p {
        final /* synthetic */ w2.s A;
        final /* synthetic */ x B;
        final /* synthetic */ boolean C;
        final /* synthetic */ boolean D;
        final /* synthetic */ dn.q E;
        final /* synthetic */ int F;
        final /* synthetic */ int G;
        final /* synthetic */ int H;

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ w2.q0 f26992p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ dn.l f26993q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ l1.i f26994r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ q2.o0 f26995s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ w2.b1 f26996t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ dn.l f26997u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ d0.l f26998v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ s1.y f26999w;

        /* renamed from: x, reason: collision with root package name */
        final /* synthetic */ boolean f27000x;

        /* renamed from: y, reason: collision with root package name */
        final /* synthetic */ int f27001y;

        /* renamed from: z, reason: collision with root package name */
        final /* synthetic */ int f27002z;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        f(w2.q0 q0Var, dn.l lVar, l1.i iVar, q2.o0 o0Var, w2.b1 b1Var, dn.l lVar2, d0.l lVar3, s1.y yVar, boolean z10, int i10, int i11, w2.s sVar, x xVar, boolean z11, boolean z12, dn.q qVar, int i12, int i13, int i14) {
            super(2);
            this.f26992p = q0Var;
            this.f26993q = lVar;
            this.f26994r = iVar;
            this.f26995s = o0Var;
            this.f26996t = b1Var;
            this.f26997u = lVar2;
            this.f26998v = lVar3;
            this.f26999w = yVar;
            this.f27000x = z10;
            this.f27001y = i10;
            this.f27002z = i11;
            this.A = sVar;
            this.B = xVar;
            this.C = z11;
            this.D = z12;
            this.E = qVar;
            this.F = i12;
            this.G = i13;
            this.H = i14;
        }

        public final void a(y0.m mVar, int i10) {
            j.a(this.f26992p, this.f26993q, this.f26994r, this.f26995s, this.f26996t, this.f26997u, this.f26998v, this.f26999w, this.f27000x, this.f27001y, this.f27002z, this.A, this.B, this.C, this.D, this.E, mVar, l2.a(this.F | 1), l2.a(this.G), this.H);
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

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

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

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

        public final void a(h2.s sVar) {
            a1 j10 = this.f27003p.j();
            if (j10 == null) {
                return;
            }
            j10.h(sVar);
        }

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

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

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

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ w2.q0 f27005q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ w2.h0 f27006r;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        h(z zVar, w2.q0 q0Var, w2.h0 h0Var) {
            super(1);
            this.f27004p = zVar;
            this.f27005q = q0Var;
            this.f27006r = h0Var;
        }

        public final void a(u1.f fVar) {
            a1 j10 = this.f27004p.j();
            if (j10 != null) {
                w2.q0 q0Var = this.f27005q;
                z zVar = this.f27004p;
                w2.h0 h0Var = this.f27006r;
                n0.f27142a.b(fVar.Q0().i(), q0Var, zVar.q(), zVar.c(), h0Var, j10.f(), zVar.f(), zVar.p());
            }
        }

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

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

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

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ boolean f27009r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ w2.s0 f27010s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ w2.q0 f27011t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w2.s f27012u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ w2.h0 f27013v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27014w;

        /* renamed from: x, reason: collision with root package name */
        final /* synthetic */ tp.m0 f27015x;

        /* renamed from: y, reason: collision with root package name */
        final /* synthetic */ i0.b f27016y;

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

            /* renamed from: p, reason: collision with root package name */
            int f27017p;

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ i0.b f27018q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ w2.q0 f27019r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ z f27020s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ a1 f27021t;

            /* renamed from: u, reason: collision with root package name */
            final /* synthetic */ w2.h0 f27022u;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(i0.b bVar, w2.q0 q0Var, z zVar, a1 a1Var, w2.h0 h0Var, vm.d dVar) {
                super(2, dVar);
                this.f27018q = bVar;
                this.f27019r = q0Var;
                this.f27020s = zVar;
                this.f27021t = a1Var;
                this.f27022u = h0Var;
            }

            @Override // kotlin.coroutines.jvm.internal.a
            public final vm.d create(Object obj, vm.d dVar) {
                return new a(this.f27018q, this.f27019r, this.f27020s, this.f27021t, this.f27022u, dVar);
            }

            @Override // kotlin.coroutines.jvm.internal.a
            public final Object invokeSuspend(Object obj) {
                Object f10;
                f10 = wm.d.f();
                int i10 = this.f27017p;
                if (i10 == 0) {
                    rm.y.b(obj);
                    i0.b bVar = this.f27018q;
                    w2.q0 q0Var = this.f27019r;
                    j0 v10 = this.f27020s.v();
                    q2.j0 f11 = this.f27021t.f();
                    w2.h0 h0Var = this.f27022u;
                    this.f27017p = 1;
                    if (j.m(bVar, q0Var, v10, f11, h0Var, this) == f10) {
                        return f10;
                    }
                } else {
                    if (i10 != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    rm.y.b(obj);
                }
                return rm.n0.f34904a;
            }

            @Override // dn.p
            public final Object invoke(tp.m0 m0Var, vm.d dVar) {
                return ((a) create(m0Var, dVar)).invokeSuspend(rm.n0.f34904a);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        i(z zVar, boolean z10, boolean z11, w2.s0 s0Var, w2.q0 q0Var, w2.s sVar, w2.h0 h0Var, r0.f0 f0Var, tp.m0 m0Var, i0.b bVar) {
            super(1);
            this.f27007p = zVar;
            this.f27008q = z10;
            this.f27009r = z11;
            this.f27010s = s0Var;
            this.f27011t = q0Var;
            this.f27012u = sVar;
            this.f27013v = h0Var;
            this.f27014w = f0Var;
            this.f27015x = m0Var;
            this.f27016y = bVar;
        }

        public final void a(q1.l lVar) {
            a1 j10;
            if (this.f27007p.e() == lVar.isFocused()) {
                return;
            }
            this.f27007p.C(lVar.isFocused());
            if (this.f27007p.e() && this.f27008q && !this.f27009r) {
                j.q(this.f27010s, this.f27007p, this.f27011t, this.f27012u, this.f27013v);
            } else {
                j.n(this.f27007p);
            }
            if (lVar.isFocused() && (j10 = this.f27007p.j()) != null) {
                tp.k.d(this.f27015x, null, null, new a(this.f27016y, this.f27011t, this.f27007p, j10, this.f27013v, null), 3, null);
            }
            if (lVar.isFocused()) {
                return;
            }
            r0.f0.u(this.f27014w, null, 1, null);
        }

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

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

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

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ h3 f27025r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27026s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ w2.q0 f27027t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w2.h0 f27028u;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        C0591j(z zVar, boolean z10, h3 h3Var, r0.f0 f0Var, w2.q0 q0Var, w2.h0 h0Var) {
            super(1);
            this.f27023p = zVar;
            this.f27024q = z10;
            this.f27025r = h3Var;
            this.f27026s = f0Var;
            this.f27027t = q0Var;
            this.f27028u = h0Var;
        }

        public final void a(h2.s sVar) {
            this.f27023p.F(sVar);
            a1 j10 = this.f27023p.j();
            if (j10 != null) {
                j10.i(sVar);
            }
            if (this.f27024q) {
                if (this.f27023p.d() == l0.n.Selection) {
                    if (this.f27023p.s() && this.f27025r.a()) {
                        this.f27026s.l0();
                    } else {
                        this.f27026s.R();
                    }
                    this.f27023p.M(r0.g0.c(this.f27026s, true));
                    this.f27023p.L(r0.g0.c(this.f27026s, false));
                    this.f27023p.J(q2.m0.h(this.f27027t.g()));
                } else if (this.f27023p.d() == l0.n.Cursor) {
                    this.f27023p.J(r0.g0.c(this.f27026s, true));
                }
                j.o(this.f27023p, this.f27027t, this.f27028u);
                a1 j11 = this.f27023p.j();
                if (j11 != null) {
                    z zVar = this.f27023p;
                    w2.q0 q0Var = this.f27027t;
                    w2.h0 h0Var = this.f27028u;
                    w2.y0 g10 = zVar.g();
                    if (g10 == null || !zVar.e()) {
                        return;
                    }
                    n0.f27142a.k(g10, q0Var, h0Var, j11);
                }
            }
        }

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        k(z zVar) {
            super(1);
            this.f27029p = zVar;
        }

        public final void a(boolean z10) {
            this.f27029p.D(z10);
        }

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

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

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

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ androidx.compose.ui.focus.m f27031q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ boolean f27032r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ boolean f27033s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27034t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w2.h0 f27035u;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        l(z zVar, androidx.compose.ui.focus.m mVar, boolean z10, boolean z11, r0.f0 f0Var, w2.h0 h0Var) {
            super(1);
            this.f27030p = zVar;
            this.f27031q = mVar;
            this.f27032r = z10;
            this.f27033s = z11;
            this.f27034t = f0Var;
            this.f27035u = h0Var;
        }

        public final void a(long j10) {
            j.r(this.f27030p, this.f27031q, !this.f27032r);
            if (this.f27030p.e() && this.f27033s) {
                if (this.f27030p.d() == l0.n.Selection) {
                    this.f27034t.t(r1.g.d(j10));
                    return;
                }
                a1 j11 = this.f27030p.j();
                if (j11 != null) {
                    z zVar = this.f27030p;
                    n0.f27142a.j(j10, j11, zVar.n(), this.f27035u, zVar.m());
                    if (zVar.v().k().length() > 0) {
                        zVar.B(l0.n.Cursor);
                    }
                }
            }
        }

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

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ b0.q f27036p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        m(b0.q qVar) {
            super(0);
            this.f27036p = qVar;
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final w0 invoke() {
            return new w0(this.f27036p, BitmapDescriptorFactory.HUE_RED, 2, null);
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ w2.z0 f27037p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ w2.q0 f27038q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ boolean f27039r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ boolean f27040s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ boolean f27041t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ w2.s f27042u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ z f27043v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ w2.h0 f27044w;

        /* renamed from: x, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27045x;

        /* renamed from: y, reason: collision with root package name */
        final /* synthetic */ androidx.compose.ui.focus.m f27046y;

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27047p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(r0.f0 f0Var) {
                super(0);
                this.f27047p = f0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                this.f27047p.T();
                return Boolean.TRUE;
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            b(z zVar) {
                super(1);
                this.f27048p = zVar;
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final Boolean invoke(List list) {
                boolean z10;
                if (this.f27048p.j() != null) {
                    a1 j10 = this.f27048p.j();
                    kotlin.jvm.internal.t.d(j10);
                    list.add(j10.f());
                    z10 = true;
                } else {
                    z10 = false;
                }
                return Boolean.valueOf(z10);
            }
        }

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

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ o2.u f27050q;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            c(z zVar, o2.u uVar) {
                super(1);
                this.f27049p = zVar;
                this.f27050q = uVar;
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final Boolean invoke(q2.d dVar) {
                rm.n0 n0Var;
                List n10;
                w2.y0 g10 = this.f27049p.g();
                if (g10 != null) {
                    z zVar = this.f27049p;
                    n0.a aVar = n0.f27142a;
                    n10 = sm.u.n(new w2.f(), new w2.a(dVar, 1));
                    aVar.g(n10, zVar.n(), zVar.m(), g10);
                    n0Var = rm.n0.f34904a;
                } else {
                    n0Var = null;
                }
                if (n0Var == null) {
                    this.f27049p.m().invoke(new w2.q0(dVar.j(), q2.n0.a(dVar.j().length()), (q2.m0) null, 4, (kotlin.jvm.internal.k) null));
                }
                return Boolean.TRUE;
            }
        }

        /* 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 */ boolean f27051p;

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

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ z f27053r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ o2.u f27054s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ w2.q0 f27055t;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            d(boolean z10, boolean z11, z zVar, o2.u uVar, w2.q0 q0Var) {
                super(1);
                this.f27051p = z10;
                this.f27052q = z11;
                this.f27053r = zVar;
                this.f27054s = uVar;
                this.f27055t = q0Var;
            }

            @Override // dn.l
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final Boolean invoke(q2.d dVar) {
                rm.n0 n0Var;
                CharSequence C0;
                List n10;
                if (this.f27051p || !this.f27052q) {
                    return Boolean.FALSE;
                }
                w2.y0 g10 = this.f27053r.g();
                if (g10 != null) {
                    z zVar = this.f27053r;
                    n0.a aVar = n0.f27142a;
                    n10 = sm.u.n(new w2.n(), new w2.a(dVar, 1));
                    aVar.g(n10, zVar.n(), zVar.m(), g10);
                    n0Var = rm.n0.f34904a;
                } else {
                    n0Var = null;
                }
                if (n0Var == null) {
                    w2.q0 q0Var = this.f27055t;
                    z zVar2 = this.f27053r;
                    C0 = kotlin.text.z.C0(q0Var.h(), q2.m0.n(q0Var.g()), q2.m0.i(q0Var.g()), dVar);
                    zVar2.m().invoke(new w2.q0(C0.toString(), q2.n0.a(q2.m0.n(q0Var.g()) + dVar.length()), (q2.m0) null, 4, (kotlin.jvm.internal.k) null));
                }
                return Boolean.TRUE;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ w2.h0 f27056p;

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

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ w2.q0 f27058r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27059s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ z f27060t;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            e(w2.h0 h0Var, boolean z10, w2.q0 q0Var, r0.f0 f0Var, z zVar) {
                super(3);
                this.f27056p = h0Var;
                this.f27057q = z10;
                this.f27058r = q0Var;
                this.f27059s = f0Var;
                this.f27060t = zVar;
            }

            public final Boolean a(int i10, int i11, boolean z10) {
                if (!z10) {
                    i10 = this.f27056p.a(i10);
                }
                if (!z10) {
                    i11 = this.f27056p.a(i11);
                }
                boolean z11 = false;
                if (this.f27057q && (i10 != q2.m0.n(this.f27058r.g()) || i11 != q2.m0.i(this.f27058r.g()))) {
                    if (Math.min(i10, i11) < 0 || Math.max(i10, i11) > this.f27058r.e().length()) {
                        this.f27059s.x();
                    } else {
                        if (z10 || i10 == i11) {
                            this.f27059s.x();
                        } else {
                            r0.f0.w(this.f27059s, false, 1, null);
                        }
                        this.f27060t.m().invoke(new w2.q0(this.f27058r.e(), q2.n0.b(i10, i11), (q2.m0) null, 4, (kotlin.jvm.internal.k) null));
                        z11 = true;
                    }
                }
                return Boolean.valueOf(z11);
            }

            @Override // dn.q
            public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) {
                return a(((Number) obj).intValue(), ((Number) obj2).intValue(), ((Boolean) obj3).booleanValue());
            }
        }

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

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ w2.s f27062q;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            f(z zVar, w2.s sVar) {
                super(0);
                this.f27061p = zVar;
                this.f27062q = sVar;
            }

            @Override // dn.a
            public final Boolean invoke() {
                this.f27061p.l().invoke(w2.r.j(this.f27062q.e()));
                return Boolean.TRUE;
            }
        }

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

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ androidx.compose.ui.focus.m f27064q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ boolean f27065r;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            g(z zVar, androidx.compose.ui.focus.m mVar, boolean z10) {
                super(0);
                this.f27063p = zVar;
                this.f27064q = mVar;
                this.f27065r = z10;
            }

            @Override // dn.a
            public final Boolean invoke() {
                j.r(this.f27063p, this.f27064q, !this.f27065r);
                return Boolean.TRUE;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27066p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            h(r0.f0 f0Var) {
                super(0);
                this.f27066p = f0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                r0.f0.w(this.f27066p, false, 1, null);
                return Boolean.TRUE;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27067p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            i(r0.f0 f0Var) {
                super(0);
                this.f27067p = f0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                r0.f0.p(this.f27067p, false, 1, null);
                return Boolean.TRUE;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27068p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            C0592j(r0.f0 f0Var) {
                super(0);
                this.f27068p = f0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                this.f27068p.s();
                return Boolean.TRUE;
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        n(w2.z0 z0Var, w2.q0 q0Var, boolean z10, boolean z11, boolean z12, w2.s sVar, z zVar, w2.h0 h0Var, r0.f0 f0Var, androidx.compose.ui.focus.m mVar) {
            super(1);
            this.f27037p = z0Var;
            this.f27038q = q0Var;
            this.f27039r = z10;
            this.f27040s = z11;
            this.f27041t = z12;
            this.f27042u = sVar;
            this.f27043v = zVar;
            this.f27044w = h0Var;
            this.f27045x = f0Var;
            this.f27046y = mVar;
        }

        public final void a(o2.u uVar) {
            o2.s.a0(uVar, this.f27037p.b());
            o2.s.o0(uVar, this.f27038q.g());
            if (!this.f27039r) {
                o2.s.k(uVar);
            }
            if (this.f27040s) {
                o2.s.K(uVar);
            }
            boolean z10 = this.f27039r && !this.f27041t;
            o2.s.Z(uVar, z10);
            o2.s.r(uVar, null, new b(this.f27043v), 1, null);
            if (z10) {
                o2.s.n0(uVar, null, new c(this.f27043v, uVar), 1, null);
                o2.s.u(uVar, null, new d(this.f27041t, this.f27039r, this.f27043v, uVar, this.f27038q), 1, null);
            }
            o2.s.i0(uVar, null, new e(this.f27044w, this.f27039r, this.f27038q, this.f27045x, this.f27043v), 1, null);
            o2.s.z(uVar, this.f27042u.e(), null, new f(this.f27043v, this.f27042u), 2, null);
            o2.s.x(uVar, null, new g(this.f27043v, this.f27046y, this.f27041t), 1, null);
            o2.s.B(uVar, null, new h(this.f27045x), 1, null);
            if (!q2.m0.h(this.f27038q.g()) && !this.f27040s) {
                o2.s.g(uVar, null, new i(this.f27045x), 1, null);
                if (this.f27039r && !this.f27041t) {
                    o2.s.i(uVar, null, new C0592j(this.f27045x), 1, null);
                }
            }
            if (!this.f27039r || this.f27041t) {
                return;
            }
            o2.s.M(uVar, null, new a(this.f27045x), 1, null);
        }

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

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

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

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ androidx.compose.ui.focus.m f27070q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ w2.s f27071r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ o0.p1 f27072s;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        o(z zVar, androidx.compose.ui.focus.m mVar, w2.s sVar, o0.p1 p1Var) {
            super(0);
            this.f27069p = zVar;
            this.f27070q = mVar;
            this.f27071r = sVar;
            this.f27072s = p1Var;
        }

        @Override // dn.a
        public final Boolean invoke() {
            if (!this.f27069p.e()) {
                this.f27070q.f();
            }
            int f10 = this.f27071r.f();
            y.a aVar = w2.y.f40862b;
            if (!w2.y.n(f10, aVar.f()) && !w2.y.n(this.f27071r.f(), aVar.e())) {
                this.f27072s.k();
            }
            return Boolean.TRUE;
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ l1.i f27073p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27074q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ dn.p f27075r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ int f27076s;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        p(l1.i iVar, r0.f0 f0Var, dn.p pVar, int i10) {
            super(2);
            this.f27073p = iVar;
            this.f27074q = f0Var;
            this.f27075r = pVar;
            this.f27076s = i10;
        }

        public final void a(y0.m mVar, int i10) {
            j.c(this.f27073p, this.f27074q, this.f27075r, mVar, l2.a(this.f27076s | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27077p;

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ int f27079r;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        q(r0.f0 f0Var, boolean z10, int i10) {
            super(2);
            this.f27077p = f0Var;
            this.f27078q = z10;
            this.f27079r = i10;
        }

        public final void a(y0.m mVar, int i10) {
            j.d(this.f27077p, this.f27078q, mVar, l2.a(this.f27079r | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class r implements r0.i {

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

        r(long j10) {
            this.f27080a = j10;
        }

        @Override // r0.i
        public final long a() {
            return this.f27080a;
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        int f27081p;

        /* renamed from: q, reason: collision with root package name */
        private /* synthetic */ Object f27082q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ l0 f27083r;

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27084s;

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

            /* renamed from: p, reason: collision with root package name */
            int f27085p;

            /* renamed from: q, reason: collision with root package name */
            private /* synthetic */ Object f27086q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ d2.h0 f27087r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ l0 f27088s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ r0.f0 f27089t;

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: l0.j$s$a$a, reason: collision with other inner class name */
            /* loaded from: classes.dex */
            public static final class C0593a extends kotlin.coroutines.jvm.internal.l implements dn.p {

                /* renamed from: p, reason: collision with root package name */
                int f27090p;

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ d2.h0 f27091q;

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ l0 f27092r;

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0593a(d2.h0 h0Var, l0 l0Var, vm.d dVar) {
                    super(2, dVar);
                    this.f27091q = h0Var;
                    this.f27092r = l0Var;
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final vm.d create(Object obj, vm.d dVar) {
                    return new C0593a(this.f27091q, this.f27092r, dVar);
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final Object invokeSuspend(Object obj) {
                    Object f10;
                    f10 = wm.d.f();
                    int i10 = this.f27090p;
                    if (i10 == 0) {
                        rm.y.b(obj);
                        d2.h0 h0Var = this.f27091q;
                        l0 l0Var = this.f27092r;
                        this.f27090p = 1;
                        if (c0.c(h0Var, l0Var, this) == f10) {
                            return f10;
                        }
                    } else {
                        if (i10 != 1) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        rm.y.b(obj);
                    }
                    return rm.n0.f34904a;
                }

                @Override // dn.p
                public final Object invoke(tp.m0 m0Var, vm.d dVar) {
                    return ((C0593a) create(m0Var, dVar)).invokeSuspend(rm.n0.f34904a);
                }
            }

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

                /* renamed from: p, reason: collision with root package name */
                int f27093p;

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ d2.h0 f27094q;

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ r0.f0 f27095r;

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

                    /* renamed from: p, reason: collision with root package name */
                    final /* synthetic */ r0.f0 f27096p;

                    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                    C0594a(r0.f0 f0Var) {
                        super(1);
                        this.f27096p = f0Var;
                    }

                    public final void a(long j10) {
                        this.f27096p.l0();
                    }

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

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                b(d2.h0 h0Var, r0.f0 f0Var, vm.d dVar) {
                    super(2, dVar);
                    this.f27094q = h0Var;
                    this.f27095r = f0Var;
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final vm.d create(Object obj, vm.d dVar) {
                    return new b(this.f27094q, this.f27095r, dVar);
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final Object invokeSuspend(Object obj) {
                    Object f10;
                    f10 = wm.d.f();
                    int i10 = this.f27093p;
                    if (i10 == 0) {
                        rm.y.b(obj);
                        d2.h0 h0Var = this.f27094q;
                        C0594a c0594a = new C0594a(this.f27095r);
                        this.f27093p = 1;
                        if (b0.a0.j(h0Var, null, null, null, c0594a, this, 7, null) == f10) {
                            return f10;
                        }
                    } else {
                        if (i10 != 1) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        rm.y.b(obj);
                    }
                    return rm.n0.f34904a;
                }

                @Override // dn.p
                public final Object invoke(tp.m0 m0Var, vm.d dVar) {
                    return ((b) create(m0Var, dVar)).invokeSuspend(rm.n0.f34904a);
                }
            }

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(d2.h0 h0Var, l0 l0Var, r0.f0 f0Var, vm.d dVar) {
                super(2, dVar);
                this.f27087r = h0Var;
                this.f27088s = l0Var;
                this.f27089t = f0Var;
            }

            @Override // kotlin.coroutines.jvm.internal.a
            public final vm.d create(Object obj, vm.d dVar) {
                a aVar = new a(this.f27087r, this.f27088s, this.f27089t, dVar);
                aVar.f27086q = obj;
                return aVar;
            }

            @Override // kotlin.coroutines.jvm.internal.a
            public final Object invokeSuspend(Object obj) {
                wm.d.f();
                if (this.f27085p != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                rm.y.b(obj);
                tp.m0 m0Var = (tp.m0) this.f27086q;
                tp.o0 o0Var = tp.o0.UNDISPATCHED;
                tp.k.d(m0Var, null, o0Var, new C0593a(this.f27087r, this.f27088s, null), 1, null);
                tp.k.d(m0Var, null, o0Var, new b(this.f27087r, this.f27089t, null), 1, null);
                return rm.n0.f34904a;
            }

            @Override // dn.p
            public final Object invoke(tp.m0 m0Var, vm.d dVar) {
                return ((a) create(m0Var, dVar)).invokeSuspend(rm.n0.f34904a);
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        s(l0 l0Var, r0.f0 f0Var, vm.d dVar) {
            super(2, dVar);
            this.f27083r = l0Var;
            this.f27084s = f0Var;
        }

        @Override // dn.p
        /* renamed from: b, reason: merged with bridge method [inline-methods] */
        public final Object invoke(d2.h0 h0Var, vm.d dVar) {
            return ((s) create(h0Var, dVar)).invokeSuspend(rm.n0.f34904a);
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final vm.d create(Object obj, vm.d dVar) {
            s sVar = new s(this.f27083r, this.f27084s, dVar);
            sVar.f27082q = obj;
            return sVar;
        }

        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            Object f10;
            f10 = wm.d.f();
            int i10 = this.f27081p;
            if (i10 == 0) {
                rm.y.b(obj);
                a aVar = new a((d2.h0) this.f27082q, this.f27083r, this.f27084s, null);
                this.f27081p = 1;
                if (tp.n0.f(aVar, this) == f10) {
                    return f10;
                }
            } else {
                if (i10 != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                rm.y.b(obj);
            }
            return rm.n0.f34904a;
        }
    }

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        t(long j10) {
            super(1);
            this.f27097p = j10;
        }

        public final void a(o2.u uVar) {
            uVar.e(r0.v.d(), new r0.u(l0.m.Cursor, this.f27097p, r0.t.Middle, true, null));
        }

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

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27098p;

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        u(r0.f0 f0Var, int i10) {
            super(2);
            this.f27098p = f0Var;
            this.f27099q = i10;
        }

        public final void a(y0.m mVar, int i10) {
            j.e(this.f27098p, mVar, l2.a(this.f27099q | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return rm.n0.f34904a;
        }
    }

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

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

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ r0.f0 f27101q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        v(z zVar, r0.f0 f0Var) {
            super(1);
            this.f27100p = zVar;
            this.f27101q = f0Var;
        }

        public final Boolean a(KeyEvent keyEvent) {
            boolean z10;
            if (this.f27100p.d() == l0.n.Selection && l0.r.a(keyEvent)) {
                z10 = true;
                r0.f0.u(this.f27101q, null, 1, null);
            } else {
                z10 = false;
            }
            return Boolean.valueOf(z10);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            return a(((b2.b) obj).f());
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:104:0x03c5, code lost:
    
        if (r9 == r2.a()) goto L257;
     */
    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:100:0x03a2  */
    /* JADX WARN: Removed duplicated region for block: B:103:0x03bf  */
    /* JADX WARN: Removed duplicated region for block: B:107:0x03ef  */
    /* JADX WARN: Removed duplicated region for block: B:110:0x03fd  */
    /* JADX WARN: Removed duplicated region for block: B:113:0x0407  */
    /* JADX WARN: Removed duplicated region for block: B:118:0x0455  */
    /* JADX WARN: Removed duplicated region for block: B:122:0x04c1  */
    /* JADX WARN: Removed duplicated region for block: B:125:0x04e9  */
    /* JADX WARN: Removed duplicated region for block: B:128:0x0543  */
    /* JADX WARN: Removed duplicated region for block: B:131:0x0562  */
    /* JADX WARN: Removed duplicated region for block: B:134:0x057c  */
    /* JADX WARN: Removed duplicated region for block: B:137:0x058c  */
    /* JADX WARN: Removed duplicated region for block: B:13:0x0066  */
    /* JADX WARN: Removed duplicated region for block: B:140:0x059c  */
    /* JADX WARN: Removed duplicated region for block: B:143:0x05aa  */
    /* JADX WARN: Removed duplicated region for block: B:149:0x05e2  */
    /* JADX WARN: Removed duplicated region for block: B:153:0x0610 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:157:0x063c  */
    /* JADX WARN: Removed duplicated region for block: B:163:0x0657  */
    /* JADX WARN: Removed duplicated region for block: B:167:0x0684  */
    /* JADX WARN: Removed duplicated region for block: B:171:0x06a4  */
    /* JADX WARN: Removed duplicated region for block: B:174:0x06b0  */
    /* JADX WARN: Removed duplicated region for block: B:177:0x06c4  */
    /* JADX WARN: Removed duplicated region for block: B:17:0x0085  */
    /* JADX WARN: Removed duplicated region for block: B:181:0x070a  */
    /* JADX WARN: Removed duplicated region for block: B:184:0x0719  */
    /* JADX WARN: Removed duplicated region for block: B:189:0x073b  */
    /* JADX WARN: Removed duplicated region for block: B:192:0x0752  */
    /* JADX WARN: Removed duplicated region for block: B:195:0x0761  */
    /* JADX WARN: Removed duplicated region for block: B:199:0x0790  */
    /* JADX WARN: Removed duplicated region for block: B:202:0x079b  */
    /* JADX WARN: Removed duplicated region for block: B:205:0x07a8  */
    /* JADX WARN: Removed duplicated region for block: B:208:0x07bf  */
    /* JADX WARN: Removed duplicated region for block: B:213:0x07d3  */
    /* JADX WARN: Removed duplicated region for block: B:217:0x0800 A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:21:0x00a6  */
    /* JADX WARN: Removed duplicated region for block: B:225:0x082b  */
    /* JADX WARN: Removed duplicated region for block: B:229:0x084f  */
    /* JADX WARN: Removed duplicated region for block: B:232:0x0857  */
    /* JADX WARN: Removed duplicated region for block: B:237:0x086b  */
    /* JADX WARN: Removed duplicated region for block: B:242:0x0893  */
    /* JADX WARN: Removed duplicated region for block: B:245:0x08c0  */
    /* JADX WARN: Removed duplicated region for block: B:24:0x00c4  */
    /* JADX WARN: Removed duplicated region for block: B:250:0x08df  */
    /* JADX WARN: Removed duplicated region for block: B:254:0x0930  */
    /* JADX WARN: Removed duplicated region for block: B:262:0x0949  */
    /* JADX WARN: Removed duplicated region for block: B:265:0x09b0  */
    /* JADX WARN: Removed duplicated region for block: B:267:0x0950  */
    /* JADX WARN: Removed duplicated region for block: B:273:0x0896  */
    /* JADX WARN: Removed duplicated region for block: B:278:0x0851  */
    /* JADX WARN: Removed duplicated region for block: B:27:0x00e2  */
    /* JADX WARN: Removed duplicated region for block: B:285:0x07aa  */
    /* JADX WARN: Removed duplicated region for block: B:286:0x079d  */
    /* JADX WARN: Removed duplicated region for block: B:287:0x0792  */
    /* JADX WARN: Removed duplicated region for block: B:289:0x0754  */
    /* JADX WARN: Removed duplicated region for block: B:290:0x073d  */
    /* JADX WARN: Removed duplicated region for block: B:292:0x070c  */
    /* JADX WARN: Removed duplicated region for block: B:294:0x06b2  */
    /* JADX WARN: Removed duplicated region for block: B:295:0x06a6  */
    /* JADX WARN: Removed duplicated region for block: B:300:0x064e  */
    /* JADX WARN: Removed duplicated region for block: B:305:0x05c6  */
    /* JADX WARN: Removed duplicated region for block: B:306:0x05b8  */
    /* JADX WARN: Removed duplicated region for block: B:307:0x059e  */
    /* JADX WARN: Removed duplicated region for block: B:308:0x058e  */
    /* JADX WARN: Removed duplicated region for block: B:309:0x057e  */
    /* JADX WARN: Removed duplicated region for block: B:30:0x0100  */
    /* JADX WARN: Removed duplicated region for block: B:313:0x041f  */
    /* JADX WARN: Removed duplicated region for block: B:318:0x0431  */
    /* JADX WARN: Removed duplicated region for block: B:319:0x03ff  */
    /* JADX WARN: Removed duplicated region for block: B:320:0x03f1  */
    /* JADX WARN: Removed duplicated region for block: B:322:0x03c8  */
    /* JADX WARN: Removed duplicated region for block: B:323:0x03a5  */
    /* JADX WARN: Removed duplicated region for block: B:326:0x0253  */
    /* JADX WARN: Removed duplicated region for block: B:328:0x025a  */
    /* JADX WARN: Removed duplicated region for block: B:330:0x0265  */
    /* JADX WARN: Removed duplicated region for block: B:332:0x0270  */
    /* JADX WARN: Removed duplicated region for block: B:334:0x0277  */
    /* JADX WARN: Removed duplicated region for block: B:336:0x027e  */
    /* JADX WARN: Removed duplicated region for block: B:338:0x0293  */
    /* JADX WARN: Removed duplicated region for block: B:33:0x011e  */
    /* JADX WARN: Removed duplicated region for block: B:340:0x0299  */
    /* JADX WARN: Removed duplicated region for block: B:342:0x02a1  */
    /* JADX WARN: Removed duplicated region for block: B:345:0x02a9  */
    /* JADX WARN: Removed duplicated region for block: B:347:0x02b6  */
    /* JADX WARN: Removed duplicated region for block: B:349:0x02c1  */
    /* JADX WARN: Removed duplicated region for block: B:351:0x02c7  */
    /* JADX WARN: Removed duplicated region for block: B:353:0x02cd  */
    /* JADX WARN: Removed duplicated region for block: B:355:0x02e2  */
    /* JADX WARN: Removed duplicated region for block: B:356:0x02c9  */
    /* JADX WARN: Removed duplicated region for block: B:357:0x02c3  */
    /* JADX WARN: Removed duplicated region for block: B:358:0x02bd  */
    /* JADX WARN: Removed duplicated region for block: B:359:0x02b2  */
    /* JADX WARN: Removed duplicated region for block: B:360:0x02a3  */
    /* JADX WARN: Removed duplicated region for block: B:361:0x029d  */
    /* JADX WARN: Removed duplicated region for block: B:362:0x0295  */
    /* JADX WARN: Removed duplicated region for block: B:363:0x028d  */
    /* JADX WARN: Removed duplicated region for block: B:364:0x027a  */
    /* JADX WARN: Removed duplicated region for block: B:365:0x0273  */
    /* JADX WARN: Removed duplicated region for block: B:366:0x026c  */
    /* JADX WARN: Removed duplicated region for block: B:367:0x0261  */
    /* JADX WARN: Removed duplicated region for block: B:368:0x0256  */
    /* JADX WARN: Removed duplicated region for block: B:369:0x01d0  */
    /* JADX WARN: Removed duplicated region for block: B:36:0x013a  */
    /* JADX WARN: Removed duplicated region for block: B:375:0x01b1  */
    /* JADX WARN: Removed duplicated region for block: B:381:0x0197  */
    /* JADX WARN: Removed duplicated region for block: B:387:0x017a  */
    /* JADX WARN: Removed duplicated region for block: B:396:0x016f  */
    /* JADX WARN: Removed duplicated region for block: B:397:0x013f  */
    /* JADX WARN: Removed duplicated region for block: B:39:0x0159  */
    /* JADX WARN: Removed duplicated region for block: B:405:0x0123  */
    /* JADX WARN: Removed duplicated region for block: B:412:0x0105  */
    /* JADX WARN: Removed duplicated region for block: B:419:0x00e7  */
    /* JADX WARN: Removed duplicated region for block: B:426:0x00c9  */
    /* JADX WARN: Removed duplicated region for block: B:433:0x00ab  */
    /* JADX WARN: Removed duplicated region for block: B:440:0x0088  */
    /* JADX WARN: Removed duplicated region for block: B:447:0x0069  */
    /* JADX WARN: Removed duplicated region for block: B:47:0x0177  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x0194  */
    /* JADX WARN: Removed duplicated region for block: B:55:0x01ae  */
    /* JADX WARN: Removed duplicated region for block: B:59:0x01cb  */
    /* JADX WARN: Removed duplicated region for block: B:62:0x01ea  */
    /* JADX WARN: Removed duplicated region for block: B:69:0x09d5  */
    /* JADX WARN: Removed duplicated region for block: B:72:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:75:0x0223  */
    /* JADX WARN: Removed duplicated region for block: B:83:0x0305  */
    /* JADX WARN: Removed duplicated region for block: B:86:0x0319  */
    /* JADX WARN: Removed duplicated region for block: B:89:0x032d  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x0340  */
    /* JADX WARN: Removed duplicated region for block: B:95:0x0395 A[ADDED_TO_REGION] */
    /* JADX WARN: Type inference failed for: r0v42, types: [l1.i] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(w2.q0 q0Var, dn.l lVar, l1.i iVar, q2.o0 o0Var, w2.b1 b1Var, dn.l lVar2, d0.l lVar3, s1.y yVar, boolean z10, int i10, int i11, w2.s sVar, x xVar, boolean z11, boolean z12, dn.q qVar, y0.m mVar, int i12, int i13, int i14) {
        int i15;
        int i16;
        int i17;
        int i18;
        int i19;
        int i20;
        int i21;
        int i22;
        int i23;
        int i24;
        int i25;
        int i26;
        int i27;
        int i28;
        int i29;
        l1.i iVar2;
        s1.y yVar2;
        w2.s sVar2;
        boolean z13;
        l1.i iVar3;
        dn.q qVar2;
        boolean z14;
        int i30;
        x xVar2;
        s1.y yVar3;
        boolean z15;
        w2.b1 b1Var2;
        dn.l lVar4;
        int i31;
        w2.s sVar3;
        q2.o0 o0Var2;
        d0.l lVar5;
        Object f10;
        m.a aVar;
        Object f11;
        Object f12;
        h3 h3Var;
        boolean R;
        d0.l lVar6;
        boolean z16;
        Object f13;
        q2.m0 f14;
        w2.s sVar4;
        boolean R2;
        Object f15;
        z zVar;
        Object f16;
        Object f17;
        Object f18;
        Object f19;
        int i32;
        w2.s sVar5;
        int i33;
        int i34;
        boolean z17;
        boolean m10;
        Object f20;
        l1.i a10;
        l1.i iVar4;
        boolean z18;
        boolean z19;
        Object f21;
        boolean m11;
        Object f22;
        boolean m12;
        Object f23;
        boolean m13;
        Object f24;
        boolean m14;
        Object f25;
        boolean m15;
        Object f26;
        boolean m16;
        Object f27;
        boolean m17;
        Object f28;
        boolean m18;
        Object f29;
        y0.m mVar2;
        q2.o0 o0Var3;
        dn.l lVar7;
        w2.b1 b1Var3;
        s1.y yVar4;
        boolean z20;
        boolean z21;
        int i35;
        w2.s sVar6;
        int i36;
        d0.l lVar8;
        l1.i iVar5;
        x xVar3;
        boolean z22;
        dn.q qVar3;
        x2 y10;
        int i37;
        y0.m r10 = mVar.r(-958708118);
        if ((i14 & 1) != 0) {
            i15 = i12 | 6;
        } else if ((i12 & 6) == 0) {
            i15 = (r10.R(q0Var) ? 4 : 2) | i12;
        } else {
            i15 = i12;
        }
        if ((i14 & 2) != 0) {
            i15 |= 48;
        } else if ((i12 & 48) == 0) {
            i15 |= r10.m(lVar) ? 32 : 16;
        }
        int i38 = i14 & 4;
        if (i38 != 0) {
            i15 |= 384;
        } else if ((i12 & 384) == 0) {
            i15 |= r10.R(iVar) ? 256 : 128;
            i16 = i14 & 8;
            int i39 = UserMetadata.MAX_ATTRIBUTE_SIZE;
            if (i16 == 0) {
                i15 |= 3072;
            } else if ((i12 & 3072) == 0) {
                i15 |= r10.R(o0Var) ? 2048 : 1024;
                i17 = i14 & 16;
                int i40 = UserMetadata.MAX_INTERNAL_KEY_SIZE;
                if (i17 != 0) {
                    i15 |= 24576;
                } else if ((i12 & 24576) == 0) {
                    i15 |= r10.R(b1Var) ? 16384 : 8192;
                    i18 = i14 & 32;
                    if (i18 == 0) {
                        i15 |= 196608;
                    } else if ((i12 & 196608) == 0) {
                        i15 |= r10.m(lVar2) ? 131072 : 65536;
                    }
                    i19 = i14 & 64;
                    if (i19 == 0) {
                        i15 |= 1572864;
                    } else if ((i12 & 1572864) == 0) {
                        i15 |= r10.R(lVar3) ? 1048576 : 524288;
                    }
                    i20 = i14 & 128;
                    if (i20 == 0) {
                        i15 |= 12582912;
                    } else if ((i12 & 12582912) == 0) {
                        i15 |= r10.R(yVar) ? 8388608 : 4194304;
                    }
                    i21 = i14 & 256;
                    if (i21 == 0) {
                        i15 |= 100663296;
                    } else if ((i12 & 100663296) == 0) {
                        i15 |= r10.c(z10) ? 67108864 : 33554432;
                    }
                    i22 = i14 & 512;
                    if (i22 == 0) {
                        i15 |= 805306368;
                    } else if ((i12 & 805306368) == 0) {
                        i15 |= r10.i(i10) ? 536870912 : SQLiteDatabase.CREATE_IF_NECESSARY;
                    }
                    i23 = i14 & UserMetadata.MAX_ATTRIBUTE_SIZE;
                    if (i23 == 0) {
                        i24 = i13 | 6;
                    } else if ((i13 & 6) == 0) {
                        i24 = i13 | (r10.i(i11) ? 4 : 2);
                    } else {
                        i24 = i13;
                    }
                    if ((i13 & 48) == 0) {
                        if ((i14 & 2048) == 0 && r10.R(sVar)) {
                            i37 = 32;
                            i24 |= i37;
                        }
                        i37 = 16;
                        i24 |= i37;
                    }
                    i25 = i24;
                    i26 = i14 & 4096;
                    if (i26 == 0) {
                        i25 |= 384;
                    } else if ((i13 & 384) == 0) {
                        i25 |= r10.R(xVar) ? 256 : 128;
                        i27 = i14 & UserMetadata.MAX_INTERNAL_KEY_SIZE;
                        if (i27 != 0) {
                            i25 |= 3072;
                        } else if ((i13 & 3072) == 0) {
                            if (r10.c(z11)) {
                                i39 = 2048;
                            }
                            i25 |= i39;
                            i28 = i14 & 16384;
                            if (i28 == 0) {
                                i25 |= 24576;
                            } else if ((i13 & 24576) == 0) {
                                if (r10.c(z12)) {
                                    i40 = 16384;
                                }
                                i25 |= i40;
                                i29 = i14 & 32768;
                                if (i29 != 0) {
                                    i25 |= 196608;
                                } else if ((i13 & 196608) == 0) {
                                    i25 |= r10.m(qVar) ? 131072 : 65536;
                                }
                                if ((i15 & 306783379) != 306783378 && (74899 & i25) == 74898 && r10.v()) {
                                    r10.A();
                                    iVar5 = iVar;
                                    o0Var3 = o0Var;
                                    b1Var3 = b1Var;
                                    lVar7 = lVar2;
                                    lVar8 = lVar3;
                                    yVar4 = yVar;
                                    z20 = z10;
                                    i36 = i10;
                                    sVar6 = sVar;
                                    xVar3 = xVar;
                                    z21 = z11;
                                    z22 = z12;
                                    qVar3 = qVar;
                                    mVar2 = r10;
                                    i35 = i11;
                                } else {
                                    r10.q();
                                    if ((i12 & 1) != 0 || r10.E()) {
                                        l1.i iVar6 = i38 != 0 ? l1.i.f27362a : iVar;
                                        q2.o0 a11 = i16 != 0 ? q2.o0.f33351d.a() : o0Var;
                                        w2.b1 c10 = i17 != 0 ? w2.b1.f40732a.c() : b1Var;
                                        dn.l lVar9 = i18 != 0 ? a.f26935p : lVar2;
                                        d0.l lVar10 = i19 != 0 ? null : lVar3;
                                        if (i20 != 0) {
                                            iVar2 = iVar6;
                                            yVar2 = new s1(s1.g0.f35254b.f(), null);
                                        } else {
                                            iVar2 = iVar6;
                                            yVar2 = yVar;
                                        }
                                        boolean z23 = i21 != 0 ? true : z10;
                                        int i41 = i22 != 0 ? Api.BaseClientBuilder.API_PRIORITY_OTHER : i10;
                                        int i42 = i23 != 0 ? 1 : i11;
                                        if ((i14 & 2048) != 0) {
                                            sVar2 = w2.s.f40817g.a();
                                            i25 &= -113;
                                        } else {
                                            sVar2 = sVar;
                                        }
                                        x a12 = i26 != 0 ? x.f27269g.a() : xVar;
                                        z13 = i27 != 0 ? true : z11;
                                        boolean z24 = i28 != 0 ? false : z12;
                                        if (i29 != 0) {
                                            iVar3 = iVar2;
                                            z14 = z23;
                                            i30 = i42;
                                            xVar2 = a12;
                                            yVar3 = yVar2;
                                            z15 = z24;
                                            qVar2 = l0.g.f26922a.a();
                                        } else {
                                            iVar3 = iVar2;
                                            qVar2 = qVar;
                                            z14 = z23;
                                            i30 = i42;
                                            xVar2 = a12;
                                            yVar3 = yVar2;
                                            z15 = z24;
                                        }
                                        b1Var2 = c10;
                                        lVar4 = lVar9;
                                        i31 = i41;
                                        sVar3 = sVar2;
                                        d0.l lVar11 = lVar10;
                                        o0Var2 = a11;
                                        lVar5 = lVar11;
                                    } else {
                                        r10.A();
                                        if ((i14 & 2048) != 0) {
                                            i25 &= -113;
                                        }
                                        iVar3 = iVar;
                                        o0Var2 = o0Var;
                                        b1Var2 = b1Var;
                                        lVar4 = lVar2;
                                        lVar5 = lVar3;
                                        yVar3 = yVar;
                                        z14 = z10;
                                        i31 = i10;
                                        i30 = i11;
                                        sVar3 = sVar;
                                        xVar2 = xVar;
                                        z13 = z11;
                                        z15 = z12;
                                        qVar2 = qVar;
                                    }
                                    r10.P();
                                    if (y0.p.H()) {
                                        y0.p.Q(-958708118, i15, i25, "androidx.compose.foundation.text.CoreTextField (CoreTextField.kt:220)");
                                    }
                                    f10 = r10.f();
                                    aVar = y0.m.f51621a;
                                    if (f10 == aVar.a()) {
                                        f10 = new androidx.compose.ui.focus.m();
                                        r10.I(f10);
                                    }
                                    androidx.compose.ui.focus.m mVar3 = (androidx.compose.ui.focus.m) f10;
                                    f11 = r10.f();
                                    if (f11 == aVar.a()) {
                                        f11 = o0.q1.b();
                                        r10.I(f11);
                                    }
                                    o0.p1 p1Var = (o0.p1) f11;
                                    f12 = r10.f();
                                    if (f12 == aVar.a()) {
                                        f12 = new w2.s0(p1Var);
                                        r10.I(f12);
                                    }
                                    w2.s0 s0Var = (w2.s0) f12;
                                    c3.d dVar = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
                                    i.b bVar = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
                                    long a13 = ((r0.j0) r10.t(r0.k0.b())).a();
                                    q1.e eVar = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
                                    l1.i iVar7 = iVar3;
                                    h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
                                    p2 p2Var = (p2) r10.t(androidx.compose.ui.platform.c1.n());
                                    b0.q qVar4 = i31 != 1 && !z14 && sVar3.h() ? b0.q.Horizontal : b0.q.Vertical;
                                    Object[] objArr = {qVar4};
                                    i1.j a14 = w0.f27260f.a();
                                    R = r10.R(qVar4);
                                    int i43 = i31;
                                    Object f30 = r10.f();
                                    if (R) {
                                        lVar6 = lVar5;
                                    } else {
                                        lVar6 = lVar5;
                                    }
                                    f30 = new m(qVar4);
                                    r10.I(f30);
                                    w0 w0Var = (w0) i1.b.c(objArr, a14, null, (dn.a) f30, r10, 0, 4);
                                    int i44 = i15 & 14;
                                    z16 = ((i15 & 57344) == 16384) | (i44 == 4);
                                    f13 = r10.f();
                                    if (!z16 || f13 == aVar.a()) {
                                        w2.z0 c11 = p1.c(b1Var2, q0Var.e());
                                        f14 = q0Var.f();
                                        if (f14 != null) {
                                            sVar4 = sVar3;
                                            w2.z0 a15 = n0.f27142a.a(f14.r(), c11);
                                            if (a15 != null) {
                                                f13 = a15;
                                                r10.I(f13);
                                            }
                                        } else {
                                            sVar4 = sVar3;
                                        }
                                        f13 = c11;
                                        r10.I(f13);
                                    } else {
                                        sVar4 = sVar3;
                                    }
                                    w2.z0 z0Var = (w2.z0) f13;
                                    q2.d b10 = z0Var.b();
                                    w2.h0 a16 = z0Var.a();
                                    j2 b11 = y0.j.b(r10, 0);
                                    R2 = r10.R(p2Var);
                                    f15 = r10.f();
                                    if (!R2 || f15 == aVar.a()) {
                                        f15 = new z(new j0(b10, o0Var2, 0, 0, z14, 0, dVar, bVar, null, 300, null), b11, p2Var);
                                        r10.I(f15);
                                    }
                                    zVar = (z) f15;
                                    zVar.N(q0Var.e(), b10, o0Var2, z14, dVar, bVar, lVar, xVar2, eVar, a13);
                                    zVar.n().d(q0Var, zVar.g());
                                    f16 = r10.f();
                                    if (f16 == aVar.a()) {
                                        f16 = new l1(0, 1, null);
                                        r10.I(f16);
                                    }
                                    l1 l1Var = (l1) f16;
                                    l1.f(l1Var, q0Var, 0L, 2, null);
                                    f17 = r10.f();
                                    if (f17 == aVar.a()) {
                                        f17 = new r0.f0(l1Var);
                                        r10.I(f17);
                                    }
                                    r0.f0 f0Var = (r0.f0) f17;
                                    f0Var.e0(a16);
                                    f0Var.k0(b1Var2);
                                    f0Var.f0(zVar.m());
                                    f0Var.h0(zVar);
                                    f0Var.j0(q0Var);
                                    f0Var.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
                                    f0Var.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
                                    f0Var.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
                                    f0Var.b0(mVar3);
                                    f0Var.Z(!z15);
                                    f0Var.a0(z13);
                                    f18 = r10.f();
                                    if (f18 == aVar.a()) {
                                        y0.b0 b0Var = new y0.b0(y0.p0.i(vm.h.f40193p, r10));
                                        r10.I(b0Var);
                                        f18 = b0Var;
                                    }
                                    tp.m0 a17 = ((y0.b0) f18).a();
                                    f19 = r10.f();
                                    if (f19 == aVar.a()) {
                                        f19 = androidx.compose.foundation.relocation.b.a();
                                        r10.I(f19);
                                    }
                                    i0.b bVar2 = (i0.b) f19;
                                    i.a aVar2 = l1.i.f27362a;
                                    int i45 = i25 & 7168;
                                    w2.b1 b1Var4 = b1Var2;
                                    int i46 = i25 & 57344;
                                    boolean m19 = r10.m(zVar) | (i45 == 2048) | (i46 == 16384) | r10.m(s0Var) | (i44 == 4);
                                    i32 = (i25 & 112) ^ 48;
                                    if (i32 > 32) {
                                        sVar5 = sVar4;
                                        if (r10.R(sVar5)) {
                                            i34 = i25;
                                            i33 = i46;
                                            z17 = true;
                                            m10 = m19 | z17 | r10.m(a16) | r10.m(a17) | r10.m(bVar2) | r10.m(f0Var);
                                            f20 = r10.f();
                                            if (!m10 || f20 == aVar.a()) {
                                                f20 = new i(zVar, z13, z15, s0Var, q0Var, sVar5, a16, f0Var, a17, bVar2);
                                                r10.I(f20);
                                            }
                                            d0.l lVar12 = lVar6;
                                            a10 = q0.a(aVar2, z13, mVar3, lVar12, (dn.l) f20);
                                            y3 o10 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                                            rm.n0 n0Var = rm.n0.f34904a;
                                            boolean R3 = r10.R(o10) | r10.m(zVar) | r10.m(s0Var) | r10.m(f0Var);
                                            if (i32 > 32 || !r10.R(sVar5)) {
                                                iVar4 = a10;
                                                if ((i34 & 48) != 32) {
                                                    z18 = false;
                                                    z19 = R3 | z18;
                                                    f21 = r10.f();
                                                    if (!z19 || f21 == aVar.a()) {
                                                        f21 = new b(zVar, o10, s0Var, f0Var, sVar5, null);
                                                        r10.I(f21);
                                                    }
                                                    y0.p0.d(n0Var, (dn.p) f21, r10, 6);
                                                    m11 = r10.m(zVar);
                                                    f22 = r10.f();
                                                    if (!m11 || f22 == aVar.a()) {
                                                        f22 = new k(zVar);
                                                        r10.I(f22);
                                                    }
                                                    l1.i k10 = r0.s.k(aVar2, (dn.l) f22);
                                                    int i47 = i33;
                                                    m12 = (i45 != 2048) | (i47 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var);
                                                    f23 = r10.f();
                                                    if (!m12 || f23 == aVar.a()) {
                                                        f23 = new l(zVar, mVar3, z15, z13, f0Var, a16);
                                                        r10.I(f23);
                                                    }
                                                    l1.i b12 = d2.u.b(r0.s.i(u0.a(k10, lVar12, z13, (dn.l) f23), f0Var.I(), f0Var.M()), g1.a(), false, 2, null);
                                                    m13 = r10.m(zVar) | (i44 != 4) | r10.m(a16);
                                                    f24 = r10.f();
                                                    if (!m13 || f24 == aVar.a()) {
                                                        f24 = new h(zVar, q0Var, a16);
                                                        r10.I(f24);
                                                    }
                                                    l1.i b13 = androidx.compose.ui.draw.b.b(aVar2, (dn.l) f24);
                                                    m14 = r10.m(zVar) | (i45 != 2048) | r10.R(h3Var) | r10.m(f0Var) | (i44 != 4) | r10.m(a16);
                                                    f25 = r10.f();
                                                    if (!m14 || f25 == aVar.a()) {
                                                        f25 = new C0591j(zVar, z13, h3Var, f0Var, q0Var, a16);
                                                        r10.I(f25);
                                                    }
                                                    l1.i a18 = androidx.compose.ui.layout.c.a(aVar2, (dn.l) f25);
                                                    boolean z25 = b1Var4 instanceof w2.j0;
                                                    m15 = (i45 != 2048) | r10.m(z0Var) | (i44 != 4) | r10.c(z25) | (i47 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                                    f26 = r10.f();
                                                    if (!m15 || f26 == aVar.a()) {
                                                        f26 = new n(z0Var, q0Var, z13, z25, z15, sVar5, zVar, a16, f0Var, mVar3);
                                                        r10.I(f26);
                                                    }
                                                    l1.i c12 = o2.l.c(aVar2, true, (dn.l) f26);
                                                    l1.i a19 = m0.a(aVar2, zVar, q0Var, a16, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                                                    m16 = r10.m(f0Var);
                                                    f27 = r10.f();
                                                    if (!m16 || f27 == aVar.a()) {
                                                        f27 = new c(f0Var);
                                                        r10.I(f27);
                                                    }
                                                    y0.p0.a(f0Var, (dn.l) f27, r10, 0);
                                                    m17 = (i44 != 4) | r10.m(zVar) | r10.m(s0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                                    f28 = r10.f();
                                                    if (!m17 || f28 == aVar.a()) {
                                                        f28 = new d(zVar, s0Var, q0Var, sVar5);
                                                        r10.I(f28);
                                                    }
                                                    y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                                                    l1.i a20 = s0.a(aVar2, zVar, f0Var, q0Var, zVar.m(), !z15, i43 != 1, a16, l1Var, sVar5.e());
                                                    boolean b14 = b(o10);
                                                    m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var);
                                                    f29 = r10.f();
                                                    if (!m18 || f29 == aVar.a()) {
                                                        f29 = new o(zVar, mVar3, sVar5, p1Var);
                                                        r10.I(f29);
                                                    }
                                                    l1.i a21 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7, p1Var, zVar, f0Var).f(androidx.compose.foundation.text.handwriting.a.c(aVar2, b14, (dn.a) f29)).f(iVar4), zVar, eVar), zVar, f0Var).f(a20), w0Var, lVar12, z13).f(b12).f(c12), new g(zVar));
                                                    boolean z26 = !z13 && zVar.e() && zVar.y() && h3Var.a();
                                                    boolean z27 = z13;
                                                    w2.s sVar7 = sVar5;
                                                    mVar2 = r10;
                                                    c(a21, f0Var, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43, w0Var, q0Var, b1Var4, a19, b13, a18, !z26 ? r0.h0.c(aVar2, f0Var) : aVar2, bVar2, f0Var, z26, z15, lVar4, a16, dVar), mVar2, 54), mVar2, 384);
                                                    if (y0.p.H()) {
                                                        y0.p.P();
                                                    }
                                                    o0Var3 = o0Var2;
                                                    lVar7 = lVar4;
                                                    b1Var3 = b1Var4;
                                                    yVar4 = yVar3;
                                                    z20 = z14;
                                                    z21 = z27;
                                                    i35 = i30;
                                                    sVar6 = sVar7;
                                                    i36 = i43;
                                                    lVar8 = lVar12;
                                                    iVar5 = iVar7;
                                                    xVar3 = xVar2;
                                                    z22 = z15;
                                                    qVar3 = qVar2;
                                                }
                                            } else {
                                                iVar4 = a10;
                                            }
                                            z18 = true;
                                            z19 = R3 | z18;
                                            f21 = r10.f();
                                            if (!z19) {
                                            }
                                            f21 = new b(zVar, o10, s0Var, f0Var, sVar5, null);
                                            r10.I(f21);
                                            y0.p0.d(n0Var, (dn.p) f21, r10, 6);
                                            m11 = r10.m(zVar);
                                            f22 = r10.f();
                                            if (!m11) {
                                            }
                                            f22 = new k(zVar);
                                            r10.I(f22);
                                            l1.i k102 = r0.s.k(aVar2, (dn.l) f22);
                                            int i472 = i33;
                                            m12 = (i45 != 2048) | (i472 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var);
                                            f23 = r10.f();
                                            if (!m12) {
                                            }
                                            f23 = new l(zVar, mVar3, z15, z13, f0Var, a16);
                                            r10.I(f23);
                                            l1.i b122 = d2.u.b(r0.s.i(u0.a(k102, lVar12, z13, (dn.l) f23), f0Var.I(), f0Var.M()), g1.a(), false, 2, null);
                                            m13 = r10.m(zVar) | (i44 != 4) | r10.m(a16);
                                            f24 = r10.f();
                                            if (!m13) {
                                            }
                                            f24 = new h(zVar, q0Var, a16);
                                            r10.I(f24);
                                            l1.i b132 = androidx.compose.ui.draw.b.b(aVar2, (dn.l) f24);
                                            m14 = r10.m(zVar) | (i45 != 2048) | r10.R(h3Var) | r10.m(f0Var) | (i44 != 4) | r10.m(a16);
                                            f25 = r10.f();
                                            if (!m14) {
                                            }
                                            f25 = new C0591j(zVar, z13, h3Var, f0Var, q0Var, a16);
                                            r10.I(f25);
                                            l1.i a182 = androidx.compose.ui.layout.c.a(aVar2, (dn.l) f25);
                                            boolean z252 = b1Var4 instanceof w2.j0;
                                            m15 = (i45 != 2048) | r10.m(z0Var) | (i44 != 4) | r10.c(z252) | (i472 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                            f26 = r10.f();
                                            if (!m15) {
                                            }
                                            f26 = new n(z0Var, q0Var, z13, z252, z15, sVar5, zVar, a16, f0Var, mVar3);
                                            r10.I(f26);
                                            l1.i c122 = o2.l.c(aVar2, true, (dn.l) f26);
                                            l1.i a192 = m0.a(aVar2, zVar, q0Var, a16, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                                            m16 = r10.m(f0Var);
                                            f27 = r10.f();
                                            if (!m16) {
                                            }
                                            f27 = new c(f0Var);
                                            r10.I(f27);
                                            y0.p0.a(f0Var, (dn.l) f27, r10, 0);
                                            m17 = (i44 != 4) | r10.m(zVar) | r10.m(s0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                            f28 = r10.f();
                                            if (!m17) {
                                            }
                                            f28 = new d(zVar, s0Var, q0Var, sVar5);
                                            r10.I(f28);
                                            y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                                            l1.i a202 = s0.a(aVar2, zVar, f0Var, q0Var, zVar.m(), !z15, i43 != 1, a16, l1Var, sVar5.e());
                                            boolean b142 = b(o10);
                                            m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var);
                                            f29 = r10.f();
                                            if (!m18) {
                                            }
                                            f29 = new o(zVar, mVar3, sVar5, p1Var);
                                            r10.I(f29);
                                            l1.i a212 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7, p1Var, zVar, f0Var).f(androidx.compose.foundation.text.handwriting.a.c(aVar2, b142, (dn.a) f29)).f(iVar4), zVar, eVar), zVar, f0Var).f(a202), w0Var, lVar12, z13).f(b122).f(c122), new g(zVar));
                                            if (z13) {
                                            }
                                            boolean z272 = z13;
                                            w2.s sVar72 = sVar5;
                                            mVar2 = r10;
                                            c(a212, f0Var, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43, w0Var, q0Var, b1Var4, a192, b132, a182, !z26 ? r0.h0.c(aVar2, f0Var) : aVar2, bVar2, f0Var, z26, z15, lVar4, a16, dVar), mVar2, 54), mVar2, 384);
                                            if (y0.p.H()) {
                                            }
                                            o0Var3 = o0Var2;
                                            lVar7 = lVar4;
                                            b1Var3 = b1Var4;
                                            yVar4 = yVar3;
                                            z20 = z14;
                                            z21 = z272;
                                            i35 = i30;
                                            sVar6 = sVar72;
                                            i36 = i43;
                                            lVar8 = lVar12;
                                            iVar5 = iVar7;
                                            xVar3 = xVar2;
                                            z22 = z15;
                                            qVar3 = qVar2;
                                        }
                                    } else {
                                        sVar5 = sVar4;
                                    }
                                    i33 = i46;
                                    i34 = i25;
                                    if ((i25 & 48) != 32) {
                                        z17 = false;
                                        m10 = m19 | z17 | r10.m(a16) | r10.m(a17) | r10.m(bVar2) | r10.m(f0Var);
                                        f20 = r10.f();
                                        if (!m10) {
                                        }
                                        f20 = new i(zVar, z13, z15, s0Var, q0Var, sVar5, a16, f0Var, a17, bVar2);
                                        r10.I(f20);
                                        d0.l lVar122 = lVar6;
                                        a10 = q0.a(aVar2, z13, mVar3, lVar122, (dn.l) f20);
                                        y3 o102 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                                        rm.n0 n0Var2 = rm.n0.f34904a;
                                        boolean R32 = r10.R(o102) | r10.m(zVar) | r10.m(s0Var) | r10.m(f0Var);
                                        if (i32 > 32) {
                                        }
                                        iVar4 = a10;
                                        if ((i34 & 48) != 32) {
                                        }
                                        z18 = true;
                                        z19 = R32 | z18;
                                        f21 = r10.f();
                                        if (!z19) {
                                        }
                                        f21 = new b(zVar, o102, s0Var, f0Var, sVar5, null);
                                        r10.I(f21);
                                        y0.p0.d(n0Var2, (dn.p) f21, r10, 6);
                                        m11 = r10.m(zVar);
                                        f22 = r10.f();
                                        if (!m11) {
                                        }
                                        f22 = new k(zVar);
                                        r10.I(f22);
                                        l1.i k1022 = r0.s.k(aVar2, (dn.l) f22);
                                        int i4722 = i33;
                                        m12 = (i45 != 2048) | (i4722 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var);
                                        f23 = r10.f();
                                        if (!m12) {
                                        }
                                        f23 = new l(zVar, mVar3, z15, z13, f0Var, a16);
                                        r10.I(f23);
                                        l1.i b1222 = d2.u.b(r0.s.i(u0.a(k1022, lVar122, z13, (dn.l) f23), f0Var.I(), f0Var.M()), g1.a(), false, 2, null);
                                        m13 = r10.m(zVar) | (i44 != 4) | r10.m(a16);
                                        f24 = r10.f();
                                        if (!m13) {
                                        }
                                        f24 = new h(zVar, q0Var, a16);
                                        r10.I(f24);
                                        l1.i b1322 = androidx.compose.ui.draw.b.b(aVar2, (dn.l) f24);
                                        m14 = r10.m(zVar) | (i45 != 2048) | r10.R(h3Var) | r10.m(f0Var) | (i44 != 4) | r10.m(a16);
                                        f25 = r10.f();
                                        if (!m14) {
                                        }
                                        f25 = new C0591j(zVar, z13, h3Var, f0Var, q0Var, a16);
                                        r10.I(f25);
                                        l1.i a1822 = androidx.compose.ui.layout.c.a(aVar2, (dn.l) f25);
                                        boolean z2522 = b1Var4 instanceof w2.j0;
                                        m15 = (i45 != 2048) | r10.m(z0Var) | (i44 != 4) | r10.c(z2522) | (i4722 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                        f26 = r10.f();
                                        if (!m15) {
                                        }
                                        f26 = new n(z0Var, q0Var, z13, z2522, z15, sVar5, zVar, a16, f0Var, mVar3);
                                        r10.I(f26);
                                        l1.i c1222 = o2.l.c(aVar2, true, (dn.l) f26);
                                        l1.i a1922 = m0.a(aVar2, zVar, q0Var, a16, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                                        m16 = r10.m(f0Var);
                                        f27 = r10.f();
                                        if (!m16) {
                                        }
                                        f27 = new c(f0Var);
                                        r10.I(f27);
                                        y0.p0.a(f0Var, (dn.l) f27, r10, 0);
                                        m17 = (i44 != 4) | r10.m(zVar) | r10.m(s0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                        f28 = r10.f();
                                        if (!m17) {
                                        }
                                        f28 = new d(zVar, s0Var, q0Var, sVar5);
                                        r10.I(f28);
                                        y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                                        l1.i a2022 = s0.a(aVar2, zVar, f0Var, q0Var, zVar.m(), !z15, i43 != 1, a16, l1Var, sVar5.e());
                                        boolean b1422 = b(o102);
                                        m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var);
                                        f29 = r10.f();
                                        if (!m18) {
                                        }
                                        f29 = new o(zVar, mVar3, sVar5, p1Var);
                                        r10.I(f29);
                                        l1.i a2122 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7, p1Var, zVar, f0Var).f(androidx.compose.foundation.text.handwriting.a.c(aVar2, b1422, (dn.a) f29)).f(iVar4), zVar, eVar), zVar, f0Var).f(a2022), w0Var, lVar122, z13).f(b1222).f(c1222), new g(zVar));
                                        if (z13) {
                                        }
                                        boolean z2722 = z13;
                                        w2.s sVar722 = sVar5;
                                        mVar2 = r10;
                                        c(a2122, f0Var, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43, w0Var, q0Var, b1Var4, a1922, b1322, a1822, !z26 ? r0.h0.c(aVar2, f0Var) : aVar2, bVar2, f0Var, z26, z15, lVar4, a16, dVar), mVar2, 54), mVar2, 384);
                                        if (y0.p.H()) {
                                        }
                                        o0Var3 = o0Var2;
                                        lVar7 = lVar4;
                                        b1Var3 = b1Var4;
                                        yVar4 = yVar3;
                                        z20 = z14;
                                        z21 = z2722;
                                        i35 = i30;
                                        sVar6 = sVar722;
                                        i36 = i43;
                                        lVar8 = lVar122;
                                        iVar5 = iVar7;
                                        xVar3 = xVar2;
                                        z22 = z15;
                                        qVar3 = qVar2;
                                    }
                                    z17 = true;
                                    m10 = m19 | z17 | r10.m(a16) | r10.m(a17) | r10.m(bVar2) | r10.m(f0Var);
                                    f20 = r10.f();
                                    if (!m10) {
                                    }
                                    f20 = new i(zVar, z13, z15, s0Var, q0Var, sVar5, a16, f0Var, a17, bVar2);
                                    r10.I(f20);
                                    d0.l lVar1222 = lVar6;
                                    a10 = q0.a(aVar2, z13, mVar3, lVar1222, (dn.l) f20);
                                    y3 o1022 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                                    rm.n0 n0Var22 = rm.n0.f34904a;
                                    boolean R322 = r10.R(o1022) | r10.m(zVar) | r10.m(s0Var) | r10.m(f0Var);
                                    if (i32 > 32) {
                                    }
                                    iVar4 = a10;
                                    if ((i34 & 48) != 32) {
                                    }
                                    z18 = true;
                                    z19 = R322 | z18;
                                    f21 = r10.f();
                                    if (!z19) {
                                    }
                                    f21 = new b(zVar, o1022, s0Var, f0Var, sVar5, null);
                                    r10.I(f21);
                                    y0.p0.d(n0Var22, (dn.p) f21, r10, 6);
                                    m11 = r10.m(zVar);
                                    f22 = r10.f();
                                    if (!m11) {
                                    }
                                    f22 = new k(zVar);
                                    r10.I(f22);
                                    l1.i k10222 = r0.s.k(aVar2, (dn.l) f22);
                                    int i47222 = i33;
                                    m12 = (i45 != 2048) | (i47222 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var);
                                    f23 = r10.f();
                                    if (!m12) {
                                    }
                                    f23 = new l(zVar, mVar3, z15, z13, f0Var, a16);
                                    r10.I(f23);
                                    l1.i b12222 = d2.u.b(r0.s.i(u0.a(k10222, lVar1222, z13, (dn.l) f23), f0Var.I(), f0Var.M()), g1.a(), false, 2, null);
                                    m13 = r10.m(zVar) | (i44 != 4) | r10.m(a16);
                                    f24 = r10.f();
                                    if (!m13) {
                                    }
                                    f24 = new h(zVar, q0Var, a16);
                                    r10.I(f24);
                                    l1.i b13222 = androidx.compose.ui.draw.b.b(aVar2, (dn.l) f24);
                                    m14 = r10.m(zVar) | (i45 != 2048) | r10.R(h3Var) | r10.m(f0Var) | (i44 != 4) | r10.m(a16);
                                    f25 = r10.f();
                                    if (!m14) {
                                    }
                                    f25 = new C0591j(zVar, z13, h3Var, f0Var, q0Var, a16);
                                    r10.I(f25);
                                    l1.i a18222 = androidx.compose.ui.layout.c.a(aVar2, (dn.l) f25);
                                    boolean z25222 = b1Var4 instanceof w2.j0;
                                    m15 = (i45 != 2048) | r10.m(z0Var) | (i44 != 4) | r10.c(z25222) | (i47222 != 16384) | r10.m(zVar) | r10.m(a16) | r10.m(f0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                    f26 = r10.f();
                                    if (!m15) {
                                    }
                                    f26 = new n(z0Var, q0Var, z13, z25222, z15, sVar5, zVar, a16, f0Var, mVar3);
                                    r10.I(f26);
                                    l1.i c12222 = o2.l.c(aVar2, true, (dn.l) f26);
                                    l1.i a19222 = m0.a(aVar2, zVar, q0Var, a16, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                                    m16 = r10.m(f0Var);
                                    f27 = r10.f();
                                    if (!m16) {
                                    }
                                    f27 = new c(f0Var);
                                    r10.I(f27);
                                    y0.p0.a(f0Var, (dn.l) f27, r10, 0);
                                    m17 = (i44 != 4) | r10.m(zVar) | r10.m(s0Var) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                                    f28 = r10.f();
                                    if (!m17) {
                                    }
                                    f28 = new d(zVar, s0Var, q0Var, sVar5);
                                    r10.I(f28);
                                    y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                                    l1.i a20222 = s0.a(aVar2, zVar, f0Var, q0Var, zVar.m(), !z15, i43 != 1, a16, l1Var, sVar5.e());
                                    boolean b14222 = b(o1022);
                                    m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var);
                                    f29 = r10.f();
                                    if (!m18) {
                                    }
                                    f29 = new o(zVar, mVar3, sVar5, p1Var);
                                    r10.I(f29);
                                    l1.i a21222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7, p1Var, zVar, f0Var).f(androidx.compose.foundation.text.handwriting.a.c(aVar2, b14222, (dn.a) f29)).f(iVar4), zVar, eVar), zVar, f0Var).f(a20222), w0Var, lVar1222, z13).f(b12222).f(c12222), new g(zVar));
                                    if (z13) {
                                    }
                                    boolean z27222 = z13;
                                    w2.s sVar7222 = sVar5;
                                    mVar2 = r10;
                                    c(a21222, f0Var, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43, w0Var, q0Var, b1Var4, a19222, b13222, a18222, !z26 ? r0.h0.c(aVar2, f0Var) : aVar2, bVar2, f0Var, z26, z15, lVar4, a16, dVar), mVar2, 54), mVar2, 384);
                                    if (y0.p.H()) {
                                    }
                                    o0Var3 = o0Var2;
                                    lVar7 = lVar4;
                                    b1Var3 = b1Var4;
                                    yVar4 = yVar3;
                                    z20 = z14;
                                    z21 = z27222;
                                    i35 = i30;
                                    sVar6 = sVar7222;
                                    i36 = i43;
                                    lVar8 = lVar1222;
                                    iVar5 = iVar7;
                                    xVar3 = xVar2;
                                    z22 = z15;
                                    qVar3 = qVar2;
                                }
                                y10 = mVar2.y();
                                if (y10 != null) {
                                    y10.a(new f(q0Var, lVar, iVar5, o0Var3, b1Var3, lVar7, lVar8, yVar4, z20, i36, i35, sVar6, xVar3, z21, z22, qVar3, i12, i13, i14));
                                    return;
                                }
                                return;
                            }
                            i29 = i14 & 32768;
                            if (i29 != 0) {
                            }
                            if ((i15 & 306783379) != 306783378) {
                            }
                            r10.q();
                            if ((i12 & 1) != 0) {
                            }
                            if (i38 != 0) {
                            }
                            if (i16 != 0) {
                            }
                            if (i17 != 0) {
                            }
                            if (i18 != 0) {
                            }
                            if (i19 != 0) {
                            }
                            if (i20 != 0) {
                            }
                            if (i21 != 0) {
                            }
                            if (i22 != 0) {
                            }
                            if (i23 != 0) {
                            }
                            if ((i14 & 2048) != 0) {
                            }
                            if (i26 != 0) {
                            }
                            if (i27 != 0) {
                            }
                            if (i28 != 0) {
                            }
                            if (i29 != 0) {
                            }
                            b1Var2 = c10;
                            lVar4 = lVar9;
                            i31 = i41;
                            sVar3 = sVar2;
                            d0.l lVar112 = lVar10;
                            o0Var2 = a11;
                            lVar5 = lVar112;
                            r10.P();
                            if (y0.p.H()) {
                            }
                            f10 = r10.f();
                            aVar = y0.m.f51621a;
                            if (f10 == aVar.a()) {
                            }
                            androidx.compose.ui.focus.m mVar32 = (androidx.compose.ui.focus.m) f10;
                            f11 = r10.f();
                            if (f11 == aVar.a()) {
                            }
                            o0.p1 p1Var2 = (o0.p1) f11;
                            f12 = r10.f();
                            if (f12 == aVar.a()) {
                            }
                            w2.s0 s0Var2 = (w2.s0) f12;
                            c3.d dVar2 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
                            i.b bVar3 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
                            long a132 = ((r0.j0) r10.t(r0.k0.b())).a();
                            q1.e eVar2 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
                            l1.i iVar72 = iVar3;
                            h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
                            p2 p2Var2 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
                            if (i31 != 1 && !z14 && sVar3.h()) {
                            }
                            Object[] objArr2 = {qVar4};
                            i1.j a142 = w0.f27260f.a();
                            R = r10.R(qVar4);
                            int i432 = i31;
                            Object f302 = r10.f();
                            if (R) {
                            }
                            f302 = new m(qVar4);
                            r10.I(f302);
                            w0 w0Var2 = (w0) i1.b.c(objArr2, a142, null, (dn.a) f302, r10, 0, 4);
                            int i442 = i15 & 14;
                            if (i442 == 4) {
                            }
                            z16 = ((i15 & 57344) == 16384) | (i442 == 4);
                            f13 = r10.f();
                            if (z16) {
                            }
                            w2.z0 c112 = p1.c(b1Var2, q0Var.e());
                            f14 = q0Var.f();
                            if (f14 != null) {
                            }
                            f13 = c112;
                            r10.I(f13);
                            w2.z0 z0Var2 = (w2.z0) f13;
                            q2.d b102 = z0Var2.b();
                            w2.h0 a162 = z0Var2.a();
                            j2 b112 = y0.j.b(r10, 0);
                            R2 = r10.R(p2Var2);
                            f15 = r10.f();
                            if (!R2) {
                            }
                            f15 = new z(new j0(b102, o0Var2, 0, 0, z14, 0, dVar2, bVar3, null, 300, null), b112, p2Var2);
                            r10.I(f15);
                            zVar = (z) f15;
                            zVar.N(q0Var.e(), b102, o0Var2, z14, dVar2, bVar3, lVar, xVar2, eVar2, a132);
                            zVar.n().d(q0Var, zVar.g());
                            f16 = r10.f();
                            if (f16 == aVar.a()) {
                            }
                            l1 l1Var2 = (l1) f16;
                            l1.f(l1Var2, q0Var, 0L, 2, null);
                            f17 = r10.f();
                            if (f17 == aVar.a()) {
                            }
                            r0.f0 f0Var2 = (r0.f0) f17;
                            f0Var2.e0(a162);
                            f0Var2.k0(b1Var2);
                            f0Var2.f0(zVar.m());
                            f0Var2.h0(zVar);
                            f0Var2.j0(q0Var);
                            f0Var2.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
                            f0Var2.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
                            f0Var2.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
                            f0Var2.b0(mVar32);
                            f0Var2.Z(!z15);
                            f0Var2.a0(z13);
                            f18 = r10.f();
                            if (f18 == aVar.a()) {
                            }
                            tp.m0 a172 = ((y0.b0) f18).a();
                            f19 = r10.f();
                            if (f19 == aVar.a()) {
                            }
                            i0.b bVar22 = (i0.b) f19;
                            i.a aVar22 = l1.i.f27362a;
                            int i452 = i25 & 7168;
                            w2.b1 b1Var42 = b1Var2;
                            int i462 = i25 & 57344;
                            boolean m192 = r10.m(zVar) | (i452 == 2048) | (i462 == 16384) | r10.m(s0Var2) | (i442 == 4);
                            i32 = (i25 & 112) ^ 48;
                            if (i32 > 32) {
                            }
                            i33 = i462;
                            i34 = i25;
                            if ((i25 & 48) != 32) {
                            }
                            z17 = true;
                            m10 = m192 | z17 | r10.m(a162) | r10.m(a172) | r10.m(bVar22) | r10.m(f0Var2);
                            f20 = r10.f();
                            if (!m10) {
                            }
                            f20 = new i(zVar, z13, z15, s0Var2, q0Var, sVar5, a162, f0Var2, a172, bVar22);
                            r10.I(f20);
                            d0.l lVar12222 = lVar6;
                            a10 = q0.a(aVar22, z13, mVar32, lVar12222, (dn.l) f20);
                            y3 o10222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                            rm.n0 n0Var222 = rm.n0.f34904a;
                            boolean R3222 = r10.R(o10222) | r10.m(zVar) | r10.m(s0Var2) | r10.m(f0Var2);
                            if (i32 > 32) {
                            }
                            iVar4 = a10;
                            if ((i34 & 48) != 32) {
                            }
                            z18 = true;
                            z19 = R3222 | z18;
                            f21 = r10.f();
                            if (!z19) {
                            }
                            f21 = new b(zVar, o10222, s0Var2, f0Var2, sVar5, null);
                            r10.I(f21);
                            y0.p0.d(n0Var222, (dn.p) f21, r10, 6);
                            m11 = r10.m(zVar);
                            f22 = r10.f();
                            if (!m11) {
                            }
                            f22 = new k(zVar);
                            r10.I(f22);
                            l1.i k102222 = r0.s.k(aVar22, (dn.l) f22);
                            int i472222 = i33;
                            m12 = (i452 != 2048) | (i472222 != 16384) | r10.m(zVar) | r10.m(a162) | r10.m(f0Var2);
                            f23 = r10.f();
                            if (!m12) {
                            }
                            f23 = new l(zVar, mVar32, z15, z13, f0Var2, a162);
                            r10.I(f23);
                            l1.i b122222 = d2.u.b(r0.s.i(u0.a(k102222, lVar12222, z13, (dn.l) f23), f0Var2.I(), f0Var2.M()), g1.a(), false, 2, null);
                            m13 = r10.m(zVar) | (i442 != 4) | r10.m(a162);
                            f24 = r10.f();
                            if (!m13) {
                            }
                            f24 = new h(zVar, q0Var, a162);
                            r10.I(f24);
                            l1.i b132222 = androidx.compose.ui.draw.b.b(aVar22, (dn.l) f24);
                            m14 = r10.m(zVar) | (i452 != 2048) | r10.R(h3Var) | r10.m(f0Var2) | (i442 != 4) | r10.m(a162);
                            f25 = r10.f();
                            if (!m14) {
                            }
                            f25 = new C0591j(zVar, z13, h3Var, f0Var2, q0Var, a162);
                            r10.I(f25);
                            l1.i a182222 = androidx.compose.ui.layout.c.a(aVar22, (dn.l) f25);
                            boolean z252222 = b1Var42 instanceof w2.j0;
                            m15 = (i452 != 2048) | r10.m(z0Var2) | (i442 != 4) | r10.c(z252222) | (i472222 != 16384) | r10.m(zVar) | r10.m(a162) | r10.m(f0Var2) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                            f26 = r10.f();
                            if (!m15) {
                            }
                            f26 = new n(z0Var2, q0Var, z13, z252222, z15, sVar5, zVar, a162, f0Var2, mVar32);
                            r10.I(f26);
                            l1.i c122222 = o2.l.c(aVar22, true, (dn.l) f26);
                            l1.i a192222 = m0.a(aVar22, zVar, q0Var, a162, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                            m16 = r10.m(f0Var2);
                            f27 = r10.f();
                            if (!m16) {
                            }
                            f27 = new c(f0Var2);
                            r10.I(f27);
                            y0.p0.a(f0Var2, (dn.l) f27, r10, 0);
                            m17 = (i442 != 4) | r10.m(zVar) | r10.m(s0Var2) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                            f28 = r10.f();
                            if (!m17) {
                            }
                            f28 = new d(zVar, s0Var2, q0Var, sVar5);
                            r10.I(f28);
                            y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                            l1.i a202222 = s0.a(aVar22, zVar, f0Var2, q0Var, zVar.m(), !z15, i432 != 1, a162, l1Var2, sVar5.e());
                            boolean b142222 = b(o10222);
                            m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var2);
                            f29 = r10.f();
                            if (!m18) {
                            }
                            f29 = new o(zVar, mVar32, sVar5, p1Var2);
                            r10.I(f29);
                            l1.i a212222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar72, p1Var2, zVar, f0Var2).f(androidx.compose.foundation.text.handwriting.a.c(aVar22, b142222, (dn.a) f29)).f(iVar4), zVar, eVar2), zVar, f0Var2).f(a202222), w0Var2, lVar12222, z13).f(b122222).f(c122222), new g(zVar));
                            if (z13) {
                            }
                            boolean z272222 = z13;
                            w2.s sVar72222 = sVar5;
                            mVar2 = r10;
                            c(a212222, f0Var2, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i432, w0Var2, q0Var, b1Var42, a192222, b132222, a182222, !z26 ? r0.h0.c(aVar22, f0Var2) : aVar22, bVar22, f0Var2, z26, z15, lVar4, a162, dVar2), mVar2, 54), mVar2, 384);
                            if (y0.p.H()) {
                            }
                            o0Var3 = o0Var2;
                            lVar7 = lVar4;
                            b1Var3 = b1Var42;
                            yVar4 = yVar3;
                            z20 = z14;
                            z21 = z272222;
                            i35 = i30;
                            sVar6 = sVar72222;
                            i36 = i432;
                            lVar8 = lVar12222;
                            iVar5 = iVar72;
                            xVar3 = xVar2;
                            z22 = z15;
                            qVar3 = qVar2;
                            y10 = mVar2.y();
                            if (y10 != null) {
                            }
                        }
                        i28 = i14 & 16384;
                        if (i28 == 0) {
                        }
                        i29 = i14 & 32768;
                        if (i29 != 0) {
                        }
                        if ((i15 & 306783379) != 306783378) {
                        }
                        r10.q();
                        if ((i12 & 1) != 0) {
                        }
                        if (i38 != 0) {
                        }
                        if (i16 != 0) {
                        }
                        if (i17 != 0) {
                        }
                        if (i18 != 0) {
                        }
                        if (i19 != 0) {
                        }
                        if (i20 != 0) {
                        }
                        if (i21 != 0) {
                        }
                        if (i22 != 0) {
                        }
                        if (i23 != 0) {
                        }
                        if ((i14 & 2048) != 0) {
                        }
                        if (i26 != 0) {
                        }
                        if (i27 != 0) {
                        }
                        if (i28 != 0) {
                        }
                        if (i29 != 0) {
                        }
                        b1Var2 = c10;
                        lVar4 = lVar9;
                        i31 = i41;
                        sVar3 = sVar2;
                        d0.l lVar1122 = lVar10;
                        o0Var2 = a11;
                        lVar5 = lVar1122;
                        r10.P();
                        if (y0.p.H()) {
                        }
                        f10 = r10.f();
                        aVar = y0.m.f51621a;
                        if (f10 == aVar.a()) {
                        }
                        androidx.compose.ui.focus.m mVar322 = (androidx.compose.ui.focus.m) f10;
                        f11 = r10.f();
                        if (f11 == aVar.a()) {
                        }
                        o0.p1 p1Var22 = (o0.p1) f11;
                        f12 = r10.f();
                        if (f12 == aVar.a()) {
                        }
                        w2.s0 s0Var22 = (w2.s0) f12;
                        c3.d dVar22 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
                        i.b bVar32 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
                        long a1322 = ((r0.j0) r10.t(r0.k0.b())).a();
                        q1.e eVar22 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
                        l1.i iVar722 = iVar3;
                        h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
                        p2 p2Var22 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
                        if (i31 != 1 && !z14 && sVar3.h()) {
                        }
                        Object[] objArr22 = {qVar4};
                        i1.j a1422 = w0.f27260f.a();
                        R = r10.R(qVar4);
                        int i4322 = i31;
                        Object f3022 = r10.f();
                        if (R) {
                        }
                        f3022 = new m(qVar4);
                        r10.I(f3022);
                        w0 w0Var22 = (w0) i1.b.c(objArr22, a1422, null, (dn.a) f3022, r10, 0, 4);
                        int i4422 = i15 & 14;
                        if (i4422 == 4) {
                        }
                        z16 = ((i15 & 57344) == 16384) | (i4422 == 4);
                        f13 = r10.f();
                        if (z16) {
                        }
                        w2.z0 c1122 = p1.c(b1Var2, q0Var.e());
                        f14 = q0Var.f();
                        if (f14 != null) {
                        }
                        f13 = c1122;
                        r10.I(f13);
                        w2.z0 z0Var22 = (w2.z0) f13;
                        q2.d b1022 = z0Var22.b();
                        w2.h0 a1622 = z0Var22.a();
                        j2 b1122 = y0.j.b(r10, 0);
                        R2 = r10.R(p2Var22);
                        f15 = r10.f();
                        if (!R2) {
                        }
                        f15 = new z(new j0(b1022, o0Var2, 0, 0, z14, 0, dVar22, bVar32, null, 300, null), b1122, p2Var22);
                        r10.I(f15);
                        zVar = (z) f15;
                        zVar.N(q0Var.e(), b1022, o0Var2, z14, dVar22, bVar32, lVar, xVar2, eVar22, a1322);
                        zVar.n().d(q0Var, zVar.g());
                        f16 = r10.f();
                        if (f16 == aVar.a()) {
                        }
                        l1 l1Var22 = (l1) f16;
                        l1.f(l1Var22, q0Var, 0L, 2, null);
                        f17 = r10.f();
                        if (f17 == aVar.a()) {
                        }
                        r0.f0 f0Var22 = (r0.f0) f17;
                        f0Var22.e0(a1622);
                        f0Var22.k0(b1Var2);
                        f0Var22.f0(zVar.m());
                        f0Var22.h0(zVar);
                        f0Var22.j0(q0Var);
                        f0Var22.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
                        f0Var22.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
                        f0Var22.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
                        f0Var22.b0(mVar322);
                        f0Var22.Z(!z15);
                        f0Var22.a0(z13);
                        f18 = r10.f();
                        if (f18 == aVar.a()) {
                        }
                        tp.m0 a1722 = ((y0.b0) f18).a();
                        f19 = r10.f();
                        if (f19 == aVar.a()) {
                        }
                        i0.b bVar222 = (i0.b) f19;
                        i.a aVar222 = l1.i.f27362a;
                        int i4522 = i25 & 7168;
                        w2.b1 b1Var422 = b1Var2;
                        int i4622 = i25 & 57344;
                        boolean m1922 = r10.m(zVar) | (i4522 == 2048) | (i4622 == 16384) | r10.m(s0Var22) | (i4422 == 4);
                        i32 = (i25 & 112) ^ 48;
                        if (i32 > 32) {
                        }
                        i33 = i4622;
                        i34 = i25;
                        if ((i25 & 48) != 32) {
                        }
                        z17 = true;
                        m10 = m1922 | z17 | r10.m(a1622) | r10.m(a1722) | r10.m(bVar222) | r10.m(f0Var22);
                        f20 = r10.f();
                        if (!m10) {
                        }
                        f20 = new i(zVar, z13, z15, s0Var22, q0Var, sVar5, a1622, f0Var22, a1722, bVar222);
                        r10.I(f20);
                        d0.l lVar122222 = lVar6;
                        a10 = q0.a(aVar222, z13, mVar322, lVar122222, (dn.l) f20);
                        y3 o102222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                        rm.n0 n0Var2222 = rm.n0.f34904a;
                        boolean R32222 = r10.R(o102222) | r10.m(zVar) | r10.m(s0Var22) | r10.m(f0Var22);
                        if (i32 > 32) {
                        }
                        iVar4 = a10;
                        if ((i34 & 48) != 32) {
                        }
                        z18 = true;
                        z19 = R32222 | z18;
                        f21 = r10.f();
                        if (!z19) {
                        }
                        f21 = new b(zVar, o102222, s0Var22, f0Var22, sVar5, null);
                        r10.I(f21);
                        y0.p0.d(n0Var2222, (dn.p) f21, r10, 6);
                        m11 = r10.m(zVar);
                        f22 = r10.f();
                        if (!m11) {
                        }
                        f22 = new k(zVar);
                        r10.I(f22);
                        l1.i k1022222 = r0.s.k(aVar222, (dn.l) f22);
                        int i4722222 = i33;
                        m12 = (i4522 != 2048) | (i4722222 != 16384) | r10.m(zVar) | r10.m(a1622) | r10.m(f0Var22);
                        f23 = r10.f();
                        if (!m12) {
                        }
                        f23 = new l(zVar, mVar322, z15, z13, f0Var22, a1622);
                        r10.I(f23);
                        l1.i b1222222 = d2.u.b(r0.s.i(u0.a(k1022222, lVar122222, z13, (dn.l) f23), f0Var22.I(), f0Var22.M()), g1.a(), false, 2, null);
                        m13 = r10.m(zVar) | (i4422 != 4) | r10.m(a1622);
                        f24 = r10.f();
                        if (!m13) {
                        }
                        f24 = new h(zVar, q0Var, a1622);
                        r10.I(f24);
                        l1.i b1322222 = androidx.compose.ui.draw.b.b(aVar222, (dn.l) f24);
                        m14 = r10.m(zVar) | (i4522 != 2048) | r10.R(h3Var) | r10.m(f0Var22) | (i4422 != 4) | r10.m(a1622);
                        f25 = r10.f();
                        if (!m14) {
                        }
                        f25 = new C0591j(zVar, z13, h3Var, f0Var22, q0Var, a1622);
                        r10.I(f25);
                        l1.i a1822222 = androidx.compose.ui.layout.c.a(aVar222, (dn.l) f25);
                        boolean z2522222 = b1Var422 instanceof w2.j0;
                        m15 = (i4522 != 2048) | r10.m(z0Var22) | (i4422 != 4) | r10.c(z2522222) | (i4722222 != 16384) | r10.m(zVar) | r10.m(a1622) | r10.m(f0Var22) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                        f26 = r10.f();
                        if (!m15) {
                        }
                        f26 = new n(z0Var22, q0Var, z13, z2522222, z15, sVar5, zVar, a1622, f0Var22, mVar322);
                        r10.I(f26);
                        l1.i c1222222 = o2.l.c(aVar222, true, (dn.l) f26);
                        l1.i a1922222 = m0.a(aVar222, zVar, q0Var, a1622, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                        m16 = r10.m(f0Var22);
                        f27 = r10.f();
                        if (!m16) {
                        }
                        f27 = new c(f0Var22);
                        r10.I(f27);
                        y0.p0.a(f0Var22, (dn.l) f27, r10, 0);
                        m17 = (i4422 != 4) | r10.m(zVar) | r10.m(s0Var22) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                        f28 = r10.f();
                        if (!m17) {
                        }
                        f28 = new d(zVar, s0Var22, q0Var, sVar5);
                        r10.I(f28);
                        y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                        l1.i a2022222 = s0.a(aVar222, zVar, f0Var22, q0Var, zVar.m(), !z15, i4322 != 1, a1622, l1Var22, sVar5.e());
                        boolean b1422222 = b(o102222);
                        m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var22);
                        f29 = r10.f();
                        if (!m18) {
                        }
                        f29 = new o(zVar, mVar322, sVar5, p1Var22);
                        r10.I(f29);
                        l1.i a2122222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar722, p1Var22, zVar, f0Var22).f(androidx.compose.foundation.text.handwriting.a.c(aVar222, b1422222, (dn.a) f29)).f(iVar4), zVar, eVar22), zVar, f0Var22).f(a2022222), w0Var22, lVar122222, z13).f(b1222222).f(c1222222), new g(zVar));
                        if (z13) {
                        }
                        boolean z2722222 = z13;
                        w2.s sVar722222 = sVar5;
                        mVar2 = r10;
                        c(a2122222, f0Var22, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i4322, w0Var22, q0Var, b1Var422, a1922222, b1322222, a1822222, !z26 ? r0.h0.c(aVar222, f0Var22) : aVar222, bVar222, f0Var22, z26, z15, lVar4, a1622, dVar22), mVar2, 54), mVar2, 384);
                        if (y0.p.H()) {
                        }
                        o0Var3 = o0Var2;
                        lVar7 = lVar4;
                        b1Var3 = b1Var422;
                        yVar4 = yVar3;
                        z20 = z14;
                        z21 = z2722222;
                        i35 = i30;
                        sVar6 = sVar722222;
                        i36 = i4322;
                        lVar8 = lVar122222;
                        iVar5 = iVar722;
                        xVar3 = xVar2;
                        z22 = z15;
                        qVar3 = qVar2;
                        y10 = mVar2.y();
                        if (y10 != null) {
                        }
                    }
                    i27 = i14 & UserMetadata.MAX_INTERNAL_KEY_SIZE;
                    if (i27 != 0) {
                    }
                    i28 = i14 & 16384;
                    if (i28 == 0) {
                    }
                    i29 = i14 & 32768;
                    if (i29 != 0) {
                    }
                    if ((i15 & 306783379) != 306783378) {
                    }
                    r10.q();
                    if ((i12 & 1) != 0) {
                    }
                    if (i38 != 0) {
                    }
                    if (i16 != 0) {
                    }
                    if (i17 != 0) {
                    }
                    if (i18 != 0) {
                    }
                    if (i19 != 0) {
                    }
                    if (i20 != 0) {
                    }
                    if (i21 != 0) {
                    }
                    if (i22 != 0) {
                    }
                    if (i23 != 0) {
                    }
                    if ((i14 & 2048) != 0) {
                    }
                    if (i26 != 0) {
                    }
                    if (i27 != 0) {
                    }
                    if (i28 != 0) {
                    }
                    if (i29 != 0) {
                    }
                    b1Var2 = c10;
                    lVar4 = lVar9;
                    i31 = i41;
                    sVar3 = sVar2;
                    d0.l lVar11222 = lVar10;
                    o0Var2 = a11;
                    lVar5 = lVar11222;
                    r10.P();
                    if (y0.p.H()) {
                    }
                    f10 = r10.f();
                    aVar = y0.m.f51621a;
                    if (f10 == aVar.a()) {
                    }
                    androidx.compose.ui.focus.m mVar3222 = (androidx.compose.ui.focus.m) f10;
                    f11 = r10.f();
                    if (f11 == aVar.a()) {
                    }
                    o0.p1 p1Var222 = (o0.p1) f11;
                    f12 = r10.f();
                    if (f12 == aVar.a()) {
                    }
                    w2.s0 s0Var222 = (w2.s0) f12;
                    c3.d dVar222 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
                    i.b bVar322 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
                    long a13222 = ((r0.j0) r10.t(r0.k0.b())).a();
                    q1.e eVar222 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
                    l1.i iVar7222 = iVar3;
                    h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
                    p2 p2Var222 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
                    if (i31 != 1 && !z14 && sVar3.h()) {
                    }
                    Object[] objArr222 = {qVar4};
                    i1.j a14222 = w0.f27260f.a();
                    R = r10.R(qVar4);
                    int i43222 = i31;
                    Object f30222 = r10.f();
                    if (R) {
                    }
                    f30222 = new m(qVar4);
                    r10.I(f30222);
                    w0 w0Var222 = (w0) i1.b.c(objArr222, a14222, null, (dn.a) f30222, r10, 0, 4);
                    int i44222 = i15 & 14;
                    if (i44222 == 4) {
                    }
                    z16 = ((i15 & 57344) == 16384) | (i44222 == 4);
                    f13 = r10.f();
                    if (z16) {
                    }
                    w2.z0 c11222 = p1.c(b1Var2, q0Var.e());
                    f14 = q0Var.f();
                    if (f14 != null) {
                    }
                    f13 = c11222;
                    r10.I(f13);
                    w2.z0 z0Var222 = (w2.z0) f13;
                    q2.d b10222 = z0Var222.b();
                    w2.h0 a16222 = z0Var222.a();
                    j2 b11222 = y0.j.b(r10, 0);
                    R2 = r10.R(p2Var222);
                    f15 = r10.f();
                    if (!R2) {
                    }
                    f15 = new z(new j0(b10222, o0Var2, 0, 0, z14, 0, dVar222, bVar322, null, 300, null), b11222, p2Var222);
                    r10.I(f15);
                    zVar = (z) f15;
                    zVar.N(q0Var.e(), b10222, o0Var2, z14, dVar222, bVar322, lVar, xVar2, eVar222, a13222);
                    zVar.n().d(q0Var, zVar.g());
                    f16 = r10.f();
                    if (f16 == aVar.a()) {
                    }
                    l1 l1Var222 = (l1) f16;
                    l1.f(l1Var222, q0Var, 0L, 2, null);
                    f17 = r10.f();
                    if (f17 == aVar.a()) {
                    }
                    r0.f0 f0Var222 = (r0.f0) f17;
                    f0Var222.e0(a16222);
                    f0Var222.k0(b1Var2);
                    f0Var222.f0(zVar.m());
                    f0Var222.h0(zVar);
                    f0Var222.j0(q0Var);
                    f0Var222.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
                    f0Var222.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
                    f0Var222.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
                    f0Var222.b0(mVar3222);
                    f0Var222.Z(!z15);
                    f0Var222.a0(z13);
                    f18 = r10.f();
                    if (f18 == aVar.a()) {
                    }
                    tp.m0 a17222 = ((y0.b0) f18).a();
                    f19 = r10.f();
                    if (f19 == aVar.a()) {
                    }
                    i0.b bVar2222 = (i0.b) f19;
                    i.a aVar2222 = l1.i.f27362a;
                    int i45222 = i25 & 7168;
                    w2.b1 b1Var4222 = b1Var2;
                    int i46222 = i25 & 57344;
                    boolean m19222 = r10.m(zVar) | (i45222 == 2048) | (i46222 == 16384) | r10.m(s0Var222) | (i44222 == 4);
                    i32 = (i25 & 112) ^ 48;
                    if (i32 > 32) {
                    }
                    i33 = i46222;
                    i34 = i25;
                    if ((i25 & 48) != 32) {
                    }
                    z17 = true;
                    m10 = m19222 | z17 | r10.m(a16222) | r10.m(a17222) | r10.m(bVar2222) | r10.m(f0Var222);
                    f20 = r10.f();
                    if (!m10) {
                    }
                    f20 = new i(zVar, z13, z15, s0Var222, q0Var, sVar5, a16222, f0Var222, a17222, bVar2222);
                    r10.I(f20);
                    d0.l lVar1222222 = lVar6;
                    a10 = q0.a(aVar2222, z13, mVar3222, lVar1222222, (dn.l) f20);
                    y3 o1022222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                    rm.n0 n0Var22222 = rm.n0.f34904a;
                    boolean R322222 = r10.R(o1022222) | r10.m(zVar) | r10.m(s0Var222) | r10.m(f0Var222);
                    if (i32 > 32) {
                    }
                    iVar4 = a10;
                    if ((i34 & 48) != 32) {
                    }
                    z18 = true;
                    z19 = R322222 | z18;
                    f21 = r10.f();
                    if (!z19) {
                    }
                    f21 = new b(zVar, o1022222, s0Var222, f0Var222, sVar5, null);
                    r10.I(f21);
                    y0.p0.d(n0Var22222, (dn.p) f21, r10, 6);
                    m11 = r10.m(zVar);
                    f22 = r10.f();
                    if (!m11) {
                    }
                    f22 = new k(zVar);
                    r10.I(f22);
                    l1.i k10222222 = r0.s.k(aVar2222, (dn.l) f22);
                    int i47222222 = i33;
                    m12 = (i45222 != 2048) | (i47222222 != 16384) | r10.m(zVar) | r10.m(a16222) | r10.m(f0Var222);
                    f23 = r10.f();
                    if (!m12) {
                    }
                    f23 = new l(zVar, mVar3222, z15, z13, f0Var222, a16222);
                    r10.I(f23);
                    l1.i b12222222 = d2.u.b(r0.s.i(u0.a(k10222222, lVar1222222, z13, (dn.l) f23), f0Var222.I(), f0Var222.M()), g1.a(), false, 2, null);
                    m13 = r10.m(zVar) | (i44222 != 4) | r10.m(a16222);
                    f24 = r10.f();
                    if (!m13) {
                    }
                    f24 = new h(zVar, q0Var, a16222);
                    r10.I(f24);
                    l1.i b13222222 = androidx.compose.ui.draw.b.b(aVar2222, (dn.l) f24);
                    m14 = r10.m(zVar) | (i45222 != 2048) | r10.R(h3Var) | r10.m(f0Var222) | (i44222 != 4) | r10.m(a16222);
                    f25 = r10.f();
                    if (!m14) {
                    }
                    f25 = new C0591j(zVar, z13, h3Var, f0Var222, q0Var, a16222);
                    r10.I(f25);
                    l1.i a18222222 = androidx.compose.ui.layout.c.a(aVar2222, (dn.l) f25);
                    boolean z25222222 = b1Var4222 instanceof w2.j0;
                    m15 = (i45222 != 2048) | r10.m(z0Var222) | (i44222 != 4) | r10.c(z25222222) | (i47222222 != 16384) | r10.m(zVar) | r10.m(a16222) | r10.m(f0Var222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                    f26 = r10.f();
                    if (!m15) {
                    }
                    f26 = new n(z0Var222, q0Var, z13, z25222222, z15, sVar5, zVar, a16222, f0Var222, mVar3222);
                    r10.I(f26);
                    l1.i c12222222 = o2.l.c(aVar2222, true, (dn.l) f26);
                    l1.i a19222222 = m0.a(aVar2222, zVar, q0Var, a16222, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                    m16 = r10.m(f0Var222);
                    f27 = r10.f();
                    if (!m16) {
                    }
                    f27 = new c(f0Var222);
                    r10.I(f27);
                    y0.p0.a(f0Var222, (dn.l) f27, r10, 0);
                    m17 = (i44222 != 4) | r10.m(zVar) | r10.m(s0Var222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                    f28 = r10.f();
                    if (!m17) {
                    }
                    f28 = new d(zVar, s0Var222, q0Var, sVar5);
                    r10.I(f28);
                    y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                    l1.i a20222222 = s0.a(aVar2222, zVar, f0Var222, q0Var, zVar.m(), !z15, i43222 != 1, a16222, l1Var222, sVar5.e());
                    boolean b14222222 = b(o1022222);
                    m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var222);
                    f29 = r10.f();
                    if (!m18) {
                    }
                    f29 = new o(zVar, mVar3222, sVar5, p1Var222);
                    r10.I(f29);
                    l1.i a21222222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7222, p1Var222, zVar, f0Var222).f(androidx.compose.foundation.text.handwriting.a.c(aVar2222, b14222222, (dn.a) f29)).f(iVar4), zVar, eVar222), zVar, f0Var222).f(a20222222), w0Var222, lVar1222222, z13).f(b12222222).f(c12222222), new g(zVar));
                    if (z13) {
                    }
                    boolean z27222222 = z13;
                    w2.s sVar7222222 = sVar5;
                    mVar2 = r10;
                    c(a21222222, f0Var222, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43222, w0Var222, q0Var, b1Var4222, a19222222, b13222222, a18222222, !z26 ? r0.h0.c(aVar2222, f0Var222) : aVar2222, bVar2222, f0Var222, z26, z15, lVar4, a16222, dVar222), mVar2, 54), mVar2, 384);
                    if (y0.p.H()) {
                    }
                    o0Var3 = o0Var2;
                    lVar7 = lVar4;
                    b1Var3 = b1Var4222;
                    yVar4 = yVar3;
                    z20 = z14;
                    z21 = z27222222;
                    i35 = i30;
                    sVar6 = sVar7222222;
                    i36 = i43222;
                    lVar8 = lVar1222222;
                    iVar5 = iVar7222;
                    xVar3 = xVar2;
                    z22 = z15;
                    qVar3 = qVar2;
                    y10 = mVar2.y();
                    if (y10 != null) {
                    }
                }
                i18 = i14 & 32;
                if (i18 == 0) {
                }
                i19 = i14 & 64;
                if (i19 == 0) {
                }
                i20 = i14 & 128;
                if (i20 == 0) {
                }
                i21 = i14 & 256;
                if (i21 == 0) {
                }
                i22 = i14 & 512;
                if (i22 == 0) {
                }
                i23 = i14 & UserMetadata.MAX_ATTRIBUTE_SIZE;
                if (i23 == 0) {
                }
                if ((i13 & 48) == 0) {
                }
                i25 = i24;
                i26 = i14 & 4096;
                if (i26 == 0) {
                }
                i27 = i14 & UserMetadata.MAX_INTERNAL_KEY_SIZE;
                if (i27 != 0) {
                }
                i28 = i14 & 16384;
                if (i28 == 0) {
                }
                i29 = i14 & 32768;
                if (i29 != 0) {
                }
                if ((i15 & 306783379) != 306783378) {
                }
                r10.q();
                if ((i12 & 1) != 0) {
                }
                if (i38 != 0) {
                }
                if (i16 != 0) {
                }
                if (i17 != 0) {
                }
                if (i18 != 0) {
                }
                if (i19 != 0) {
                }
                if (i20 != 0) {
                }
                if (i21 != 0) {
                }
                if (i22 != 0) {
                }
                if (i23 != 0) {
                }
                if ((i14 & 2048) != 0) {
                }
                if (i26 != 0) {
                }
                if (i27 != 0) {
                }
                if (i28 != 0) {
                }
                if (i29 != 0) {
                }
                b1Var2 = c10;
                lVar4 = lVar9;
                i31 = i41;
                sVar3 = sVar2;
                d0.l lVar112222 = lVar10;
                o0Var2 = a11;
                lVar5 = lVar112222;
                r10.P();
                if (y0.p.H()) {
                }
                f10 = r10.f();
                aVar = y0.m.f51621a;
                if (f10 == aVar.a()) {
                }
                androidx.compose.ui.focus.m mVar32222 = (androidx.compose.ui.focus.m) f10;
                f11 = r10.f();
                if (f11 == aVar.a()) {
                }
                o0.p1 p1Var2222 = (o0.p1) f11;
                f12 = r10.f();
                if (f12 == aVar.a()) {
                }
                w2.s0 s0Var2222 = (w2.s0) f12;
                c3.d dVar2222 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
                i.b bVar3222 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
                long a132222 = ((r0.j0) r10.t(r0.k0.b())).a();
                q1.e eVar2222 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
                l1.i iVar72222 = iVar3;
                h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
                p2 p2Var2222 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
                if (i31 != 1 && !z14 && sVar3.h()) {
                }
                Object[] objArr2222 = {qVar4};
                i1.j a142222 = w0.f27260f.a();
                R = r10.R(qVar4);
                int i432222 = i31;
                Object f302222 = r10.f();
                if (R) {
                }
                f302222 = new m(qVar4);
                r10.I(f302222);
                w0 w0Var2222 = (w0) i1.b.c(objArr2222, a142222, null, (dn.a) f302222, r10, 0, 4);
                int i442222 = i15 & 14;
                if (i442222 == 4) {
                }
                z16 = ((i15 & 57344) == 16384) | (i442222 == 4);
                f13 = r10.f();
                if (z16) {
                }
                w2.z0 c112222 = p1.c(b1Var2, q0Var.e());
                f14 = q0Var.f();
                if (f14 != null) {
                }
                f13 = c112222;
                r10.I(f13);
                w2.z0 z0Var2222 = (w2.z0) f13;
                q2.d b102222 = z0Var2222.b();
                w2.h0 a162222 = z0Var2222.a();
                j2 b112222 = y0.j.b(r10, 0);
                R2 = r10.R(p2Var2222);
                f15 = r10.f();
                if (!R2) {
                }
                f15 = new z(new j0(b102222, o0Var2, 0, 0, z14, 0, dVar2222, bVar3222, null, 300, null), b112222, p2Var2222);
                r10.I(f15);
                zVar = (z) f15;
                zVar.N(q0Var.e(), b102222, o0Var2, z14, dVar2222, bVar3222, lVar, xVar2, eVar2222, a132222);
                zVar.n().d(q0Var, zVar.g());
                f16 = r10.f();
                if (f16 == aVar.a()) {
                }
                l1 l1Var2222 = (l1) f16;
                l1.f(l1Var2222, q0Var, 0L, 2, null);
                f17 = r10.f();
                if (f17 == aVar.a()) {
                }
                r0.f0 f0Var2222 = (r0.f0) f17;
                f0Var2222.e0(a162222);
                f0Var2222.k0(b1Var2);
                f0Var2222.f0(zVar.m());
                f0Var2222.h0(zVar);
                f0Var2222.j0(q0Var);
                f0Var2222.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
                f0Var2222.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
                f0Var2222.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
                f0Var2222.b0(mVar32222);
                f0Var2222.Z(!z15);
                f0Var2222.a0(z13);
                f18 = r10.f();
                if (f18 == aVar.a()) {
                }
                tp.m0 a172222 = ((y0.b0) f18).a();
                f19 = r10.f();
                if (f19 == aVar.a()) {
                }
                i0.b bVar22222 = (i0.b) f19;
                i.a aVar22222 = l1.i.f27362a;
                int i452222 = i25 & 7168;
                w2.b1 b1Var42222 = b1Var2;
                int i462222 = i25 & 57344;
                boolean m192222 = r10.m(zVar) | (i452222 == 2048) | (i462222 == 16384) | r10.m(s0Var2222) | (i442222 == 4);
                i32 = (i25 & 112) ^ 48;
                if (i32 > 32) {
                }
                i33 = i462222;
                i34 = i25;
                if ((i25 & 48) != 32) {
                }
                z17 = true;
                m10 = m192222 | z17 | r10.m(a162222) | r10.m(a172222) | r10.m(bVar22222) | r10.m(f0Var2222);
                f20 = r10.f();
                if (!m10) {
                }
                f20 = new i(zVar, z13, z15, s0Var2222, q0Var, sVar5, a162222, f0Var2222, a172222, bVar22222);
                r10.I(f20);
                d0.l lVar12222222 = lVar6;
                a10 = q0.a(aVar22222, z13, mVar32222, lVar12222222, (dn.l) f20);
                y3 o10222222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
                rm.n0 n0Var222222 = rm.n0.f34904a;
                boolean R3222222 = r10.R(o10222222) | r10.m(zVar) | r10.m(s0Var2222) | r10.m(f0Var2222);
                if (i32 > 32) {
                }
                iVar4 = a10;
                if ((i34 & 48) != 32) {
                }
                z18 = true;
                z19 = R3222222 | z18;
                f21 = r10.f();
                if (!z19) {
                }
                f21 = new b(zVar, o10222222, s0Var2222, f0Var2222, sVar5, null);
                r10.I(f21);
                y0.p0.d(n0Var222222, (dn.p) f21, r10, 6);
                m11 = r10.m(zVar);
                f22 = r10.f();
                if (!m11) {
                }
                f22 = new k(zVar);
                r10.I(f22);
                l1.i k102222222 = r0.s.k(aVar22222, (dn.l) f22);
                int i472222222 = i33;
                m12 = (i452222 != 2048) | (i472222222 != 16384) | r10.m(zVar) | r10.m(a162222) | r10.m(f0Var2222);
                f23 = r10.f();
                if (!m12) {
                }
                f23 = new l(zVar, mVar32222, z15, z13, f0Var2222, a162222);
                r10.I(f23);
                l1.i b122222222 = d2.u.b(r0.s.i(u0.a(k102222222, lVar12222222, z13, (dn.l) f23), f0Var2222.I(), f0Var2222.M()), g1.a(), false, 2, null);
                m13 = r10.m(zVar) | (i442222 != 4) | r10.m(a162222);
                f24 = r10.f();
                if (!m13) {
                }
                f24 = new h(zVar, q0Var, a162222);
                r10.I(f24);
                l1.i b132222222 = androidx.compose.ui.draw.b.b(aVar22222, (dn.l) f24);
                m14 = r10.m(zVar) | (i452222 != 2048) | r10.R(h3Var) | r10.m(f0Var2222) | (i442222 != 4) | r10.m(a162222);
                f25 = r10.f();
                if (!m14) {
                }
                f25 = new C0591j(zVar, z13, h3Var, f0Var2222, q0Var, a162222);
                r10.I(f25);
                l1.i a182222222 = androidx.compose.ui.layout.c.a(aVar22222, (dn.l) f25);
                boolean z252222222 = b1Var42222 instanceof w2.j0;
                m15 = (i452222 != 2048) | r10.m(z0Var2222) | (i442222 != 4) | r10.c(z252222222) | (i472222222 != 16384) | r10.m(zVar) | r10.m(a162222) | r10.m(f0Var2222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                f26 = r10.f();
                if (!m15) {
                }
                f26 = new n(z0Var2222, q0Var, z13, z252222222, z15, sVar5, zVar, a162222, f0Var2222, mVar32222);
                r10.I(f26);
                l1.i c122222222 = o2.l.c(aVar22222, true, (dn.l) f26);
                l1.i a192222222 = m0.a(aVar22222, zVar, q0Var, a162222, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
                m16 = r10.m(f0Var2222);
                f27 = r10.f();
                if (!m16) {
                }
                f27 = new c(f0Var2222);
                r10.I(f27);
                y0.p0.a(f0Var2222, (dn.l) f27, r10, 0);
                m17 = (i442222 != 4) | r10.m(zVar) | r10.m(s0Var2222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
                f28 = r10.f();
                if (!m17) {
                }
                f28 = new d(zVar, s0Var2222, q0Var, sVar5);
                r10.I(f28);
                y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
                l1.i a202222222 = s0.a(aVar22222, zVar, f0Var2222, q0Var, zVar.m(), !z15, i432222 != 1, a162222, l1Var2222, sVar5.e());
                boolean b142222222 = b(o10222222);
                m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var2222);
                f29 = r10.f();
                if (!m18) {
                }
                f29 = new o(zVar, mVar32222, sVar5, p1Var2222);
                r10.I(f29);
                l1.i a212222222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar72222, p1Var2222, zVar, f0Var2222).f(androidx.compose.foundation.text.handwriting.a.c(aVar22222, b142222222, (dn.a) f29)).f(iVar4), zVar, eVar2222), zVar, f0Var2222).f(a202222222), w0Var2222, lVar12222222, z13).f(b122222222).f(c122222222), new g(zVar));
                if (z13) {
                }
                boolean z272222222 = z13;
                w2.s sVar72222222 = sVar5;
                mVar2 = r10;
                c(a212222222, f0Var2222, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i432222, w0Var2222, q0Var, b1Var42222, a192222222, b132222222, a182222222, !z26 ? r0.h0.c(aVar22222, f0Var2222) : aVar22222, bVar22222, f0Var2222, z26, z15, lVar4, a162222, dVar2222), mVar2, 54), mVar2, 384);
                if (y0.p.H()) {
                }
                o0Var3 = o0Var2;
                lVar7 = lVar4;
                b1Var3 = b1Var42222;
                yVar4 = yVar3;
                z20 = z14;
                z21 = z272222222;
                i35 = i30;
                sVar6 = sVar72222222;
                i36 = i432222;
                lVar8 = lVar12222222;
                iVar5 = iVar72222;
                xVar3 = xVar2;
                z22 = z15;
                qVar3 = qVar2;
                y10 = mVar2.y();
                if (y10 != null) {
                }
            }
            i17 = i14 & 16;
            int i402 = UserMetadata.MAX_INTERNAL_KEY_SIZE;
            if (i17 != 0) {
            }
            i18 = i14 & 32;
            if (i18 == 0) {
            }
            i19 = i14 & 64;
            if (i19 == 0) {
            }
            i20 = i14 & 128;
            if (i20 == 0) {
            }
            i21 = i14 & 256;
            if (i21 == 0) {
            }
            i22 = i14 & 512;
            if (i22 == 0) {
            }
            i23 = i14 & UserMetadata.MAX_ATTRIBUTE_SIZE;
            if (i23 == 0) {
            }
            if ((i13 & 48) == 0) {
            }
            i25 = i24;
            i26 = i14 & 4096;
            if (i26 == 0) {
            }
            i27 = i14 & UserMetadata.MAX_INTERNAL_KEY_SIZE;
            if (i27 != 0) {
            }
            i28 = i14 & 16384;
            if (i28 == 0) {
            }
            i29 = i14 & 32768;
            if (i29 != 0) {
            }
            if ((i15 & 306783379) != 306783378) {
            }
            r10.q();
            if ((i12 & 1) != 0) {
            }
            if (i38 != 0) {
            }
            if (i16 != 0) {
            }
            if (i17 != 0) {
            }
            if (i18 != 0) {
            }
            if (i19 != 0) {
            }
            if (i20 != 0) {
            }
            if (i21 != 0) {
            }
            if (i22 != 0) {
            }
            if (i23 != 0) {
            }
            if ((i14 & 2048) != 0) {
            }
            if (i26 != 0) {
            }
            if (i27 != 0) {
            }
            if (i28 != 0) {
            }
            if (i29 != 0) {
            }
            b1Var2 = c10;
            lVar4 = lVar9;
            i31 = i41;
            sVar3 = sVar2;
            d0.l lVar1122222 = lVar10;
            o0Var2 = a11;
            lVar5 = lVar1122222;
            r10.P();
            if (y0.p.H()) {
            }
            f10 = r10.f();
            aVar = y0.m.f51621a;
            if (f10 == aVar.a()) {
            }
            androidx.compose.ui.focus.m mVar322222 = (androidx.compose.ui.focus.m) f10;
            f11 = r10.f();
            if (f11 == aVar.a()) {
            }
            o0.p1 p1Var22222 = (o0.p1) f11;
            f12 = r10.f();
            if (f12 == aVar.a()) {
            }
            w2.s0 s0Var22222 = (w2.s0) f12;
            c3.d dVar22222 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
            i.b bVar32222 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
            long a1322222 = ((r0.j0) r10.t(r0.k0.b())).a();
            q1.e eVar22222 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
            l1.i iVar722222 = iVar3;
            h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
            p2 p2Var22222 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
            if (i31 != 1 && !z14 && sVar3.h()) {
            }
            Object[] objArr22222 = {qVar4};
            i1.j a1422222 = w0.f27260f.a();
            R = r10.R(qVar4);
            int i4322222 = i31;
            Object f3022222 = r10.f();
            if (R) {
            }
            f3022222 = new m(qVar4);
            r10.I(f3022222);
            w0 w0Var22222 = (w0) i1.b.c(objArr22222, a1422222, null, (dn.a) f3022222, r10, 0, 4);
            int i4422222 = i15 & 14;
            if (i4422222 == 4) {
            }
            z16 = ((i15 & 57344) == 16384) | (i4422222 == 4);
            f13 = r10.f();
            if (z16) {
            }
            w2.z0 c1122222 = p1.c(b1Var2, q0Var.e());
            f14 = q0Var.f();
            if (f14 != null) {
            }
            f13 = c1122222;
            r10.I(f13);
            w2.z0 z0Var22222 = (w2.z0) f13;
            q2.d b1022222 = z0Var22222.b();
            w2.h0 a1622222 = z0Var22222.a();
            j2 b1122222 = y0.j.b(r10, 0);
            R2 = r10.R(p2Var22222);
            f15 = r10.f();
            if (!R2) {
            }
            f15 = new z(new j0(b1022222, o0Var2, 0, 0, z14, 0, dVar22222, bVar32222, null, 300, null), b1122222, p2Var22222);
            r10.I(f15);
            zVar = (z) f15;
            zVar.N(q0Var.e(), b1022222, o0Var2, z14, dVar22222, bVar32222, lVar, xVar2, eVar22222, a1322222);
            zVar.n().d(q0Var, zVar.g());
            f16 = r10.f();
            if (f16 == aVar.a()) {
            }
            l1 l1Var22222 = (l1) f16;
            l1.f(l1Var22222, q0Var, 0L, 2, null);
            f17 = r10.f();
            if (f17 == aVar.a()) {
            }
            r0.f0 f0Var22222 = (r0.f0) f17;
            f0Var22222.e0(a1622222);
            f0Var22222.k0(b1Var2);
            f0Var22222.f0(zVar.m());
            f0Var22222.h0(zVar);
            f0Var22222.j0(q0Var);
            f0Var22222.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
            f0Var22222.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
            f0Var22222.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
            f0Var22222.b0(mVar322222);
            f0Var22222.Z(!z15);
            f0Var22222.a0(z13);
            f18 = r10.f();
            if (f18 == aVar.a()) {
            }
            tp.m0 a1722222 = ((y0.b0) f18).a();
            f19 = r10.f();
            if (f19 == aVar.a()) {
            }
            i0.b bVar222222 = (i0.b) f19;
            i.a aVar222222 = l1.i.f27362a;
            int i4522222 = i25 & 7168;
            w2.b1 b1Var422222 = b1Var2;
            int i4622222 = i25 & 57344;
            boolean m1922222 = r10.m(zVar) | (i4522222 == 2048) | (i4622222 == 16384) | r10.m(s0Var22222) | (i4422222 == 4);
            i32 = (i25 & 112) ^ 48;
            if (i32 > 32) {
            }
            i33 = i4622222;
            i34 = i25;
            if ((i25 & 48) != 32) {
            }
            z17 = true;
            m10 = m1922222 | z17 | r10.m(a1622222) | r10.m(a1722222) | r10.m(bVar222222) | r10.m(f0Var22222);
            f20 = r10.f();
            if (!m10) {
            }
            f20 = new i(zVar, z13, z15, s0Var22222, q0Var, sVar5, a1622222, f0Var22222, a1722222, bVar222222);
            r10.I(f20);
            d0.l lVar122222222 = lVar6;
            a10 = q0.a(aVar222222, z13, mVar322222, lVar122222222, (dn.l) f20);
            y3 o102222222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
            rm.n0 n0Var2222222 = rm.n0.f34904a;
            boolean R32222222 = r10.R(o102222222) | r10.m(zVar) | r10.m(s0Var22222) | r10.m(f0Var22222);
            if (i32 > 32) {
            }
            iVar4 = a10;
            if ((i34 & 48) != 32) {
            }
            z18 = true;
            z19 = R32222222 | z18;
            f21 = r10.f();
            if (!z19) {
            }
            f21 = new b(zVar, o102222222, s0Var22222, f0Var22222, sVar5, null);
            r10.I(f21);
            y0.p0.d(n0Var2222222, (dn.p) f21, r10, 6);
            m11 = r10.m(zVar);
            f22 = r10.f();
            if (!m11) {
            }
            f22 = new k(zVar);
            r10.I(f22);
            l1.i k1022222222 = r0.s.k(aVar222222, (dn.l) f22);
            int i4722222222 = i33;
            m12 = (i4522222 != 2048) | (i4722222222 != 16384) | r10.m(zVar) | r10.m(a1622222) | r10.m(f0Var22222);
            f23 = r10.f();
            if (!m12) {
            }
            f23 = new l(zVar, mVar322222, z15, z13, f0Var22222, a1622222);
            r10.I(f23);
            l1.i b1222222222 = d2.u.b(r0.s.i(u0.a(k1022222222, lVar122222222, z13, (dn.l) f23), f0Var22222.I(), f0Var22222.M()), g1.a(), false, 2, null);
            m13 = r10.m(zVar) | (i4422222 != 4) | r10.m(a1622222);
            f24 = r10.f();
            if (!m13) {
            }
            f24 = new h(zVar, q0Var, a1622222);
            r10.I(f24);
            l1.i b1322222222 = androidx.compose.ui.draw.b.b(aVar222222, (dn.l) f24);
            m14 = r10.m(zVar) | (i4522222 != 2048) | r10.R(h3Var) | r10.m(f0Var22222) | (i4422222 != 4) | r10.m(a1622222);
            f25 = r10.f();
            if (!m14) {
            }
            f25 = new C0591j(zVar, z13, h3Var, f0Var22222, q0Var, a1622222);
            r10.I(f25);
            l1.i a1822222222 = androidx.compose.ui.layout.c.a(aVar222222, (dn.l) f25);
            boolean z2522222222 = b1Var422222 instanceof w2.j0;
            m15 = (i4522222 != 2048) | r10.m(z0Var22222) | (i4422222 != 4) | r10.c(z2522222222) | (i4722222222 != 16384) | r10.m(zVar) | r10.m(a1622222) | r10.m(f0Var22222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
            f26 = r10.f();
            if (!m15) {
            }
            f26 = new n(z0Var22222, q0Var, z13, z2522222222, z15, sVar5, zVar, a1622222, f0Var22222, mVar322222);
            r10.I(f26);
            l1.i c1222222222 = o2.l.c(aVar222222, true, (dn.l) f26);
            l1.i a1922222222 = m0.a(aVar222222, zVar, q0Var, a1622222, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
            m16 = r10.m(f0Var22222);
            f27 = r10.f();
            if (!m16) {
            }
            f27 = new c(f0Var22222);
            r10.I(f27);
            y0.p0.a(f0Var22222, (dn.l) f27, r10, 0);
            m17 = (i4422222 != 4) | r10.m(zVar) | r10.m(s0Var22222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
            f28 = r10.f();
            if (!m17) {
            }
            f28 = new d(zVar, s0Var22222, q0Var, sVar5);
            r10.I(f28);
            y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
            l1.i a2022222222 = s0.a(aVar222222, zVar, f0Var22222, q0Var, zVar.m(), !z15, i4322222 != 1, a1622222, l1Var22222, sVar5.e());
            boolean b1422222222 = b(o102222222);
            m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var22222);
            f29 = r10.f();
            if (!m18) {
            }
            f29 = new o(zVar, mVar322222, sVar5, p1Var22222);
            r10.I(f29);
            l1.i a2122222222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar722222, p1Var22222, zVar, f0Var22222).f(androidx.compose.foundation.text.handwriting.a.c(aVar222222, b1422222222, (dn.a) f29)).f(iVar4), zVar, eVar22222), zVar, f0Var22222).f(a2022222222), w0Var22222, lVar122222222, z13).f(b1222222222).f(c1222222222), new g(zVar));
            if (z13) {
            }
            boolean z2722222222 = z13;
            w2.s sVar722222222 = sVar5;
            mVar2 = r10;
            c(a2122222222, f0Var22222, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i4322222, w0Var22222, q0Var, b1Var422222, a1922222222, b1322222222, a1822222222, !z26 ? r0.h0.c(aVar222222, f0Var22222) : aVar222222, bVar222222, f0Var22222, z26, z15, lVar4, a1622222, dVar22222), mVar2, 54), mVar2, 384);
            if (y0.p.H()) {
            }
            o0Var3 = o0Var2;
            lVar7 = lVar4;
            b1Var3 = b1Var422222;
            yVar4 = yVar3;
            z20 = z14;
            z21 = z2722222222;
            i35 = i30;
            sVar6 = sVar722222222;
            i36 = i4322222;
            lVar8 = lVar122222222;
            iVar5 = iVar722222;
            xVar3 = xVar2;
            z22 = z15;
            qVar3 = qVar2;
            y10 = mVar2.y();
            if (y10 != null) {
            }
        }
        i16 = i14 & 8;
        int i392 = UserMetadata.MAX_ATTRIBUTE_SIZE;
        if (i16 == 0) {
        }
        i17 = i14 & 16;
        int i4022 = UserMetadata.MAX_INTERNAL_KEY_SIZE;
        if (i17 != 0) {
        }
        i18 = i14 & 32;
        if (i18 == 0) {
        }
        i19 = i14 & 64;
        if (i19 == 0) {
        }
        i20 = i14 & 128;
        if (i20 == 0) {
        }
        i21 = i14 & 256;
        if (i21 == 0) {
        }
        i22 = i14 & 512;
        if (i22 == 0) {
        }
        i23 = i14 & UserMetadata.MAX_ATTRIBUTE_SIZE;
        if (i23 == 0) {
        }
        if ((i13 & 48) == 0) {
        }
        i25 = i24;
        i26 = i14 & 4096;
        if (i26 == 0) {
        }
        i27 = i14 & UserMetadata.MAX_INTERNAL_KEY_SIZE;
        if (i27 != 0) {
        }
        i28 = i14 & 16384;
        if (i28 == 0) {
        }
        i29 = i14 & 32768;
        if (i29 != 0) {
        }
        if ((i15 & 306783379) != 306783378) {
        }
        r10.q();
        if ((i12 & 1) != 0) {
        }
        if (i38 != 0) {
        }
        if (i16 != 0) {
        }
        if (i17 != 0) {
        }
        if (i18 != 0) {
        }
        if (i19 != 0) {
        }
        if (i20 != 0) {
        }
        if (i21 != 0) {
        }
        if (i22 != 0) {
        }
        if (i23 != 0) {
        }
        if ((i14 & 2048) != 0) {
        }
        if (i26 != 0) {
        }
        if (i27 != 0) {
        }
        if (i28 != 0) {
        }
        if (i29 != 0) {
        }
        b1Var2 = c10;
        lVar4 = lVar9;
        i31 = i41;
        sVar3 = sVar2;
        d0.l lVar11222222 = lVar10;
        o0Var2 = a11;
        lVar5 = lVar11222222;
        r10.P();
        if (y0.p.H()) {
        }
        f10 = r10.f();
        aVar = y0.m.f51621a;
        if (f10 == aVar.a()) {
        }
        androidx.compose.ui.focus.m mVar3222222 = (androidx.compose.ui.focus.m) f10;
        f11 = r10.f();
        if (f11 == aVar.a()) {
        }
        o0.p1 p1Var222222 = (o0.p1) f11;
        f12 = r10.f();
        if (f12 == aVar.a()) {
        }
        w2.s0 s0Var222222 = (w2.s0) f12;
        c3.d dVar222222 = (c3.d) r10.t(androidx.compose.ui.platform.c1.d());
        i.b bVar322222 = (i.b) r10.t(androidx.compose.ui.platform.c1.f());
        long a13222222 = ((r0.j0) r10.t(r0.k0.b())).a();
        q1.e eVar222222 = (q1.e) r10.t(androidx.compose.ui.platform.c1.e());
        l1.i iVar7222222 = iVar3;
        h3Var = (h3) r10.t(androidx.compose.ui.platform.c1.r());
        p2 p2Var222222 = (p2) r10.t(androidx.compose.ui.platform.c1.n());
        if (i31 != 1 && !z14 && sVar3.h()) {
        }
        Object[] objArr222222 = {qVar4};
        i1.j a14222222 = w0.f27260f.a();
        R = r10.R(qVar4);
        int i43222222 = i31;
        Object f30222222 = r10.f();
        if (R) {
        }
        f30222222 = new m(qVar4);
        r10.I(f30222222);
        w0 w0Var222222 = (w0) i1.b.c(objArr222222, a14222222, null, (dn.a) f30222222, r10, 0, 4);
        int i44222222 = i15 & 14;
        if (i44222222 == 4) {
        }
        z16 = ((i15 & 57344) == 16384) | (i44222222 == 4);
        f13 = r10.f();
        if (z16) {
        }
        w2.z0 c11222222 = p1.c(b1Var2, q0Var.e());
        f14 = q0Var.f();
        if (f14 != null) {
        }
        f13 = c11222222;
        r10.I(f13);
        w2.z0 z0Var222222 = (w2.z0) f13;
        q2.d b10222222 = z0Var222222.b();
        w2.h0 a16222222 = z0Var222222.a();
        j2 b11222222 = y0.j.b(r10, 0);
        R2 = r10.R(p2Var222222);
        f15 = r10.f();
        if (!R2) {
        }
        f15 = new z(new j0(b10222222, o0Var2, 0, 0, z14, 0, dVar222222, bVar322222, null, 300, null), b11222222, p2Var222222);
        r10.I(f15);
        zVar = (z) f15;
        zVar.N(q0Var.e(), b10222222, o0Var2, z14, dVar222222, bVar322222, lVar, xVar2, eVar222222, a13222222);
        zVar.n().d(q0Var, zVar.g());
        f16 = r10.f();
        if (f16 == aVar.a()) {
        }
        l1 l1Var222222 = (l1) f16;
        l1.f(l1Var222222, q0Var, 0L, 2, null);
        f17 = r10.f();
        if (f17 == aVar.a()) {
        }
        r0.f0 f0Var222222 = (r0.f0) f17;
        f0Var222222.e0(a16222222);
        f0Var222222.k0(b1Var2);
        f0Var222222.f0(zVar.m());
        f0Var222222.h0(zVar);
        f0Var222222.j0(q0Var);
        f0Var222222.V((androidx.compose.ui.platform.a1) r10.t(androidx.compose.ui.platform.c1.c()));
        f0Var222222.i0((q2) r10.t(androidx.compose.ui.platform.c1.o()));
        f0Var222222.d0((z1.a) r10.t(androidx.compose.ui.platform.c1.h()));
        f0Var222222.b0(mVar3222222);
        f0Var222222.Z(!z15);
        f0Var222222.a0(z13);
        f18 = r10.f();
        if (f18 == aVar.a()) {
        }
        tp.m0 a17222222 = ((y0.b0) f18).a();
        f19 = r10.f();
        if (f19 == aVar.a()) {
        }
        i0.b bVar2222222 = (i0.b) f19;
        i.a aVar2222222 = l1.i.f27362a;
        int i45222222 = i25 & 7168;
        w2.b1 b1Var4222222 = b1Var2;
        int i46222222 = i25 & 57344;
        boolean m19222222 = r10.m(zVar) | (i45222222 == 2048) | (i46222222 == 16384) | r10.m(s0Var222222) | (i44222222 == 4);
        i32 = (i25 & 112) ^ 48;
        if (i32 > 32) {
        }
        i33 = i46222222;
        i34 = i25;
        if ((i25 & 48) != 32) {
        }
        z17 = true;
        m10 = m19222222 | z17 | r10.m(a16222222) | r10.m(a17222222) | r10.m(bVar2222222) | r10.m(f0Var222222);
        f20 = r10.f();
        if (!m10) {
        }
        f20 = new i(zVar, z13, z15, s0Var222222, q0Var, sVar5, a16222222, f0Var222222, a17222222, bVar2222222);
        r10.I(f20);
        d0.l lVar1222222222 = lVar6;
        a10 = q0.a(aVar2222222, z13, mVar3222222, lVar1222222222, (dn.l) f20);
        y3 o1022222222 = n3.o(Boolean.valueOf((z13 || z15) ? false : true), r10, 0);
        rm.n0 n0Var22222222 = rm.n0.f34904a;
        boolean R322222222 = r10.R(o1022222222) | r10.m(zVar) | r10.m(s0Var222222) | r10.m(f0Var222222);
        if (i32 > 32) {
        }
        iVar4 = a10;
        if ((i34 & 48) != 32) {
        }
        z18 = true;
        z19 = R322222222 | z18;
        f21 = r10.f();
        if (!z19) {
        }
        f21 = new b(zVar, o1022222222, s0Var222222, f0Var222222, sVar5, null);
        r10.I(f21);
        y0.p0.d(n0Var22222222, (dn.p) f21, r10, 6);
        m11 = r10.m(zVar);
        f22 = r10.f();
        if (!m11) {
        }
        f22 = new k(zVar);
        r10.I(f22);
        l1.i k10222222222 = r0.s.k(aVar2222222, (dn.l) f22);
        int i47222222222 = i33;
        m12 = (i45222222 != 2048) | (i47222222222 != 16384) | r10.m(zVar) | r10.m(a16222222) | r10.m(f0Var222222);
        f23 = r10.f();
        if (!m12) {
        }
        f23 = new l(zVar, mVar3222222, z15, z13, f0Var222222, a16222222);
        r10.I(f23);
        l1.i b12222222222 = d2.u.b(r0.s.i(u0.a(k10222222222, lVar1222222222, z13, (dn.l) f23), f0Var222222.I(), f0Var222222.M()), g1.a(), false, 2, null);
        m13 = r10.m(zVar) | (i44222222 != 4) | r10.m(a16222222);
        f24 = r10.f();
        if (!m13) {
        }
        f24 = new h(zVar, q0Var, a16222222);
        r10.I(f24);
        l1.i b13222222222 = androidx.compose.ui.draw.b.b(aVar2222222, (dn.l) f24);
        m14 = r10.m(zVar) | (i45222222 != 2048) | r10.R(h3Var) | r10.m(f0Var222222) | (i44222222 != 4) | r10.m(a16222222);
        f25 = r10.f();
        if (!m14) {
        }
        f25 = new C0591j(zVar, z13, h3Var, f0Var222222, q0Var, a16222222);
        r10.I(f25);
        l1.i a18222222222 = androidx.compose.ui.layout.c.a(aVar2222222, (dn.l) f25);
        boolean z25222222222 = b1Var4222222 instanceof w2.j0;
        m15 = (i45222222 != 2048) | r10.m(z0Var222222) | (i44222222 != 4) | r10.c(z25222222222) | (i47222222222 != 16384) | r10.m(zVar) | r10.m(a16222222) | r10.m(f0Var222222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
        f26 = r10.f();
        if (!m15) {
        }
        f26 = new n(z0Var222222, q0Var, z13, z25222222222, z15, sVar5, zVar, a16222222, f0Var222222, mVar3222222);
        r10.I(f26);
        l1.i c12222222222 = o2.l.c(aVar2222222, true, (dn.l) f26);
        l1.i a19222222222 = m0.a(aVar2222222, zVar, q0Var, a16222222, yVar3, (z13 || z15 || !h3Var.a() || zVar.x()) ? false : true);
        m16 = r10.m(f0Var222222);
        f27 = r10.f();
        if (!m16) {
        }
        f27 = new c(f0Var222222);
        r10.I(f27);
        y0.p0.a(f0Var222222, (dn.l) f27, r10, 0);
        m17 = (i44222222 != 4) | r10.m(zVar) | r10.m(s0Var222222) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32);
        f28 = r10.f();
        if (!m17) {
        }
        f28 = new d(zVar, s0Var222222, q0Var, sVar5);
        r10.I(f28);
        y0.p0.a(sVar5, (dn.l) f28, r10, (i34 >> 3) & 14);
        l1.i a20222222222 = s0.a(aVar2222222, zVar, f0Var222222, q0Var, zVar.m(), !z15, i43222222 != 1, a16222222, l1Var222222, sVar5.e());
        boolean b14222222222 = b(o1022222222);
        m18 = r10.m(zVar) | ((i32 <= 32 && r10.R(sVar5)) || (i34 & 48) == 32) | r10.m(p1Var222222);
        f29 = r10.f();
        if (!m18) {
        }
        f29 = new o(zVar, mVar3222222, sVar5, p1Var222222);
        r10.I(f29);
        l1.i a21222222222 = androidx.compose.ui.layout.c.a(v0.d(p(p0.b(androidx.compose.foundation.text.input.internal.a.a(iVar7222222, p1Var222222, zVar, f0Var222222).f(androidx.compose.foundation.text.handwriting.a.c(aVar2222222, b14222222222, (dn.a) f29)).f(iVar4), zVar, eVar222222), zVar, f0Var222222).f(a20222222222), w0Var222222, lVar1222222222, z13).f(b12222222222).f(c12222222222), new g(zVar));
        if (z13) {
        }
        boolean z27222222222 = z13;
        w2.s sVar7222222222 = sVar5;
        mVar2 = r10;
        c(a21222222222, f0Var222222, g1.c.e(-374338080, true, new e(qVar2, zVar, o0Var2, i30, i43222222, w0Var222222, q0Var, b1Var4222222, a19222222222, b13222222222, a18222222222, !z26 ? r0.h0.c(aVar2222222, f0Var222222) : aVar2222222, bVar2222222, f0Var222222, z26, z15, lVar4, a16222222, dVar222222), mVar2, 54), mVar2, 384);
        if (y0.p.H()) {
        }
        o0Var3 = o0Var2;
        lVar7 = lVar4;
        b1Var3 = b1Var4222222;
        yVar4 = yVar3;
        z20 = z14;
        z21 = z27222222222;
        i35 = i30;
        sVar6 = sVar7222222222;
        i36 = i43222222;
        lVar8 = lVar1222222222;
        iVar5 = iVar7222222;
        xVar3 = xVar2;
        z22 = z15;
        qVar3 = qVar2;
        y10 = mVar2.y();
        if (y10 != null) {
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final boolean b(y3 y3Var) {
        return ((Boolean) y3Var.getValue()).booleanValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void c(l1.i iVar, r0.f0 f0Var, dn.p pVar, y0.m mVar, int i10) {
        int i11;
        y0.m r10 = mVar.r(-20551815);
        if ((i10 & 6) == 0) {
            i11 = (r10.R(iVar) ? 4 : 2) | i10;
        } else {
            i11 = i10;
        }
        if ((i10 & 48) == 0) {
            i11 |= r10.m(f0Var) ? 32 : 16;
        }
        if ((i10 & 384) == 0) {
            i11 |= r10.m(pVar) ? 256 : 128;
        }
        if ((i11 & 147) == 146 && r10.v()) {
            r10.A();
        } else {
            if (y0.p.H()) {
                y0.p.Q(-20551815, i11, -1, "androidx.compose.foundation.text.CoreTextFieldRootBox (CoreTextField.kt:801)");
            }
            h2.e0 h10 = androidx.compose.foundation.layout.b.h(l1.c.f27332a.o(), true);
            int a10 = y0.j.a(r10, 0);
            y0.y D = r10.D();
            l1.i e10 = l1.h.e(r10, iVar);
            g.a aVar = j2.g.f23616d;
            dn.a a11 = aVar.a();
            if (!(r10.w() instanceof y0.f)) {
                y0.j.c();
            }
            r10.u();
            if (r10.n()) {
                r10.o(a11);
            } else {
                r10.F();
            }
            y0.m a12 = d4.a(r10);
            d4.b(a12, h10, aVar.c());
            d4.b(a12, D, aVar.e());
            dn.p b10 = aVar.b();
            if (a12.n() || !kotlin.jvm.internal.t.b(a12.f(), Integer.valueOf(a10))) {
                a12.I(Integer.valueOf(a10));
                a12.l(Integer.valueOf(a10), b10);
            }
            d4.b(a12, e10, aVar.d());
            androidx.compose.foundation.layout.d dVar = androidx.compose.foundation.layout.d.f1828a;
            int i12 = i11 >> 3;
            l0.h.a(f0Var, pVar, r10, (i12 & 112) | (i12 & 14));
            r10.O();
            if (y0.p.H()) {
                y0.p.P();
            }
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new p(iVar, f0Var, pVar, i10));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void d(r0.f0 f0Var, boolean z10, y0.m mVar, int i10) {
        int i11;
        a1 j10;
        q2.j0 f10;
        y0.m r10 = mVar.r(626339208);
        if ((i10 & 6) == 0) {
            i11 = (r10.m(f0Var) ? 4 : 2) | i10;
        } else {
            i11 = i10;
        }
        if ((i10 & 48) == 0) {
            i11 |= r10.c(z10) ? 32 : 16;
        }
        if ((i11 & 19) == 18 && r10.v()) {
            r10.A();
        } else {
            if (y0.p.H()) {
                y0.p.Q(626339208, i11, -1, "androidx.compose.foundation.text.SelectionToolbarAndHandles (CoreTextField.kt:1146)");
            }
            if (z10) {
                r10.S(-1286242594);
                z L = f0Var.L();
                q2.j0 j0Var = null;
                if (L != null && (j10 = L.j()) != null && (f10 = j10.f()) != null) {
                    if (!(f0Var.L() != null ? r4.z() : true)) {
                        j0Var = f10;
                    }
                }
                if (j0Var == null) {
                    r10.S(-1285984396);
                } else {
                    r10.S(-1285984395);
                    if (q2.m0.h(f0Var.O().g())) {
                        r10.S(-1679637798);
                        r10.H();
                    } else {
                        r10.S(-1680616096);
                        int b10 = f0Var.J().b(q2.m0.n(f0Var.O().g()));
                        int b11 = f0Var.J().b(q2.m0.i(f0Var.O().g()));
                        b3.i c10 = j0Var.c(b10);
                        b3.i c11 = j0Var.c(Math.max(b11 - 1, 0));
                        z L2 = f0Var.L();
                        if (L2 != null && L2.u()) {
                            r10.S(-1680216289);
                            r0.g0.a(true, c10, f0Var, r10, ((i11 << 6) & 896) | 6);
                            r10.H();
                        } else {
                            r10.S(-1679975078);
                            r10.H();
                        }
                        z L3 = f0Var.L();
                        if (L3 != null && L3.t()) {
                            r10.S(-1679895904);
                            r0.g0.a(false, c11, f0Var, r10, ((i11 << 6) & 896) | 6);
                            r10.H();
                        } else {
                            r10.S(-1679655654);
                            r10.H();
                        }
                        r10.H();
                    }
                    z L4 = f0Var.L();
                    if (L4 != null) {
                        if (f0Var.S()) {
                            L4.K(false);
                        }
                        if (L4.e()) {
                            if (L4.s()) {
                                f0Var.l0();
                            } else {
                                f0Var.R();
                            }
                        }
                        rm.n0 n0Var = rm.n0.f34904a;
                    }
                }
                r10.H();
                r10.H();
            } else {
                r10.S(651305535);
                r10.H();
                f0Var.R();
            }
            if (y0.p.H()) {
                y0.p.P();
            }
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new q(f0Var, z10, i10));
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:35:0x005d  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x010d  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void e(r0.f0 f0Var, y0.m mVar, int i10) {
        int i11;
        boolean z10;
        y0.m r10 = mVar.r(-1436003720);
        if ((i10 & 6) == 0) {
            i11 = (r10.m(f0Var) ? 4 : 2) | i10;
        } else {
            i11 = i10;
        }
        if ((i11 & 3) == 2 && r10.v()) {
            r10.A();
        } else {
            if (y0.p.H()) {
                y0.p.Q(-1436003720, i11, -1, "androidx.compose.foundation.text.TextFieldCursorHandle (CoreTextField.kt:1189)");
            }
            z L = f0Var.L();
            if (L != null && L.r()) {
                q2.d N = f0Var.N();
                if (N != null) {
                    if (N.length() > 0) {
                        z10 = true;
                        if (z10) {
                            r10.S(-285446808);
                            boolean R = r10.R(f0Var);
                            Object f10 = r10.f();
                            if (R || f10 == y0.m.f51621a.a()) {
                                f10 = f0Var.r();
                                r10.I(f10);
                            }
                            l0 l0Var = (l0) f10;
                            long B = f0Var.B((c3.d) r10.t(androidx.compose.ui.platform.c1.d()));
                            boolean j10 = r10.j(B);
                            Object f11 = r10.f();
                            if (j10 || f11 == y0.m.f51621a.a()) {
                                f11 = new r(B);
                                r10.I(f11);
                            }
                            r0.i iVar = (r0.i) f11;
                            i.a aVar = l1.i.f27362a;
                            boolean m10 = r10.m(l0Var) | r10.m(f0Var);
                            Object f12 = r10.f();
                            if (m10 || f12 == y0.m.f51621a.a()) {
                                f12 = new s(l0Var, f0Var, null);
                                r10.I(f12);
                            }
                            l1.i c10 = d2.q0.c(aVar, l0Var, (dn.p) f12);
                            boolean j11 = r10.j(B);
                            Object f13 = r10.f();
                            if (j11 || f13 == y0.m.f51621a.a()) {
                                f13 = new t(B);
                                r10.I(f13);
                            }
                            l0.a.a(iVar, o2.l.d(c10, false, (dn.l) f13, 1, null), 0L, r10, 0, 4);
                            r10.H();
                            if (y0.p.H()) {
                                y0.p.P();
                            }
                        }
                    }
                }
                z10 = false;
                if (z10) {
                }
            }
            r10.S(-284257090);
            r10.H();
            if (y0.p.H()) {
            }
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new u(f0Var, i10));
        }
    }

    public static final Object m(i0.b bVar, w2.q0 q0Var, j0 j0Var, q2.j0 j0Var2, w2.h0 h0Var, vm.d dVar) {
        Object f10;
        int b10 = h0Var.b(q2.m0.k(q0Var.g()));
        Object a10 = bVar.a(b10 < j0Var2.l().j().length() ? j0Var2.d(b10) : b10 != 0 ? j0Var2.d(b10 - 1) : new r1.i(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 1.0f, c3.r.f(o0.b(j0Var.j(), j0Var.a(), j0Var.b(), null, 0, 24, null))), dVar);
        f10 = wm.d.f();
        return a10 == f10 ? a10 : rm.n0.f34904a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void n(z zVar) {
        w2.y0 g10 = zVar.g();
        if (g10 != null) {
            n0.f27142a.f(g10, zVar.n(), zVar.m());
        }
        zVar.E(null);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void o(z zVar, w2.q0 q0Var, w2.h0 h0Var) {
        k.a aVar = j1.k.f23492e;
        j1.k d10 = aVar.d();
        dn.l h10 = d10 != null ? d10.h() : null;
        j1.k f10 = aVar.f(d10);
        try {
            a1 j10 = zVar.j();
            if (j10 == null) {
                return;
            }
            w2.y0 g10 = zVar.g();
            if (g10 == null) {
                return;
            }
            h2.s i10 = zVar.i();
            if (i10 == null) {
                return;
            }
            n0.f27142a.e(q0Var, zVar.v(), j10.f(), i10, g10, zVar.e(), h0Var);
            rm.n0 n0Var = rm.n0.f34904a;
        } finally {
            aVar.m(d10, f10, h10);
        }
    }

    private static final l1.i p(l1.i iVar, z zVar, r0.f0 f0Var) {
        return androidx.compose.ui.input.key.a.b(iVar, new v(zVar, f0Var));
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void q(w2.s0 s0Var, z zVar, w2.q0 q0Var, w2.s sVar, w2.h0 h0Var) {
        zVar.E(n0.f27142a.h(s0Var, q0Var, zVar.n(), sVar, zVar.m(), zVar.l()));
        o(zVar, q0Var, h0Var);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void r(z zVar, androidx.compose.ui.focus.m mVar, boolean z10) {
        p2 h10;
        if (!zVar.e()) {
            mVar.f();
        } else {
            if (!z10 || (h10 = zVar.h()) == null) {
                return;
            }
            h10.a();
        }
    }
}
