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

; 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.25 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [37 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd = external hidden unnamed_addr constant [25 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd = external hidden unnamed_addr constant [76 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
@.str.103 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [26 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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) #3

; 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) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL17FloatToFullStringEdPc(double noundef, ptr noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %0, double noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca i8, align 1
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca [26 x i8], align 16
  %11 = alloca i64, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  store double %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !5
  %17 = load double, ptr %3, align 8, !tbaa !5
  %18 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %17)
          to label %19 unwind label %243

19:                                               ; preds = %2
  br i1 %18, label %20, label %23

20:                                               ; preds = %19
  invoke void @LogAssertFailure(i64 noundef 715, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.97)
          to label %21 unwind label %243

21:                                               ; preds = %20
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str, i32 noundef 715, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %19
  %24 = phi i1 [ true, %19 ], [ false, %22 ]
  %25 = load double, ptr %4, align 8, !tbaa !5
  %26 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %25)
          to label %27 unwind label %243

27:                                               ; preds = %23
  br i1 %26, label %28, label %31

28:                                               ; preds = %27
  invoke void @LogAssertFailure(i64 noundef 716, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.99)
          to label %29 unwind label %243

29:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.100, ptr noundef @.str, i32 noundef 716, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %27
  %32 = phi i1 [ true, %27 ], [ false, %30 ]
  %33 = load double, ptr %4, align 8, !tbaa !5
  %34 = fcmp ole double 0.000000e+00, %33
  br i1 %34, label %38, label %35

35:                                               ; preds = %31
  invoke void @LogAssertFailure(i64 noundef 717, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.101)
          to label %36 unwind label %243

36:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str, i32 noundef 717, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %31
  %39 = phi i1 [ true, %31 ], [ false, %37 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %40 = load double, ptr %3, align 8, !tbaa !5
  store double %40, ptr %5, align 8, !tbaa !5
  %41 = load double, ptr %5, align 8, !tbaa !5
  %42 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %41)
          to label %43 unwind label %243

43:                                               ; preds = %38
  %44 = xor i1 %42, true
  %45 = xor i1 %44, true
  %46 = xor i1 %45, true
  %47 = zext i1 %46 to i64
  %48 = call i64 @llvm.expect.i64(i64 %47, i64 1)
  %49 = icmp ne i64 %48, 0
  br i1 %49, label %50, label %241

50:                                               ; preds = %43
  %51 = load double, ptr %4, align 8, !tbaa !5
  %52 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %51)
          to label %53 unwind label %243

53:                                               ; preds = %50
  br i1 %52, label %54, label %57

54:                                               ; preds = %53
  invoke void @LogAssertFailure(i64 noundef 726, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.103)
          to label %55 unwind label %243

55:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.104, ptr noundef @.str, i32 noundef 726, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %53
  %58 = phi i1 [ true, %53 ], [ false, %56 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %59 = load double, ptr %4, align 8, !tbaa !5
  %60 = fmul double 2.500000e-01, %59
  store double %60, ptr %6, align 8, !tbaa !5
  %61 = load double, ptr %6, align 8, !tbaa !5
  %62 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %61)
          to label %63 unwind label %243

63:                                               ; preds = %57
  br i1 %62, label %64, label %67

64:                                               ; preds = %63
  invoke void @LogAssertFailure(i64 noundef 729, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.105)
          to label %65 unwind label %243

65:                                               ; preds = %64
  call void @__assert_fail(ptr noundef @.str.106, ptr noundef @.str, i32 noundef 729, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

66:                                               ; No predecessors!
  br label %67

67:                                               ; preds = %66, %63
  %68 = phi i1 [ true, %63 ], [ false, %66 ]
  %69 = load double, ptr %6, align 8, !tbaa !5
  %70 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %69)
          to label %71 unwind label %243

71:                                               ; preds = %67
  br i1 %70, label %72, label %75

72:                                               ; preds = %71
  invoke void @LogAssertFailure(i64 noundef 730, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.107)
          to label %73 unwind label %243

73:                                               ; preds = %72
  call void @__assert_fail(ptr noundef @.str.108, ptr noundef @.str, i32 noundef 730, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

74:                                               ; No predecessors!
  br label %75

75:                                               ; preds = %74, %71
  %76 = phi i1 [ true, %71 ], [ false, %74 ]
  %77 = load double, ptr %6, align 8, !tbaa !5
  %78 = fcmp ole double 0.000000e+00, %77
  br i1 %78, label %82, label %79

79:                                               ; preds = %75
  invoke void @LogAssertFailure(i64 noundef 731, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.109)
          to label %80 unwind label %243

80:                                               ; preds = %79
  call void @__assert_fail(ptr noundef @.str.110, ptr noundef @.str, i32 noundef 731, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81, %75
  %83 = phi i1 [ true, %75 ], [ false, %81 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 0, ptr %7, align 1, !tbaa !9
  %84 = load double, ptr %5, align 8, !tbaa !5
  %85 = fcmp olt double %84, 0.000000e+00
  br i1 %85, label %86, label %89

86:                                               ; preds = %82
  %87 = load double, ptr %5, align 8, !tbaa !5
  %88 = fneg double %87
  store double %88, ptr %5, align 8, !tbaa !5
  store i8 1, ptr %7, align 1, !tbaa !9
  br label %89

89:                                               ; preds = %86, %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %90 = load double, ptr %5, align 8, !tbaa !5
  %91 = load double, ptr %6, align 8, !tbaa !5
  %92 = fsub double %90, %91
  store double %92, ptr %8, align 8, !tbaa !5
  %93 = load double, ptr %8, align 8, !tbaa !5
  %94 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %93)
          to label %95 unwind label %243

95:                                               ; preds = %89
  br i1 %94, label %96, label %99

96:                                               ; preds = %95
  invoke void @LogAssertFailure(i64 noundef 740, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.111)
          to label %97 unwind label %243

97:                                               ; preds = %96
  call void @__assert_fail(ptr noundef @.str.112, ptr noundef @.str, i32 noundef 740, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

98:                                               ; No predecessors!
  br label %99

99:                                               ; preds = %98, %95
  %100 = phi i1 [ true, %95 ], [ false, %98 ]
  %101 = load double, ptr %8, align 8, !tbaa !5
  %102 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %101)
          to label %103 unwind label %243

103:                                              ; preds = %99
  br i1 %102, label %104, label %107

104:                                              ; preds = %103
  invoke void @LogAssertFailure(i64 noundef 743, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.113)
          to label %105 unwind label %243

105:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.114, ptr noundef @.str, i32 noundef 743, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106, %103
  %108 = phi i1 [ true, %103 ], [ false, %106 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %109 = load double, ptr %5, align 8, !tbaa !5
  %110 = load double, ptr %6, align 8, !tbaa !5
  %111 = fadd double %109, %110
  store double %111, ptr %9, align 8, !tbaa !5
  %112 = load double, ptr %9, align 8, !tbaa !5
  %113 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %112)
          to label %114 unwind label %243

114:                                              ; preds = %107
  br i1 %113, label %115, label %118

115:                                              ; preds = %114
  invoke void @LogAssertFailure(i64 noundef 747, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.115)
          to label %116 unwind label %243

116:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.116, ptr noundef @.str, i32 noundef 747, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

117:                                              ; No predecessors!
  br label %118

118:                                              ; preds = %117, %114
  %119 = phi i1 [ true, %114 ], [ false, %117 ]
  %120 = load double, ptr %9, align 8, !tbaa !5
  %121 = fcmp ole double 0.000000e+00, %120
  br i1 %121, label %125, label %122

122:                                              ; preds = %118
  invoke void @LogAssertFailure(i64 noundef 748, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.117)
          to label %123 unwind label %243

123:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.118, ptr noundef @.str, i32 noundef 748, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124, %118
  %126 = phi i1 [ true, %118 ], [ false, %124 ]
  call void @llvm.lifetime.start.p0(i64 26, ptr %10) #7
  %127 = load double, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds [26 x i8], ptr %10, i64 0, i64 0
  %129 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL17FloatToFullStringEdPc(double noundef %127, ptr noundef %128) #7
  %130 = xor i1 %129, true
  %131 = xor i1 %130, true
  %132 = xor i1 %131, true
  %133 = zext i1 %132 to i64
  %134 = call i64 @llvm.expect.i64(i64 %133, i64 1)
  %135 = icmp ne i64 %134, 0
  br i1 %135, label %136, label %234

136:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %137

137:                                              ; preds = %230, %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %138 = getelementptr inbounds [26 x i8], ptr %10, i64 0, i64 0
  %139 = load i64, ptr %11, align 8, !tbaa !11
  %140 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL20StringToFloatChoppedEPKcmPdS2_(ptr noundef %138, i64 noundef %139, ptr noundef %12, ptr noundef %13) #7
  %141 = xor i1 %140, true
  %142 = xor i1 %141, true
  %143 = zext i1 %142 to i64
  %144 = call i64 @llvm.expect.i64(i64 %143, i64 0)
  %145 = icmp ne i64 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %137
  store i32 2, ptr %14, align 4
  br label %227

147:                                              ; preds = %137
  %148 = load double, ptr %12, align 8, !tbaa !5
  %149 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %148)
          to label %150 unwind label %243

150:                                              ; preds = %147
  br i1 %149, label %151, label %154

151:                                              ; preds = %150
  invoke void @LogAssertFailure(i64 noundef 762, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.25)
          to label %152 unwind label %243

152:                                              ; preds = %151
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str, i32 noundef 762, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

153:                                              ; No predecessors!
  br label %154

154:                                              ; preds = %153, %150
  %155 = phi i1 [ true, %150 ], [ false, %153 ]
  %156 = load double, ptr %13, align 8, !tbaa !5
  %157 = invoke noundef zeroext i1 @_ZSt5isinfd(double noundef %156)
          to label %158 unwind label %243

158:                                              ; preds = %154
  br i1 %157, label %159, label %162

159:                                              ; preds = %158
  invoke void @LogAssertFailure(i64 noundef 763, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.33)
          to label %160 unwind label %243

160:                                              ; preds = %159
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str, i32 noundef 763, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

161:                                              ; No predecessors!
  br label %162

162:                                              ; preds = %161, %158
  %163 = phi i1 [ true, %158 ], [ false, %161 ]
  %164 = load double, ptr %8, align 8, !tbaa !5
  %165 = load double, ptr %12, align 8, !tbaa !5
  %166 = fcmp ole double %164, %165
  br i1 %166, label %167, label %213

167:                                              ; preds = %162
  %168 = load double, ptr %12, align 8, !tbaa !5
  %169 = load double, ptr %9, align 8, !tbaa !5
  %170 = fcmp ole double %168, %169
  br i1 %170, label %171, label %213

171:                                              ; preds = %167
  %172 = load double, ptr %8, align 8, !tbaa !5
  %173 = load double, ptr %13, align 8, !tbaa !5
  %174 = fcmp ole double %172, %173
  br i1 %174, label %175, label %211

175:                                              ; preds = %171
  %176 = load double, ptr %13, align 8, !tbaa !5
  %177 = load double, ptr %9, align 8, !tbaa !5
  %178 = fcmp ole double %176, %177
  br i1 %178, label %179, label %211

179:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %180 = load double, ptr %5, align 8, !tbaa !5
  %181 = load double, ptr %12, align 8, !tbaa !5
  %182 = fsub double %180, %181
  store double %182, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %183 = load double, ptr %13, align 8, !tbaa !5
  %184 = load double, ptr %5, align 8, !tbaa !5
  %185 = fsub double %183, %184
  store double %185, ptr %16, align 8, !tbaa !5
  %186 = load double, ptr %15, align 8, !tbaa !5
  %187 = fcmp olt double 0xBEB0C6F7A0B5ED8D, %186
  br i1 %187, label %191, label %188

188:                                              ; preds = %179
  invoke void @LogAssertFailure(i64 noundef 770, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.93)
          to label %189 unwind label %243

189:                                              ; preds = %188
  call void @__assert_fail(ptr noundef @.str.94, ptr noundef @.str, i32 noundef 770, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

190:                                              ; No predecessors!
  br label %191

191:                                              ; preds = %190, %179
  %192 = phi i1 [ true, %179 ], [ false, %190 ]
  %193 = load double, ptr %16, align 8, !tbaa !5
  %194 = fcmp olt double 0xBEB0C6F7A0B5ED8D, %193
  br i1 %194, label %198, label %195

195:                                              ; preds = %191
  invoke void @LogAssertFailure(i64 noundef 771, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef @.str.95)
          to label %196 unwind label %243

196:                                              ; preds = %195
  call void @__assert_fail(ptr noundef @.str.96, ptr noundef @.str, i32 noundef 771, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #6
  unreachable

197:                                              ; No predecessors!
  br label %198

198:                                              ; preds = %197, %191
  %199 = phi i1 [ true, %191 ], [ false, %197 ]
  %200 = load double, ptr %16, align 8, !tbaa !5
  %201 = load double, ptr %15, align 8, !tbaa !5
  %202 = fcmp olt double %200, %201
  %203 = xor i1 %202, true
  %204 = xor i1 %203, true
  br i1 %204, label %205, label %207, !unpredictable !13

205:                                              ; preds = %198
  %206 = load double, ptr %13, align 8, !tbaa !5
  store double %206, ptr %5, align 8, !tbaa !5
  store i32 2, ptr %14, align 4
  br label %208

207:                                              ; preds = %198
  store i32 0, ptr %14, align 4
  br label %208

208:                                              ; preds = %207, %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  %209 = load i32, ptr %14, align 4
  switch i32 %209, label %227 [
    i32 0, label %210
  ]

210:                                              ; preds = %208
  br label %211

211:                                              ; preds = %210, %175, %171
  %212 = load double, ptr %12, align 8, !tbaa !5
  store double %212, ptr %5, align 8, !tbaa !5
  store i32 2, ptr %14, align 4
  br label %227

213:                                              ; preds = %167, %162
  %214 = load double, ptr %8, align 8, !tbaa !5
  %215 = load double, ptr %13, align 8, !tbaa !5
  %216 = fcmp ole double %214, %215
  br i1 %216, label %217, label %223

217:                                              ; preds = %213
  %218 = load double, ptr %13, align 8, !tbaa !5
  %219 = load double, ptr %9, align 8, !tbaa !5
  %220 = fcmp ole double %218, %219
  br i1 %220, label %221, label %223

221:                                              ; preds = %217
  %222 = load double, ptr %13, align 8, !tbaa !5
  store double %222, ptr %5, align 8, !tbaa !5
  store i32 2, ptr %14, align 4
  br label %227

223:                                              ; preds = %217, %213
  br label %224

224:                                              ; preds = %223
  %225 = load i64, ptr %11, align 8, !tbaa !11
  %226 = add i64 %225, 1
  store i64 %226, ptr %11, align 8, !tbaa !11
  store i32 0, ptr %14, align 4
  br label %227

227:                                              ; preds = %224, %221, %211, %208, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %228 = load i32, ptr %14, align 4
  switch i32 %228, label %246 [
    i32 0, label %229
    i32 2, label %233
  ]

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %229
  %231 = load i64, ptr %11, align 8, !tbaa !11
  %232 = icmp ne i64 16, %231
  br i1 %232, label %137, label %233, !llvm.loop !14

233:                                              ; preds = %230, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %234

234:                                              ; preds = %233, %125
  %235 = load i8, ptr %7, align 1, !tbaa !9, !range !16, !noundef !13
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %240

237:                                              ; preds = %234
  %238 = load double, ptr %5, align 8, !tbaa !5
  %239 = fneg double %238
  store double %239, ptr %5, align 8, !tbaa !5
  br label %240

240:                                              ; preds = %237, %234
  call void @llvm.lifetime.end.p0(i64 26, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %241

241:                                              ; preds = %240, %43
  %242 = load double, ptr %5, align 8, !tbaa !5
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret double %242

243:                                              ; preds = %195, %188, %159, %154, %151, %147, %122, %115, %107, %104, %99, %96, %89, %79, %72, %67, %64, %57, %54, %50, %38, %35, %28, %23, %20, %2
  %244 = landingpad { ptr, i32 }
          catch ptr null
  %245 = extractvalue { ptr, i32 } %244, 0
  call void @__clang_call_terminate(ptr %245) #6
  unreachable

246:                                              ; preds = %227
  unreachable
}

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


; 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.25 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [37 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd = external hidden unnamed_addr constant [25 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd = external hidden unnamed_addr constant [76 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
@.str.103 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [26 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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 #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL17FloatToFullStringEdPc(double noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL20StringToFloatChoppedEPKcmPdS2_(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd(double noundef %0, double noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca [26 x i8], align 16
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %0)
  br i1 %6, label %7, label %9

7:                                                ; preds = %2
  invoke void @LogAssertFailure(i64 noundef 715, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.97)
          to label %8 unwind label %94

8:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str, i32 noundef 715, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

9:                                                ; preds = %2
  %10 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %1)
  br i1 %10, label %11, label %13

11:                                               ; preds = %9
  invoke void @LogAssertFailure(i64 noundef 716, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.99)
          to label %12 unwind label %94

12:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.100, ptr noundef nonnull @.str, i32 noundef 716, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

13:                                               ; preds = %9
  %14 = fcmp ult double %1, 0.000000e+00
  br i1 %14, label %15, label %17

15:                                               ; preds = %13
  invoke void @LogAssertFailure(i64 noundef 717, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.101)
          to label %16 unwind label %94

16:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str, i32 noundef 717, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

17:                                               ; preds = %13
  %18 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %0)
  br i1 %18, label %93, label %19, !prof !5

19:                                               ; preds = %17
  %20 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %1)
  br i1 %20, label %21, label %23

21:                                               ; preds = %19
  invoke void @LogAssertFailure(i64 noundef 726, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.103)
          to label %22 unwind label %94

22:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.104, ptr noundef nonnull @.str, i32 noundef 726, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

23:                                               ; preds = %19
  %24 = fmul double %1, 2.500000e-01
  %25 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %24)
  br i1 %25, label %26, label %28

26:                                               ; preds = %23
  invoke void @LogAssertFailure(i64 noundef 729, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.105)
          to label %27 unwind label %94

27:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.106, ptr noundef nonnull @.str, i32 noundef 729, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

28:                                               ; preds = %23
  %29 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %24)
  br i1 %29, label %30, label %32

30:                                               ; preds = %28
  invoke void @LogAssertFailure(i64 noundef 730, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.107)
          to label %31 unwind label %94

31:                                               ; preds = %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.108, ptr noundef nonnull @.str, i32 noundef 730, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

32:                                               ; preds = %28
  %33 = fcmp ult double %24, 0.000000e+00
  br i1 %33, label %34, label %36

34:                                               ; preds = %32
  invoke void @LogAssertFailure(i64 noundef 731, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.109)
          to label %35 unwind label %94

35:                                               ; preds = %34
  tail call void @__assert_fail(ptr noundef nonnull @.str.110, ptr noundef nonnull @.str, i32 noundef 731, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

36:                                               ; preds = %32
  %37 = fcmp olt double %0, 0.000000e+00
  %38 = fneg double %0
  %.0 = select i1 %37, double %38, double %0
  %39 = fsub double %.0, %24
  %40 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %39)
  br i1 %40, label %41, label %43

41:                                               ; preds = %36
  invoke void @LogAssertFailure(i64 noundef 740, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.111)
          to label %42 unwind label %94

42:                                               ; preds = %41
  tail call void @__assert_fail(ptr noundef nonnull @.str.112, ptr noundef nonnull @.str, i32 noundef 740, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

43:                                               ; preds = %36
  %44 = tail call noundef zeroext i1 @_ZSt5isinfd(double noundef %39)
  br i1 %44, label %45, label %47

45:                                               ; preds = %43
  invoke void @LogAssertFailure(i64 noundef 743, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.113)
          to label %46 unwind label %94

46:                                               ; preds = %45
  tail call void @__assert_fail(ptr noundef nonnull @.str.114, ptr noundef nonnull @.str, i32 noundef 743, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

47:                                               ; preds = %43
  %48 = fadd double %.0, %24
  %49 = tail call noundef zeroext i1 @_ZSt5isnand(double noundef %48)
  br i1 %49, label %50, label %52

50:                                               ; preds = %47
  invoke void @LogAssertFailure(i64 noundef 747, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.115)
          to label %51 unwind label %94

51:                                               ; preds = %50
  tail call void @__assert_fail(ptr noundef nonnull @.str.116, ptr noundef nonnull @.str, i32 noundef 747, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

52:                                               ; preds = %47
  %53 = fcmp ult double %48, 0.000000e+00
  br i1 %53, label %54, label %56

54:                                               ; preds = %52
  invoke void @LogAssertFailure(i64 noundef 748, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.117)
          to label %55 unwind label %94

55:                                               ; preds = %54
  tail call void @__assert_fail(ptr noundef nonnull @.str.118, ptr noundef nonnull @.str, i32 noundef 748, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 26, ptr nonnull %3) #6
  %57 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL17FloatToFullStringEdPc(double noundef %.0, ptr noundef nonnull %3) #6
  br i1 %57, label %.loopexit, label %.preheader, !prof !5

.preheader:                                       ; preds = %56, %90
  %.043 = phi i64 [ %91, %90 ], [ 0, %56 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %58 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL20StringToFloatChoppedEPKcmPdS2_(ptr noundef nonnull %3, i64 noundef %.043, ptr noundef nonnull %4, ptr noundef nonnull %5) #6
  br i1 %58, label %.thread, label %59, !prof !5

59:                                               ; preds = %.preheader
  %60 = load double, ptr %4, align 8, !tbaa !6
  %61 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %60)
  br i1 %61, label %62, label %64

62:                                               ; preds = %59
  invoke void @LogAssertFailure(i64 noundef 762, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.25)
          to label %63 unwind label %94

63:                                               ; preds = %62
  call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str, i32 noundef 762, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

64:                                               ; preds = %59
  %65 = load double, ptr %5, align 8, !tbaa !6
  %66 = call noundef zeroext i1 @_ZSt5isinfd(double noundef %65)
  br i1 %66, label %67, label %69

67:                                               ; preds = %64
  invoke void @LogAssertFailure(i64 noundef 763, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.33)
          to label %68 unwind label %94

68:                                               ; preds = %67
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str, i32 noundef 763, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

69:                                               ; preds = %64
  %70 = load double, ptr %4, align 8, !tbaa !6
  %71 = fcmp ole double %39, %70
  %72 = fcmp ole double %70, %48
  %or.cond.not = and i1 %71, %72
  %73 = load double, ptr %5, align 8, !tbaa !6
  %74 = fcmp ugt double %39, %73
  %75 = fcmp ugt double %73, %48
  %or.cond56 = or i1 %74, %75
  br i1 %or.cond.not, label %76, label %89

76:                                               ; preds = %69
  br i1 %or.cond56, label %.thread, label %77

77:                                               ; preds = %76
  %78 = fsub double %.0, %70
  %79 = fsub double %73, %.0
  %80 = fcmp ogt double %78, 0xBEB0C6F7A0B5ED8D
  br i1 %80, label %83, label %81

81:                                               ; preds = %77
  invoke void @LogAssertFailure(i64 noundef 770, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.93)
          to label %82 unwind label %94

82:                                               ; preds = %81
  call void @__assert_fail(ptr noundef nonnull @.str.94, ptr noundef nonnull @.str, i32 noundef 770, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

83:                                               ; preds = %77
  %84 = fcmp ogt double %79, 0xBEB0C6F7A0B5ED8D
  br i1 %84, label %87, label %85

85:                                               ; preds = %83
  invoke void @LogAssertFailure(i64 noundef 771, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd, ptr noundef nonnull @.str.95)
          to label %86 unwind label %94

86:                                               ; preds = %85
  call void @__assert_fail(ptr noundef nonnull @.str.96, ptr noundef nonnull @.str, i32 noundef 771, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN24GetInterpretableEndpointEdd) #5
  unreachable

87:                                               ; preds = %83
  %88 = fcmp uge double %79, %78
  br i1 %88, label %.thread, label %.thread67

.thread67:                                        ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %.loopexit

89:                                               ; preds = %69
  br i1 %or.cond56, label %90, label %.thread

.thread:                                          ; preds = %.preheader, %89, %87, %76
  %.3.ph = phi double [ %70, %87 ], [ %70, %76 ], [ %.0, %.preheader ], [ %73, %89 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %.loopexit

90:                                               ; preds = %89
  %91 = add i64 %.043, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %.not = icmp eq i64 %91, 16
  %or.cond58 = or i1 %or.cond.not, %.not
  br i1 %or.cond58, label %.loopexit, label %.preheader, !llvm.loop !10

.loopexit:                                        ; preds = %90, %.thread67, %.thread, %56
  %.4 = phi double [ %.0, %56 ], [ %.3.ph, %.thread ], [ %73, %.thread67 ], [ %.0, %90 ]
  %92 = fneg double %.4
  %.5 = select i1 %37, double %92, double %.4
  call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %3) #6
  br label %93

93:                                               ; preds = %.loopexit, %17
  %.6 = phi double [ %.5, %.loopexit ], [ %0, %17 ]
  ret double %.6

94:                                               ; preds = %85, %81, %67, %62, %54, %50, %45, %41, %34, %30, %26, %21, %15, %11, %7
  %95 = landingpad { ptr, i32 }
          catch ptr null
  %96 = extractvalue { ptr, i32 } %95, 0
  call void @__clang_call_terminate(ptr %96) #5
  unreachable
}

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 = { 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 #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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass