; 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] }

; 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 @counterclockwise(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

109:                                              ; preds = %9
  %110 = load double, ptr %19, align 8, !tbaa !17
  %111 = load double, ptr %22, align 8, !tbaa !17
  %112 = load double, ptr %21, align 8, !tbaa !17
  %113 = load double, ptr %20, align 8, !tbaa !17
  %114 = fmul double %112, %113
  %115 = fneg double %114
  %116 = call double @llvm.fmuladd.f64(double %110, double %111, double %115)
  %117 = fdiv double 5.000000e-01, %116
  store double %117, ptr %26, align 8, !tbaa !17
  br label %130

118:                                              ; preds = %9
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = call double @counterclockwise(ptr noundef %119, ptr noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123)
  %125 = fdiv double 5.000000e-01, %124
  store double %125, ptr %26, align 8, !tbaa !17
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.mesh, ptr %126, i32 0, i32 40
  %128 = load i64, ptr %127, align 8, !tbaa !20
  %129 = add nsw i64 %128, -1
  store i64 %129, ptr %127, align 8, !tbaa !20
  br label %130

130:                                              ; preds = %118, %109
  %131 = load double, ptr %22, align 8, !tbaa !17
  %132 = load double, ptr %23, align 8, !tbaa !17
  %133 = load double, ptr %20, align 8, !tbaa !17
  %134 = load double, ptr %24, align 8, !tbaa !17
  %135 = fmul double %133, %134
  %136 = fneg double %135
  %137 = call double @llvm.fmuladd.f64(double %131, double %132, double %136)
  %138 = load double, ptr %26, align 8, !tbaa !17
  %139 = fmul double %137, %138
  store double %139, ptr %27, align 8, !tbaa !17
  %140 = load double, ptr %19, align 8, !tbaa !17
  %141 = load double, ptr %24, align 8, !tbaa !17
  %142 = load double, ptr %21, align 8, !tbaa !17
  %143 = load double, ptr %23, align 8, !tbaa !17
  %144 = fmul double %142, %143
  %145 = fneg double %144
  %146 = call double @llvm.fmuladd.f64(double %140, double %141, double %145)
  %147 = load double, ptr %26, align 8, !tbaa !17
  %148 = fmul double %146, %147
  store double %148, ptr %28, align 8, !tbaa !17
  %149 = load double, ptr %23, align 8, !tbaa !17
  %150 = load double, ptr %24, align 8, !tbaa !17
  %151 = fcmp olt double %149, %150
  br i1 %151, label %152, label %198

152:                                              ; preds = %130
  %153 = load double, ptr %23, align 8, !tbaa !17
  %154 = load double, ptr %25, align 8, !tbaa !17
  %155 = fcmp olt double %153, %154
  br i1 %155, label %156, label %198

156:                                              ; preds = %152
  %157 = load i32, ptr %18, align 4, !tbaa !9
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %197

159:                                              ; preds = %156
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.behavior, ptr %160, i32 0, i32 36
  %162 = load double, ptr %161, align 8, !tbaa !21
  %163 = fcmp ogt double %162, 0.000000e+00
  br i1 %163, label %164, label %197

164:                                              ; preds = %159
  %165 = load double, ptr %19, align 8, !tbaa !17
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.behavior, ptr %166, i32 0, i32 36
  %168 = load double, ptr %167, align 8, !tbaa !21
  %169 = load double, ptr %20, align 8, !tbaa !17
  %170 = fmul double %168, %169
  %171 = fneg double %170
  %172 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %165, double %171)
  store double %172, ptr %29, align 8, !tbaa !17
  %173 = load double, ptr %20, align 8, !tbaa !17
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.behavior, ptr %174, i32 0, i32 36
  %176 = load double, ptr %175, align 8, !tbaa !21
  %177 = load double, ptr %19, align 8, !tbaa !17
  %178 = fmul double %176, %177
  %179 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %173, double %178)
  store double %179, ptr %30, align 8, !tbaa !17
  %180 = load double, ptr %29, align 8, !tbaa !17
  %181 = load double, ptr %29, align 8, !tbaa !17
  %182 = load double, ptr %30, align 8, !tbaa !17
  %183 = load double, ptr %30, align 8, !tbaa !17
  %184 = fmul double %182, %183
  %185 = call double @llvm.fmuladd.f64(double %180, double %181, double %184)
  %186 = load double, ptr %27, align 8, !tbaa !17
  %187 = load double, ptr %27, align 8, !tbaa !17
  %188 = load double, ptr %28, align 8, !tbaa !17
  %189 = load double, ptr %28, align 8, !tbaa !17
  %190 = fmul double %188, %189
  %191 = call double @llvm.fmuladd.f64(double %186, double %187, double %190)
  %192 = fcmp olt double %185, %191
  br i1 %192, label %193, label %196

193:                                              ; preds = %164
  %194 = load double, ptr %29, align 8, !tbaa !17
  store double %194, ptr %27, align 8, !tbaa !17
  %195 = load double, ptr %30, align 8, !tbaa !17
  store double %195, ptr %28, align 8, !tbaa !17
  br label %196

196:                                              ; preds = %193, %164
  br label %197

197:                                              ; preds = %196, %159, %156
  br label %323

198:                                              ; preds = %152, %130
  %199 = load double, ptr %24, align 8, !tbaa !17
  %200 = load double, ptr %25, align 8, !tbaa !17
  %201 = fcmp olt double %199, %200
  br i1 %201, label %202, label %244

202:                                              ; preds = %198
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %243

205:                                              ; preds = %202
  %206 = load ptr, ptr %11, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.behavior, ptr %206, i32 0, i32 36
  %208 = load double, ptr %207, align 8, !tbaa !21
  %209 = fcmp ogt double %208, 0.000000e+00
  br i1 %209, label %210, label %243

210:                                              ; preds = %205
  %211 = load double, ptr %21, align 8, !tbaa !17
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.behavior, ptr %212, i32 0, i32 36
  %214 = load double, ptr %213, align 8, !tbaa !21
  %215 = load double, ptr %22, align 8, !tbaa !17
  %216 = fmul double %214, %215
  %217 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %211, double %216)
  store double %217, ptr %29, align 8, !tbaa !17
  %218 = load double, ptr %22, align 8, !tbaa !17
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.behavior, ptr %219, i32 0, i32 36
  %221 = load double, ptr %220, align 8, !tbaa !21
  %222 = load double, ptr %21, align 8, !tbaa !17
  %223 = fmul double %221, %222
  %224 = fneg double %223
  %225 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %218, double %224)
  store double %225, ptr %30, align 8, !tbaa !17
  %226 = load double, ptr %29, align 8, !tbaa !17
  %227 = load double, ptr %29, align 8, !tbaa !17
  %228 = load double, ptr %30, align 8, !tbaa !17
  %229 = load double, ptr %30, align 8, !tbaa !17
  %230 = fmul double %228, %229
  %231 = call double @llvm.fmuladd.f64(double %226, double %227, double %230)
  %232 = load double, ptr %27, align 8, !tbaa !17
  %233 = load double, ptr %27, align 8, !tbaa !17
  %234 = load double, ptr %28, align 8, !tbaa !17
  %235 = load double, ptr %28, align 8, !tbaa !17
  %236 = fmul double %234, %235
  %237 = call double @llvm.fmuladd.f64(double %232, double %233, double %236)
  %238 = fcmp olt double %231, %237
  br i1 %238, label %239, label %242

239:                                              ; preds = %210
  %240 = load double, ptr %29, align 8, !tbaa !17
  store double %240, ptr %27, align 8, !tbaa !17
  %241 = load double, ptr %30, align 8, !tbaa !17
  store double %241, ptr %28, align 8, !tbaa !17
  br label %242

242:                                              ; preds = %239, %210
  br label %243

243:                                              ; preds = %242, %205, %202
  br label %322

244:                                              ; preds = %198
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %321

247:                                              ; preds = %244
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.behavior, ptr %248, i32 0, i32 36
  %250 = load double, ptr %249, align 8, !tbaa !21
  %251 = fcmp ogt double %250, 0.000000e+00
  br i1 %251, label %252, label %321

252:                                              ; preds = %247
  %253 = load ptr, ptr %14, align 8, !tbaa !5
  %254 = getelementptr inbounds double, ptr %253, i64 0
  %255 = load double, ptr %254, align 8, !tbaa !17
  %256 = load ptr, ptr %13, align 8, !tbaa !5
  %257 = getelementptr inbounds double, ptr %256, i64 0
  %258 = load double, ptr %257, align 8, !tbaa !17
  %259 = fsub double %255, %258
  %260 = load ptr, ptr %11, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.behavior, ptr %260, i32 0, i32 36
  %262 = load double, ptr %261, align 8, !tbaa !21
  %263 = load ptr, ptr %14, align 8, !tbaa !5
  %264 = getelementptr inbounds double, ptr %263, i64 1
  %265 = load double, ptr %264, align 8, !tbaa !17
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds double, ptr %266, i64 1
  %268 = load double, ptr %267, align 8, !tbaa !17
  %269 = fsub double %265, %268
  %270 = fmul double %262, %269
  %271 = fneg double %270
  %272 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %259, double %271)
  store double %272, ptr %29, align 8, !tbaa !17
  %273 = load ptr, ptr %14, align 8, !tbaa !5
  %274 = getelementptr inbounds double, ptr %273, i64 1
  %275 = load double, ptr %274, align 8, !tbaa !17
  %276 = load ptr, ptr %13, align 8, !tbaa !5
  %277 = getelementptr inbounds double, ptr %276, i64 1
  %278 = load double, ptr %277, align 8, !tbaa !17
  %279 = fsub double %275, %278
  %280 = load ptr, ptr %11, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.behavior, ptr %280, i32 0, i32 36
  %282 = load double, ptr %281, align 8, !tbaa !21
  %283 = load ptr, ptr %14, align 8, !tbaa !5
  %284 = getelementptr inbounds double, ptr %283, i64 0
  %285 = load double, ptr %284, align 8, !tbaa !17
  %286 = load ptr, ptr %13, align 8, !tbaa !5
  %287 = getelementptr inbounds double, ptr %286, i64 0
  %288 = load double, ptr %287, align 8, !tbaa !17
  %289 = fsub double %285, %288
  %290 = fmul double %282, %289
  %291 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %279, double %290)
  store double %291, ptr %30, align 8, !tbaa !17
  %292 = load double, ptr %29, align 8, !tbaa !17
  %293 = load double, ptr %29, align 8, !tbaa !17
  %294 = load double, ptr %30, align 8, !tbaa !17
  %295 = load double, ptr %30, align 8, !tbaa !17
  %296 = fmul double %294, %295
  %297 = call double @llvm.fmuladd.f64(double %292, double %293, double %296)
  %298 = load double, ptr %27, align 8, !tbaa !17
  %299 = load double, ptr %19, align 8, !tbaa !17
  %300 = fsub double %298, %299
  %301 = load double, ptr %27, align 8, !tbaa !17
  %302 = load double, ptr %19, align 8, !tbaa !17
  %303 = fsub double %301, %302
  %304 = load double, ptr %28, align 8, !tbaa !17
  %305 = load double, ptr %20, align 8, !tbaa !17
  %306 = fsub double %304, %305
  %307 = load double, ptr %28, align 8, !tbaa !17
  %308 = load double, ptr %20, align 8, !tbaa !17
  %309 = fsub double %307, %308
  %310 = fmul double %306, %309
  %311 = call double @llvm.fmuladd.f64(double %300, double %303, double %310)
  %312 = fcmp olt double %297, %311
  br i1 %312, label %313, label %320

313:                                              ; preds = %252
  %314 = load double, ptr %19, align 8, !tbaa !17
  %315 = load double, ptr %29, align 8, !tbaa !17
  %316 = fadd double %314, %315
  store double %316, ptr %27, align 8, !tbaa !17
  %317 = load double, ptr %20, align 8, !tbaa !17
  %318 = load double, ptr %30, align 8, !tbaa !17
  %319 = fadd double %317, %318
  store double %319, ptr %28, align 8, !tbaa !17
  br label %320

320:                                              ; preds = %313, %252
  br label %321

321:                                              ; preds = %320, %247, %244
  br label %322

322:                                              ; preds = %321, %243
  br label %323

323:                                              ; preds = %322, %197
  %324 = load ptr, ptr %12, align 8, !tbaa !5
  %325 = getelementptr inbounds double, ptr %324, i64 0
  %326 = load double, ptr %325, align 8, !tbaa !17
  %327 = load double, ptr %27, align 8, !tbaa !17
  %328 = fadd double %326, %327
  %329 = load ptr, ptr %15, align 8, !tbaa !5
  %330 = getelementptr inbounds double, ptr %329, i64 0
  store double %328, ptr %330, align 8, !tbaa !17
  %331 = load ptr, ptr %12, align 8, !tbaa !5
  %332 = getelementptr inbounds double, ptr %331, i64 1
  %333 = load double, ptr %332, align 8, !tbaa !17
  %334 = load double, ptr %28, align 8, !tbaa !17
  %335 = fadd double %333, %334
  %336 = load ptr, ptr %15, align 8, !tbaa !5
  %337 = getelementptr inbounds double, ptr %336, i64 1
  store double %335, ptr %337, align 8, !tbaa !17
  %338 = load double, ptr %22, align 8, !tbaa !17
  %339 = load double, ptr %27, align 8, !tbaa !17
  %340 = load double, ptr %21, align 8, !tbaa !17
  %341 = load double, ptr %28, align 8, !tbaa !17
  %342 = fmul double %340, %341
  %343 = fneg double %342
  %344 = call double @llvm.fmuladd.f64(double %338, double %339, double %343)
  %345 = load double, ptr %26, align 8, !tbaa !17
  %346 = fmul double 2.000000e+00, %345
  %347 = fmul double %344, %346
  %348 = load ptr, ptr %16, align 8, !tbaa !5
  store double %347, ptr %348, align 8, !tbaa !17
  %349 = load double, ptr %19, align 8, !tbaa !17
  %350 = load double, ptr %28, align 8, !tbaa !17
  %351 = load double, ptr %20, align 8, !tbaa !17
  %352 = load double, ptr %27, align 8, !tbaa !17
  %353 = fmul double %351, %352
  %354 = fneg double %353
  %355 = call double @llvm.fmuladd.f64(double %349, double %350, double %354)
  %356 = load double, ptr %26, align 8, !tbaa !17
  %357 = fmul double 2.000000e+00, %356
  %358 = fmul double %355, %357
  %359 = load ptr, ptr %17, align 8, !tbaa !5
  store double %358, ptr %359, align 8, !tbaa !17
  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
  ret void
}

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


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

; 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 @counterclockwise(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @findcircumcenter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7, i32 noundef %8) local_unnamed_addr #1 {
  %10 = getelementptr inbounds i8, ptr %0, i64 82816
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = add nsw i64 %11, 1
  store i64 %12, ptr %10, align 8, !tbaa !5
  %13 = load <2 x double>, ptr %3, align 8, !tbaa !15
  %14 = load <2 x double>, ptr %2, align 8, !tbaa !15
  %15 = fsub <2 x double> %13, %14
  %16 = load <2 x double>, ptr %4, align 8, !tbaa !15
  %17 = fsub <2 x double> %16, %14
  %18 = shufflevector <2 x double> %15, <2 x double> %17, <2 x i32> <i32 1, i32 3>
  %19 = fmul <2 x double> %18, %18
  %20 = shufflevector <2 x double> %15, <2 x double> %17, <2 x i32> <i32 0, i32 2>
  %21 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %20, <2 x double> %20, <2 x double> %19)
  %22 = fsub <2 x double> %13, %16
  %23 = extractelement <2 x double> %22, i64 0
  %24 = fsub <2 x double> %13, %16
  %25 = fmul <2 x double> %24, %24
  %26 = extractelement <2 x double> %25, i64 1
  %27 = tail call double @llvm.fmuladd.f64(double %23, double %23, double %26)
  %28 = getelementptr inbounds i8, ptr %1, i64 84
  %29 = load i32, ptr %28, align 4, !tbaa !16
  %.not = icmp eq i32 %29, 0
  br i1 %.not, label %38, label %30

30:                                               ; preds = %9
  %31 = extractelement <2 x double> %17, i64 0
  %32 = fneg double %31
  %33 = extractelement <2 x double> %15, i64 1
  %34 = fmul double %33, %32
  %35 = extractelement <2 x double> %15, i64 0
  %36 = extractelement <2 x double> %17, i64 1
  %37 = tail call double @llvm.fmuladd.f64(double %35, double %36, double %34)
  br label %44

38:                                               ; preds = %9
  %39 = tail call double @counterclockwise(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2)
  %40 = getelementptr inbounds i8, ptr %0, i64 82792
  %41 = load i64, ptr %40, align 8, !tbaa !18
  %42 = add nsw i64 %41, -1
  store i64 %42, ptr %40, align 8, !tbaa !18
  %43 = extractelement <2 x double> %17, i64 0
  %.pre = fneg double %43
  br label %44

44:                                               ; preds = %38, %30
  %.pre-phi = phi double [ %.pre, %38 ], [ %32, %30 ]
  %.pn = phi double [ %39, %38 ], [ %37, %30 ]
  %.0134 = fdiv double 5.000000e-01, %.pn
  %45 = extractelement <2 x double> %15, i64 1
  %46 = fneg double %45
  %47 = insertelement <2 x double> poison, double %.pre-phi, i64 0
  %48 = insertelement <2 x double> %47, double %46, i64 1
  %49 = fmul <2 x double> %21, %48
  %50 = shufflevector <2 x double> %49, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %51 = shufflevector <2 x double> %18, <2 x double> %15, <2 x i32> <i32 1, i32 2>
  %52 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %21, <2 x double> %50)
  %53 = insertelement <2 x double> poison, double %.0134, i64 0
  %54 = shufflevector <2 x double> %53, <2 x double> poison, <2 x i32> zeroinitializer
  %55 = fmul <2 x double> %52, %54
  %56 = extractelement <2 x double> %21, i64 0
  %57 = extractelement <2 x double> %21, i64 1
  %58 = fcmp olt double %56, %57
  %59 = fcmp olt double %56, %27
  %or.cond = select i1 %58, i1 %59, i1 false
  br i1 %or.cond, label %60, label %80

60:                                               ; preds = %44
  %.not141 = icmp eq i32 %8, 0
  br i1 %.not141, label %129, label %61

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %1, i64 152
  %63 = load double, ptr %62, align 8, !tbaa !19
  %64 = fcmp ogt double %63, 0.000000e+00
  br i1 %64, label %65, label %129

65:                                               ; preds = %61
  %66 = fneg double %63
  %67 = insertelement <2 x double> poison, double %63, i64 0
  %68 = insertelement <2 x double> %67, double %66, i64 1
  %69 = fmul <2 x double> %15, %68
  %70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %71 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %15, <2 x double> <double 5.000000e-01, double 5.000000e-01>, <2 x double> %70)
  %72 = shufflevector <2 x double> %71, <2 x double> %55, <2 x i32> <i32 1, i32 3>
  %73 = fmul <2 x double> %72, %72
  %74 = shufflevector <2 x double> %71, <2 x double> %55, <2 x i32> <i32 0, i32 2>
  %75 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %74, <2 x double> %74, <2 x double> %73)
  %76 = extractelement <2 x double> %75, i64 0
  %77 = extractelement <2 x double> %75, i64 1
  %78 = fcmp olt double %76, %77
  br i1 %78, label %79, label %129

79:                                               ; preds = %65
  br label %129

80:                                               ; preds = %44
  %81 = fcmp olt double %57, %27
  %.not140 = icmp eq i32 %8, 0
  br i1 %81, label %82, label %102

82:                                               ; preds = %80
  br i1 %.not140, label %129, label %83

83:                                               ; preds = %82
  %84 = getelementptr inbounds i8, ptr %1, i64 152
  %85 = load double, ptr %84, align 8, !tbaa !19
  %86 = fcmp ogt double %85, 0.000000e+00
  br i1 %86, label %87, label %129

87:                                               ; preds = %83
  %88 = fneg double %85
  %89 = insertelement <2 x double> poison, double %88, i64 0
  %90 = insertelement <2 x double> %89, double %85, i64 1
  %91 = fmul <2 x double> %17, %90
  %92 = shufflevector <2 x double> %91, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %93 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %17, <2 x double> <double 5.000000e-01, double 5.000000e-01>, <2 x double> %92)
  %94 = shufflevector <2 x double> %93, <2 x double> %55, <2 x i32> <i32 1, i32 3>
  %95 = fmul <2 x double> %94, %94
  %96 = shufflevector <2 x double> %93, <2 x double> %55, <2 x i32> <i32 0, i32 2>
  %97 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %96, <2 x double> %95)
  %98 = extractelement <2 x double> %97, i64 0
  %99 = extractelement <2 x double> %97, i64 1
  %100 = fcmp olt double %98, %99
  br i1 %100, label %101, label %129

101:                                              ; preds = %87
  br label %129

102:                                              ; preds = %80
  br i1 %.not140, label %129, label %103

103:                                              ; preds = %102
  %104 = getelementptr inbounds i8, ptr %1, i64 152
  %105 = load double, ptr %104, align 8, !tbaa !19
  %106 = fcmp ogt double %105, 0.000000e+00
  br i1 %106, label %107, label %129

107:                                              ; preds = %103
  %108 = fneg double %105
  %109 = load <2 x double>, ptr %4, align 8, !tbaa !15
  %110 = load <2 x double>, ptr %3, align 8, !tbaa !15
  %111 = fsub <2 x double> %109, %110
  %112 = insertelement <2 x double> poison, double %105, i64 0
  %113 = insertelement <2 x double> %112, double %108, i64 1
  %114 = fmul <2 x double> %111, %113
  %115 = shufflevector <2 x double> %114, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %116 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %111, <2 x double> <double 5.000000e-01, double 5.000000e-01>, <2 x double> %115)
  %117 = fsub <2 x double> %55, %15
  %118 = fsub <2 x double> %55, %15
  %119 = shufflevector <2 x double> %116, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %120 = shufflevector <2 x double> %119, <2 x double> %118, <2 x i32> <i32 0, i32 3>
  %121 = fmul <2 x double> %120, %120
  %122 = shufflevector <2 x double> %116, <2 x double> %117, <2 x i32> <i32 0, i32 2>
  %123 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %122, <2 x double> %122, <2 x double> %121)
  %124 = extractelement <2 x double> %123, i64 0
  %125 = extractelement <2 x double> %123, i64 1
  %126 = fcmp olt double %124, %125
  br i1 %126, label %127, label %129

127:                                              ; preds = %107
  %128 = fadd <2 x double> %15, %116
  br label %129

129:                                              ; preds = %87, %101, %83, %82, %107, %127, %103, %102, %60, %61, %79, %65
  %130 = phi <2 x double> [ %71, %79 ], [ %55, %65 ], [ %55, %61 ], [ %55, %60 ], [ %93, %101 ], [ %55, %87 ], [ %55, %83 ], [ %55, %82 ], [ %128, %127 ], [ %55, %107 ], [ %55, %103 ], [ %55, %102 ]
  %131 = getelementptr inbounds i8, ptr %2, i64 8
  %132 = load double, ptr %2, align 8, !tbaa !15
  %133 = extractelement <2 x double> %130, i64 0
  %134 = fadd double %133, %132
  store double %134, ptr %5, align 8, !tbaa !15
  %135 = load double, ptr %131, align 8, !tbaa !15
  %136 = extractelement <2 x double> %130, i64 1
  %137 = fadd double %136, %135
  %138 = getelementptr inbounds i8, ptr %5, i64 8
  store double %137, ptr %138, align 8, !tbaa !15
  %139 = fmul double %136, %.pre-phi
  %140 = extractelement <2 x double> %17, i64 1
  %141 = tail call double @llvm.fmuladd.f64(double %140, double %133, double %139)
  %142 = fmul double %.0134, 2.000000e+00
  %143 = fmul double %142, %141
  store double %143, ptr %6, align 8, !tbaa !15
  %144 = fmul double %133, %46
  %145 = extractelement <2 x double> %15, i64 0
  %146 = tail call double @llvm.fmuladd.f64(double %145, double %136, double %144)
  %147 = fmul double %142, %146
  store double %147, ptr %7, align 8, !tbaa !15
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2

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

!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 82816}
!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}
!18 = !{!6, !12, i64 82792}
!19 = !{!17, !13, i64 152}


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