; LLVM IR from interpretml/interpret :: shared/libebm/tests (CutQuantileTest)

; 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.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.8" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { i8 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.11" = type { i8 }

@_ZZ19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_E10illegalVal = external hidden constant double, align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 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

declare i32 @__gxx_personality_v0(...)

; 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
define dso_local void @_Z19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(48) %0, i1 noundef zeroext %1, i1 noundef zeroext %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) #1 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"class.std::vector.6", align 8
  %19 = alloca %"class.std::allocator.8", align 1
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.6", align 8
  %23 = alloca %"class.std::vector.6", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %class.anon, align 1
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca i64, align 8
  %30 = alloca i8, align 1
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.11", align 1
  %33 = alloca i8, align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.11", align 1
  %36 = alloca i64, align 8
  %37 = alloca i8, align 1
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.11", align 1
  %40 = alloca i64, align 8
  %41 = alloca i8, align 1
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.11", align 1
  %44 = alloca i64, align 8
  %45 = alloca double, align 8
  %46 = alloca i8, align 1
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.11", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca i8, align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator.11", align 1
  %55 = alloca i8, align 1
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator.11", align 1
  %58 = alloca i64, align 8
  %59 = alloca i8, align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.11", align 1
  %62 = alloca i8, align 1
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.11", align 1
  %65 = alloca i64, align 8
  %66 = alloca double, align 8
  %67 = alloca i8, align 1
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator.11", align 1
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  %73 = zext i1 %1 to i8
  store i8 %73, ptr %9, align 1, !tbaa !9
  %74 = zext i1 %2 to i8
  store i8 %74, ptr %10, align 1, !tbaa !9
  store i64 %3, ptr %11, align 8, !tbaa !11
  store i64 %4, ptr %12, align 8, !tbaa !11
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %75 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %75, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %76 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %76, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  %77 = load i64, ptr %11, align 8, !tbaa !11
  %78 = add i64 %77, 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %78, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_E10illegalVal, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %79 unwind label %125

79:                                               ; preds = %7
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %80 unwind label %129

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %81 unwind label %133

81:                                               ; preds = %80
  %82 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %83 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %82, ptr %83, align 8
  %84 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %85 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  %86 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %87 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  %94 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z19TestQuantileBinningR14TestCaseHiddenbbmmS5_S5_E3$_0ET0_T_SB_SA_T1_"(ptr %89, ptr %91, ptr %93)
          to label %95 unwind label %137

95:                                               ; preds = %81
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %94, ptr %96, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %97 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %97, ptr %29, align 8, !tbaa !11
  %98 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %99 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %100 = icmp eq i64 0, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %95
  br label %104

102:                                              ; preds = %95
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #5
  br label %104

104:                                              ; preds = %102, %101
  %105 = phi ptr [ null, %101 ], [ %103, %102 ]
  %106 = load i64, ptr %17, align 8, !tbaa !11
  %107 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i64
  %110 = select i1 %108, i32 1, i32 0
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  %112 = invoke i32 @CutQuantile(i64 noundef %98, ptr noundef %105, i64 noundef %106, i32 noundef %110, ptr noundef %29, ptr noundef %111)
          to label %113 unwind label %141

113:                                              ; preds = %104
  store i32 %112, ptr %15, align 4, !tbaa !15
  br label %114

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  %115 = load i32, ptr %15, align 4, !tbaa !15
  %116 = icmp eq i32 0, %115
  %117 = xor i1 %116, true
  %118 = zext i1 %117 to i8
  store i8 %118, ptr %30, align 1, !tbaa !9
  %119 = load i8, ptr %30, align 1, !tbaa !9, !range !13, !noundef !14
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %154

121:                                              ; preds = %114
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %123 unwind label %145

123:                                              ; preds = %121
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %122, ptr noundef %31)
          to label %124 unwind label %149

124:                                              ; preds = %123
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  br label %154

125:                                              ; preds = %7
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %20, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %21, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  br label %528

129:                                              ; preds = %79
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %20, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %21, align 4
  br label %527

133:                                              ; preds = %80
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %20, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %21, align 4
  br label %526

137:                                              ; preds = %81
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %20, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %21, align 4
  br label %525

141:                                              ; preds = %104
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %20, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %21, align 4
  br label %524

145:                                              ; preds = %121
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %20, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %21, align 4
  br label %153

149:                                              ; preds = %123
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %20, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #5
  br label %153

153:                                              ; preds = %149, %145
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  br label %524

154:                                              ; preds = %124, %114
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  br label %155

155:                                              ; preds = %154
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  %159 = load double, ptr %158, align 8, !tbaa !17
  %160 = fcmp oeq double 0xC08BC70A3D70A3D7, %159
  %161 = xor i1 %160, true
  %162 = zext i1 %161 to i8
  store i8 %162, ptr %33, align 1, !tbaa !9
  %163 = load i8, ptr %33, align 1, !tbaa !9, !range !13, !noundef !14
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %178

165:                                              ; preds = %157
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %167 unwind label %169

167:                                              ; preds = %165
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %166, ptr noundef %34)
          to label %168 unwind label %173

168:                                              ; preds = %167
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  br label %178

169:                                              ; preds = %165
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %20, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %21, align 4
  br label %177

173:                                              ; preds = %167
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %20, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  br label %177

177:                                              ; preds = %173, %169
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  br label %524

178:                                              ; preds = %168, %157
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  br label %179

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %181 = load i64, ptr %29, align 8, !tbaa !11
  %182 = add i64 %181, 1
  store i64 %182, ptr %36, align 8, !tbaa !11
  br label %183

183:                                              ; preds = %215, %180
  %184 = load i64, ptr %36, align 8, !tbaa !11
  %185 = load i64, ptr %11, align 8, !tbaa !11
  %186 = add i64 %185, 2
  %187 = icmp ult i64 %184, %186
  br i1 %187, label %189, label %188

188:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %218

189:                                              ; preds = %183
  br label %190

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  %191 = load i64, ptr %36, align 8, !tbaa !11
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %191) #5
  %193 = load double, ptr %192, align 8, !tbaa !17
  %194 = fcmp oeq double 0xC08BC70A3D70A3D7, %193
  %195 = xor i1 %194, true
  %196 = zext i1 %195 to i8
  store i8 %196, ptr %37, align 1, !tbaa !9
  %197 = load i8, ptr %37, align 1, !tbaa !9, !range !13, !noundef !14
  %198 = trunc i8 %197 to i1
  br i1 %198, label %199, label %212

199:                                              ; preds = %190
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %201 unwind label %203

201:                                              ; preds = %199
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %200, ptr noundef %38)
          to label %202 unwind label %207

202:                                              ; preds = %201
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  br label %212

203:                                              ; preds = %199
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %20, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %21, align 4
  br label %211

207:                                              ; preds = %201
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %20, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  br label %211

211:                                              ; preds = %207, %203
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %524

212:                                              ; preds = %202, %190
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  br label %213

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214
  %216 = load i64, ptr %36, align 8, !tbaa !11
  %217 = add i64 %216, 1
  store i64 %217, ptr %36, align 8, !tbaa !11
  br label %183, !llvm.loop !19

218:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %219 = load i64, ptr %29, align 8, !tbaa !11
  store i64 %219, ptr %40, align 8, !tbaa !11
  br label %220

220:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  %221 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %222 = load i64, ptr %40, align 8, !tbaa !11
  %223 = icmp eq i64 %221, %222
  %224 = xor i1 %223, true
  %225 = zext i1 %224 to i8
  store i8 %225, ptr %41, align 1, !tbaa !9
  %226 = load i8, ptr %41, align 1, !tbaa !9, !range !13, !noundef !14
  %227 = trunc i8 %226 to i1
  br i1 %227, label %228, label %241

228:                                              ; preds = %220
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %230 unwind label %232

230:                                              ; preds = %228
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %229, ptr noundef %42)
          to label %231 unwind label %236

231:                                              ; preds = %230
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  br label %241

232:                                              ; preds = %228
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %20, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %21, align 4
  br label %240

236:                                              ; preds = %230
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %20, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #5
  br label %240

240:                                              ; preds = %236, %232
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  br label %523

241:                                              ; preds = %231, %220
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  br label %242

242:                                              ; preds = %241
  br label %243

243:                                              ; preds = %242
  %244 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %245 = load i64, ptr %40, align 8, !tbaa !11
  %246 = icmp eq i64 %244, %245
  br i1 %246, label %247, label %313

247:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  store i64 0, ptr %44, align 8, !tbaa !11
  br label %248

248:                                              ; preds = %308, %247
  %249 = load i64, ptr %44, align 8, !tbaa !11
  %250 = load i64, ptr %40, align 8, !tbaa !11
  %251 = icmp ult i64 %249, %250
  br i1 %251, label %253, label %252

252:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  br label %312

253:                                              ; preds = %248
  br label %254

254:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %255 = load i64, ptr %44, align 8, !tbaa !11
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %255) #5
  %257 = load double, ptr %256, align 8, !tbaa !17
  store double %257, ptr %45, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #5
  %258 = load double, ptr %45, align 8, !tbaa !17
  %259 = load i64, ptr %44, align 8, !tbaa !11
  %260 = add i64 %259, 1
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %260) #5
  %262 = load double, ptr %261, align 8, !tbaa !17
  %263 = invoke noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef %258, double noundef %262, double noundef 1.000000e-04)
          to label %264 unwind label %277

264:                                              ; preds = %254
  %265 = zext i1 %263 to i8
  store i8 %265, ptr %46, align 1, !tbaa !9
  %266 = load i8, ptr %46, align 1, !tbaa !9, !range !13, !noundef !14
  %267 = trunc i8 %266 to i1
  br i1 %267, label %305, label %268

268:                                              ; preds = %264
  %269 = load double, ptr %45, align 8, !tbaa !17
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %271 unwind label %281

271:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #5
  %272 = load double, ptr %45, align 8, !tbaa !17
  invoke void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %51, double noundef %272)
          to label %273 unwind label %285

273:                                              ; preds = %271
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %274 unwind label %289

274:                                              ; preds = %273
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %47, ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.8)
          to label %275 unwind label %293

275:                                              ; preds = %274
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef %269, ptr noundef %270, ptr noundef %47)
          to label %276 unwind label %297

276:                                              ; preds = %275
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #5
  br label %305

277:                                              ; preds = %254
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %20, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %21, align 4
  br label %311

281:                                              ; preds = %268
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %20, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %21, align 4
  br label %304

285:                                              ; preds = %271
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %20, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %21, align 4
  br label %303

289:                                              ; preds = %273
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %20, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %21, align 4
  br label %302

293:                                              ; preds = %274
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %20, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %21, align 4
  br label %301

297:                                              ; preds = %275
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %20, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #5
  br label %301

301:                                              ; preds = %297, %293
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #5
  br label %302

302:                                              ; preds = %301, %289
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #5
  br label %303

303:                                              ; preds = %302, %285
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #5
  br label %304

304:                                              ; preds = %303, %281
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #5
  br label %311

305:                                              ; preds = %276, %264
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %306

306:                                              ; preds = %305
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307
  %309 = load i64, ptr %44, align 8, !tbaa !11
  %310 = add i64 %309, 1
  store i64 %310, ptr %44, align 8, !tbaa !11
  br label %248, !llvm.loop !21

311:                                              ; preds = %304, %277
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  br label %523

312:                                              ; preds = %252
  br label %313

313:                                              ; preds = %312, %243
  %314 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %315 = trunc i8 %314 to i1
  br i1 %315, label %316, label %522

316:                                              ; preds = %313
  %317 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %317, ptr %29, align 8, !tbaa !11
  %318 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %319 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %320 = icmp eq i64 0, %319
  br i1 %320, label %321, label %322

321:                                              ; preds = %316
  br label %324

322:                                              ; preds = %316
  %323 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #5
  br label %324

324:                                              ; preds = %322, %321
  %325 = phi ptr [ null, %321 ], [ %323, %322 ]
  %326 = load i64, ptr %17, align 8, !tbaa !11
  %327 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %328 = trunc i8 %327 to i1
  %329 = zext i1 %328 to i64
  %330 = select i1 %328, i32 1, i32 0
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  %332 = invoke i32 @CutQuantile(i64 noundef %318, ptr noundef %325, i64 noundef %326, i32 noundef %330, ptr noundef %29, ptr noundef %331)
          to label %333 unwind label %345

333:                                              ; preds = %324
  store i32 %332, ptr %15, align 4, !tbaa !15
  br label %334

334:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #5
  %335 = load i32, ptr %15, align 4, !tbaa !15
  %336 = icmp eq i32 0, %335
  %337 = xor i1 %336, true
  %338 = zext i1 %337 to i8
  store i8 %338, ptr %52, align 1, !tbaa !9
  %339 = load i8, ptr %52, align 1, !tbaa !9, !range !13, !noundef !14
  %340 = trunc i8 %339 to i1
  br i1 %340, label %341, label %358

341:                                              ; preds = %334
  %342 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %343 unwind label %349

343:                                              ; preds = %341
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %342, ptr noundef %53)
          to label %344 unwind label %353

344:                                              ; preds = %343
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #5
  br label %358

345:                                              ; preds = %324
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %20, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %21, align 4
  br label %523

349:                                              ; preds = %341
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %20, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %21, align 4
  br label %357

353:                                              ; preds = %343
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %20, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #5
  br label %357

357:                                              ; preds = %353, %349
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #5
  br label %523

358:                                              ; preds = %344, %334
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #5
  br label %359

359:                                              ; preds = %358
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #5
  %362 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  %363 = load double, ptr %362, align 8, !tbaa !17
  %364 = fcmp oeq double 0xC08BC70A3D70A3D7, %363
  %365 = xor i1 %364, true
  %366 = zext i1 %365 to i8
  store i8 %366, ptr %55, align 1, !tbaa !9
  %367 = load i8, ptr %55, align 1, !tbaa !9, !range !13, !noundef !14
  %368 = trunc i8 %367 to i1
  br i1 %368, label %369, label %382

369:                                              ; preds = %361
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %371 unwind label %373

371:                                              ; preds = %369
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %370, ptr noundef %56)
          to label %372 unwind label %377

372:                                              ; preds = %371
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  br label %382

373:                                              ; preds = %369
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %20, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %21, align 4
  br label %381

377:                                              ; preds = %371
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %20, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #5
  br label %381

381:                                              ; preds = %377, %373
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #5
  br label %523

382:                                              ; preds = %372, %361
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #5
  br label %383

383:                                              ; preds = %382
  br label %384

384:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  %385 = load i64, ptr %29, align 8, !tbaa !11
  %386 = add i64 %385, 1
  store i64 %386, ptr %58, align 8, !tbaa !11
  br label %387

387:                                              ; preds = %419, %384
  %388 = load i64, ptr %58, align 8, !tbaa !11
  %389 = load i64, ptr %11, align 8, !tbaa !11
  %390 = add i64 %389, 2
  %391 = icmp ult i64 %388, %390
  br i1 %391, label %393, label %392

392:                                              ; preds = %387
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  br label %422

393:                                              ; preds = %387
  br label %394

394:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #5
  %395 = load i64, ptr %58, align 8, !tbaa !11
  %396 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %395) #5
  %397 = load double, ptr %396, align 8, !tbaa !17
  %398 = fcmp oeq double 0xC08BC70A3D70A3D7, %397
  %399 = xor i1 %398, true
  %400 = zext i1 %399 to i8
  store i8 %400, ptr %59, align 1, !tbaa !9
  %401 = load i8, ptr %59, align 1, !tbaa !9, !range !13, !noundef !14
  %402 = trunc i8 %401 to i1
  br i1 %402, label %403, label %416

403:                                              ; preds = %394
  %404 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %405 unwind label %407

405:                                              ; preds = %403
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %404, ptr noundef %60)
          to label %406 unwind label %411

406:                                              ; preds = %405
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #5
  br label %416

407:                                              ; preds = %403
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %20, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %21, align 4
  br label %415

411:                                              ; preds = %405
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %20, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #5
  br label %415

415:                                              ; preds = %411, %407
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  br label %523

416:                                              ; preds = %406, %394
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #5
  br label %417

417:                                              ; preds = %416
  br label %418

418:                                              ; preds = %417
  br label %419

419:                                              ; preds = %418
  %420 = load i64, ptr %58, align 8, !tbaa !11
  %421 = add i64 %420, 1
  store i64 %421, ptr %58, align 8, !tbaa !11
  br label %387, !llvm.loop !22

422:                                              ; preds = %392
  %423 = load i64, ptr %29, align 8, !tbaa !11
  store i64 %423, ptr %40, align 8, !tbaa !11
  br label %424

424:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #5
  %425 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %426 = load i64, ptr %40, align 8, !tbaa !11
  %427 = icmp eq i64 %425, %426
  %428 = xor i1 %427, true
  %429 = zext i1 %428 to i8
  store i8 %429, ptr %62, align 1, !tbaa !9
  %430 = load i8, ptr %62, align 1, !tbaa !9, !range !13, !noundef !14
  %431 = trunc i8 %430 to i1
  br i1 %431, label %432, label %445

432:                                              ; preds = %424
  %433 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %434 unwind label %436

434:                                              ; preds = %432
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef %433, ptr noundef %63)
          to label %435 unwind label %440

435:                                              ; preds = %434
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #5
  br label %445

436:                                              ; preds = %432
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %20, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %21, align 4
  br label %444

440:                                              ; preds = %434
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %20, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #5
  br label %444

444:                                              ; preds = %440, %436
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #5
  br label %523

445:                                              ; preds = %435, %424
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #5
  br label %446

446:                                              ; preds = %445
  br label %447

447:                                              ; preds = %446
  %448 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %449 = load i64, ptr %40, align 8, !tbaa !11
  %450 = icmp eq i64 %448, %449
  br i1 %450, label %451, label %521

451:                                              ; preds = %447
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  store i64 0, ptr %65, align 8, !tbaa !11
  br label %452

452:                                              ; preds = %516, %451
  %453 = load i64, ptr %65, align 8, !tbaa !11
  %454 = load i64, ptr %40, align 8, !tbaa !11
  %455 = icmp ult i64 %453, %454
  br i1 %455, label %457, label %456

456:                                              ; preds = %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  br label %520

457:                                              ; preds = %452
  br label %458

458:                                              ; preds = %457
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  %459 = load i64, ptr %40, align 8, !tbaa !11
  %460 = sub i64 %459, 1
  %461 = load i64, ptr %65, align 8, !tbaa !11
  %462 = sub i64 %460, %461
  %463 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %462) #5
  %464 = load double, ptr %463, align 8, !tbaa !17
  %465 = fneg double %464
  store double %465, ptr %66, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #5
  %466 = load double, ptr %66, align 8, !tbaa !17
  %467 = load i64, ptr %65, align 8, !tbaa !11
  %468 = add i64 %467, 1
  %469 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %468) #5
  %470 = load double, ptr %469, align 8, !tbaa !17
  %471 = invoke noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef %466, double noundef %470, double noundef 1.000000e-04)
          to label %472 unwind label %485

472:                                              ; preds = %458
  %473 = zext i1 %471 to i8
  store i8 %473, ptr %67, align 1, !tbaa !9
  %474 = load i8, ptr %67, align 1, !tbaa !9, !range !13, !noundef !14
  %475 = trunc i8 %474 to i1
  br i1 %475, label %513, label %476

476:                                              ; preds = %472
  %477 = load double, ptr %66, align 8, !tbaa !17
  %478 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %479 unwind label %489

479:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #5
  %480 = load double, ptr %66, align 8, !tbaa !17
  invoke void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %72, double noundef %480)
          to label %481 unwind label %493

481:                                              ; preds = %479
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %69, ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %482 unwind label %497

482:                                              ; preds = %481
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %68, ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef @.str.8)
          to label %483 unwind label %501

483:                                              ; preds = %482
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef %477, ptr noundef %478, ptr noundef %68)
          to label %484 unwind label %505

484:                                              ; preds = %483
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #5
  br label %513

485:                                              ; preds = %458
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %20, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %21, align 4
  br label %519

489:                                              ; preds = %476
  %490 = landingpad { ptr, i32 }
          cleanup
  %491 = extractvalue { ptr, i32 } %490, 0
  store ptr %491, ptr %20, align 8
  %492 = extractvalue { ptr, i32 } %490, 1
  store i32 %492, ptr %21, align 4
  br label %512

493:                                              ; preds = %479
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %20, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %21, align 4
  br label %511

497:                                              ; preds = %481
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %20, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %21, align 4
  br label %510

501:                                              ; preds = %482
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %20, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %21, align 4
  br label %509

505:                                              ; preds = %483
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %20, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #5
  br label %509

509:                                              ; preds = %505, %501
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #5
  br label %510

510:                                              ; preds = %509, %497
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #5
  br label %511

511:                                              ; preds = %510, %493
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #5
  br label %512

512:                                              ; preds = %511, %489
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #5
  br label %519

513:                                              ; preds = %484, %472
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  br label %514

514:                                              ; preds = %513
  br label %515

515:                                              ; preds = %514
  br label %516

516:                                              ; preds = %515
  %517 = load i64, ptr %65, align 8, !tbaa !11
  %518 = add i64 %517, 1
  store i64 %518, ptr %65, align 8, !tbaa !11
  br label %452, !llvm.loop !23

519:                                              ; preds = %512, %485
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  br label %523

520:                                              ; preds = %456
  br label %521

521:                                              ; preds = %520, %447
  br label %522

522:                                              ; preds = %521, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  ret void

523:                                              ; preds = %519, %444, %415, %381, %357, %345, %311, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %524

524:                                              ; preds = %523, %211, %177, %153, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %525

525:                                              ; preds = %524, %137
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  br label %526

526:                                              ; preds = %525, %133
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  br label %527

527:                                              ; preds = %526, %129
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %528

528:                                              ; preds = %527, %125
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %529

529:                                              ; preds = %528
  %530 = load ptr, ptr %20, align 8
  %531 = load i32, ptr %21, align 4
  %532 = insertvalue { ptr, i32 } poison, ptr %530, 0
  %533 = insertvalue { ptr, i32 } %532, i32 %531, 1
  resume { ptr, i32 } %533
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z19TestQuantileBinningR14TestCaseHiddenbbmmS5_S5_E3$_0ET0_T_SB_SA_T1_"(ptr, ptr, ptr) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare i32 @CutQuantile(i64 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) #3

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

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

declare void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

declare noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef, double noundef, double noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 #4 = { inlinehint 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 #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}


; 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.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.8" = type { i8 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.11" = type { i8 }

@_ZZ19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_E10illegalVal = external hidden constant double, align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 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

declare i32 @__gxx_personality_v0(...)

; 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
define dso_local void @_Z19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(48) %0, i1 noundef zeroext %1, i1 noundef zeroext %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::vector.6", align 8
  %9 = alloca %"class.std::allocator.8", align 1
  %10 = alloca %"class.std::vector.6", align 8
  %11 = alloca %"class.std::vector.6", align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.11", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.11", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.11", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.11", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.11", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator.11", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.11", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.11", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.11", align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.11", align 1
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  %39 = add i64 %3, 2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(8) @_ZZ19TestQuantileBinningR14TestCaseHiddenbbmmSt6vectorIdSaIdEES3_E10illegalVal, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %40 unwind label %62

40:                                               ; preds = %7
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %41 unwind label %64

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %42 unwind label %66

42:                                               ; preds = %41
  %43 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %44 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %45 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %46 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z19TestQuantileBinningR14TestCaseHiddenbbmmS5_S5_E3$_0ET0_T_SB_SA_T1_"(ptr %43, ptr %44, ptr %45)
          to label %47 unwind label %68

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i64 %3, ptr %12, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %49 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %53, label %51

51:                                               ; preds = %47
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #5
  br label %53

53:                                               ; preds = %47, %51
  %54 = phi ptr [ %52, %51 ], [ null, %47 ]
  %55 = zext i1 %2 to i32
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1) #5
  %57 = invoke i32 @CutQuantile(i64 noundef %48, ptr noundef %54, i64 noundef %4, i32 noundef %55, ptr noundef nonnull %12, ptr noundef nonnull %56)
          to label %58 unwind label %70

58:                                               ; preds = %53
  %.not = icmp eq i32 %57, 0
  br i1 %.not, label %77, label %59

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %60 unwind label %72

60:                                               ; preds = %59
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %13)
          to label %61 unwind label %74

61:                                               ; preds = %60
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %77

62:                                               ; preds = %7
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %247

64:                                               ; preds = %40
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %246

66:                                               ; preds = %41
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %245

68:                                               ; preds = %42
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %244

70:                                               ; preds = %53
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %243

72:                                               ; preds = %59
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %60
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %76

76:                                               ; preds = %74, %72
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %243

77:                                               ; preds = %61, %58
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #5
  %79 = load double, ptr %78, align 8, !tbaa !9
  %80 = fcmp une double %79, 0xC08BC70A3D70A3D7
  br i1 %80, label %81, label %89

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %82 unwind label %84

82:                                               ; preds = %81
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %15)
          to label %83 unwind label %86

83:                                               ; preds = %82
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  br label %89

84:                                               ; preds = %81
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %88

86:                                               ; preds = %82
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %88

88:                                               ; preds = %86, %84
  %.pn97 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  br label %243

89:                                               ; preds = %83, %77
  %90 = load i64, ptr %12, align 8, !tbaa !5
  %.090134 = add i64 %90, 1
  %91 = icmp ult i64 %.090134, %39
  br i1 %91, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %105
  %.pre = load i64, ptr %12, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %89
  %92 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %90, %89 ]
  %93 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %.not99 = icmp eq i64 %93, %92
  br i1 %.not99, label %114, label %106

.lr.ph:                                           ; preds = %89, %105
  %.090135 = phi i64 [ %.090, %105 ], [ %.090134, %89 ]
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.090135) #5
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = fcmp une double %95, 0xC08BC70A3D70A3D7
  br i1 %96, label %97, label %105

97:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %98 unwind label %100

98:                                               ; preds = %97
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %17)
          to label %99 unwind label %102

99:                                               ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  br label %105

100:                                              ; preds = %97
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %98
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %104

104:                                              ; preds = %102, %100
  %.pn125 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  br label %243

105:                                              ; preds = %99, %.lr.ph
  %.090 = add nuw i64 %.090135, 1
  %exitcond.not = icmp eq i64 %.090, %39
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !11

106:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %107 unwind label %109

107:                                              ; preds = %106
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %19)
          to label %108 unwind label %111

108:                                              ; preds = %107
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  br label %114

109:                                              ; preds = %106
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %113

111:                                              ; preds = %107
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %113

113:                                              ; preds = %111, %109
  %.pn100 = phi { ptr, i32 } [ %112, %111 ], [ %110, %109 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  br label %243

114:                                              ; preds = %108, %._crit_edge
  %115 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %116 = icmp eq i64 %115, %92
  %117 = icmp ne i64 %92, 0
  %or.cond = and i1 %116, %117
  br i1 %or.cond, label %.lr.ph137, label %.loopexit133

.lr.ph137:                                        ; preds = %114, %147
  %.092136 = phi i64 [ %120, %147 ], [ 0, %114 ]
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.092136) #5
  %119 = load double, ptr %118, align 8, !tbaa !9
  %120 = add nuw i64 %.092136, 1
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %120) #5
  %122 = load double, ptr %121, align 8, !tbaa !9
  %123 = invoke noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef %119, double noundef %122, double noundef 1.000000e-04)
          to label %124 unwind label %131

124:                                              ; preds = %.lr.ph137
  br i1 %123, label %147, label %125

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %126 unwind label %133

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #5
  invoke void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %25, double noundef %119)
          to label %127 unwind label %135

127:                                              ; preds = %126
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %128 unwind label %137

128:                                              ; preds = %127
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.8)
          to label %129 unwind label %139

129:                                              ; preds = %128
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef %119, ptr noundef nonnull %0, ptr noundef nonnull %21)
          to label %130 unwind label %141

130:                                              ; preds = %129
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  br label %147

131:                                              ; preds = %.lr.ph137
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %243

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %146

135:                                              ; preds = %126
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %145

137:                                              ; preds = %127
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %144

139:                                              ; preds = %128
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %129
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %143

143:                                              ; preds = %141, %139
  %.pn118 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %144

144:                                              ; preds = %143, %137
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %143 ], [ %138, %137 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %145

145:                                              ; preds = %144, %135
  %.pn118.pn.pn = phi { ptr, i32 } [ %.pn118.pn, %144 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %146

146:                                              ; preds = %145, %133
  %.pn118.pn.pn.pn = phi { ptr, i32 } [ %.pn118.pn.pn, %145 ], [ %134, %133 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  br label %243

147:                                              ; preds = %130, %124
  %exitcond146.not = icmp eq i64 %120, %92
  br i1 %exitcond146.not, label %.loopexit133, label %.lr.ph137, !llvm.loop !13

.loopexit133:                                     ; preds = %147, %114
  br i1 %1, label %148, label %.loopexit

148:                                              ; preds = %.loopexit133
  store i64 %3, ptr %12, align 8, !tbaa !5
  %149 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %150 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %151 = icmp eq i64 %150, 0
  br i1 %151, label %154, label %152

152:                                              ; preds = %148
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  br label %154

154:                                              ; preds = %148, %152
  %155 = phi ptr [ %153, %152 ], [ null, %148 ]
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1) #5
  %157 = invoke i32 @CutQuantile(i64 noundef %149, ptr noundef %155, i64 noundef %4, i32 noundef %55, ptr noundef nonnull %12, ptr noundef nonnull %156)
          to label %158 unwind label %162

158:                                              ; preds = %154
  %.not102 = icmp eq i32 %157, 0
  br i1 %.not102, label %169, label %159

159:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %160 unwind label %164

160:                                              ; preds = %159
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %26)
          to label %161 unwind label %166

161:                                              ; preds = %160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #5
  br label %169

162:                                              ; preds = %154
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %243

164:                                              ; preds = %159
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %168

166:                                              ; preds = %160
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  br label %168

168:                                              ; preds = %166, %164
  %.pn103 = phi { ptr, i32 } [ %167, %166 ], [ %165, %164 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #5
  br label %243

169:                                              ; preds = %161, %158
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #5
  %171 = load double, ptr %170, align 8, !tbaa !9
  %172 = fcmp une double %171, 0xC08BC70A3D70A3D7
  br i1 %172, label %173, label %181

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %174 unwind label %176

174:                                              ; preds = %173
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %28)
          to label %175 unwind label %178

175:                                              ; preds = %174
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  br label %181

176:                                              ; preds = %173
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %174
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %180

180:                                              ; preds = %178, %176
  %.pn105 = phi { ptr, i32 } [ %179, %178 ], [ %177, %176 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  br label %243

181:                                              ; preds = %175, %169
  %182 = load i64, ptr %12, align 8, !tbaa !5
  %.091138 = add i64 %182, 1
  %183 = icmp ult i64 %.091138, %39
  br i1 %183, label %.lr.ph141, label %._crit_edge142

._crit_edge142.loopexit:                          ; preds = %197
  %.pre149 = load i64, ptr %12, align 8, !tbaa !5
  br label %._crit_edge142

._crit_edge142:                                   ; preds = %._crit_edge142.loopexit, %181
  %184 = phi i64 [ %.pre149, %._crit_edge142.loopexit ], [ %182, %181 ]
  %185 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %.not107 = icmp eq i64 %185, %184
  br i1 %.not107, label %206, label %198

.lr.ph141:                                        ; preds = %181, %197
  %.091139 = phi i64 [ %.091, %197 ], [ %.091138, %181 ]
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.091139) #5
  %187 = load double, ptr %186, align 8, !tbaa !9
  %188 = fcmp une double %187, 0xC08BC70A3D70A3D7
  br i1 %188, label %189, label %197

189:                                              ; preds = %.lr.ph141
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %190 unwind label %192

190:                                              ; preds = %189
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %30)
          to label %191 unwind label %194

191:                                              ; preds = %190
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #5
  br label %197

192:                                              ; preds = %189
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %190
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  br label %196

196:                                              ; preds = %194, %192
  %.pn116 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #5
  br label %243

197:                                              ; preds = %191, %.lr.ph141
  %.091 = add nuw i64 %.091139, 1
  %exitcond147.not = icmp eq i64 %.091, %39
  br i1 %exitcond147.not, label %._crit_edge142.loopexit, label %.lr.ph141, !llvm.loop !14

198:                                              ; preds = %._crit_edge142
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %199 unwind label %201

199:                                              ; preds = %198
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef 0.000000e+00, ptr noundef nonnull %0, ptr noundef nonnull %32)
          to label %200 unwind label %203

200:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #5
  br label %206

201:                                              ; preds = %198
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %205

203:                                              ; preds = %199
  %204 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %205

205:                                              ; preds = %203, %201
  %.pn108 = phi { ptr, i32 } [ %204, %203 ], [ %202, %201 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #5
  br label %243

206:                                              ; preds = %200, %._crit_edge142
  %207 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %208 = icmp eq i64 %207, %184
  %209 = icmp ne i64 %184, 0
  %or.cond145 = and i1 %208, %209
  br i1 %or.cond145, label %.lr.ph144, label %.loopexit

.lr.ph144:                                        ; preds = %206, %242
  %.065143 = phi i64 [ %215, %242 ], [ 0, %206 ]
  %210 = xor i64 %.065143, -1
  %211 = add i64 %184, %210
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %211) #5
  %213 = load double, ptr %212, align 8, !tbaa !9
  %214 = fneg double %213
  %215 = add nuw i64 %.065143, 1
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %215) #5
  %217 = load double, ptr %216, align 8, !tbaa !9
  %218 = invoke noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef %214, double noundef %217, double noundef 1.000000e-04)
          to label %219 unwind label %226

219:                                              ; preds = %.lr.ph144
  br i1 %218, label %242, label %220

220:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %221 unwind label %228

221:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #5
  invoke void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %38, double noundef %214)
          to label %222 unwind label %230

222:                                              ; preds = %221
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %223 unwind label %232

223:                                              ; preds = %222
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull @.str.8)
          to label %224 unwind label %234

224:                                              ; preds = %223
  invoke void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef %214, ptr noundef nonnull %0, ptr noundef nonnull %34)
          to label %225 unwind label %236

225:                                              ; preds = %224
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #5
  br label %242

226:                                              ; preds = %.lr.ph144
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %243

228:                                              ; preds = %220
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %241

230:                                              ; preds = %221
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %240

232:                                              ; preds = %222
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %239

234:                                              ; preds = %223
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %238

236:                                              ; preds = %224
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  br label %238

238:                                              ; preds = %236, %234
  %.pn110 = phi { ptr, i32 } [ %237, %236 ], [ %235, %234 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #5
  br label %239

239:                                              ; preds = %238, %232
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %238 ], [ %233, %232 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  br label %240

240:                                              ; preds = %239, %230
  %.pn110.pn.pn = phi { ptr, i32 } [ %.pn110.pn, %239 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #5
  br label %241

241:                                              ; preds = %240, %228
  %.pn110.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn, %240 ], [ %229, %228 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #5
  br label %243

242:                                              ; preds = %225, %219
  %exitcond148.not = icmp eq i64 %215, %184
  br i1 %exitcond148.not, label %.loopexit, label %.lr.ph144, !llvm.loop !15

.loopexit:                                        ; preds = %242, %206, %.loopexit133
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  ret void

243:                                              ; preds = %113, %162, %168, %180, %196, %205, %146, %131, %241, %226, %104, %88, %76, %70
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %104 ], [ %.pn97, %88 ], [ %.pn, %76 ], [ %71, %70 ], [ %.pn116, %196 ], [ %.pn108, %205 ], [ %.pn105, %180 ], [ %.pn103, %168 ], [ %163, %162 ], [ %.pn100, %113 ], [ %.pn118.pn.pn.pn, %146 ], [ %132, %131 ], [ %.pn110.pn.pn.pn, %241 ], [ %227, %226 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %244

244:                                              ; preds = %243, %68
  %.pn125.pn.pn = phi { ptr, i32 } [ %.pn125.pn, %243 ], [ %69, %68 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %245

245:                                              ; preds = %244, %66
  %.pn125.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn, %244 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %246

246:                                              ; preds = %245, %64
  %.pn125.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn, %245 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %247

247:                                              ; preds = %246, %62
  %.pn125.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn.pn.pn, %246 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  resume { ptr, i32 } %.pn125.pn.pn.pn.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z19TestQuantileBinningR14TestCaseHiddenbbmmS5_S5_E3$_0ET0_T_SB_SA_T1_"(ptr, ptr, ptr) local_unnamed_addr #1

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

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

declare i32 @CutQuantile(i64 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

declare void @_Z6FAILEDdP14TestCaseHiddenNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

declare noundef zeroext i1 @_Z13IsApproxEqualddd(double noundef, double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEd(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 #4 = { inlinehint 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 #5 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


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