content: package kotlinx.coroutines.flow;
  
  import kotlin.Metadata;
  
  @Metadata(d1 = {"\u0000$\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\b\u0002\u001a!\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002*\b\u0012\u0004\u0012\u0002H\u00020\u0003H@ø\u0001\u0000¢\u0006\u0002\u0010\u0004\u001aE\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002*\b\u0012\u0004\u0012\u0002H\u00020\u00032\"\u0010\u0005\u001a\u001e\b\u0001\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u0007\u0012\u0006\u0012\u0004\u0018\u00010\t0\u0006H@ø\u0001\u0000¢\u0006\u0002\u0010\n\u0002\u0004\n\u0002\b\u0019¨\u0006\u000b"}, d2 = {"count", "", "T", "Lkotlinx/coroutines/flow/Flow;", "(Lkotlinx/coroutines/flow/Flow;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "predicate", "Lkotlin/Function2;", "Lkotlin/coroutines/Continuation;", "", "", "(Lkotlinx/coroutines/flow/Flow;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "kotlinx-coroutines-core"}, k = 5, mv = {1, 6, 0}, xi = 48, xs = "kotlinx/coroutines/flow/FlowKt")
  /* compiled from: Count.kt */
  final /* synthetic */ class FlowKt__CountKt {
      /* JADX WARNING: Removed duplicated region for block: B:10:0x002d  */
      /* JADX WARNING: Removed duplicated region for block: B:11:0x0035  */
      /* JADX WARNING: Removed duplicated region for block: B:8:0x0025  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public static final <T> java.lang.Object count(kotlinx.coroutines.flow.Flow<? extends T> r5, kotlin.coroutines.Continuation<? super java.lang.Integer> r6) {
          /*
              boolean r0 = r6 instanceof kotlinx.coroutines.flow.FlowKt__CountKt$count$1
              if (r0 == 0) goto L_0x0014
              r0 = r6
              kotlinx.coroutines.flow.FlowKt__CountKt$count$1 r0 = (kotlinx.coroutines.flow.FlowKt__CountKt$count$1) r0
              int r1 = r0.label
              r2 = -2147483648(0xffffffff80000000, float:-0.0)
              r1 = r1 & r2
              if (r1 == 0) goto L_0x0014
              int r6 = r0.label
              int r6 = r6 - r2
              r0.label = r6
              goto L_0x0019
          L_0x0014:
              kotlinx.coroutines.flow.FlowKt__CountKt$count$1 r0 = new kotlinx.coroutines.flow.FlowKt__CountKt$count$1
              r0.<init>(r6)
          L_0x0019:
              r6 = r0
              java.lang.Object r0 = r6.result
              java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
              int r2 = r6.label
              switch(r2) {
                  case 0: goto L_0x0035;
                  case 1: goto L_0x002d;
                  default: goto L_0x0025;
              }
          L_0x0025:
              java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
              java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
              r5.<init>(r6)
              throw r5
          L_0x002d:
              java.lang.Object r5 = r6.L$0
              kotlin.jvm.internal.Ref$IntRef r5 = (kotlin.jvm.internal.Ref.IntRef) r5
              kotlin.ResultKt.throwOnFailure(r0)
              goto L_0x0051
          L_0x0035:
              kotlin.ResultKt.throwOnFailure(r0)
              kotlin.jvm.internal.Ref$IntRef r2 = new kotlin.jvm.internal.Ref$IntRef
              r2.<init>()
              kotlinx.coroutines.flow.FlowKt__CountKt$count$2 r3 = new kotlinx.coroutines.flow.FlowKt__CountKt$count$2
              r3.<init>(r2)
              kotlinx.coroutines.flow.FlowCollector r3 = (kotlinx.coroutines.flow.FlowCollector) r3
              r6.L$0 = r2
              r4 = 1
              r6.label = r4
              java.lang.Object r5 = r5.collect(r3, r6)
              if (r5 != r1) goto L_0x0050
              return r1
          L_0x0050:
              r5 = r2
          L_0x0051:
              int r1 = r5.element
              java.lang.Integer r1 = kotlin.coroutines.jvm.internal.Boxing.boxInt(r1)
              return r1
          */
          throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.flow.FlowKt__CountKt.count(kotlinx.coroutines.flow.Flow, kotlin.coroutines.Continuation):java.lang.Object");
      }
  
      /* JADX WARNING: Removed duplicated region for block: B:10:0x002d  */
      /* JADX WARNING: Removed duplicated region for block: B:11:0x0035  */
      /* JADX WARNING: Removed duplicated region for block: B:8:0x0025  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public static final <T> java.lang.Object count(kotlinx.coroutines.flow.Flow<? extends T> r5, kotlin.jvm.functions.Function2<? super T, ? super kotlin.coroutines.Continuation<? super java.lang.Boolean>, ? extends java.lang.Object> r6, kotlin.coroutines.Continuation<? super java.lang.Integer> r7) {
          /*
              boolean r0 = r7 instanceof kotlinx.coroutines.flow.FlowKt__CountKt$count$3
              if (r0 == 0) goto L_0x0014
              r0 = r7
              kotlinx.coroutines.flow.FlowKt__CountKt$count$3 r0 = (kotlinx.coroutines.flow.FlowKt__CountKt$count$3) r0
              int r1 = r0.label
              r2 = -2147483648(0xffffffff80000000, float:-0.0)
              r1 = r1 & r2
              if (r1 == 0) goto L_0x0014
              int r7 = r0.label
              int r7 = r7 - r2
              r0.label = r7
              goto L_0x0019
          L_0x0014:
              kotlinx.coroutines.flow.FlowKt__CountKt$count$3 r0 = new kotlinx.coroutines.flow.FlowKt__CountKt$count$3
              r0.<init>(r7)
          L_0x0019:
              r7 = r0
              java.lang.Object r0 = r7.result
              java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
              int r2 = r7.label
              switch(r2) {
                  case 0: goto L_0x0035;
                  case 1: goto L_0x002d;
                  default: goto L_0x0025;
              }
          L_0x0025:
              java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
              java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
              r5.<init>(r6)
              throw r5
          L_0x002d:
              java.lang.Object r5 = r7.L$0
              kotlin.jvm.internal.Ref$IntRef r5 = (kotlin.jvm.internal.Ref.IntRef) r5
              kotlin.ResultKt.throwOnFailure(r0)
              goto L_0x0051
          L_0x0035:
              kotlin.ResultKt.throwOnFailure(r0)
              kotlin.jvm.internal.Ref$IntRef r2 = new kotlin.jvm.internal.Ref$IntRef
              r2.<init>()
              kotlinx.coroutines.flow.FlowKt__CountKt$count$4 r3 = new kotlinx.coroutines.flow.FlowKt__CountKt$count$4
              r3.<init>(r6, r2)
              kotlinx.coroutines.flow.FlowCollector r3 = (kotlinx.coroutines.flow.FlowCollector) r3
              r7.L$0 = r2
              r4 = 1
              r7.label = r4
              java.lang.Object r5 = r5.collect(r3, r7)
              if (r5 != r1) goto L_0x0050
              return r1
          L_0x0050:
              r5 = r2
          L_0x0051:
              int r6 = r5.element
              java.lang.Integer r6 = kotlin.coroutines.jvm.internal.Boxing.boxInt(r6)
              return r6
          */
          throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.flow.FlowKt__CountKt.count(kotlinx.coroutines.flow.Flow, kotlin.jvm.functions.Function2, kotlin.coroutines.Continuation):java.lang.Object");
      }
  }
  