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

; 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"

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [33 x i8], align 1
@g_traceLevel = external global i32, align 4
@_ZZ18SuggestGraphBoundsE13LOG__sMessage = external hidden constant [53 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_0 = external hidden constant [54 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_1 = external hidden constant [55 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_2 = external hidden constant [50 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_3 = external hidden constant [124 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_4 = external hidden constant [96 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_5 = external hidden constant [49 x i8], align 16
@__func__.SuggestGraphBounds = external hidden unnamed_addr constant [19 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.SuggestGraphBounds = external hidden unnamed_addr constant [104 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [30 x i8], align 1

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @SuggestGraphBounds(i64 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6) #4 {
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  store i64 %0, ptr %9, align 8, !tbaa !5
  store double %1, ptr %10, align 8, !tbaa !9
  store double %2, ptr %11, align 8, !tbaa !9
  store double %3, ptr %12, align 8, !tbaa !9
  store double %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !11
  store ptr %6, ptr %15, align 8, !tbaa !11
  %30 = load ptr, ptr %14, align 8, !tbaa !11
  %31 = icmp eq ptr null, %30
  br i1 %31, label %32, label %39

32:                                               ; preds = %7
  br label %33

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 1, ptr %16, align 4, !tbaa !13
  %34 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %35 = icmp sle i32 1, %34
  br i1 %35, label %36, label %37

36:                                               ; preds = %33
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage)
  br label %37

37:                                               ; preds = %36, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %38

38:                                               ; preds = %37
  store i32 -3, ptr %8, align 4
  br label %335

39:                                               ; preds = %7
  %40 = load ptr, ptr %15, align 8, !tbaa !11
  %41 = icmp eq ptr null, %40
  br i1 %41, label %42, label %49

42:                                               ; preds = %39
  br label %43

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 1, ptr %17, align 4, !tbaa !13
  %44 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %45 = icmp sle i32 1, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_0)
  br label %47

47:                                               ; preds = %46, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %48

48:                                               ; preds = %47
  store i32 -3, ptr %8, align 4
  br label %335

49:                                               ; preds = %39
  %50 = load double, ptr %13, align 8, !tbaa !9
  %51 = load double, ptr %12, align 8, !tbaa !9
  %52 = fcmp olt double %50, %51
  br i1 %52, label %53, label %64

53:                                               ; preds = %49
  br label %54

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 1, ptr %18, align 4, !tbaa !13
  %55 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %56 = icmp sle i32 1, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_1)
  br label %58

58:                                               ; preds = %57, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %59

59:                                               ; preds = %58
  %60 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %61 = load ptr, ptr %14, align 8, !tbaa !11
  store double %60, ptr %61, align 8, !tbaa !9
  %62 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %63 = load ptr, ptr %15, align 8, !tbaa !11
  store double %62, ptr %63, align 8, !tbaa !9
  store i32 -3, ptr %8, align 4
  br label %335

64:                                               ; preds = %49
  %65 = load i64, ptr %9, align 8, !tbaa !5
  %66 = icmp sle i64 %65, 0
  br i1 %66, label %67, label %111

67:                                               ; preds = %64
  %68 = load i64, ptr %9, align 8, !tbaa !5
  %69 = icmp slt i64 %68, 0
  br i1 %69, label %70, label %81

70:                                               ; preds = %67
  br label %71

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 1, ptr %19, align 4, !tbaa !13
  %72 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %73 = icmp sle i32 1, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_2)
  br label %75

75:                                               ; preds = %74, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %76

76:                                               ; preds = %75
  %77 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %78 = load ptr, ptr %14, align 8, !tbaa !11
  store double %77, ptr %78, align 8, !tbaa !9
  %79 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %80 = load ptr, ptr %15, align 8, !tbaa !11
  store double %79, ptr %80, align 8, !tbaa !9
  store i32 -3, ptr %8, align 4
  br label %335

81:                                               ; preds = %67
  %82 = load double, ptr %12, align 8, !tbaa !9
  %83 = call noundef zeroext i1 @_ZSt5isnand(double noundef %82)
  br i1 %83, label %84, label %98

84:                                               ; preds = %81
  %85 = load double, ptr %13, align 8, !tbaa !9
  %86 = call noundef zeroext i1 @_ZSt5isnand(double noundef %85)
  br i1 %86, label %87, label %93

87:                                               ; preds = %84
  %88 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %89 = fneg double %88
  %90 = load ptr, ptr %14, align 8, !tbaa !11
  store double %89, ptr %90, align 8, !tbaa !9
  %91 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %92 = load ptr, ptr %15, align 8, !tbaa !11
  store double %91, ptr %92, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  br label %335

93:                                               ; preds = %84
  %94 = load double, ptr %13, align 8, !tbaa !9
  %95 = load ptr, ptr %14, align 8, !tbaa !11
  store double %94, ptr %95, align 8, !tbaa !9
  %96 = load double, ptr %13, align 8, !tbaa !9
  %97 = load ptr, ptr %15, align 8, !tbaa !11
  store double %96, ptr %97, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  br label %335

98:                                               ; preds = %81
  %99 = load double, ptr %13, align 8, !tbaa !9
  %100 = call noundef zeroext i1 @_ZSt5isnand(double noundef %99)
  br i1 %100, label %101, label %106

101:                                              ; preds = %98
  %102 = load double, ptr %12, align 8, !tbaa !9
  %103 = load ptr, ptr %14, align 8, !tbaa !11
  store double %102, ptr %103, align 8, !tbaa !9
  %104 = load double, ptr %12, align 8, !tbaa !9
  %105 = load ptr, ptr %15, align 8, !tbaa !11
  store double %104, ptr %105, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  br label %335

106:                                              ; preds = %98
  %107 = load double, ptr %12, align 8, !tbaa !9
  %108 = load ptr, ptr %14, align 8, !tbaa !11
  store double %107, ptr %108, align 8, !tbaa !9
  %109 = load double, ptr %13, align 8, !tbaa !9
  %110 = load ptr, ptr %15, align 8, !tbaa !11
  store double %109, ptr %110, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  br label %335

111:                                              ; preds = %64
  %112 = load double, ptr %10, align 8, !tbaa !9
  %113 = call noundef zeroext i1 @_ZSt5isnand(double noundef %112)
  br i1 %113, label %123, label %114

114:                                              ; preds = %111
  %115 = load double, ptr %10, align 8, !tbaa !9
  %116 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %115)
  br i1 %116, label %123, label %117

117:                                              ; preds = %114
  %118 = load double, ptr %11, align 8, !tbaa !9
  %119 = call noundef zeroext i1 @_ZSt5isnand(double noundef %118)
  br i1 %119, label %123, label %120

120:                                              ; preds = %117
  %121 = load double, ptr %11, align 8, !tbaa !9
  %122 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %121)
  br i1 %122, label %123, label %134

123:                                              ; preds = %120, %117, %114, %111
  br label %124

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 1, ptr %20, align 4, !tbaa !13
  %125 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %126 = icmp sle i32 1, %125
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_3)
  br label %128

128:                                              ; preds = %127, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %129

129:                                              ; preds = %128
  %130 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %131 = load ptr, ptr %14, align 8, !tbaa !11
  store double %130, ptr %131, align 8, !tbaa !9
  %132 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %133 = load ptr, ptr %15, align 8, !tbaa !11
  store double %132, ptr %133, align 8, !tbaa !9
  store i32 -3, ptr %8, align 4
  br label %335

134:                                              ; preds = %120
  %135 = load i64, ptr %9, align 8, !tbaa !5
  %136 = icmp eq i64 1, %135
  br i1 %136, label %137, label %153

137:                                              ; preds = %134
  %138 = load double, ptr %10, align 8, !tbaa !9
  %139 = load double, ptr %11, align 8, !tbaa !9
  %140 = fcmp une double %138, %139
  br i1 %140, label %141, label %152

141:                                              ; preds = %137
  br label %142

142:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 1, ptr %21, align 4, !tbaa !13
  %143 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %144 = icmp sle i32 1, %143
  br i1 %144, label %145, label %146

145:                                              ; preds = %142
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_4)
  br label %146

146:                                              ; preds = %145, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %147

147:                                              ; preds = %146
  %148 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %149 = load ptr, ptr %14, align 8, !tbaa !11
  store double %148, ptr %149, align 8, !tbaa !9
  %150 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %151 = load ptr, ptr %15, align 8, !tbaa !11
  store double %150, ptr %151, align 8, !tbaa !9
  store i32 -3, ptr %8, align 4
  br label %335

152:                                              ; preds = %137
  br label %169

153:                                              ; preds = %134
  %154 = load double, ptr %11, align 8, !tbaa !9
  %155 = load double, ptr %10, align 8, !tbaa !9
  %156 = fcmp ole double %154, %155
  br i1 %156, label %157, label %168

157:                                              ; preds = %153
  br label %158

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 1, ptr %22, align 4, !tbaa !13
  %159 = load i32, ptr @g_traceLevel, align 4, !tbaa !13
  %160 = icmp sle i32 1, %159
  br i1 %160, label %161, label %162

161:                                              ; preds = %158
  call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef @_ZZ18SuggestGraphBoundsE13LOG__sMessage_5)
  br label %162

162:                                              ; preds = %161, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %163

163:                                              ; preds = %162
  %164 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %165 = load ptr, ptr %14, align 8, !tbaa !11
  store double %164, ptr %165, align 8, !tbaa !9
  %166 = call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #6
  %167 = load ptr, ptr %15, align 8, !tbaa !11
  store double %166, ptr %167, align 8, !tbaa !9
  store i32 -3, ptr %8, align 4
  br label %335

168:                                              ; preds = %153
  br label %169

169:                                              ; preds = %168, %152
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  store i8 0, ptr %23, align 1, !tbaa !15
  %170 = load double, ptr %12, align 8, !tbaa !9
  %171 = call noundef zeroext i1 @_ZSt5isnand(double noundef %170)
  br i1 %171, label %172, label %174

172:                                              ; preds = %169
  %173 = load double, ptr %10, align 8, !tbaa !9
  store double %173, ptr %12, align 8, !tbaa !9
  store i8 1, ptr %23, align 1, !tbaa !15
  br label %181

174:                                              ; preds = %169
  %175 = load double, ptr %10, align 8, !tbaa !9
  %176 = load double, ptr %12, align 8, !tbaa !9
  %177 = fcmp olt double %175, %176
  br i1 %177, label %178, label %180

178:                                              ; preds = %174
  %179 = load double, ptr %10, align 8, !tbaa !9
  store double %179, ptr %12, align 8, !tbaa !9
  store i8 1, ptr %23, align 1, !tbaa !15
  br label %180

180:                                              ; preds = %178, %174
  br label %181

181:                                              ; preds = %180, %172
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  store i8 0, ptr %24, align 1, !tbaa !15
  %182 = load double, ptr %13, align 8, !tbaa !9
  %183 = call noundef zeroext i1 @_ZSt5isnand(double noundef %182)
  br i1 %183, label %184, label %186

184:                                              ; preds = %181
  %185 = load double, ptr %11, align 8, !tbaa !9
  store double %185, ptr %13, align 8, !tbaa !9
  store i8 1, ptr %24, align 1, !tbaa !15
  br label %193

186:                                              ; preds = %181
  %187 = load double, ptr %13, align 8, !tbaa !9
  %188 = load double, ptr %11, align 8, !tbaa !9
  %189 = fcmp olt double %187, %188
  br i1 %189, label %190, label %192

190:                                              ; preds = %186
  %191 = load double, ptr %11, align 8, !tbaa !9
  store double %191, ptr %13, align 8, !tbaa !9
  store i8 1, ptr %24, align 1, !tbaa !15
  br label %192

192:                                              ; preds = %190, %186
  br label %193

193:                                              ; preds = %192, %184
  %194 = load double, ptr %12, align 8, !tbaa !9
  %195 = load double, ptr %13, align 8, !tbaa !9
  %196 = fcmp oeq double %194, %195
  br i1 %196, label %197, label %208

197:                                              ; preds = %193
  %198 = load i64, ptr %9, align 8, !tbaa !5
  %199 = icmp eq i64 1, %198
  br i1 %199, label %202, label %200

200:                                              ; preds = %197
  call void @LogAssertFailure(i64 noundef 1178, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.125)
  call void @__assert_fail(ptr noundef @.str.126, ptr noundef @.str, i32 noundef 1178, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

201:                                              ; No predecessors!
  br label %202

202:                                              ; preds = %201, %197
  %203 = phi i1 [ true, %197 ], [ false, %201 ]
  %204 = load double, ptr %12, align 8, !tbaa !9
  %205 = load ptr, ptr %14, align 8, !tbaa !11
  store double %204, ptr %205, align 8, !tbaa !9
  %206 = load double, ptr %13, align 8, !tbaa !9
  %207 = load ptr, ptr %15, align 8, !tbaa !11
  store double %206, ptr %207, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %25, align 4
  br label %334

208:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %209 = load i64, ptr %9, align 8, !tbaa !5
  %210 = call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMinIlEET_S1_S1_(i64 noundef 32, i64 noundef %209) #6
  store i64 %210, ptr %26, align 8, !tbaa !5
  %211 = load i64, ptr %26, align 8, !tbaa !5
  %212 = icmp ule i64 1, %211
  br i1 %212, label %215, label %213

213:                                              ; preds = %208
  call void @LogAssertFailure(i64 noundef 1193, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.127)
  call void @__assert_fail(ptr noundef @.str.128, ptr noundef @.str, i32 noundef 1193, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

214:                                              ; No predecessors!
  br label %215

215:                                              ; preds = %214, %208
  %216 = phi i1 [ true, %208 ], [ false, %214 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %217 = load i64, ptr %26, align 8, !tbaa !5
  %218 = shl i64 %217, 1
  store i64 %218, ptr %27, align 8, !tbaa !5
  %219 = load i64, ptr %27, align 8, !tbaa !5
  %220 = icmp ule i64 2, %219
  br i1 %220, label %223, label %221

221:                                              ; preds = %215
  call void @LogAssertFailure(i64 noundef 1195, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.129)
  call void @__assert_fail(ptr noundef @.str.130, ptr noundef @.str, i32 noundef 1195, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

222:                                              ; No predecessors!
  br label %223

223:                                              ; preds = %222, %215
  %224 = phi i1 [ true, %215 ], [ false, %222 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %225 = load i64, ptr %27, align 8, !tbaa !5
  %226 = uitofp i64 %225 to double
  store double %226, ptr %28, align 8, !tbaa !9
  %227 = load double, ptr %12, align 8, !tbaa !9
  %228 = load double, ptr %13, align 8, !tbaa !9
  %229 = fcmp olt double %227, %228
  br i1 %229, label %232, label %230

230:                                              ; preds = %223
  call void @LogAssertFailure(i64 noundef 1198, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.131)
  call void @__assert_fail(ptr noundef @.str.132, ptr noundef @.str, i32 noundef 1198, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

231:                                              ; No predecessors!
  br label %232

232:                                              ; preds = %231, %223
  %233 = phi i1 [ true, %223 ], [ false, %231 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %234 = load double, ptr %13, align 8, !tbaa !9
  %235 = load double, ptr %12, align 8, !tbaa !9
  %236 = fsub double %234, %235
  store double %236, ptr %29, align 8, !tbaa !9
  %237 = load double, ptr %29, align 8, !tbaa !9
  %238 = call noundef zeroext i1 @_ZSt5isnand(double noundef %237)
  br i1 %238, label %239, label %241

239:                                              ; preds = %232
  call void @LogAssertFailure(i64 noundef 1201, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.133)
  call void @__assert_fail(ptr noundef @.str.134, ptr noundef @.str, i32 noundef 1201, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

240:                                              ; No predecessors!
  br label %241

241:                                              ; preds = %240, %232
  %242 = phi i1 [ true, %232 ], [ false, %240 ]
  %243 = load double, ptr %29, align 8, !tbaa !9
  %244 = fcmp olt double 0.000000e+00, %243
  br i1 %244, label %247, label %245

245:                                              ; preds = %241
  call void @LogAssertFailure(i64 noundef 1203, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.135)
  call void @__assert_fail(ptr noundef @.str.136, ptr noundef @.str, i32 noundef 1203, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

246:                                              ; No predecessors!
  br label %247

247:                                              ; preds = %246, %241
  %248 = phi i1 [ true, %241 ], [ false, %246 ]
  %249 = load double, ptr %29, align 8, !tbaa !9
  %250 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %249)
  br i1 %250, label %251, label %259

251:                                              ; preds = %247
  %252 = load double, ptr %13, align 8, !tbaa !9
  %253 = load double, ptr %28, align 8, !tbaa !9
  %254 = fdiv double %252, %253
  %255 = load double, ptr %12, align 8, !tbaa !9
  %256 = load double, ptr %28, align 8, !tbaa !9
  %257 = fdiv double %255, %256
  %258 = fsub double %254, %257
  store double %258, ptr %29, align 8, !tbaa !9
  br label %263

259:                                              ; preds = %247
  %260 = load double, ptr %28, align 8, !tbaa !9
  %261 = load double, ptr %29, align 8, !tbaa !9
  %262 = fdiv double %261, %260
  store double %262, ptr %29, align 8, !tbaa !9
  br label %263

263:                                              ; preds = %259, %251
  %264 = load double, ptr %29, align 8, !tbaa !9
  %265 = call noundef zeroext i1 @_ZSt5isnand(double noundef %264)
  br i1 %265, label %266, label %268

266:                                              ; preds = %263
  call void @LogAssertFailure(i64 noundef 1213, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.99)
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str, i32 noundef 1213, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

267:                                              ; No predecessors!
  br label %268

268:                                              ; preds = %267, %263
  %269 = phi i1 [ true, %263 ], [ false, %267 ]
  %270 = load double, ptr %29, align 8, !tbaa !9
  %271 = fcmp ole double 0.000000e+00, %270
  br i1 %271, label %274, label %272

272:                                              ; preds = %268
  call void @LogAssertFailure(i64 noundef 1214, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.101)
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str, i32 noundef 1214, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

273:                                              ; No predecessors!
  br label %274

274:                                              ; preds = %273, %268
  %275 = phi i1 [ true, %268 ], [ false, %273 ]
  %276 = load i8, ptr %23, align 1, !tbaa !15, !range !17, !noundef !18
  %277 = trunc i8 %276 to i1
  br i1 %277, label %278, label %302

278:                                              ; preds = %274
  %279 = load double, ptr %12, align 8, !tbaa !9
  %280 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %281 = fcmp ole double %279, %280
  br i1 %281, label %284, label %282

282:                                              ; preds = %278
  call void @LogAssertFailure(i64 noundef 1218, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.137)
  call void @__assert_fail(ptr noundef @.str.138, ptr noundef @.str, i32 noundef 1218, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

283:                                              ; No predecessors!
  br label %284

284:                                              ; preds = %283, %278
  %285 = phi i1 [ true, %278 ], [ false, %283 ]
  %286 = load double, ptr %29, align 8, !tbaa !9
  %287 = load double, ptr %12, align 8, !tbaa !9
  %288 = fsub double %287, %286
  store double %288, ptr %12, align 8, !tbaa !9
  %289 = load double, ptr %12, align 8, !tbaa !9
  %290 = call noundef zeroext i1 @_ZSt5isnand(double noundef %289)
  br i1 %290, label %291, label %293

291:                                              ; preds = %284
  call void @LogAssertFailure(i64 noundef 1221, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.139)
  call void @__assert_fail(ptr noundef @.str.140, ptr noundef @.str, i32 noundef 1221, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

292:                                              ; No predecessors!
  br label %293

293:                                              ; preds = %292, %284
  %294 = phi i1 [ true, %284 ], [ false, %292 ]
  %295 = load double, ptr %12, align 8, !tbaa !9
  %296 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %297 = fcmp ole double %295, %296
  br i1 %297, label %300, label %298

298:                                              ; preds = %293
  call void @LogAssertFailure(i64 noundef 1222, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.137)
  call void @__assert_fail(ptr noundef @.str.138, ptr noundef @.str, i32 noundef 1222, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

299:                                              ; No predecessors!
  br label %300

300:                                              ; preds = %299, %293
  %301 = phi i1 [ true, %293 ], [ false, %299 ]
  br label %302

302:                                              ; preds = %300, %274
  %303 = load i8, ptr %24, align 1, !tbaa !15, !range !17, !noundef !18
  %304 = trunc i8 %303 to i1
  br i1 %304, label %305, label %329

305:                                              ; preds = %302
  %306 = call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #6
  %307 = load double, ptr %13, align 8, !tbaa !9
  %308 = fcmp ole double %306, %307
  br i1 %308, label %311, label %309

309:                                              ; preds = %305
  call void @LogAssertFailure(i64 noundef 1228, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.141)
  call void @__assert_fail(ptr noundef @.str.142, ptr noundef @.str, i32 noundef 1228, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

310:                                              ; No predecessors!
  br label %311

311:                                              ; preds = %310, %305
  %312 = phi i1 [ true, %305 ], [ false, %310 ]
  %313 = load double, ptr %29, align 8, !tbaa !9
  %314 = load double, ptr %13, align 8, !tbaa !9
  %315 = fadd double %314, %313
  store double %315, ptr %13, align 8, !tbaa !9
  %316 = load double, ptr %13, align 8, !tbaa !9
  %317 = call noundef zeroext i1 @_ZSt5isnand(double noundef %316)
  br i1 %317, label %318, label %320

318:                                              ; preds = %311
  call void @LogAssertFailure(i64 noundef 1231, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.143)
  call void @__assert_fail(ptr noundef @.str.144, ptr noundef @.str, i32 noundef 1231, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

319:                                              ; No predecessors!
  br label %320

320:                                              ; preds = %319, %311
  %321 = phi i1 [ true, %311 ], [ false, %319 ]
  %322 = call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #6
  %323 = load double, ptr %13, align 8, !tbaa !9
  %324 = fcmp ole double %322, %323
  br i1 %324, label %327, label %325

325:                                              ; preds = %320
  call void @LogAssertFailure(i64 noundef 1232, ptr noundef @.str, ptr noundef @__func__.SuggestGraphBounds, ptr noundef @.str.141)
  call void @__assert_fail(ptr noundef @.str.142, ptr noundef @.str, i32 noundef 1232, ptr noundef @__PRETTY_FUNCTION__.SuggestGraphBounds) #7
  unreachable

326:                                              ; No predecessors!
  br label %327

327:                                              ; preds = %326, %320
  %328 = phi i1 [ true, %320 ], [ false, %326 ]
  br label %329

329:                                              ; preds = %327, %302
  %330 = load double, ptr %12, align 8, !tbaa !9
  %331 = load ptr, ptr %14, align 8, !tbaa !11
  store double %330, ptr %331, align 8, !tbaa !9
  %332 = load double, ptr %13, align 8, !tbaa !9
  %333 = load ptr, ptr %15, align 8, !tbaa !11
  store double %332, ptr %333, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %334

334:                                              ; preds = %329, %202
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %335

335:                                              ; preds = %334, %163, %147, %129, %106, %101, %93, %87, %76, %59, %48, %38
  %336 = load i32, ptr %8, align 4
  ret i32 %336
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL6EbmMinIlEET_S1_S1_(i64 noundef, i64 noundef) #5

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}


; 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"

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [33 x i8], align 1
@g_traceLevel = external local_unnamed_addr global i32, align 4
@_ZZ18SuggestGraphBoundsE13LOG__sMessage = external hidden constant [53 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_0 = external hidden constant [54 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_1 = external hidden constant [55 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_2 = external hidden constant [50 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_3 = external hidden constant [124 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_4 = external hidden constant [96 x i8], align 16
@_ZZ18SuggestGraphBoundsE13LOG__sMessage_5 = external hidden constant [49 x i8], align 16
@__func__.SuggestGraphBounds = external hidden unnamed_addr constant [19 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.SuggestGraphBounds = external hidden unnamed_addr constant [104 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [30 x i8], align 1

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

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local range(i32 -3, 1) i32 @SuggestGraphBounds(i64 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef writeonly %5, ptr noundef writeonly %6) local_unnamed_addr #3 {
  %8 = icmp eq ptr %5, null
  br i1 %8, label %9, label %13

9:                                                ; preds = %7
  %10 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %12, label %159

12:                                               ; preds = %9
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage)
  br label %159

13:                                               ; preds = %7
  %14 = icmp eq ptr %6, null
  br i1 %14, label %15, label %19

15:                                               ; preds = %13
  %16 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %18, label %159

18:                                               ; preds = %15
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage_0)
  br label %159

19:                                               ; preds = %13
  %20 = fcmp olt double %4, %3
  br i1 %20, label %21, label %28

21:                                               ; preds = %19
  %22 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %21
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage_1)
  br label %25

25:                                               ; preds = %24, %21
  %26 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %26, ptr %5, align 8, !tbaa !9
  %27 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %27, ptr %6, align 8, !tbaa !9
  br label %159

28:                                               ; preds = %19
  %29 = icmp slt i64 %0, 1
  br i1 %29, label %30, label %51

30:                                               ; preds = %28
  %31 = icmp slt i64 %0, 0
  br i1 %31, label %32, label %39

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

35:                                               ; preds = %32
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage_2)
  br label %36

36:                                               ; preds = %35, %32
  %37 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %37, ptr %5, align 8, !tbaa !9
  %38 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %38, ptr %6, align 8, !tbaa !9
  br label %159

39:                                               ; preds = %30
  %40 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %3)
  %41 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %4)
  br i1 %40, label %42, label %48

42:                                               ; preds = %39
  br i1 %41, label %43, label %47

43:                                               ; preds = %42
  %44 = tail call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #5
  %45 = fneg double %44
  store double %45, ptr %5, align 8, !tbaa !9
  %46 = tail call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #5
  store double %46, ptr %6, align 8, !tbaa !9
  br label %159

47:                                               ; preds = %42
  store double %4, ptr %5, align 8, !tbaa !9
  store double %4, ptr %6, align 8, !tbaa !9
  br label %159

48:                                               ; preds = %39
  store double %3, ptr %5, align 8, !tbaa !9
  br i1 %41, label %49, label %50

49:                                               ; preds = %48
  store double %3, ptr %6, align 8, !tbaa !9
  br label %159

50:                                               ; preds = %48
  store double %4, ptr %6, align 8, !tbaa !9
  br label %159

51:                                               ; preds = %28
  %52 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %1)
  br i1 %52, label %59, label %53

53:                                               ; preds = %51
  %54 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %1)
  br i1 %54, label %59, label %55

55:                                               ; preds = %53
  %56 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %2)
  br i1 %56, label %59, label %57

57:                                               ; preds = %55
  %58 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %2)
  br i1 %58, label %59, label %66

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

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

63:                                               ; preds = %62, %59
  %64 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %64, ptr %5, align 8, !tbaa !9
  %65 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %65, ptr %6, align 8, !tbaa !9
  br label %159

66:                                               ; preds = %57
  %67 = icmp eq i64 %0, 1
  br i1 %67, label %68, label %77

68:                                               ; preds = %66
  %69 = fcmp une double %1, %2
  br i1 %69, label %70, label %86

70:                                               ; preds = %68
  %71 = load i32, ptr @g_traceLevel, align 4, !tbaa !5
  %72 = icmp sgt i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage_4)
  br label %74

74:                                               ; preds = %73, %70
  %75 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %75, ptr %5, align 8, !tbaa !9
  %76 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %76, ptr %6, align 8, !tbaa !9
  br label %159

77:                                               ; preds = %66
  %78 = fcmp ugt double %2, %1
  br i1 %78, label %86, label %79

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

82:                                               ; preds = %79
  tail call void @InteralLogWithoutArguments(i32 noundef 1, ptr noundef nonnull @_ZZ18SuggestGraphBoundsE13LOG__sMessage_5)
  br label %83

83:                                               ; preds = %82, %79
  %84 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %84, ptr %5, align 8, !tbaa !9
  %85 = tail call noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() #5
  store double %85, ptr %6, align 8, !tbaa !9
  br label %159

86:                                               ; preds = %77, %68
  %87 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %3)
  br i1 %87, label %91, label %88

88:                                               ; preds = %86
  %89 = fcmp olt double %1, %3
  br i1 %89, label %90, label %91

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %86, %88, %90
  %.0101 = phi i1 [ true, %90 ], [ false, %88 ], [ true, %86 ]
  %.096 = phi double [ %1, %90 ], [ %3, %88 ], [ %1, %86 ]
  %92 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %4)
  br i1 %92, label %96, label %93

93:                                               ; preds = %91
  %94 = fcmp olt double %4, %2
  br i1 %94, label %95, label %96

95:                                               ; preds = %93
  br label %96

96:                                               ; preds = %91, %93, %95
  %.0100 = phi i1 [ true, %95 ], [ false, %93 ], [ true, %91 ]
  %.098 = phi double [ %2, %95 ], [ %4, %93 ], [ %2, %91 ]
  %97 = fcmp oeq double %.096, %.098
  br i1 %97, label %98, label %100

98:                                               ; preds = %96
  br i1 %67, label %158, label %99

99:                                               ; preds = %98
  tail call void @LogAssertFailure(i64 noundef 1178, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.125)
  tail call void @__assert_fail(ptr noundef nonnull @.str.126, ptr noundef nonnull @.str, i32 noundef 1178, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

100:                                              ; preds = %96
  %101 = tail call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMinIlEET_S1_S1_(i64 noundef 32, i64 noundef %0) #5
  %.not = icmp eq i64 %101, 0
  br i1 %.not, label %102, label %103

102:                                              ; preds = %100
  tail call void @LogAssertFailure(i64 noundef 1193, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.127)
  tail call void @__assert_fail(ptr noundef nonnull @.str.128, ptr noundef nonnull @.str, i32 noundef 1193, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

103:                                              ; preds = %100
  %104 = shl i64 %101, 1
  %.not115 = icmp eq i64 %104, 0
  br i1 %.not115, label %105, label %106

105:                                              ; preds = %103
  tail call void @LogAssertFailure(i64 noundef 1195, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.129)
  tail call void @__assert_fail(ptr noundef nonnull @.str.130, ptr noundef nonnull @.str, i32 noundef 1195, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

106:                                              ; preds = %103
  %107 = uitofp i64 %104 to double
  %108 = fcmp olt double %.096, %.098
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  tail call void @LogAssertFailure(i64 noundef 1198, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.131)
  tail call void @__assert_fail(ptr noundef nonnull @.str.132, ptr noundef nonnull @.str, i32 noundef 1198, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

110:                                              ; preds = %106
  %111 = fsub double %.098, %.096
  %112 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %111)
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  tail call void @LogAssertFailure(i64 noundef 1201, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.133)
  tail call void @__assert_fail(ptr noundef nonnull @.str.134, ptr noundef nonnull @.str, i32 noundef 1201, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

114:                                              ; preds = %110
  %115 = fcmp ogt double %111, 0.000000e+00
  br i1 %115, label %117, label %116

116:                                              ; preds = %114
  tail call void @LogAssertFailure(i64 noundef 1203, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.135)
  tail call void @__assert_fail(ptr noundef nonnull @.str.136, ptr noundef nonnull @.str, i32 noundef 1203, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

117:                                              ; preds = %114
  %118 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %111)
  %119 = insertelement <2 x double> poison, double %.098, i64 0
  %120 = insertelement <2 x double> %119, double %.096, i64 1
  %121 = insertelement <2 x double> poison, double %107, i64 0
  %122 = shufflevector <2 x double> %121, <2 x double> poison, <2 x i32> zeroinitializer
  %123 = fdiv <2 x double> %120, %122
  %shift = shufflevector <2 x double> %123, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %124 = fsub <2 x double> %123, %shift
  %125 = extractelement <2 x double> %124, i64 0
  %126 = fdiv double %111, %107
  %.0 = select i1 %118, double %125, double %126
  %127 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %.0)
  br i1 %127, label %128, label %129

128:                                              ; preds = %117
  tail call void @LogAssertFailure(i64 noundef 1213, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.99)
  tail call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str, i32 noundef 1213, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

129:                                              ; preds = %117
  %130 = fcmp ult double %.0, 0.000000e+00
  br i1 %130, label %131, label %132

131:                                              ; preds = %129
  tail call void @LogAssertFailure(i64 noundef 1214, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.101)
  tail call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str, i32 noundef 1214, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

132:                                              ; preds = %129
  br i1 %.0101, label %133, label %145

133:                                              ; preds = %132
  %134 = tail call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #5
  %135 = fcmp ugt double %.096, %134
  br i1 %135, label %136, label %137

136:                                              ; preds = %133
  tail call void @LogAssertFailure(i64 noundef 1218, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.137)
  tail call void @__assert_fail(ptr noundef nonnull @.str.138, ptr noundef nonnull @.str, i32 noundef 1218, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

137:                                              ; preds = %133
  %138 = fsub double %.096, %.0
  %139 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %138)
  br i1 %139, label %140, label %141

140:                                              ; preds = %137
  tail call void @LogAssertFailure(i64 noundef 1221, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.139)
  tail call void @__assert_fail(ptr noundef nonnull @.str.140, ptr noundef nonnull @.str, i32 noundef 1221, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

141:                                              ; preds = %137
  %142 = tail call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #5
  %143 = fcmp ugt double %138, %142
  br i1 %143, label %144, label %145

144:                                              ; preds = %141
  tail call void @LogAssertFailure(i64 noundef 1222, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.137)
  tail call void @__assert_fail(ptr noundef nonnull @.str.138, ptr noundef nonnull @.str, i32 noundef 1222, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

145:                                              ; preds = %141, %132
  %.197 = phi double [ %138, %141 ], [ %.096, %132 ]
  br i1 %.0100, label %146, label %158

146:                                              ; preds = %145
  %147 = tail call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #5
  %148 = fcmp ugt double %147, %.098
  br i1 %148, label %149, label %150

149:                                              ; preds = %146
  tail call void @LogAssertFailure(i64 noundef 1228, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.141)
  tail call void @__assert_fail(ptr noundef nonnull @.str.142, ptr noundef nonnull @.str, i32 noundef 1228, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

150:                                              ; preds = %146
  %151 = fadd double %.098, %.0
  %152 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %151)
  br i1 %152, label %153, label %154

153:                                              ; preds = %150
  tail call void @LogAssertFailure(i64 noundef 1231, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.143)
  tail call void @__assert_fail(ptr noundef nonnull @.str.144, ptr noundef nonnull @.str, i32 noundef 1231, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

154:                                              ; preds = %150
  %155 = tail call noundef double @_ZNSt14numeric_limitsIdE6lowestEv() #5
  %156 = fcmp ugt double %155, %151
  br i1 %156, label %157, label %158

157:                                              ; preds = %154
  tail call void @LogAssertFailure(i64 noundef 1232, ptr noundef nonnull @.str, ptr noundef nonnull @__func__.SuggestGraphBounds, ptr noundef nonnull @.str.141)
  tail call void @__assert_fail(ptr noundef nonnull @.str.142, ptr noundef nonnull @.str, i32 noundef 1232, ptr noundef nonnull @__PRETTY_FUNCTION__.SuggestGraphBounds) #6
  unreachable

158:                                              ; preds = %145, %154, %98
  %storemerge116 = phi double [ %.096, %98 ], [ %.197, %154 ], [ %.197, %145 ]
  %storemerge = phi double [ %.098, %98 ], [ %151, %154 ], [ %.098, %145 ]
  store double %storemerge116, ptr %5, align 8, !tbaa !9
  store double %storemerge, ptr %6, align 8, !tbaa !9
  br label %159

159:                                              ; preds = %15, %18, %9, %12, %158, %83, %74, %63, %50, %49, %47, %43, %36, %25
  %.1 = phi i32 [ -3, %25 ], [ -3, %36 ], [ 0, %43 ], [ 0, %47 ], [ 0, %49 ], [ 0, %50 ], [ -3, %63 ], [ -3, %74 ], [ 0, %158 ], [ -3, %83 ], [ -3, %12 ], [ -3, %9 ], [ -3, %18 ], [ -3, %15 ]
  ret i32 %.1
}

declare void @InteralLogWithoutArguments(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE9quiet_NaNEv() local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL6EbmMinIlEET_S1_S1_(i64 noundef, i64 noundef) local_unnamed_addr #4

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass