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

; 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.NAMESPACE_MAIN::RandomDeterministic" = type { i64, i64, i64 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<NAMESPACE_MAIN::CuttingRange *, NAMESPACE_MAIN::CuttingRange *, std::_Identity<NAMESPACE_MAIN::CuttingRange *>, NAMESPACE_MAIN::CompareCuttingRange>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NAMESPACE_MAIN::CuttingRange *, NAMESPACE_MAIN::CuttingRange *, std::_Identity<NAMESPACE_MAIN::CuttingRange *>, NAMESPACE_MAIN::CompareCuttingRange>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::set.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<NAMESPACE_MAIN::CutPoint *, NAMESPACE_MAIN::CutPoint *, std::_Identity<NAMESPACE_MAIN::CutPoint *>, NAMESPACE_MAIN::CompareCutPoint>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NAMESPACE_MAIN::CutPoint *, NAMESPACE_MAIN::CutPoint *, std::_Identity<NAMESPACE_MAIN::CutPoint *>, NAMESPACE_MAIN::CompareCutPoint>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.NAMESPACE_MAIN::CuttingRange" = type { i64, i64, i64, ptr, i64, i64, double, i64 }
%"struct.NAMESPACE_MAIN::CutPoint" = type { ptr, ptr, double, i64, i64, double, i64 }
%"struct.NAMESPACE_MAIN::NeighbourJump" = type { i64, i64 }

@g_traceLevel = external global i32, align 4
@_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE = external hidden global i32, align 4
@_ZZ11CutQuantileE13LOG__sMessage = external hidden constant [137 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_0 = external hidden constant [44 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_1 = external hidden constant [46 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_2 = external hidden constant [41 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_3 = external hidden constant [57 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_4 = external hidden constant [80 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_5 = external hidden constant [42 x i8], align 16
@.str = external hidden unnamed_addr constant [85 x i8], align 1
@__func__.CutQuantile = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__.CutQuantile = external hidden unnamed_addr constant [98 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage_6 = external hidden constant [47 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_7 = external hidden constant [56 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_8 = external hidden constant [79 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage_9 = external hidden constant [111 x i8], align 16
@.str.17 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [42 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__10_ = external hidden constant [69 x i8], align 16
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [62 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__11_ = external hidden constant [77 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__12_ = external hidden constant [74 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__13_ = external hidden constant [78 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__14_ = external hidden constant [58 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__15_ = external hidden constant [75 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__16_ = external hidden constant [36 x i8], align 16
@_ZTISt9bad_alloc = external constant ptr
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [68 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__17_ = external hidden constant [30 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__18_ = external hidden constant [34 x i8], align 16
@.str.51 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE = external hidden global i32, align 4
@_ZZ11CutQuantileE13LOG__sMessage__19_ = external hidden constant [45 x i8], align 16

; Function Attrs: mustprogress uwtable
define dso_local i32 @CutQuantile(i64 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 personality ptr @__gxx_personality_v0 {
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  %42 = alloca i64, align 8
  %43 = alloca i32, align 4
  %44 = alloca i64, align 8
  %45 = alloca i64, align 8
  %46 = alloca i32, align 4
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i32, align 4
  %51 = alloca i64, align 8
  %52 = alloca i32, align 4
  %53 = alloca i64, align 8
  %54 = alloca i64, align 8
  %55 = alloca i64, align 8
  %56 = alloca i32, align 4
  %57 = alloca i64, align 8
  %58 = alloca i32, align 4
  %59 = alloca i64, align 8
  %60 = alloca i32, align 4
  %61 = alloca i64, align 8
  %62 = alloca ptr, align 8
  %63 = alloca i32, align 4
  %64 = alloca ptr, align 8
  %65 = alloca ptr, align 8
  %66 = alloca ptr, align 8
  %67 = alloca ptr, align 8
  %68 = alloca i8, align 1
  %69 = alloca %"class.NAMESPACE_MAIN::RandomDeterministic", align 8
  %70 = alloca ptr, align 8
  %71 = alloca %"class.std::set", align 8
  %72 = alloca ptr, align 8
  %73 = alloca i32, align 4
  %74 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %75 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %76 = alloca ptr, align 8
  %77 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %78 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %79 = alloca i64, align 8
  %80 = alloca %"class.std::set.0", align 8
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca ptr, align 8
  %84 = alloca ptr, align 8
  %85 = alloca i64, align 8
  %86 = alloca ptr, align 8
  %87 = alloca ptr, align 8
  %88 = alloca ptr, align 8
  %89 = alloca ptr, align 8
  %90 = alloca i64, align 8
  %91 = alloca i64, align 8
  %92 = alloca i64, align 8
  %93 = alloca ptr, align 8
  %94 = alloca i64, align 8
  %95 = alloca i64, align 8
  %96 = alloca i64, align 8
  %97 = alloca i64, align 8
  %98 = alloca i64, align 8
  %99 = alloca i64, align 8
  %100 = alloca i64, align 8
  %101 = alloca i64, align 8
  %102 = alloca i64, align 8
  %103 = alloca i8, align 1
  %104 = alloca ptr, align 8
  %105 = alloca i32, align 4
  %106 = alloca ptr, align 8
  %107 = alloca i32, align 4
  %108 = alloca i64, align 8
  %109 = alloca ptr, align 8
  %110 = alloca ptr, align 8
  %111 = alloca ptr, align 8
  %112 = alloca double, align 8
  %113 = alloca double, align 8
  %114 = alloca double, align 8
  %115 = alloca ptr, align 8
  %116 = alloca double, align 8
  %117 = alloca double, align 8
  %118 = alloca double, align 8
  %119 = alloca ptr, align 8
  %120 = alloca ptr, align 8
  %121 = alloca double, align 8
  %122 = alloca ptr, align 8
  %123 = alloca double, align 8
  %124 = alloca double, align 8
  %125 = alloca i64, align 8
  %126 = alloca i64, align 8
  %127 = alloca double, align 8
  %128 = alloca double, align 8
  %129 = alloca double, align 8
  %130 = alloca double, align 8
  %131 = alloca double, align 8
  %132 = alloca double, align 8
  %133 = alloca double, align 8
  %134 = alloca i32, align 4
  %135 = alloca i32, align 4
  %136 = alloca i32, align 4
  %137 = alloca i32, align 4
  %138 = alloca ptr, align 8
  %139 = alloca i32, align 4
  store i64 %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !9
  store i64 %2, ptr %10, align 8, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !11
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  br label %140

140:                                              ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #14
  store i32 3, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #14
  store i32 4, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #14
  %141 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  store i32 %141, ptr %16, align 4, !tbaa !11
  %142 = load i32, ptr %16, align 4, !tbaa !11
  %143 = icmp sle i32 3, %142
  br i1 %143, label %144, label %174

144:                                              ; preds = %140
  br label %145

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #14
  %146 = load i32, ptr %16, align 4, !tbaa !11
  %147 = icmp slt i32 %146, 4
  br i1 %147, label %148, label %159

148:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #14
  store ptr @_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #14
  %149 = load i32, ptr @_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE, align 4, !tbaa !11
  %150 = sub nsw i32 %149, 1
  store i32 %150, ptr %19, align 4, !tbaa !11
  %151 = load i32, ptr %19, align 4, !tbaa !11
  %152 = icmp slt i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %148
  store i32 4, ptr %20, align 4
  br label %156

154:                                              ; preds = %148
  %155 = load i32, ptr %19, align 4, !tbaa !11
  store i32 %155, ptr @_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE, align 4, !tbaa !11
  store i32 3, ptr %17, align 4, !tbaa !11
  store i32 0, ptr %20, align 4
  br label %156

156:                                              ; preds = %154, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #14
  %157 = load i32, ptr %20, align 4
  switch i32 %157, label %169 [
    i32 0, label %158
  ]

158:                                              ; preds = %156
  br label %160

159:                                              ; preds = %145
  store i32 4, ptr %17, align 4, !tbaa !11
  br label %160

160:                                              ; preds = %159, %158
  %161 = load i32, ptr %17, align 4, !tbaa !11
  %162 = load i64, ptr %8, align 8, !tbaa !5
  %163 = load ptr, ptr %9, align 8, !tbaa !9
  %164 = load i64, ptr %10, align 8, !tbaa !5
  %165 = load i32, ptr %11, align 4, !tbaa !11
  %166 = call noundef ptr @_ZL11ObtainTruthi(i32 noundef %165)
  %167 = load ptr, ptr %12, align 8, !tbaa !9
  %168 = load ptr, ptr %13, align 8, !tbaa !9
  call void (i32, ptr, ...) @InteralLogWithArguments(i32 noundef %161, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage, i64 noundef %162, ptr noundef %163, i64 noundef %164, ptr noundef %166, ptr noundef %167, ptr noundef %168)
  store i32 0, ptr %20, align 4
  br label %169

169:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #14
  %170 = load i32, ptr %20, align 4
  switch i32 %170, label %1849 [
    i32 0, label %171
    i32 4, label %173
  ]

171:                                              ; preds = %169
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172, %169
  br label %174

174:                                              ; preds = %173, %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #14
  br label %175

175:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #14
  %176 = load ptr, ptr %12, align 8, !tbaa !9
  %177 = icmp eq ptr null, %176
  %178 = xor i1 %177, true
  %179 = xor i1 %178, true
  %180 = zext i1 %179 to i64
  %181 = call i64 @llvm.expect.i64(i64 %180, i64 0)
  %182 = icmp ne i64 %181, 0
  br i1 %182, label %183, label %191

183:                                              ; preds = %175
  br label %184

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #14
  store i32 1, ptr %23, align 4, !tbaa !11
  %185 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %186 = icmp sle i32 1, %185
  br i1 %186, label %187, label %188

187:                                              ; preds = %184
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_0)
  br label %188

188:                                              ; preds = %187, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #14
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %21, align 4, !tbaa !11
  br label %1805

191:                                              ; preds = %175
  %192 = load i64, ptr %8, align 8, !tbaa !5
  %193 = icmp sle i64 %192, 1
  %194 = xor i1 %193, true
  %195 = xor i1 %194, true
  %196 = zext i1 %195 to i64
  %197 = call i64 @llvm.expect.i64(i64 %196, i64 0)
  %198 = icmp ne i64 %197, 0
  br i1 %198, label %199, label %216

199:                                              ; preds = %191
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !11
  %200 = load i64, ptr %8, align 8, !tbaa !5
  %201 = icmp slt i64 %200, 0
  %202 = xor i1 %201, true
  %203 = xor i1 %202, true
  %204 = zext i1 %203 to i64
  %205 = call i64 @llvm.expect.i64(i64 %204, i64 0)
  %206 = icmp ne i64 %205, 0
  br i1 %206, label %207, label %215

207:                                              ; preds = %199
  br label %208

208:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #14
  store i32 1, ptr %24, align 4, !tbaa !11
  %209 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %210 = icmp sle i32 1, %209
  br i1 %210, label %211, label %212

211:                                              ; preds = %208
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_1)
  br label %212

212:                                              ; preds = %211, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #14
  br label %213

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213
  store i32 -3, ptr %21, align 4, !tbaa !11
  br label %215

215:                                              ; preds = %214, %199
  br label %1795

216:                                              ; preds = %191
  %217 = load ptr, ptr %9, align 8, !tbaa !9
  %218 = icmp eq ptr null, %217
  %219 = xor i1 %218, true
  %220 = xor i1 %219, true
  %221 = zext i1 %220 to i64
  %222 = call i64 @llvm.expect.i64(i64 %221, i64 0)
  %223 = icmp ne i64 %222, 0
  br i1 %223, label %224, label %232

224:                                              ; preds = %216
  br label %225

225:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #14
  store i32 1, ptr %25, align 4, !tbaa !11
  %226 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %227 = icmp sle i32 1, %226
  br i1 %227, label %228, label %229

228:                                              ; preds = %225
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_2)
  br label %229

229:                                              ; preds = %228, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #14
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %21, align 4, !tbaa !11
  br label %1796

232:                                              ; preds = %216
  %233 = load i64, ptr %8, align 8, !tbaa !5
  %234 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %233) #14
  %235 = xor i1 %234, true
  %236 = xor i1 %235, true
  %237 = zext i1 %236 to i64
  %238 = call i64 @llvm.expect.i64(i64 %237, i64 0)
  %239 = icmp ne i64 %238, 0
  br i1 %239, label %240, label %248

240:                                              ; preds = %232
  br label %241

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #14
  store i32 2, ptr %26, align 4, !tbaa !11
  %242 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %243 = icmp sle i32 2, %242
  br i1 %243, label %244, label %245

244:                                              ; preds = %241
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_3)
  br label %245

245:                                              ; preds = %244, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #14
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %21, align 4, !tbaa !11
  br label %1796

248:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #14
  %249 = load i64, ptr %8, align 8, !tbaa !5
  store i64 %249, ptr %27, align 8, !tbaa !5
  %250 = load i64, ptr %27, align 8, !tbaa !5
  %251 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %250) #14
  br i1 %251, label %252, label %260

252:                                              ; preds = %248
  br label %253

253:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #14
  store i32 1, ptr %28, align 4, !tbaa !11
  %254 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %255 = icmp sle i32 1, %254
  br i1 %255, label %256, label %257

256:                                              ; preds = %253
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_4)
  br label %257

257:                                              ; preds = %256, %253
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #14
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1791

260:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #14
  %261 = load i64, ptr %27, align 8, !tbaa !5
  %262 = mul i64 8, %261
  store i64 %262, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #14
  %263 = load i64, ptr %29, align 8, !tbaa !5
  %264 = call noalias ptr @malloc(i64 noundef %263) #15
  store ptr %264, ptr %30, align 8, !tbaa !9
  %265 = load ptr, ptr %30, align 8, !tbaa !9
  %266 = icmp eq ptr null, %265
  %267 = xor i1 %266, true
  %268 = xor i1 %267, true
  %269 = zext i1 %268 to i64
  %270 = call i64 @llvm.expect.i64(i64 %269, i64 0)
  %271 = icmp ne i64 %270, 0
  br i1 %271, label %272, label %280

272:                                              ; preds = %260
  br label %273

273:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #14
  store i32 1, ptr %31, align 4, !tbaa !11
  %274 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %275 = icmp sle i32 1, %274
  br i1 %275, label %276, label %277

276:                                              ; preds = %273
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_5)
  br label %277

277:                                              ; preds = %276, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #14
  br label %278

278:                                              ; preds = %277
  br label %279

279:                                              ; preds = %278
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1790

280:                                              ; preds = %260
  %281 = load ptr, ptr %30, align 8, !tbaa !9
  %282 = load ptr, ptr %9, align 8, !tbaa !9
  %283 = load i64, ptr %29, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %281, ptr align 8 %282, i64 %283, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #14
  %284 = load i64, ptr %27, align 8, !tbaa !5
  %285 = load ptr, ptr %30, align 8, !tbaa !9
  %286 = call noundef i64 @_ZN14NAMESPACE_MAIN37RemoveMissingValsAndReplaceInfinitiesEmPd(i64 noundef %284, ptr noundef %285) #14
  store i64 %286, ptr %32, align 8, !tbaa !5
  %287 = load i64, ptr %32, align 8, !tbaa !5
  %288 = load i64, ptr %27, align 8, !tbaa !5
  %289 = icmp ule i64 %287, %288
  br i1 %289, label %292, label %290

290:                                              ; preds = %280
  call void @LogAssertFailure(i64 noundef 2504, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.1)
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str, i32 noundef 2504, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

291:                                              ; No predecessors!
  br label %292

292:                                              ; preds = %291, %280
  %293 = phi i1 [ true, %280 ], [ false, %291 ]
  %294 = load i64, ptr %32, align 8, !tbaa !5
  %295 = icmp ule i64 %294, 1
  %296 = xor i1 %295, true
  %297 = xor i1 %296, true
  %298 = zext i1 %297 to i64
  %299 = call i64 @llvm.expect.i64(i64 %298, i64 0)
  %300 = icmp ne i64 %299, 0
  br i1 %300, label %301, label %303

301:                                              ; preds = %292
  %302 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %302) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1789

303:                                              ; preds = %292
  %304 = load ptr, ptr %12, align 8, !tbaa !9
  %305 = icmp ne ptr null, %304
  br i1 %305, label %308, label %306

306:                                              ; preds = %303
  call void @LogAssertFailure(i64 noundef 2515, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.3)
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str, i32 noundef 2515, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

307:                                              ; No predecessors!
  br label %308

308:                                              ; preds = %307, %303
  %309 = phi i1 [ true, %303 ], [ false, %307 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #14
  %310 = load ptr, ptr %12, align 8, !tbaa !9
  %311 = load i64, ptr %310, align 8, !tbaa !5
  store i64 %311, ptr %33, align 8, !tbaa !5
  %312 = load i64, ptr %33, align 8, !tbaa !5
  %313 = icmp sle i64 %312, 0
  %314 = xor i1 %313, true
  %315 = xor i1 %314, true
  %316 = zext i1 %315 to i64
  %317 = call i64 @llvm.expect.i64(i64 %316, i64 0)
  %318 = icmp ne i64 %317, 0
  br i1 %318, label %319, label %337

319:                                              ; preds = %308
  %320 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %320) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !11
  %321 = load i64, ptr %33, align 8, !tbaa !5
  %322 = icmp slt i64 %321, 0
  %323 = xor i1 %322, true
  %324 = xor i1 %323, true
  %325 = zext i1 %324 to i64
  %326 = call i64 @llvm.expect.i64(i64 %325, i64 0)
  %327 = icmp ne i64 %326, 0
  br i1 %327, label %328, label %336

328:                                              ; preds = %319
  br label %329

329:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #14
  store i32 1, ptr %34, align 4, !tbaa !11
  %330 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %331 = icmp sle i32 1, %330
  br i1 %331, label %332, label %333

332:                                              ; preds = %329
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_6)
  br label %333

333:                                              ; preds = %332, %329
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #14
  br label %334

334:                                              ; preds = %333
  br label %335

335:                                              ; preds = %334
  store i32 -3, ptr %21, align 4, !tbaa !11
  br label %336

336:                                              ; preds = %335, %319
  store i32 12, ptr %20, align 4
  br label %1788

337:                                              ; preds = %308
  %338 = load ptr, ptr %13, align 8, !tbaa !9
  %339 = icmp eq ptr null, %338
  %340 = xor i1 %339, true
  %341 = xor i1 %340, true
  %342 = zext i1 %341 to i64
  %343 = call i64 @llvm.expect.i64(i64 %342, i64 0)
  %344 = icmp ne i64 %343, 0
  br i1 %344, label %345, label %354

345:                                              ; preds = %337
  br label %346

346:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #14
  store i32 1, ptr %35, align 4, !tbaa !11
  %347 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %348 = icmp sle i32 1, %347
  br i1 %348, label %349, label %350

349:                                              ; preds = %346
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_7)
  br label %350

350:                                              ; preds = %349, %346
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #14
  br label %351

351:                                              ; preds = %350
  br label %352

352:                                              ; preds = %351
  %353 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %353) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -3, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1788

354:                                              ; preds = %337
  %355 = load i64, ptr %10, align 8, !tbaa !5
  %356 = icmp sle i64 %355, 0
  %357 = xor i1 %356, true
  %358 = xor i1 %357, true
  %359 = zext i1 %358 to i64
  %360 = call i64 @llvm.expect.i64(i64 %359, i64 0)
  %361 = icmp ne i64 %360, 0
  br i1 %361, label %362, label %370

362:                                              ; preds = %354
  br label %363

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #14
  store i32 2, ptr %36, align 4, !tbaa !11
  %364 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %365 = icmp sle i32 2, %364
  br i1 %365, label %366, label %367

366:                                              ; preds = %363
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_8)
  br label %367

367:                                              ; preds = %366, %363
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #14
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368
  store i64 1, ptr %10, align 8, !tbaa !5
  br label %370

370:                                              ; preds = %369, %354
  %371 = load i64, ptr %32, align 8, !tbaa !5
  %372 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef %371) #14
  br i1 %372, label %373, label %375

373:                                              ; preds = %370
  call void @LogAssertFailure(i64 noundef 2546, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.5)
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str, i32 noundef 2546, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

374:                                              ; No predecessors!
  br label %375

375:                                              ; preds = %374, %370
  %376 = phi i1 [ true, %370 ], [ false, %374 ]
  %377 = load i64, ptr %32, align 8, !tbaa !5
  %378 = lshr i64 %377, 1
  %379 = load i64, ptr %10, align 8, !tbaa !5
  %380 = icmp slt i64 %378, %379
  %381 = xor i1 %380, true
  %382 = xor i1 %381, true
  %383 = zext i1 %382 to i64
  %384 = call i64 @llvm.expect.i64(i64 %383, i64 0)
  %385 = icmp ne i64 %384, 0
  br i1 %385, label %386, label %388

386:                                              ; preds = %375
  %387 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %387) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1788

388:                                              ; preds = %375
  %389 = load i64, ptr %10, align 8, !tbaa !5
  %390 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %389) #14
  br i1 %390, label %391, label %393

391:                                              ; preds = %388
  call void @LogAssertFailure(i64 noundef 2559, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.7)
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str, i32 noundef 2559, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

392:                                              ; No predecessors!
  br label %393

393:                                              ; preds = %392, %388
  %394 = phi i1 [ true, %388 ], [ false, %392 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #14
  %395 = load i64, ptr %10, align 8, !tbaa !5
  store i64 %395, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #14
  %396 = load i64, ptr %32, align 8, !tbaa !5
  %397 = load i64, ptr %37, align 8, !tbaa !5
  %398 = udiv i64 %396, %397
  store i64 %398, ptr %38, align 8, !tbaa !5
  %399 = load i64, ptr %38, align 8, !tbaa !5
  %400 = icmp ule i64 2, %399
  br i1 %400, label %403, label %401

401:                                              ; preds = %393
  call void @LogAssertFailure(i64 noundef 2572, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.9)
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str, i32 noundef 2572, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

402:                                              ; No predecessors!
  br label %403

403:                                              ; preds = %402, %393
  %404 = phi i1 [ true, %393 ], [ false, %402 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #14
  %405 = load i64, ptr %38, align 8, !tbaa !5
  %406 = sub i64 %405, 1
  store i64 %406, ptr %39, align 8, !tbaa !5
  %407 = load i64, ptr %39, align 8, !tbaa !5
  %408 = load i64, ptr %32, align 8, !tbaa !5
  %409 = icmp ult i64 %407, %408
  br i1 %409, label %412, label %410

410:                                              ; preds = %403
  call void @LogAssertFailure(i64 noundef 2577, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.11)
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str, i32 noundef 2577, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

411:                                              ; No predecessors!
  br label %412

412:                                              ; preds = %411, %403
  %413 = phi i1 [ true, %403 ], [ false, %411 ]
  %414 = load i64, ptr %39, align 8, !tbaa !5
  %415 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef %414) #14
  br i1 %415, label %416, label %418

416:                                              ; preds = %412
  call void @LogAssertFailure(i64 noundef 2578, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.13)
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str, i32 noundef 2578, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

417:                                              ; No predecessors!
  br label %418

418:                                              ; preds = %417, %412
  %419 = phi i1 [ true, %412 ], [ false, %417 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #14
  %420 = load i64, ptr %39, align 8, !tbaa !5
  %421 = load i64, ptr %33, align 8, !tbaa !5
  %422 = icmp slt i64 %420, %421
  br i1 %422, label %423, label %425

423:                                              ; preds = %418
  %424 = load i64, ptr %39, align 8, !tbaa !5
  br label %427

425:                                              ; preds = %418
  %426 = load i64, ptr %33, align 8, !tbaa !5
  br label %427

427:                                              ; preds = %425, %423
  %428 = phi i64 [ %424, %423 ], [ %426, %425 ]
  store i64 %428, ptr %40, align 8, !tbaa !5
  %429 = load i64, ptr %40, align 8, !tbaa !5
  %430 = icmp ule i64 1, %429
  br i1 %430, label %433, label %431

431:                                              ; preds = %427
  call void @LogAssertFailure(i64 noundef 2582, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.15)
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str, i32 noundef 2582, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

432:                                              ; No predecessors!
  br label %433

433:                                              ; preds = %432, %427
  %434 = phi i1 [ true, %427 ], [ false, %432 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #14
  store i64 8, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #14
  store i64 8, ptr %42, align 8, !tbaa !5
  %435 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42)
  %436 = load i64, ptr %435, align 8, !tbaa !5
  %437 = load i64, ptr %40, align 8, !tbaa !5
  %438 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %436, i64 noundef %437) #14
  %439 = xor i1 %438, true
  %440 = xor i1 %439, true
  %441 = zext i1 %440 to i64
  %442 = call i64 @llvm.expect.i64(i64 %441, i64 0)
  %443 = icmp ne i64 %442, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #14
  br i1 %443, label %444, label %453

444:                                              ; preds = %433
  br label %445

445:                                              ; preds = %444
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #14
  store i32 2, ptr %43, align 4, !tbaa !11
  %446 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %447 = icmp sle i32 2, %446
  br i1 %447, label %448, label %449

448:                                              ; preds = %445
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage_9)
  br label %449

449:                                              ; preds = %448, %445
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #14
  br label %450

450:                                              ; preds = %449
  br label %451

451:                                              ; preds = %450
  %452 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %452) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1787

453:                                              ; preds = %433
  %454 = load ptr, ptr %30, align 8, !tbaa !9
  %455 = load ptr, ptr %30, align 8, !tbaa !9
  %456 = load i64, ptr %32, align 8, !tbaa !5
  %457 = getelementptr inbounds double, ptr %455, i64 %456
  call void @_ZSt4sortIPdEvT_S1_(ptr noundef %454, ptr noundef %457)
  %458 = load i64, ptr %40, align 8, !tbaa !5
  %459 = load i64, ptr %32, align 8, !tbaa !5
  %460 = icmp ult i64 %458, %459
  br i1 %460, label %463, label %461

461:                                              ; preds = %453
  call void @LogAssertFailure(i64 noundef 2598, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.17)
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str, i32 noundef 2598, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

462:                                              ; No predecessors!
  br label %463

463:                                              ; preds = %462, %453
  %464 = phi i1 [ true, %453 ], [ false, %462 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #14
  %465 = load i64, ptr %32, align 8, !tbaa !5
  %466 = load i64, ptr %40, align 8, !tbaa !5
  %467 = add i64 %466, 1
  %468 = load i64, ptr %37, align 8, !tbaa !5
  %469 = call noundef i64 @_ZN14NAMESPACE_MAINL27GetUncuttableRangeLengthMinILb0EEEmmmm(i64 noundef %465, i64 noundef %467, i64 noundef %468) #14
  store i64 %469, ptr %44, align 8, !tbaa !5
  %470 = load i64, ptr %44, align 8, !tbaa !5
  %471 = icmp ule i64 1, %470
  br i1 %471, label %474, label %472

472:                                              ; preds = %463
  call void @LogAssertFailure(i64 noundef 2601, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.19)
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str, i32 noundef 2601, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

473:                                              ; No predecessors!
  br label %474

474:                                              ; preds = %473, %463
  %475 = phi i1 [ true, %463 ], [ false, %473 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #14
  %476 = load i64, ptr %32, align 8, !tbaa !5
  %477 = load ptr, ptr %30, align 8, !tbaa !9
  %478 = load i64, ptr %44, align 8, !tbaa !5
  %479 = load i64, ptr %37, align 8, !tbaa !5
  %480 = call noundef i64 @_ZN14NAMESPACE_MAINL18CountCuttingRangesILb0EEEmmPKdmm(i64 noundef %476, ptr noundef %477, i64 noundef %478, i64 noundef %479) #14
  store i64 %480, ptr %45, align 8, !tbaa !5
  %481 = load i64, ptr %45, align 8, !tbaa !5
  %482 = load i64, ptr %40, align 8, !tbaa !5
  %483 = add i64 %482, 1
  %484 = icmp ule i64 %481, %483
  br i1 %484, label %487, label %485

485:                                              ; preds = %474
  call void @LogAssertFailure(i64 noundef 2611, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.21)
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str, i32 noundef 2611, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

486:                                              ; No predecessors!
  br label %487

487:                                              ; preds = %486, %474
  %488 = phi i1 [ true, %474 ], [ false, %486 ]
  %489 = load i64, ptr %45, align 8, !tbaa !5
  %490 = icmp eq i64 0, %489
  %491 = xor i1 %490, true
  %492 = xor i1 %491, true
  %493 = zext i1 %492 to i64
  %494 = call i64 @llvm.expect.i64(i64 %493, i64 0)
  %495 = icmp ne i64 %494, 0
  br i1 %495, label %496, label %498

496:                                              ; preds = %487
  %497 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %497) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1786

498:                                              ; preds = %487
  %499 = load i64, ptr %32, align 8, !tbaa !5
  %500 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 16, i64 noundef %499) #14
  %501 = xor i1 %500, true
  %502 = xor i1 %501, true
  %503 = zext i1 %502 to i64
  %504 = call i64 @llvm.expect.i64(i64 %503, i64 0)
  %505 = icmp ne i64 %504, 0
  br i1 %505, label %506, label %515

506:                                              ; preds = %498
  br label %507

507:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #14
  store i32 2, ptr %46, align 4, !tbaa !11
  %508 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %509 = icmp sle i32 2, %508
  br i1 %509, label %510, label %511

510:                                              ; preds = %507
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__10_)
  br label %511

511:                                              ; preds = %510, %507
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #14
  br label %512

512:                                              ; preds = %511
  br label %513

513:                                              ; preds = %512
  %514 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %514) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1786

515:                                              ; preds = %498
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #14
  %516 = load i64, ptr %32, align 8, !tbaa !5
  %517 = mul i64 16, %516
  store i64 %517, ptr %47, align 8, !tbaa !5
  %518 = load i64, ptr %40, align 8, !tbaa !5
  %519 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %518) #14
  br i1 %519, label %520, label %522

520:                                              ; preds = %515
  call void @LogAssertFailure(i64 noundef 2629, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.23)
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str, i32 noundef 2629, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

521:                                              ; No predecessors!
  br label %522

522:                                              ; preds = %521, %515
  %523 = phi i1 [ true, %515 ], [ false, %521 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #14
  %524 = load i64, ptr %40, align 8, !tbaa !5
  %525 = mul i64 8, %524
  store i64 %525, ptr %48, align 8, !tbaa !5
  %526 = load i64, ptr %40, align 8, !tbaa !5
  %527 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #14
  %528 = sub i64 %527, 2
  %529 = icmp ule i64 %526, %528
  br i1 %529, label %532, label %530

530:                                              ; preds = %522
  call void @LogAssertFailure(i64 noundef 2636, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.25)
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str, i32 noundef 2636, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

531:                                              ; No predecessors!
  br label %532

532:                                              ; preds = %531, %522
  %533 = phi i1 [ true, %522 ], [ false, %531 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #14
  %534 = load i64, ptr %40, align 8, !tbaa !5
  %535 = add i64 %534, 2
  store i64 %535, ptr %49, align 8, !tbaa !5
  %536 = load i64, ptr %49, align 8, !tbaa !5
  %537 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 56, i64 noundef %536) #14
  %538 = xor i1 %537, true
  %539 = xor i1 %538, true
  %540 = zext i1 %539 to i64
  %541 = call i64 @llvm.expect.i64(i64 %540, i64 0)
  %542 = icmp ne i64 %541, 0
  br i1 %542, label %543, label %552

543:                                              ; preds = %532
  br label %544

544:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #14
  store i32 2, ptr %50, align 4, !tbaa !11
  %545 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %546 = icmp sle i32 2, %545
  br i1 %546, label %547, label %548

547:                                              ; preds = %544
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__11_)
  br label %548

548:                                              ; preds = %547, %544
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #14
  br label %549

549:                                              ; preds = %548
  br label %550

550:                                              ; preds = %549
  %551 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %551) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1785

552:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #14
  %553 = load i64, ptr %49, align 8, !tbaa !5
  %554 = mul i64 56, %553
  store i64 %554, ptr %51, align 8, !tbaa !5
  %555 = load i64, ptr %45, align 8, !tbaa !5
  %556 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 64, i64 noundef %555) #14
  %557 = xor i1 %556, true
  %558 = xor i1 %557, true
  %559 = zext i1 %558 to i64
  %560 = call i64 @llvm.expect.i64(i64 %559, i64 0)
  %561 = icmp ne i64 %560, 0
  br i1 %561, label %562, label %571

562:                                              ; preds = %552
  br label %563

563:                                              ; preds = %562
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #14
  store i32 2, ptr %52, align 4, !tbaa !11
  %564 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %565 = icmp sle i32 2, %564
  br i1 %565, label %566, label %567

566:                                              ; preds = %563
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__12_)
  br label %567

567:                                              ; preds = %566, %563
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #14
  br label %568

568:                                              ; preds = %567
  br label %569

569:                                              ; preds = %568
  %570 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %570) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1784

571:                                              ; preds = %552
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #14
  %572 = load i64, ptr %45, align 8, !tbaa !5
  %573 = mul i64 64, %572
  store i64 %573, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #14
  store i64 0, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #14
  %574 = load i64, ptr %47, align 8, !tbaa !5
  %575 = add i64 0, %574
  store i64 %575, ptr %55, align 8, !tbaa !5
  %576 = load i64, ptr %55, align 8, !tbaa !5
  %577 = load i64, ptr %48, align 8, !tbaa !5
  %578 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %576, i64 noundef %577) #14
  %579 = xor i1 %578, true
  %580 = xor i1 %579, true
  %581 = zext i1 %580 to i64
  %582 = call i64 @llvm.expect.i64(i64 %581, i64 0)
  %583 = icmp ne i64 %582, 0
  br i1 %583, label %584, label %593

584:                                              ; preds = %571
  br label %585

585:                                              ; preds = %584
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #14
  store i32 2, ptr %56, align 4, !tbaa !11
  %586 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %587 = icmp sle i32 2, %586
  br i1 %587, label %588, label %589

588:                                              ; preds = %585
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__13_)
  br label %589

589:                                              ; preds = %588, %585
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #14
  br label %590

590:                                              ; preds = %589
  br label %591

591:                                              ; preds = %590
  %592 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %592) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1783

593:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #14
  %594 = load i64, ptr %55, align 8, !tbaa !5
  %595 = load i64, ptr %48, align 8, !tbaa !5
  %596 = add i64 %594, %595
  store i64 %596, ptr %57, align 8, !tbaa !5
  %597 = load i64, ptr %57, align 8, !tbaa !5
  %598 = load i64, ptr %51, align 8, !tbaa !5
  %599 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %597, i64 noundef %598) #14
  %600 = xor i1 %599, true
  %601 = xor i1 %600, true
  %602 = zext i1 %601 to i64
  %603 = call i64 @llvm.expect.i64(i64 %602, i64 0)
  %604 = icmp ne i64 %603, 0
  br i1 %604, label %605, label %614

605:                                              ; preds = %593
  br label %606

606:                                              ; preds = %605
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #14
  store i32 2, ptr %58, align 4, !tbaa !11
  %607 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %608 = icmp sle i32 2, %607
  br i1 %608, label %609, label %610

609:                                              ; preds = %606
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__14_)
  br label %610

610:                                              ; preds = %609, %606
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #14
  br label %611

611:                                              ; preds = %610
  br label %612

612:                                              ; preds = %611
  %613 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %613) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1782

614:                                              ; preds = %593
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #14
  %615 = load i64, ptr %57, align 8, !tbaa !5
  %616 = load i64, ptr %51, align 8, !tbaa !5
  %617 = add i64 %615, %616
  store i64 %617, ptr %59, align 8, !tbaa !5
  %618 = load i64, ptr %59, align 8, !tbaa !5
  %619 = load i64, ptr %53, align 8, !tbaa !5
  %620 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %618, i64 noundef %619) #14
  %621 = xor i1 %620, true
  %622 = xor i1 %621, true
  %623 = zext i1 %622 to i64
  %624 = call i64 @llvm.expect.i64(i64 %623, i64 0)
  %625 = icmp ne i64 %624, 0
  br i1 %625, label %626, label %635

626:                                              ; preds = %614
  br label %627

627:                                              ; preds = %626
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #14
  store i32 2, ptr %60, align 4, !tbaa !11
  %628 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %629 = icmp sle i32 2, %628
  br i1 %629, label %630, label %631

630:                                              ; preds = %627
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__15_)
  br label %631

631:                                              ; preds = %630, %627
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #14
  br label %632

632:                                              ; preds = %631
  br label %633

633:                                              ; preds = %632
  %634 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %634) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1781

635:                                              ; preds = %614
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #14
  %636 = load i64, ptr %59, align 8, !tbaa !5
  %637 = load i64, ptr %53, align 8, !tbaa !5
  %638 = add i64 %636, %637
  store i64 %638, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #14
  %639 = load i64, ptr %61, align 8, !tbaa !5
  %640 = call noalias ptr @malloc(i64 noundef %639) #15
  store ptr %640, ptr %62, align 8, !tbaa !9
  %641 = load ptr, ptr %62, align 8, !tbaa !9
  %642 = icmp eq ptr null, %641
  %643 = xor i1 %642, true
  %644 = xor i1 %643, true
  %645 = zext i1 %644 to i64
  %646 = call i64 @llvm.expect.i64(i64 %645, i64 0)
  %647 = icmp ne i64 %646, 0
  br i1 %647, label %648, label %657

648:                                              ; preds = %635
  br label %649

649:                                              ; preds = %648
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #14
  store i32 2, ptr %63, align 4, !tbaa !11
  %650 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %651 = icmp sle i32 2, %650
  br i1 %651, label %652, label %653

652:                                              ; preds = %649
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__16_)
  br label %653

653:                                              ; preds = %652, %649
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #14
  br label %654

654:                                              ; preds = %653
  br label %655

655:                                              ; preds = %654
  %656 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %656) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  br label %1780

657:                                              ; preds = %635
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #14
  %658 = load ptr, ptr %62, align 8, !tbaa !9
  %659 = getelementptr inbounds i8, ptr %658, i64 0
  store ptr %659, ptr %64, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #14
  %660 = load ptr, ptr %62, align 8, !tbaa !9
  %661 = load i64, ptr %55, align 8, !tbaa !5
  %662 = getelementptr inbounds i8, ptr %660, i64 %661
  store ptr %662, ptr %65, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #14
  %663 = load ptr, ptr %62, align 8, !tbaa !9
  %664 = load i64, ptr %57, align 8, !tbaa !5
  %665 = getelementptr inbounds i8, ptr %663, i64 %664
  store ptr %665, ptr %66, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #14
  %666 = load ptr, ptr %62, align 8, !tbaa !9
  %667 = load i64, ptr %59, align 8, !tbaa !5
  %668 = getelementptr inbounds i8, ptr %666, i64 %667
  store ptr %668, ptr %67, align 8, !tbaa !9
  %669 = load i64, ptr %32, align 8, !tbaa !5
  %670 = load ptr, ptr %30, align 8, !tbaa !9
  %671 = load ptr, ptr %64, align 8, !tbaa !9
  call void @_ZN14NAMESPACE_MAINL14ConstructJumpsILb0EEEvmPKdPNS_13NeighbourJumpE(i64 noundef %669, ptr noundef %670, ptr noundef %671) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #14
  %672 = load i64, ptr %32, align 8, !tbaa !5
  %673 = load ptr, ptr %30, align 8, !tbaa !9
  %674 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL27DetermineSymmetricDirectionILb0EEEbmPKd(i64 noundef %672, ptr noundef %673) #14
  %675 = zext i1 %674 to i8
  store i8 %675, ptr %68, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #14
  call void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef -9049132130315488473)
  %676 = load i8, ptr %68, align 1, !tbaa !13, !range !15, !noundef !16
  %677 = trunc i8 %676 to i1
  %678 = load i64, ptr %45, align 8, !tbaa !5
  %679 = load ptr, ptr %67, align 8, !tbaa !9
  call void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_12CuttingRangeEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext %677, ptr noundef %69, i64 noundef %678, ptr noundef %679) #14
  %680 = load i64, ptr %32, align 8, !tbaa !5
  %681 = load ptr, ptr %30, align 8, !tbaa !9
  %682 = load i64, ptr %44, align 8, !tbaa !5
  %683 = load i64, ptr %37, align 8, !tbaa !5
  %684 = load i64, ptr %45, align 8, !tbaa !5
  %685 = load ptr, ptr %67, align 8, !tbaa !9
  call void @_ZN14NAMESPACE_MAINL22FillCuttingRangeBasicsILb0EEEvmPdmmmPNS_12CuttingRangeE(i64 noundef %680, ptr noundef %681, i64 noundef %682, i64 noundef %683, i64 noundef %684, ptr noundef %685) #14
  %686 = load i64, ptr %32, align 8, !tbaa !5
  %687 = load ptr, ptr %30, align 8, !tbaa !9
  %688 = load i64, ptr %45, align 8, !tbaa !5
  %689 = load ptr, ptr %67, align 8, !tbaa !9
  call void @_ZN14NAMESPACE_MAINL26FillCuttingRangeNeighboursILb0EEEvmPdmPNS_12CuttingRangeE(i64 noundef %686, ptr noundef %687, i64 noundef %688, ptr noundef %689) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #14
  %690 = load ptr, ptr %65, align 8, !tbaa !9
  store ptr %690, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %71) #14
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  %691 = load i64, ptr %45, align 8, !tbaa !5
  %692 = load ptr, ptr %67, align 8, !tbaa !9
  %693 = load i64, ptr %37, align 8, !tbaa !5
  %694 = load i64, ptr %40, align 8, !tbaa !5
  invoke void @_ZN14NAMESPACE_MAINL26StuffCutsIntoCuttingRangesERSt3setIPNS_12CuttingRangeENS_19CompareCuttingRangeESaIS2_EEmS2_mm(ptr noundef nonnull align 8 dereferenceable(48) %71, i64 noundef %691, ptr noundef %692, i64 noundef %693, i64 noundef %694)
          to label %695 unwind label %700

695:                                              ; preds = %657
  br label %696

696:                                              ; preds = %1274, %695
  %697 = call noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  br i1 %697, label %698, label %705

698:                                              ; preds = %696
  invoke void @LogAssertFailure(i64 noundef 2721, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.27)
          to label %699 unwind label %700

699:                                              ; preds = %698
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str, i32 noundef 2721, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

700:                                              ; preds = %698, %657
  %701 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %702 = extractvalue { ptr, i32 } %701, 0
  store ptr %702, ptr %72, align 8
  %703 = extractvalue { ptr, i32 } %701, 1
  store i32 %703, ptr %73, align 4
  br label %1284

704:                                              ; No predecessors!
  br label %705

705:                                              ; preds = %704, %696
  %706 = phi i1 [ true, %696 ], [ false, %704 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #14
  %707 = call ptr @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  %708 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %75, i32 0, i32 0
  store ptr %707, ptr %708, align 8
  %709 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %75, i32 0, i32 0
  %710 = load ptr, ptr %709, align 8
  %711 = invoke ptr @_ZSt4prevISt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEET_S5_NSt15iterator_traitsIS5_E15difference_typeE(ptr %710, i64 noundef 1)
          to label %712 unwind label %757

712:                                              ; preds = %705
  %713 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %74, i32 0, i32 0
  store ptr %711, ptr %713, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #14
  %714 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #14
  %715 = load ptr, ptr %714, align 8, !tbaa !9
  store ptr %715, ptr %76, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %77, ptr align 8 %74, i64 8, i1 false), !tbaa.struct !17
  %716 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %77, i32 0, i32 0
  %717 = load ptr, ptr %716, align 8
  %718 = invoke ptr @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(48) %71, ptr %717)
          to label %719 unwind label %761

719:                                              ; preds = %712
  %720 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %78, i32 0, i32 0
  store ptr %718, ptr %720, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #14
  %721 = load ptr, ptr %76, align 8, !tbaa !9
  %722 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %721, i32 0, i32 5
  %723 = load i64, ptr %722, align 8, !tbaa !18
  store i64 %723, ptr %79, align 8, !tbaa !5
  %724 = load i64, ptr %79, align 8, !tbaa !5
  %725 = icmp ult i64 1, %724
  br i1 %725, label %726, label %929

726:                                              ; preds = %719
  call void @llvm.lifetime.start.p0(i64 48, ptr %80) #14
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #14
  %727 = load i8, ptr %68, align 1, !tbaa !13, !range !15, !noundef !16
  %728 = trunc i8 %727 to i1
  %729 = load i64, ptr %79, align 8, !tbaa !5
  %730 = sub i64 %729, 1
  %731 = load ptr, ptr %66, align 8, !tbaa !9
  %732 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CutPoint", ptr %731, i64 1
  call void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_8CutPointEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext %728, ptr noundef %69, i64 noundef %730, ptr noundef %732) #14
  %733 = load i64, ptr %32, align 8, !tbaa !5
  %734 = load i8, ptr %68, align 1, !tbaa !13, !range !15, !noundef !16
  %735 = trunc i8 %734 to i1
  %736 = load i64, ptr %37, align 8, !tbaa !5
  %737 = load ptr, ptr %76, align 8, !tbaa !9
  %738 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %737, i32 0, i32 3
  %739 = load ptr, ptr %738, align 8, !tbaa !21
  %740 = load ptr, ptr %30, align 8, !tbaa !9
  %741 = ptrtoint ptr %739 to i64
  %742 = ptrtoint ptr %740 to i64
  %743 = sub i64 %741, %742
  %744 = sdiv exact i64 %743, 8
  %745 = load ptr, ptr %76, align 8, !tbaa !9
  %746 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %745, i32 0, i32 2
  %747 = load i64, ptr %746, align 8, !tbaa !22
  %748 = load ptr, ptr %64, align 8, !tbaa !9
  %749 = load i64, ptr %79, align 8, !tbaa !5
  %750 = load ptr, ptr %66, align 8, !tbaa !9
  %751 = call noundef i32 @_ZN14NAMESPACE_MAINL15TradeCutSegmentILb0EEEiPSt3setIPNS_8CutPointENS_15CompareCutPointESaIS3_EEmbmmmPKNS_13NeighbourJumpEmS3_(ptr noundef %80, i64 noundef %733, i1 noundef zeroext %735, i64 noundef %736, i64 noundef %744, i64 noundef %747, ptr noundef %748, i64 noundef %749, ptr noundef %750) #14
  store i32 %751, ptr %21, align 4, !tbaa !11
  %752 = load i32, ptr %21, align 4, !tbaa !11
  %753 = icmp ne i32 0, %752
  br i1 %753, label %754, label %765

754:                                              ; preds = %726
  %755 = load ptr, ptr %62, align 8, !tbaa !9
  call void @free(ptr noundef %755) #14
  %756 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %756) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 12, ptr %20, align 4
  br label %924

757:                                              ; preds = %705
  %758 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %759 = extractvalue { ptr, i32 } %758, 0
  store ptr %759, ptr %72, align 8
  %760 = extractvalue { ptr, i32 } %758, 1
  store i32 %760, ptr %73, align 4
  br label %1283

761:                                              ; preds = %712
  %762 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %763 = extractvalue { ptr, i32 } %762, 0
  store ptr %763, ptr %72, align 8
  %764 = extractvalue { ptr, i32 } %762, 1
  store i32 %764, ptr %73, align 4
  br label %1282

765:                                              ; preds = %726
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #14
  %766 = load ptr, ptr %76, align 8, !tbaa !9
  %767 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %766, i32 0, i32 3
  %768 = load ptr, ptr %767, align 8, !tbaa !21
  store ptr %768, ptr %81, align 8, !tbaa !9
  %769 = load ptr, ptr %76, align 8, !tbaa !9
  %770 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %769, i32 0, i32 1
  %771 = load i64, ptr %770, align 8, !tbaa !23
  %772 = icmp ne i64 0, %771
  br i1 %772, label %773, label %801

773:                                              ; preds = %765
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #14
  %774 = load ptr, ptr %81, align 8, !tbaa !9
  store ptr %774, ptr %82, align 8, !tbaa !9
  %775 = load ptr, ptr %30, align 8, !tbaa !9
  %776 = load ptr, ptr %82, align 8, !tbaa !9
  %777 = icmp ult ptr %775, %776
  br i1 %777, label %785, label %778

778:                                              ; preds = %773
  invoke void @LogAssertFailure(i64 noundef 2807, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %779 unwind label %780

779:                                              ; preds = %778
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2807, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

780:                                              ; preds = %792, %778
  %781 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %782 = extractvalue { ptr, i32 } %781, 0
  store ptr %782, ptr %72, align 8
  %783 = extractvalue { ptr, i32 } %781, 1
  store i32 %783, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #14
  br label %928

784:                                              ; No predecessors!
  br label %785

785:                                              ; preds = %784, %773
  %786 = phi i1 [ true, %773 ], [ false, %784 ]
  %787 = load ptr, ptr %82, align 8, !tbaa !9
  %788 = load ptr, ptr %30, align 8, !tbaa !9
  %789 = load i64, ptr %8, align 8, !tbaa !5
  %790 = getelementptr inbounds double, ptr %788, i64 %789
  %791 = icmp ult ptr %787, %790
  br i1 %791, label %795, label %792

792:                                              ; preds = %785
  invoke void @LogAssertFailure(i64 noundef 2808, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.31)
          to label %793 unwind label %780

793:                                              ; preds = %792
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str, i32 noundef 2808, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

794:                                              ; No predecessors!
  br label %795

795:                                              ; preds = %794, %785
  %796 = phi i1 [ true, %785 ], [ false, %794 ]
  %797 = load ptr, ptr %82, align 8, !tbaa !9
  %798 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %797, ptr %798, align 8, !tbaa !9
  %799 = load ptr, ptr %70, align 8, !tbaa !9
  %800 = getelementptr inbounds ptr, ptr %799, i32 1
  store ptr %800, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #14
  br label %801

801:                                              ; preds = %795, %765
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #14
  %802 = load ptr, ptr %66, align 8, !tbaa !9
  %803 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CutPoint", ptr %802, i32 0, i32 1
  %804 = load ptr, ptr %803, align 8, !tbaa !24
  store ptr %804, ptr %83, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #14
  %805 = load ptr, ptr %83, align 8, !tbaa !9
  %806 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CutPoint", ptr %805, i32 0, i32 1
  %807 = load ptr, ptr %806, align 8, !tbaa !24
  store ptr %807, ptr %84, align 8, !tbaa !9
  br label %808

808:                                              ; preds = %881, %801
  %809 = load ptr, ptr %84, align 8, !tbaa !9
  %810 = icmp ne ptr null, %809
  %811 = xor i1 %810, true
  %812 = xor i1 %811, true
  %813 = zext i1 %812 to i64
  %814 = call i64 @llvm.expect.i64(i64 %813, i64 1)
  %815 = icmp ne i64 %814, 0
  br i1 %815, label %816, label %886

816:                                              ; preds = %808
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #14
  %817 = load ptr, ptr %83, align 8, !tbaa !9
  %818 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CutPoint", ptr %817, i32 0, i32 3
  %819 = load i64, ptr %818, align 8, !tbaa !26
  store i64 %819, ptr %85, align 8, !tbaa !5
  %820 = load i64, ptr %85, align 8, !tbaa !5
  %821 = icmp ne i64 -1, %820
  %822 = xor i1 %821, true
  %823 = xor i1 %822, true
  %824 = zext i1 %823 to i64
  %825 = call i64 @llvm.expect.i64(i64 %824, i64 1)
  %826 = icmp ne i64 %825, 0
  br i1 %826, label %827, label %881

827:                                              ; preds = %816
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #14
  %828 = load ptr, ptr %81, align 8, !tbaa !9
  %829 = load i64, ptr %85, align 8, !tbaa !5
  %830 = getelementptr inbounds double, ptr %828, i64 %829
  store ptr %830, ptr %86, align 8, !tbaa !9
  %831 = load ptr, ptr %30, align 8, !tbaa !9
  %832 = load ptr, ptr %86, align 8, !tbaa !9
  %833 = icmp ult ptr %831, %832
  br i1 %833, label %841, label %834

834:                                              ; preds = %827
  invoke void @LogAssertFailure(i64 noundef 2819, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %835 unwind label %836

835:                                              ; preds = %834
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2819, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

836:                                              ; preds = %872, %858, %848, %834
  %837 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %838 = extractvalue { ptr, i32 } %837, 0
  store ptr %838, ptr %72, align 8
  %839 = extractvalue { ptr, i32 } %837, 1
  store i32 %839, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #14
  br label %927

840:                                              ; No predecessors!
  br label %841

841:                                              ; preds = %840, %827
  %842 = phi i1 [ true, %827 ], [ false, %840 ]
  %843 = load ptr, ptr %86, align 8, !tbaa !9
  %844 = load ptr, ptr %30, align 8, !tbaa !9
  %845 = load i64, ptr %8, align 8, !tbaa !5
  %846 = getelementptr inbounds double, ptr %844, i64 %845
  %847 = icmp ult ptr %843, %846
  br i1 %847, label %851, label %848

848:                                              ; preds = %841
  invoke void @LogAssertFailure(i64 noundef 2820, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.31)
          to label %849 unwind label %836

849:                                              ; preds = %848
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str, i32 noundef 2820, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

850:                                              ; No predecessors!
  br label %851

851:                                              ; preds = %850, %841
  %852 = phi i1 [ true, %841 ], [ false, %850 ]
  %853 = load ptr, ptr %76, align 8, !tbaa !9
  %854 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %853, i32 0, i32 3
  %855 = load ptr, ptr %854, align 8, !tbaa !21
  %856 = load ptr, ptr %86, align 8, !tbaa !9
  %857 = icmp ult ptr %855, %856
  br i1 %857, label %861, label %858

858:                                              ; preds = %851
  invoke void @LogAssertFailure(i64 noundef 2821, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.33)
          to label %859 unwind label %836

859:                                              ; preds = %858
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str, i32 noundef 2821, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

860:                                              ; No predecessors!
  br label %861

861:                                              ; preds = %860, %851
  %862 = phi i1 [ true, %851 ], [ false, %860 ]
  %863 = load ptr, ptr %86, align 8, !tbaa !9
  %864 = load ptr, ptr %76, align 8, !tbaa !9
  %865 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %864, i32 0, i32 3
  %866 = load ptr, ptr %865, align 8, !tbaa !21
  %867 = load ptr, ptr %76, align 8, !tbaa !9
  %868 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %867, i32 0, i32 2
  %869 = load i64, ptr %868, align 8, !tbaa !22
  %870 = getelementptr inbounds double, ptr %866, i64 %869
  %871 = icmp ult ptr %863, %870
  br i1 %871, label %875, label %872

872:                                              ; preds = %861
  invoke void @LogAssertFailure(i64 noundef 2822, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.35)
          to label %873 unwind label %836

873:                                              ; preds = %872
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str, i32 noundef 2822, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

874:                                              ; No predecessors!
  br label %875

875:                                              ; preds = %874, %861
  %876 = phi i1 [ true, %861 ], [ false, %874 ]
  %877 = load ptr, ptr %86, align 8, !tbaa !9
  %878 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %877, ptr %878, align 8, !tbaa !9
  %879 = load ptr, ptr %70, align 8, !tbaa !9
  %880 = getelementptr inbounds ptr, ptr %879, i32 1
  store ptr %880, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #14
  br label %881

881:                                              ; preds = %875, %816
  %882 = load ptr, ptr %84, align 8, !tbaa !9
  store ptr %882, ptr %83, align 8, !tbaa !9
  %883 = load ptr, ptr %83, align 8, !tbaa !9
  %884 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CutPoint", ptr %883, i32 0, i32 1
  %885 = load ptr, ptr %884, align 8, !tbaa !24
  store ptr %885, ptr %84, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #14
  br label %808, !llvm.loop !27

886:                                              ; preds = %808
  %887 = load ptr, ptr %76, align 8, !tbaa !9
  %888 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %887, i32 0, i32 0
  %889 = load i64, ptr %888, align 8, !tbaa !29
  %890 = icmp ne i64 0, %889
  br i1 %890, label %891, label %923

891:                                              ; preds = %886
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #14
  %892 = load ptr, ptr %81, align 8, !tbaa !9
  %893 = load ptr, ptr %76, align 8, !tbaa !9
  %894 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %893, i32 0, i32 2
  %895 = load i64, ptr %894, align 8, !tbaa !22
  %896 = getelementptr inbounds double, ptr %892, i64 %895
  store ptr %896, ptr %87, align 8, !tbaa !9
  %897 = load ptr, ptr %30, align 8, !tbaa !9
  %898 = load ptr, ptr %87, align 8, !tbaa !9
  %899 = icmp ult ptr %897, %898
  br i1 %899, label %907, label %900

900:                                              ; preds = %891
  invoke void @LogAssertFailure(i64 noundef 2834, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %901 unwind label %902

901:                                              ; preds = %900
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2834, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

902:                                              ; preds = %914, %900
  %903 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %72, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #14
  br label %927

906:                                              ; No predecessors!
  br label %907

907:                                              ; preds = %906, %891
  %908 = phi i1 [ true, %891 ], [ false, %906 ]
  %909 = load ptr, ptr %87, align 8, !tbaa !9
  %910 = load ptr, ptr %30, align 8, !tbaa !9
  %911 = load i64, ptr %8, align 8, !tbaa !5
  %912 = getelementptr inbounds double, ptr %910, i64 %911
  %913 = icmp ult ptr %909, %912
  br i1 %913, label %917, label %914

914:                                              ; preds = %907
  invoke void @LogAssertFailure(i64 noundef 2835, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.31)
          to label %915 unwind label %902

915:                                              ; preds = %914
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str, i32 noundef 2835, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

916:                                              ; No predecessors!
  br label %917

917:                                              ; preds = %916, %907
  %918 = phi i1 [ true, %907 ], [ false, %916 ]
  %919 = load ptr, ptr %87, align 8, !tbaa !9
  %920 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %919, ptr %920, align 8, !tbaa !9
  %921 = load ptr, ptr %70, align 8, !tbaa !9
  %922 = getelementptr inbounds ptr, ptr %921, i32 1
  store ptr %922, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #14
  br label %923

923:                                              ; preds = %917, %886
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #14
  store i32 0, ptr %20, align 4
  br label %924

924:                                              ; preds = %923, %754
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #14
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #14
  %925 = load i32, ptr %20, align 4
  switch i32 %925, label %1271 [
    i32 0, label %926
  ]

926:                                              ; preds = %924
  br label %1270

927:                                              ; preds = %902, %836
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #14
  br label %928

928:                                              ; preds = %927, %780
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #14
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #14
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #14
  br label %1281

929:                                              ; preds = %719
  %930 = load i64, ptr %79, align 8, !tbaa !5
  %931 = icmp eq i64 1, %930
  br i1 %931, label %932, label %1007

932:                                              ; preds = %929
  %933 = load ptr, ptr %76, align 8, !tbaa !9
  %934 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %933, i32 0, i32 1
  %935 = load i64, ptr %934, align 8, !tbaa !23
  %936 = icmp ne i64 0, %935
  br i1 %936, label %937, label %967

937:                                              ; preds = %932
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #14
  %938 = load ptr, ptr %76, align 8, !tbaa !9
  %939 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %938, i32 0, i32 3
  %940 = load ptr, ptr %939, align 8, !tbaa !21
  store ptr %940, ptr %88, align 8, !tbaa !9
  %941 = load ptr, ptr %30, align 8, !tbaa !9
  %942 = load ptr, ptr %88, align 8, !tbaa !9
  %943 = icmp ult ptr %941, %942
  br i1 %943, label %951, label %944

944:                                              ; preds = %937
  invoke void @LogAssertFailure(i64 noundef 2848, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %945 unwind label %946

945:                                              ; preds = %944
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2848, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

946:                                              ; preds = %958, %944
  %947 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %948 = extractvalue { ptr, i32 } %947, 0
  store ptr %948, ptr %72, align 8
  %949 = extractvalue { ptr, i32 } %947, 1
  store i32 %949, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #14
  br label %1281

950:                                              ; No predecessors!
  br label %951

951:                                              ; preds = %950, %937
  %952 = phi i1 [ true, %937 ], [ false, %950 ]
  %953 = load ptr, ptr %88, align 8, !tbaa !9
  %954 = load ptr, ptr %30, align 8, !tbaa !9
  %955 = load i64, ptr %8, align 8, !tbaa !5
  %956 = getelementptr inbounds double, ptr %954, i64 %955
  %957 = icmp ult ptr %953, %956
  br i1 %957, label %961, label %958

958:                                              ; preds = %951
  invoke void @LogAssertFailure(i64 noundef 2849, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.31)
          to label %959 unwind label %946

959:                                              ; preds = %958
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str, i32 noundef 2849, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

960:                                              ; No predecessors!
  br label %961

961:                                              ; preds = %960, %951
  %962 = phi i1 [ true, %951 ], [ false, %960 ]
  %963 = load ptr, ptr %88, align 8, !tbaa !9
  %964 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %963, ptr %964, align 8, !tbaa !9
  %965 = load ptr, ptr %70, align 8, !tbaa !9
  %966 = getelementptr inbounds ptr, ptr %965, i32 1
  store ptr %966, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #14
  br label %967

967:                                              ; preds = %961, %932
  %968 = load ptr, ptr %76, align 8, !tbaa !9
  %969 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %968, i32 0, i32 0
  %970 = load i64, ptr %969, align 8, !tbaa !29
  %971 = icmp ne i64 0, %970
  br i1 %971, label %972, label %1006

972:                                              ; preds = %967
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #14
  %973 = load ptr, ptr %76, align 8, !tbaa !9
  %974 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %973, i32 0, i32 3
  %975 = load ptr, ptr %974, align 8, !tbaa !21
  %976 = load ptr, ptr %76, align 8, !tbaa !9
  %977 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %976, i32 0, i32 2
  %978 = load i64, ptr %977, align 8, !tbaa !22
  %979 = getelementptr inbounds double, ptr %975, i64 %978
  store ptr %979, ptr %89, align 8, !tbaa !9
  %980 = load ptr, ptr %30, align 8, !tbaa !9
  %981 = load ptr, ptr %89, align 8, !tbaa !9
  %982 = icmp ult ptr %980, %981
  br i1 %982, label %990, label %983

983:                                              ; preds = %972
  invoke void @LogAssertFailure(i64 noundef 2857, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %984 unwind label %985

984:                                              ; preds = %983
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2857, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

985:                                              ; preds = %997, %983
  %986 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %987 = extractvalue { ptr, i32 } %986, 0
  store ptr %987, ptr %72, align 8
  %988 = extractvalue { ptr, i32 } %986, 1
  store i32 %988, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #14
  br label %1281

989:                                              ; No predecessors!
  br label %990

990:                                              ; preds = %989, %972
  %991 = phi i1 [ true, %972 ], [ false, %989 ]
  %992 = load ptr, ptr %89, align 8, !tbaa !9
  %993 = load ptr, ptr %30, align 8, !tbaa !9
  %994 = load i64, ptr %8, align 8, !tbaa !5
  %995 = getelementptr inbounds double, ptr %993, i64 %994
  %996 = icmp ult ptr %992, %995
  br i1 %996, label %1000, label %997

997:                                              ; preds = %990
  invoke void @LogAssertFailure(i64 noundef 2858, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.31)
          to label %998 unwind label %985

998:                                              ; preds = %997
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str, i32 noundef 2858, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

999:                                              ; No predecessors!
  br label %1000

1000:                                             ; preds = %999, %990
  %1001 = phi i1 [ true, %990 ], [ false, %999 ]
  %1002 = load ptr, ptr %89, align 8, !tbaa !9
  %1003 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %1002, ptr %1003, align 8, !tbaa !9
  %1004 = load ptr, ptr %70, align 8, !tbaa !9
  %1005 = getelementptr inbounds ptr, ptr %1004, i32 1
  store ptr %1005, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #14
  br label %1006

1006:                                             ; preds = %1000, %967
  br label %1269

1007:                                             ; preds = %929
  %1008 = load i64, ptr %79, align 8, !tbaa !5
  %1009 = icmp eq i64 0, %1008
  br i1 %1009, label %1017, label %1010

1010:                                             ; preds = %1007
  invoke void @LogAssertFailure(i64 noundef 2863, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.37)
          to label %1011 unwind label %1012

1011:                                             ; preds = %1010
  call void @__assert_fail(ptr noundef @.str.38, ptr noundef @.str, i32 noundef 2863, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1012:                                             ; preds = %1028, %1010
  %1013 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1014 = extractvalue { ptr, i32 } %1013, 0
  store ptr %1014, ptr %72, align 8
  %1015 = extractvalue { ptr, i32 } %1013, 1
  store i32 %1015, ptr %73, align 4
  br label %1281

1016:                                             ; No predecessors!
  br label %1017

1017:                                             ; preds = %1016, %1007
  %1018 = phi i1 [ true, %1007 ], [ false, %1016 ]
  %1019 = load ptr, ptr %76, align 8, !tbaa !9
  %1020 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1019, i32 0, i32 1
  %1021 = load i64, ptr %1020, align 8, !tbaa !23
  %1022 = icmp ne i64 0, %1021
  br i1 %1022, label %1031, label %1023

1023:                                             ; preds = %1017
  %1024 = load ptr, ptr %76, align 8, !tbaa !9
  %1025 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1024, i32 0, i32 0
  %1026 = load i64, ptr %1025, align 8, !tbaa !29
  %1027 = icmp ne i64 0, %1026
  br i1 %1027, label %1031, label %1028

1028:                                             ; preds = %1023
  invoke void @LogAssertFailure(i64 noundef 2870, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.39)
          to label %1029 unwind label %1012

1029:                                             ; preds = %1028
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str, i32 noundef 2870, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1030:                                             ; No predecessors!
  br label %1031

1031:                                             ; preds = %1030, %1023, %1017
  %1032 = phi i1 [ true, %1023 ], [ true, %1017 ], [ false, %1030 ]
  %1033 = load ptr, ptr %76, align 8, !tbaa !9
  %1034 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1033, i32 0, i32 1
  %1035 = load i64, ptr %1034, align 8, !tbaa !23
  %1036 = icmp ne i64 0, %1035
  %1037 = xor i1 %1036, true
  %1038 = xor i1 %1037, true
  %1039 = zext i1 %1038 to i64
  %1040 = call i64 @llvm.expect.i64(i64 %1039, i64 1)
  %1041 = icmp ne i64 %1040, 0
  br i1 %1041, label %1042, label %1052

1042:                                             ; preds = %1031
  %1043 = load ptr, ptr %76, align 8, !tbaa !9
  %1044 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1043, i32 0, i32 0
  %1045 = load i64, ptr %1044, align 8, !tbaa !29
  %1046 = icmp ne i64 0, %1045
  %1047 = xor i1 %1046, true
  %1048 = xor i1 %1047, true
  %1049 = zext i1 %1048 to i64
  %1050 = call i64 @llvm.expect.i64(i64 %1049, i64 1)
  %1051 = icmp ne i64 %1050, 0
  br label %1052

1052:                                             ; preds = %1042, %1031
  %1053 = phi i1 [ false, %1031 ], [ %1051, %1042 ]
  %1054 = xor i1 %1053, true
  %1055 = xor i1 %1054, true
  %1056 = zext i1 %1055 to i64
  %1057 = call i64 @llvm.expect.i64(i64 %1056, i64 1)
  %1058 = icmp ne i64 %1057, 0
  br i1 %1058, label %1059, label %1268

1059:                                             ; preds = %1052
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #14
  %1060 = load ptr, ptr %76, align 8, !tbaa !9
  %1061 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1060, i32 0, i32 2
  %1062 = load i64, ptr %1061, align 8, !tbaa !22
  store i64 %1062, ptr %90, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #14
  %1063 = load ptr, ptr %76, align 8, !tbaa !9
  %1064 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1063, i32 0, i32 3
  %1065 = load ptr, ptr %1064, align 8, !tbaa !21
  %1066 = load ptr, ptr %30, align 8, !tbaa !9
  %1067 = ptrtoint ptr %1065 to i64
  %1068 = ptrtoint ptr %1066 to i64
  %1069 = sub i64 %1067, %1068
  %1070 = sdiv exact i64 %1069, 8
  store i64 %1070, ptr %91, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #14
  %1071 = load i64, ptr %91, align 8, !tbaa !5
  %1072 = load i64, ptr %90, align 8, !tbaa !5
  %1073 = lshr i64 %1072, 1
  %1074 = add i64 %1071, %1073
  store i64 %1074, ptr %92, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #14
  %1075 = load ptr, ptr %64, align 8, !tbaa !9
  %1076 = load i64, ptr %92, align 8, !tbaa !5
  %1077 = getelementptr inbounds %"struct.NAMESPACE_MAIN::NeighbourJump", ptr %1075, i64 %1076
  store ptr %1077, ptr %93, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #14
  %1078 = load ptr, ptr %93, align 8, !tbaa !9
  %1079 = getelementptr inbounds %"struct.NAMESPACE_MAIN::NeighbourJump", ptr %1078, i32 0, i32 0
  %1080 = load i64, ptr %1079, align 8, !tbaa !30
  store i64 %1080, ptr %94, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #14
  %1081 = load ptr, ptr %93, align 8, !tbaa !9
  %1082 = getelementptr inbounds %"struct.NAMESPACE_MAIN::NeighbourJump", ptr %1081, i32 0, i32 1
  %1083 = load i64, ptr %1082, align 8, !tbaa !32
  store i64 %1083, ptr %95, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #14
  %1084 = load i64, ptr %94, align 8, !tbaa !5
  %1085 = load i64, ptr %91, align 8, !tbaa !5
  %1086 = sub i64 %1084, %1085
  store i64 %1086, ptr %96, align 8, !tbaa !5
  %1087 = load i64, ptr %96, align 8, !tbaa !5
  %1088 = icmp sle i64 0, %1087
  br i1 %1088, label %1096, label %1089

1089:                                             ; preds = %1059
  invoke void @LogAssertFailure(i64 noundef 2899, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.41)
          to label %1090 unwind label %1091

1090:                                             ; preds = %1089
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str, i32 noundef 2899, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1091:                                             ; preds = %1102, %1089
  %1092 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1093 = extractvalue { ptr, i32 } %1092, 0
  store ptr %1093, ptr %72, align 8
  %1094 = extractvalue { ptr, i32 } %1092, 1
  store i32 %1094, ptr %73, align 4
  br label %1267

1095:                                             ; No predecessors!
  br label %1096

1096:                                             ; preds = %1095, %1059
  %1097 = phi i1 [ true, %1059 ], [ false, %1095 ]
  %1098 = load i64, ptr %96, align 8, !tbaa !5
  %1099 = load i64, ptr %90, align 8, !tbaa !5
  %1100 = lshr i64 %1099, 1
  %1101 = icmp sle i64 %1098, %1100
  br i1 %1101, label %1105, label %1102

1102:                                             ; preds = %1096
  invoke void @LogAssertFailure(i64 noundef 2900, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.43)
          to label %1103 unwind label %1091

1103:                                             ; preds = %1102
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str, i32 noundef 2900, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1104:                                             ; No predecessors!
  br label %1105

1105:                                             ; preds = %1104, %1096
  %1106 = phi i1 [ true, %1096 ], [ false, %1104 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #14
  %1107 = load i64, ptr %91, align 8, !tbaa !5
  %1108 = load i64, ptr %90, align 8, !tbaa !5
  %1109 = add i64 %1107, %1108
  %1110 = load i64, ptr %95, align 8, !tbaa !5
  %1111 = sub nsw i64 %1109, %1110
  store i64 %1111, ptr %97, align 8, !tbaa !5
  %1112 = load i64, ptr %97, align 8, !tbaa !5
  %1113 = load i64, ptr %90, align 8, !tbaa !5
  %1114 = lshr i64 %1113, 1
  %1115 = icmp sle i64 %1112, %1114
  br i1 %1115, label %1123, label %1116

1116:                                             ; preds = %1105
  invoke void @LogAssertFailure(i64 noundef 2907, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.45)
          to label %1117 unwind label %1118

1117:                                             ; preds = %1116
  call void @__assert_fail(ptr noundef @.str.46, ptr noundef @.str, i32 noundef 2907, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1118:                                             ; preds = %1133, %1116
  %1119 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1120 = extractvalue { ptr, i32 } %1119, 0
  store ptr %1120, ptr %72, align 8
  %1121 = extractvalue { ptr, i32 } %1119, 1
  store i32 %1121, ptr %73, align 4
  br label %1266

1122:                                             ; No predecessors!
  br label %1123

1123:                                             ; preds = %1122, %1105
  %1124 = phi i1 [ true, %1105 ], [ false, %1122 ]
  %1125 = load i64, ptr %90, align 8, !tbaa !5
  %1126 = urem i64 %1125, 2
  %1127 = icmp eq i64 1, %1126
  br i1 %1127, label %1136, label %1128

1128:                                             ; preds = %1123
  %1129 = load i64, ptr %97, align 8, !tbaa !5
  %1130 = load i64, ptr %90, align 8, !tbaa !5
  %1131 = lshr i64 %1130, 1
  %1132 = icmp slt i64 %1129, %1131
  br i1 %1132, label %1136, label %1133

1133:                                             ; preds = %1128
  invoke void @LogAssertFailure(i64 noundef 2909, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.47)
          to label %1134 unwind label %1118

1134:                                             ; preds = %1133
  call void @__assert_fail(ptr noundef @.str.48, ptr noundef @.str, i32 noundef 2909, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1135:                                             ; No predecessors!
  br label %1136

1136:                                             ; preds = %1135, %1128, %1123
  %1137 = phi i1 [ true, %1128 ], [ true, %1123 ], [ false, %1135 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #14
  %1138 = load i64, ptr %97, align 8, !tbaa !5
  %1139 = load i64, ptr %96, align 8, !tbaa !5
  %1140 = icmp slt i64 %1138, %1139
  %1141 = xor i1 %1140, true
  %1142 = xor i1 %1141, true
  br i1 %1142, label %1143, label %1145, !unpredictable !16

1143:                                             ; preds = %1136
  %1144 = load i64, ptr %94, align 8, !tbaa !5
  br label %1147

1145:                                             ; preds = %1136
  %1146 = load i64, ptr %95, align 8, !tbaa !5
  br label %1147

1147:                                             ; preds = %1145, %1143
  %1148 = phi i64 [ %1144, %1143 ], [ %1146, %1145 ]
  store i64 %1148, ptr %98, align 8, !tbaa !5
  %1149 = load i64, ptr %97, align 8, !tbaa !5
  %1150 = load i64, ptr %96, align 8, !tbaa !5
  %1151 = icmp eq i64 %1149, %1150
  %1152 = xor i1 %1151, true
  %1153 = xor i1 %1152, true
  %1154 = zext i1 %1153 to i64
  %1155 = call i64 @llvm.expect.i64(i64 %1154, i64 0)
  %1156 = icmp ne i64 %1155, 0
  br i1 %1156, label %1157, label %1245

1157:                                             ; preds = %1147
  %1158 = load i64, ptr %96, align 8, !tbaa !5
  %1159 = mul i64 %1158, 2
  %1160 = load i64, ptr %90, align 8, !tbaa !5
  %1161 = icmp ne i64 %1159, %1160
  br i1 %1161, label %1169, label %1162

1162:                                             ; preds = %1157
  invoke void @LogAssertFailure(i64 noundef 2915, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.49)
          to label %1163 unwind label %1164

1163:                                             ; preds = %1162
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str, i32 noundef 2915, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1164:                                             ; preds = %1162
  %1165 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1166 = extractvalue { ptr, i32 } %1165, 0
  store ptr %1166, ptr %72, align 8
  %1167 = extractvalue { ptr, i32 } %1165, 1
  store i32 %1167, ptr %73, align 4
  br label %1265

1168:                                             ; No predecessors!
  br label %1169

1169:                                             ; preds = %1168, %1157
  %1170 = phi i1 [ true, %1157 ], [ false, %1168 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #14
  %1171 = load ptr, ptr %76, align 8, !tbaa !9
  %1172 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1171, i32 0, i32 1
  %1173 = load i64, ptr %1172, align 8, !tbaa !23
  store i64 %1173, ptr %99, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #14
  %1174 = load ptr, ptr %76, align 8, !tbaa !9
  %1175 = getelementptr inbounds %"struct.NAMESPACE_MAIN::CuttingRange", ptr %1174, i32 0, i32 0
  %1176 = load i64, ptr %1175, align 8, !tbaa !29
  store i64 %1176, ptr %100, align 8, !tbaa !5
  %1177 = load i64, ptr %100, align 8, !tbaa !5
  %1178 = load i64, ptr %99, align 8, !tbaa !5
  %1179 = icmp ult i64 %1177, %1178
  %1180 = xor i1 %1179, true
  %1181 = xor i1 %1180, true
  br i1 %1181, label %1182, label %1184, !unpredictable !16

1182:                                             ; preds = %1169
  %1183 = load i64, ptr %94, align 8, !tbaa !5
  br label %1186

1184:                                             ; preds = %1169
  %1185 = load i64, ptr %95, align 8, !tbaa !5
  br label %1186

1186:                                             ; preds = %1184, %1182
  %1187 = phi i64 [ %1183, %1182 ], [ %1185, %1184 ]
  store i64 %1187, ptr %98, align 8, !tbaa !5
  %1188 = load i64, ptr %100, align 8, !tbaa !5
  %1189 = load i64, ptr %99, align 8, !tbaa !5
  %1190 = icmp eq i64 %1188, %1189
  %1191 = xor i1 %1190, true
  %1192 = xor i1 %1191, true
  %1193 = zext i1 %1192 to i64
  %1194 = call i64 @llvm.expect.i64(i64 %1193, i64 0)
  %1195 = icmp ne i64 %1194, 0
  br i1 %1195, label %1196, label %1244

1196:                                             ; preds = %1186
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #14
  %1197 = load i64, ptr %94, align 8, !tbaa !5
  store i64 %1197, ptr %101, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #14
  %1198 = load i64, ptr %32, align 8, !tbaa !5
  %1199 = load i64, ptr %95, align 8, !tbaa !5
  %1200 = sub i64 %1198, %1199
  store i64 %1200, ptr %102, align 8, !tbaa !5
  %1201 = load i64, ptr %102, align 8, !tbaa !5
  %1202 = load i64, ptr %101, align 8, !tbaa !5
  %1203 = icmp ult i64 %1201, %1202
  %1204 = xor i1 %1203, true
  %1205 = xor i1 %1204, true
  br i1 %1205, label %1206, label %1208, !unpredictable !16

1206:                                             ; preds = %1196
  %1207 = load i64, ptr %94, align 8, !tbaa !5
  br label %1210

1208:                                             ; preds = %1196
  %1209 = load i64, ptr %95, align 8, !tbaa !5
  br label %1210

1210:                                             ; preds = %1208, %1206
  %1211 = phi i64 [ %1207, %1206 ], [ %1209, %1208 ]
  store i64 %1211, ptr %98, align 8, !tbaa !5
  %1212 = load i64, ptr %102, align 8, !tbaa !5
  %1213 = load i64, ptr %101, align 8, !tbaa !5
  %1214 = icmp eq i64 %1212, %1213
  %1215 = xor i1 %1214, true
  %1216 = xor i1 %1215, true
  %1217 = zext i1 %1216 to i64
  %1218 = call i64 @llvm.expect.i64(i64 %1217, i64 0)
  %1219 = icmp ne i64 %1218, 0
  br i1 %1219, label %1220, label %1243

1220:                                             ; preds = %1210
  call void @llvm.lifetime.start.p0(i64 1, ptr %103) #14
  %1221 = invoke noundef zeroext i1 @_ZN14NAMESPACE_MAIN19RandomDeterministic4NextIbEENSt9enable_ifIXsr3std7is_sameIT_bEE5valueES3_E4typeEv(ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %1222 unwind label %1239

1222:                                             ; preds = %1220
  %1223 = zext i1 %1221 to i32
  %1224 = load i8, ptr %68, align 1, !tbaa !13, !range !15, !noundef !16
  %1225 = trunc i8 %1224 to i1
  %1226 = zext i1 %1225 to i32
  %1227 = icmp ne i32 %1223, %1226
  %1228 = zext i1 %1227 to i8
  store i8 %1228, ptr %103, align 1, !tbaa !13
  %1229 = load i8, ptr %103, align 1, !tbaa !13, !range !15, !noundef !16
  %1230 = trunc i8 %1229 to i1
  %1231 = xor i1 %1230, true
  %1232 = xor i1 %1231, true
  br i1 %1232, label %1233, label %1235, !unpredictable !16

1233:                                             ; preds = %1222
  %1234 = load i64, ptr %94, align 8, !tbaa !5
  br label %1237

1235:                                             ; preds = %1222
  %1236 = load i64, ptr %95, align 8, !tbaa !5
  br label %1237

1237:                                             ; preds = %1235, %1233
  %1238 = phi i64 [ %1234, %1233 ], [ %1236, %1235 ]
  store i64 %1238, ptr %98, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #14
  br label %1243

1239:                                             ; preds = %1220
  %1240 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1241 = extractvalue { ptr, i32 } %1240, 0
  store ptr %1241, ptr %72, align 8
  %1242 = extractvalue { ptr, i32 } %1240, 1
  store i32 %1242, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #14
  br label %1265

1243:                                             ; preds = %1237, %1210
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #14
  br label %1244

1244:                                             ; preds = %1243, %1186
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #14
  br label %1245

1245:                                             ; preds = %1244, %1147
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #14
  %1246 = load ptr, ptr %30, align 8, !tbaa !9
  %1247 = load i64, ptr %98, align 8, !tbaa !5
  %1248 = getelementptr inbounds double, ptr %1246, i64 %1247
  store ptr %1248, ptr %104, align 8, !tbaa !9
  %1249 = load ptr, ptr %30, align 8, !tbaa !9
  %1250 = load ptr, ptr %104, align 8, !tbaa !9
  %1251 = icmp ult ptr %1249, %1250
  br i1 %1251, label %1259, label %1252

1252:                                             ; preds = %1245
  invoke void @LogAssertFailure(i64 noundef 2938, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
          to label %1253 unwind label %1254

1253:                                             ; preds = %1252
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2938, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1254:                                             ; preds = %1252
  %1255 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  %1256 = extractvalue { ptr, i32 } %1255, 0
  store ptr %1256, ptr %72, align 8
  %1257 = extractvalue { ptr, i32 } %1255, 1
  store i32 %1257, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #14
  br label %1265

1258:                                             ; No predecessors!
  br label %1259

1259:                                             ; preds = %1258, %1245
  %1260 = phi i1 [ true, %1245 ], [ false, %1258 ]
  %1261 = load ptr, ptr %104, align 8, !tbaa !9
  %1262 = load ptr, ptr %70, align 8, !tbaa !9
  store ptr %1261, ptr %1262, align 8, !tbaa !9
  %1263 = load ptr, ptr %70, align 8, !tbaa !9
  %1264 = getelementptr inbounds ptr, ptr %1263, i32 1
  store ptr %1264, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #14
  br label %1268

1265:                                             ; preds = %1254, %1239, %1164
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #14
  br label %1266

1266:                                             ; preds = %1265, %1118
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #14
  br label %1267

1267:                                             ; preds = %1266, %1091
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #14
  br label %1281

1268:                                             ; preds = %1259, %1052
  br label %1269

1269:                                             ; preds = %1268, %1006
  br label %1270

1270:                                             ; preds = %1269, %926
  store i32 0, ptr %20, align 4
  br label %1271

1271:                                             ; preds = %1270, %924
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #14
  %1272 = load i32, ptr %20, align 4
  switch i32 %1272, label %1278 [
    i32 0, label %1273
  ]

1273:                                             ; preds = %1271
  br label %1274

1274:                                             ; preds = %1273
  %1275 = call noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  %1276 = xor i1 %1275, true
  br i1 %1276, label %696, label %1277, !llvm.loop !33

1277:                                             ; preds = %1274
  store i32 0, ptr %20, align 4
  br label %1278

1278:                                             ; preds = %1277, %1271
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  call void @llvm.lifetime.end.p0(i64 48, ptr %71) #14
  %1279 = load i32, ptr %20, align 4
  switch i32 %1279, label %1779 [
    i32 0, label %1280
  ]

1280:                                             ; preds = %1278
  br label %1325

1281:                                             ; preds = %1267, %1012, %985, %946, %928
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #14
  br label %1282

1282:                                             ; preds = %1281, %761
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #14
  br label %1283

1283:                                             ; preds = %1282, %757
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #14
  br label %1284

1284:                                             ; preds = %1283, %700
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #14
  call void @llvm.lifetime.end.p0(i64 48, ptr %71) #14
  br label %1285

1285:                                             ; preds = %1284
  %1286 = load i32, ptr %73, align 4
  %1287 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9bad_alloc) #14
  %1288 = icmp eq i32 %1286, %1287
  br i1 %1288, label %1289, label %1297

1289:                                             ; preds = %1285
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #14
  %1290 = load ptr, ptr %72, align 8
  %1291 = call ptr @__cxa_begin_catch(ptr %1290) #14
  store ptr %1291, ptr %106, align 8
  br label %1292

1292:                                             ; preds = %1289
  call void @llvm.lifetime.start.p0(i64 4, ptr %107) #14
  store i32 2, ptr %107, align 4, !tbaa !11
  %1293 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %1294 = icmp sle i32 2, %1293
  br i1 %1294, label %1295, label %1319

1295:                                             ; preds = %1292
  invoke void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__18_)
          to label %1296 unwind label %1315

1296:                                             ; preds = %1295
  br label %1319

1297:                                             ; preds = %1285
  %1298 = load ptr, ptr %72, align 8
  %1299 = call ptr @__cxa_begin_catch(ptr %1298) #14
  br label %1300

1300:                                             ; preds = %1297
  call void @llvm.lifetime.start.p0(i64 4, ptr %105) #14
  store i32 2, ptr %105, align 4, !tbaa !11
  %1301 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %1302 = icmp sle i32 2, %1301
  br i1 %1302, label %1303, label %1309

1303:                                             ; preds = %1300
  invoke void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__17_)
          to label %1304 unwind label %1305

1304:                                             ; preds = %1303
  br label %1309

1305:                                             ; preds = %1303
  %1306 = landingpad { ptr, i32 }
          cleanup
  %1307 = extractvalue { ptr, i32 } %1306, 0
  store ptr %1307, ptr %72, align 8
  %1308 = extractvalue { ptr, i32 } %1306, 1
  store i32 %1308, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %105) #14
  invoke void @__cxa_end_catch()
          to label %1314 unwind label %1846

1309:                                             ; preds = %1304, %1300
  call void @llvm.lifetime.end.p0(i64 4, ptr %105) #14
  br label %1310

1310:                                             ; preds = %1309
  br label %1311

1311:                                             ; preds = %1310
  %1312 = load ptr, ptr %62, align 8, !tbaa !9
  call void @free(ptr noundef %1312) #14
  %1313 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %1313) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -2, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  call void @__cxa_end_catch()
  br label %1779

1314:                                             ; preds = %1305
  br label %1794

1315:                                             ; preds = %1295
  %1316 = landingpad { ptr, i32 }
          cleanup
  %1317 = extractvalue { ptr, i32 } %1316, 0
  store ptr %1317, ptr %72, align 8
  %1318 = extractvalue { ptr, i32 } %1316, 1
  store i32 %1318, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %107) #14
  invoke void @__cxa_end_catch()
          to label %1324 unwind label %1846

1319:                                             ; preds = %1296, %1292
  call void @llvm.lifetime.end.p0(i64 4, ptr %107) #14
  br label %1320

1320:                                             ; preds = %1319
  br label %1321

1321:                                             ; preds = %1320
  %1322 = load ptr, ptr %62, align 8, !tbaa !9
  call void @free(ptr noundef %1322) #14
  %1323 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %1323) #14
  store i64 0, ptr %22, align 8, !tbaa !5
  store i32 -1, ptr %21, align 4, !tbaa !11
  store i32 12, ptr %20, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #14
  br label %1779

1324:                                             ; preds = %1315
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #14
  br label %1794

1325:                                             ; preds = %1280
  %1326 = load ptr, ptr %65, align 8, !tbaa !9
  %1327 = load ptr, ptr %70, align 8, !tbaa !9
  %1328 = icmp ule ptr %1326, %1327
  br i1 %1328, label %1331, label %1329

1329:                                             ; preds = %1325
  call void @LogAssertFailure(i64 noundef 2964, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.51)
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str, i32 noundef 2964, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1330:                                             ; No predecessors!
  br label %1331

1331:                                             ; preds = %1330, %1325
  %1332 = phi i1 [ true, %1325 ], [ false, %1330 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #14
  %1333 = load ptr, ptr %70, align 8, !tbaa !9
  %1334 = load ptr, ptr %65, align 8, !tbaa !9
  %1335 = ptrtoint ptr %1333 to i64
  %1336 = ptrtoint ptr %1334 to i64
  %1337 = sub i64 %1335, %1336
  %1338 = sdiv exact i64 %1337, 8
  store i64 %1338, ptr %108, align 8, !tbaa !5
  %1339 = load i64, ptr %108, align 8, !tbaa !5
  %1340 = icmp ne i64 0, %1339
  %1341 = xor i1 %1340, true
  %1342 = xor i1 %1341, true
  %1343 = zext i1 %1342 to i64
  %1344 = call i64 @llvm.expect.i64(i64 %1343, i64 1)
  %1345 = icmp ne i64 %1344, 0
  br i1 %1345, label %1346, label %1768

1346:                                             ; preds = %1331
  %1347 = load ptr, ptr %65, align 8, !tbaa !9
  %1348 = load ptr, ptr %70, align 8, !tbaa !9
  call void @_ZSt4sortIPPKdEvT_S3_(ptr noundef %1347, ptr noundef %1348)
  call void @llvm.lifetime.start.p0(i64 8, ptr %109) #14
  %1349 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %1349, ptr %109, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #14
  %1350 = load ptr, ptr %65, align 8, !tbaa !9
  store ptr %1350, ptr %110, align 8, !tbaa !9
  %1351 = load i32, ptr %11, align 4, !tbaa !11
  %1352 = icmp eq i32 0, %1351
  br i1 %1352, label %1353, label %1429

1353:                                             ; preds = %1346
  br label %1354

1354:                                             ; preds = %1424, %1353
  call void @llvm.lifetime.start.p0(i64 8, ptr %111) #14
  %1355 = load ptr, ptr %110, align 8, !tbaa !9
  %1356 = load ptr, ptr %1355, align 8, !tbaa !9
  store ptr %1356, ptr %111, align 8, !tbaa !9
  %1357 = load ptr, ptr %30, align 8, !tbaa !9
  %1358 = load ptr, ptr %111, align 8, !tbaa !9
  %1359 = icmp ult ptr %1357, %1358
  br i1 %1359, label %1362, label %1360

1360:                                             ; preds = %1354
  call void @LogAssertFailure(i64 noundef 2979, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2979, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1361:                                             ; No predecessors!
  br label %1362

1362:                                             ; preds = %1361, %1354
  %1363 = phi i1 [ true, %1354 ], [ false, %1361 ]
  %1364 = load ptr, ptr %111, align 8, !tbaa !9
  %1365 = load ptr, ptr %30, align 8, !tbaa !9
  %1366 = load i64, ptr %32, align 8, !tbaa !5
  %1367 = getelementptr inbounds double, ptr %1365, i64 %1366
  %1368 = icmp ult ptr %1364, %1367
  br i1 %1368, label %1371, label %1369

1369:                                             ; preds = %1362
  call void @LogAssertFailure(i64 noundef 2980, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.53)
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str, i32 noundef 2980, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1370:                                             ; No predecessors!
  br label %1371

1371:                                             ; preds = %1370, %1362
  %1372 = phi i1 [ true, %1362 ], [ false, %1370 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #14
  %1373 = load ptr, ptr %111, align 8, !tbaa !9
  %1374 = load double, ptr %1373, align 8, !tbaa !34
  store double %1374, ptr %112, align 8, !tbaa !34
  %1375 = load double, ptr %112, align 8, !tbaa !34
  %1376 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1375)
  br i1 %1376, label %1377, label %1379

1377:                                             ; preds = %1371
  call void @LogAssertFailure(i64 noundef 2982, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.55)
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str, i32 noundef 2982, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1378:                                             ; No predecessors!
  br label %1379

1379:                                             ; preds = %1378, %1371
  %1380 = phi i1 [ true, %1371 ], [ false, %1378 ]
  %1381 = load double, ptr %112, align 8, !tbaa !34
  %1382 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1381)
  br i1 %1382, label %1383, label %1385

1383:                                             ; preds = %1379
  call void @LogAssertFailure(i64 noundef 2983, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.57)
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str, i32 noundef 2983, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1384:                                             ; No predecessors!
  br label %1385

1385:                                             ; preds = %1384, %1379
  %1386 = phi i1 [ true, %1379 ], [ false, %1384 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #14
  %1387 = load ptr, ptr %111, align 8, !tbaa !9
  %1388 = getelementptr inbounds double, ptr %1387, i64 -1
  %1389 = load double, ptr %1388, align 8, !tbaa !34
  store double %1389, ptr %113, align 8, !tbaa !34
  %1390 = load double, ptr %113, align 8, !tbaa !34
  %1391 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1390)
  br i1 %1391, label %1392, label %1394

1392:                                             ; preds = %1385
  call void @LogAssertFailure(i64 noundef 2985, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.59)
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str, i32 noundef 2985, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1393:                                             ; No predecessors!
  br label %1394

1394:                                             ; preds = %1393, %1385
  %1395 = phi i1 [ true, %1385 ], [ false, %1393 ]
  %1396 = load double, ptr %113, align 8, !tbaa !34
  %1397 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1396)
  br i1 %1397, label %1398, label %1400

1398:                                             ; preds = %1394
  call void @LogAssertFailure(i64 noundef 2986, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.61)
  call void @__assert_fail(ptr noundef @.str.62, ptr noundef @.str, i32 noundef 2986, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1399:                                             ; No predecessors!
  br label %1400

1400:                                             ; preds = %1399, %1394
  %1401 = phi i1 [ true, %1394 ], [ false, %1399 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %114) #14
  %1402 = load double, ptr %113, align 8, !tbaa !34
  %1403 = load double, ptr %112, align 8, !tbaa !34
  %1404 = call noundef double @_ZN14NAMESPACE_MAIN14ArithmeticMeanEdd(double noundef %1402, double noundef %1403) #14
  store double %1404, ptr %114, align 8, !tbaa !34
  %1405 = load ptr, ptr %13, align 8, !tbaa !9
  %1406 = load ptr, ptr %109, align 8, !tbaa !9
  %1407 = icmp eq ptr %1405, %1406
  br i1 %1407, label %1416, label %1408

1408:                                             ; preds = %1400
  %1409 = load ptr, ptr %109, align 8, !tbaa !9
  %1410 = getelementptr inbounds double, ptr %1409, i64 -1
  %1411 = load double, ptr %1410, align 8, !tbaa !34
  %1412 = load double, ptr %114, align 8, !tbaa !34
  %1413 = fcmp olt double %1411, %1412
  br i1 %1413, label %1416, label %1414

1414:                                             ; preds = %1408
  call void @LogAssertFailure(i64 noundef 2989, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.63)
  call void @__assert_fail(ptr noundef @.str.64, ptr noundef @.str, i32 noundef 2989, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1415:                                             ; No predecessors!
  br label %1416

1416:                                             ; preds = %1415, %1408, %1400
  %1417 = phi i1 [ true, %1408 ], [ true, %1400 ], [ false, %1415 ]
  %1418 = load double, ptr %114, align 8, !tbaa !34
  %1419 = load ptr, ptr %109, align 8, !tbaa !9
  store double %1418, ptr %1419, align 8, !tbaa !34
  %1420 = load ptr, ptr %109, align 8, !tbaa !9
  %1421 = getelementptr inbounds double, ptr %1420, i32 1
  store ptr %1421, ptr %109, align 8, !tbaa !9
  %1422 = load ptr, ptr %110, align 8, !tbaa !9
  %1423 = getelementptr inbounds ptr, ptr %1422, i32 1
  store ptr %1423, ptr %110, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %111) #14
  br label %1424

1424:                                             ; preds = %1416
  %1425 = load ptr, ptr %70, align 8, !tbaa !9
  %1426 = load ptr, ptr %110, align 8, !tbaa !9
  %1427 = icmp ne ptr %1425, %1426
  br i1 %1427, label %1354, label %1428, !llvm.loop !35

1428:                                             ; preds = %1424
  br label %1767

1429:                                             ; preds = %1346
  br label %1430

1430:                                             ; preds = %1500, %1429
  call void @llvm.lifetime.start.p0(i64 8, ptr %115) #14
  %1431 = load ptr, ptr %110, align 8, !tbaa !9
  %1432 = load ptr, ptr %1431, align 8, !tbaa !9
  store ptr %1432, ptr %115, align 8, !tbaa !9
  %1433 = load ptr, ptr %30, align 8, !tbaa !9
  %1434 = load ptr, ptr %115, align 8, !tbaa !9
  %1435 = icmp ult ptr %1433, %1434
  br i1 %1435, label %1438, label %1436

1436:                                             ; preds = %1430
  call void @LogAssertFailure(i64 noundef 2997, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.29)
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str, i32 noundef 2997, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1437:                                             ; No predecessors!
  br label %1438

1438:                                             ; preds = %1437, %1430
  %1439 = phi i1 [ true, %1430 ], [ false, %1437 ]
  %1440 = load ptr, ptr %115, align 8, !tbaa !9
  %1441 = load ptr, ptr %30, align 8, !tbaa !9
  %1442 = load i64, ptr %32, align 8, !tbaa !5
  %1443 = getelementptr inbounds double, ptr %1441, i64 %1442
  %1444 = icmp ult ptr %1440, %1443
  br i1 %1444, label %1447, label %1445

1445:                                             ; preds = %1438
  call void @LogAssertFailure(i64 noundef 2998, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.53)
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str, i32 noundef 2998, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1446:                                             ; No predecessors!
  br label %1447

1447:                                             ; preds = %1446, %1438
  %1448 = phi i1 [ true, %1438 ], [ false, %1446 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %116) #14
  %1449 = load ptr, ptr %115, align 8, !tbaa !9
  %1450 = load double, ptr %1449, align 8, !tbaa !34
  store double %1450, ptr %116, align 8, !tbaa !34
  %1451 = load double, ptr %116, align 8, !tbaa !34
  %1452 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1451)
  br i1 %1452, label %1453, label %1455

1453:                                             ; preds = %1447
  call void @LogAssertFailure(i64 noundef 3000, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.55)
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str, i32 noundef 3000, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1454:                                             ; No predecessors!
  br label %1455

1455:                                             ; preds = %1454, %1447
  %1456 = phi i1 [ true, %1447 ], [ false, %1454 ]
  %1457 = load double, ptr %116, align 8, !tbaa !34
  %1458 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1457)
  br i1 %1458, label %1459, label %1461

1459:                                             ; preds = %1455
  call void @LogAssertFailure(i64 noundef 3001, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.57)
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str, i32 noundef 3001, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1460:                                             ; No predecessors!
  br label %1461

1461:                                             ; preds = %1460, %1455
  %1462 = phi i1 [ true, %1455 ], [ false, %1460 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %117) #14
  %1463 = load ptr, ptr %115, align 8, !tbaa !9
  %1464 = getelementptr inbounds double, ptr %1463, i64 -1
  %1465 = load double, ptr %1464, align 8, !tbaa !34
  store double %1465, ptr %117, align 8, !tbaa !34
  %1466 = load double, ptr %117, align 8, !tbaa !34
  %1467 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1466)
  br i1 %1467, label %1468, label %1470

1468:                                             ; preds = %1461
  call void @LogAssertFailure(i64 noundef 3003, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.59)
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str, i32 noundef 3003, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1469:                                             ; No predecessors!
  br label %1470

1470:                                             ; preds = %1469, %1461
  %1471 = phi i1 [ true, %1461 ], [ false, %1469 ]
  %1472 = load double, ptr %117, align 8, !tbaa !34
  %1473 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1472)
  br i1 %1473, label %1474, label %1476

1474:                                             ; preds = %1470
  call void @LogAssertFailure(i64 noundef 3004, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.61)
  call void @__assert_fail(ptr noundef @.str.62, ptr noundef @.str, i32 noundef 3004, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1475:                                             ; No predecessors!
  br label %1476

1476:                                             ; preds = %1475, %1470
  %1477 = phi i1 [ true, %1470 ], [ false, %1475 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %118) #14
  %1478 = load double, ptr %117, align 8, !tbaa !34
  %1479 = load double, ptr %116, align 8, !tbaa !34
  %1480 = call noundef double @_ZN14NAMESPACE_MAIN29GetInterpretableCutPointFloatEdd(double noundef %1478, double noundef %1479) #14
  store double %1480, ptr %118, align 8, !tbaa !34
  %1481 = load ptr, ptr %13, align 8, !tbaa !9
  %1482 = load ptr, ptr %109, align 8, !tbaa !9
  %1483 = icmp eq ptr %1481, %1482
  br i1 %1483, label %1492, label %1484

1484:                                             ; preds = %1476
  %1485 = load ptr, ptr %109, align 8, !tbaa !9
  %1486 = getelementptr inbounds double, ptr %1485, i64 -1
  %1487 = load double, ptr %1486, align 8, !tbaa !34
  %1488 = load double, ptr %118, align 8, !tbaa !34
  %1489 = fcmp olt double %1487, %1488
  br i1 %1489, label %1492, label %1490

1490:                                             ; preds = %1484
  call void @LogAssertFailure(i64 noundef 3007, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.63)
  call void @__assert_fail(ptr noundef @.str.64, ptr noundef @.str, i32 noundef 3007, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1491:                                             ; No predecessors!
  br label %1492

1492:                                             ; preds = %1491, %1484, %1476
  %1493 = phi i1 [ true, %1484 ], [ true, %1476 ], [ false, %1491 ]
  %1494 = load double, ptr %118, align 8, !tbaa !34
  %1495 = load ptr, ptr %109, align 8, !tbaa !9
  store double %1494, ptr %1495, align 8, !tbaa !34
  %1496 = load ptr, ptr %109, align 8, !tbaa !9
  %1497 = getelementptr inbounds double, ptr %1496, i32 1
  store ptr %1497, ptr %109, align 8, !tbaa !9
  %1498 = load ptr, ptr %110, align 8, !tbaa !9
  %1499 = getelementptr inbounds ptr, ptr %1498, i32 1
  store ptr %1499, ptr %110, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %118) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %117) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #14
  br label %1500

1500:                                             ; preds = %1492
  %1501 = load ptr, ptr %70, align 8, !tbaa !9
  %1502 = load ptr, ptr %110, align 8, !tbaa !9
  %1503 = icmp ne ptr %1501, %1502
  br i1 %1503, label %1430, label %1504, !llvm.loop !36

1504:                                             ; preds = %1500
  %1505 = load i64, ptr %108, align 8, !tbaa !5
  %1506 = icmp ule i64 3, %1505
  %1507 = xor i1 %1506, true
  %1508 = xor i1 %1507, true
  %1509 = zext i1 %1508 to i64
  %1510 = call i64 @llvm.expect.i64(i64 %1509, i64 1)
  %1511 = icmp ne i64 %1510, 0
  br i1 %1511, label %1512, label %1766

1512:                                             ; preds = %1504
  call void @llvm.lifetime.start.p0(i64 8, ptr %119) #14
  %1513 = load ptr, ptr %70, align 8, !tbaa !9
  %1514 = getelementptr inbounds ptr, ptr %1513, i64 -1
  %1515 = load ptr, ptr %1514, align 8, !tbaa !9
  store ptr %1515, ptr %119, align 8, !tbaa !9
  %1516 = load ptr, ptr %30, align 8, !tbaa !9
  %1517 = getelementptr inbounds double, ptr %1516, i64 2
  %1518 = load ptr, ptr %119, align 8, !tbaa !9
  %1519 = icmp ult ptr %1517, %1518
  br i1 %1519, label %1522, label %1520

1520:                                             ; preds = %1512
  call void @LogAssertFailure(i64 noundef 3081, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.65)
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str, i32 noundef 3081, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1521:                                             ; No predecessors!
  br label %1522

1522:                                             ; preds = %1521, %1512
  %1523 = phi i1 [ true, %1512 ], [ false, %1521 ]
  %1524 = load ptr, ptr %119, align 8, !tbaa !9
  %1525 = load ptr, ptr %30, align 8, !tbaa !9
  %1526 = load i64, ptr %32, align 8, !tbaa !5
  %1527 = getelementptr inbounds double, ptr %1525, i64 %1526
  %1528 = icmp ult ptr %1524, %1527
  br i1 %1528, label %1531, label %1529

1529:                                             ; preds = %1522
  call void @LogAssertFailure(i64 noundef 3082, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.67)
  call void @__assert_fail(ptr noundef @.str.68, ptr noundef @.str, i32 noundef 3082, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1530:                                             ; No predecessors!
  br label %1531

1531:                                             ; preds = %1530, %1522
  %1532 = phi i1 [ true, %1522 ], [ false, %1530 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %120) #14
  %1533 = load ptr, ptr %119, align 8, !tbaa !9
  %1534 = getelementptr inbounds double, ptr %1533, i64 -1
  store ptr %1534, ptr %120, align 8, !tbaa !9
  %1535 = load ptr, ptr %30, align 8, !tbaa !9
  %1536 = getelementptr inbounds double, ptr %1535, i64 1
  %1537 = load ptr, ptr %120, align 8, !tbaa !9
  %1538 = icmp ult ptr %1536, %1537
  br i1 %1538, label %1541, label %1539

1539:                                             ; preds = %1531
  call void @LogAssertFailure(i64 noundef 3084, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.69)
  call void @__assert_fail(ptr noundef @.str.70, ptr noundef @.str, i32 noundef 3084, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1540:                                             ; No predecessors!
  br label %1541

1541:                                             ; preds = %1540, %1531
  %1542 = phi i1 [ true, %1531 ], [ false, %1540 ]
  %1543 = load ptr, ptr %120, align 8, !tbaa !9
  %1544 = load ptr, ptr %30, align 8, !tbaa !9
  %1545 = load i64, ptr %32, align 8, !tbaa !5
  %1546 = getelementptr inbounds double, ptr %1544, i64 %1545
  %1547 = getelementptr inbounds double, ptr %1546, i64 -1
  %1548 = icmp ult ptr %1543, %1547
  br i1 %1548, label %1551, label %1549

1549:                                             ; preds = %1541
  call void @LogAssertFailure(i64 noundef 3085, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.71)
  call void @__assert_fail(ptr noundef @.str.72, ptr noundef @.str, i32 noundef 3085, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1550:                                             ; No predecessors!
  br label %1551

1551:                                             ; preds = %1550, %1541
  %1552 = phi i1 [ true, %1541 ], [ false, %1550 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %121) #14
  %1553 = load ptr, ptr %120, align 8, !tbaa !9
  %1554 = load double, ptr %1553, align 8, !tbaa !34
  store double %1554, ptr %121, align 8, !tbaa !34
  %1555 = load double, ptr %121, align 8, !tbaa !34
  %1556 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1555)
  br i1 %1556, label %1557, label %1559

1557:                                             ; preds = %1551
  call void @LogAssertFailure(i64 noundef 3087, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.73)
  call void @__assert_fail(ptr noundef @.str.74, ptr noundef @.str, i32 noundef 3087, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1558:                                             ; No predecessors!
  br label %1559

1559:                                             ; preds = %1558, %1551
  %1560 = phi i1 [ true, %1551 ], [ false, %1558 ]
  %1561 = load double, ptr %121, align 8, !tbaa !34
  %1562 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1561)
  br i1 %1562, label %1563, label %1565

1563:                                             ; preds = %1559
  call void @LogAssertFailure(i64 noundef 3088, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.75)
  call void @__assert_fail(ptr noundef @.str.76, ptr noundef @.str, i32 noundef 3088, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1564:                                             ; No predecessors!
  br label %1565

1565:                                             ; preds = %1564, %1559
  %1566 = phi i1 [ true, %1559 ], [ false, %1564 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %122) #14
  %1567 = load ptr, ptr %65, align 8, !tbaa !9
  %1568 = load ptr, ptr %1567, align 8, !tbaa !9
  store ptr %1568, ptr %122, align 8, !tbaa !9
  %1569 = load ptr, ptr %30, align 8, !tbaa !9
  %1570 = load ptr, ptr %122, align 8, !tbaa !9
  %1571 = icmp ult ptr %1569, %1570
  br i1 %1571, label %1574, label %1572

1572:                                             ; preds = %1565
  call void @LogAssertFailure(i64 noundef 3090, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.77)
  call void @__assert_fail(ptr noundef @.str.78, ptr noundef @.str, i32 noundef 3090, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1573:                                             ; No predecessors!
  br label %1574

1574:                                             ; preds = %1573, %1565
  %1575 = phi i1 [ true, %1565 ], [ false, %1573 ]
  %1576 = load ptr, ptr %122, align 8, !tbaa !9
  %1577 = load ptr, ptr %30, align 8, !tbaa !9
  %1578 = load i64, ptr %32, align 8, !tbaa !5
  %1579 = getelementptr inbounds double, ptr %1577, i64 %1578
  %1580 = getelementptr inbounds double, ptr %1579, i64 -2
  %1581 = icmp ult ptr %1576, %1580
  br i1 %1581, label %1584, label %1582

1582:                                             ; preds = %1574
  call void @LogAssertFailure(i64 noundef 3091, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.79)
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str, i32 noundef 3091, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1583:                                             ; No predecessors!
  br label %1584

1584:                                             ; preds = %1583, %1574
  %1585 = phi i1 [ true, %1574 ], [ false, %1583 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %123) #14
  %1586 = load ptr, ptr %122, align 8, !tbaa !9
  %1587 = load double, ptr %1586, align 8, !tbaa !34
  store double %1587, ptr %123, align 8, !tbaa !34
  %1588 = load double, ptr %123, align 8, !tbaa !34
  %1589 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1588)
  br i1 %1589, label %1590, label %1592

1590:                                             ; preds = %1584
  call void @LogAssertFailure(i64 noundef 3093, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.81)
  call void @__assert_fail(ptr noundef @.str.82, ptr noundef @.str, i32 noundef 3093, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1591:                                             ; No predecessors!
  br label %1592

1592:                                             ; preds = %1591, %1584
  %1593 = phi i1 [ true, %1584 ], [ false, %1591 ]
  %1594 = load double, ptr %123, align 8, !tbaa !34
  %1595 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1594)
  br i1 %1595, label %1596, label %1598

1596:                                             ; preds = %1592
  call void @LogAssertFailure(i64 noundef 3094, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.83)
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str, i32 noundef 3094, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1597:                                             ; No predecessors!
  br label %1598

1598:                                             ; preds = %1597, %1592
  %1599 = phi i1 [ true, %1592 ], [ false, %1597 ]
  %1600 = load double, ptr %123, align 8, !tbaa !34
  %1601 = load double, ptr %121, align 8, !tbaa !34
  %1602 = fcmp olt double %1600, %1601
  br i1 %1602, label %1605, label %1603

1603:                                             ; preds = %1598
  call void @LogAssertFailure(i64 noundef 3095, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.85)
  call void @__assert_fail(ptr noundef @.str.86, ptr noundef @.str, i32 noundef 3095, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1604:                                             ; No predecessors!
  br label %1605

1605:                                             ; preds = %1604, %1598
  %1606 = phi i1 [ true, %1598 ], [ false, %1604 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %124) #14
  %1607 = load double, ptr %121, align 8, !tbaa !34
  %1608 = load double, ptr %123, align 8, !tbaa !34
  %1609 = fsub double %1607, %1608
  store double %1609, ptr %124, align 8, !tbaa !34
  %1610 = load double, ptr %124, align 8, !tbaa !34
  %1611 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1610)
  br i1 %1611, label %1612, label %1614

1612:                                             ; preds = %1605
  call void @LogAssertFailure(i64 noundef 3101, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.87)
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str, i32 noundef 3101, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1613:                                             ; No predecessors!
  br label %1614

1614:                                             ; preds = %1613, %1605
  %1615 = phi i1 [ true, %1605 ], [ false, %1613 ]
  %1616 = load double, ptr %124, align 8, !tbaa !34
  %1617 = fcmp olt double 0.000000e+00, %1616
  br i1 %1617, label %1620, label %1618

1618:                                             ; preds = %1614
  call void @LogAssertFailure(i64 noundef 3103, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.89)
  call void @__assert_fail(ptr noundef @.str.90, ptr noundef @.str, i32 noundef 3103, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1619:                                             ; No predecessors!
  br label %1620

1620:                                             ; preds = %1619, %1614
  %1621 = phi i1 [ true, %1614 ], [ false, %1619 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %125) #14
  %1622 = load i64, ptr %108, align 8, !tbaa !5
  %1623 = icmp ult i64 32, %1622
  br i1 %1623, label %1624, label %1625

1624:                                             ; preds = %1620
  br label %1627

1625:                                             ; preds = %1620
  %1626 = load i64, ptr %108, align 8, !tbaa !5
  br label %1627

1627:                                             ; preds = %1625, %1624
  %1628 = phi i64 [ 32, %1624 ], [ %1626, %1625 ]
  store i64 %1628, ptr %125, align 8, !tbaa !5
  %1629 = load i64, ptr %33, align 8, !tbaa !5
  %1630 = icmp sle i64 3, %1629
  br i1 %1630, label %1633, label %1631

1631:                                             ; preds = %1627
  call void @LogAssertFailure(i64 noundef 3118, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.91)
  call void @__assert_fail(ptr noundef @.str.92, ptr noundef @.str, i32 noundef 3118, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1632:                                             ; No predecessors!
  br label %1633

1633:                                             ; preds = %1632, %1627
  %1634 = phi i1 [ true, %1627 ], [ false, %1632 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %126) #14
  %1635 = load i64, ptr %125, align 8, !tbaa !5
  %1636 = sub i64 %1635, 2
  %1637 = shl i64 %1636, 1
  store i64 %1637, ptr %126, align 8, !tbaa !5
  %1638 = load i64, ptr %126, align 8, !tbaa !5
  %1639 = icmp ult i64 0, %1638
  br i1 %1639, label %1642, label %1640

1640:                                             ; preds = %1633
  call void @LogAssertFailure(i64 noundef 3120, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.93)
  call void @__assert_fail(ptr noundef @.str.94, ptr noundef @.str, i32 noundef 3120, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1641:                                             ; No predecessors!
  br label %1642

1642:                                             ; preds = %1641, %1633
  %1643 = phi i1 [ true, %1633 ], [ false, %1641 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %127) #14
  %1644 = load double, ptr %124, align 8, !tbaa !34
  %1645 = load i64, ptr %126, align 8, !tbaa !5
  %1646 = uitofp i64 %1645 to double
  %1647 = fdiv double %1644, %1646
  store double %1647, ptr %127, align 8, !tbaa !34
  %1648 = load double, ptr %127, align 8, !tbaa !34
  %1649 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1648)
  br i1 %1649, label %1650, label %1652

1650:                                             ; preds = %1642
  call void @LogAssertFailure(i64 noundef 3123, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.95)
  call void @__assert_fail(ptr noundef @.str.96, ptr noundef @.str, i32 noundef 3123, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1651:                                             ; No predecessors!
  br label %1652

1652:                                             ; preds = %1651, %1642
  %1653 = phi i1 [ true, %1642 ], [ false, %1651 ]
  %1654 = load double, ptr %127, align 8, !tbaa !34
  %1655 = fcmp ole double 0.000000e+00, %1654
  br i1 %1655, label %1658, label %1656

1656:                                             ; preds = %1652
  call void @LogAssertFailure(i64 noundef 3124, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.97)
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str, i32 noundef 3124, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1657:                                             ; No predecessors!
  br label %1658

1658:                                             ; preds = %1657, %1652
  %1659 = phi i1 [ true, %1652 ], [ false, %1657 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %128) #14
  %1660 = load double, ptr %123, align 8, !tbaa !34
  %1661 = load double, ptr %127, align 8, !tbaa !34
  %1662 = fsub double %1660, %1661
  store double %1662, ptr %128, align 8, !tbaa !34
  %1663 = load double, ptr %128, align 8, !tbaa !34
  %1664 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1663)
  br i1 %1664, label %1665, label %1667

1665:                                             ; preds = %1658
  call void @LogAssertFailure(i64 noundef 3128, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.99)
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str, i32 noundef 3128, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1666:                                             ; No predecessors!
  br label %1667

1667:                                             ; preds = %1666, %1658
  %1668 = phi i1 [ true, %1658 ], [ false, %1666 ]
  %1669 = load double, ptr %128, align 8, !tbaa !34
  %1670 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #14
  %1671 = fcmp olt double %1669, %1670
  br i1 %1671, label %1674, label %1672

1672:                                             ; preds = %1667
  call void @LogAssertFailure(i64 noundef 3129, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.101)
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str, i32 noundef 3129, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1673:                                             ; No predecessors!
  br label %1674

1674:                                             ; preds = %1673, %1667
  %1675 = phi i1 [ true, %1667 ], [ false, %1673 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %129) #14
  %1676 = load double, ptr %128, align 8, !tbaa !34
  %1677 = load double, ptr %127, align 8, !tbaa !34
  %1678 = call noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %1676, double noundef %1677) #14
  store double %1678, ptr %129, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %130) #14
  %1679 = load ptr, ptr %13, align 8, !tbaa !9
  %1680 = load double, ptr %1679, align 8, !tbaa !34
  store double %1680, ptr %130, align 8, !tbaa !34
  %1681 = load double, ptr %130, align 8, !tbaa !34
  %1682 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1681)
  br i1 %1682, label %1683, label %1685

1683:                                             ; preds = %1674
  call void @LogAssertFailure(i64 noundef 3135, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.103)
  call void @__assert_fail(ptr noundef @.str.104, ptr noundef @.str, i32 noundef 3135, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1684:                                             ; No predecessors!
  br label %1685

1685:                                             ; preds = %1684, %1674
  %1686 = phi i1 [ true, %1674 ], [ false, %1684 ]
  %1687 = load double, ptr %130, align 8, !tbaa !34
  %1688 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1687)
  br i1 %1688, label %1689, label %1691

1689:                                             ; preds = %1685
  call void @LogAssertFailure(i64 noundef 3136, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.105)
  call void @__assert_fail(ptr noundef @.str.106, ptr noundef @.str, i32 noundef 3136, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1690:                                             ; No predecessors!
  br label %1691

1691:                                             ; preds = %1690, %1685
  %1692 = phi i1 [ true, %1685 ], [ false, %1690 ]
  %1693 = load double, ptr %130, align 8, !tbaa !34
  %1694 = load double, ptr %129, align 8, !tbaa !34
  %1695 = fcmp olt double %1693, %1694
  br i1 %1695, label %1696, label %1711

1696:                                             ; preds = %1691
  %1697 = load double, ptr %129, align 8, !tbaa !34
  %1698 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1697)
  br i1 %1698, label %1699, label %1701

1699:                                             ; preds = %1696
  call void @LogAssertFailure(i64 noundef 3140, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.107)
  call void @__assert_fail(ptr noundef @.str.108, ptr noundef @.str, i32 noundef 3140, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1700:                                             ; No predecessors!
  br label %1701

1701:                                             ; preds = %1700, %1696
  %1702 = phi i1 [ true, %1696 ], [ false, %1700 ]
  %1703 = load double, ptr %129, align 8, !tbaa !34
  %1704 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1703)
  br i1 %1704, label %1705, label %1707

1705:                                             ; preds = %1701
  call void @LogAssertFailure(i64 noundef 3141, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.109)
  call void @__assert_fail(ptr noundef @.str.110, ptr noundef @.str, i32 noundef 3141, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1706:                                             ; No predecessors!
  br label %1707

1707:                                             ; preds = %1706, %1701
  %1708 = phi i1 [ true, %1701 ], [ false, %1706 ]
  %1709 = load double, ptr %129, align 8, !tbaa !34
  %1710 = load ptr, ptr %13, align 8, !tbaa !9
  store double %1709, ptr %1710, align 8, !tbaa !34
  br label %1711

1711:                                             ; preds = %1707, %1691
  call void @llvm.lifetime.start.p0(i64 8, ptr %131) #14
  %1712 = load double, ptr %121, align 8, !tbaa !34
  %1713 = load double, ptr %127, align 8, !tbaa !34
  %1714 = fadd double %1712, %1713
  store double %1714, ptr %131, align 8, !tbaa !34
  %1715 = load double, ptr %131, align 8, !tbaa !34
  %1716 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1715)
  br i1 %1716, label %1717, label %1719

1717:                                             ; preds = %1711
  call void @LogAssertFailure(i64 noundef 3147, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.111)
  call void @__assert_fail(ptr noundef @.str.112, ptr noundef @.str, i32 noundef 3147, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1718:                                             ; No predecessors!
  br label %1719

1719:                                             ; preds = %1718, %1711
  %1720 = phi i1 [ true, %1711 ], [ false, %1718 ]
  %1721 = call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #14
  %1722 = load double, ptr %131, align 8, !tbaa !34
  %1723 = fcmp olt double %1721, %1722
  br i1 %1723, label %1726, label %1724

1724:                                             ; preds = %1719
  call void @LogAssertFailure(i64 noundef 3148, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.113)
  call void @__assert_fail(ptr noundef @.str.114, ptr noundef @.str, i32 noundef 3148, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1725:                                             ; No predecessors!
  br label %1726

1726:                                             ; preds = %1725, %1719
  %1727 = phi i1 [ true, %1719 ], [ false, %1725 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %132) #14
  %1728 = load double, ptr %131, align 8, !tbaa !34
  %1729 = load double, ptr %127, align 8, !tbaa !34
  %1730 = call noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %1728, double noundef %1729) #14
  store double %1730, ptr %132, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %133) #14
  %1731 = load ptr, ptr %109, align 8, !tbaa !9
  %1732 = getelementptr inbounds double, ptr %1731, i64 -1
  %1733 = load double, ptr %1732, align 8, !tbaa !34
  store double %1733, ptr %133, align 8, !tbaa !34
  %1734 = load double, ptr %133, align 8, !tbaa !34
  %1735 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1734)
  br i1 %1735, label %1736, label %1738

1736:                                             ; preds = %1726
  call void @LogAssertFailure(i64 noundef 3154, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.115)
  call void @__assert_fail(ptr noundef @.str.116, ptr noundef @.str, i32 noundef 3154, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1737:                                             ; No predecessors!
  br label %1738

1738:                                             ; preds = %1737, %1726
  %1739 = phi i1 [ true, %1726 ], [ false, %1737 ]
  %1740 = load double, ptr %133, align 8, !tbaa !34
  %1741 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1740)
  br i1 %1741, label %1742, label %1744

1742:                                             ; preds = %1738
  call void @LogAssertFailure(i64 noundef 3155, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.117)
  call void @__assert_fail(ptr noundef @.str.118, ptr noundef @.str, i32 noundef 3155, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1743:                                             ; No predecessors!
  br label %1744

1744:                                             ; preds = %1743, %1738
  %1745 = phi i1 [ true, %1738 ], [ false, %1743 ]
  %1746 = load double, ptr %132, align 8, !tbaa !34
  %1747 = load double, ptr %133, align 8, !tbaa !34
  %1748 = fcmp olt double %1746, %1747
  br i1 %1748, label %1749, label %1765

1749:                                             ; preds = %1744
  %1750 = load double, ptr %132, align 8, !tbaa !34
  %1751 = call noundef zeroext i1 @_ZSt5isnand(double noundef %1750)
  br i1 %1751, label %1752, label %1754

1752:                                             ; preds = %1749
  call void @LogAssertFailure(i64 noundef 3159, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.119)
  call void @__assert_fail(ptr noundef @.str.120, ptr noundef @.str, i32 noundef 3159, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1753:                                             ; No predecessors!
  br label %1754

1754:                                             ; preds = %1753, %1749
  %1755 = phi i1 [ true, %1749 ], [ false, %1753 ]
  %1756 = load double, ptr %132, align 8, !tbaa !34
  %1757 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %1756)
  br i1 %1757, label %1758, label %1760

1758:                                             ; preds = %1754
  call void @LogAssertFailure(i64 noundef 3160, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.121)
  call void @__assert_fail(ptr noundef @.str.122, ptr noundef @.str, i32 noundef 3160, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1759:                                             ; No predecessors!
  br label %1760

1760:                                             ; preds = %1759, %1754
  %1761 = phi i1 [ true, %1754 ], [ false, %1759 ]
  %1762 = load double, ptr %132, align 8, !tbaa !34
  %1763 = load ptr, ptr %109, align 8, !tbaa !9
  %1764 = getelementptr inbounds double, ptr %1763, i64 -1
  store double %1762, ptr %1764, align 8, !tbaa !34
  br label %1765

1765:                                             ; preds = %1760, %1744
  call void @llvm.lifetime.end.p0(i64 8, ptr %133) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %132) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %131) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %130) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %129) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %128) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %127) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %125) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %123) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %122) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %121) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %120) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #14
  br label %1766

1766:                                             ; preds = %1765, %1504
  br label %1767

1767:                                             ; preds = %1766, %1428
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #14
  br label %1768

1768:                                             ; preds = %1767, %1331
  %1769 = load i64, ptr %108, align 8, !tbaa !5
  store i64 %1769, ptr %22, align 8, !tbaa !5
  %1770 = load i64, ptr %22, align 8, !tbaa !5
  %1771 = load i64, ptr %33, align 8, !tbaa !5
  %1772 = icmp sle i64 %1770, %1771
  br i1 %1772, label %1775, label %1773

1773:                                             ; preds = %1768
  call void @LogAssertFailure(i64 noundef 3170, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.123)
  call void @__assert_fail(ptr noundef @.str.124, ptr noundef @.str, i32 noundef 3170, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1774:                                             ; No predecessors!
  br label %1775

1775:                                             ; preds = %1774, %1768
  %1776 = phi i1 [ true, %1768 ], [ false, %1774 ]
  %1777 = load ptr, ptr %62, align 8, !tbaa !9
  call void @free(ptr noundef %1777) #14
  %1778 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %1778) #14
  store i32 0, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #14
  store i32 0, ptr %20, align 4
  br label %1779

1779:                                             ; preds = %1775, %1321, %1311, %1278
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #14
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #14
  br label %1780

1780:                                             ; preds = %1779, %655
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #14
  br label %1781

1781:                                             ; preds = %1780, %633
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #14
  br label %1782

1782:                                             ; preds = %1781, %612
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #14
  br label %1783

1783:                                             ; preds = %1782, %591
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #14
  br label %1784

1784:                                             ; preds = %1783, %569
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #14
  br label %1785

1785:                                             ; preds = %1784, %550
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #14
  br label %1786

1786:                                             ; preds = %1785, %513, %496
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #14
  br label %1787

1787:                                             ; preds = %1786, %451
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #14
  br label %1788

1788:                                             ; preds = %1787, %386, %352, %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #14
  br label %1789

1789:                                             ; preds = %1788, %301
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #14
  br label %1790

1790:                                             ; preds = %1789, %279
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #14
  br label %1791

1791:                                             ; preds = %1790, %259
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #14
  %1792 = load i32, ptr %20, align 4
  switch i32 %1792, label %1839 [
    i32 0, label %1793
    i32 12, label %1796
  ]

1793:                                             ; preds = %1791
  br label %1795

1794:                                             ; preds = %1324, %1314
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #14
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #14
  br label %1841

1795:                                             ; preds = %1793, %215
  br label %1796

1796:                                             ; preds = %1795, %1791, %247, %231
  %1797 = load ptr, ptr %12, align 8, !tbaa !9
  %1798 = icmp ne ptr null, %1797
  br i1 %1798, label %1801, label %1799

1799:                                             ; preds = %1796
  call void @LogAssertFailure(i64 noundef 3180, ptr noundef @.str, ptr noundef @__func__.CutQuantile, ptr noundef @.str.3)
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str, i32 noundef 3180, ptr noundef @__PRETTY_FUNCTION__.CutQuantile) #16
  unreachable

1800:                                             ; No predecessors!
  br label %1801

1801:                                             ; preds = %1800, %1796
  %1802 = phi i1 [ true, %1796 ], [ false, %1800 ]
  %1803 = load i64, ptr %22, align 8, !tbaa !5
  %1804 = load ptr, ptr %12, align 8, !tbaa !9
  store i64 %1803, ptr %1804, align 8, !tbaa !5
  br label %1805

1805:                                             ; preds = %1801, %190
  br label %1806

1806:                                             ; preds = %1805
  call void @llvm.lifetime.start.p0(i64 4, ptr %134) #14
  store i32 3, ptr %134, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %135) #14
  store i32 4, ptr %135, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %136) #14
  %1807 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  store i32 %1807, ptr %136, align 4, !tbaa !11
  %1808 = load i32, ptr %136, align 4, !tbaa !11
  %1809 = icmp sle i32 3, %1808
  br i1 %1809, label %1810, label %1835

1810:                                             ; preds = %1806
  br label %1811

1811:                                             ; preds = %1810
  call void @llvm.lifetime.start.p0(i64 4, ptr %137) #14
  %1812 = load i32, ptr %136, align 4, !tbaa !11
  %1813 = icmp slt i32 %1812, 4
  br i1 %1813, label %1814, label %1825

1814:                                             ; preds = %1811
  call void @llvm.lifetime.start.p0(i64 8, ptr %138) #14
  store ptr @_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE, ptr %138, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %139) #14
  %1815 = load i32, ptr @_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE, align 4, !tbaa !11
  %1816 = sub nsw i32 %1815, 1
  store i32 %1816, ptr %139, align 4, !tbaa !11
  %1817 = load i32, ptr %139, align 4, !tbaa !11
  %1818 = icmp slt i32 %1817, 0
  br i1 %1818, label %1819, label %1820

1819:                                             ; preds = %1814
  store i32 55, ptr %20, align 4
  br label %1822

1820:                                             ; preds = %1814
  %1821 = load i32, ptr %139, align 4, !tbaa !11
  store i32 %1821, ptr @_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE, align 4, !tbaa !11
  store i32 3, ptr %137, align 4, !tbaa !11
  store i32 0, ptr %20, align 4
  br label %1822

1822:                                             ; preds = %1820, %1819
  call void @llvm.lifetime.end.p0(i64 4, ptr %139) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %138) #14
  %1823 = load i32, ptr %20, align 4
  switch i32 %1823, label %1830 [
    i32 0, label %1824
  ]

1824:                                             ; preds = %1822
  br label %1826

1825:                                             ; preds = %1811
  store i32 4, ptr %137, align 4, !tbaa !11
  br label %1826

1826:                                             ; preds = %1825, %1824
  %1827 = load i32, ptr %137, align 4, !tbaa !11
  %1828 = load i64, ptr %22, align 8, !tbaa !5
  %1829 = load i32, ptr %21, align 4, !tbaa !11
  call void (i32, ptr, ...) @InteralLogWithArguments(i32 noundef %1827, ptr noundef @_ZZ11CutQuantileE13LOG__sMessage__19_, i64 noundef %1828, i32 noundef %1829)
  store i32 0, ptr %20, align 4
  br label %1830

1830:                                             ; preds = %1826, %1822
  call void @llvm.lifetime.end.p0(i64 4, ptr %137) #14
  %1831 = load i32, ptr %20, align 4
  switch i32 %1831, label %1849 [
    i32 0, label %1832
    i32 55, label %1834
  ]

1832:                                             ; preds = %1830
  br label %1833

1833:                                             ; preds = %1832
  br label %1834

1834:                                             ; preds = %1833, %1830
  br label %1835

1835:                                             ; preds = %1834, %1806
  call void @llvm.lifetime.end.p0(i64 4, ptr %136) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %135) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %134) #14
  br label %1836

1836:                                             ; preds = %1835
  br label %1837

1837:                                             ; preds = %1836
  %1838 = load i32, ptr %21, align 4, !tbaa !11
  store i32 %1838, ptr %7, align 4
  store i32 1, ptr %20, align 4
  br label %1839

1839:                                             ; preds = %1837, %1791
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #14
  %1840 = load i32, ptr %7, align 4
  ret i32 %1840

1841:                                             ; preds = %1794
  %1842 = load ptr, ptr %72, align 8
  %1843 = load i32, ptr %73, align 4
  %1844 = insertvalue { ptr, i32 } poison, ptr %1842, 0
  %1845 = insertvalue { ptr, i32 } %1844, i32 %1843, 1
  resume { ptr, i32 } %1845

1846:                                             ; preds = %1315, %1305
  %1847 = landingpad { ptr, i32 }
          catch ptr null
  %1848 = extractvalue { ptr, i32 } %1847, 0
  call void @__clang_call_terminate(ptr %1848) #16
  unreachable

1849:                                             ; preds = %1830, %169
  unreachable
}

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

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

declare void @InteralLogWithArguments(i32 noundef, ptr noundef, ...) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL11ObtainTruthi(i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

declare void @InteralLogWithoutArguments(i32 noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: nounwind
declare noundef i64 @_ZN14NAMESPACE_MAIN37RemoveMissingValsAndReplaceInfinitiesEmPd(i64 noundef, ptr noundef) #7

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #8

; Function Attrs: nounwind
declare void @free(ptr noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPdEvT_S1_(ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL27GetUncuttableRangeLengthMinILb0EEEmmmm(i64 noundef, i64 noundef, i64 noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL18CountCuttingRangesILb0EEEmmPKdmm(i64 noundef, ptr noundef, i64 noundef, i64 noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #10 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL14ConstructJumpsILb0EEEvmPKdPNS_13NeighbourJumpE(i64 noundef, ptr noundef, ptr noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL27DetermineSymmetricDirectionILb0EEEbmPKd(i64 noundef, ptr noundef) #10

declare void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_12CuttingRangeEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL22FillCuttingRangeBasicsILb0EEEvmPdmmmPNS_12CuttingRangeE(i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL26FillCuttingRangeNeighboursILb0EEEvmPdmPNS_12CuttingRangeE(i64 noundef, ptr noundef, i64 noundef, ptr noundef) #10

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14NAMESPACE_MAINL26StuffCutsIntoCuttingRangesERSt3setIPNS_12CuttingRangeENS_19CompareCuttingRangeESaIS2_EEmS2_mm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, ptr noundef, i64 noundef, i64 noundef) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) #10 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4prevISt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEET_S5_NSt15iterator_traitsIS5_E15difference_typeE(ptr, i64 noundef) #9

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_8CutPointEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN14NAMESPACE_MAINL15TradeCutSegmentILb0EEEiPSt3setIPNS_8CutPointENS_15CompareCutPointESaIS3_EEmbmmmPKNS_13NeighbourJumpEmS3_(ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #10

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14NAMESPACE_MAIN19RandomDeterministic4NextIbEENSt9enable_ifIXsr3std7is_sameIT_bEE5valueES3_E4typeEv(ptr noundef nonnull align 8 dereferenceable(24)) #11 align 2

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #12

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #13

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPPKdEvT_S3_(ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfd(double noundef) #10

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN14ArithmeticMeanEdd(double noundef, double noundef) #7

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN29GetInterpretableCutPointFloatEdd(double noundef, double noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() #10 align 2

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef, double noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #10 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { nounwind allocsize(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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind "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 #8 = { noreturn nounwind "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 #9 = { 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 #10 = { 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 #11 = { alwaysinline 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 #12 = { nounwind memory(none) }
attributes #13 = { noinline noreturn nounwind uwtable "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 #14 = { nounwind }
attributes #15 = { nounwind allocsize(0) }
attributes #16 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{i64 0, i64 8, !9}
!18 = !{!19, !6, i64 40}
!19 = !{!"_ZTSN14NAMESPACE_MAIN12CuttingRangeE", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !20, i64 48, !6, i64 56}
!20 = !{!"double", !7, i64 0}
!21 = !{!19, !10, i64 24}
!22 = !{!19, !6, i64 16}
!23 = !{!19, !6, i64 8}
!24 = !{!25, !10, i64 8}
!25 = !{!"_ZTSN14NAMESPACE_MAIN8CutPointE", !10, i64 0, !10, i64 8, !20, i64 16, !6, i64 24, !6, i64 32, !20, i64 40, !6, i64 48}
!26 = !{!25, !6, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!19, !6, i64 0}
!30 = !{!31, !6, i64 0}
!31 = !{!"_ZTSN14NAMESPACE_MAIN13NeighbourJumpE", !6, i64 0, !6, i64 8}
!32 = !{!31, !6, i64 8}
!33 = distinct !{!33, !28}
!34 = !{!20, !20, i64 0}
!35 = distinct !{!35, !28}
!36 = distinct !{!36, !28}


; 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.NAMESPACE_MAIN::RandomDeterministic" = type { i64, i64, i64 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<NAMESPACE_MAIN::CuttingRange *, NAMESPACE_MAIN::CuttingRange *, std::_Identity<NAMESPACE_MAIN::CuttingRange *>, NAMESPACE_MAIN::CompareCuttingRange>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NAMESPACE_MAIN::CuttingRange *, NAMESPACE_MAIN::CuttingRange *, std::_Identity<NAMESPACE_MAIN::CuttingRange *>, NAMESPACE_MAIN::CompareCuttingRange>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::set.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<NAMESPACE_MAIN::CutPoint *, NAMESPACE_MAIN::CutPoint *, std::_Identity<NAMESPACE_MAIN::CutPoint *>, NAMESPACE_MAIN::CompareCutPoint>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NAMESPACE_MAIN::CutPoint *, NAMESPACE_MAIN::CutPoint *, std::_Identity<NAMESPACE_MAIN::CutPoint *>, NAMESPACE_MAIN::CompareCutPoint>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.NAMESPACE_MAIN::NeighbourJump" = type { i64, i64 }

@g_traceLevel = external local_unnamed_addr global i32, align 4
@_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE = external hidden local_unnamed_addr global i32, align 4
@_ZZ11CutQuantileE13LOG__sMessage = external hidden constant [137 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_0 = external hidden constant [44 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_1 = external hidden constant [46 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_2 = external hidden constant [41 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_3 = external hidden constant [57 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_4 = external hidden constant [80 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_5 = external hidden constant [42 x i8], align 16
@.str = external hidden unnamed_addr constant [85 x i8], align 1
@__func__.CutQuantile = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__.CutQuantile = external hidden unnamed_addr constant [98 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage_6 = external hidden constant [47 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_7 = external hidden constant [56 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage_8 = external hidden constant [79 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage_9 = external hidden constant [111 x i8], align 16
@.str.19 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [42 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__10_ = external hidden constant [69 x i8], align 16
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [62 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__11_ = external hidden constant [77 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__12_ = external hidden constant [74 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__13_ = external hidden constant [78 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__14_ = external hidden constant [58 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__15_ = external hidden constant [75 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__16_ = external hidden constant [36 x i8], align 16
@_ZTISt9bad_alloc = external constant ptr
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [68 x i8], align 1
@_ZZ11CutQuantileE13LOG__sMessage__17_ = external hidden constant [30 x i8], align 16
@_ZZ11CutQuantileE13LOG__sMessage__18_ = external hidden constant [34 x i8], align 16
@.str.51 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [29 x i8], align 1
@_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE = external hidden local_unnamed_addr global i32, align 4
@_ZZ11CutQuantileE13LOG__sMessage__19_ = external hidden constant [45 x i8], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @CutQuantile(i64 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.NAMESPACE_MAIN::RandomDeterministic", align 8
  %10 = alloca %"class.std::set", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"class.std::set.0", align 8
  %13 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 2
  br i1 %14, label %15, label %.critedge

15:                                               ; preds = %6
  %16 = icmp eq i32 %13, 3
  br i1 %16, label %17, label %22

17:                                               ; preds = %15
  %18 = load i32, ptr @_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %20, label %.critedge

20:                                               ; preds = %17
  %21 = add nsw i32 %18, -1
  store i32 %21, ptr @_ZN14NAMESPACE_MAINL22g_cLogEnterCutQuantileE, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %20, %15
  %.1451 = phi i32 [ 3, %20 ], [ 4, %15 ]
  %23 = tail call noundef ptr @_ZL11ObtainTruthi(i32 noundef %3)
  tail call void (i32, ptr, ...) @InteralLogWithArguments(i32 noundef %.1451, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage, i64 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %23, ptr noundef %4, ptr noundef %5)
  br label %.critedge

.critedge:                                        ; preds = %22, %17, %6
  %24 = icmp eq ptr %4, null
  br i1 %24, label %25, label %29, !prof !9

25:                                               ; preds = %.critedge
  %26 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %28, label %.critedge624

28:                                               ; preds = %25
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_0)
  br label %618

29:                                               ; preds = %.critedge
  %30 = icmp slt i64 %0, 2
  br i1 %30, label %31, label %37, !prof !9

31:                                               ; preds = %29
  %32 = icmp slt i64 %0, 0
  br i1 %32, label %33, label %.thread639, !prof !9

33:                                               ; preds = %31
  %34 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %36, label %.thread639

36:                                               ; preds = %33
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_1)
  br label %.thread639

37:                                               ; preds = %29
  %38 = icmp eq ptr %1, null
  br i1 %38, label %39, label %43, !prof !9

39:                                               ; preds = %37
  %40 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %.thread639

42:                                               ; preds = %39
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_2)
  br label %.thread639

43:                                               ; preds = %37
  %44 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %0) #15
  br i1 %44, label %45, label %49, !prof !9

45:                                               ; preds = %43
  %46 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %47 = icmp sgt i32 %46, 1
  br i1 %47, label %48, label %.thread639

48:                                               ; preds = %45
  tail call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_3)
  br label %.thread639

49:                                               ; preds = %43
  %50 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %0) #15
  br i1 %50, label %51, label %55

51:                                               ; preds = %49
  %52 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %54, label %.thread639

54:                                               ; preds = %51
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_4)
  br label %.thread639

55:                                               ; preds = %49
  %56 = shl i64 %0, 3
  %57 = tail call noalias ptr @malloc(i64 noundef %56) #16
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %63, !prof !9

59:                                               ; preds = %55
  %60 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %62, label %.thread639

62:                                               ; preds = %59
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_5)
  br label %.thread639

63:                                               ; preds = %55
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %57, ptr nonnull align 8 %1, i64 %56, i1 false)
  %64 = tail call noundef i64 @_ZN14NAMESPACE_MAIN37RemoveMissingValsAndReplaceInfinitiesEmPd(i64 noundef %0, ptr noundef nonnull %57) #15
  %.not = icmp ugt i64 %64, %0
  br i1 %.not, label %65, label %66

65:                                               ; preds = %63
  tail call void @LogAssertFailure(i64 noundef 2504, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.1)
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str, i32 noundef 2504, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

66:                                               ; preds = %63
  %67 = icmp ult i64 %64, 2
  br i1 %67, label %68, label %69, !prof !9

68:                                               ; preds = %66
  tail call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

69:                                               ; preds = %66
  %70 = load i64, ptr %4, align 8, !tbaa !10
  %71 = icmp slt i64 %70, 1
  br i1 %71, label %72, label %78, !prof !9

72:                                               ; preds = %69
  tail call void @free(ptr noundef nonnull %57) #15
  %73 = icmp slt i64 %70, 0
  br i1 %73, label %74, label %.thread639, !prof !9

74:                                               ; preds = %72
  %75 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %77, label %.thread639

77:                                               ; preds = %74
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_6)
  br label %.thread639

78:                                               ; preds = %69
  %79 = icmp eq ptr %5, null
  br i1 %79, label %80, label %85, !prof !9

80:                                               ; preds = %78
  %81 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %82 = icmp sgt i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %80
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_7)
  br label %84

84:                                               ; preds = %83, %80
  tail call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

85:                                               ; preds = %78
  %86 = icmp slt i64 %2, 1
  br i1 %86, label %87, label %91, !prof !9

87:                                               ; preds = %85
  %88 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %89 = icmp sgt i32 %88, 1
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  tail call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_8)
  br label %91

91:                                               ; preds = %87, %90, %85
  %.0448 = phi i64 [ %2, %85 ], [ 1, %90 ], [ 1, %87 ]
  %92 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef %64) #15
  br i1 %92, label %93, label %94

93:                                               ; preds = %91
  tail call void @LogAssertFailure(i64 noundef 2546, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.5)
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef 2546, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

94:                                               ; preds = %91
  %95 = lshr i64 %64, 1
  %96 = icmp ult i64 %95, %.0448
  br i1 %96, label %97, label %98, !prof !9

97:                                               ; preds = %94
  tail call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

98:                                               ; preds = %94
  %99 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %.0448) #15
  br i1 %99, label %100, label %101

100:                                              ; preds = %98
  tail call void @LogAssertFailure(i64 noundef 2559, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.7)
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str, i32 noundef 2559, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

101:                                              ; preds = %98
  %102 = udiv i64 %64, %.0448
  %103 = icmp ugt i64 %102, 1
  br i1 %103, label %105, label %104

104:                                              ; preds = %101
  tail call void @LogAssertFailure(i64 noundef 2572, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.9)
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str, i32 noundef 2572, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

105:                                              ; preds = %101
  %106 = add nsw i64 %102, -1
  %107 = icmp ult i64 %106, %64
  br i1 %107, label %109, label %108

108:                                              ; preds = %105
  tail call void @LogAssertFailure(i64 noundef 2577, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.11)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str, i32 noundef 2577, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

109:                                              ; preds = %105
  %110 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef %106) #15
  br i1 %110, label %111, label %112

111:                                              ; preds = %109
  tail call void @LogAssertFailure(i64 noundef 2578, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.13)
  tail call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str, i32 noundef 2578, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

112:                                              ; preds = %109
  %113 = tail call i64 @llvm.umin.i64(i64 %106, i64 %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #15
  store i64 8, ptr %7, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #15
  store i64 8, ptr %8, align 8, !tbaa !10
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %115 = load i64, ptr %114, align 8, !tbaa !10
  %116 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %115, i64 noundef %113) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #15
  br i1 %116, label %117, label %122, !prof !9

117:                                              ; preds = %112
  %118 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %119 = icmp sgt i32 %118, 1
  br i1 %119, label %120, label %121

120:                                              ; preds = %117
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage_9)
  br label %121

121:                                              ; preds = %120, %117
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

122:                                              ; preds = %112
  %123 = getelementptr inbounds double, ptr %57, i64 %64
  call void @_ZSt4sortIPdEvT_S1_(ptr noundef nonnull %57, ptr noundef nonnull %123)
  %124 = add nuw nsw i64 %113, 1
  %125 = call noundef i64 @_ZN14NAMESPACE_MAINL27GetUncuttableRangeLengthMinILb0EEEmmmm(i64 noundef %64, i64 noundef %124, i64 noundef %.0448) #15
  %.not583 = icmp eq i64 %125, 0
  br i1 %.not583, label %126, label %127

126:                                              ; preds = %122
  call void @LogAssertFailure(i64 noundef 2601, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.19)
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str, i32 noundef 2601, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

127:                                              ; preds = %122
  %128 = call noundef i64 @_ZN14NAMESPACE_MAINL18CountCuttingRangesILb0EEEmmPKdmm(i64 noundef %64, ptr noundef nonnull %57, i64 noundef %125, i64 noundef %.0448) #15
  %.not584 = icmp ugt i64 %128, %124
  br i1 %.not584, label %129, label %130

129:                                              ; preds = %127
  call void @LogAssertFailure(i64 noundef 2611, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.21)
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str, i32 noundef 2611, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

130:                                              ; preds = %127
  %131 = icmp eq i64 %128, 0
  br i1 %131, label %132, label %133, !prof !9

132:                                              ; preds = %130
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

133:                                              ; preds = %130
  %134 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 16, i64 noundef %64) #15
  br i1 %134, label %135, label %140, !prof !9

135:                                              ; preds = %133
  %136 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %137 = icmp sgt i32 %136, 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %135
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__10_)
  br label %139

139:                                              ; preds = %138, %135
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

140:                                              ; preds = %133
  %141 = shl i64 %64, 4
  %142 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %113) #15
  br i1 %142, label %143, label %144

143:                                              ; preds = %140
  call void @LogAssertFailure(i64 noundef 2629, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.23)
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str, i32 noundef 2629, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

144:                                              ; preds = %140
  %145 = shl i64 %113, 3
  %146 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #15
  %147 = add i64 %146, -2
  %.not585 = icmp ugt i64 %113, %147
  br i1 %.not585, label %148, label %149

148:                                              ; preds = %144
  call void @LogAssertFailure(i64 noundef 2636, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.25)
  call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str, i32 noundef 2636, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

149:                                              ; preds = %144
  %150 = add nuw i64 %113, 2
  %151 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 56, i64 noundef %150) #15
  br i1 %151, label %152, label %157, !prof !9

152:                                              ; preds = %149
  %153 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %154 = icmp sgt i32 %153, 1
  br i1 %154, label %155, label %156

155:                                              ; preds = %152
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__11_)
  br label %156

156:                                              ; preds = %155, %152
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

157:                                              ; preds = %149
  %158 = mul i64 %150, 56
  %159 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 64, i64 noundef %128) #15
  br i1 %159, label %160, label %165, !prof !9

160:                                              ; preds = %157
  %161 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %162 = icmp sgt i32 %161, 1
  br i1 %162, label %163, label %164

163:                                              ; preds = %160
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__12_)
  br label %164

164:                                              ; preds = %163, %160
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

165:                                              ; preds = %157
  %166 = shl i64 %128, 6
  %167 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %141, i64 noundef %145) #15
  br i1 %167, label %168, label %173, !prof !9

168:                                              ; preds = %165
  %169 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %170 = icmp sgt i32 %169, 1
  br i1 %170, label %171, label %172

171:                                              ; preds = %168
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__13_)
  br label %172

172:                                              ; preds = %171, %168
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

173:                                              ; preds = %165
  %174 = add i64 %145, %141
  %175 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %174, i64 noundef %158) #15
  br i1 %175, label %176, label %181, !prof !9

176:                                              ; preds = %173
  %177 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %178 = icmp sgt i32 %177, 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %176
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__14_)
  br label %180

180:                                              ; preds = %179, %176
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

181:                                              ; preds = %173
  %182 = add i64 %174, %158
  %183 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef %182, i64 noundef %166) #15
  br i1 %183, label %184, label %189, !prof !9

184:                                              ; preds = %181
  %185 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %186 = icmp sgt i32 %185, 1
  br i1 %186, label %187, label %188

187:                                              ; preds = %184
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__15_)
  br label %188

188:                                              ; preds = %187, %184
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

189:                                              ; preds = %181
  %190 = add i64 %166, %182
  %191 = call noalias ptr @malloc(i64 noundef %190) #16
  %192 = icmp eq ptr %191, null
  br i1 %192, label %193, label %198, !prof !9

193:                                              ; preds = %189
  %194 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %195 = icmp sgt i32 %194, 1
  br i1 %195, label %196, label %197

196:                                              ; preds = %193
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__16_)
  br label %197

197:                                              ; preds = %196, %193
  call void @free(ptr noundef nonnull %57) #15
  br label %.thread639

198:                                              ; preds = %189
  %199 = getelementptr inbounds i8, ptr %191, i64 %141
  %200 = getelementptr inbounds i8, ptr %191, i64 %174
  %201 = getelementptr inbounds i8, ptr %191, i64 %182
  call void @_ZN14NAMESPACE_MAINL14ConstructJumpsILb0EEEvmPKdPNS_13NeighbourJumpE(i64 noundef %64, ptr noundef nonnull %57, ptr noundef nonnull %191) #15
  %202 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL27DetermineSymmetricDirectionILb0EEEbmPKd(i64 noundef %64, ptr noundef nonnull %57) #15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #15
  call void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef -9049132130315488473)
  call void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_12CuttingRangeEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext %202, ptr noundef nonnull %9, i64 noundef %128, ptr noundef nonnull %201) #15
  call void @_ZN14NAMESPACE_MAINL22FillCuttingRangeBasicsILb0EEEvmPdmmmPNS_12CuttingRangeE(i64 noundef %64, ptr noundef nonnull %57, i64 noundef %125, i64 noundef %.0448, i64 noundef %128, ptr noundef nonnull %201) #15
  call void @_ZN14NAMESPACE_MAINL26FillCuttingRangeNeighboursILb0EEEvmPdmPNS_12CuttingRangeE(i64 noundef %64, ptr noundef nonnull %57, i64 noundef %128, ptr noundef nonnull %201) #15
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #15
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  invoke void @_ZN14NAMESPACE_MAINL26StuffCutsIntoCuttingRangesERSt3setIPNS_12CuttingRangeENS_19CompareCuttingRangeESaIS2_EEmS2_mm(ptr noundef nonnull align 8 dereferenceable(48) %10, i64 noundef %128, ptr noundef nonnull %201, i64 noundef %.0448, i64 noundef %113)
          to label %.preheader661 unwind label %211

.preheader661:                                    ; preds = %198
  %203 = ptrtoint ptr %57 to i64
  %204 = getelementptr inbounds double, ptr %57, i64 %0
  %205 = getelementptr inbounds i8, ptr %200, i64 56
  %206 = getelementptr inbounds i8, ptr %200, i64 8
  br label %207

207:                                              ; preds = %.preheader661, %.critedge622.thread
  %.0491.idx = phi i64 [ %.8499.ph.idx, %.critedge622.thread ], [ 0, %.preheader661 ]
  %.0491.ptr = getelementptr inbounds i8, ptr %199, i64 %.0491.idx
  %208 = call noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  br i1 %208, label %209, label %213

209:                                              ; preds = %207
  invoke void @LogAssertFailure(i64 noundef 2721, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.27)
          to label %210 unwind label %211

210:                                              ; preds = %209
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str, i32 noundef 2721, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

211:                                              ; preds = %209, %198
  %212 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %412

213:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #15
  %214 = call ptr @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  %215 = invoke ptr @_ZSt4prevISt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEET_S5_NSt15iterator_traitsIS5_E15difference_typeE(ptr %214, i64 noundef 1)
          to label %216 unwind label %234

216:                                              ; preds = %213
  store ptr %215, ptr %11, align 8
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #15
  %218 = load ptr, ptr %217, align 8, !tbaa !12
  %.sroa.0182.0.copyload = load ptr, ptr %11, align 8, !tbaa !12
  %219 = invoke ptr @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr %.sroa.0182.0.copyload)
          to label %220 unwind label %236

220:                                              ; preds = %216
  %221 = getelementptr inbounds i8, ptr %218, i64 40
  %222 = load i64, ptr %221, align 8, !tbaa !14
  %223 = icmp ugt i64 %222, 1
  br i1 %223, label %224, label %297

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #15
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #15
  %225 = add i64 %222, -1
  call void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_8CutPointEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext %202, ptr noundef nonnull %9, i64 noundef %225, ptr noundef nonnull %205) #15
  %226 = getelementptr inbounds i8, ptr %218, i64 24
  %227 = load ptr, ptr %226, align 8, !tbaa !17
  %228 = ptrtoint ptr %227 to i64
  %229 = sub i64 %228, %203
  %230 = ashr exact i64 %229, 3
  %231 = getelementptr inbounds i8, ptr %218, i64 16
  %232 = load i64, ptr %231, align 8, !tbaa !18
  %233 = call noundef i32 @_ZN14NAMESPACE_MAINL15TradeCutSegmentILb0EEEiPSt3setIPNS_8CutPointENS_15CompareCutPointESaIS3_EEmbmmmPKNS_13NeighbourJumpEmS3_(ptr noundef nonnull %12, i64 noundef %64, i1 noundef zeroext %202, i64 noundef %.0448, i64 noundef %230, i64 noundef %232, ptr noundef nonnull %191, i64 noundef %222, ptr noundef nonnull %200) #15
  %.not599 = icmp eq i32 %233, 0
  br i1 %.not599, label %238, label %616

234:                                              ; preds = %213
  %235 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

236:                                              ; preds = %216
  %237 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

238:                                              ; preds = %224
  %239 = load ptr, ptr %226, align 8, !tbaa !17
  %240 = getelementptr inbounds i8, ptr %218, i64 8
  %241 = load i64, ptr %240, align 8, !tbaa !19
  %.not600 = icmp eq i64 %241, 0
  br i1 %.not600, label %253, label %242

242:                                              ; preds = %238
  %243 = icmp ult ptr %57, %239
  br i1 %243, label %248, label %244

244:                                              ; preds = %242
  invoke void @LogAssertFailure(i64 noundef 2807, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %245 unwind label %246

245:                                              ; preds = %244
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2807, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

246:                                              ; preds = %250, %244
  %247 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %296

248:                                              ; preds = %242
  %249 = icmp ult ptr %239, %204
  br i1 %249, label %252, label %250

250:                                              ; preds = %248
  invoke void @LogAssertFailure(i64 noundef 2808, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.31)
          to label %251 unwind label %246

251:                                              ; preds = %250
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str, i32 noundef 2808, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

252:                                              ; preds = %248
  store ptr %239, ptr %.0491.ptr, align 8, !tbaa !12
  %.0491.add726 = add nsw i64 %.0491.idx, 8
  br label %253

253:                                              ; preds = %252, %238
  %.1492.idx = phi i64 [ %.0491.add726, %252 ], [ %.0491.idx, %238 ]
  %254 = load ptr, ptr %206, align 8, !tbaa !20
  %.0521.in681 = getelementptr inbounds i8, ptr %254, i64 8
  %.0521682 = load ptr, ptr %.0521.in681, align 8, !tbaa !20
  %.not601683 = icmp eq ptr %.0521682, null
  br i1 %.not601683, label %._crit_edge, label %.lr.ph, !prof !22

.lr.ph:                                           ; preds = %253, %280
  %.0521686 = phi ptr [ %.0521, %280 ], [ %.0521682, %253 ]
  %.2493685.idx = phi i64 [ %.3494.idx, %280 ], [ %.1492.idx, %253 ]
  %.0520684 = phi ptr [ %.0521686, %280 ], [ %254, %253 ]
  %.2493685.ptr = getelementptr inbounds i8, ptr %199, i64 %.2493685.idx
  %255 = getelementptr inbounds i8, ptr %.0520684, i64 24
  %256 = load i64, ptr %255, align 8, !tbaa !23
  %.not603 = icmp eq i64 %256, -1
  br i1 %.not603, label %280, label %257, !prof !9

257:                                              ; preds = %.lr.ph
  %258 = getelementptr inbounds double, ptr %239, i64 %256
  %259 = icmp ult ptr %57, %258
  br i1 %259, label %264, label %260

260:                                              ; preds = %257
  invoke void @LogAssertFailure(i64 noundef 2819, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %261 unwind label %262

261:                                              ; preds = %260
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2819, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

262:                                              ; preds = %277, %271, %266, %260
  %263 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %296

264:                                              ; preds = %257
  %265 = icmp ult ptr %258, %204
  br i1 %265, label %268, label %266

266:                                              ; preds = %264
  invoke void @LogAssertFailure(i64 noundef 2820, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.31)
          to label %267 unwind label %262

267:                                              ; preds = %266
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str, i32 noundef 2820, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

268:                                              ; preds = %264
  %269 = load ptr, ptr %226, align 8, !tbaa !17
  %270 = icmp ult ptr %269, %258
  br i1 %270, label %273, label %271

271:                                              ; preds = %268
  invoke void @LogAssertFailure(i64 noundef 2821, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.33)
          to label %272 unwind label %262

272:                                              ; preds = %271
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str, i32 noundef 2821, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

273:                                              ; preds = %268
  %274 = load i64, ptr %231, align 8, !tbaa !18
  %275 = getelementptr inbounds double, ptr %269, i64 %274
  %276 = icmp ult ptr %258, %275
  br i1 %276, label %279, label %277

277:                                              ; preds = %273
  invoke void @LogAssertFailure(i64 noundef 2822, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.35)
          to label %278 unwind label %262

278:                                              ; preds = %277
  call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str, i32 noundef 2822, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

279:                                              ; preds = %273
  store ptr %258, ptr %.2493685.ptr, align 8, !tbaa !12
  %.2493685.add = add nsw i64 %.2493685.idx, 8
  br label %280

280:                                              ; preds = %279, %.lr.ph
  %.3494.idx = phi i64 [ %.2493685.add, %279 ], [ %.2493685.idx, %.lr.ph ]
  %.0521.in = getelementptr inbounds i8, ptr %.0521686, i64 8
  %.0521 = load ptr, ptr %.0521.in, align 8, !tbaa !20
  %.not601 = icmp eq ptr %.0521, null
  br i1 %.not601, label %._crit_edge, label %.lr.ph, !prof !24, !llvm.loop !25

._crit_edge:                                      ; preds = %280, %253
  %.2493.lcssa.idx = phi i64 [ %.1492.idx, %253 ], [ %.3494.idx, %280 ]
  %.2493.lcssa.ptr = getelementptr inbounds i8, ptr %199, i64 %.2493.lcssa.idx
  %281 = load i64, ptr %218, align 8, !tbaa !27
  %.not602 = icmp eq i64 %281, 0
  br i1 %.not602, label %295, label %282

282:                                              ; preds = %._crit_edge
  %283 = load i64, ptr %231, align 8, !tbaa !18
  %284 = getelementptr inbounds double, ptr %239, i64 %283
  %285 = icmp ult ptr %57, %284
  br i1 %285, label %290, label %286

286:                                              ; preds = %282
  invoke void @LogAssertFailure(i64 noundef 2834, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %287 unwind label %288

287:                                              ; preds = %286
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2834, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

288:                                              ; preds = %292, %286
  %289 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %296

290:                                              ; preds = %282
  %291 = icmp ult ptr %284, %204
  br i1 %291, label %294, label %292

292:                                              ; preds = %290
  invoke void @LogAssertFailure(i64 noundef 2835, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.31)
          to label %293 unwind label %288

293:                                              ; preds = %292
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str, i32 noundef 2835, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

294:                                              ; preds = %290
  store ptr %284, ptr %.2493.lcssa.ptr, align 8, !tbaa !12
  %.2493.lcssa.add = add nsw i64 %.2493.lcssa.idx, 8
  br label %295

295:                                              ; preds = %._crit_edge, %294
  %.5496.idx = phi i64 [ %.2493.lcssa.add, %294 ], [ %.2493.lcssa.idx, %._crit_edge ]
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #15
  br label %.critedge622.thread

296:                                              ; preds = %262, %288, %246
  %.pn604.pn = phi { ptr, i32 } [ %247, %246 ], [ %263, %262 ], [ %289, %288 ]
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #15
  br label %411

297:                                              ; preds = %220
  %298 = icmp eq i64 %222, 1
  %299 = getelementptr inbounds i8, ptr %218, i64 8
  %300 = load i64, ptr %299, align 8, !tbaa !19
  %.not597 = icmp eq i64 %300, 0
  br i1 %298, label %301, label %335

301:                                              ; preds = %297
  br i1 %.not597, label %315, label %302

302:                                              ; preds = %301
  %303 = getelementptr inbounds i8, ptr %218, i64 24
  %304 = load ptr, ptr %303, align 8, !tbaa !17
  %305 = icmp ult ptr %57, %304
  br i1 %305, label %310, label %306

306:                                              ; preds = %302
  invoke void @LogAssertFailure(i64 noundef 2848, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %307 unwind label %308

307:                                              ; preds = %306
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2848, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

308:                                              ; preds = %312, %306
  %309 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

310:                                              ; preds = %302
  %311 = icmp ult ptr %304, %204
  br i1 %311, label %314, label %312

312:                                              ; preds = %310
  invoke void @LogAssertFailure(i64 noundef 2849, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.31)
          to label %313 unwind label %308

313:                                              ; preds = %312
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str, i32 noundef 2849, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

314:                                              ; preds = %310
  store ptr %304, ptr %.0491.ptr, align 8, !tbaa !12
  %.0491.add725 = add nsw i64 %.0491.idx, 8
  br label %315

315:                                              ; preds = %314, %301
  %.6497.idx = phi i64 [ %.0491.add725, %314 ], [ %.0491.idx, %301 ]
  %.6497.ptr = getelementptr inbounds i8, ptr %199, i64 %.6497.idx
  %316 = load i64, ptr %218, align 8, !tbaa !27
  %.not598 = icmp eq i64 %316, 0
  br i1 %.not598, label %.critedge622.thread, label %317

317:                                              ; preds = %315
  %318 = getelementptr inbounds i8, ptr %218, i64 24
  %319 = load ptr, ptr %318, align 8, !tbaa !17
  %320 = getelementptr inbounds i8, ptr %218, i64 16
  %321 = load i64, ptr %320, align 8, !tbaa !18
  %322 = getelementptr inbounds double, ptr %319, i64 %321
  %323 = icmp ult ptr %57, %322
  br i1 %323, label %328, label %324

324:                                              ; preds = %317
  invoke void @LogAssertFailure(i64 noundef 2857, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %325 unwind label %326

325:                                              ; preds = %324
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2857, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

326:                                              ; preds = %330, %324
  %327 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

328:                                              ; preds = %317
  %329 = icmp ult ptr %322, %204
  br i1 %329, label %332, label %330

330:                                              ; preds = %328
  invoke void @LogAssertFailure(i64 noundef 2858, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.31)
          to label %331 unwind label %326

331:                                              ; preds = %330
  call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str, i32 noundef 2858, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

332:                                              ; preds = %328
  store ptr %322, ptr %.6497.ptr, align 8, !tbaa !12
  %.6497.add = add nsw i64 %.6497.idx, 8
  br label %.critedge622.thread

333:                                              ; preds = %338
  %334 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

335:                                              ; preds = %297
  %336 = load i64, ptr %218, align 8, !tbaa !27
  %.not587 = icmp eq i64 %336, 0
  br i1 %.not597, label %337, label %340

337:                                              ; preds = %335
  br i1 %.not587, label %338, label %.critedge622.thread

338:                                              ; preds = %337
  invoke void @LogAssertFailure(i64 noundef 2870, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.39)
          to label %339 unwind label %333

339:                                              ; preds = %338
  call void @__assert_fail(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str, i32 noundef 2870, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

340:                                              ; preds = %335
  br i1 %.not587, label %.critedge622.thread, label %341, !prof !9

341:                                              ; preds = %340
  %342 = getelementptr inbounds i8, ptr %218, i64 16
  %343 = load i64, ptr %342, align 8, !tbaa !18
  %344 = getelementptr inbounds i8, ptr %218, i64 24
  %345 = load ptr, ptr %344, align 8, !tbaa !17
  %346 = ptrtoint ptr %345 to i64
  %347 = sub i64 %346, %203
  %348 = ashr exact i64 %347, 3
  %349 = lshr i64 %343, 1
  %350 = getelementptr %"struct.NAMESPACE_MAIN::NeighbourJump", ptr %191, i64 %348
  %351 = getelementptr %"struct.NAMESPACE_MAIN::NeighbourJump", ptr %350, i64 %349
  %352 = load i64, ptr %351, align 8, !tbaa !28
  %353 = getelementptr inbounds i8, ptr %351, i64 8
  %354 = load i64, ptr %353, align 8, !tbaa !30
  %355 = sub i64 %352, %348
  %356 = icmp sgt i64 %355, -1
  br i1 %356, label %361, label %357

357:                                              ; preds = %341
  invoke void @LogAssertFailure(i64 noundef 2899, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.41)
          to label %358 unwind label %359

358:                                              ; preds = %357
  call void @__assert_fail(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str, i32 noundef 2899, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

359:                                              ; preds = %362, %357
  %360 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

361:                                              ; preds = %341
  %.not589 = icmp ugt i64 %355, %349
  br i1 %.not589, label %362, label %364

362:                                              ; preds = %361
  invoke void @LogAssertFailure(i64 noundef 2900, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.43)
          to label %363 unwind label %359

363:                                              ; preds = %362
  call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str, i32 noundef 2900, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

364:                                              ; preds = %361
  %365 = sub i64 %343, %354
  %366 = add i64 %365, %348
  %.not590 = icmp sgt i64 %366, %349
  br i1 %.not590, label %367, label %371

367:                                              ; preds = %364
  invoke void @LogAssertFailure(i64 noundef 2907, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.45)
          to label %368 unwind label %369

368:                                              ; preds = %367
  call void @__assert_fail(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str, i32 noundef 2907, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

369:                                              ; preds = %374, %367
  %370 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

371:                                              ; preds = %364
  %372 = and i64 %343, 1
  %.not591 = icmp ne i64 %372, 0
  %373 = icmp slt i64 %366, %349
  %or.cond = or i1 %.not591, %373
  br i1 %or.cond, label %376, label %374

374:                                              ; preds = %371
  invoke void @LogAssertFailure(i64 noundef 2909, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.47)
          to label %375 unwind label %369

375:                                              ; preds = %374
  call void @__assert_fail(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str, i32 noundef 2909, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

376:                                              ; preds = %371
  %377 = icmp slt i64 %366, %355
  %378 = select i1 %377, i64 %352, i64 %354, !unpredictable !31
  %379 = icmp eq i64 %366, %355
  br i1 %379, label %380, label %402, !prof !9

380:                                              ; preds = %376
  %381 = shl nuw i64 %355, 1
  %.not592 = icmp eq i64 %381, %343
  br i1 %.not592, label %382, label %386

382:                                              ; preds = %380
  invoke void @LogAssertFailure(i64 noundef 2915, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.49)
          to label %383 unwind label %384

383:                                              ; preds = %382
  call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str, i32 noundef 2915, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

384:                                              ; preds = %382
  %385 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

386:                                              ; preds = %380
  %387 = icmp ult i64 %336, %300
  %388 = select i1 %387, i64 %352, i64 %354, !unpredictable !31
  %389 = icmp eq i64 %336, %300
  br i1 %389, label %390, label %402, !prof !9

390:                                              ; preds = %386
  %391 = sub i64 %64, %354
  %392 = icmp ult i64 %391, %352
  %393 = select i1 %392, i64 %352, i64 %354, !unpredictable !31
  %394 = icmp eq i64 %391, %352
  br i1 %394, label %395, label %402, !prof !9

395:                                              ; preds = %390
  %396 = invoke noundef zeroext i1 @_ZN14NAMESPACE_MAIN19RandomDeterministic4NextIbEENSt9enable_ifIXsr3std7is_sameIT_bEE5valueES3_E4typeEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %397 unwind label %400

397:                                              ; preds = %395
  %398 = xor i1 %202, %396
  %399 = select i1 %398, i64 %352, i64 %354, !unpredictable !31
  br label %402

400:                                              ; preds = %395
  %401 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

402:                                              ; preds = %386, %397, %390, %376
  %.2524 = phi i64 [ %378, %376 ], [ %388, %386 ], [ %399, %397 ], [ %393, %390 ]
  %403 = icmp sgt i64 %.2524, 0
  br i1 %403, label %408, label %404

404:                                              ; preds = %402
  invoke void @LogAssertFailure(i64 noundef 2938, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
          to label %405 unwind label %406

405:                                              ; preds = %404
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2938, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

406:                                              ; preds = %404
  %407 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr null
  br label %411

408:                                              ; preds = %402
  %409 = getelementptr inbounds double, ptr %57, i64 %.2524
  store ptr %409, ptr %.0491.ptr, align 8, !tbaa !12
  %.0491.add = add nsw i64 %.0491.idx, 8
  br label %.critedge622.thread

.critedge622.thread:                              ; preds = %295, %332, %315, %408, %340, %337
  %.8499.ph.idx = phi i64 [ %.0491.idx, %340 ], [ %.0491.add, %408 ], [ %.6497.idx, %315 ], [ %.6497.add, %332 ], [ %.0491.idx, %337 ], [ %.5496.idx, %295 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #15
  %410 = call noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  br i1 %410, label %428, label %207, !llvm.loop !32

411:                                              ; preds = %236, %359, %384, %400, %406, %369, %333, %326, %308, %296, %234
  %.pn604.pn.pn.pn.pn = phi { ptr, i32 } [ %235, %234 ], [ %237, %236 ], [ %.pn604.pn, %296 ], [ %327, %326 ], [ %309, %308 ], [ %334, %333 ], [ %360, %359 ], [ %370, %369 ], [ %407, %406 ], [ %401, %400 ], [ %385, %384 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #15
  br label %412

412:                                              ; preds = %411, %211
  %.pn617 = phi { ptr, i32 } [ %212, %211 ], [ %.pn604.pn.pn.pn.pn, %411 ]
  %.8508 = extractvalue { ptr, i32 } %.pn617, 0
  %.8518 = extractvalue { ptr, i32 } %.pn617, 1
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #15
  %413 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9bad_alloc) #15
  %414 = icmp eq i32 %.8518, %413
  %415 = call ptr @__cxa_begin_catch(ptr %.8508) #15
  %416 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %417 = icmp sgt i32 %416, 1
  br i1 %414, label %418, label %420

418:                                              ; preds = %412
  br i1 %417, label %419, label %427

419:                                              ; preds = %418
  invoke void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__18_)
          to label %427 unwind label %425

420:                                              ; preds = %412
  br i1 %417, label %421, label %424

421:                                              ; preds = %420
  invoke void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__17_)
          to label %424 unwind label %422

422:                                              ; preds = %421
  %423 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %617 unwind label %628

424:                                              ; preds = %421, %420
  call void @free(ptr noundef %191) #15
  call void @free(ptr noundef %57) #15
  call void @__cxa_end_catch()
  br label %.thread644

425:                                              ; preds = %419
  %426 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %617 unwind label %628

427:                                              ; preds = %419, %418
  call void @free(ptr noundef %191) #15
  call void @free(ptr noundef %57) #15
  call void @__cxa_end_catch()
  br label %.thread644

428:                                              ; preds = %.critedge622.thread
  %.8499.ph.ptr.le = getelementptr inbounds i8, ptr %199, i64 %.8499.ph.idx
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #15
  %.not611 = icmp slt i64 %.8499.ph.idx, 0
  br i1 %.not611, label %429, label %430

429:                                              ; preds = %428
  call void @LogAssertFailure(i64 noundef 2964, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.51)
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str, i32 noundef 2964, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

430:                                              ; preds = %428
  %431 = lshr exact i64 %.8499.ph.idx, 3
  %.not612 = icmp eq i64 %.8499.ph.idx, 0
  br i1 %.not612, label %.loopexit, label %432, !prof !9

432:                                              ; preds = %430
  call void @_ZSt4sortIPPKdEvT_S3_(ptr noundef nonnull %199, ptr noundef nonnull %.8499.ph.ptr.le)
  %433 = icmp eq i32 %3, 0
  %434 = load ptr, ptr %199, align 8, !tbaa !12
  %435 = icmp ult ptr %57, %434
  br i1 %433, label %.preheader.preheader, label %.preheader660.preheader

.preheader660.preheader:                          ; preds = %432
  br i1 %435, label %436, label %.loopexit703

436:                                              ; preds = %.preheader660.preheader
  %437 = icmp ult ptr %434, %123
  br i1 %437, label %438, label %.loopexit704

438:                                              ; preds = %436
  %439 = load double, ptr %434, align 8, !tbaa !33
  %440 = call noundef zeroext i1 @_ZSt5isnand(double noundef %439)
  br i1 %440, label %.loopexit705, label %441

441:                                              ; preds = %438
  %442 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %439)
  br i1 %442, label %.loopexit706, label %443

443:                                              ; preds = %441
  %444 = getelementptr inbounds i8, ptr %434, i64 -8
  %445 = load double, ptr %444, align 8, !tbaa !33
  %446 = call noundef zeroext i1 @_ZSt5isnand(double noundef %445)
  br i1 %446, label %.loopexit707, label %447

447:                                              ; preds = %443
  %448 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %445)
  br i1 %448, label %.loopexit708, label %449

449:                                              ; preds = %447
  %450 = call noundef double @_ZN14NAMESPACE_MAIN29GetInterpretableCutPointFloatEdd(double noundef %445, double noundef %439) #15
  store double %450, ptr %5, align 8, !tbaa !33
  %.not613.peel = icmp eq i64 %.8499.ph.idx, 8
  br i1 %.not613.peel, label %.loopexit710, label %.preheader660.peel.next

.preheader660.peel.next:                          ; preds = %449
  %451 = getelementptr inbounds i8, ptr %199, i64 8
  br label %.preheader660

.preheader.preheader:                             ; preds = %432
  br i1 %435, label %452, label %.loopexit712

452:                                              ; preds = %.preheader.preheader
  %453 = icmp ult ptr %434, %123
  br i1 %453, label %454, label %.loopexit713

454:                                              ; preds = %452
  %455 = load double, ptr %434, align 8, !tbaa !33
  %456 = call noundef zeroext i1 @_ZSt5isnand(double noundef %455)
  br i1 %456, label %.loopexit714, label %457

457:                                              ; preds = %454
  %458 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %455)
  br i1 %458, label %.loopexit715, label %459

459:                                              ; preds = %457
  %460 = getelementptr inbounds i8, ptr %434, i64 -8
  %461 = load double, ptr %460, align 8, !tbaa !33
  %462 = call noundef zeroext i1 @_ZSt5isnand(double noundef %461)
  br i1 %462, label %.loopexit716, label %463

463:                                              ; preds = %459
  %464 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %461)
  br i1 %464, label %.loopexit717, label %465

465:                                              ; preds = %463
  %466 = call noundef double @_ZN14NAMESPACE_MAIN14ArithmeticMeanEdd(double noundef %461, double noundef %455) #15
  store double %466, ptr %5, align 8, !tbaa !33
  %.not615.peel = icmp eq i64 %.8499.ph.idx, 8
  br i1 %.not615.peel, label %.loopexit, label %.preheader.peel.next

.preheader.peel.next:                             ; preds = %465
  %467 = getelementptr inbounds i8, ptr %199, i64 8
  br label %.preheader

.preheader:                                       ; preds = %.preheader.peel.next, %487
  %.0527 = phi ptr [ %488, %487 ], [ %467, %.preheader.peel.next ]
  %.0525.pn = phi ptr [ %.0525, %487 ], [ %5, %.preheader.peel.next ]
  %.0525 = getelementptr inbounds i8, ptr %.0525.pn, i64 8
  %468 = load ptr, ptr %.0527, align 8, !tbaa !12
  %469 = icmp ult ptr %57, %468
  br i1 %469, label %470, label %.loopexit712

.loopexit712:                                     ; preds = %.preheader, %.preheader.preheader
  call void @LogAssertFailure(i64 noundef 2979, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2979, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

470:                                              ; preds = %.preheader
  %471 = icmp ult ptr %468, %123
  br i1 %471, label %472, label %.loopexit713

.loopexit713:                                     ; preds = %470, %452
  call void @LogAssertFailure(i64 noundef 2980, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.53)
  call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str, i32 noundef 2980, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

472:                                              ; preds = %470
  %473 = load double, ptr %468, align 8, !tbaa !33
  %474 = call noundef zeroext i1 @_ZSt5isnand(double noundef %473)
  br i1 %474, label %.loopexit714, label %475

.loopexit714:                                     ; preds = %472, %454
  call void @LogAssertFailure(i64 noundef 2982, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.55)
  call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str, i32 noundef 2982, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

475:                                              ; preds = %472
  %476 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %473)
  br i1 %476, label %.loopexit715, label %477

.loopexit715:                                     ; preds = %475, %457
  call void @LogAssertFailure(i64 noundef 2983, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.57)
  call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str, i32 noundef 2983, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

477:                                              ; preds = %475
  %478 = getelementptr inbounds i8, ptr %468, i64 -8
  %479 = load double, ptr %478, align 8, !tbaa !33
  %480 = call noundef zeroext i1 @_ZSt5isnand(double noundef %479)
  br i1 %480, label %.loopexit716, label %481

.loopexit716:                                     ; preds = %477, %459
  call void @LogAssertFailure(i64 noundef 2985, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.59)
  call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str, i32 noundef 2985, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

481:                                              ; preds = %477
  %482 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %479)
  br i1 %482, label %.loopexit717, label %483

.loopexit717:                                     ; preds = %481, %463
  call void @LogAssertFailure(i64 noundef 2986, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.61)
  call void @__assert_fail(ptr noundef nonnull @.str.62, ptr noundef nonnull @.str, i32 noundef 2986, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

483:                                              ; preds = %481
  %484 = call noundef double @_ZN14NAMESPACE_MAIN14ArithmeticMeanEdd(double noundef %479, double noundef %473) #15
  %485 = load double, ptr %.0525.pn, align 8, !tbaa !33
  %486 = fcmp olt double %485, %484
  br i1 %486, label %487, label %.loopexit718

.loopexit718:                                     ; preds = %483
  call void @LogAssertFailure(i64 noundef 2989, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.63)
  call void @__assert_fail(ptr noundef nonnull @.str.64, ptr noundef nonnull @.str, i32 noundef 2989, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

487:                                              ; preds = %483
  store double %484, ptr %.0525, align 8, !tbaa !33
  %488 = getelementptr inbounds i8, ptr %.0527, i64 8
  %.not615 = icmp eq ptr %.8499.ph.ptr.le, %488
  br i1 %.not615, label %.loopexit, label %.preheader, !llvm.loop !34

.preheader660:                                    ; preds = %.preheader660.peel.next, %508
  %.1528 = phi ptr [ %509, %508 ], [ %451, %.preheader660.peel.next ]
  %.1526.pn = phi ptr [ %.1526, %508 ], [ %5, %.preheader660.peel.next ]
  %.1526 = getelementptr inbounds i8, ptr %.1526.pn, i64 8
  %489 = load ptr, ptr %.1528, align 8, !tbaa !12
  %490 = icmp ult ptr %57, %489
  br i1 %490, label %491, label %.loopexit703

.loopexit703:                                     ; preds = %.preheader660, %.preheader660.preheader
  call void @LogAssertFailure(i64 noundef 2997, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.29)
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str, i32 noundef 2997, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

491:                                              ; preds = %.preheader660
  %492 = icmp ult ptr %489, %123
  br i1 %492, label %493, label %.loopexit704

.loopexit704:                                     ; preds = %491, %436
  call void @LogAssertFailure(i64 noundef 2998, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.53)
  call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str, i32 noundef 2998, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

493:                                              ; preds = %491
  %494 = load double, ptr %489, align 8, !tbaa !33
  %495 = call noundef zeroext i1 @_ZSt5isnand(double noundef %494)
  br i1 %495, label %.loopexit705, label %496

.loopexit705:                                     ; preds = %493, %438
  call void @LogAssertFailure(i64 noundef 3000, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.55)
  call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str, i32 noundef 3000, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

496:                                              ; preds = %493
  %497 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %494)
  br i1 %497, label %.loopexit706, label %498

.loopexit706:                                     ; preds = %496, %441
  call void @LogAssertFailure(i64 noundef 3001, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.57)
  call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str, i32 noundef 3001, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

498:                                              ; preds = %496
  %499 = getelementptr inbounds i8, ptr %489, i64 -8
  %500 = load double, ptr %499, align 8, !tbaa !33
  %501 = call noundef zeroext i1 @_ZSt5isnand(double noundef %500)
  br i1 %501, label %.loopexit707, label %502

.loopexit707:                                     ; preds = %498, %443
  call void @LogAssertFailure(i64 noundef 3003, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.59)
  call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str, i32 noundef 3003, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

502:                                              ; preds = %498
  %503 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %500)
  br i1 %503, label %.loopexit708, label %504

.loopexit708:                                     ; preds = %502, %447
  call void @LogAssertFailure(i64 noundef 3004, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.61)
  call void @__assert_fail(ptr noundef nonnull @.str.62, ptr noundef nonnull @.str, i32 noundef 3004, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

504:                                              ; preds = %502
  %505 = call noundef double @_ZN14NAMESPACE_MAIN29GetInterpretableCutPointFloatEdd(double noundef %500, double noundef %494) #15
  %506 = load double, ptr %.1526.pn, align 8, !tbaa !33
  %507 = fcmp olt double %506, %505
  br i1 %507, label %508, label %.loopexit709

.loopexit709:                                     ; preds = %504
  call void @LogAssertFailure(i64 noundef 3007, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.63)
  call void @__assert_fail(ptr noundef nonnull @.str.64, ptr noundef nonnull @.str, i32 noundef 3007, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

508:                                              ; preds = %504
  store double %505, ptr %.1526, align 8, !tbaa !33
  %509 = getelementptr inbounds i8, ptr %.1528, i64 8
  %.not613 = icmp eq ptr %.8499.ph.ptr.le, %509
  br i1 %.not613, label %.loopexit710, label %.preheader660, !llvm.loop !36

.loopexit710:                                     ; preds = %508, %449
  %.1526.lcssa693 = phi ptr [ %5, %449 ], [ %.1526, %508 ]
  %510 = icmp ugt i64 %.8499.ph.idx, 16
  br i1 %510, label %511, label %.loopexit, !prof !37

511:                                              ; preds = %.loopexit710
  %512 = getelementptr inbounds i8, ptr %.8499.ph.ptr.le, i64 -8
  %513 = load ptr, ptr %512, align 8, !tbaa !12
  %514 = getelementptr inbounds i8, ptr %57, i64 16
  %515 = icmp ult ptr %514, %513
  br i1 %515, label %517, label %516

516:                                              ; preds = %511
  call void @LogAssertFailure(i64 noundef 3081, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.65)
  call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str, i32 noundef 3081, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

517:                                              ; preds = %511
  %518 = icmp ult ptr %513, %123
  br i1 %518, label %520, label %519

519:                                              ; preds = %517
  call void @LogAssertFailure(i64 noundef 3082, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.67)
  call void @__assert_fail(ptr noundef nonnull @.str.68, ptr noundef nonnull @.str, i32 noundef 3082, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

520:                                              ; preds = %517
  %521 = getelementptr inbounds i8, ptr %513, i64 -8
  %522 = load double, ptr %521, align 8, !tbaa !33
  %523 = call noundef zeroext i1 @_ZSt5isnand(double noundef %522)
  br i1 %523, label %524, label %525

524:                                              ; preds = %520
  call void @LogAssertFailure(i64 noundef 3087, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.73)
  call void @__assert_fail(ptr noundef nonnull @.str.74, ptr noundef nonnull @.str, i32 noundef 3087, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

525:                                              ; preds = %520
  %526 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %522)
  br i1 %526, label %527, label %528

527:                                              ; preds = %525
  call void @LogAssertFailure(i64 noundef 3088, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.75)
  call void @__assert_fail(ptr noundef nonnull @.str.76, ptr noundef nonnull @.str, i32 noundef 3088, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

528:                                              ; preds = %525
  %529 = load ptr, ptr %199, align 8, !tbaa !12
  %530 = icmp ult ptr %57, %529
  br i1 %530, label %532, label %531

531:                                              ; preds = %528
  call void @LogAssertFailure(i64 noundef 3090, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.77)
  call void @__assert_fail(ptr noundef nonnull @.str.78, ptr noundef nonnull @.str, i32 noundef 3090, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

532:                                              ; preds = %528
  %533 = getelementptr inbounds i8, ptr %123, i64 -16
  %534 = icmp ult ptr %529, %533
  br i1 %534, label %536, label %535

535:                                              ; preds = %532
  call void @LogAssertFailure(i64 noundef 3091, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.79)
  call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str, i32 noundef 3091, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

536:                                              ; preds = %532
  %537 = load double, ptr %529, align 8, !tbaa !33
  %538 = call noundef zeroext i1 @_ZSt5isnand(double noundef %537)
  br i1 %538, label %539, label %540

539:                                              ; preds = %536
  call void @LogAssertFailure(i64 noundef 3093, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.81)
  call void @__assert_fail(ptr noundef nonnull @.str.82, ptr noundef nonnull @.str, i32 noundef 3093, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

540:                                              ; preds = %536
  %541 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %537)
  br i1 %541, label %542, label %543

542:                                              ; preds = %540
  call void @LogAssertFailure(i64 noundef 3094, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.83)
  call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str, i32 noundef 3094, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

543:                                              ; preds = %540
  %544 = fcmp olt double %537, %522
  br i1 %544, label %546, label %545

545:                                              ; preds = %543
  call void @LogAssertFailure(i64 noundef 3095, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.85)
  call void @__assert_fail(ptr noundef nonnull @.str.86, ptr noundef nonnull @.str, i32 noundef 3095, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

546:                                              ; preds = %543
  %547 = fsub double %522, %537
  %548 = call noundef zeroext i1 @_ZSt5isnand(double noundef %547)
  br i1 %548, label %549, label %550

549:                                              ; preds = %546
  call void @LogAssertFailure(i64 noundef 3101, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.87)
  call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str, i32 noundef 3101, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

550:                                              ; preds = %546
  %551 = fcmp ogt double %547, 0.000000e+00
  br i1 %551, label %553, label %552

552:                                              ; preds = %550
  call void @LogAssertFailure(i64 noundef 3103, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.89)
  call void @__assert_fail(ptr noundef nonnull @.str.90, ptr noundef nonnull @.str, i32 noundef 3103, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

553:                                              ; preds = %550
  %554 = icmp sgt i64 %70, 2
  br i1 %554, label %556, label %555

555:                                              ; preds = %553
  call void @LogAssertFailure(i64 noundef 3118, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.91)
  call void @__assert_fail(ptr noundef nonnull @.str.92, ptr noundef nonnull @.str, i32 noundef 3118, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

556:                                              ; preds = %553
  %557 = call i64 @llvm.umin.i64(i64 %431, i64 32)
  %558 = shl nuw nsw i64 %557, 1
  %559 = add nsw i64 %558, -4
  %560 = uitofp nneg i64 %559 to double
  %561 = fdiv double %547, %560
  %562 = call noundef zeroext i1 @_ZSt5isnand(double noundef %561)
  br i1 %562, label %563, label %564

563:                                              ; preds = %556
  call void @LogAssertFailure(i64 noundef 3123, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.95)
  call void @__assert_fail(ptr noundef nonnull @.str.96, ptr noundef nonnull @.str, i32 noundef 3123, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

564:                                              ; preds = %556
  %565 = fsub double %537, %561
  %566 = call noundef zeroext i1 @_ZSt5isnand(double noundef %565)
  br i1 %566, label %567, label %568

567:                                              ; preds = %564
  call void @LogAssertFailure(i64 noundef 3128, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.99)
  call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str, i32 noundef 3128, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

568:                                              ; preds = %564
  %569 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #15
  %570 = fcmp olt double %565, %569
  br i1 %570, label %572, label %571

571:                                              ; preds = %568
  call void @LogAssertFailure(i64 noundef 3129, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.101)
  call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str, i32 noundef 3129, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

572:                                              ; preds = %568
  %573 = call noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %565, double noundef %561) #15
  %574 = load double, ptr %5, align 8, !tbaa !33
  %575 = call noundef zeroext i1 @_ZSt5isnand(double noundef %574)
  br i1 %575, label %576, label %577

576:                                              ; preds = %572
  call void @LogAssertFailure(i64 noundef 3135, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.103)
  call void @__assert_fail(ptr noundef nonnull @.str.104, ptr noundef nonnull @.str, i32 noundef 3135, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

577:                                              ; preds = %572
  %578 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %574)
  br i1 %578, label %579, label %580

579:                                              ; preds = %577
  call void @LogAssertFailure(i64 noundef 3136, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.105)
  call void @__assert_fail(ptr noundef nonnull @.str.106, ptr noundef nonnull @.str, i32 noundef 3136, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

580:                                              ; preds = %577
  %581 = fcmp olt double %574, %573
  br i1 %581, label %582, label %589

582:                                              ; preds = %580
  %583 = call noundef zeroext i1 @_ZSt5isnand(double noundef %573)
  br i1 %583, label %584, label %585

584:                                              ; preds = %582
  call void @LogAssertFailure(i64 noundef 3140, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.107)
  call void @__assert_fail(ptr noundef nonnull @.str.108, ptr noundef nonnull @.str, i32 noundef 3140, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

585:                                              ; preds = %582
  %586 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %573)
  br i1 %586, label %587, label %588

587:                                              ; preds = %585
  call void @LogAssertFailure(i64 noundef 3141, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.109)
  call void @__assert_fail(ptr noundef nonnull @.str.110, ptr noundef nonnull @.str, i32 noundef 3141, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

588:                                              ; preds = %585
  store double %573, ptr %5, align 8, !tbaa !33
  br label %589

589:                                              ; preds = %588, %580
  %590 = fadd double %522, %561
  %591 = call noundef zeroext i1 @_ZSt5isnand(double noundef %590)
  br i1 %591, label %592, label %593

592:                                              ; preds = %589
  call void @LogAssertFailure(i64 noundef 3147, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.111)
  call void @__assert_fail(ptr noundef nonnull @.str.112, ptr noundef nonnull @.str, i32 noundef 3147, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

593:                                              ; preds = %589
  %594 = call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #15
  %595 = fcmp olt double %594, %590
  br i1 %595, label %597, label %596

596:                                              ; preds = %593
  call void @LogAssertFailure(i64 noundef 3148, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.113)
  call void @__assert_fail(ptr noundef nonnull @.str.114, ptr noundef nonnull @.str, i32 noundef 3148, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

597:                                              ; preds = %593
  %598 = call noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %590, double noundef %561) #15
  %599 = load double, ptr %.1526.lcssa693, align 8, !tbaa !33
  %600 = call noundef zeroext i1 @_ZSt5isnand(double noundef %599)
  br i1 %600, label %601, label %602

601:                                              ; preds = %597
  call void @LogAssertFailure(i64 noundef 3154, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.115)
  call void @__assert_fail(ptr noundef nonnull @.str.116, ptr noundef nonnull @.str, i32 noundef 3154, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

602:                                              ; preds = %597
  %603 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %599)
  br i1 %603, label %604, label %605

604:                                              ; preds = %602
  call void @LogAssertFailure(i64 noundef 3155, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.117)
  call void @__assert_fail(ptr noundef nonnull @.str.118, ptr noundef nonnull @.str, i32 noundef 3155, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

605:                                              ; preds = %602
  %606 = fcmp olt double %598, %599
  br i1 %606, label %607, label %.loopexit

607:                                              ; preds = %605
  %608 = call noundef zeroext i1 @_ZSt5isnand(double noundef %598)
  br i1 %608, label %609, label %610

609:                                              ; preds = %607
  call void @LogAssertFailure(i64 noundef 3159, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.119)
  call void @__assert_fail(ptr noundef nonnull @.str.120, ptr noundef nonnull @.str, i32 noundef 3159, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

610:                                              ; preds = %607
  %611 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %598)
  br i1 %611, label %612, label %613

612:                                              ; preds = %610
  call void @LogAssertFailure(i64 noundef 3160, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.121)
  call void @__assert_fail(ptr noundef nonnull @.str.122, ptr noundef nonnull @.str, i32 noundef 3160, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

613:                                              ; preds = %610
  store double %598, ptr %.1526.lcssa693, align 8, !tbaa !33
  br label %.loopexit

.loopexit:                                        ; preds = %487, %465, %.loopexit710, %613, %605, %430
  %.not616 = icmp sgt i64 %431, %70
  br i1 %.not616, label %614, label %615

614:                                              ; preds = %.loopexit
  call void @LogAssertFailure(i64 noundef 3170, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.CutQuantile, ptr noundef nonnull @.str.123)
  call void @__assert_fail(ptr noundef nonnull @.str.124, ptr noundef nonnull @.str, i32 noundef 3170, ptr noundef nonnull @__PRETTY_FUNCTION__.CutQuantile) #17
  unreachable

615:                                              ; preds = %.loopexit
  call void @free(ptr noundef %191) #15
  call void @free(ptr noundef %57) #15
  br label %.thread644

.thread644:                                       ; preds = %427, %424, %615
  %.4476.ph = phi i64 [ %431, %615 ], [ 0, %424 ], [ 0, %427 ]
  %.4458.ph = phi i32 [ 0, %615 ], [ -2, %424 ], [ -1, %427 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #15
  br label %.thread639

616:                                              ; preds = %224
  call void @free(ptr noundef %191) #15
  call void @free(ptr noundef %57) #15
  call void @_ZNSt3setIPN14NAMESPACE_MAIN8CutPointENS0_15CompareCutPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #15
  call void @_ZNSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #15
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #15
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #15
  br label %.thread639

617:                                              ; preds = %425, %422
  %.pn619 = phi { ptr, i32 } [ %423, %422 ], [ %426, %425 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #15
  resume { ptr, i32 } %.pn619

.thread639:                                       ; preds = %616, %197, %188, %180, %172, %164, %156, %139, %132, %121, %72, %77, %74, %97, %84, %68, %59, %62, %51, %54, %.thread644, %31, %36, %33, %42, %39, %48, %45
  %.17489 = phi i64 [ 0, %31 ], [ 0, %616 ], [ 0, %36 ], [ 0, %33 ], [ 0, %42 ], [ 0, %39 ], [ 0, %48 ], [ 0, %45 ], [ %.4476.ph, %.thread644 ], [ 0, %54 ], [ 0, %51 ], [ 0, %62 ], [ 0, %59 ], [ 0, %68 ], [ 0, %84 ], [ 0, %97 ], [ 0, %74 ], [ 0, %77 ], [ 0, %72 ], [ 0, %121 ], [ 0, %132 ], [ 0, %139 ], [ 0, %156 ], [ 0, %164 ], [ 0, %172 ], [ 0, %180 ], [ 0, %188 ], [ 0, %197 ]
  %.17471 = phi i32 [ 0, %31 ], [ %233, %616 ], [ -3, %36 ], [ -3, %33 ], [ -3, %42 ], [ -3, %39 ], [ -3, %48 ], [ -3, %45 ], [ %.4458.ph, %.thread644 ], [ -1, %54 ], [ -1, %51 ], [ -1, %62 ], [ -1, %59 ], [ 0, %68 ], [ -3, %84 ], [ 0, %97 ], [ -3, %74 ], [ -3, %77 ], [ 0, %72 ], [ -1, %121 ], [ 0, %132 ], [ -1, %139 ], [ -1, %156 ], [ -1, %164 ], [ -1, %172 ], [ -1, %180 ], [ -1, %188 ], [ -1, %197 ]
  store i64 %.17489, ptr %4, align 8, !tbaa !10
  br label %618

618:                                              ; preds = %28, %.thread639
  %.18490.ph = phi i64 [ 0, %28 ], [ %.17489, %.thread639 ]
  %.18.ph = phi i32 [ -3, %28 ], [ %.17471, %.thread639 ]
  %.pr = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %619 = icmp sgt i32 %.pr, 2
  br i1 %619, label %620, label %.critedge624

620:                                              ; preds = %618
  %621 = icmp eq i32 %.pr, 3
  br i1 %621, label %622, label %627

622:                                              ; preds = %620
  %623 = load i32, ptr @_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE, align 4, !tbaa !5
  %624 = icmp sgt i32 %623, 0
  br i1 %624, label %625, label %.critedge624

625:                                              ; preds = %622
  %626 = add nsw i32 %623, -1
  store i32 %626, ptr @_ZN14NAMESPACE_MAINL21g_cLogExitCutQuantileE, align 4, !tbaa !5
  br label %627

627:                                              ; preds = %625, %620
  %.1 = phi i32 [ 3, %625 ], [ 4, %620 ]
  call void (i32, ptr, ...) @InteralLogWithArguments(i32 noundef %.1, ptr noundef nonnull @_ZZ11CutQuantileE13LOG__sMessage__19_, i64 noundef %.18490.ph, i32 noundef %.18.ph)
  br label %.critedge624

.critedge624:                                     ; preds = %25, %618, %622, %627
  %.0 = phi i32 [ %.18.ph, %627 ], [ %.18.ph, %622 ], [ %.18.ph, %618 ], [ -3, %25 ]
  ret i32 %.0

628:                                              ; preds = %425, %422
  %629 = landingpad { ptr, i32 }
          catch ptr null
  %630 = extractvalue { ptr, i32 } %629, 0
  call void @__clang_call_terminate(ptr %630) #17
  unreachable
}

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

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

declare void @InteralLogWithArguments(i32 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL11ObtainTruthi(i32 noundef) local_unnamed_addr #3

declare void @InteralLogWithoutArguments(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImlEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuesr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: nounwind
declare noundef i64 @_ZN14NAMESPACE_MAIN37RemoveMissingValsAndReplaceInfinitiesEmPd(i64 noundef, ptr noundef) local_unnamed_addr #6

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorIlmEENSt9enable_ifIXaaaasr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueltclsr3std14numeric_limitsIS2_EE3maxEclsr3std14numeric_limitsIS3_EE3maxEEbE4typeES3_(i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPdEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL27GetUncuttableRangeLengthMinILb0EEEmmmm(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL18CountCuttingRangesILb0EEEmmPKdmm(i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() local_unnamed_addr #10 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL10IsAddErrorImEEbT_S1_(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL14ConstructJumpsILb0EEEvmPKdPNS_13NeighbourJumpE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL27DetermineSymmetricDirectionILb0EEEbmPKd(i64 noundef, ptr noundef) local_unnamed_addr #10

declare void @_ZN14NAMESPACE_MAIN19RandomDeterministic10InitializeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_12CuttingRangeEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL22FillCuttingRangeBasicsILb0EEEvmPdmmmPNS_12CuttingRangeE(i64 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL26FillCuttingRangeNeighboursILb0EEEvmPdmPNS_12CuttingRangeE(i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #10

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14NAMESPACE_MAINL26StuffCutsIntoCuttingRangesERSt3setIPNS_12CuttingRangeENS_19CompareCuttingRangeESaIS2_EEmS2_mm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIPN14NAMESPACE_MAIN12CuttingRangeENS0_19CompareCuttingRangeESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #10 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4prevISt23_Rb_tree_const_iteratorIPN14NAMESPACE_MAIN12CuttingRangeEEET_S5_NSt15iterator_traitsIS5_E15difference_typeE(ptr, i64 noundef) local_unnamed_addr #9

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN14NAMESPACE_MAINL15FillTiebreakersINS_8CutPointEEEvbPNS_19RandomDeterministicEmPT_(i1 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN14NAMESPACE_MAINL15TradeCutSegmentILb0EEEiPSt3setIPNS_8CutPointENS_15CompareCutPointESaIS3_EEmbmmmPKNS_13NeighbourJumpEmS3_(ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #10

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14NAMESPACE_MAIN19RandomDeterministic4NextIbEENSt9enable_ifIXsr3std7is_sameIT_bEE5valueES3_E4typeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #11 align 2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #12

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #13

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPPKdEvT_S3_(ptr noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfd(double noundef) local_unnamed_addr #10

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN14ArithmeticMeanEdd(double noundef, double noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN29GetInterpretableCutPointFloatEdd(double noundef, double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() local_unnamed_addr #10 align 2

; Function Attrs: nounwind
declare noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef, double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE6lowestEv() local_unnamed_addr #10 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #14

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint 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 #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind "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 #7 = { noreturn nounwind "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 #8 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { 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 #10 = { 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 #11 = { alwaysinline 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 #12 = { nofree nosync nounwind memory(none) }
attributes #13 = { noinline noreturn nounwind uwtable "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 #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #15 = { nounwind }
attributes #16 = { nounwind allocsize(0) }
attributes #17 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !11, i64 40}
!15 = !{!"_ZTSN14NAMESPACE_MAIN12CuttingRangeE", !11, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !11, i64 32, !11, i64 40, !16, i64 48, !11, i64 56}
!16 = !{!"double", !7, i64 0}
!17 = !{!15, !13, i64 24}
!18 = !{!15, !11, i64 16}
!19 = !{!15, !11, i64 8}
!20 = !{!21, !13, i64 8}
!21 = !{!"_ZTSN14NAMESPACE_MAIN8CutPointE", !13, i64 0, !13, i64 8, !16, i64 16, !11, i64 24, !11, i64 32, !16, i64 40, !11, i64 48}
!22 = !{!"branch_weights", i32 1, i32 127}
!23 = !{!21, !11, i64 24}
!24 = !{!"branch_weights", i32 127, i32 255873}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!15, !11, i64 0}
!28 = !{!29, !11, i64 0}
!29 = !{!"_ZTSN14NAMESPACE_MAIN13NeighbourJumpE", !11, i64 0, !11, i64 8}
!30 = !{!29, !11, i64 8}
!31 = !{}
!32 = distinct !{!32, !26}
!33 = !{!16, !16, i64 0}
!34 = distinct !{!34, !26, !35}
!35 = !{!"llvm.loop.peeled.count", i32 1}
!36 = distinct !{!36, !26, !35}
!37 = !{!"branch_weights", !"expected", i32 2000, i32 1}


; Effective O3 passes: ADCEPass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass