content: package kotlinx.coroutines.flow;
  
  import kotlin.Metadata;
  import kotlin.jvm.functions.Function2;
  
  @Metadata(d1 = {"\u0000\u0019\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\b\u0012\u0004\u0012\u00028\u00000\u0001J\u001f\u0010\u0002\u001a\u00020\u00032\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00028\u00000\u0005H@ø\u0001\u0000¢\u0006\u0002\u0010\u0006\u0002\u0004\n\u0002\b\u0019¨\u0006\u0007¸\u0006\u0000"}, d2 = {"kotlinx/coroutines/flow/internal/SafeCollector_commonKt$unsafeFlow$1", "Lkotlinx/coroutines/flow/Flow;", "collect", "", "collector", "Lkotlinx/coroutines/flow/FlowCollector;", "(Lkotlinx/coroutines/flow/FlowCollector;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "kotlinx-coroutines-core"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: SafeCollector.common.kt */
  public final class FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1 implements Flow<T> {
      final /* synthetic */ Function2 $predicate$inlined;
      final /* synthetic */ Flow $this_takeWhile$inlined;
  
      public FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1(Flow flow, Function2 function2) {
          this.$this_takeWhile$inlined = flow;
          this.$predicate$inlined = function2;
      }
  
      /* JADX WARNING: Can't fix incorrect switch cases order */
      /* JADX WARNING: Removed duplicated region for block: B:10:0x002d  */
      /* JADX WARNING: Removed duplicated region for block: B:14:0x0039  */
      /* JADX WARNING: Removed duplicated region for block: B:8:0x0025  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public java.lang.Object collect(kotlinx.coroutines.flow.FlowCollector<? super T> r11, kotlin.coroutines.Continuation<? super kotlin.Unit> r12) {
          /*
              r10 = this;
              boolean r0 = r12 instanceof kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1.AnonymousClass1
              if (r0 == 0) goto L_0x0014
              r0 = r12
              kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1$1 r0 = (kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1.AnonymousClass1) r0
              int r1 = r0.label
              r2 = -2147483648(0xffffffff80000000, float:-0.0)
              r1 = r1 & r2
              if (r1 == 0) goto L_0x0014
              int r12 = r0.label
              int r12 = r12 - r2
              r0.label = r12
              goto L_0x0019
          L_0x0014:
              kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1$1 r0 = new kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1$1
              r0.<init>(r10, r12)
          L_0x0019:
              r12 = r0
              java.lang.Object r0 = r12.result
              java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
              int r2 = r12.label
              switch(r2) {
                  case 0: goto L_0x0039;
                  case 1: goto L_0x002d;
                  default: goto L_0x0025;
              }
          L_0x0025:
              java.lang.IllegalStateException r11 = new java.lang.IllegalStateException
              java.lang.String r12 = "call to 'resume' before 'invoke' with coroutine"
              r11.<init>(r12)
              throw r11
          L_0x002d:
              r11 = 0
              r1 = 0
              java.lang.Object r2 = r12.L$0
              kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$lambda-6$$inlined$collectWhile$1 r2 = (kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$lambda6$$inlined$collectWhile$1) r2
              kotlin.ResultKt.throwOnFailure(r0)     // Catch:{ AbortFlowException -> 0x0037 }
              goto L_0x005f
          L_0x0037:
              r3 = move-exception
              goto L_0x0066
          L_0x0039:
              kotlin.ResultKt.throwOnFailure(r0)
              r2 = r10
              r3 = r12
              kotlin.coroutines.Continuation r3 = (kotlin.coroutines.Continuation) r3
              r3 = 0
              kotlinx.coroutines.flow.Flow r4 = r2.$this_takeWhile$inlined
              r5 = r12
              r6 = 0
              kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$lambda-6$$inlined$collectWhile$1 r7 = new kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$lambda-6$$inlined$collectWhile$1
              kotlin.jvm.functions.Function2 r8 = r2.$predicate$inlined
              r7.<init>(r8, r11)
              r11 = r7
              kotlinx.coroutines.flow.FlowCollector r11 = (kotlinx.coroutines.flow.FlowCollector) r11     // Catch:{ AbortFlowException -> 0x0060 }
              r12.L$0 = r7     // Catch:{ AbortFlowException -> 0x0060 }
              r2 = 1
              r12.label = r2     // Catch:{ AbortFlowException -> 0x0060 }
              java.lang.Object r11 = r4.collect(r11, r5)     // Catch:{ AbortFlowException -> 0x0060 }
              if (r11 != r1) goto L_0x005c
              return r1
          L_0x005c:
              r11 = r3
              r1 = r6
              r2 = r7
          L_0x005f:
              goto L_0x006c
          L_0x0060:
              r11 = move-exception
              r1 = r6
              r2 = r7
              r9 = r3
              r3 = r11
              r11 = r9
          L_0x0066:
              r4 = r2
              kotlinx.coroutines.flow.FlowCollector r4 = (kotlinx.coroutines.flow.FlowCollector) r4
              kotlinx.coroutines.flow.internal.FlowExceptions_commonKt.checkOwnership(r3, r4)
          L_0x006c:
              kotlin.Unit r11 = kotlin.Unit.INSTANCE
              return r11
          */
          throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.flow.FlowKt__LimitKt$takeWhile$$inlined$unsafeFlow$1.collect(kotlinx.coroutines.flow.FlowCollector, kotlin.coroutines.Continuation):java.lang.Object");
      }
  }
  