package l0;

import androidx.compose.foundation.text.modifiers.SelectableTextAnnotatedStringElement;
import androidx.compose.foundation.text.modifiers.TextAnnotatedStringElement;
import androidx.compose.foundation.text.modifiers.TextStringSimpleElement;
import androidx.compose.foundation.text.modifiers.b;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import j2.g;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import net.sqlcipher.database.SQLiteDatabase;
import v2.i;
import y0.d4;
import y0.l2;
import y0.s3;
import y0.x2;

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

    /* 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 {

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

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

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

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

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

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

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

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

        /* renamed from: x, reason: collision with root package name */
        final /* synthetic */ s1.j0 f26799x;

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(String str, l1.i iVar, q2.o0 o0Var, dn.l lVar, int i10, boolean z10, int i11, int i12, s1.j0 j0Var, int i13, int i14) {
            super(2);
            this.f26791p = str;
            this.f26792q = iVar;
            this.f26793r = o0Var;
            this.f26794s = lVar;
            this.f26795t = i10;
            this.f26796u = z10;
            this.f26797v = i11;
            this.f26798w = i12;
            this.f26799x = j0Var;
            this.f26800y = i13;
            this.f26801z = i14;
        }

        public final void a(y0.m mVar, int i10) {
            d.b(this.f26791p, this.f26792q, this.f26793r, this.f26794s, this.f26795t, this.f26796u, this.f26797v, this.f26798w, this.f26799x, mVar, l2.a(this.f26800y | 1), this.f26801z);
        }

        @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.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ y0.q1 f26802p;

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

        public final void a(b.a aVar) {
            d.d(this.f26802p, aVar.d() ? aVar.c() : aVar.b());
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((b.a) obj);
            return 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.p {
        final /* synthetic */ int A;

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ q2.d f26803p;

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

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

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

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

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

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(q2.d dVar, l1.i iVar, q2.o0 o0Var, dn.l lVar, int i10, boolean z10, int i11, int i12, Map map, s1.j0 j0Var, int i13, int i14) {
            super(2);
            this.f26803p = dVar;
            this.f26804q = iVar;
            this.f26805r = o0Var;
            this.f26806s = lVar;
            this.f26807t = i10;
            this.f26808u = z10;
            this.f26809v = i11;
            this.f26810w = i12;
            this.f26811x = map;
            this.f26812y = j0Var;
            this.f26813z = i13;
            this.A = i14;
        }

        public final void a(y0.m mVar, int i10) {
            d.a(this.f26803p, this.f26804q, this.f26805r, this.f26806s, this.f26807t, this.f26808u, this.f26809v, this.f26810w, this.f26811x, this.f26812y, mVar, l2.a(this.f26813z | 1), this.A);
        }

        @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 */
    /* renamed from: l0.d$d, reason: collision with other inner class name */
    /* loaded from: classes.dex */
    public static final class C0586d extends kotlin.jvm.internal.v implements dn.l {

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        C0586d(d1 d1Var, dn.l lVar) {
            super(1);
            this.f26814p = d1Var;
            this.f26815q = lVar;
        }

        public final void a(q2.j0 j0Var) {
            d1 d1Var = this.f26814p;
            if (d1Var != null) {
                d1Var.r(j0Var);
            }
            dn.l lVar = this.f26815q;
            if (lVar != null) {
                lVar.invoke(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 e extends kotlin.jvm.internal.v implements dn.a {

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        e(d1 d1Var) {
            super(0);
            this.f26816p = d1Var;
        }

        @Override // dn.a
        public final Boolean invoke() {
            d1 d1Var = this.f26816p;
            return Boolean.valueOf(d1Var != null ? ((Boolean) d1Var.l().invoke()).booleanValue() : false);
        }
    }

    /* 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 */ d1 f26817p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        f(d1 d1Var) {
            super(0);
            this.f26817p = d1Var;
        }

        @Override // dn.a
        public final Boolean invoke() {
            d1 d1Var = this.f26817p;
            return Boolean.valueOf(d1Var != null ? ((Boolean) d1Var.l().invoke()).booleanValue() : false);
        }
    }

    /* 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 */ y0.q1 f26818p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        g(y0.q1 q1Var) {
            super(0);
            this.f26818p = q1Var;
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final List invoke() {
            y0.q1 q1Var = this.f26818p;
            if (q1Var != null) {
                return (List) q1Var.getValue();
            }
            return null;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class h extends kotlin.jvm.internal.v implements dn.p {
        final /* synthetic */ q0.g A;
        final /* synthetic */ s1.j0 B;
        final /* synthetic */ dn.l C;
        final /* synthetic */ int D;
        final /* synthetic */ int E;
        final /* synthetic */ int F;

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

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

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

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

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

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

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        h(l1.i iVar, q2.d dVar, dn.l lVar, boolean z10, Map map, q2.o0 o0Var, int i10, boolean z11, int i11, int i12, i.b bVar, q0.g gVar, s1.j0 j0Var, dn.l lVar2, int i13, int i14, int i15) {
            super(2);
            this.f26819p = iVar;
            this.f26820q = dVar;
            this.f26821r = lVar;
            this.f26822s = z10;
            this.f26823t = map;
            this.f26824u = o0Var;
            this.f26825v = i10;
            this.f26826w = z11;
            this.f26827x = i11;
            this.f26828y = i12;
            this.f26829z = bVar;
            this.A = gVar;
            this.B = j0Var;
            this.C = lVar2;
            this.D = i13;
            this.E = i14;
            this.F = i15;
        }

        public final void a(y0.m mVar, int i10) {
            d.e(this.f26819p, this.f26820q, this.f26821r, this.f26822s, this.f26823t, this.f26824u, this.f26825v, this.f26826w, this.f26827x, this.f26828y, this.f26829z, this.A, this.B, this.C, mVar, l2.a(this.D | 1), l2.a(this.E), this.F);
        }

        @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 i extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ y0.q1 f26830p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        i(y0.q1 q1Var) {
            super(1);
            this.f26830p = q1Var;
        }

        public final void a(List list) {
            y0.q1 q1Var = this.f26830p;
            if (q1Var == null) {
                return;
            }
            q1Var.setValue(list);
        }

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        j(d1 d1Var, q2.d dVar) {
            super(0);
            this.f26831p = d1Var;
            this.f26832q = dVar;
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.d invoke() {
            q2.d i10;
            d1 d1Var = this.f26831p;
            return (d1Var == null || (i10 = d1Var.i()) == null) ? this.f26832q : i10;
        }
    }

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ q2.d f26833p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        k(q2.d dVar) {
            super(0);
            this.f26833p = dVar;
        }

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

    /* JADX WARN: Removed duplicated region for block: B:103:0x01a6  */
    /* JADX WARN: Removed duplicated region for block: B:104:0x019f  */
    /* JADX WARN: Removed duplicated region for block: B:105:0x0194  */
    /* JADX WARN: Removed duplicated region for block: B:106:0x018e  */
    /* JADX WARN: Removed duplicated region for block: B:107:0x0185  */
    /* JADX WARN: Removed duplicated region for block: B:108:0x017d  */
    /* JADX WARN: Removed duplicated region for block: B:109:0x0170  */
    /* JADX WARN: Removed duplicated region for block: B:10:0x0046  */
    /* JADX WARN: Removed duplicated region for block: B:110:0x0168  */
    /* JADX WARN: Removed duplicated region for block: B:111:0x015b  */
    /* JADX WARN: Removed duplicated region for block: B:112:0x011a  */
    /* JADX WARN: Removed duplicated region for block: B:119:0x00fc  */
    /* JADX WARN: Removed duplicated region for block: B:126:0x00de  */
    /* JADX WARN: Removed duplicated region for block: B:133:0x00c0  */
    /* JADX WARN: Removed duplicated region for block: B:140:0x00a2  */
    /* JADX WARN: Removed duplicated region for block: B:147:0x0081  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0062  */
    /* JADX WARN: Removed duplicated region for block: B:154:0x0065  */
    /* JADX WARN: Removed duplicated region for block: B:161:0x0049  */
    /* JADX WARN: Removed duplicated region for block: B:18:0x007e  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x009d  */
    /* JADX WARN: Removed duplicated region for block: B:25:0x00bb  */
    /* JADX WARN: Removed duplicated region for block: B:28:0x00d9  */
    /* JADX WARN: Removed duplicated region for block: B:31:0x00f7  */
    /* JADX WARN: Removed duplicated region for block: B:34:0x0115  */
    /* JADX WARN: Removed duplicated region for block: B:37:0x0137  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x037d  */
    /* JADX WARN: Removed duplicated region for block: B:45:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:47:0x0156  */
    /* JADX WARN: Removed duplicated region for block: B:49:0x015f  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x016d  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x0174  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x0182  */
    /* JADX WARN: Removed duplicated region for block: B:59:0x0189  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x0192  */
    /* JADX WARN: Removed duplicated region for block: B:63:0x0198  */
    /* JADX WARN: Removed duplicated region for block: B:65:0x01a3  */
    /* JADX WARN: Removed duplicated region for block: B:68:0x01ae  */
    /* JADX WARN: Removed duplicated region for block: B:71:0x01db A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:85:0x0364  */
    /* JADX WARN: Removed duplicated region for block: B:91:0x02cc  */
    /* JADX WARN: Removed duplicated region for block: B:94:0x02d3  */
    /* JADX WARN: Removed duplicated region for block: B:98:0x02ff  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(q2.d dVar, l1.i iVar, q2.o0 o0Var, dn.l lVar, int i10, boolean z10, int i11, int i12, Map map, s1.j0 j0Var, y0.m mVar, int i13, int i14) {
        int i15;
        int i16;
        int i17;
        dn.l lVar2;
        int i18;
        int i19;
        int i20;
        int i21;
        int i22;
        int i23;
        int i24;
        l1.i iVar2;
        q2.o0 a10;
        dn.l lVar3;
        int a11;
        boolean z11;
        int i25;
        int i26;
        Map map2;
        s1.j0 j0Var2;
        boolean b10;
        int i27;
        int i28;
        y0.m mVar2;
        boolean z12;
        Object f10;
        boolean R;
        Object f11;
        int i29;
        int i30;
        q2.o0 o0Var2;
        dn.l lVar4;
        int i31;
        boolean z13;
        Map map3;
        s1.j0 j0Var3;
        Map i32;
        x2 y10;
        y0.m r10 = mVar.r(-1064305212);
        if ((i14 & 1) != 0) {
            i15 = i13 | 6;
        } else if ((i13 & 6) == 0) {
            i15 = (r10.R(dVar) ? 4 : 2) | i13;
        } else {
            i15 = i13;
        }
        int i33 = i14 & 2;
        if (i33 != 0) {
            i15 |= 48;
        } else if ((i13 & 48) == 0) {
            i15 |= r10.R(iVar) ? 32 : 16;
            i16 = i14 & 4;
            if (i16 == 0) {
                i15 |= 384;
            } else if ((i13 & 384) == 0) {
                i15 |= r10.R(o0Var) ? 256 : 128;
                i17 = i14 & 8;
                if (i17 != 0) {
                    i15 |= 3072;
                } else if ((i13 & 3072) == 0) {
                    lVar2 = lVar;
                    i15 |= r10.m(lVar2) ? 2048 : UserMetadata.MAX_ATTRIBUTE_SIZE;
                    i18 = i14 & 16;
                    if (i18 == 0) {
                        i15 |= 24576;
                    } else if ((i13 & 24576) == 0) {
                        i19 = i10;
                        i15 |= r10.i(i19) ? 16384 : UserMetadata.MAX_INTERNAL_KEY_SIZE;
                        i20 = i14 & 32;
                        if (i20 != 0) {
                            i15 |= 196608;
                        } else if ((i13 & 196608) == 0) {
                            i15 |= r10.c(z10) ? 131072 : 65536;
                        }
                        i21 = i14 & 64;
                        if (i21 != 0) {
                            i15 |= 1572864;
                        } else if ((i13 & 1572864) == 0) {
                            i15 |= r10.i(i11) ? 1048576 : 524288;
                        }
                        i22 = i14 & 128;
                        if (i22 != 0) {
                            i15 |= 12582912;
                        } else if ((i13 & 12582912) == 0) {
                            i15 |= r10.i(i12) ? 8388608 : 4194304;
                        }
                        i23 = i14 & 256;
                        if (i23 != 0) {
                            i15 |= 100663296;
                        } else if ((i13 & 100663296) == 0) {
                            i15 |= r10.m(map) ? 67108864 : 33554432;
                        }
                        i24 = i14 & 512;
                        if (i24 != 0) {
                            i15 |= 805306368;
                        } else if ((i13 & 805306368) == 0) {
                            i15 |= r10.m(j0Var) ? 536870912 : SQLiteDatabase.CREATE_IF_NECESSARY;
                        }
                        if ((i15 & 306783379) == 306783378 || !r10.v()) {
                            iVar2 = i33 != 0 ? l1.i.f27362a : iVar;
                            a10 = i16 != 0 ? q2.o0.f33351d.a() : o0Var;
                            lVar3 = i17 != 0 ? null : lVar2;
                            a11 = i18 != 0 ? b3.t.f6735a.a() : i19;
                            z11 = i20 != 0 ? true : z10;
                            i25 = i21 != 0 ? Integer.MAX_VALUE : i11;
                            i26 = i22 != 0 ? 1 : i12;
                            if (i23 != 0) {
                                i32 = sm.q0.i();
                                map2 = i32;
                            } else {
                                map2 = map;
                            }
                            j0Var2 = i24 != 0 ? null : j0Var;
                            if (y0.p.H()) {
                                y0.p.Q(-1064305212, i15, -1, "androidx.compose.foundation.text.BasicText (BasicText.kt:191)");
                            }
                            o.b(i26, i25);
                            android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                            r10.S(-1584467526);
                            r10.H();
                            b10 = l0.b.b(dVar);
                            boolean a12 = q0.h.a(dVar);
                            if (!b10 || a12) {
                                i27 = i26;
                                i28 = i25;
                                mVar2 = r10;
                                mVar2.S(-1583391888);
                                z12 = (i15 & 14) == 4;
                                f10 = mVar2.f();
                                if (!z12 || f10 == y0.m.f51621a.a()) {
                                    f10 = s3.d(dVar, null, 2, null);
                                    mVar2.I(f10);
                                }
                                y0.q1 q1Var = (y0.q1) f10;
                                q2.d c10 = c(q1Var);
                                i.b bVar = (i.b) mVar2.t(androidx.compose.ui.platform.c1.f());
                                R = mVar2.R(q1Var);
                                f11 = mVar2.f();
                                if (!R || f11 == y0.m.f51621a.a()) {
                                    f11 = new b(q1Var);
                                    mVar2.I(f11);
                                }
                                int i34 = i15 >> 3;
                                int i35 = i15 << 6;
                                e(iVar2, c10, lVar3, b10, map2, a10, a11, z11, i28, i27, bVar, null, j0Var2, (dn.l) f11, mVar2, (i34 & 896) | (i34 & 14) | ((i15 >> 12) & 57344) | ((i15 << 9) & 458752) | (3670016 & i35) | (29360128 & i35) | (234881024 & i35) | (i35 & 1879048192), (i15 >> 21) & 896, 0);
                                mVar2.H();
                            } else {
                                r10.S(-1584294453);
                                i27 = i26;
                                i28 = i25;
                                l1.i j10 = j(androidx.compose.ui.graphics.b.c(iVar2, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null), dVar, a10, lVar3, a11, z11, i25, i26, (i.b) r10.t(androidx.compose.ui.platform.c1.f()), null, null, null, j0Var2, null);
                                l lVar5 = l.f27116a;
                                mVar2 = r10;
                                int a13 = y0.j.a(mVar2, 0);
                                l1.i e10 = l1.h.e(mVar2, j10);
                                y0.y D = mVar2.D();
                                g.a aVar = j2.g.f23616d;
                                dn.a a14 = aVar.a();
                                if (!(mVar2.w() instanceof y0.f)) {
                                    y0.j.c();
                                }
                                mVar2.u();
                                if (mVar2.n()) {
                                    mVar2.o(a14);
                                } else {
                                    mVar2.F();
                                }
                                y0.m a15 = d4.a(mVar2);
                                d4.b(a15, lVar5, aVar.c());
                                d4.b(a15, D, aVar.e());
                                d4.b(a15, e10, aVar.d());
                                dn.p b11 = aVar.b();
                                if (a15.n() || !kotlin.jvm.internal.t.b(a15.f(), Integer.valueOf(a13))) {
                                    a15.I(Integer.valueOf(a13));
                                    a15.l(Integer.valueOf(a13), b11);
                                }
                                mVar2.O();
                                mVar2.H();
                            }
                            if (y0.p.H()) {
                                y0.p.P();
                            }
                            i29 = i27;
                            i30 = i28;
                            o0Var2 = a10;
                            lVar4 = lVar3;
                            i31 = a11;
                            z13 = z11;
                            map3 = map2;
                            j0Var3 = j0Var2;
                        } else {
                            r10.A();
                            iVar2 = iVar;
                            o0Var2 = o0Var;
                            z13 = z10;
                            i30 = i11;
                            i29 = i12;
                            j0Var3 = j0Var;
                            lVar4 = lVar2;
                            i31 = i19;
                            mVar2 = r10;
                            map3 = map;
                        }
                        y10 = mVar2.y();
                        if (y10 != null) {
                            y10.a(new c(dVar, iVar2, o0Var2, lVar4, i31, z13, i30, i29, map3, j0Var3, i13, i14));
                            return;
                        }
                        return;
                    }
                    i19 = i10;
                    i20 = i14 & 32;
                    if (i20 != 0) {
                    }
                    i21 = i14 & 64;
                    if (i21 != 0) {
                    }
                    i22 = i14 & 128;
                    if (i22 != 0) {
                    }
                    i23 = i14 & 256;
                    if (i23 != 0) {
                    }
                    i24 = i14 & 512;
                    if (i24 != 0) {
                    }
                    if ((i15 & 306783379) == 306783378) {
                    }
                    if (i33 != 0) {
                    }
                    if (i16 != 0) {
                    }
                    if (i17 != 0) {
                    }
                    if (i18 != 0) {
                    }
                    if (i20 != 0) {
                    }
                    if (i21 != 0) {
                    }
                    if (i22 != 0) {
                    }
                    if (i23 != 0) {
                    }
                    if (i24 != 0) {
                    }
                    if (y0.p.H()) {
                    }
                    o.b(i26, i25);
                    android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                    r10.S(-1584467526);
                    r10.H();
                    b10 = l0.b.b(dVar);
                    boolean a122 = q0.h.a(dVar);
                    if (b10) {
                    }
                    i27 = i26;
                    i28 = i25;
                    mVar2 = r10;
                    mVar2.S(-1583391888);
                    if ((i15 & 14) == 4) {
                    }
                    f10 = mVar2.f();
                    if (!z12) {
                    }
                    f10 = s3.d(dVar, null, 2, null);
                    mVar2.I(f10);
                    y0.q1 q1Var2 = (y0.q1) f10;
                    q2.d c102 = c(q1Var2);
                    i.b bVar2 = (i.b) mVar2.t(androidx.compose.ui.platform.c1.f());
                    R = mVar2.R(q1Var2);
                    f11 = mVar2.f();
                    if (!R) {
                    }
                    f11 = new b(q1Var2);
                    mVar2.I(f11);
                    int i342 = i15 >> 3;
                    int i352 = i15 << 6;
                    e(iVar2, c102, lVar3, b10, map2, a10, a11, z11, i28, i27, bVar2, null, j0Var2, (dn.l) f11, mVar2, (i342 & 896) | (i342 & 14) | ((i15 >> 12) & 57344) | ((i15 << 9) & 458752) | (3670016 & i352) | (29360128 & i352) | (234881024 & i352) | (i352 & 1879048192), (i15 >> 21) & 896, 0);
                    mVar2.H();
                    if (y0.p.H()) {
                    }
                    i29 = i27;
                    i30 = i28;
                    o0Var2 = a10;
                    lVar4 = lVar3;
                    i31 = a11;
                    z13 = z11;
                    map3 = map2;
                    j0Var3 = j0Var2;
                    y10 = mVar2.y();
                    if (y10 != null) {
                    }
                }
                lVar2 = lVar;
                i18 = i14 & 16;
                if (i18 == 0) {
                }
                i19 = i10;
                i20 = i14 & 32;
                if (i20 != 0) {
                }
                i21 = i14 & 64;
                if (i21 != 0) {
                }
                i22 = i14 & 128;
                if (i22 != 0) {
                }
                i23 = i14 & 256;
                if (i23 != 0) {
                }
                i24 = i14 & 512;
                if (i24 != 0) {
                }
                if ((i15 & 306783379) == 306783378) {
                }
                if (i33 != 0) {
                }
                if (i16 != 0) {
                }
                if (i17 != 0) {
                }
                if (i18 != 0) {
                }
                if (i20 != 0) {
                }
                if (i21 != 0) {
                }
                if (i22 != 0) {
                }
                if (i23 != 0) {
                }
                if (i24 != 0) {
                }
                if (y0.p.H()) {
                }
                o.b(i26, i25);
                android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                r10.S(-1584467526);
                r10.H();
                b10 = l0.b.b(dVar);
                boolean a1222 = q0.h.a(dVar);
                if (b10) {
                }
                i27 = i26;
                i28 = i25;
                mVar2 = r10;
                mVar2.S(-1583391888);
                if ((i15 & 14) == 4) {
                }
                f10 = mVar2.f();
                if (!z12) {
                }
                f10 = s3.d(dVar, null, 2, null);
                mVar2.I(f10);
                y0.q1 q1Var22 = (y0.q1) f10;
                q2.d c1022 = c(q1Var22);
                i.b bVar22 = (i.b) mVar2.t(androidx.compose.ui.platform.c1.f());
                R = mVar2.R(q1Var22);
                f11 = mVar2.f();
                if (!R) {
                }
                f11 = new b(q1Var22);
                mVar2.I(f11);
                int i3422 = i15 >> 3;
                int i3522 = i15 << 6;
                e(iVar2, c1022, lVar3, b10, map2, a10, a11, z11, i28, i27, bVar22, null, j0Var2, (dn.l) f11, mVar2, (i3422 & 896) | (i3422 & 14) | ((i15 >> 12) & 57344) | ((i15 << 9) & 458752) | (3670016 & i3522) | (29360128 & i3522) | (234881024 & i3522) | (i3522 & 1879048192), (i15 >> 21) & 896, 0);
                mVar2.H();
                if (y0.p.H()) {
                }
                i29 = i27;
                i30 = i28;
                o0Var2 = a10;
                lVar4 = lVar3;
                i31 = a11;
                z13 = z11;
                map3 = map2;
                j0Var3 = j0Var2;
                y10 = mVar2.y();
                if (y10 != null) {
                }
            }
            i17 = i14 & 8;
            if (i17 != 0) {
            }
            lVar2 = lVar;
            i18 = i14 & 16;
            if (i18 == 0) {
            }
            i19 = i10;
            i20 = i14 & 32;
            if (i20 != 0) {
            }
            i21 = i14 & 64;
            if (i21 != 0) {
            }
            i22 = i14 & 128;
            if (i22 != 0) {
            }
            i23 = i14 & 256;
            if (i23 != 0) {
            }
            i24 = i14 & 512;
            if (i24 != 0) {
            }
            if ((i15 & 306783379) == 306783378) {
            }
            if (i33 != 0) {
            }
            if (i16 != 0) {
            }
            if (i17 != 0) {
            }
            if (i18 != 0) {
            }
            if (i20 != 0) {
            }
            if (i21 != 0) {
            }
            if (i22 != 0) {
            }
            if (i23 != 0) {
            }
            if (i24 != 0) {
            }
            if (y0.p.H()) {
            }
            o.b(i26, i25);
            android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
            r10.S(-1584467526);
            r10.H();
            b10 = l0.b.b(dVar);
            boolean a12222 = q0.h.a(dVar);
            if (b10) {
            }
            i27 = i26;
            i28 = i25;
            mVar2 = r10;
            mVar2.S(-1583391888);
            if ((i15 & 14) == 4) {
            }
            f10 = mVar2.f();
            if (!z12) {
            }
            f10 = s3.d(dVar, null, 2, null);
            mVar2.I(f10);
            y0.q1 q1Var222 = (y0.q1) f10;
            q2.d c10222 = c(q1Var222);
            i.b bVar222 = (i.b) mVar2.t(androidx.compose.ui.platform.c1.f());
            R = mVar2.R(q1Var222);
            f11 = mVar2.f();
            if (!R) {
            }
            f11 = new b(q1Var222);
            mVar2.I(f11);
            int i34222 = i15 >> 3;
            int i35222 = i15 << 6;
            e(iVar2, c10222, lVar3, b10, map2, a10, a11, z11, i28, i27, bVar222, null, j0Var2, (dn.l) f11, mVar2, (i34222 & 896) | (i34222 & 14) | ((i15 >> 12) & 57344) | ((i15 << 9) & 458752) | (3670016 & i35222) | (29360128 & i35222) | (234881024 & i35222) | (i35222 & 1879048192), (i15 >> 21) & 896, 0);
            mVar2.H();
            if (y0.p.H()) {
            }
            i29 = i27;
            i30 = i28;
            o0Var2 = a10;
            lVar4 = lVar3;
            i31 = a11;
            z13 = z11;
            map3 = map2;
            j0Var3 = j0Var2;
            y10 = mVar2.y();
            if (y10 != null) {
            }
        }
        i16 = i14 & 4;
        if (i16 == 0) {
        }
        i17 = i14 & 8;
        if (i17 != 0) {
        }
        lVar2 = lVar;
        i18 = i14 & 16;
        if (i18 == 0) {
        }
        i19 = i10;
        i20 = i14 & 32;
        if (i20 != 0) {
        }
        i21 = i14 & 64;
        if (i21 != 0) {
        }
        i22 = i14 & 128;
        if (i22 != 0) {
        }
        i23 = i14 & 256;
        if (i23 != 0) {
        }
        i24 = i14 & 512;
        if (i24 != 0) {
        }
        if ((i15 & 306783379) == 306783378) {
        }
        if (i33 != 0) {
        }
        if (i16 != 0) {
        }
        if (i17 != 0) {
        }
        if (i18 != 0) {
        }
        if (i20 != 0) {
        }
        if (i21 != 0) {
        }
        if (i22 != 0) {
        }
        if (i23 != 0) {
        }
        if (i24 != 0) {
        }
        if (y0.p.H()) {
        }
        o.b(i26, i25);
        android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
        r10.S(-1584467526);
        r10.H();
        b10 = l0.b.b(dVar);
        boolean a122222 = q0.h.a(dVar);
        if (b10) {
        }
        i27 = i26;
        i28 = i25;
        mVar2 = r10;
        mVar2.S(-1583391888);
        if ((i15 & 14) == 4) {
        }
        f10 = mVar2.f();
        if (!z12) {
        }
        f10 = s3.d(dVar, null, 2, null);
        mVar2.I(f10);
        y0.q1 q1Var2222 = (y0.q1) f10;
        q2.d c102222 = c(q1Var2222);
        i.b bVar2222 = (i.b) mVar2.t(androidx.compose.ui.platform.c1.f());
        R = mVar2.R(q1Var2222);
        f11 = mVar2.f();
        if (!R) {
        }
        f11 = new b(q1Var2222);
        mVar2.I(f11);
        int i342222 = i15 >> 3;
        int i352222 = i15 << 6;
        e(iVar2, c102222, lVar3, b10, map2, a10, a11, z11, i28, i27, bVar2222, null, j0Var2, (dn.l) f11, mVar2, (i342222 & 896) | (i342222 & 14) | ((i15 >> 12) & 57344) | ((i15 << 9) & 458752) | (3670016 & i352222) | (29360128 & i352222) | (234881024 & i352222) | (i352222 & 1879048192), (i15 >> 21) & 896, 0);
        mVar2.H();
        if (y0.p.H()) {
        }
        i29 = i27;
        i30 = i28;
        o0Var2 = a10;
        lVar4 = lVar3;
        i31 = a11;
        z13 = z11;
        map3 = map2;
        j0Var3 = j0Var2;
        y10 = mVar2.y();
        if (y10 != null) {
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:104:0x00c3  */
    /* JADX WARN: Removed duplicated region for block: B:10:0x004b  */
    /* JADX WARN: Removed duplicated region for block: B:111:0x00a3  */
    /* JADX WARN: Removed duplicated region for block: B:118:0x0086  */
    /* JADX WARN: Removed duplicated region for block: B:125:0x006a  */
    /* JADX WARN: Removed duplicated region for block: B:132:0x004e  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0067  */
    /* JADX WARN: Removed duplicated region for block: B:18:0x0083  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x00a1  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x00be  */
    /* JADX WARN: Removed duplicated region for block: B:29:0x00dc  */
    /* JADX WARN: Removed duplicated region for block: B:32:0x00fa  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x011c  */
    /* JADX WARN: Removed duplicated region for block: B:40:0x02f1  */
    /* JADX WARN: Removed duplicated region for block: B:43:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:45:0x0137  */
    /* JADX WARN: Removed duplicated region for block: B:47:0x013e  */
    /* JADX WARN: Removed duplicated region for block: B:50:0x014a  */
    /* JADX WARN: Removed duplicated region for block: B:52:0x014d  */
    /* JADX WARN: Removed duplicated region for block: B:55:0x0158  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x015f  */
    /* JADX WARN: Removed duplicated region for block: B:59:0x0169  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x016e  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x0176  */
    /* JADX WARN: Removed duplicated region for block: B:67:0x0199  */
    /* JADX WARN: Removed duplicated region for block: B:70:0x0284  */
    /* JADX WARN: Removed duplicated region for block: B:73:0x0290  */
    /* JADX WARN: Removed duplicated region for block: B:76:0x02ba  */
    /* JADX WARN: Removed duplicated region for block: B:80:0x02df  */
    /* JADX WARN: Removed duplicated region for block: B:83:0x0294  */
    /* JADX WARN: Removed duplicated region for block: B:84:0x020b  */
    /* JADX WARN: Removed duplicated region for block: B:85:0x0164  */
    /* JADX WARN: Removed duplicated region for block: B:86:0x015b  */
    /* JADX WARN: Removed duplicated region for block: B:87:0x0154  */
    /* JADX WARN: Removed duplicated region for block: B:88:0x0145  */
    /* JADX WARN: Removed duplicated region for block: B:89:0x013a  */
    /* JADX WARN: Removed duplicated region for block: B:90:0x00ff  */
    /* JADX WARN: Removed duplicated region for block: B:97:0x00e1  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void b(String str, l1.i iVar, q2.o0 o0Var, dn.l lVar, int i10, boolean z10, int i11, int i12, s1.j0 j0Var, y0.m mVar, int i13, int i14) {
        int i15;
        int i16;
        int i17;
        dn.l lVar2;
        int i18;
        int i19;
        int i20;
        boolean z11;
        int i21;
        int i22;
        int i23;
        int i24;
        int i25;
        l1.i f10;
        int a10;
        y0.m a11;
        l1.i iVar2;
        q2.o0 o0Var2;
        int i26;
        dn.l lVar3;
        int i27;
        s1.j0 j0Var2;
        boolean z12;
        x2 y10;
        y0.m r10 = mVar.r(-1186827822);
        if ((i14 & 1) != 0) {
            i15 = i13 | 6;
        } else if ((i13 & 6) == 0) {
            i15 = (r10.R(str) ? 4 : 2) | i13;
        } else {
            i15 = i13;
        }
        int i28 = i14 & 2;
        if (i28 != 0) {
            i15 |= 48;
        } else if ((i13 & 48) == 0) {
            i15 |= r10.R(iVar) ? 32 : 16;
            i16 = i14 & 4;
            if (i16 == 0) {
                i15 |= 384;
            } else if ((i13 & 384) == 0) {
                i15 |= r10.R(o0Var) ? 256 : 128;
                i17 = i14 & 8;
                if (i17 != 0) {
                    i15 |= 3072;
                } else if ((i13 & 3072) == 0) {
                    lVar2 = lVar;
                    i15 |= r10.m(lVar2) ? 2048 : UserMetadata.MAX_ATTRIBUTE_SIZE;
                    i18 = i14 & 16;
                    if (i18 == 0) {
                        i15 |= 24576;
                    } else if ((i13 & 24576) == 0) {
                        i19 = i10;
                        i15 |= r10.i(i19) ? 16384 : UserMetadata.MAX_INTERNAL_KEY_SIZE;
                        i20 = i14 & 32;
                        if (i20 != 0) {
                            i15 |= 196608;
                        } else if ((196608 & i13) == 0) {
                            z11 = z10;
                            i15 |= r10.c(z11) ? 131072 : 65536;
                            i21 = i14 & 64;
                            if (i21 == 0) {
                                i15 |= 1572864;
                            } else if ((i13 & 1572864) == 0) {
                                i15 |= r10.i(i11) ? 1048576 : 524288;
                            }
                            i22 = i14 & 128;
                            if (i22 == 0) {
                                i15 |= 12582912;
                            } else if ((i13 & 12582912) == 0) {
                                i15 |= r10.i(i12) ? 8388608 : 4194304;
                            }
                            i23 = i14 & 256;
                            if (i23 == 0) {
                                i15 |= 100663296;
                            } else if ((i13 & 100663296) == 0) {
                                i15 |= r10.m(j0Var) ? 67108864 : 33554432;
                            }
                            if ((i15 & 38347923) == 38347922 || !r10.v()) {
                                l1.i iVar3 = i28 == 0 ? l1.i.f27362a : iVar;
                                q2.o0 a12 = i16 == 0 ? q2.o0.f33351d.a() : o0Var;
                                if (i17 != 0) {
                                    lVar2 = null;
                                }
                                int a13 = i18 == 0 ? b3.t.f6735a.a() : i19;
                                boolean z13 = i20 == 0 ? true : z11;
                                int i29 = i21 == 0 ? Integer.MAX_VALUE : i11;
                                i24 = i22 == 0 ? i12 : 1;
                                s1.j0 j0Var3 = i23 == 0 ? j0Var : null;
                                if (y0.p.H()) {
                                    y0.p.Q(-1186827822, i15, -1, "androidx.compose.foundation.text.BasicText (BasicText.kt:96)");
                                }
                                o.b(i24, i29);
                                android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                                r10.S(-1588686502);
                                r10.H();
                                if (lVar2 == null) {
                                    r10.S(-1588564052);
                                    f10 = j(androidx.compose.ui.graphics.b.c(iVar3, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null), new q2.d(str, null, null, 6, null), a12, lVar2, a13, z13, i29, i24, (i.b) r10.t(androidx.compose.ui.platform.c1.f()), null, null, null, j0Var3, null);
                                    r10.H();
                                    i25 = i29;
                                } else {
                                    r10.S(-1587866335);
                                    i25 = i29;
                                    f10 = androidx.compose.ui.graphics.b.c(iVar3, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null).f(new TextStringSimpleElement(str, a12, (i.b) r10.t(androidx.compose.ui.platform.c1.f()), a13, z13, i25, i24, j0Var3, null));
                                    r10.H();
                                }
                                l lVar4 = l.f27116a;
                                a10 = y0.j.a(r10, 0);
                                l1.i e10 = l1.h.e(r10, f10);
                                y0.y D = r10.D();
                                g.a aVar = j2.g.f23616d;
                                dn.a a14 = aVar.a();
                                if (!(r10.w() instanceof y0.f)) {
                                    y0.j.c();
                                }
                                r10.u();
                                if (r10.n()) {
                                    r10.F();
                                } else {
                                    r10.o(a14);
                                }
                                a11 = d4.a(r10);
                                d4.b(a11, lVar4, aVar.c());
                                d4.b(a11, D, aVar.e());
                                d4.b(a11, e10, aVar.d());
                                dn.p b10 = aVar.b();
                                if (!a11.n() || !kotlin.jvm.internal.t.b(a11.f(), Integer.valueOf(a10))) {
                                    a11.I(Integer.valueOf(a10));
                                    a11.l(Integer.valueOf(a10), b10);
                                }
                                r10.O();
                                if (y0.p.H()) {
                                    y0.p.P();
                                }
                                iVar2 = iVar3;
                                o0Var2 = a12;
                                i26 = a13;
                                lVar3 = lVar2;
                                i27 = i25;
                                j0Var2 = j0Var3;
                                z12 = z13;
                            } else {
                                r10.A();
                                iVar2 = iVar;
                                o0Var2 = o0Var;
                                i27 = i11;
                                i24 = i12;
                                lVar3 = lVar2;
                                i26 = i19;
                                z12 = z11;
                                j0Var2 = j0Var;
                            }
                            y10 = r10.y();
                            if (y10 == null) {
                                y10.a(new a(str, iVar2, o0Var2, lVar3, i26, z12, i27, i24, j0Var2, i13, i14));
                                return;
                            }
                            return;
                        }
                        z11 = z10;
                        i21 = i14 & 64;
                        if (i21 == 0) {
                        }
                        i22 = i14 & 128;
                        if (i22 == 0) {
                        }
                        i23 = i14 & 256;
                        if (i23 == 0) {
                        }
                        if ((i15 & 38347923) == 38347922) {
                        }
                        if (i28 == 0) {
                        }
                        if (i16 == 0) {
                        }
                        if (i17 != 0) {
                        }
                        if (i18 == 0) {
                        }
                        if (i20 == 0) {
                        }
                        if (i21 == 0) {
                        }
                        if (i22 == 0) {
                        }
                        if (i23 == 0) {
                        }
                        if (y0.p.H()) {
                        }
                        o.b(i24, i29);
                        android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                        r10.S(-1588686502);
                        r10.H();
                        if (lVar2 == null) {
                        }
                        l lVar42 = l.f27116a;
                        a10 = y0.j.a(r10, 0);
                        l1.i e102 = l1.h.e(r10, f10);
                        y0.y D2 = r10.D();
                        g.a aVar2 = j2.g.f23616d;
                        dn.a a142 = aVar2.a();
                        if (!(r10.w() instanceof y0.f)) {
                        }
                        r10.u();
                        if (r10.n()) {
                        }
                        a11 = d4.a(r10);
                        d4.b(a11, lVar42, aVar2.c());
                        d4.b(a11, D2, aVar2.e());
                        d4.b(a11, e102, aVar2.d());
                        dn.p b102 = aVar2.b();
                        if (!a11.n()) {
                        }
                        a11.I(Integer.valueOf(a10));
                        a11.l(Integer.valueOf(a10), b102);
                        r10.O();
                        if (y0.p.H()) {
                        }
                        iVar2 = iVar3;
                        o0Var2 = a12;
                        i26 = a13;
                        lVar3 = lVar2;
                        i27 = i25;
                        j0Var2 = j0Var3;
                        z12 = z13;
                        y10 = r10.y();
                        if (y10 == null) {
                        }
                    }
                    i19 = i10;
                    i20 = i14 & 32;
                    if (i20 != 0) {
                    }
                    z11 = z10;
                    i21 = i14 & 64;
                    if (i21 == 0) {
                    }
                    i22 = i14 & 128;
                    if (i22 == 0) {
                    }
                    i23 = i14 & 256;
                    if (i23 == 0) {
                    }
                    if ((i15 & 38347923) == 38347922) {
                    }
                    if (i28 == 0) {
                    }
                    if (i16 == 0) {
                    }
                    if (i17 != 0) {
                    }
                    if (i18 == 0) {
                    }
                    if (i20 == 0) {
                    }
                    if (i21 == 0) {
                    }
                    if (i22 == 0) {
                    }
                    if (i23 == 0) {
                    }
                    if (y0.p.H()) {
                    }
                    o.b(i24, i29);
                    android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                    r10.S(-1588686502);
                    r10.H();
                    if (lVar2 == null) {
                    }
                    l lVar422 = l.f27116a;
                    a10 = y0.j.a(r10, 0);
                    l1.i e1022 = l1.h.e(r10, f10);
                    y0.y D22 = r10.D();
                    g.a aVar22 = j2.g.f23616d;
                    dn.a a1422 = aVar22.a();
                    if (!(r10.w() instanceof y0.f)) {
                    }
                    r10.u();
                    if (r10.n()) {
                    }
                    a11 = d4.a(r10);
                    d4.b(a11, lVar422, aVar22.c());
                    d4.b(a11, D22, aVar22.e());
                    d4.b(a11, e1022, aVar22.d());
                    dn.p b1022 = aVar22.b();
                    if (!a11.n()) {
                    }
                    a11.I(Integer.valueOf(a10));
                    a11.l(Integer.valueOf(a10), b1022);
                    r10.O();
                    if (y0.p.H()) {
                    }
                    iVar2 = iVar3;
                    o0Var2 = a12;
                    i26 = a13;
                    lVar3 = lVar2;
                    i27 = i25;
                    j0Var2 = j0Var3;
                    z12 = z13;
                    y10 = r10.y();
                    if (y10 == null) {
                    }
                }
                lVar2 = lVar;
                i18 = i14 & 16;
                if (i18 == 0) {
                }
                i19 = i10;
                i20 = i14 & 32;
                if (i20 != 0) {
                }
                z11 = z10;
                i21 = i14 & 64;
                if (i21 == 0) {
                }
                i22 = i14 & 128;
                if (i22 == 0) {
                }
                i23 = i14 & 256;
                if (i23 == 0) {
                }
                if ((i15 & 38347923) == 38347922) {
                }
                if (i28 == 0) {
                }
                if (i16 == 0) {
                }
                if (i17 != 0) {
                }
                if (i18 == 0) {
                }
                if (i20 == 0) {
                }
                if (i21 == 0) {
                }
                if (i22 == 0) {
                }
                if (i23 == 0) {
                }
                if (y0.p.H()) {
                }
                o.b(i24, i29);
                android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
                r10.S(-1588686502);
                r10.H();
                if (lVar2 == null) {
                }
                l lVar4222 = l.f27116a;
                a10 = y0.j.a(r10, 0);
                l1.i e10222 = l1.h.e(r10, f10);
                y0.y D222 = r10.D();
                g.a aVar222 = j2.g.f23616d;
                dn.a a14222 = aVar222.a();
                if (!(r10.w() instanceof y0.f)) {
                }
                r10.u();
                if (r10.n()) {
                }
                a11 = d4.a(r10);
                d4.b(a11, lVar4222, aVar222.c());
                d4.b(a11, D222, aVar222.e());
                d4.b(a11, e10222, aVar222.d());
                dn.p b10222 = aVar222.b();
                if (!a11.n()) {
                }
                a11.I(Integer.valueOf(a10));
                a11.l(Integer.valueOf(a10), b10222);
                r10.O();
                if (y0.p.H()) {
                }
                iVar2 = iVar3;
                o0Var2 = a12;
                i26 = a13;
                lVar3 = lVar2;
                i27 = i25;
                j0Var2 = j0Var3;
                z12 = z13;
                y10 = r10.y();
                if (y10 == null) {
                }
            }
            i17 = i14 & 8;
            if (i17 != 0) {
            }
            lVar2 = lVar;
            i18 = i14 & 16;
            if (i18 == 0) {
            }
            i19 = i10;
            i20 = i14 & 32;
            if (i20 != 0) {
            }
            z11 = z10;
            i21 = i14 & 64;
            if (i21 == 0) {
            }
            i22 = i14 & 128;
            if (i22 == 0) {
            }
            i23 = i14 & 256;
            if (i23 == 0) {
            }
            if ((i15 & 38347923) == 38347922) {
            }
            if (i28 == 0) {
            }
            if (i16 == 0) {
            }
            if (i17 != 0) {
            }
            if (i18 == 0) {
            }
            if (i20 == 0) {
            }
            if (i21 == 0) {
            }
            if (i22 == 0) {
            }
            if (i23 == 0) {
            }
            if (y0.p.H()) {
            }
            o.b(i24, i29);
            android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
            r10.S(-1588686502);
            r10.H();
            if (lVar2 == null) {
            }
            l lVar42222 = l.f27116a;
            a10 = y0.j.a(r10, 0);
            l1.i e102222 = l1.h.e(r10, f10);
            y0.y D2222 = r10.D();
            g.a aVar2222 = j2.g.f23616d;
            dn.a a142222 = aVar2222.a();
            if (!(r10.w() instanceof y0.f)) {
            }
            r10.u();
            if (r10.n()) {
            }
            a11 = d4.a(r10);
            d4.b(a11, lVar42222, aVar2222.c());
            d4.b(a11, D2222, aVar2222.e());
            d4.b(a11, e102222, aVar2222.d());
            dn.p b102222 = aVar2222.b();
            if (!a11.n()) {
            }
            a11.I(Integer.valueOf(a10));
            a11.l(Integer.valueOf(a10), b102222);
            r10.O();
            if (y0.p.H()) {
            }
            iVar2 = iVar3;
            o0Var2 = a12;
            i26 = a13;
            lVar3 = lVar2;
            i27 = i25;
            j0Var2 = j0Var3;
            z12 = z13;
            y10 = r10.y();
            if (y10 == null) {
            }
        }
        i16 = i14 & 4;
        if (i16 == 0) {
        }
        i17 = i14 & 8;
        if (i17 != 0) {
        }
        lVar2 = lVar;
        i18 = i14 & 16;
        if (i18 == 0) {
        }
        i19 = i10;
        i20 = i14 & 32;
        if (i20 != 0) {
        }
        z11 = z10;
        i21 = i14 & 64;
        if (i21 == 0) {
        }
        i22 = i14 & 128;
        if (i22 == 0) {
        }
        i23 = i14 & 256;
        if (i23 == 0) {
        }
        if ((i15 & 38347923) == 38347922) {
        }
        if (i28 == 0) {
        }
        if (i16 == 0) {
        }
        if (i17 != 0) {
        }
        if (i18 == 0) {
        }
        if (i20 == 0) {
        }
        if (i21 == 0) {
        }
        if (i22 == 0) {
        }
        if (i23 == 0) {
        }
        if (y0.p.H()) {
        }
        o.b(i24, i29);
        android.support.v4.media.session.b.a(r10.t(r0.b0.a()));
        r10.S(-1588686502);
        r10.H();
        if (lVar2 == null) {
        }
        l lVar422222 = l.f27116a;
        a10 = y0.j.a(r10, 0);
        l1.i e1022222 = l1.h.e(r10, f10);
        y0.y D22222 = r10.D();
        g.a aVar22222 = j2.g.f23616d;
        dn.a a1422222 = aVar22222.a();
        if (!(r10.w() instanceof y0.f)) {
        }
        r10.u();
        if (r10.n()) {
        }
        a11 = d4.a(r10);
        d4.b(a11, lVar422222, aVar22222.c());
        d4.b(a11, D22222, aVar22222.e());
        d4.b(a11, e1022222, aVar22222.d());
        dn.p b1022222 = aVar22222.b();
        if (!a11.n()) {
        }
        a11.I(Integer.valueOf(a10));
        a11.l(Integer.valueOf(a10), b1022222);
        r10.O();
        if (y0.p.H()) {
        }
        iVar2 = iVar3;
        o0Var2 = a12;
        i26 = a13;
        lVar3 = lVar2;
        i27 = i25;
        j0Var2 = j0Var3;
        z12 = z13;
        y10 = r10.y();
        if (y10 == null) {
        }
    }

    private static final q2.d c(y0.q1 q1Var) {
        return (q2.d) q1Var.getValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void d(y0.q1 q1Var, q2.d dVar) {
        q1Var.setValue(dVar);
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX WARN: Removed duplicated region for block: B:103:0x0338  */
    /* JADX WARN: Removed duplicated region for block: B:106:0x0342  */
    /* JADX WARN: Removed duplicated region for block: B:110:0x0372  */
    /* JADX WARN: Removed duplicated region for block: B:118:0x03ff  */
    /* JADX WARN: Removed duplicated region for block: B:121:0x040b  */
    /* JADX WARN: Removed duplicated region for block: B:124:0x042e  */
    /* JADX WARN: Removed duplicated region for block: B:128:0x0453  */
    /* JADX WARN: Removed duplicated region for block: B:130:0x046e  */
    /* JADX WARN: Removed duplicated region for block: B:133:0x0490  */
    /* JADX WARN: Removed duplicated region for block: B:135:0x0475  */
    /* JADX WARN: Removed duplicated region for block: B:136:0x045d  */
    /* JADX WARN: Removed duplicated region for block: B:138:0x040f  */
    /* JADX WARN: Removed duplicated region for block: B:140:0x039e  */
    /* JADX WARN: Removed duplicated region for block: B:152:0x033a  */
    /* JADX WARN: Removed duplicated region for block: B:154:0x02f0  */
    /* JADX WARN: Removed duplicated region for block: B:156:0x02bc  */
    /* JADX WARN: Removed duplicated region for block: B:157:0x0282  */
    /* JADX WARN: Removed duplicated region for block: B:160:0x0251  */
    /* JADX WARN: Removed duplicated region for block: B:172:0x0211  */
    /* JADX WARN: Removed duplicated region for block: B:173:0x01d0  */
    /* JADX WARN: Removed duplicated region for block: B:174:0x0198  */
    /* JADX WARN: Removed duplicated region for block: B:180:0x017b  */
    /* JADX WARN: Removed duplicated region for block: B:187:0x015c  */
    /* JADX WARN: Removed duplicated region for block: B:195:0x013d  */
    /* JADX WARN: Removed duplicated region for block: B:19:0x009f  */
    /* JADX WARN: Removed duplicated region for block: B:203:0x011b  */
    /* JADX WARN: Removed duplicated region for block: B:210:0x00fc  */
    /* JADX WARN: Removed duplicated region for block: B:217:0x00de  */
    /* JADX WARN: Removed duplicated region for block: B:224:0x00c2  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x00bd  */
    /* JADX WARN: Removed duplicated region for block: B:231:0x00a4  */
    /* JADX WARN: Removed duplicated region for block: B:25:0x00db  */
    /* JADX WARN: Removed duplicated region for block: B:29:0x00f8  */
    /* JADX WARN: Removed duplicated region for block: B:33:0x0117  */
    /* JADX WARN: Removed duplicated region for block: B:37:0x0136  */
    /* JADX WARN: Removed duplicated region for block: B:40:0x0159  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x0178  */
    /* JADX WARN: Removed duplicated region for block: B:47:0x0195  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x01b6  */
    /* JADX WARN: Removed duplicated region for block: B:58:0x049b  */
    /* JADX WARN: Removed duplicated region for block: B:61:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:63:0x01cb  */
    /* JADX WARN: Removed duplicated region for block: B:66:0x01d7  */
    /* JADX WARN: Removed duplicated region for block: B:69:0x01e6  */
    /* JADX WARN: Removed duplicated region for block: B:79:0x0221  */
    /* JADX WARN: Removed duplicated region for block: B:88:0x027d  */
    /* JADX WARN: Removed duplicated region for block: B:91:0x0297  */
    /* JADX WARN: Removed duplicated region for block: B:96:0x02ca  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void e(l1.i iVar, q2.d dVar, dn.l lVar, boolean z10, Map map, q2.o0 o0Var, int i10, boolean z11, int i11, int i12, i.b bVar, q0.g gVar, s1.j0 j0Var, dn.l lVar2, y0.m mVar, int i13, int i14, int i15) {
        int i16;
        Map map2;
        int i17;
        d1 d1Var;
        dn.a aVar;
        List list;
        Map map3;
        dn.l lVar3;
        boolean m10;
        Object f10;
        Object f1Var;
        int a10;
        y0.m a11;
        Map map4;
        x2 y10;
        y0.m r10 = mVar.r(645129368);
        if ((i15 & 1) != 0) {
            i16 = i13 | 6;
        } else if ((i13 & 6) == 0) {
            i16 = (r10.R(iVar) ? 4 : 2) | i13;
        } else {
            i16 = i13;
        }
        if ((i15 & 2) != 0) {
            i16 |= 48;
        } else if ((i13 & 48) == 0) {
            i16 |= r10.R(dVar) ? 32 : 16;
        }
        if ((i15 & 4) != 0) {
            i16 |= 384;
        } else if ((i13 & 384) == 0) {
            i16 |= r10.m(lVar) ? 256 : 128;
        }
        if ((i15 & 8) != 0) {
            i16 |= 3072;
        } else if ((i13 & 3072) == 0) {
            i16 |= r10.c(z10) ? 2048 : 1024;
        }
        int i18 = i15 & 16;
        if (i18 != 0) {
            i16 |= 24576;
        } else if ((i13 & 24576) == 0) {
            map2 = map;
            i16 |= r10.m(map2) ? 16384 : UserMetadata.MAX_INTERNAL_KEY_SIZE;
            if ((i15 & 32) == 0) {
                i16 |= 196608;
            } else if ((i13 & 196608) == 0) {
                i16 |= r10.R(o0Var) ? 131072 : 65536;
            }
            if ((i15 & 64) == 0) {
                i16 |= 1572864;
            } else if ((i13 & 1572864) == 0) {
                i16 |= r10.i(i10) ? 1048576 : 524288;
            }
            if ((i15 & 128) == 0) {
                i16 |= 12582912;
            } else if ((i13 & 12582912) == 0) {
                i16 |= r10.c(z11) ? 8388608 : 4194304;
                if ((i15 & 256) != 0) {
                    i16 |= 100663296;
                } else if ((100663296 & i13) == 0) {
                    i16 |= r10.i(i11) ? 67108864 : 33554432;
                    if ((i15 & 512) == 0) {
                        i16 |= 805306368;
                    } else if ((805306368 & i13) == 0) {
                        i16 |= r10.i(i12) ? 536870912 : SQLiteDatabase.CREATE_IF_NECESSARY;
                        if ((i15 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0) {
                            i17 = i14 | 6;
                        } else if ((i14 & 6) == 0) {
                            i17 = i14 | (r10.m(bVar) ? 4 : 2);
                        } else {
                            i17 = i14;
                        }
                        if ((i15 & 2048) != 0) {
                            i17 |= 48;
                        } else if ((i14 & 48) == 0) {
                            i17 |= r10.m(gVar) ? 32 : 16;
                        }
                        int i19 = i17;
                        if ((i15 & 4096) != 0) {
                            i19 |= 384;
                        } else if ((i14 & 384) == 0) {
                            i19 |= r10.m(j0Var) ? 256 : 128;
                            if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                                i19 |= 3072;
                            } else if ((i14 & 3072) == 0) {
                                i19 |= r10.m(lVar2) ? 2048 : 1024;
                                if ((i16 & 306783379) != 306783378 && (i19 & 1171) == 1170 && r10.v()) {
                                    r10.A();
                                    map4 = map2;
                                } else {
                                    Map i20 = i18 != 0 ? sm.q0.i() : map2;
                                    if (y0.p.H()) {
                                        y0.p.Q(645129368, i16, i19, "androidx.compose.foundation.text.LayoutWithLinksAndInlineContent (BasicText.kt:536)");
                                    }
                                    y0.q1 q1Var = null;
                                    if (q0.h.a(dVar)) {
                                        r10.S(-619323167);
                                        boolean z12 = (i16 & 112) == 32;
                                        Object f11 = r10.f();
                                        if (z12 || f11 == y0.m.f51621a.a()) {
                                            f11 = new d1(dVar);
                                            r10.I(f11);
                                        }
                                        r10.H();
                                        d1Var = (d1) f11;
                                    } else {
                                        r10.S(-619265198);
                                        r10.H();
                                        d1Var = null;
                                    }
                                    if (q0.h.a(dVar)) {
                                        r10.S(-619074547);
                                        boolean R = ((i16 & 112) == 32) | r10.R(d1Var);
                                        Object f12 = r10.f();
                                        if (R || f12 == y0.m.f51621a.a()) {
                                            f12 = new j(d1Var, dVar);
                                            r10.I(f12);
                                        }
                                        aVar = (dn.a) f12;
                                        r10.H();
                                    } else {
                                        r10.S(-618966357);
                                        boolean z13 = (i16 & 112) == 32;
                                        Object f13 = r10.f();
                                        if (z13 || f13 == y0.m.f51621a.a()) {
                                            f13 = new k(dVar);
                                            r10.I(f13);
                                        }
                                        aVar = (dn.a) f13;
                                        r10.H();
                                    }
                                    rm.v c10 = z10 ? l0.b.c(dVar, i20) : new rm.v(null, null);
                                    List list2 = (List) c10.a();
                                    list = (List) c10.b();
                                    if (z10) {
                                        r10.S(-618671702);
                                        Object f14 = r10.f();
                                        map3 = i20;
                                        if (f14 == y0.m.f51621a.a()) {
                                            lVar3 = null;
                                            f14 = s3.d(null, null, 2, null);
                                            r10.I(f14);
                                        } else {
                                            lVar3 = null;
                                        }
                                        q1Var = (y0.q1) f14;
                                        r10.H();
                                    } else {
                                        map3 = i20;
                                        lVar3 = null;
                                        r10.S(-618591630);
                                        r10.H();
                                    }
                                    if (z10) {
                                        r10.S(-618506565);
                                        boolean R2 = r10.R(q1Var);
                                        Object f15 = r10.f();
                                        if (R2 || f15 == y0.m.f51621a.a()) {
                                            f15 = new i(q1Var);
                                            r10.I(f15);
                                        }
                                        lVar3 = (dn.l) f15;
                                        r10.H();
                                    } else {
                                        r10.S(-618442830);
                                        r10.H();
                                    }
                                    l1.i c11 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
                                    q2.d dVar2 = (q2.d) aVar.invoke();
                                    m10 = r10.m(d1Var) | ((i16 & 896) == 256);
                                    f10 = r10.f();
                                    if (!m10 || f10 == y0.m.f51621a.a()) {
                                        f10 = new C0586d(d1Var, lVar);
                                        r10.I(f10);
                                    }
                                    l1.i j10 = j(c11, dVar2, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list2, lVar3, gVar, j0Var, lVar2);
                                    if (z10) {
                                        r10.S(-617202116);
                                        boolean m11 = r10.m(d1Var);
                                        Object f16 = r10.f();
                                        if (m11 || f16 == y0.m.f51621a.a()) {
                                            f16 = new f(d1Var);
                                            r10.I(f16);
                                        }
                                        dn.a aVar2 = (dn.a) f16;
                                        boolean R3 = r10.R(q1Var);
                                        Object f17 = r10.f();
                                        if (R3 || f17 == y0.m.f51621a.a()) {
                                            f17 = new g(q1Var);
                                            r10.I(f17);
                                        }
                                        f1Var = new f1(aVar2, (dn.a) f17);
                                        r10.H();
                                    } else {
                                        r10.S(-617362851);
                                        boolean m12 = r10.m(d1Var);
                                        Object f18 = r10.f();
                                        if (m12 || f18 == y0.m.f51621a.a()) {
                                            f18 = new e(d1Var);
                                            r10.I(f18);
                                        }
                                        f1Var = new b0((dn.a) f18);
                                        r10.H();
                                    }
                                    a10 = y0.j.a(r10, 0);
                                    y0.y D = r10.D();
                                    l1.i e10 = l1.h.e(r10, j10);
                                    g.a aVar3 = j2.g.f23616d;
                                    dn.a a12 = aVar3.a();
                                    if (!(r10.w() instanceof y0.f)) {
                                        y0.j.c();
                                    }
                                    r10.u();
                                    if (r10.n()) {
                                        r10.o(a12);
                                    } else {
                                        r10.F();
                                    }
                                    a11 = d4.a(r10);
                                    d4.b(a11, f1Var, aVar3.c());
                                    d4.b(a11, D, aVar3.e());
                                    dn.p b10 = aVar3.b();
                                    if (!a11.n() || !kotlin.jvm.internal.t.b(a11.f(), Integer.valueOf(a10))) {
                                        a11.I(Integer.valueOf(a10));
                                        a11.l(Integer.valueOf(a10), b10);
                                    }
                                    d4.b(a11, e10, aVar3.d());
                                    if (d1Var == null) {
                                        r10.S(-515480539);
                                        r10.H();
                                    } else {
                                        r10.S(537560924);
                                        d1Var.b(r10, 0);
                                        r10.H();
                                        rm.n0 n0Var = rm.n0.f34904a;
                                    }
                                    if (list == null) {
                                        r10.S(-515428893);
                                    } else {
                                        r10.S(-515428892);
                                        l0.b.a(dVar, list, r10, (i16 >> 3) & 14);
                                        rm.n0 n0Var2 = rm.n0.f34904a;
                                    }
                                    r10.H();
                                    r10.O();
                                    if (y0.p.H()) {
                                        y0.p.P();
                                    }
                                    map4 = map3;
                                }
                                y10 = r10.y();
                                if (y10 != null) {
                                    y10.a(new h(iVar, dVar, lVar, z10, map4, o0Var, i10, z11, i11, i12, bVar, gVar, j0Var, lVar2, i13, i14, i15));
                                    return;
                                }
                                return;
                            }
                            if ((i16 & 306783379) != 306783378) {
                            }
                            if (i18 != 0) {
                            }
                            if (y0.p.H()) {
                            }
                            y0.q1 q1Var2 = null;
                            if (q0.h.a(dVar)) {
                            }
                            if (q0.h.a(dVar)) {
                            }
                            if (z10) {
                            }
                            List list22 = (List) c10.a();
                            list = (List) c10.b();
                            if (z10) {
                            }
                            if (z10) {
                            }
                            l1.i c112 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
                            q2.d dVar22 = (q2.d) aVar.invoke();
                            m10 = r10.m(d1Var) | ((i16 & 896) == 256);
                            f10 = r10.f();
                            if (!m10) {
                            }
                            f10 = new C0586d(d1Var, lVar);
                            r10.I(f10);
                            l1.i j102 = j(c112, dVar22, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list22, lVar3, gVar, j0Var, lVar2);
                            if (z10) {
                            }
                            a10 = y0.j.a(r10, 0);
                            y0.y D2 = r10.D();
                            l1.i e102 = l1.h.e(r10, j102);
                            g.a aVar32 = j2.g.f23616d;
                            dn.a a122 = aVar32.a();
                            if (!(r10.w() instanceof y0.f)) {
                            }
                            r10.u();
                            if (r10.n()) {
                            }
                            a11 = d4.a(r10);
                            d4.b(a11, f1Var, aVar32.c());
                            d4.b(a11, D2, aVar32.e());
                            dn.p b102 = aVar32.b();
                            if (!a11.n()) {
                            }
                            a11.I(Integer.valueOf(a10));
                            a11.l(Integer.valueOf(a10), b102);
                            d4.b(a11, e102, aVar32.d());
                            if (d1Var == null) {
                            }
                            if (list == null) {
                            }
                            r10.H();
                            r10.O();
                            if (y0.p.H()) {
                            }
                            map4 = map3;
                            y10 = r10.y();
                            if (y10 != null) {
                            }
                        }
                        if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                        }
                        if ((i16 & 306783379) != 306783378) {
                        }
                        if (i18 != 0) {
                        }
                        if (y0.p.H()) {
                        }
                        y0.q1 q1Var22 = null;
                        if (q0.h.a(dVar)) {
                        }
                        if (q0.h.a(dVar)) {
                        }
                        if (z10) {
                        }
                        List list222 = (List) c10.a();
                        list = (List) c10.b();
                        if (z10) {
                        }
                        if (z10) {
                        }
                        l1.i c1122 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
                        q2.d dVar222 = (q2.d) aVar.invoke();
                        m10 = r10.m(d1Var) | ((i16 & 896) == 256);
                        f10 = r10.f();
                        if (!m10) {
                        }
                        f10 = new C0586d(d1Var, lVar);
                        r10.I(f10);
                        l1.i j1022 = j(c1122, dVar222, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list222, lVar3, gVar, j0Var, lVar2);
                        if (z10) {
                        }
                        a10 = y0.j.a(r10, 0);
                        y0.y D22 = r10.D();
                        l1.i e1022 = l1.h.e(r10, j1022);
                        g.a aVar322 = j2.g.f23616d;
                        dn.a a1222 = aVar322.a();
                        if (!(r10.w() instanceof y0.f)) {
                        }
                        r10.u();
                        if (r10.n()) {
                        }
                        a11 = d4.a(r10);
                        d4.b(a11, f1Var, aVar322.c());
                        d4.b(a11, D22, aVar322.e());
                        dn.p b1022 = aVar322.b();
                        if (!a11.n()) {
                        }
                        a11.I(Integer.valueOf(a10));
                        a11.l(Integer.valueOf(a10), b1022);
                        d4.b(a11, e1022, aVar322.d());
                        if (d1Var == null) {
                        }
                        if (list == null) {
                        }
                        r10.H();
                        r10.O();
                        if (y0.p.H()) {
                        }
                        map4 = map3;
                        y10 = r10.y();
                        if (y10 != null) {
                        }
                    }
                    if ((i15 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0) {
                    }
                    if ((i15 & 2048) != 0) {
                    }
                    int i192 = i17;
                    if ((i15 & 4096) != 0) {
                    }
                    if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                    }
                    if ((i16 & 306783379) != 306783378) {
                    }
                    if (i18 != 0) {
                    }
                    if (y0.p.H()) {
                    }
                    y0.q1 q1Var222 = null;
                    if (q0.h.a(dVar)) {
                    }
                    if (q0.h.a(dVar)) {
                    }
                    if (z10) {
                    }
                    List list2222 = (List) c10.a();
                    list = (List) c10.b();
                    if (z10) {
                    }
                    if (z10) {
                    }
                    l1.i c11222 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
                    q2.d dVar2222 = (q2.d) aVar.invoke();
                    m10 = r10.m(d1Var) | ((i16 & 896) == 256);
                    f10 = r10.f();
                    if (!m10) {
                    }
                    f10 = new C0586d(d1Var, lVar);
                    r10.I(f10);
                    l1.i j10222 = j(c11222, dVar2222, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list2222, lVar3, gVar, j0Var, lVar2);
                    if (z10) {
                    }
                    a10 = y0.j.a(r10, 0);
                    y0.y D222 = r10.D();
                    l1.i e10222 = l1.h.e(r10, j10222);
                    g.a aVar3222 = j2.g.f23616d;
                    dn.a a12222 = aVar3222.a();
                    if (!(r10.w() instanceof y0.f)) {
                    }
                    r10.u();
                    if (r10.n()) {
                    }
                    a11 = d4.a(r10);
                    d4.b(a11, f1Var, aVar3222.c());
                    d4.b(a11, D222, aVar3222.e());
                    dn.p b10222 = aVar3222.b();
                    if (!a11.n()) {
                    }
                    a11.I(Integer.valueOf(a10));
                    a11.l(Integer.valueOf(a10), b10222);
                    d4.b(a11, e10222, aVar3222.d());
                    if (d1Var == null) {
                    }
                    if (list == null) {
                    }
                    r10.H();
                    r10.O();
                    if (y0.p.H()) {
                    }
                    map4 = map3;
                    y10 = r10.y();
                    if (y10 != null) {
                    }
                }
                if ((i15 & 512) == 0) {
                }
                if ((i15 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0) {
                }
                if ((i15 & 2048) != 0) {
                }
                int i1922 = i17;
                if ((i15 & 4096) != 0) {
                }
                if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                }
                if ((i16 & 306783379) != 306783378) {
                }
                if (i18 != 0) {
                }
                if (y0.p.H()) {
                }
                y0.q1 q1Var2222 = null;
                if (q0.h.a(dVar)) {
                }
                if (q0.h.a(dVar)) {
                }
                if (z10) {
                }
                List list22222 = (List) c10.a();
                list = (List) c10.b();
                if (z10) {
                }
                if (z10) {
                }
                l1.i c112222 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
                q2.d dVar22222 = (q2.d) aVar.invoke();
                m10 = r10.m(d1Var) | ((i16 & 896) == 256);
                f10 = r10.f();
                if (!m10) {
                }
                f10 = new C0586d(d1Var, lVar);
                r10.I(f10);
                l1.i j102222 = j(c112222, dVar22222, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list22222, lVar3, gVar, j0Var, lVar2);
                if (z10) {
                }
                a10 = y0.j.a(r10, 0);
                y0.y D2222 = r10.D();
                l1.i e102222 = l1.h.e(r10, j102222);
                g.a aVar32222 = j2.g.f23616d;
                dn.a a122222 = aVar32222.a();
                if (!(r10.w() instanceof y0.f)) {
                }
                r10.u();
                if (r10.n()) {
                }
                a11 = d4.a(r10);
                d4.b(a11, f1Var, aVar32222.c());
                d4.b(a11, D2222, aVar32222.e());
                dn.p b102222 = aVar32222.b();
                if (!a11.n()) {
                }
                a11.I(Integer.valueOf(a10));
                a11.l(Integer.valueOf(a10), b102222);
                d4.b(a11, e102222, aVar32222.d());
                if (d1Var == null) {
                }
                if (list == null) {
                }
                r10.H();
                r10.O();
                if (y0.p.H()) {
                }
                map4 = map3;
                y10 = r10.y();
                if (y10 != null) {
                }
            }
            if ((i15 & 256) != 0) {
            }
            if ((i15 & 512) == 0) {
            }
            if ((i15 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0) {
            }
            if ((i15 & 2048) != 0) {
            }
            int i19222 = i17;
            if ((i15 & 4096) != 0) {
            }
            if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
            }
            if ((i16 & 306783379) != 306783378) {
            }
            if (i18 != 0) {
            }
            if (y0.p.H()) {
            }
            y0.q1 q1Var22222 = null;
            if (q0.h.a(dVar)) {
            }
            if (q0.h.a(dVar)) {
            }
            if (z10) {
            }
            List list222222 = (List) c10.a();
            list = (List) c10.b();
            if (z10) {
            }
            if (z10) {
            }
            l1.i c1122222 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
            q2.d dVar222222 = (q2.d) aVar.invoke();
            m10 = r10.m(d1Var) | ((i16 & 896) == 256);
            f10 = r10.f();
            if (!m10) {
            }
            f10 = new C0586d(d1Var, lVar);
            r10.I(f10);
            l1.i j1022222 = j(c1122222, dVar222222, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list222222, lVar3, gVar, j0Var, lVar2);
            if (z10) {
            }
            a10 = y0.j.a(r10, 0);
            y0.y D22222 = r10.D();
            l1.i e1022222 = l1.h.e(r10, j1022222);
            g.a aVar322222 = j2.g.f23616d;
            dn.a a1222222 = aVar322222.a();
            if (!(r10.w() instanceof y0.f)) {
            }
            r10.u();
            if (r10.n()) {
            }
            a11 = d4.a(r10);
            d4.b(a11, f1Var, aVar322222.c());
            d4.b(a11, D22222, aVar322222.e());
            dn.p b1022222 = aVar322222.b();
            if (!a11.n()) {
            }
            a11.I(Integer.valueOf(a10));
            a11.l(Integer.valueOf(a10), b1022222);
            d4.b(a11, e1022222, aVar322222.d());
            if (d1Var == null) {
            }
            if (list == null) {
            }
            r10.H();
            r10.O();
            if (y0.p.H()) {
            }
            map4 = map3;
            y10 = r10.y();
            if (y10 != null) {
            }
        }
        map2 = map;
        if ((i15 & 32) == 0) {
        }
        if ((i15 & 64) == 0) {
        }
        if ((i15 & 128) == 0) {
        }
        if ((i15 & 256) != 0) {
        }
        if ((i15 & 512) == 0) {
        }
        if ((i15 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0) {
        }
        if ((i15 & 2048) != 0) {
        }
        int i192222 = i17;
        if ((i15 & 4096) != 0) {
        }
        if ((i15 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
        }
        if ((i16 & 306783379) != 306783378) {
        }
        if (i18 != 0) {
        }
        if (y0.p.H()) {
        }
        y0.q1 q1Var222222 = null;
        if (q0.h.a(dVar)) {
        }
        if (q0.h.a(dVar)) {
        }
        if (z10) {
        }
        List list2222222 = (List) c10.a();
        list = (List) c10.b();
        if (z10) {
        }
        if (z10) {
        }
        l1.i c11222222 = androidx.compose.ui.graphics.b.c(iVar, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0L, null, false, null, 0L, 0L, 0, 131071, null);
        q2.d dVar2222222 = (q2.d) aVar.invoke();
        m10 = r10.m(d1Var) | ((i16 & 896) == 256);
        f10 = r10.f();
        if (!m10) {
        }
        f10 = new C0586d(d1Var, lVar);
        r10.I(f10);
        l1.i j10222222 = j(c11222222, dVar2222222, o0Var, (dn.l) f10, i10, z11, i11, i12, bVar, list2222222, lVar3, gVar, j0Var, lVar2);
        if (z10) {
        }
        a10 = y0.j.a(r10, 0);
        y0.y D222222 = r10.D();
        l1.i e10222222 = l1.h.e(r10, j10222222);
        g.a aVar3222222 = j2.g.f23616d;
        dn.a a12222222 = aVar3222222.a();
        if (!(r10.w() instanceof y0.f)) {
        }
        r10.u();
        if (r10.n()) {
        }
        a11 = d4.a(r10);
        d4.b(a11, f1Var, aVar3222222.c());
        d4.b(a11, D222222, aVar3222222.e());
        dn.p b10222222 = aVar3222222.b();
        if (!a11.n()) {
        }
        a11.I(Integer.valueOf(a10));
        a11.l(Integer.valueOf(a10), b10222222);
        d4.b(a11, e10222222, aVar3222222.d());
        if (d1Var == null) {
        }
        if (list == null) {
        }
        r10.H();
        r10.O();
        if (y0.p.H()) {
        }
        map4 = map3;
        y10 = r10.y();
        if (y10 != null) {
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final List i(List list, dn.a aVar) {
        if (!((Boolean) aVar.invoke()).booleanValue()) {
            return null;
        }
        i1 i1Var = new i1();
        ArrayList arrayList = new ArrayList(list.size());
        int size = list.size();
        for (int i10 = 0; i10 < size; i10++) {
            h2.d0 d0Var = (h2.d0) list.get(i10);
            Object p10 = d0Var.p();
            kotlin.jvm.internal.t.e(p10, "null cannot be cast to non-null type androidx.compose.foundation.text.TextRangeLayoutModifier");
            h1 a10 = ((j1) p10).c().a(i1Var);
            arrayList.add(new rm.v(d0Var.Y(c3.b.f7403b.b(a10.c(), a10.c(), a10.a(), a10.a())), a10.b()));
        }
        return arrayList;
    }

    private static final l1.i j(l1.i iVar, q2.d dVar, q2.o0 o0Var, dn.l lVar, int i10, boolean z10, int i11, int i12, i.b bVar, List list, dn.l lVar2, q0.g gVar, s1.j0 j0Var, dn.l lVar3) {
        if (gVar == null) {
            return iVar.f(l1.i.f27362a).f(new TextAnnotatedStringElement(dVar, o0Var, bVar, lVar, i10, z10, i11, i12, list, lVar2, null, j0Var, lVar3, null));
        }
        return iVar.f(gVar.e()).f(new SelectableTextAnnotatedStringElement(dVar, o0Var, bVar, lVar, i10, z10, i11, i12, list, lVar2, gVar, j0Var, null));
    }
}
