package com.vinfast.companion.corecompose.compose;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 2, 0}, xi = 48)
@kotlin.coroutines.jvm.internal.DebugMetadata(c = "com.vinfast.companion.corecompose.compose.SwitchKt$CustomSwitch$1$2$1$1", f = "Switch.kt", l = {97, 99}, m = "invokeSuspend", v = 1)
final class SwitchKt$CustomSwitch$1$2$1$1 extends kotlin.coroutines.jvm.internal.SuspendLambda implements kotlin.jvm.functions.Function2<kotlinx.coroutines.CoroutineScope, kotlin.coroutines.Continuation<? super kotlin.Unit>, java.lang.Object> {
    int n;
    final /* synthetic */ androidx.compose.foundation.gestures.AnchoredDraggableState o;
    final /* synthetic */ int p;
    final /* synthetic */ int q;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    SwitchKt$CustomSwitch$1$2$1$1(androidx.compose.foundation.gestures.AnchoredDraggableState anchoredDraggableState, int i, int i2, kotlin.coroutines.Continuation continuation) {
        super(2, continuation);
        this.o = anchoredDraggableState;
        this.p = i;
        this.q = i2;
    }

    public final kotlin.coroutines.Continuation create(java.lang.Object obj, kotlin.coroutines.Continuation continuation) {
        return new com.vinfast.companion.corecompose.compose.SwitchKt$CustomSwitch$1$2$1$1(this.o, this.p, this.q, continuation);
    }

    /* JADX WARN: Code restructure failed: missing block: B:13:0x0040, code lost:
    
        if (androidx.compose.foundation.gestures.AnchoredDraggableKt.w(r4, r5, (androidx.compose.animation.core.AnimationSpec) null, r10, 2, (java.lang.Object) null) == r0) goto L17;
     */
    /* JADX WARN: Code restructure failed: missing block: B:16:0x0055, code lost:
    
        if (androidx.compose.foundation.gestures.AnchoredDraggableKt.w(r1, r10, (androidx.compose.animation.core.AnimationSpec) null, r10, 2, (java.lang.Object) null) == r0) goto L17;
     */
    /* JADX WARN: Code restructure failed: missing block: B:17:0x0057, code lost:
    
        return r0;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final java.lang.Object invokeSuspend(java.lang.Object r11) {
        /*
            r10 = this;
            java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.g()
            int r1 = r10.n
            r2 = 2
            r3 = 1
            if (r1 == 0) goto L1b
            if (r1 == r3) goto L17
            if (r1 != r2) goto Lf
            goto L17
        Lf:
            java.lang.IllegalStateException r10 = new java.lang.IllegalStateException
            java.lang.String r11 = "call to 'resume' before 'invoke' with coroutine"
            r10.<init>(r11)
            throw r10
        L17:
            kotlin.ResultKt.b(r11)
            goto L58
        L1b:
            kotlin.ResultKt.b(r11)
            androidx.compose.foundation.gestures.AnchoredDraggableState r11 = r10.o
            java.lang.Object r11 = r11.q()
            java.lang.Number r11 = (java.lang.Number) r11
            int r11 = r11.intValue()
            int r1 = r10.p
            if (r11 != r1) goto L43
            androidx.compose.foundation.gestures.AnchoredDraggableState r4 = r10.o
            int r11 = r10.q
            java.lang.Integer r5 = kotlin.coroutines.jvm.internal.Boxing.d(r11)
            r10.n = r3
            r6 = 0
            r8 = 2
            r9 = 0
            r7 = r10
            java.lang.Object r10 = androidx.compose.foundation.gestures.AnchoredDraggableKt.w(r4, r5, r6, r7, r8, r9)
            if (r10 != r0) goto L58
            goto L57
        L43:
            r4 = r10
            r10 = r1
            androidx.compose.foundation.gestures.AnchoredDraggableState r1 = r4.o
            java.lang.Integer r10 = kotlin.coroutines.jvm.internal.Boxing.d(r10)
            r4.n = r2
            r3 = 0
            r5 = 2
            r6 = 0
            r2 = r10
            java.lang.Object r10 = androidx.compose.foundation.gestures.AnchoredDraggableKt.w(r1, r2, r3, r4, r5, r6)
            if (r10 != r0) goto L58
        L57:
            return r0
        L58:
            kotlin.Unit r10 = kotlin.Unit.a
            return r10
        */
        throw new UnsupportedOperationException("Method not decompiled: com.vinfast.companion.corecompose.compose.SwitchKt$CustomSwitch$1$2$1$1.invokeSuspend(java.lang.Object):java.lang.Object");
    }

    public final java.lang.Object invoke(kotlinx.coroutines.CoroutineScope coroutineScope, kotlin.coroutines.Continuation continuation) {
        return create(coroutineScope, continuation).invokeSuspend(kotlin.Unit.a);
    }
}
