; LLVM IR from bohanwang/libpgo :: src/core/mesh (predicates_Shewchuk)

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

@o3derrboundA = external dso_local global double, align 8

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: nounwind uwtable
declare dso_local double @orient3dadapt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #2

; Function Attrs: nounwind uwtable
define dso_local double @orient3d(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds double, ptr %29, i64 0
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i64 0
  %34 = load double, ptr %33, align 8, !tbaa !9
  %35 = fsub double %31, %34
  store double %35, ptr %10, align 8, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds double, ptr %36, i64 0
  %38 = load double, ptr %37, align 8, !tbaa !9
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds double, ptr %39, i64 0
  %41 = load double, ptr %40, align 8, !tbaa !9
  %42 = fsub double %38, %41
  store double %42, ptr %11, align 8, !tbaa !9
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds double, ptr %43, i64 0
  %45 = load double, ptr %44, align 8, !tbaa !9
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = getelementptr inbounds double, ptr %46, i64 0
  %48 = load double, ptr %47, align 8, !tbaa !9
  %49 = fsub double %45, %48
  store double %49, ptr %12, align 8, !tbaa !9
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds double, ptr %50, i64 1
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds double, ptr %53, i64 1
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = fsub double %52, %55
  store double %56, ptr %13, align 8, !tbaa !9
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds double, ptr %57, i64 1
  %59 = load double, ptr %58, align 8, !tbaa !9
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds double, ptr %60, i64 1
  %62 = load double, ptr %61, align 8, !tbaa !9
  %63 = fsub double %59, %62
  store double %63, ptr %14, align 8, !tbaa !9
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 1
  %66 = load double, ptr %65, align 8, !tbaa !9
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %67, i64 1
  %69 = load double, ptr %68, align 8, !tbaa !9
  %70 = fsub double %66, %69
  store double %70, ptr %15, align 8, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds double, ptr %71, i64 2
  %73 = load double, ptr %72, align 8, !tbaa !9
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds double, ptr %74, i64 2
  %76 = load double, ptr %75, align 8, !tbaa !9
  %77 = fsub double %73, %76
  store double %77, ptr %16, align 8, !tbaa !9
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 2
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds double, ptr %81, i64 2
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = fsub double %80, %83
  store double %84, ptr %17, align 8, !tbaa !9
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds double, ptr %85, i64 2
  %87 = load double, ptr %86, align 8, !tbaa !9
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 2
  %90 = load double, ptr %89, align 8, !tbaa !9
  %91 = fsub double %87, %90
  store double %91, ptr %18, align 8, !tbaa !9
  %92 = load double, ptr %11, align 8, !tbaa !9
  %93 = load double, ptr %15, align 8, !tbaa !9
  %94 = fmul double %92, %93
  store double %94, ptr %19, align 8, !tbaa !9
  %95 = load double, ptr %12, align 8, !tbaa !9
  %96 = load double, ptr %14, align 8, !tbaa !9
  %97 = fmul double %95, %96
  store double %97, ptr %20, align 8, !tbaa !9
  %98 = load double, ptr %12, align 8, !tbaa !9
  %99 = load double, ptr %13, align 8, !tbaa !9
  %100 = fmul double %98, %99
  store double %100, ptr %21, align 8, !tbaa !9
  %101 = load double, ptr %10, align 8, !tbaa !9
  %102 = load double, ptr %15, align 8, !tbaa !9
  %103 = fmul double %101, %102
  store double %103, ptr %22, align 8, !tbaa !9
  %104 = load double, ptr %10, align 8, !tbaa !9
  %105 = load double, ptr %14, align 8, !tbaa !9
  %106 = fmul double %104, %105
  store double %106, ptr %23, align 8, !tbaa !9
  %107 = load double, ptr %11, align 8, !tbaa !9
  %108 = load double, ptr %13, align 8, !tbaa !9
  %109 = fmul double %107, %108
  store double %109, ptr %24, align 8, !tbaa !9
  %110 = load double, ptr %16, align 8, !tbaa !9
  %111 = load double, ptr %19, align 8, !tbaa !9
  %112 = load double, ptr %20, align 8, !tbaa !9
  %113 = fsub double %111, %112
  %114 = load double, ptr %17, align 8, !tbaa !9
  %115 = load double, ptr %21, align 8, !tbaa !9
  %116 = load double, ptr %22, align 8, !tbaa !9
  %117 = fsub double %115, %116
  %118 = fmul double %114, %117
  %119 = call double @llvm.fmuladd.f64(double %110, double %113, double %118)
  %120 = load double, ptr %18, align 8, !tbaa !9
  %121 = load double, ptr %23, align 8, !tbaa !9
  %122 = load double, ptr %24, align 8, !tbaa !9
  %123 = fsub double %121, %122
  %124 = call double @llvm.fmuladd.f64(double %120, double %123, double %119)
  store double %124, ptr %25, align 8, !tbaa !9
  %125 = load double, ptr %19, align 8, !tbaa !9
  %126 = fcmp oge double %125, 0.000000e+00
  br i1 %126, label %127, label %129

127:                                              ; preds = %4
  %128 = load double, ptr %19, align 8, !tbaa !9
  br label %132

129:                                              ; preds = %4
  %130 = load double, ptr %19, align 8, !tbaa !9
  %131 = fneg double %130
  br label %132

132:                                              ; preds = %129, %127
  %133 = phi double [ %128, %127 ], [ %131, %129 ]
  %134 = load double, ptr %20, align 8, !tbaa !9
  %135 = fcmp oge double %134, 0.000000e+00
  br i1 %135, label %136, label %138

136:                                              ; preds = %132
  %137 = load double, ptr %20, align 8, !tbaa !9
  br label %141

138:                                              ; preds = %132
  %139 = load double, ptr %20, align 8, !tbaa !9
  %140 = fneg double %139
  br label %141

141:                                              ; preds = %138, %136
  %142 = phi double [ %137, %136 ], [ %140, %138 ]
  %143 = fadd double %133, %142
  %144 = load double, ptr %16, align 8, !tbaa !9
  %145 = fcmp oge double %144, 0.000000e+00
  br i1 %145, label %146, label %148

146:                                              ; preds = %141
  %147 = load double, ptr %16, align 8, !tbaa !9
  br label %151

148:                                              ; preds = %141
  %149 = load double, ptr %16, align 8, !tbaa !9
  %150 = fneg double %149
  br label %151

151:                                              ; preds = %148, %146
  %152 = phi double [ %147, %146 ], [ %150, %148 ]
  %153 = load double, ptr %21, align 8, !tbaa !9
  %154 = fcmp oge double %153, 0.000000e+00
  br i1 %154, label %155, label %157

155:                                              ; preds = %151
  %156 = load double, ptr %21, align 8, !tbaa !9
  br label %160

157:                                              ; preds = %151
  %158 = load double, ptr %21, align 8, !tbaa !9
  %159 = fneg double %158
  br label %160

160:                                              ; preds = %157, %155
  %161 = phi double [ %156, %155 ], [ %159, %157 ]
  %162 = load double, ptr %22, align 8, !tbaa !9
  %163 = fcmp oge double %162, 0.000000e+00
  br i1 %163, label %164, label %166

164:                                              ; preds = %160
  %165 = load double, ptr %22, align 8, !tbaa !9
  br label %169

166:                                              ; preds = %160
  %167 = load double, ptr %22, align 8, !tbaa !9
  %168 = fneg double %167
  br label %169

169:                                              ; preds = %166, %164
  %170 = phi double [ %165, %164 ], [ %168, %166 ]
  %171 = fadd double %161, %170
  %172 = load double, ptr %17, align 8, !tbaa !9
  %173 = fcmp oge double %172, 0.000000e+00
  br i1 %173, label %174, label %176

174:                                              ; preds = %169
  %175 = load double, ptr %17, align 8, !tbaa !9
  br label %179

176:                                              ; preds = %169
  %177 = load double, ptr %17, align 8, !tbaa !9
  %178 = fneg double %177
  br label %179

179:                                              ; preds = %176, %174
  %180 = phi double [ %175, %174 ], [ %178, %176 ]
  %181 = fmul double %171, %180
  %182 = call double @llvm.fmuladd.f64(double %143, double %152, double %181)
  %183 = load double, ptr %23, align 8, !tbaa !9
  %184 = fcmp oge double %183, 0.000000e+00
  br i1 %184, label %185, label %187

185:                                              ; preds = %179
  %186 = load double, ptr %23, align 8, !tbaa !9
  br label %190

187:                                              ; preds = %179
  %188 = load double, ptr %23, align 8, !tbaa !9
  %189 = fneg double %188
  br label %190

190:                                              ; preds = %187, %185
  %191 = phi double [ %186, %185 ], [ %189, %187 ]
  %192 = load double, ptr %24, align 8, !tbaa !9
  %193 = fcmp oge double %192, 0.000000e+00
  br i1 %193, label %194, label %196

194:                                              ; preds = %190
  %195 = load double, ptr %24, align 8, !tbaa !9
  br label %199

196:                                              ; preds = %190
  %197 = load double, ptr %24, align 8, !tbaa !9
  %198 = fneg double %197
  br label %199

199:                                              ; preds = %196, %194
  %200 = phi double [ %195, %194 ], [ %198, %196 ]
  %201 = fadd double %191, %200
  %202 = load double, ptr %18, align 8, !tbaa !9
  %203 = fcmp oge double %202, 0.000000e+00
  br i1 %203, label %204, label %206

204:                                              ; preds = %199
  %205 = load double, ptr %18, align 8, !tbaa !9
  br label %209

206:                                              ; preds = %199
  %207 = load double, ptr %18, align 8, !tbaa !9
  %208 = fneg double %207
  br label %209

209:                                              ; preds = %206, %204
  %210 = phi double [ %205, %204 ], [ %208, %206 ]
  %211 = call double @llvm.fmuladd.f64(double %201, double %210, double %182)
  store double %211, ptr %26, align 8, !tbaa !9
  %212 = load double, ptr @o3derrboundA, align 8, !tbaa !9
  %213 = load double, ptr %26, align 8, !tbaa !9
  %214 = fmul double %212, %213
  store double %214, ptr %27, align 8, !tbaa !9
  %215 = load double, ptr %25, align 8, !tbaa !9
  %216 = load double, ptr %27, align 8, !tbaa !9
  %217 = fcmp ogt double %215, %216
  br i1 %217, label %223, label %218

218:                                              ; preds = %209
  %219 = load double, ptr %25, align 8, !tbaa !9
  %220 = fneg double %219
  %221 = load double, ptr %27, align 8, !tbaa !9
  %222 = fcmp ogt double %220, %221
  br i1 %222, label %223, label %225

223:                                              ; preds = %218, %209
  %224 = load double, ptr %25, align 8, !tbaa !9
  store double %224, ptr %5, align 8
  store i32 1, ptr %28, align 4
  br label %232

225:                                              ; preds = %218
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  %230 = load double, ptr %26, align 8, !tbaa !9
  %231 = call double @orient3dadapt(ptr noundef %226, ptr noundef %227, ptr noundef %228, ptr noundef %229, double noundef %230)
  store double %231, ptr %5, align 8
  store i32 1, ptr %28, align 4
  br label %232

232:                                              ; preds = %225, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %233 = load double, ptr %5, align 8
  ret double %233
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


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

@o3derrboundA = external dso_local local_unnamed_addr global double, align 8

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: nounwind uwtable
declare dso_local double @orient3dadapt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local double @orient3d(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = load double, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 16
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = fsub double %6, %8
  %10 = getelementptr inbounds i8, ptr %1, i64 16
  %11 = load double, ptr %10, align 8, !tbaa !5
  %12 = fsub double %11, %8
  %13 = getelementptr inbounds i8, ptr %2, i64 16
  %14 = load double, ptr %13, align 8, !tbaa !5
  %15 = fsub double %14, %8
  %16 = load <2 x double>, ptr %3, align 8, !tbaa !5
  %17 = load <2 x double>, ptr %0, align 8, !tbaa !5
  %18 = fsub <2 x double> %17, %16
  %19 = load <2 x double>, ptr %1, align 8, !tbaa !5
  %20 = fsub <2 x double> %19, %16
  %21 = shufflevector <2 x double> %20, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %22 = load <2 x double>, ptr %2, align 8, !tbaa !5
  %23 = fsub <2 x double> %22, %16
  %24 = fmul <2 x double> %21, %23
  %25 = shufflevector <2 x double> %18, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %26 = fmul <2 x double> %25, %23
  %27 = fmul <2 x double> %21, %18
  %shift = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %28 = fsub <2 x double> %shift, %24
  %29 = extractelement <2 x double> %28, i64 0
  %shift81 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %30 = fsub <2 x double> %26, %shift81
  %31 = extractelement <2 x double> %30, i64 0
  %32 = fmul double %31, %12
  %33 = tail call double @llvm.fmuladd.f64(double %9, double %29, double %32)
  %shift82 = shufflevector <2 x double> %27, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %34 = fsub <2 x double> %27, %shift82
  %35 = extractelement <2 x double> %34, i64 0
  %36 = tail call double @llvm.fmuladd.f64(double %15, double %35, double %33)
  %37 = fcmp oge <2 x double> %24, zeroinitializer
  %38 = fneg <2 x double> %24
  %39 = select <2 x i1> %37, <2 x double> %24, <2 x double> %38
  %shift83 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %40 = fadd <2 x double> %39, %shift83
  %41 = extractelement <2 x double> %40, i64 0
  %42 = fcmp oge double %9, 0.000000e+00
  %43 = fneg double %9
  %44 = select i1 %42, double %9, double %43
  %45 = fcmp oge <2 x double> %26, zeroinitializer
  %46 = fneg <2 x double> %26
  %47 = select <2 x i1> %45, <2 x double> %26, <2 x double> %46
  %shift84 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %48 = fadd <2 x double> %47, %shift84
  %49 = extractelement <2 x double> %48, i64 0
  %50 = fcmp oge double %12, 0.000000e+00
  %51 = fneg double %12
  %52 = select i1 %50, double %12, double %51
  %53 = fmul double %49, %52
  %54 = tail call double @llvm.fmuladd.f64(double %41, double %44, double %53)
  %55 = fcmp oge <2 x double> %27, zeroinitializer
  %56 = fneg <2 x double> %27
  %57 = select <2 x i1> %55, <2 x double> %27, <2 x double> %56
  %shift85 = shufflevector <2 x double> %57, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %58 = fadd <2 x double> %shift85, %57
  %59 = extractelement <2 x double> %58, i64 0
  %60 = fcmp oge double %15, 0.000000e+00
  %61 = fneg double %15
  %62 = select i1 %60, double %15, double %61
  %63 = tail call double @llvm.fmuladd.f64(double %59, double %62, double %54)
  %64 = load double, ptr @o3derrboundA, align 8, !tbaa !5
  %65 = fmul double %64, %63
  %66 = fcmp ogt double %36, %65
  %67 = fneg double %36
  %68 = fcmp olt double %65, %67
  %or.cond = or i1 %66, %68
  br i1 %or.cond, label %71, label %69

69:                                               ; preds = %4
  %70 = tail call double @orient3dadapt(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, double noundef %63)
  br label %71

71:                                               ; preds = %4, %69
  %.0 = phi double [ %70, %69 ], [ %36, %4 ]
  ret double %.0
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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" }

!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/C++ TBAA"}


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