package h0;

import c0.j;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import h0.g;
import l1.c;
import net.sqlcipher.database.SQLiteDatabase;
import rm.n0;
import tp.m0;
import y0.l2;
import y0.x2;

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

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public static final class a extends kotlin.jvm.internal.v implements dn.p {
        final /* synthetic */ c2.a A;
        final /* synthetic */ c0.j B;
        final /* synthetic */ dn.r C;
        final /* synthetic */ int D;
        final /* synthetic */ int E;
        final /* synthetic */ int F;

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

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

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ e0.w f20553r;

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

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

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

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ c.InterfaceC0608c f20557v;

        /* renamed from: w, reason: collision with root package name */
        final /* synthetic */ b0.b0 f20558w;

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(c0 c0Var, l1.i iVar, e0.w wVar, g gVar, int i10, float f10, c.InterfaceC0608c interfaceC0608c, b0.b0 b0Var, boolean z10, boolean z11, dn.l lVar, c2.a aVar, c0.j jVar, dn.r rVar, int i11, int i12, int i13) {
            super(2);
            this.f20551p = c0Var;
            this.f20552q = iVar;
            this.f20553r = wVar;
            this.f20554s = gVar;
            this.f20555t = i10;
            this.f20556u = f10;
            this.f20557v = interfaceC0608c;
            this.f20558w = b0Var;
            this.f20559x = z10;
            this.f20560y = z11;
            this.f20561z = lVar;
            this.A = aVar;
            this.B = jVar;
            this.C = rVar;
            this.D = i11;
            this.E = i12;
            this.F = i13;
        }

        public final void a(y0.m mVar, int i10) {
            m.a(this.f20551p, this.f20552q, this.f20553r, this.f20554s, this.f20555t, this.f20556u, this.f20557v, this.f20558w, this.f20559x, this.f20560y, this.f20561z, 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 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 */ boolean f20562p;

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

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

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

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(c0 c0Var, m0 m0Var) {
                super(0);
                this.f20565p = c0Var;
                this.f20566q = m0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                return Boolean.valueOf(m.f(this.f20565p, this.f20566q));
            }
        }

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

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            C0446b(c0 c0Var, m0 m0Var) {
                super(0);
                this.f20567p = c0Var;
                this.f20568q = m0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                return Boolean.valueOf(m.g(this.f20567p, this.f20568q));
            }
        }

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

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            c(c0 c0Var, m0 m0Var) {
                super(0);
                this.f20569p = c0Var;
                this.f20570q = m0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                return Boolean.valueOf(m.f(this.f20569p, this.f20570q));
            }
        }

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

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            d(c0 c0Var, m0 m0Var) {
                super(0);
                this.f20571p = c0Var;
                this.f20572q = m0Var;
            }

            @Override // dn.a
            public final Boolean invoke() {
                return Boolean.valueOf(m.g(this.f20571p, this.f20572q));
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(boolean z10, c0 c0Var, m0 m0Var) {
            super(1);
            this.f20562p = z10;
            this.f20563q = c0Var;
            this.f20564r = m0Var;
        }

        public final void a(o2.u uVar) {
            if (this.f20562p) {
                o2.s.J(uVar, null, new a(this.f20563q, this.f20564r), 1, null);
                o2.s.D(uVar, null, new C0446b(this.f20563q, this.f20564r), 1, null);
            } else {
                o2.s.F(uVar, null, new c(this.f20563q, this.f20564r), 1, null);
                o2.s.H(uVar, null, new d(this.f20563q, this.f20564r), 1, null);
            }
        }

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(c0 c0Var, vm.d dVar) {
            super(2, dVar);
            this.f20574q = c0Var;
        }

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

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(c0 c0Var, vm.d dVar) {
            super(2, dVar);
            this.f20576q = c0Var;
        }

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

        @Override // kotlin.coroutines.jvm.internal.a
        public final Object invokeSuspend(Object obj) {
            Object f10;
            f10 = wm.d.f();
            int i10 = this.f20575p;
            if (i10 == 0) {
                rm.y.b(obj);
                c0 c0Var = this.f20576q;
                this.f20575p = 1;
                if (d0.e(c0Var, this) == f10) {
                    return f10;
                }
            } else {
                if (i10 != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                rm.y.b(obj);
            }
            return n0.f34904a;
        }

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

    /* JADX WARN: Removed duplicated region for block: B:100:0x0254  */
    /* JADX WARN: Removed duplicated region for block: B:102:0x0260  */
    /* JADX WARN: Removed duplicated region for block: B:105:0x026f  */
    /* JADX WARN: Removed duplicated region for block: B:107:0x02a1  */
    /* JADX WARN: Removed duplicated region for block: B:109:0x02a8  */
    /* JADX WARN: Removed duplicated region for block: B:10:0x0048  */
    /* JADX WARN: Removed duplicated region for block: B:111:0x02ac  */
    /* JADX WARN: Removed duplicated region for block: B:114:0x02b4  */
    /* JADX WARN: Removed duplicated region for block: B:116:0x02c9  */
    /* JADX WARN: Removed duplicated region for block: B:118:0x02d5  */
    /* JADX WARN: Removed duplicated region for block: B:119:0x02c3  */
    /* JADX WARN: Removed duplicated region for block: B:120:0x02ae  */
    /* JADX WARN: Removed duplicated region for block: B:121:0x02a3  */
    /* JADX WARN: Removed duplicated region for block: B:122:0x0294  */
    /* JADX WARN: Removed duplicated region for block: B:123:0x0269  */
    /* JADX WARN: Removed duplicated region for block: B:124:0x025c  */
    /* JADX WARN: Removed duplicated region for block: B:125:0x0250  */
    /* JADX WARN: Removed duplicated region for block: B:126:0x0249  */
    /* JADX WARN: Removed duplicated region for block: B:127:0x0240  */
    /* JADX WARN: Removed duplicated region for block: B:128:0x022f  */
    /* JADX WARN: Removed duplicated region for block: B:129:0x01a7  */
    /* JADX WARN: Removed duplicated region for block: B:135:0x018a  */
    /* JADX WARN: Removed duplicated region for block: B:144:0x017d  */
    /* JADX WARN: Removed duplicated region for block: B:145:0x014b  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0069  */
    /* JADX WARN: Removed duplicated region for block: B:153:0x0126  */
    /* JADX WARN: Removed duplicated region for block: B:162:0x0104  */
    /* JADX WARN: Removed duplicated region for block: B:171:0x00f7  */
    /* JADX WARN: Removed duplicated region for block: B:172:0x00c8  */
    /* JADX WARN: Removed duplicated region for block: B:179:0x00aa  */
    /* JADX WARN: Removed duplicated region for block: B:186:0x0089  */
    /* JADX WARN: Removed duplicated region for block: B:18:0x0086  */
    /* JADX WARN: Removed duplicated region for block: B:193:0x006c  */
    /* JADX WARN: Removed duplicated region for block: B:200:0x004b  */
    /* JADX WARN: Removed duplicated region for block: B:22:0x00a5  */
    /* JADX WARN: Removed duplicated region for block: B:25:0x00c3  */
    /* JADX WARN: Removed duplicated region for block: B:28:0x00e1  */
    /* JADX WARN: Removed duplicated region for block: B:36:0x00ff  */
    /* JADX WARN: Removed duplicated region for block: B:39:0x011d  */
    /* JADX WARN: Removed duplicated region for block: B:42:0x0146  */
    /* JADX WARN: Removed duplicated region for block: B:45:0x0165  */
    /* JADX WARN: Removed duplicated region for block: B:53:0x0187  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x01a4  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x01c4  */
    /* JADX WARN: Removed duplicated region for block: B:68:0x039f  */
    /* JADX WARN: Removed duplicated region for block: B:71:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:74:0x01f3  */
    /* JADX WARN: Removed duplicated region for block: B:85:0x02f9  */
    /* JADX WARN: Removed duplicated region for block: B:88:0x037e  */
    /* JADX WARN: Removed duplicated region for block: B:91:0x022a  */
    /* JADX WARN: Removed duplicated region for block: B:94:0x0234  */
    /* JADX WARN: Removed duplicated region for block: B:96:0x0244  */
    /* JADX WARN: Removed duplicated region for block: B:98:0x024d  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(c0 c0Var, l1.i iVar, e0.w wVar, g gVar, int i10, float f10, c.InterfaceC0608c interfaceC0608c, b0.b0 b0Var, boolean z10, boolean z11, dn.l lVar, c2.a aVar, c0.j jVar, dn.r rVar, y0.m mVar, int i11, int i12, int i13) {
        int i14;
        l1.i iVar2;
        int i15;
        int i16;
        int i17;
        int i18;
        int i19;
        float f11;
        int i20;
        b0.b0 b0Var2;
        int i21;
        int i22;
        int i23;
        int i24;
        int i25;
        int i26;
        int i27;
        int i28;
        int i29;
        boolean z12;
        int i30;
        int i31;
        int i32;
        b0.b0 b0Var3;
        c2.a aVar2;
        int i33;
        c0.j jVar2;
        b0.b0 b0Var4;
        boolean z13;
        c2.a aVar3;
        g gVar2;
        int i34;
        c.InterfaceC0608c interfaceC0608c2;
        boolean z14;
        int i35;
        dn.l lVar2;
        e0.w wVar2;
        float f12;
        l1.i iVar3;
        y0.m mVar2;
        l1.i iVar4;
        e0.w wVar3;
        g gVar3;
        int i36;
        float f13;
        c.InterfaceC0608c interfaceC0608c3;
        b0.b0 b0Var5;
        boolean z15;
        boolean z16;
        dn.l lVar3;
        c2.a aVar4;
        c0.j jVar3;
        x2 y10;
        int i37;
        int i38;
        y0.m r10 = mVar.r(1870896258);
        if ((i13 & 1) != 0) {
            i14 = i11 | 6;
        } else if ((i11 & 6) == 0) {
            i14 = (r10.R(c0Var) ? 4 : 2) | i11;
        } else {
            i14 = i11;
        }
        int i39 = i13 & 2;
        if (i39 != 0) {
            i14 |= 48;
        } else if ((i11 & 48) == 0) {
            iVar2 = iVar;
            i14 |= r10.R(iVar2) ? 32 : 16;
            i15 = i13 & 4;
            if (i15 == 0) {
                i14 |= 384;
            } else if ((i11 & 384) == 0) {
                i14 |= r10.R(wVar) ? 256 : 128;
                i16 = i13 & 8;
                int i40 = UserMetadata.MAX_ATTRIBUTE_SIZE;
                if (i16 != 0) {
                    i14 |= 3072;
                } else if ((i11 & 3072) == 0) {
                    i14 |= r10.R(gVar) ? 2048 : 1024;
                    i17 = i13 & 16;
                    if (i17 == 0) {
                        i14 |= 24576;
                    } else if ((i11 & 24576) == 0) {
                        i18 = i10;
                        i14 |= r10.i(i18) ? 16384 : UserMetadata.MAX_INTERNAL_KEY_SIZE;
                        i19 = i13 & 32;
                        if (i19 != 0) {
                            i14 |= 196608;
                            f11 = f10;
                        } else {
                            f11 = f10;
                            if ((i11 & 196608) == 0) {
                                i14 |= r10.h(f11) ? 131072 : 65536;
                            }
                        }
                        i20 = i13 & 64;
                        if (i20 != 0) {
                            i14 |= 1572864;
                        } else if ((i11 & 1572864) == 0) {
                            i14 |= r10.R(interfaceC0608c) ? 1048576 : 524288;
                        }
                        if ((i11 & 12582912) == 0) {
                            if ((i13 & 128) == 0) {
                                b0Var2 = b0Var;
                                if (r10.R(b0Var2)) {
                                    i38 = 8388608;
                                    i14 |= i38;
                                }
                            } else {
                                b0Var2 = b0Var;
                            }
                            i38 = 4194304;
                            i14 |= i38;
                        } else {
                            b0Var2 = b0Var;
                        }
                        i21 = i13 & 256;
                        if (i21 != 0) {
                            i14 |= 100663296;
                        } else if ((i11 & 100663296) == 0) {
                            i14 |= r10.c(z10) ? 67108864 : 33554432;
                        }
                        i22 = i13 & 512;
                        if (i22 != 0) {
                            i24 = i14 | 805306368;
                            i23 = i22;
                        } else {
                            if ((i11 & 805306368) == 0) {
                                i23 = i22;
                                i14 |= r10.c(z11) ? 536870912 : SQLiteDatabase.CREATE_IF_NECESSARY;
                            } else {
                                i23 = i22;
                            }
                            i24 = i14;
                        }
                        i25 = i13 & UserMetadata.MAX_ATTRIBUTE_SIZE;
                        if (i25 != 0) {
                            i26 = i12 | 6;
                        } else if ((i12 & 6) == 0) {
                            i26 = i12 | (r10.m(lVar) ? 4 : 2);
                        } else {
                            i26 = i12;
                        }
                        if ((i12 & 48) == 0) {
                            i27 = i25;
                            if ((i13 & 2048) == 0 && r10.m(aVar)) {
                                i37 = 32;
                                i26 |= i37;
                            }
                            i37 = 16;
                            i26 |= i37;
                        } else {
                            i27 = i25;
                        }
                        int i41 = i26;
                        i28 = i13 & 4096;
                        if (i28 != 0) {
                            i41 |= 384;
                        } else if ((i12 & 384) == 0) {
                            i41 |= r10.R(jVar) ? 256 : 128;
                            if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                                i41 |= 3072;
                            } else if ((i12 & 3072) == 0) {
                                if (r10.m(rVar)) {
                                    i40 = 2048;
                                }
                                i41 |= i40;
                                if ((i24 & 306783379) != 306783378 && (i41 & 1171) == 1170 && r10.v()) {
                                    r10.A();
                                    wVar3 = wVar;
                                    interfaceC0608c3 = interfaceC0608c;
                                    z15 = z10;
                                    lVar3 = lVar;
                                    jVar3 = jVar;
                                    iVar4 = iVar2;
                                    mVar2 = r10;
                                    b0Var5 = b0Var2;
                                    z16 = z11;
                                    aVar4 = aVar;
                                    f13 = f11;
                                    i36 = i18;
                                    gVar3 = gVar;
                                } else {
                                    r10.q();
                                    if ((i11 & 1) != 0 || r10.E()) {
                                        l1.i iVar5 = i39 != 0 ? l1.i.f27362a : iVar2;
                                        e0.w a10 = i15 != 0 ? androidx.compose.foundation.layout.l.a(c3.h.t(0)) : wVar;
                                        g gVar4 = i16 != 0 ? g.a.f20539a : gVar;
                                        int i42 = i17 != 0 ? 0 : i18;
                                        float t10 = i19 != 0 ? c3.h.t(0) : f11;
                                        c.InterfaceC0608c i43 = i20 != 0 ? l1.c.f27332a.i() : interfaceC0608c;
                                        if ((i13 & 128) != 0) {
                                            i29 = i41;
                                            i32 = i27;
                                            z12 = false;
                                            i30 = i28;
                                            i31 = i23;
                                            b0Var3 = k.f20545a.a(c0Var, null, null, null, BitmapDescriptorFactory.HUE_RED, r10, (i24 & 14) | 196608, 30);
                                            i24 &= -29360129;
                                        } else {
                                            i29 = i41;
                                            z12 = false;
                                            i30 = i28;
                                            i31 = i23;
                                            i32 = i27;
                                            b0Var3 = b0Var2;
                                        }
                                        boolean z17 = i21 != 0 ? true : z10;
                                        if (i31 == 0) {
                                            z12 = z11;
                                        }
                                        dn.l lVar4 = i32 != 0 ? null : lVar;
                                        if ((i13 & 2048) != 0) {
                                            aVar2 = k.f20545a.b(c0Var, b0.q.Horizontal, r10, (i24 & 14) | 432);
                                            i33 = i29 & (-113);
                                        } else {
                                            aVar2 = aVar;
                                            i33 = i29;
                                        }
                                        if (i30 != 0) {
                                            b0Var4 = b0Var3;
                                            z13 = z17;
                                            aVar3 = aVar2;
                                            i41 = i33;
                                            jVar2 = j.a.f7340a;
                                        } else {
                                            jVar2 = jVar;
                                            b0Var4 = b0Var3;
                                            z13 = z17;
                                            aVar3 = aVar2;
                                            i41 = i33;
                                        }
                                        gVar2 = gVar4;
                                        i34 = i42;
                                        interfaceC0608c2 = i43;
                                        z14 = z12;
                                        i35 = i24;
                                        lVar2 = lVar4;
                                        wVar2 = a10;
                                        f12 = t10;
                                        iVar3 = iVar5;
                                    } else {
                                        r10.A();
                                        if ((i13 & 128) != 0) {
                                            i24 &= -29360129;
                                        }
                                        if ((i13 & 2048) != 0) {
                                            i41 &= -113;
                                        }
                                        wVar2 = wVar;
                                        gVar2 = gVar;
                                        interfaceC0608c2 = interfaceC0608c;
                                        z13 = z10;
                                        z14 = z11;
                                        aVar3 = aVar;
                                        jVar2 = jVar;
                                        i34 = i18;
                                        f12 = f11;
                                        iVar3 = iVar2;
                                        b0Var4 = b0Var2;
                                        i35 = i24;
                                        lVar2 = lVar;
                                    }
                                    r10.P();
                                    if (y0.p.H()) {
                                        y0.p.Q(1870896258, i35, i41, "androidx.compose.foundation.pager.HorizontalPager (Pager.kt:124)");
                                    }
                                    int i44 = i35 >> 6;
                                    int i45 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i44) | (i44 & 3670016);
                                    int i46 = i35 << 9;
                                    int i47 = i45 | (29360128 & i46) | (i46 & 234881024) | ((i35 << 18) & 1879048192);
                                    int i48 = ((i35 >> 9) & 7168) | ((i41 >> 3) & 14) | 384 | ((i41 << 3) & 112);
                                    int i49 = i41 << 6;
                                    mVar2 = r10;
                                    h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i47, i48 | (57344 & i49) | (i49 & 458752), 0);
                                    if (y0.p.H()) {
                                        y0.p.P();
                                    }
                                    iVar4 = iVar3;
                                    wVar3 = wVar2;
                                    gVar3 = gVar2;
                                    i36 = i34;
                                    f13 = f12;
                                    interfaceC0608c3 = interfaceC0608c2;
                                    b0Var5 = b0Var4;
                                    z15 = z13;
                                    z16 = z14;
                                    lVar3 = lVar2;
                                    aVar4 = aVar3;
                                    jVar3 = jVar2;
                                }
                                y10 = mVar2.y();
                                if (y10 != null) {
                                    y10.a(new a(c0Var, iVar4, wVar3, gVar3, i36, f13, interfaceC0608c3, b0Var5, z15, z16, lVar3, aVar4, jVar3, rVar, i11, i12, i13));
                                    return;
                                }
                                return;
                            }
                            if ((i24 & 306783379) != 306783378) {
                            }
                            r10.q();
                            if ((i11 & 1) != 0) {
                            }
                            if (i39 != 0) {
                            }
                            if (i15 != 0) {
                            }
                            if (i16 != 0) {
                            }
                            if (i17 != 0) {
                            }
                            if (i19 != 0) {
                            }
                            if (i20 != 0) {
                            }
                            if ((i13 & 128) != 0) {
                            }
                            if (i21 != 0) {
                            }
                            if (i31 == 0) {
                            }
                            if (i32 != 0) {
                            }
                            if ((i13 & 2048) != 0) {
                            }
                            if (i30 != 0) {
                            }
                            gVar2 = gVar4;
                            i34 = i42;
                            interfaceC0608c2 = i43;
                            z14 = z12;
                            i35 = i24;
                            lVar2 = lVar4;
                            wVar2 = a10;
                            f12 = t10;
                            iVar3 = iVar5;
                            r10.P();
                            if (y0.p.H()) {
                            }
                            int i442 = i35 >> 6;
                            int i452 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i442) | (i442 & 3670016);
                            int i462 = i35 << 9;
                            int i472 = i452 | (29360128 & i462) | (i462 & 234881024) | ((i35 << 18) & 1879048192);
                            int i482 = ((i35 >> 9) & 7168) | ((i41 >> 3) & 14) | 384 | ((i41 << 3) & 112);
                            int i492 = i41 << 6;
                            mVar2 = r10;
                            h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i472, i482 | (57344 & i492) | (i492 & 458752), 0);
                            if (y0.p.H()) {
                            }
                            iVar4 = iVar3;
                            wVar3 = wVar2;
                            gVar3 = gVar2;
                            i36 = i34;
                            f13 = f12;
                            interfaceC0608c3 = interfaceC0608c2;
                            b0Var5 = b0Var4;
                            z15 = z13;
                            z16 = z14;
                            lVar3 = lVar2;
                            aVar4 = aVar3;
                            jVar3 = jVar2;
                            y10 = mVar2.y();
                            if (y10 != null) {
                            }
                        }
                        if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                        }
                        if ((i24 & 306783379) != 306783378) {
                        }
                        r10.q();
                        if ((i11 & 1) != 0) {
                        }
                        if (i39 != 0) {
                        }
                        if (i15 != 0) {
                        }
                        if (i16 != 0) {
                        }
                        if (i17 != 0) {
                        }
                        if (i19 != 0) {
                        }
                        if (i20 != 0) {
                        }
                        if ((i13 & 128) != 0) {
                        }
                        if (i21 != 0) {
                        }
                        if (i31 == 0) {
                        }
                        if (i32 != 0) {
                        }
                        if ((i13 & 2048) != 0) {
                        }
                        if (i30 != 0) {
                        }
                        gVar2 = gVar4;
                        i34 = i42;
                        interfaceC0608c2 = i43;
                        z14 = z12;
                        i35 = i24;
                        lVar2 = lVar4;
                        wVar2 = a10;
                        f12 = t10;
                        iVar3 = iVar5;
                        r10.P();
                        if (y0.p.H()) {
                        }
                        int i4422 = i35 >> 6;
                        int i4522 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i4422) | (i4422 & 3670016);
                        int i4622 = i35 << 9;
                        int i4722 = i4522 | (29360128 & i4622) | (i4622 & 234881024) | ((i35 << 18) & 1879048192);
                        int i4822 = ((i35 >> 9) & 7168) | ((i41 >> 3) & 14) | 384 | ((i41 << 3) & 112);
                        int i4922 = i41 << 6;
                        mVar2 = r10;
                        h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i4722, i4822 | (57344 & i4922) | (i4922 & 458752), 0);
                        if (y0.p.H()) {
                        }
                        iVar4 = iVar3;
                        wVar3 = wVar2;
                        gVar3 = gVar2;
                        i36 = i34;
                        f13 = f12;
                        interfaceC0608c3 = interfaceC0608c2;
                        b0Var5 = b0Var4;
                        z15 = z13;
                        z16 = z14;
                        lVar3 = lVar2;
                        aVar4 = aVar3;
                        jVar3 = jVar2;
                        y10 = mVar2.y();
                        if (y10 != null) {
                        }
                    }
                    i18 = i10;
                    i19 = i13 & 32;
                    if (i19 != 0) {
                    }
                    i20 = i13 & 64;
                    if (i20 != 0) {
                    }
                    if ((i11 & 12582912) == 0) {
                    }
                    i21 = i13 & 256;
                    if (i21 != 0) {
                    }
                    i22 = i13 & 512;
                    if (i22 != 0) {
                    }
                    i25 = i13 & UserMetadata.MAX_ATTRIBUTE_SIZE;
                    if (i25 != 0) {
                    }
                    if ((i12 & 48) == 0) {
                    }
                    int i412 = i26;
                    i28 = i13 & 4096;
                    if (i28 != 0) {
                    }
                    if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                    }
                    if ((i24 & 306783379) != 306783378) {
                    }
                    r10.q();
                    if ((i11 & 1) != 0) {
                    }
                    if (i39 != 0) {
                    }
                    if (i15 != 0) {
                    }
                    if (i16 != 0) {
                    }
                    if (i17 != 0) {
                    }
                    if (i19 != 0) {
                    }
                    if (i20 != 0) {
                    }
                    if ((i13 & 128) != 0) {
                    }
                    if (i21 != 0) {
                    }
                    if (i31 == 0) {
                    }
                    if (i32 != 0) {
                    }
                    if ((i13 & 2048) != 0) {
                    }
                    if (i30 != 0) {
                    }
                    gVar2 = gVar4;
                    i34 = i42;
                    interfaceC0608c2 = i43;
                    z14 = z12;
                    i35 = i24;
                    lVar2 = lVar4;
                    wVar2 = a10;
                    f12 = t10;
                    iVar3 = iVar5;
                    r10.P();
                    if (y0.p.H()) {
                    }
                    int i44222 = i35 >> 6;
                    int i45222 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i44222) | (i44222 & 3670016);
                    int i46222 = i35 << 9;
                    int i47222 = i45222 | (29360128 & i46222) | (i46222 & 234881024) | ((i35 << 18) & 1879048192);
                    int i48222 = ((i35 >> 9) & 7168) | ((i412 >> 3) & 14) | 384 | ((i412 << 3) & 112);
                    int i49222 = i412 << 6;
                    mVar2 = r10;
                    h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i47222, i48222 | (57344 & i49222) | (i49222 & 458752), 0);
                    if (y0.p.H()) {
                    }
                    iVar4 = iVar3;
                    wVar3 = wVar2;
                    gVar3 = gVar2;
                    i36 = i34;
                    f13 = f12;
                    interfaceC0608c3 = interfaceC0608c2;
                    b0Var5 = b0Var4;
                    z15 = z13;
                    z16 = z14;
                    lVar3 = lVar2;
                    aVar4 = aVar3;
                    jVar3 = jVar2;
                    y10 = mVar2.y();
                    if (y10 != null) {
                    }
                }
                i17 = i13 & 16;
                if (i17 == 0) {
                }
                i18 = i10;
                i19 = i13 & 32;
                if (i19 != 0) {
                }
                i20 = i13 & 64;
                if (i20 != 0) {
                }
                if ((i11 & 12582912) == 0) {
                }
                i21 = i13 & 256;
                if (i21 != 0) {
                }
                i22 = i13 & 512;
                if (i22 != 0) {
                }
                i25 = i13 & UserMetadata.MAX_ATTRIBUTE_SIZE;
                if (i25 != 0) {
                }
                if ((i12 & 48) == 0) {
                }
                int i4122 = i26;
                i28 = i13 & 4096;
                if (i28 != 0) {
                }
                if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
                }
                if ((i24 & 306783379) != 306783378) {
                }
                r10.q();
                if ((i11 & 1) != 0) {
                }
                if (i39 != 0) {
                }
                if (i15 != 0) {
                }
                if (i16 != 0) {
                }
                if (i17 != 0) {
                }
                if (i19 != 0) {
                }
                if (i20 != 0) {
                }
                if ((i13 & 128) != 0) {
                }
                if (i21 != 0) {
                }
                if (i31 == 0) {
                }
                if (i32 != 0) {
                }
                if ((i13 & 2048) != 0) {
                }
                if (i30 != 0) {
                }
                gVar2 = gVar4;
                i34 = i42;
                interfaceC0608c2 = i43;
                z14 = z12;
                i35 = i24;
                lVar2 = lVar4;
                wVar2 = a10;
                f12 = t10;
                iVar3 = iVar5;
                r10.P();
                if (y0.p.H()) {
                }
                int i442222 = i35 >> 6;
                int i452222 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i442222) | (i442222 & 3670016);
                int i462222 = i35 << 9;
                int i472222 = i452222 | (29360128 & i462222) | (i462222 & 234881024) | ((i35 << 18) & 1879048192);
                int i482222 = ((i35 >> 9) & 7168) | ((i4122 >> 3) & 14) | 384 | ((i4122 << 3) & 112);
                int i492222 = i4122 << 6;
                mVar2 = r10;
                h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i472222, i482222 | (57344 & i492222) | (i492222 & 458752), 0);
                if (y0.p.H()) {
                }
                iVar4 = iVar3;
                wVar3 = wVar2;
                gVar3 = gVar2;
                i36 = i34;
                f13 = f12;
                interfaceC0608c3 = interfaceC0608c2;
                b0Var5 = b0Var4;
                z15 = z13;
                z16 = z14;
                lVar3 = lVar2;
                aVar4 = aVar3;
                jVar3 = jVar2;
                y10 = mVar2.y();
                if (y10 != null) {
                }
            }
            i16 = i13 & 8;
            int i402 = UserMetadata.MAX_ATTRIBUTE_SIZE;
            if (i16 != 0) {
            }
            i17 = i13 & 16;
            if (i17 == 0) {
            }
            i18 = i10;
            i19 = i13 & 32;
            if (i19 != 0) {
            }
            i20 = i13 & 64;
            if (i20 != 0) {
            }
            if ((i11 & 12582912) == 0) {
            }
            i21 = i13 & 256;
            if (i21 != 0) {
            }
            i22 = i13 & 512;
            if (i22 != 0) {
            }
            i25 = i13 & UserMetadata.MAX_ATTRIBUTE_SIZE;
            if (i25 != 0) {
            }
            if ((i12 & 48) == 0) {
            }
            int i41222 = i26;
            i28 = i13 & 4096;
            if (i28 != 0) {
            }
            if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
            }
            if ((i24 & 306783379) != 306783378) {
            }
            r10.q();
            if ((i11 & 1) != 0) {
            }
            if (i39 != 0) {
            }
            if (i15 != 0) {
            }
            if (i16 != 0) {
            }
            if (i17 != 0) {
            }
            if (i19 != 0) {
            }
            if (i20 != 0) {
            }
            if ((i13 & 128) != 0) {
            }
            if (i21 != 0) {
            }
            if (i31 == 0) {
            }
            if (i32 != 0) {
            }
            if ((i13 & 2048) != 0) {
            }
            if (i30 != 0) {
            }
            gVar2 = gVar4;
            i34 = i42;
            interfaceC0608c2 = i43;
            z14 = z12;
            i35 = i24;
            lVar2 = lVar4;
            wVar2 = a10;
            f12 = t10;
            iVar3 = iVar5;
            r10.P();
            if (y0.p.H()) {
            }
            int i4422222 = i35 >> 6;
            int i4522222 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i4422222) | (i4422222 & 3670016);
            int i4622222 = i35 << 9;
            int i4722222 = i4522222 | (29360128 & i4622222) | (i4622222 & 234881024) | ((i35 << 18) & 1879048192);
            int i4822222 = ((i35 >> 9) & 7168) | ((i41222 >> 3) & 14) | 384 | ((i41222 << 3) & 112);
            int i4922222 = i41222 << 6;
            mVar2 = r10;
            h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i4722222, i4822222 | (57344 & i4922222) | (i4922222 & 458752), 0);
            if (y0.p.H()) {
            }
            iVar4 = iVar3;
            wVar3 = wVar2;
            gVar3 = gVar2;
            i36 = i34;
            f13 = f12;
            interfaceC0608c3 = interfaceC0608c2;
            b0Var5 = b0Var4;
            z15 = z13;
            z16 = z14;
            lVar3 = lVar2;
            aVar4 = aVar3;
            jVar3 = jVar2;
            y10 = mVar2.y();
            if (y10 != null) {
            }
        }
        iVar2 = iVar;
        i15 = i13 & 4;
        if (i15 == 0) {
        }
        i16 = i13 & 8;
        int i4022 = UserMetadata.MAX_ATTRIBUTE_SIZE;
        if (i16 != 0) {
        }
        i17 = i13 & 16;
        if (i17 == 0) {
        }
        i18 = i10;
        i19 = i13 & 32;
        if (i19 != 0) {
        }
        i20 = i13 & 64;
        if (i20 != 0) {
        }
        if ((i11 & 12582912) == 0) {
        }
        i21 = i13 & 256;
        if (i21 != 0) {
        }
        i22 = i13 & 512;
        if (i22 != 0) {
        }
        i25 = i13 & UserMetadata.MAX_ATTRIBUTE_SIZE;
        if (i25 != 0) {
        }
        if ((i12 & 48) == 0) {
        }
        int i412222 = i26;
        i28 = i13 & 4096;
        if (i28 != 0) {
        }
        if ((i13 & UserMetadata.MAX_INTERNAL_KEY_SIZE) == 0) {
        }
        if ((i24 & 306783379) != 306783378) {
        }
        r10.q();
        if ((i11 & 1) != 0) {
        }
        if (i39 != 0) {
        }
        if (i15 != 0) {
        }
        if (i16 != 0) {
        }
        if (i17 != 0) {
        }
        if (i19 != 0) {
        }
        if (i20 != 0) {
        }
        if ((i13 & 128) != 0) {
        }
        if (i21 != 0) {
        }
        if (i31 == 0) {
        }
        if (i32 != 0) {
        }
        if ((i13 & 2048) != 0) {
        }
        if (i30 != 0) {
        }
        gVar2 = gVar4;
        i34 = i42;
        interfaceC0608c2 = i43;
        z14 = z12;
        i35 = i24;
        lVar2 = lVar4;
        wVar2 = a10;
        f12 = t10;
        iVar3 = iVar5;
        r10.P();
        if (y0.p.H()) {
        }
        int i44222222 = i35 >> 6;
        int i45222222 = ((i35 >> 3) & 14) | 24576 | ((i35 << 3) & 112) | (i35 & 896) | ((i35 >> 18) & 7168) | (458752 & i44222222) | (i44222222 & 3670016);
        int i46222222 = i35 << 9;
        int i47222222 = i45222222 | (29360128 & i46222222) | (i46222222 & 234881024) | ((i35 << 18) & 1879048192);
        int i48222222 = ((i35 >> 9) & 7168) | ((i412222 >> 3) & 14) | 384 | ((i412222 << 3) & 112);
        int i49222222 = i412222 << 6;
        mVar2 = r10;
        h0.c.a(iVar3, c0Var, wVar2, z14, b0.q.Horizontal, b0Var4, z13, i34, f12, gVar2, aVar3, lVar2, l1.c.f27332a.g(), interfaceC0608c2, jVar2, rVar, mVar2, i47222222, i48222222 | (57344 & i49222222) | (i49222222 & 458752), 0);
        if (y0.p.H()) {
        }
        iVar4 = iVar3;
        wVar3 = wVar2;
        gVar3 = gVar2;
        i36 = i34;
        f13 = f12;
        interfaceC0608c3 = interfaceC0608c2;
        b0Var5 = b0Var4;
        z15 = z13;
        z16 = z14;
        lVar3 = lVar2;
        aVar4 = aVar3;
        jVar3 = jVar2;
        y10 = mVar2.y();
        if (y10 != null) {
        }
    }

    public static final int d(c0.j jVar, int i10, int i11, int i12, int i13, int i14, int i15, float f10, int i16) {
        int c10;
        c10 = fn.c.c(jVar.a(i10, i11, i13, i14, i15, i16) - (f10 * (i11 + i12)));
        return c10;
    }

    public static final l1.i e(l1.i iVar, c0 c0Var, boolean z10, m0 m0Var, boolean z11) {
        return z11 ? iVar.f(o2.l.d(l1.i.f27362a, false, new b(z10, c0Var, m0Var), 1, null)) : iVar.f(l1.i.f27362a);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final boolean f(c0 c0Var, m0 m0Var) {
        if (!c0Var.c()) {
            return false;
        }
        tp.k.d(m0Var, null, null, new c(c0Var, null), 3, null);
        return true;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final boolean g(c0 c0Var, m0 m0Var) {
        if (!c0Var.e()) {
            return false;
        }
        tp.k.d(m0Var, null, null, new d(c0Var, null), 3, null);
        return true;
    }
}
