; LLVM IR from ETH3D/dataset-pipeline :: thirdparty/cork/cork/isct (triangle)

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

%struct.mesh = type { %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, %struct.memorypool, [4096 x ptr], [4096 x ptr], [4096 x i32], i32, ptr, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.otri }
%struct.memorypool = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32 }
%struct.otri = type { ptr, i32 }
%struct.behavior = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8] }

@iccerrboundA = 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 @incircleadapt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #2

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

134:                                              ; preds = %6
  %135 = load double, ptr %29, align 8, !tbaa !16
  store double %135, ptr %7, align 8
  store i32 1, ptr %32, align 4
  br label %220

136:                                              ; preds = %6
  %137 = load double, ptr %20, align 8, !tbaa !16
  %138 = fcmp oge double %137, 0.000000e+00
  br i1 %138, label %139, label %141

139:                                              ; preds = %136
  %140 = load double, ptr %20, align 8, !tbaa !16
  br label %144

141:                                              ; preds = %136
  %142 = load double, ptr %20, align 8, !tbaa !16
  %143 = fneg double %142
  br label %144

144:                                              ; preds = %141, %139
  %145 = phi double [ %140, %139 ], [ %143, %141 ]
  %146 = load double, ptr %21, align 8, !tbaa !16
  %147 = fcmp oge double %146, 0.000000e+00
  br i1 %147, label %148, label %150

148:                                              ; preds = %144
  %149 = load double, ptr %21, align 8, !tbaa !16
  br label %153

150:                                              ; preds = %144
  %151 = load double, ptr %21, align 8, !tbaa !16
  %152 = fneg double %151
  br label %153

153:                                              ; preds = %150, %148
  %154 = phi double [ %149, %148 ], [ %152, %150 ]
  %155 = fadd double %145, %154
  %156 = load double, ptr %26, align 8, !tbaa !16
  %157 = load double, ptr %22, align 8, !tbaa !16
  %158 = fcmp oge double %157, 0.000000e+00
  br i1 %158, label %159, label %161

159:                                              ; preds = %153
  %160 = load double, ptr %22, align 8, !tbaa !16
  br label %164

161:                                              ; preds = %153
  %162 = load double, ptr %22, align 8, !tbaa !16
  %163 = fneg double %162
  br label %164

164:                                              ; preds = %161, %159
  %165 = phi double [ %160, %159 ], [ %163, %161 ]
  %166 = load double, ptr %23, align 8, !tbaa !16
  %167 = fcmp oge double %166, 0.000000e+00
  br i1 %167, label %168, label %170

168:                                              ; preds = %164
  %169 = load double, ptr %23, align 8, !tbaa !16
  br label %173

170:                                              ; preds = %164
  %171 = load double, ptr %23, align 8, !tbaa !16
  %172 = fneg double %171
  br label %173

173:                                              ; preds = %170, %168
  %174 = phi double [ %169, %168 ], [ %172, %170 ]
  %175 = fadd double %165, %174
  %176 = load double, ptr %27, align 8, !tbaa !16
  %177 = fmul double %175, %176
  %178 = call double @llvm.fmuladd.f64(double %155, double %156, double %177)
  %179 = load double, ptr %24, align 8, !tbaa !16
  %180 = fcmp oge double %179, 0.000000e+00
  br i1 %180, label %181, label %183

181:                                              ; preds = %173
  %182 = load double, ptr %24, align 8, !tbaa !16
  br label %186

183:                                              ; preds = %173
  %184 = load double, ptr %24, align 8, !tbaa !16
  %185 = fneg double %184
  br label %186

186:                                              ; preds = %183, %181
  %187 = phi double [ %182, %181 ], [ %185, %183 ]
  %188 = load double, ptr %25, align 8, !tbaa !16
  %189 = fcmp oge double %188, 0.000000e+00
  br i1 %189, label %190, label %192

190:                                              ; preds = %186
  %191 = load double, ptr %25, align 8, !tbaa !16
  br label %195

192:                                              ; preds = %186
  %193 = load double, ptr %25, align 8, !tbaa !16
  %194 = fneg double %193
  br label %195

195:                                              ; preds = %192, %190
  %196 = phi double [ %191, %190 ], [ %194, %192 ]
  %197 = fadd double %187, %196
  %198 = load double, ptr %28, align 8, !tbaa !16
  %199 = call double @llvm.fmuladd.f64(double %197, double %198, double %178)
  store double %199, ptr %30, align 8, !tbaa !16
  %200 = load double, ptr @iccerrboundA, align 8, !tbaa !16
  %201 = load double, ptr %30, align 8, !tbaa !16
  %202 = fmul double %200, %201
  store double %202, ptr %31, align 8, !tbaa !16
  %203 = load double, ptr %29, align 8, !tbaa !16
  %204 = load double, ptr %31, align 8, !tbaa !16
  %205 = fcmp ogt double %203, %204
  br i1 %205, label %211, label %206

206:                                              ; preds = %195
  %207 = load double, ptr %29, align 8, !tbaa !16
  %208 = fneg double %207
  %209 = load double, ptr %31, align 8, !tbaa !16
  %210 = fcmp ogt double %208, %209
  br i1 %210, label %211, label %213

211:                                              ; preds = %206, %195
  %212 = load double, ptr %29, align 8, !tbaa !16
  store double %212, ptr %7, align 8
  store i32 1, ptr %32, align 4
  br label %220

213:                                              ; preds = %206
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = load ptr, ptr %13, align 8, !tbaa !5
  %218 = load double, ptr %30, align 8, !tbaa !16
  %219 = call double @incircleadapt(ptr noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217, double noundef %218)
  store double %219, ptr %7, align 8
  store i32 1, ptr %32, align 4
  br label %220

220:                                              ; preds = %213, %211, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  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
  %221 = load double, ptr %7, align 8
  ret double %221
}

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, !13, i64 82784}
!10 = !{!"mesh", !11, i64 0, !11, i64 88, !11, i64 176, !11, i64 264, !11, i64 352, !11, i64 440, !11, i64 528, !11, i64 616, !7, i64 704, !7, i64 33472, !7, i64 66240, !12, i64 82624, !6, i64 82632, !14, i64 82640, !14, i64 82648, !14, i64 82656, !14, i64 82664, !14, i64 82672, !12, i64 82680, !12, i64 82684, !12, i64 82688, !12, i64 82692, !12, i64 82696, !12, i64 82700, !13, i64 82704, !12, i64 82712, !12, i64 82716, !12, i64 82720, !13, i64 82728, !12, i64 82736, !12, i64 82740, !12, i64 82744, !12, i64 82748, !12, i64 82752, !12, i64 82756, !12, i64 82760, !12, i64 82764, !12, i64 82768, !13, i64 82776, !13, i64 82784, !13, i64 82792, !13, i64 82800, !13, i64 82808, !13, i64 82816, !13, i64 82824, !6, i64 82832, !6, i64 82840, !6, i64 82848, !6, i64 82856, !6, i64 82864, !6, i64 82872, !6, i64 82880, !15, i64 82888}
!11 = !{!"memorypool", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !13, i64 64, !13, i64 72, !12, i64 80, !12, i64 84}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"otri", !6, i64 0, !12, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !12, i64 84}
!18 = !{!"behavior", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !7, i64 168, !7, i64 2216, !7, i64 4264, !7, i64 6312, !7, i64 8360, !7, i64 10408, !7, i64 12456, !7, i64 14504, !7, i64 16552, !7, i64 18600, !7, i64 20648, !7, i64 22696}


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

@iccerrboundA = 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 @incircleadapt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local double @incircle(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %0, i64 82784
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = add nsw i64 %8, 1
  store i64 %9, ptr %7, align 8, !tbaa !5
  %10 = load <2 x double>, ptr %5, align 8, !tbaa !15
  %11 = load <2 x double>, ptr %2, align 8, !tbaa !15
  %12 = fsub <2 x double> %11, %10
  %13 = load <2 x double>, ptr %3, align 8, !tbaa !15
  %14 = fsub <2 x double> %13, %10
  %15 = shufflevector <2 x double> %14, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %16 = load <2 x double>, ptr %4, align 8, !tbaa !15
  %17 = fsub <2 x double> %16, %10
  %18 = fmul <2 x double> %15, %17
  %19 = shufflevector <2 x double> %12, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %20 = fmul <2 x double> %12, %12
  %21 = extractelement <2 x double> %20, i64 1
  %22 = extractelement <2 x double> %12, i64 0
  %23 = tail call double @llvm.fmuladd.f64(double %22, double %22, double %21)
  %24 = fmul <2 x double> %19, %17
  %25 = fmul <2 x double> %14, %14
  %26 = extractelement <2 x double> %25, i64 1
  %27 = extractelement <2 x double> %14, i64 0
  %28 = tail call double @llvm.fmuladd.f64(double %27, double %27, double %26)
  %29 = fmul <2 x double> %15, %12
  %30 = fmul <2 x double> %17, %17
  %31 = extractelement <2 x double> %30, i64 1
  %32 = extractelement <2 x double> %17, i64 0
  %33 = tail call double @llvm.fmuladd.f64(double %32, double %32, double %31)
  %shift = shufflevector <2 x double> %18, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %34 = fsub <2 x double> %shift, %18
  %35 = extractelement <2 x double> %34, i64 0
  %shift84 = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %36 = fsub <2 x double> %24, %shift84
  %37 = extractelement <2 x double> %36, i64 0
  %38 = fmul double %28, %37
  %39 = tail call double @llvm.fmuladd.f64(double %23, double %35, double %38)
  %shift85 = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %40 = fsub <2 x double> %29, %shift85
  %41 = extractelement <2 x double> %40, i64 0
  %42 = tail call double @llvm.fmuladd.f64(double %33, double %41, double %39)
  %43 = getelementptr inbounds i8, ptr %1, i64 84
  %44 = load i32, ptr %43, align 4, !tbaa !16
  %.not = icmp eq i32 %44, 0
  br i1 %.not, label %45, label %71

45:                                               ; preds = %6
  %46 = fcmp oge <2 x double> %18, zeroinitializer
  %47 = fneg <2 x double> %18
  %48 = select <2 x i1> %46, <2 x double> %18, <2 x double> %47
  %shift86 = shufflevector <2 x double> %48, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %49 = fadd <2 x double> %48, %shift86
  %50 = extractelement <2 x double> %49, i64 0
  %51 = fcmp oge <2 x double> %24, zeroinitializer
  %52 = fneg <2 x double> %24
  %53 = select <2 x i1> %51, <2 x double> %24, <2 x double> %52
  %shift87 = shufflevector <2 x double> %53, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %54 = fadd <2 x double> %53, %shift87
  %55 = extractelement <2 x double> %54, i64 0
  %56 = fmul double %28, %55
  %57 = tail call double @llvm.fmuladd.f64(double %50, double %23, double %56)
  %58 = fcmp oge <2 x double> %29, zeroinitializer
  %59 = fneg <2 x double> %29
  %60 = select <2 x i1> %58, <2 x double> %29, <2 x double> %59
  %shift88 = shufflevector <2 x double> %60, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %61 = fadd <2 x double> %shift88, %60
  %62 = extractelement <2 x double> %61, i64 0
  %63 = tail call double @llvm.fmuladd.f64(double %62, double %33, double %57)
  %64 = load double, ptr @iccerrboundA, align 8, !tbaa !15
  %65 = fmul double %63, %64
  %66 = fcmp ogt double %42, %65
  %67 = fneg double %42
  %68 = fcmp olt double %65, %67
  %or.cond = or i1 %66, %68
  br i1 %or.cond, label %71, label %69

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

71:                                               ; preds = %45, %6, %69
  %.0 = phi double [ %70, %69 ], [ %42, %6 ], [ %42, %45 ]
  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, !12, i64 82784}
!6 = !{!"mesh", !7, i64 0, !7, i64 88, !7, i64 176, !7, i64 264, !7, i64 352, !7, i64 440, !7, i64 528, !7, i64 616, !9, i64 704, !9, i64 33472, !9, i64 66240, !11, i64 82624, !8, i64 82632, !13, i64 82640, !13, i64 82648, !13, i64 82656, !13, i64 82664, !13, i64 82672, !11, i64 82680, !11, i64 82684, !11, i64 82688, !11, i64 82692, !11, i64 82696, !11, i64 82700, !12, i64 82704, !11, i64 82712, !11, i64 82716, !11, i64 82720, !12, i64 82728, !11, i64 82736, !11, i64 82740, !11, i64 82744, !11, i64 82748, !11, i64 82752, !11, i64 82756, !11, i64 82760, !11, i64 82764, !11, i64 82768, !12, i64 82776, !12, i64 82784, !12, i64 82792, !12, i64 82800, !12, i64 82808, !12, i64 82816, !12, i64 82824, !8, i64 82832, !8, i64 82840, !8, i64 82848, !8, i64 82856, !8, i64 82864, !8, i64 82872, !8, i64 82880, !14, i64 82888}
!7 = !{!"memorypool", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !12, i64 64, !12, i64 72, !11, i64 80, !11, i64 84}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!"double", !9, i64 0}
!14 = !{!"otri", !8, i64 0, !11, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !11, i64 84}
!17 = !{!"behavior", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !9, i64 168, !9, i64 2216, !9, i64 4264, !9, i64 6312, !9, i64 8360, !9, i64 10408, !9, i64 12456, !9, i64 14504, !9, i64 16552, !9, i64 18600, !9, i64 20648, !9, i64 22696}


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