; LLVM IR from stan-dev/math :: lib/tbb_2020.3/src/test/test_concurrent_queue.ll (Z9TestAbortv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"struct.tbb::atomic" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic" }
%"struct.tbb::internal::atomic_impl_with_arithmetic" = type { %"struct.tbb::internal::atomic_impl" }
%"struct.tbb::internal::atomic_impl" = type { %"struct.tbb::internal::aligned_storage" }
%"struct.tbb::internal::aligned_storage" = type { i64 }
%"class.tbb::concurrent_bounded_queue" = type <{ %"class.tbb::internal::concurrent_queue_base_v8", [8 x i8] }>
%"class.tbb::internal::concurrent_queue_base_v8" = type { %"class.tbb::internal::concurrent_queue_base_v3" }
%"class.tbb::internal::concurrent_queue_base_v3" = type { ptr, ptr, i64, i64, i64 }
%"class.tbb::cache_aligned_allocator" = type { i8 }
%class.SimplePushBody = type <{ ptr, i32, [4 x i8] }>
%class.SimplePopBody = type { ptr, i32, i32 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.17 = external hidden unnamed_addr constant [97 x i8], align 1
@_ZL7Verbose = external hidden global i8, align 1
@_ZL9MaxThread = external hidden global i32, align 4
@_ZL9MinThread = external hidden global i32, align 4
@num_pushed = external dso_local global %"struct.tbb::atomic", align 8
@num_popped = external dso_local global %"struct.tbb::atomic", align 8
@failed_pushes = external dso_local global %"struct.tbb::atomic", align 8
@failed_pops = external dso_local global %"struct.tbb::atomic", align 8
@__FUNCTION__._Z9TestAbortv = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [81 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11ReportErrorPKciS0_S0_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9TestAbortv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %4 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %class.SimplePushBody, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %12 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %13 = alloca i32, align 4
  %14 = alloca %class.SimplePushBody, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %17 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %class.SimplePopBody, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %24 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.SimplePushBody, align 8
  %28 = alloca %class.SimplePopBody, align 8
  %29 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  %30 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  store i32 %30, ptr %1, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %423, %0
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %34 = icmp sle i32 %32, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %433

36:                                               ; preds = %31
  %37 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %38 = trunc i8 %37 to i1
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  br label %43

40:                                               ; preds = %36
  %41 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 1378, ptr noundef @__FUNCTION__._Z9TestAbortv)
  %42 = load i32, ptr %1, align 4, !tbaa !5
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %41, ptr noundef @.str.34, i32 noundef %42)
  br label %43

43:                                               ; preds = %40, %39
  %44 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %45 = trunc i8 %44 to i1
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  br label %49

47:                                               ; preds = %43
  %48 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 1380, ptr noundef @__FUNCTION__._Z9TestAbortv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %48, ptr noundef @.str.35)
  br label %49

49:                                               ; preds = %47, %46
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %3, i64 noundef 0)
          to label %50 unwind label %55

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %119, %50
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = icmp slt i32 %52, 10
  br i1 %53, label %59, label %54

54:                                               ; preds = %51
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %124

55:                                               ; preds = %130, %128, %49
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %5, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %6, align 4
  br label %432

59:                                               ; preds = %51
  %60 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %61 unwind label %106

61:                                               ; preds = %59
  %62 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %60)
          to label %63 unwind label %106

63:                                               ; preds = %61
  %64 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %62)
          to label %65 unwind label %106

65:                                               ; preds = %63
  %66 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %64)
          to label %67 unwind label %106

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #3
  %68 = load i32, ptr %1, align 4, !tbaa !5
  invoke void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef %3, i32 noundef %68)
          to label %69 unwind label %110

69:                                               ; preds = %67
  %70 = load i32, ptr %1, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %71, ptr noundef nonnull align 8 dereferenceable(12) %8)
          to label %72 unwind label %110

72:                                               ; preds = %69
  %73 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %74 unwind label %110

74:                                               ; preds = %72
  %75 = icmp eq i64 %73, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  br label %79

77:                                               ; preds = %74
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1387, ptr noundef @.str.36, ptr noundef @.str.37)
          to label %78 unwind label %110

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78, %76
  %80 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %81 unwind label %110

81:                                               ; preds = %79
  %82 = trunc i64 %80 to i32
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = icmp eq i32 %82, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %81
  br label %88

86:                                               ; preds = %81
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1388, ptr noundef @.str.38, ptr noundef @.str.39)
          to label %87 unwind label %110

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87, %85
  %89 = load i32, ptr %1, align 4, !tbaa !5
  %90 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %91 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  %92 = add nsw i32 %90, %91
  %93 = sdiv i32 %92, 2
  %94 = icmp slt i32 %89, %93
  br i1 %94, label %95, label %118

95:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  %96 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %97 unwind label %114

97:                                               ; preds = %95
  %98 = xor i1 %96, true
  %99 = zext i1 %98 to i8
  store i8 %99, ptr %10, align 1, !tbaa !9
  %100 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %103

102:                                              ; preds = %97
  br label %105

103:                                              ; preds = %97
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1393, ptr noundef @.str.40, ptr noundef @.str.41)
          to label %104 unwind label %114

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104, %102
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %118

106:                                              ; preds = %65, %63, %61, %59
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %5, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %6, align 4
  br label %123

110:                                              ; preds = %86, %79, %77, %72, %69, %67
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %5, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %6, align 4
  br label %122

114:                                              ; preds = %103, %95
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %5, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %122

118:                                              ; preds = %105, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %7, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %7, align 4, !tbaa !5
  br label %51, !llvm.loop !13

122:                                              ; preds = %114, %110
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  br label %123

123:                                              ; preds = %122, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %432

124:                                              ; preds = %54
  %125 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %126 = trunc i8 %125 to i1
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  br label %132

128:                                              ; preds = %124
  %129 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 1397, ptr noundef @__FUNCTION__._Z9TestAbortv)
          to label %130 unwind label %55

130:                                              ; preds = %128
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %129, ptr noundef @.str.42)
          to label %131 unwind label %55

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131, %127
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %133 unwind label %139

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %11, i64 noundef 2)
          to label %134 unwind label %143

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %199, %134
  %136 = load i32, ptr %13, align 4, !tbaa !5
  %137 = icmp slt i32 %136, 10
  br i1 %137, label %147, label %138

138:                                              ; preds = %135
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %204

139:                                              ; preds = %132
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %5, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #3
  br label %431

143:                                              ; preds = %210, %208, %133
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %5, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %6, align 4
  br label %430

147:                                              ; preds = %135
  %148 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %149 unwind label %181

149:                                              ; preds = %147
  %150 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %148)
          to label %151 unwind label %181

151:                                              ; preds = %149
  %152 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %150)
          to label %153 unwind label %181

153:                                              ; preds = %151
  %154 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %152)
          to label %155 unwind label %181

155:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #3
  %156 = load i32, ptr %1, align 4, !tbaa !5
  invoke void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef %11, i32 noundef %156)
          to label %157 unwind label %185

157:                                              ; preds = %155
  %158 = load i32, ptr %1, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %159, ptr noundef nonnull align 8 dereferenceable(12) %14)
          to label %160 unwind label %185

160:                                              ; preds = %157
  %161 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %162 unwind label %185

162:                                              ; preds = %160
  %163 = icmp ule i64 %161, 2
  br i1 %163, label %164, label %165

164:                                              ; preds = %162
  br label %167

165:                                              ; preds = %162
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1404, ptr noundef @.str.43, ptr noundef @.str.44)
          to label %166 unwind label %185

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166, %164
  %168 = load i32, ptr %1, align 4, !tbaa !5
  %169 = icmp sge i32 %168, 2
  br i1 %169, label %170, label %189

170:                                              ; preds = %167
  %171 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %172 unwind label %185

172:                                              ; preds = %170
  %173 = trunc i64 %171 to i32
  %174 = load i32, ptr %1, align 4, !tbaa !5
  %175 = sub nsw i32 %174, 2
  %176 = icmp eq i32 %173, %175
  br i1 %176, label %177, label %178

177:                                              ; preds = %172
  br label %180

178:                                              ; preds = %172
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1406, ptr noundef @.str.45, ptr noundef @.str.46)
          to label %179 unwind label %185

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179, %177
  br label %189

181:                                              ; preds = %153, %151, %149, %147
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %5, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %6, align 4
  br label %203

185:                                              ; preds = %178, %170, %165, %160, %157, %155
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %5, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %6, align 4
  br label %202

189:                                              ; preds = %180, %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  br label %190

190:                                              ; preds = %193, %189
  %191 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %11, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %192 unwind label %194

192:                                              ; preds = %190
  br i1 %191, label %193, label %198

193:                                              ; preds = %192
  br label %190, !llvm.loop !15

194:                                              ; preds = %190
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %5, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %202

198:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #3
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %13, align 4, !tbaa !5
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %13, align 4, !tbaa !5
  br label %135, !llvm.loop !16

202:                                              ; preds = %194, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #3
  br label %203

203:                                              ; preds = %202, %181
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %430

204:                                              ; preds = %138
  %205 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %206 = trunc i8 %205 to i1
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  br label %212

208:                                              ; preds = %204
  %209 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 1411, ptr noundef @__FUNCTION__._Z9TestAbortv)
          to label %210 unwind label %143

210:                                              ; preds = %208
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %209, ptr noundef @.str.47)
          to label %211 unwind label %143

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211, %207
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %213 unwind label %219

213:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %16, i64 noundef 2)
          to label %214 unwind label %223

214:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %286, %214
  %216 = load i32, ptr %18, align 4, !tbaa !5
  %217 = icmp slt i32 %216, 10
  br i1 %217, label %227, label %218

218:                                              ; preds = %215
  store i32 13, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  br label %291

219:                                              ; preds = %212
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %5, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  br label %429

223:                                              ; preds = %297, %295, %213
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %5, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %6, align 4
  br label %428

227:                                              ; preds = %215
  %228 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %229 unwind label %263

229:                                              ; preds = %227
  %230 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %228)
          to label %231 unwind label %263

231:                                              ; preds = %229
  %232 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %230)
          to label %233 unwind label %263

233:                                              ; preds = %231
  %234 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %232)
          to label %235 unwind label %263

235:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 42, ptr %19, align 4, !tbaa !5
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41) %16, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %236 unwind label %267

236:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 42, ptr %20, align 4, !tbaa !5
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41) %16, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %237 unwind label %271

237:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #3
  %238 = load i32, ptr %1, align 4, !tbaa !5
  invoke void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %16, i32 noundef %238, i32 noundef 2)
          to label %239 unwind label %275

239:                                              ; preds = %237
  %240 = load i32, ptr %1, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  invoke void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef %241, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %242 unwind label %275

242:                                              ; preds = %239
  %243 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_popped)
          to label %244 unwind label %275

244:                                              ; preds = %242
  %245 = icmp ule i64 %243, 2
  br i1 %245, label %246, label %247

246:                                              ; preds = %244
  br label %249

247:                                              ; preds = %244
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1420, ptr noundef @.str.48, ptr noundef @.str.49)
          to label %248 unwind label %275

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248, %246
  %250 = load i32, ptr %1, align 4, !tbaa !5
  %251 = icmp sge i32 %250, 2
  br i1 %251, label %252, label %279

252:                                              ; preds = %249
  %253 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops)
          to label %254 unwind label %275

254:                                              ; preds = %252
  %255 = trunc i64 %253 to i32
  %256 = load i32, ptr %1, align 4, !tbaa !5
  %257 = sub nsw i32 %256, 2
  %258 = icmp eq i32 %255, %257
  br i1 %258, label %259, label %260

259:                                              ; preds = %254
  br label %262

260:                                              ; preds = %254
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1422, ptr noundef @.str.50, ptr noundef @.str.51)
          to label %261 unwind label %275

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261, %259
  br label %285

263:                                              ; preds = %233, %231, %229, %227
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %5, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %6, align 4
  br label %290

267:                                              ; preds = %235
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %5, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %290

271:                                              ; preds = %236
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %5, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %290

275:                                              ; preds = %260, %252, %247, %242, %239, %237
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %5, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %6, align 4
  br label %289

279:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE3popERi(ptr noundef nonnull align 8 dereferenceable(41) %16, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %280 unwind label %281

280:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %285

281:                                              ; preds = %279
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %5, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %289

285:                                              ; preds = %280, %262
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #3
  br label %286

286:                                              ; preds = %285
  %287 = load i32, ptr %18, align 4, !tbaa !5
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %18, align 4, !tbaa !5
  br label %215, !llvm.loop !17

289:                                              ; preds = %281, %275
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #3
  br label %290

290:                                              ; preds = %289, %271, %267, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  br label %428

291:                                              ; preds = %218
  %292 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %293 = trunc i8 %292 to i1
  br i1 %293, label %295, label %294

294:                                              ; preds = %291
  br label %299

295:                                              ; preds = %291
  %296 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 1429, ptr noundef @__FUNCTION__._Z9TestAbortv)
          to label %297 unwind label %223

297:                                              ; preds = %295
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %296, ptr noundef @.str.52)
          to label %298 unwind label %223

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298, %294
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %300 unwind label %306

300:                                              ; preds = %299
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %301 = load i32, ptr %1, align 4, !tbaa !5
  %302 = sdiv i32 %301, 2
  store i32 %302, ptr %25, align 4, !tbaa !5
  %303 = load i32, ptr %25, align 4, !tbaa !5
  %304 = icmp ne i32 %303, 0
  br i1 %304, label %310, label %305

305:                                              ; preds = %300
  store i32 1, ptr %25, align 4, !tbaa !5
  br label %310

306:                                              ; preds = %299
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %5, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  br label %427

310:                                              ; preds = %305, %300
  %311 = load i32, ptr %25, align 4, !tbaa !5
  %312 = sext i32 %311 to i64
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %23, i64 noundef %312)
          to label %313 unwind label %318

313:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %416, %313
  %315 = load i32, ptr %26, align 4, !tbaa !5
  %316 = icmp slt i32 %315, 10
  br i1 %316, label %322, label %317

317:                                              ; preds = %314
  store i32 16, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  br label %422

318:                                              ; preds = %310
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %5, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %6, align 4
  br label %426

322:                                              ; preds = %314
  %323 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %324 unwind label %360

324:                                              ; preds = %322
  %325 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %323)
          to label %326 unwind label %360

326:                                              ; preds = %324
  %327 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %325)
          to label %328 unwind label %360

328:                                              ; preds = %326
  %329 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %327)
          to label %330 unwind label %360

330:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #3
  %331 = load i32, ptr %1, align 4, !tbaa !5
  invoke void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %27, ptr noundef %23, i32 noundef %331)
          to label %332 unwind label %364

332:                                              ; preds = %330
  %333 = load i32, ptr %1, align 4, !tbaa !5
  %334 = add nsw i32 %333, 1
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %334, ptr noundef nonnull align 8 dereferenceable(12) %27)
          to label %335 unwind label %364

335:                                              ; preds = %332
  %336 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %337 unwind label %364

337:                                              ; preds = %335
  %338 = trunc i64 %336 to i32
  %339 = load i32, ptr %25, align 4, !tbaa !5
  %340 = icmp sle i32 %338, %339
  br i1 %340, label %341, label %342

341:                                              ; preds = %337
  br label %344

342:                                              ; preds = %337
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1438, ptr noundef @.str.53, ptr noundef @.str.54)
          to label %343 unwind label %364

343:                                              ; preds = %342
  br label %344

344:                                              ; preds = %343, %341
  %345 = load i32, ptr %1, align 4, !tbaa !5
  %346 = load i32, ptr %25, align 4, !tbaa !5
  %347 = icmp sge i32 %345, %346
  br i1 %347, label %348, label %368

348:                                              ; preds = %344
  %349 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %350 unwind label %364

350:                                              ; preds = %348
  %351 = trunc i64 %349 to i32
  %352 = load i32, ptr %1, align 4, !tbaa !5
  %353 = load i32, ptr %25, align 4, !tbaa !5
  %354 = sub nsw i32 %352, %353
  %355 = icmp eq i32 %351, %354
  br i1 %355, label %356, label %357

356:                                              ; preds = %350
  br label %359

357:                                              ; preds = %350
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1440, ptr noundef @.str.55, ptr noundef @.str.56)
          to label %358 unwind label %364

358:                                              ; preds = %357
  br label %359

359:                                              ; preds = %358, %356
  br label %368

360:                                              ; preds = %328, %326, %324, %322
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %5, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %6, align 4
  br label %421

364:                                              ; preds = %357, %348, %342, %335, %332, %330
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %5, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %6, align 4
  br label %420

368:                                              ; preds = %359, %344
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #3
  %369 = load i32, ptr %1, align 4, !tbaa !5
  %370 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %371 unwind label %401

371:                                              ; preds = %368
  %372 = trunc i64 %370 to i32
  invoke void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef %23, i32 noundef %369, i32 noundef %372)
          to label %373 unwind label %401

373:                                              ; preds = %371
  %374 = load i32, ptr %1, align 4, !tbaa !5
  %375 = add nsw i32 %374, 1
  invoke void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef %375, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %376 unwind label %401

376:                                              ; preds = %373
  %377 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_popped)
          to label %378 unwind label %401

378:                                              ; preds = %376
  %379 = trunc i64 %377 to i32
  %380 = load i32, ptr %25, align 4, !tbaa !5
  %381 = icmp sle i32 %379, %380
  br i1 %381, label %382, label %383

382:                                              ; preds = %378
  br label %385

383:                                              ; preds = %378
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1443, ptr noundef @.str.57, ptr noundef @.str.58)
          to label %384 unwind label %401

384:                                              ; preds = %383
  br label %385

385:                                              ; preds = %384, %382
  %386 = load i32, ptr %1, align 4, !tbaa !5
  %387 = load i32, ptr %25, align 4, !tbaa !5
  %388 = icmp sge i32 %386, %387
  br i1 %388, label %389, label %405

389:                                              ; preds = %385
  %390 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops)
          to label %391 unwind label %401

391:                                              ; preds = %389
  %392 = trunc i64 %390 to i32
  %393 = load i32, ptr %1, align 4, !tbaa !5
  %394 = load i32, ptr %25, align 4, !tbaa !5
  %395 = sub nsw i32 %393, %394
  %396 = icmp eq i32 %392, %395
  br i1 %396, label %397, label %398

397:                                              ; preds = %391
  br label %400

398:                                              ; preds = %391
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 1445, ptr noundef @.str.59, ptr noundef @.str.60)
          to label %399 unwind label %401

399:                                              ; preds = %398
  br label %400

400:                                              ; preds = %399, %397
  br label %415

401:                                              ; preds = %398, %389, %383, %376, %373, %371, %368
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %5, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %6, align 4
  br label %419

405:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  br label %406

406:                                              ; preds = %409, %405
  %407 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %23, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %408 unwind label %410

408:                                              ; preds = %406
  br i1 %407, label %409, label %414

409:                                              ; preds = %408
  br label %406, !llvm.loop !18

410:                                              ; preds = %406
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %5, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  br label %419

414:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  br label %415

415:                                              ; preds = %414, %400
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #3
  br label %416

416:                                              ; preds = %415
  %417 = load i32, ptr %26, align 4, !tbaa !5
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %26, align 4, !tbaa !5
  br label %314, !llvm.loop !19

419:                                              ; preds = %410, %401
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #3
  br label %420

420:                                              ; preds = %419, %364
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #3
  br label %421

421:                                              ; preds = %420, %360
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  br label %426

422:                                              ; preds = %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %23) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %16) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #3
  br label %423

423:                                              ; preds = %422
  %424 = load i32, ptr %1, align 4, !tbaa !5
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr %1, align 4, !tbaa !5
  br label %31, !llvm.loop !20

426:                                              ; preds = %421, %318
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %23) #3
  br label %427

427:                                              ; preds = %426, %306
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #3
  br label %428

428:                                              ; preds = %427, %290, %223
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %16) #3
  br label %429

429:                                              ; preds = %428, %219
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #3
  br label %430

430:                                              ; preds = %429, %203, %143
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #3
  br label %431

431:                                              ; preds = %430, %139
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #3
  br label %432

432:                                              ; preds = %431, %123, %55
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %434

433:                                              ; preds = %35
  ret void

434:                                              ; preds = %432
  %435 = load ptr, ptr %5, align 8
  %436 = load i32, ptr %6, align 4
  %437 = insertvalue { ptr, i32 } poison, ptr %435, 0
  %438 = insertvalue { ptr, i32 } %437, i32 %436, 1
  resume { ptr, i32 } %438
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE3popERi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"struct.tbb::atomic" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic" }
%"struct.tbb::internal::atomic_impl_with_arithmetic" = type { %"struct.tbb::internal::atomic_impl" }
%"struct.tbb::internal::atomic_impl" = type { %"struct.tbb::internal::aligned_storage" }
%"struct.tbb::internal::aligned_storage" = type { i64 }
%"class.tbb::concurrent_bounded_queue" = type <{ %"class.tbb::internal::concurrent_queue_base_v8", [8 x i8] }>
%"class.tbb::internal::concurrent_queue_base_v8" = type { %"class.tbb::internal::concurrent_queue_base_v3" }
%"class.tbb::internal::concurrent_queue_base_v3" = type { ptr, ptr, i64, i64, i64 }
%"class.tbb::cache_aligned_allocator" = type { i8 }
%class.SimplePushBody = type <{ ptr, i32, [4 x i8] }>
%class.SimplePopBody = type { ptr, i32, i32 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.17 = external hidden unnamed_addr constant [97 x i8], align 1
@_ZL7Verbose = external hidden local_unnamed_addr global i8, align 1
@_ZL9MaxThread = external hidden local_unnamed_addr global i32, align 4
@_ZL9MinThread = external hidden local_unnamed_addr global i32, align 4
@num_pushed = external dso_local global %"struct.tbb::atomic", align 8
@num_popped = external dso_local global %"struct.tbb::atomic", align 8
@failed_pushes = external dso_local global %"struct.tbb::atomic", align 8
@failed_pops = external dso_local global %"struct.tbb::atomic", align 8
@__FUNCTION__._Z9TestAbortv = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [81 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11ReportErrorPKciS0_S0_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9TestAbortv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %2 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %3 = alloca %class.SimplePushBody, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %6 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %7 = alloca %class.SimplePushBody, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %10 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %class.SimplePopBody, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.tbb::concurrent_bounded_queue", align 8
  %16 = alloca %"class.tbb::cache_aligned_allocator", align 1
  %17 = alloca %class.SimplePushBody, align 8
  %18 = alloca %class.SimplePopBody, align 8
  %19 = alloca i32, align 4
  %20 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  %21 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %.not93 = icmp sgt i32 %20, %21
  br i1 %.not93, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %182, %0
  ret void

.lr.ph:                                           ; preds = %0, %182
  %.04494 = phi i32 [ %32, %182 ], [ %20, %0 ]
  %22 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %23 = trunc nuw i8 %22 to i1
  br i1 %23, label %24, label %26

24:                                               ; preds = %.lr.ph
  %25 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 1378, ptr noundef nonnull @__FUNCTION__._Z9TestAbortv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull @.str.34, i32 noundef %.04494)
  %.pre = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11
  br label %26

26:                                               ; preds = %.lr.ph, %24
  %27 = phi i8 [ %22, %.lr.ph ], [ %.pre, %24 ]
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %31

29:                                               ; preds = %26
  %30 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 1380, ptr noundef nonnull @__FUNCTION__._Z9TestAbortv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %30, ptr noundef nonnull @.str.35)
  br label %31

31:                                               ; preds = %26, %29
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %1, ptr noundef nonnull align 1 dereferenceable(1) %2)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %1, i64 noundef 0)
          to label %.preheader88 unwind label %36

.preheader88:                                     ; preds = %31
  %32 = add i32 %.04494, 1
  br label %38

33:                                               ; preds = %75
  %34 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc nuw i8 %34 to i1
  br i1 %35, label %78, label %80

36:                                               ; preds = %78, %31
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %246

38:                                               ; preds = %.preheader88, %75
  %.04589 = phi i32 [ 0, %.preheader88 ], [ %76, %75 ]
  %39 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %40 unwind label %69

40:                                               ; preds = %38
  %41 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %39)
          to label %42 unwind label %69

42:                                               ; preds = %40
  %43 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %41)
          to label %44 unwind label %69

44:                                               ; preds = %42
  %45 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %43)
          to label %46 unwind label %69

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  call void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull %1, i32 noundef %.04494)
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %32, ptr noundef nonnull align 8 dereferenceable(12) %3)
          to label %47 unwind label %71

47:                                               ; preds = %46
  %48 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %49 unwind label %71

49:                                               ; preds = %47
  %50 = icmp eq i64 %48, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %49
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1387, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.37)
          to label %52 unwind label %71

52:                                               ; preds = %51, %49
  %53 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %54 unwind label %71

54:                                               ; preds = %52
  %55 = trunc i64 %53 to i32
  %56 = icmp eq i32 %.04494, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1388, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.39)
          to label %58 unwind label %71

58:                                               ; preds = %57, %54
  %59 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %60 = load i32, ptr @_ZL9MinThread, align 4, !tbaa !5
  %61 = add nsw i32 %60, %59
  %62 = sdiv i32 %61, 2
  %63 = icmp slt i32 %.04494, %62
  br i1 %63, label %64, label %75

64:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %65 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %1, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %66 unwind label %73

66:                                               ; preds = %64
  br i1 %65, label %67, label %68

67:                                               ; preds = %66
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1393, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.41)
          to label %68 unwind label %73

68:                                               ; preds = %67, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  br label %75

69:                                               ; preds = %44, %42, %40, %38
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %246

71:                                               ; preds = %57, %52, %51, %47, %46
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %77

73:                                               ; preds = %67, %64
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  br label %77

75:                                               ; preds = %68, %58
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  %76 = add nuw nsw i32 %.04589, 1
  %exitcond.not = icmp eq i32 %76, 10
  br i1 %exitcond.not, label %33, label %38, !llvm.loop !13

77:                                               ; preds = %73, %71
  %.pn82 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  br label %246

78:                                               ; preds = %33
  %79 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 1397, ptr noundef nonnull @__FUNCTION__._Z9TestAbortv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %79, ptr noundef nonnull @.str.42)
          to label %80 unwind label %36

80:                                               ; preds = %78, %33
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %81 unwind label %87

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %5, i64 noundef 2)
          to label %.preheader87 unwind label %89

.preheader87:                                     ; preds = %81
  %82 = icmp sgt i32 %.04494, 1
  %83 = add nsw i32 %.04494, -2
  br label %91

84:                                               ; preds = %122
  %85 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %86 = trunc nuw i8 %85 to i1
  br i1 %86, label %125, label %127

87:                                               ; preds = %80
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  br label %245

89:                                               ; preds = %125, %81
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %244

91:                                               ; preds = %.preheader87, %122
  %.04390 = phi i32 [ 0, %.preheader87 ], [ %123, %122 ]
  %92 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %93 unwind label %112

93:                                               ; preds = %91
  %94 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %92)
          to label %95 unwind label %112

95:                                               ; preds = %93
  %96 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %94)
          to label %97 unwind label %112

97:                                               ; preds = %95
  %98 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %96)
          to label %99 unwind label %112

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
  call void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull %5, i32 noundef %.04494)
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %32, ptr noundef nonnull align 8 dereferenceable(12) %7)
          to label %100 unwind label %114

100:                                              ; preds = %99
  %101 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %102 unwind label %114

102:                                              ; preds = %100
  %103 = icmp ult i64 %101, 3
  br i1 %103, label %105, label %104

104:                                              ; preds = %102
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1404, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.44)
          to label %105 unwind label %114

105:                                              ; preds = %104, %102
  br i1 %82, label %106, label %116

106:                                              ; preds = %105
  %107 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %108 unwind label %114

108:                                              ; preds = %106
  %109 = trunc i64 %107 to i32
  %110 = icmp eq i32 %83, %109
  br i1 %110, label %116, label %111

111:                                              ; preds = %108
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1406, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.46)
          to label %116 unwind label %114

112:                                              ; preds = %97, %95, %93, %91
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %244

114:                                              ; preds = %111, %106, %104, %100, %99
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %124

116:                                              ; preds = %108, %111, %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  br label %117

117:                                              ; preds = %119, %116
  %118 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %119 unwind label %120

119:                                              ; preds = %117
  br i1 %118, label %117, label %122, !llvm.loop !15

120:                                              ; preds = %117
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  br label %124

122:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  %123 = add nuw nsw i32 %.04390, 1
  %exitcond95.not = icmp eq i32 %123, 10
  br i1 %exitcond95.not, label %84, label %91, !llvm.loop !16

124:                                              ; preds = %120, %114
  %.pn77 = phi { ptr, i32 } [ %121, %120 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  br label %244

125:                                              ; preds = %84
  %126 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 1411, ptr noundef nonnull @__FUNCTION__._Z9TestAbortv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %126, ptr noundef nonnull @.str.47)
          to label %127 unwind label %89

127:                                              ; preds = %125, %84
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %128 unwind label %132

128:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %9, i64 noundef 2)
          to label %.preheader86 unwind label %134

129:                                              ; preds = %170
  %130 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !9, !range !11, !noundef !12
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %173, label %175

132:                                              ; preds = %127
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  br label %243

134:                                              ; preds = %173, %128
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %242

.preheader86:                                     ; preds = %128, %170
  %.04291 = phi i32 [ %171, %170 ], [ 0, %128 ]
  %136 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %137 unwind label %158

137:                                              ; preds = %.preheader86
  %138 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %136)
          to label %139 unwind label %158

139:                                              ; preds = %137
  %140 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %138)
          to label %141 unwind label %158

141:                                              ; preds = %139
  %142 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %140)
          to label %143 unwind label %158

143:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 42, ptr %11, align 4, !tbaa !5
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %144 unwind label %160

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
  store i32 42, ptr %12, align 4, !tbaa !5
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %145 unwind label %162

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #3
  call void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull %9, i32 noundef %.04494, i32 noundef 2)
  invoke void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef %32, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %146 unwind label %164

146:                                              ; preds = %145
  %147 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_popped)
          to label %148 unwind label %164

148:                                              ; preds = %146
  %149 = icmp ult i64 %147, 3
  br i1 %149, label %151, label %150

150:                                              ; preds = %148
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1420, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.49)
          to label %151 unwind label %164

151:                                              ; preds = %150, %148
  br i1 %82, label %152, label %166

152:                                              ; preds = %151
  %153 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops)
          to label %154 unwind label %164

154:                                              ; preds = %152
  %155 = trunc i64 %153 to i32
  %156 = icmp eq i32 %83, %155
  br i1 %156, label %170, label %157

157:                                              ; preds = %154
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1422, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.51)
          to label %170 unwind label %164

158:                                              ; preds = %141, %139, %137, %.preheader86
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %242

160:                                              ; preds = %143
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  br label %242

162:                                              ; preds = %144
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
  br label %242

164:                                              ; preds = %157, %152, %150, %146, %145
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %172

166:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE3popERi(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %167 unwind label %168

167:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  br label %170

168:                                              ; preds = %166
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  br label %172

170:                                              ; preds = %154, %157, %167
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  %171 = add nuw nsw i32 %.04291, 1
  %exitcond96.not = icmp eq i32 %171, 10
  br i1 %exitcond96.not, label %129, label %.preheader86, !llvm.loop !17

172:                                              ; preds = %168, %164
  %.pn72 = phi { ptr, i32 } [ %165, %164 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  br label %242

173:                                              ; preds = %129
  %174 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 1429, ptr noundef nonnull @__FUNCTION__._Z9TestAbortv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %174, ptr noundef nonnull @.str.52)
          to label %175 unwind label %134

175:                                              ; preds = %173, %129
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #3
  call void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #3
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %176 unwind label %180

176:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #3
  %177 = sdiv i32 %.04494, 2
  %.not63 = icmp ult i32 %32, 3
  %spec.store.select = select i1 %.not63, i32 1, i32 %177
  %178 = sext i32 %spec.store.select to i64
  invoke void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41) %15, i64 noundef %178)
          to label %.preheader unwind label %184

.preheader:                                       ; preds = %176
  %.not65 = icmp slt i32 %.04494, %spec.store.select
  %179 = sub nsw i32 %.04494, %spec.store.select
  br label %186

180:                                              ; preds = %175
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #3
  br label %241

182:                                              ; preds = %236
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %1) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #3
  %183 = load i32, ptr @_ZL9MaxThread, align 4, !tbaa !5
  %.not = icmp sgt i32 %32, %183
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18

184:                                              ; preds = %176
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %240

186:                                              ; preds = %.preheader, %236
  %.092 = phi i32 [ 0, %.preheader ], [ %237, %236 ]
  %187 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops, i64 noundef 0)
          to label %188 unwind label %207

188:                                              ; preds = %186
  %189 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes, i64 noundef %187)
          to label %190 unwind label %207

190:                                              ; preds = %188
  %191 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_popped, i64 noundef %189)
          to label %192 unwind label %207

192:                                              ; preds = %190
  %193 = invoke noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed, i64 noundef %191)
          to label %194 unwind label %207

194:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #3
  call void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12) %17, ptr noundef nonnull %15, i32 noundef %.04494)
  invoke void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef %32, ptr noundef nonnull align 8 dereferenceable(12) %17)
          to label %195 unwind label %209

195:                                              ; preds = %194
  %196 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %197 unwind label %209

197:                                              ; preds = %195
  %198 = trunc i64 %196 to i32
  %.not64 = icmp slt i32 %spec.store.select, %198
  br i1 %.not64, label %199, label %200

199:                                              ; preds = %197
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1438, ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.54)
          to label %200 unwind label %209

200:                                              ; preds = %199, %197
  br i1 %.not65, label %211, label %201

201:                                              ; preds = %200
  %202 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pushes)
          to label %203 unwind label %209

203:                                              ; preds = %201
  %204 = trunc i64 %202 to i32
  %205 = icmp eq i32 %179, %204
  br i1 %205, label %211, label %206

206:                                              ; preds = %203
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1440, ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.56)
          to label %211 unwind label %209

207:                                              ; preds = %192, %190, %188, %186
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %240

209:                                              ; preds = %206, %201, %199, %195, %194
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %239

211:                                              ; preds = %203, %206, %200
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #3
  %212 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_pushed)
          to label %213 unwind label %227

213:                                              ; preds = %211
  %214 = trunc i64 %212 to i32
  call void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull %15, i32 noundef %.04494, i32 noundef %214)
  invoke void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef %32, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %215 unwind label %227

215:                                              ; preds = %213
  %216 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @num_popped)
          to label %217 unwind label %227

217:                                              ; preds = %215
  %218 = trunc i64 %216 to i32
  %.not66 = icmp slt i32 %spec.store.select, %218
  br i1 %.not66, label %219, label %220

219:                                              ; preds = %217
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1443, ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.58)
          to label %220 unwind label %227

220:                                              ; preds = %219, %217
  br i1 %.not65, label %229, label %221

221:                                              ; preds = %220
  %222 = invoke noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8) @failed_pops)
          to label %223 unwind label %227

223:                                              ; preds = %221
  %224 = trunc i64 %222 to i32
  %225 = icmp eq i32 %179, %224
  br i1 %225, label %236, label %226

226:                                              ; preds = %223
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 1445, ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.60)
          to label %236 unwind label %227

227:                                              ; preds = %226, %221, %219, %215, %213, %211
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %238

229:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #3
  br label %230

230:                                              ; preds = %232, %229
  %231 = invoke noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41) %15, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %232 unwind label %233

232:                                              ; preds = %230
  br i1 %231, label %230, label %235, !llvm.loop !19

233:                                              ; preds = %230
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3
  br label %238

235:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3
  br label %236

236:                                              ; preds = %223, %226, %235
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #3
  %237 = add nuw nsw i32 %.092, 1
  %exitcond97.not = icmp eq i32 %237, 10
  br i1 %exitcond97.not, label %182, label %186, !llvm.loop !20

238:                                              ; preds = %233, %227
  %.pn = phi { ptr, i32 } [ %228, %227 ], [ %234, %233 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #3
  br label %239

239:                                              ; preds = %238, %209
  %.pn.pn = phi { ptr, i32 } [ %.pn, %238 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #3
  br label %240

240:                                              ; preds = %207, %239, %184
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %185, %184 ], [ %.pn.pn, %239 ], [ %208, %207 ]
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #3
  br label %241

241:                                              ; preds = %240, %180
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %240 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #3
  br label %242

242:                                              ; preds = %158, %160, %162, %172, %241, %134
  %.pn72.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %241 ], [ %135, %134 ], [ %.pn72, %172 ], [ %163, %162 ], [ %161, %160 ], [ %159, %158 ]
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #3
  br label %243

243:                                              ; preds = %242, %132
  %.pn72.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn, %242 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #3
  br label %244

244:                                              ; preds = %112, %124, %243, %89
  %.pn77.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn, %243 ], [ %90, %89 ], [ %.pn77, %124 ], [ %113, %112 ]
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #3
  br label %245

245:                                              ; preds = %244, %87
  %.pn77.pn.pn.pn = phi { ptr, i32 } [ %.pn77.pn.pn, %244 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
  br label %246

246:                                              ; preds = %69, %77, %245, %36
  %.pn82.pn.pn = phi { ptr, i32 } [ %.pn77.pn.pn.pn, %245 ], [ %37, %36 ], [ %.pn82, %77 ], [ %70, %69 ]
  call void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %1) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #3
  resume { ptr, i32 } %.pn82.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb23cache_aligned_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE12set_capacityEl(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3tbb6atomicImEaSEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14SimplePushBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17NativeParallelForIi14SimplePushBodyEvT_RKT0_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNVK3tbb8internal11atomic_implImEcvmEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE7try_popERi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13SimplePopBodyC2EPN3tbb24concurrent_bounded_queueIiNS0_23cache_aligned_allocatorIiEEEEii(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17NativeParallelForIi13SimplePopBodyEvT_RKT0_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEE3popERi(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb24concurrent_bounded_queueIiNS_23cache_aligned_allocatorIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass