; LLVM IR from Ubpa/USTC_CG :: Homeworks/6_MassSpring/documents/tetgen/src/TetGene (tetgen)

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

%"class.tetgenmesh::triface" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::face" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::insertvertexflags" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %"class.tetgenmesh::triface", %"class.tetgenmesh::face", i32, double, ptr }
%class.tetgenmesh = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.tetgenmesh::triface", %"class.tetgenmesh::face", ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, [8 x [3 x [8 x i32]]], [8 x i32] }
%"class.tetgenmesh::memorypool" = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32 }
%class.tetgenbehavior = 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, 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, double, double, double, double, double, double, double, double, [1024 x i8], [1024 x i8], [1024 x i8], [1024 x i8], [1024 x i8], i32, [4 x i8] }>
%"class.tetgenmesh::arraypool" = type { i32, i32, i32, i32, i32, ptr, i64, i64 }

@_ZN10tetgenmesh10facepivot1E = external dso_local global [12 x i32], align 16
@_ZN10tetgenmesh10facepivot2E = external dso_local global [12 x [12 x i32]], align 16
@.str.398 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.399 = external hidden unnamed_addr constant [33 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef, i32 noundef) #1

declare i32 @printf(ptr noundef, ...) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh12pointdeallocEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh8tssbond1ERNS_7trifaceERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh8sstbond1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN10tetgenmesh12randomnationEj(ptr noundef nonnull align 8 dereferenceable(1536), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh17insertvertexflagsC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh12scoutsegmentEPdS0_PNS_4faceEPNS_7trifaceEPS0_PNS_9arraypoolE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh21getsteinerptonsegmentEPNS_4faceEPdS2_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, double noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10tetgenmesh12refineregionERNS_4faceEPNS_9arraypoolES3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #5 align 2 {
  %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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.tetgenmesh::triface", align 8
  %18 = alloca %"class.tetgenmesh::triface", align 8
  %19 = alloca %"class.tetgenmesh::face", align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.tetgenmesh::insertvertexflags", align 8
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %18)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 112, ptr %25) #6
  call void @_ZN10tetgenmesh17insertvertexflagsC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %25)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %31 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 7
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds %"class.tetgenmesh::memorypool", ptr %32, i32 0, i32 10
  %34 = load i64, ptr %33, align 8, !tbaa !16
  store i64 %34, ptr %27, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %35 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = getelementptr inbounds %class.tetgenbehavior, ptr %36, i32 0, i32 37
  %38 = load i32, ptr %37, align 4, !tbaa !20
  %39 = icmp sgt i32 %38, 2
  br i1 %39, label %40, label %51

40:                                               ; preds = %8
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %41)
  %43 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %42)
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %44)
  %46 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %45)
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %47)
  %49 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %48)
  %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.398, i32 noundef %43, i32 noundef %46, i32 noundef %49)
  br label %51

51:                                               ; preds = %40, %8
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %52)
  store ptr %53, ptr %22, align 8, !tbaa !5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %54)
  store ptr %55, ptr %23, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %21, i32 noundef 7)
  store i32 0, ptr %29, align 4, !tbaa !23
  br label %56

56:                                               ; preds = %76, %51
  %57 = load i32, ptr %29, align 4, !tbaa !23
  %58 = icmp slt i32 %57, 3
  br i1 %58, label %59, label %79

59:                                               ; preds = %56
  %60 = load ptr, ptr %22, align 8, !tbaa !5
  %61 = load i32, ptr %29, align 4, !tbaa !23
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %60, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !24
  %65 = load ptr, ptr %23, align 8, !tbaa !5
  %66 = load i32, ptr %29, align 4, !tbaa !23
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds double, ptr %65, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !24
  %70 = fadd double %64, %69
  %71 = fmul double 5.000000e-01, %70
  %72 = load ptr, ptr %21, align 8, !tbaa !5
  %73 = load i32, ptr %29, align 4, !tbaa !23
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds double, ptr %72, i64 %74
  store double %71, ptr %75, align 8, !tbaa !24
  br label %76

76:                                               ; preds = %59
  %77 = load i32, ptr %29, align 4, !tbaa !23
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %29, align 4, !tbaa !23
  br label %56, !llvm.loop !25

79:                                               ; preds = %56
  %80 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 1
  store i32 1, ptr %80, align 4, !tbaa !27
  %81 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 8
  store i32 1, ptr %81, align 8, !tbaa !29
  %82 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 10
  store i32 4, ptr %82, align 8, !tbaa !30
  %83 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 11
  store i32 1, ptr %83, align 4, !tbaa !31
  %84 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !19
  %86 = getelementptr inbounds %class.tetgenbehavior, ptr %85, i32 0, i32 10
  %87 = load i32, ptr %86, align 8, !tbaa !32
  %88 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 9
  store i32 %87, ptr %88, align 4, !tbaa !33
  %89 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 57
  %90 = load i32, ptr %89, align 8, !tbaa !34
  %91 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 16
  store i32 %90, ptr %91, align 8, !tbaa !35
  %92 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %92, ptr noundef nonnull align 8 dereferenceable(12) %17)
  %93 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 0
  store i32 1, ptr %93, align 8, !tbaa !36
  %94 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 6
  store i32 1, ptr %94, align 8, !tbaa !37
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %95, ptr noundef %17, ptr noundef %96, ptr noundef null, ptr noundef %25, ptr noundef %97, ptr noundef %98, ptr noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %102)
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %212, label %105

105:                                              ; preds = %79
  %106 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !36
  %108 = icmp eq i32 %107, 7
  br i1 %108, label %109, label %210

109:                                              ; preds = %105
  %110 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN10tetgenmesh12pointdeallocEPd(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %110)
  %111 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %112 = load ptr, ptr %111, align 8, !tbaa !38
  %113 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %112, i32 0, i32 6
  %114 = load i64, ptr %113, align 8, !tbaa !39
  %115 = trunc i64 %114 to i32
  %116 = call noundef i64 @_ZN10tetgenmesh12randomnationEj(ptr noundef nonnull align 8 dereferenceable(1536) %30, i32 noundef %115)
  %117 = trunc i64 %116 to i32
  store i32 %117, ptr %29, align 4, !tbaa !23
  %118 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %119 = load ptr, ptr %118, align 8, !tbaa !38
  %120 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %119, i32 0, i32 5
  %121 = load ptr, ptr %120, align 8, !tbaa !41
  %122 = load i32, ptr %29, align 4, !tbaa !23
  %123 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %124 = load ptr, ptr %123, align 8, !tbaa !38
  %125 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %124, i32 0, i32 2
  %126 = load i32, ptr %125, align 8, !tbaa !42
  %127 = ashr i32 %122, %126
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds ptr, ptr %121, i64 %128
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = load i32, ptr %29, align 4, !tbaa !23
  %132 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %133 = load ptr, ptr %132, align 8, !tbaa !38
  %134 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %133, i32 0, i32 3
  %135 = load i32, ptr %134, align 4, !tbaa !43
  %136 = and i32 %131, %135
  %137 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %138 = load ptr, ptr %137, align 8, !tbaa !38
  %139 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %138, i32 0, i32 0
  %140 = load i32, ptr %139, align 8, !tbaa !44
  %141 = mul nsw i32 %136, %140
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %130, i64 %142
  store ptr %143, ptr %20, align 8, !tbaa !5
  %144 = load ptr, ptr %20, align 8, !tbaa !5
  %145 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %19, ptr noundef nonnull align 8 dereferenceable(12) %144)
  %146 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 30
  %147 = load ptr, ptr %146, align 8, !tbaa !38
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %147)
  %148 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19)
  store ptr %148, ptr %22, align 8, !tbaa !5
  %149 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19)
  store ptr %149, ptr %23, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %21, i32 noundef 6)
  store i32 0, ptr %29, align 4, !tbaa !23
  br label %150

150:                                              ; preds = %170, %109
  %151 = load i32, ptr %29, align 4, !tbaa !23
  %152 = icmp slt i32 %151, 3
  br i1 %152, label %153, label %173

153:                                              ; preds = %150
  %154 = load ptr, ptr %22, align 8, !tbaa !5
  %155 = load i32, ptr %29, align 4, !tbaa !23
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %154, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !24
  %159 = load ptr, ptr %23, align 8, !tbaa !5
  %160 = load i32, ptr %29, align 4, !tbaa !23
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !24
  %164 = fadd double %158, %163
  %165 = fmul double 5.000000e-01, %164
  %166 = load ptr, ptr %21, align 8, !tbaa !5
  %167 = load i32, ptr %29, align 4, !tbaa !23
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  store double %165, ptr %169, align 8, !tbaa !24
  br label %170

170:                                              ; preds = %153
  %171 = load i32, ptr %29, align 4, !tbaa !23
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %29, align 4, !tbaa !23
  br label %150, !llvm.loop !45

173:                                              ; preds = %150
  %174 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %174, ptr noundef nonnull align 8 dereferenceable(12) %17)
  %175 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 0
  store i32 1, ptr %175, align 8, !tbaa !36
  %176 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 6
  store i32 0, ptr %176, align 8, !tbaa !37
  %177 = load ptr, ptr %21, align 8, !tbaa !5
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = load ptr, ptr %14, align 8, !tbaa !5
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %177, ptr noundef %17, ptr noundef %178, ptr noundef %19, ptr noundef %25, ptr noundef %179, ptr noundef %180, ptr noundef %181, ptr noundef %182, ptr noundef %183, ptr noundef %184)
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %188, label %187

187:                                              ; preds = %173
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef %30, i32 noundef 2)
  br label %188

188:                                              ; preds = %187, %173
  %189 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 57
  %190 = load i32, ptr %189, align 8, !tbaa !34
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %198

192:                                              ; preds = %188
  %193 = load ptr, ptr %21, align 8, !tbaa !5
  %194 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 18
  %195 = load ptr, ptr %194, align 8, !tbaa !46
  %196 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 17
  %197 = load double, ptr %196, align 8, !tbaa !47
  call void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %193, ptr noundef %195, double noundef %197)
  br label %198

198:                                              ; preds = %192, %188
  %199 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 83
  %200 = load i64, ptr %199, align 8, !tbaa !48
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %199, align 8, !tbaa !48
  %202 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %203 = load i64, ptr %202, align 8, !tbaa !49
  %204 = icmp sgt i64 %203, 0
  br i1 %204, label %205, label %209

205:                                              ; preds = %198
  %206 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %207 = load i64, ptr %206, align 8, !tbaa !49
  %208 = add nsw i64 %207, -1
  store i64 %208, ptr %206, align 8, !tbaa !49
  br label %209

209:                                              ; preds = %205, %198
  br label %211

210:                                              ; preds = %105
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef %30, i32 noundef 2)
  br label %211

211:                                              ; preds = %210, %209
  br label %234

212:                                              ; preds = %79
  %213 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 57
  %214 = load i32, ptr %213, align 8, !tbaa !34
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %222

216:                                              ; preds = %212
  %217 = load ptr, ptr %21, align 8, !tbaa !5
  %218 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 18
  %219 = load ptr, ptr %218, align 8, !tbaa !46
  %220 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 17
  %221 = load double, ptr %220, align 8, !tbaa !47
  call void @_ZN10tetgenmesh25save_facetpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %217, ptr noundef %219, double noundef %221)
  br label %222

222:                                              ; preds = %216, %212
  %223 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 84
  %224 = load i64, ptr %223, align 8, !tbaa !50
  %225 = add nsw i64 %224, 1
  store i64 %225, ptr %223, align 8, !tbaa !50
  %226 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %227 = load i64, ptr %226, align 8, !tbaa !49
  %228 = icmp sgt i64 %227, 0
  br i1 %228, label %229, label %233

229:                                              ; preds = %222
  %230 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %231 = load i64, ptr %230, align 8, !tbaa !49
  %232 = add nsw i64 %231, -1
  store i64 %232, ptr %230, align 8, !tbaa !49
  br label %233

233:                                              ; preds = %229, %222
  br label %234

234:                                              ; preds = %233, %211
  br label %235

235:                                              ; preds = %370, %285, %234
  %236 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %237 = load ptr, ptr %236, align 8, !tbaa !51
  %238 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %237, i32 0, i32 6
  %239 = load i64, ptr %238, align 8, !tbaa !39
  %240 = icmp sgt i64 %239, 0
  br i1 %240, label %241, label %371

241:                                              ; preds = %235
  %242 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %243 = load ptr, ptr %242, align 8, !tbaa !51
  %244 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %243, i32 0, i32 6
  %245 = load i64, ptr %244, align 8, !tbaa !39
  %246 = add nsw i64 %245, -1
  store i64 %246, ptr %244, align 8, !tbaa !39
  %247 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %248 = load ptr, ptr %247, align 8, !tbaa !51
  %249 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %248, i32 0, i32 5
  %250 = load ptr, ptr %249, align 8, !tbaa !41
  %251 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %252 = load ptr, ptr %251, align 8, !tbaa !51
  %253 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %252, i32 0, i32 6
  %254 = load i64, ptr %253, align 8, !tbaa !39
  %255 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %256 = load ptr, ptr %255, align 8, !tbaa !51
  %257 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %256, i32 0, i32 2
  %258 = load i32, ptr %257, align 8, !tbaa !42
  %259 = zext i32 %258 to i64
  %260 = ashr i64 %254, %259
  %261 = getelementptr inbounds ptr, ptr %250, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %264 = load ptr, ptr %263, align 8, !tbaa !51
  %265 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %264, i32 0, i32 6
  %266 = load i64, ptr %265, align 8, !tbaa !39
  %267 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %268 = load ptr, ptr %267, align 8, !tbaa !51
  %269 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %268, i32 0, i32 3
  %270 = load i32, ptr %269, align 4, !tbaa !43
  %271 = sext i32 %270 to i64
  %272 = and i64 %266, %271
  %273 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 27
  %274 = load ptr, ptr %273, align 8, !tbaa !51
  %275 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %274, i32 0, i32 0
  %276 = load i32, ptr %275, align 8, !tbaa !44
  %277 = sext i32 %276 to i64
  %278 = mul nsw i64 %272, %277
  %279 = getelementptr inbounds i8, ptr %262, i64 %278
  store ptr %279, ptr %20, align 8, !tbaa !5
  %280 = load ptr, ptr %20, align 8, !tbaa !5
  %281 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %19, ptr noundef nonnull align 8 dereferenceable(12) %280)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19, ptr noundef nonnull align 8 dereferenceable(12) %17)
  %282 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %17, i32 0, i32 0
  %283 = load ptr, ptr %282, align 8, !tbaa !52
  %284 = icmp ne ptr %283, null
  br i1 %284, label %285, label %286

285:                                              ; preds = %241
  br label %235, !llvm.loop !53

286:                                              ; preds = %241
  %287 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19)
  %288 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19)
  %289 = call noundef i32 @_ZN10tetgenmesh12scoutsegmentEPdS0_PNS_4faceEPNS_7trifaceEPS0_PNS_9arraypoolE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %287, ptr noundef %288, ptr noundef %19, ptr noundef %17, ptr noundef %24, ptr noundef null)
  store i32 %289, ptr %26, align 4, !tbaa !54
  %290 = load i32, ptr %26, align 4, !tbaa !54
  %291 = icmp eq i32 %290, 3
  br i1 %291, label %292, label %323

292:                                              ; preds = %286
  call void @_ZN10tetgenmesh8sstbond1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %19, ptr noundef nonnull align 8 dereferenceable(12) %17)
  %293 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 8 dereferenceable(12) %17)
  br label %294

294:                                              ; preds = %316, %292
  call void @_ZN10tetgenmesh8tssbond1ERNS_7trifaceERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 8 dereferenceable(12) %19)
  %295 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 1
  %296 = load i32, ptr %295, align 8, !tbaa !56
  store i32 %296, ptr %28, align 4, !tbaa !23
  %297 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8, !tbaa !52
  %299 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 1
  %300 = load i32, ptr %299, align 8, !tbaa !56
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %301
  %303 = load i32, ptr %302, align 4, !tbaa !23
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds ptr, ptr %298, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %306, ptr noundef nonnull align 8 dereferenceable(12) %18)
  %307 = load i32, ptr %28, align 4, !tbaa !23
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %308
  %310 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 1
  %311 = load i32, ptr %310, align 8, !tbaa !56
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds [12 x i32], ptr %309, i64 0, i64 %312
  %314 = load i32, ptr %313, align 4, !tbaa !23
  %315 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 1
  store i32 %314, ptr %315, align 8, !tbaa !56
  br label %316

316:                                              ; preds = %294
  %317 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %18, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8, !tbaa !52
  %319 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %17, i32 0, i32 0
  %320 = load ptr, ptr %319, align 8, !tbaa !52
  %321 = icmp ne ptr %318, %320
  br i1 %321, label %294, label %322, !llvm.loop !57

322:                                              ; preds = %316
  br label %370

323:                                              ; preds = %286
  %324 = load i32, ptr %26, align 4, !tbaa !54
  %325 = icmp eq i32 %324, 9
  br i1 %325, label %329, label %326

326:                                              ; preds = %323
  %327 = load i32, ptr %26, align 4, !tbaa !54
  %328 = icmp eq i32 %327, 8
  br i1 %328, label %329, label %368

329:                                              ; preds = %326, %323
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %21, i32 noundef 6)
  %330 = load ptr, ptr %24, align 8, !tbaa !5
  %331 = load ptr, ptr %21, align 8, !tbaa !5
  %332 = call noundef i32 @_ZN10tetgenmesh21getsteinerptonsegmentEPNS_4faceEPdS2_(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %19, ptr noundef %330, ptr noundef %331)
  %333 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 0
  store i32 1, ptr %333, align 8, !tbaa !36
  %334 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 6
  store i32 0, ptr %334, align 8, !tbaa !37
  %335 = load ptr, ptr %21, align 8, !tbaa !5
  %336 = load ptr, ptr %10, align 8, !tbaa !5
  %337 = load ptr, ptr %11, align 8, !tbaa !5
  %338 = load ptr, ptr %12, align 8, !tbaa !5
  %339 = load ptr, ptr %13, align 8, !tbaa !5
  %340 = load ptr, ptr %14, align 8, !tbaa !5
  %341 = load ptr, ptr %15, align 8, !tbaa !5
  %342 = load ptr, ptr %16, align 8, !tbaa !5
  %343 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %335, ptr noundef %17, ptr noundef %336, ptr noundef %19, ptr noundef %25, ptr noundef %337, ptr noundef %338, ptr noundef %339, ptr noundef %340, ptr noundef %341, ptr noundef %342)
  %344 = icmp ne i32 %343, 0
  br i1 %344, label %346, label %345

345:                                              ; preds = %329
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef %30, i32 noundef 2)
  br label %346

346:                                              ; preds = %345, %329
  %347 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 57
  %348 = load i32, ptr %347, align 8, !tbaa !34
  %349 = icmp ne i32 %348, 0
  br i1 %349, label %350, label %356

350:                                              ; preds = %346
  %351 = load ptr, ptr %21, align 8, !tbaa !5
  %352 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 18
  %353 = load ptr, ptr %352, align 8, !tbaa !46
  %354 = getelementptr inbounds %"class.tetgenmesh::insertvertexflags", ptr %25, i32 0, i32 17
  %355 = load double, ptr %354, align 8, !tbaa !47
  call void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %30, ptr noundef %351, ptr noundef %353, double noundef %355)
  br label %356

356:                                              ; preds = %350, %346
  %357 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 83
  %358 = load i64, ptr %357, align 8, !tbaa !48
  %359 = add nsw i64 %358, 1
  store i64 %359, ptr %357, align 8, !tbaa !48
  %360 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %361 = load i64, ptr %360, align 8, !tbaa !49
  %362 = icmp sgt i64 %361, 0
  br i1 %362, label %363, label %367

363:                                              ; preds = %356
  %364 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 79
  %365 = load i64, ptr %364, align 8, !tbaa !49
  %366 = add nsw i64 %365, -1
  store i64 %366, ptr %364, align 8, !tbaa !49
  br label %367

367:                                              ; preds = %363, %356
  br label %369

368:                                              ; preds = %326
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef %30, i32 noundef 2)
  br label %369

369:                                              ; preds = %368, %367
  br label %370

370:                                              ; preds = %369, %322
  br label %235, !llvm.loop !53

371:                                              ; preds = %235
  %372 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 2
  %373 = load ptr, ptr %372, align 8, !tbaa !19
  %374 = getelementptr inbounds %class.tetgenbehavior, ptr %373, i32 0, i32 37
  %375 = load i32, ptr %374, align 4, !tbaa !20
  %376 = icmp sgt i32 %375, 2
  br i1 %376, label %377, label %385

377:                                              ; preds = %371
  %378 = getelementptr inbounds %class.tetgenmesh, ptr %30, i32 0, i32 7
  %379 = load ptr, ptr %378, align 8, !tbaa !9
  %380 = getelementptr inbounds %"class.tetgenmesh::memorypool", ptr %379, i32 0, i32 10
  %381 = load i64, ptr %380, align 8, !tbaa !16
  %382 = load i64, ptr %27, align 8, !tbaa !18
  %383 = sub nsw i64 %381, %382
  %384 = call i32 (ptr, ...) @printf(ptr noundef @.str.399, i64 noundef %383)
  br label %385

385:                                              ; preds = %377, %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh25save_facetpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, double noundef) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 56}
!10 = !{!"_ZTS10tetgenmesh", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !11, i64 288, !13, i64 304, !6, i64 320, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !12, i64 344, !12, i64 348, !12, i64 352, !12, i64 356, !12, i64 360, !12, i64 364, !12, i64 368, !12, i64 372, !12, i64 376, !12, i64 380, !12, i64 384, !12, i64 388, !12, i64 392, !12, i64 396, !12, i64 400, !14, i64 408, !14, i64 416, !15, i64 424, !15, i64 432, !15, i64 440, !15, i64 448, !15, i64 456, !15, i64 464, !15, i64 472, !15, i64 480, !15, i64 488, !15, i64 496, !15, i64 504, !15, i64 512, !15, i64 520, !15, i64 528, !15, i64 536, !14, i64 544, !14, i64 552, !14, i64 560, !14, i64 568, !14, i64 576, !14, i64 584, !14, i64 592, !14, i64 600, !14, i64 608, !14, i64 616, !14, i64 624, !14, i64 632, !14, i64 640, !14, i64 648, !14, i64 656, !14, i64 664, !14, i64 672, !14, i64 680, !14, i64 688, !14, i64 696, !14, i64 704, !14, i64 712, !14, i64 720, !14, i64 728, !7, i64 736, !7, i64 1504}
!11 = !{!"_ZTSN10tetgenmesh7trifaceE", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN10tetgenmesh4faceE", !6, i64 0, !12, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !14, i64 64}
!17 = !{!"_ZTSN10tetgenmesh10memorypoolE", !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, !14, i64 64, !14, i64 72, !12, i64 80, !12, i64 84}
!18 = !{!14, !14, i64 0}
!19 = !{!10, !6, i64 16}
!20 = !{!21, !12, i64 148}
!21 = !{!"_ZTS14tetgenbehavior", !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, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !12, i64 236, !15, i64 240, !15, i64 248, !15, i64 256, !15, i64 264, !15, i64 272, !15, i64 280, !15, i64 288, !15, i64 296, !15, i64 304, !15, i64 312, !15, i64 320, !15, i64 328, !7, i64 336, !7, i64 1360, !7, i64 2384, !7, i64 3408, !7, i64 4432, !22, i64 5456}
!22 = !{!"_ZTSN14tetgenbehavior10objecttypeE", !7, i64 0}
!23 = !{!12, !12, i64 0}
!24 = !{!15, !15, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !12, i64 4}
!28 = !{!"_ZTSN10tetgenmesh17insertvertexflagsE", !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, !11, i64 56, !13, i64 72, !12, i64 88, !15, i64 96, !6, i64 104}
!29 = !{!28, !12, i64 32}
!30 = !{!28, !12, i64 40}
!31 = !{!28, !12, i64 44}
!32 = !{!21, !12, i64 40}
!33 = !{!28, !12, i64 36}
!34 = !{!10, !12, i64 400}
!35 = !{!28, !12, i64 88}
!36 = !{!28, !12, i64 0}
!37 = !{!28, !12, i64 24}
!38 = !{!10, !6, i64 240}
!39 = !{!40, !14, i64 32}
!40 = !{!"_ZTSN10tetgenmesh9arraypoolE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !6, i64 24, !14, i64 32, !14, i64 40}
!41 = !{!40, !6, i64 24}
!42 = !{!40, !12, i64 8}
!43 = !{!40, !12, i64 12}
!44 = !{!40, !12, i64 0}
!45 = distinct !{!45, !26}
!46 = !{!28, !6, i64 104}
!47 = !{!28, !15, i64 96}
!48 = !{!10, !14, i64 608}
!49 = !{!10, !14, i64 576}
!50 = !{!10, !14, i64 616}
!51 = !{!10, !6, i64 216}
!52 = !{!11, !6, i64 0}
!53 = distinct !{!53, !26}
!54 = !{!55, !55, i64 0}
!55 = !{!"_ZTSN10tetgenmesh11interresultE", !7, i64 0}
!56 = !{!11, !12, i64 8}
!57 = distinct !{!57, !26}


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

%"class.tetgenmesh::triface" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::face" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::insertvertexflags" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %"class.tetgenmesh::triface", %"class.tetgenmesh::face", i32, double, ptr }

@_ZN10tetgenmesh10facepivot1E = external dso_local local_unnamed_addr global [12 x i32], align 16
@_ZN10tetgenmesh10facepivot2E = external dso_local local_unnamed_addr global [12 x [12 x i32]], align 16
@.str.398 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.399 = external hidden unnamed_addr constant [33 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh12pointdeallocEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh8tssbond1ERNS_7trifaceERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh8sstbond1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN10tetgenmesh12randomnationEj(ptr noundef nonnull align 8 dereferenceable(1536), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh17insertvertexflagsC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh12scoutsegmentEPdS0_PNS_4faceEPNS_7trifaceEPS0_PNS_9arraypoolE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh21getsteinerptonsegmentEPNS_4faceEPdS2_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, double noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10tetgenmesh12refineregionERNS_4faceEPNS_9arraypoolES3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #5 align 2 {
  %9 = alloca %"class.tetgenmesh::triface", align 8
  %10 = alloca %"class.tetgenmesh::triface", align 8
  %11 = alloca %"class.tetgenmesh::face", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.tetgenmesh::insertvertexflags", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %14) #6
  call void @_ZN10tetgenmesh17insertvertexflagsC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 64
  %18 = load i64, ptr %17, align 8, !tbaa !15
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %20, i64 148
  %22 = load i32, ptr %21, align 4, !tbaa !18
  %23 = icmp sgt i32 %22, 2
  br i1 %23, label %24, label %32

24:                                               ; preds = %8
  %25 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  %26 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %25)
  %27 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  %28 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %27)
  %29 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  %30 = call noundef i32 @_ZN10tetgenmesh9pointmarkEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %29)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.398, i32 noundef %26, i32 noundef %28, i32 noundef %30)
  br label %32

32:                                               ; preds = %24, %8
  %33 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  %34 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %12, i32 noundef 7)
  %35 = load ptr, ptr %12, align 8, !tbaa !21
  %36 = load double, ptr %33, align 8, !tbaa !22
  %37 = load double, ptr %34, align 8, !tbaa !22
  %38 = fadd double %36, %37
  %39 = fmul double %38, 5.000000e-01
  store double %39, ptr %35, align 8, !tbaa !22
  %40 = getelementptr inbounds i8, ptr %33, i64 8
  %41 = load double, ptr %40, align 8, !tbaa !22
  %42 = getelementptr inbounds i8, ptr %34, i64 8
  %43 = load double, ptr %42, align 8, !tbaa !22
  %44 = fadd double %41, %43
  %45 = fmul double %44, 5.000000e-01
  %46 = getelementptr inbounds i8, ptr %35, i64 8
  store double %45, ptr %46, align 8, !tbaa !22
  %47 = getelementptr inbounds i8, ptr %33, i64 16
  %48 = load double, ptr %47, align 8, !tbaa !22
  %49 = getelementptr inbounds i8, ptr %34, i64 16
  %50 = load double, ptr %49, align 8, !tbaa !22
  %51 = fadd double %48, %50
  %52 = fmul double %51, 5.000000e-01
  %53 = getelementptr inbounds i8, ptr %35, i64 16
  store double %52, ptr %53, align 8, !tbaa !22
  %54 = getelementptr inbounds i8, ptr %14, i64 4
  store i32 1, ptr %54, align 4, !tbaa !23
  %55 = getelementptr inbounds i8, ptr %14, i64 32
  store i32 1, ptr %55, align 8, !tbaa !25
  %56 = getelementptr inbounds i8, ptr %14, i64 40
  store i32 4, ptr %56, align 8, !tbaa !26
  %57 = getelementptr inbounds i8, ptr %14, i64 44
  store i32 1, ptr %57, align 4, !tbaa !27
  %58 = load ptr, ptr %19, align 8, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %58, i64 40
  %60 = load i32, ptr %59, align 8, !tbaa !28
  %61 = getelementptr inbounds i8, ptr %14, i64 36
  store i32 %60, ptr %61, align 4, !tbaa !29
  %62 = getelementptr inbounds i8, ptr %0, i64 400
  %63 = load i32, ptr %62, align 8, !tbaa !30
  %64 = getelementptr inbounds i8, ptr %14, i64 88
  store i32 %63, ptr %64, align 8, !tbaa !31
  call void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %33, ptr noundef nonnull align 8 dereferenceable(12) %9)
  store i32 1, ptr %14, align 8, !tbaa !32
  %65 = getelementptr inbounds i8, ptr %14, i64 24
  store i32 1, ptr %65, align 8, !tbaa !33
  %66 = load ptr, ptr %12, align 8, !tbaa !21
  %67 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %66, ptr noundef nonnull %9, ptr noundef nonnull %1, ptr noundef null, ptr noundef nonnull %14, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  %.not = icmp eq i32 %67, 0
  br i1 %.not, label %68, label %140

68:                                               ; preds = %32
  %69 = load i32, ptr %14, align 8, !tbaa !32
  %70 = icmp eq i32 %69, 7
  br i1 %70, label %71, label %139

71:                                               ; preds = %68
  %72 = load ptr, ptr %12, align 8, !tbaa !21
  call void @_ZN10tetgenmesh12pointdeallocEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %72)
  %73 = getelementptr inbounds i8, ptr %0, i64 240
  %74 = load ptr, ptr %73, align 8, !tbaa !34
  %75 = getelementptr inbounds i8, ptr %74, i64 32
  %76 = load i64, ptr %75, align 8, !tbaa !35
  %77 = trunc i64 %76 to i32
  %78 = call noundef i64 @_ZN10tetgenmesh12randomnationEj(ptr noundef nonnull align 8 dereferenceable(1536) %0, i32 noundef %77)
  %79 = trunc i64 %78 to i32
  %80 = load ptr, ptr %73, align 8, !tbaa !34
  %81 = getelementptr inbounds i8, ptr %80, i64 24
  %82 = load ptr, ptr %81, align 8, !tbaa !37
  %83 = getelementptr inbounds i8, ptr %80, i64 8
  %84 = load i32, ptr %83, align 8, !tbaa !38
  %85 = ashr i32 %79, %84
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds ptr, ptr %82, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !21
  %89 = getelementptr inbounds i8, ptr %80, i64 12
  %90 = load i32, ptr %89, align 4, !tbaa !39
  %91 = and i32 %90, %79
  %92 = load i32, ptr %80, align 8, !tbaa !40
  %93 = mul nsw i32 %91, %92
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i8, ptr %88, i64 %94
  %96 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %95)
  %97 = load ptr, ptr %73, align 8, !tbaa !34
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %97)
  %98 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %99 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11)
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %12, i32 noundef 6)
  %100 = load ptr, ptr %12, align 8, !tbaa !21
  %101 = load double, ptr %98, align 8, !tbaa !22
  %102 = load double, ptr %99, align 8, !tbaa !22
  %103 = fadd double %101, %102
  %104 = fmul double %103, 5.000000e-01
  store double %104, ptr %100, align 8, !tbaa !22
  %105 = getelementptr inbounds i8, ptr %98, i64 8
  %106 = load double, ptr %105, align 8, !tbaa !22
  %107 = getelementptr inbounds i8, ptr %99, i64 8
  %108 = load double, ptr %107, align 8, !tbaa !22
  %109 = fadd double %106, %108
  %110 = fmul double %109, 5.000000e-01
  %111 = getelementptr inbounds i8, ptr %100, i64 8
  store double %110, ptr %111, align 8, !tbaa !22
  %112 = getelementptr inbounds i8, ptr %98, i64 16
  %113 = load double, ptr %112, align 8, !tbaa !22
  %114 = getelementptr inbounds i8, ptr %99, i64 16
  %115 = load double, ptr %114, align 8, !tbaa !22
  %116 = fadd double %113, %115
  %117 = fmul double %116, 5.000000e-01
  %118 = getelementptr inbounds i8, ptr %100, i64 16
  store double %117, ptr %118, align 8, !tbaa !22
  call void @_ZN10tetgenmesh12point2tetorgEPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %98, ptr noundef nonnull align 8 dereferenceable(12) %9)
  store i32 1, ptr %14, align 8, !tbaa !32
  store i32 0, ptr %65, align 8, !tbaa !33
  %119 = load ptr, ptr %12, align 8, !tbaa !21
  %120 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %119, ptr noundef nonnull %9, ptr noundef nonnull %1, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  %.not57 = icmp eq i32 %120, 0
  br i1 %.not57, label %121, label %122

121:                                              ; preds = %71
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef nonnull %0, i32 noundef 2)
  br label %122

122:                                              ; preds = %121, %71
  %123 = load i32, ptr %62, align 8, !tbaa !30
  %.not58 = icmp eq i32 %123, 0
  br i1 %.not58, label %130, label %124

124:                                              ; preds = %122
  %125 = load ptr, ptr %12, align 8, !tbaa !21
  %126 = getelementptr inbounds i8, ptr %14, i64 104
  %127 = load ptr, ptr %126, align 8, !tbaa !41
  %128 = getelementptr inbounds i8, ptr %14, i64 96
  %129 = load double, ptr %128, align 8, !tbaa !42
  call void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %125, ptr noundef %127, double noundef %129)
  br label %130

130:                                              ; preds = %124, %122
  %131 = getelementptr inbounds i8, ptr %0, i64 608
  %132 = load i64, ptr %131, align 8, !tbaa !43
  %133 = add nsw i64 %132, 1
  store i64 %133, ptr %131, align 8, !tbaa !43
  %134 = getelementptr inbounds i8, ptr %0, i64 576
  %135 = load i64, ptr %134, align 8, !tbaa !44
  %136 = icmp sgt i64 %135, 0
  br i1 %136, label %137, label %157

137:                                              ; preds = %130
  %138 = add nsw i64 %135, -1
  store i64 %138, ptr %134, align 8, !tbaa !44
  br label %157

139:                                              ; preds = %68
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef nonnull %0, i32 noundef 2)
  br label %157

140:                                              ; preds = %32
  %141 = load i32, ptr %62, align 8, !tbaa !30
  %.not59 = icmp eq i32 %141, 0
  br i1 %.not59, label %148, label %142

142:                                              ; preds = %140
  %143 = load ptr, ptr %12, align 8, !tbaa !21
  %144 = getelementptr inbounds i8, ptr %14, i64 104
  %145 = load ptr, ptr %144, align 8, !tbaa !41
  %146 = getelementptr inbounds i8, ptr %14, i64 96
  %147 = load double, ptr %146, align 8, !tbaa !42
  call void @_ZN10tetgenmesh25save_facetpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %143, ptr noundef %145, double noundef %147)
  br label %148

148:                                              ; preds = %142, %140
  %149 = getelementptr inbounds i8, ptr %0, i64 616
  %150 = load i64, ptr %149, align 8, !tbaa !45
  %151 = add nsw i64 %150, 1
  store i64 %151, ptr %149, align 8, !tbaa !45
  %152 = getelementptr inbounds i8, ptr %0, i64 576
  %153 = load i64, ptr %152, align 8, !tbaa !44
  %154 = icmp sgt i64 %153, 0
  br i1 %154, label %155, label %157

155:                                              ; preds = %148
  %156 = add nsw i64 %153, -1
  store i64 %156, ptr %152, align 8, !tbaa !44
  br label %157

157:                                              ; preds = %148, %155, %139, %137, %130
  %158 = getelementptr inbounds i8, ptr %0, i64 216
  %159 = load ptr, ptr %158, align 8, !tbaa !46
  %160 = getelementptr inbounds i8, ptr %159, i64 32
  %161 = load i64, ptr %160, align 8, !tbaa !35
  %162 = icmp sgt i64 %161, 0
  br i1 %162, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %157
  %163 = getelementptr inbounds i8, ptr %14, i64 104
  %164 = getelementptr inbounds i8, ptr %14, i64 96
  %165 = getelementptr inbounds i8, ptr %0, i64 608
  %166 = getelementptr inbounds i8, ptr %0, i64 576
  %167 = getelementptr inbounds i8, ptr %10, i64 8
  br label %168

168:                                              ; preds = %.lr.ph, %.backedge
  %169 = phi i64 [ %161, %.lr.ph ], [ %238, %.backedge ]
  %170 = phi ptr [ %160, %.lr.ph ], [ %237, %.backedge ]
  %171 = phi ptr [ %159, %.lr.ph ], [ %236, %.backedge ]
  %172 = add nsw i64 %169, -1
  store i64 %172, ptr %170, align 8, !tbaa !35
  %173 = getelementptr inbounds i8, ptr %171, i64 24
  %174 = load ptr, ptr %173, align 8, !tbaa !37
  %175 = getelementptr inbounds i8, ptr %171, i64 8
  %176 = load i32, ptr %175, align 8, !tbaa !38
  %177 = zext nneg i32 %176 to i64
  %178 = lshr i64 %172, %177
  %179 = getelementptr inbounds ptr, ptr %174, i64 %178
  %180 = load ptr, ptr %179, align 8, !tbaa !21
  %181 = getelementptr inbounds i8, ptr %171, i64 12
  %182 = load i32, ptr %181, align 4, !tbaa !39
  %183 = sext i32 %182 to i64
  %184 = and i64 %172, %183
  %185 = load i32, ptr %171, align 8, !tbaa !40
  %186 = sext i32 %185 to i64
  %187 = mul nsw i64 %184, %186
  %188 = getelementptr inbounds i8, ptr %180, i64 %187
  %189 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %188)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %190 = load ptr, ptr %9, align 8, !tbaa !47
  %.not60 = icmp eq ptr %190, null
  br i1 %.not60, label %191, label %.backedge

191:                                              ; preds = %168
  %192 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %193 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %194 = call noundef i32 @_ZN10tetgenmesh12scoutsegmentEPdS0_PNS_4faceEPNS_7trifaceEPS0_PNS_9arraypoolE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %192, ptr noundef %193, ptr noundef nonnull %11, ptr noundef nonnull %9, ptr noundef nonnull %13, ptr noundef null)
  %195 = icmp eq i32 %194, 3
  br i1 %195, label %196, label %213

196:                                              ; preds = %191
  call void @_ZN10tetgenmesh8sstbond1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %197 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %9)
  br label %198

198:                                              ; preds = %198, %196
  call void @_ZN10tetgenmesh8tssbond1ERNS_7trifaceERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %199 = load i32, ptr %167, align 8, !tbaa !48
  %200 = load ptr, ptr %10, align 8, !tbaa !47
  %201 = sext i32 %199 to i64
  %202 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !49
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds ptr, ptr %200, i64 %204
  %206 = load ptr, ptr %205, align 8, !tbaa !21
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %206, ptr noundef nonnull align 8 dereferenceable(12) %10)
  %207 = load i32, ptr %167, align 8, !tbaa !48
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %201, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !49
  store i32 %210, ptr %167, align 8, !tbaa !48
  %211 = load ptr, ptr %10, align 8, !tbaa !47
  %212 = load ptr, ptr %9, align 8, !tbaa !47
  %.not63 = icmp eq ptr %211, %212
  br i1 %.not63, label %.backedge, label %198, !llvm.loop !50

213:                                              ; preds = %191
  %214 = and i32 %194, -2
  %or.cond = icmp eq i32 %214, 8
  br i1 %or.cond, label %215, label %235

215:                                              ; preds = %213
  call void @_ZN10tetgenmesh9makepointEPPdNS_8verttypeE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %12, i32 noundef 6)
  %216 = load ptr, ptr %13, align 8, !tbaa !21
  %217 = load ptr, ptr %12, align 8, !tbaa !21
  %218 = call noundef i32 @_ZN10tetgenmesh21getsteinerptonsegmentEPNS_4faceEPdS2_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %11, ptr noundef %216, ptr noundef %217)
  store i32 1, ptr %14, align 8, !tbaa !32
  store i32 0, ptr %65, align 8, !tbaa !33
  %219 = load ptr, ptr %12, align 8, !tbaa !21
  %220 = call noundef i32 @_ZN10tetgenmesh15insertpoint_cdtEPdPNS_7trifaceEPNS_4faceES4_PNS_17insertvertexflagsEPNS_9arraypoolES8_S8_S8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %219, ptr noundef nonnull %9, ptr noundef nonnull %1, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
  %.not61 = icmp eq i32 %220, 0
  br i1 %.not61, label %221, label %222

221:                                              ; preds = %215
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef nonnull %0, i32 noundef 2)
  br label %222

222:                                              ; preds = %221, %215
  %223 = load i32, ptr %62, align 8, !tbaa !30
  %.not62 = icmp eq i32 %223, 0
  br i1 %.not62, label %228, label %224

224:                                              ; preds = %222
  %225 = load ptr, ptr %12, align 8, !tbaa !21
  %226 = load ptr, ptr %163, align 8, !tbaa !41
  %227 = load double, ptr %164, align 8, !tbaa !42
  call void @_ZN10tetgenmesh27save_segmentpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %225, ptr noundef %226, double noundef %227)
  br label %228

228:                                              ; preds = %224, %222
  %229 = load i64, ptr %165, align 8, !tbaa !43
  %230 = add nsw i64 %229, 1
  store i64 %230, ptr %165, align 8, !tbaa !43
  %231 = load i64, ptr %166, align 8, !tbaa !44
  %232 = icmp sgt i64 %231, 0
  br i1 %232, label %233, label %.backedge

233:                                              ; preds = %228
  %234 = add nsw i64 %231, -1
  store i64 %234, ptr %166, align 8, !tbaa !44
  br label %.backedge

235:                                              ; preds = %213
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef nonnull %0, i32 noundef 2)
  br label %.backedge

.backedge:                                        ; preds = %198, %228, %233, %235, %168
  %236 = load ptr, ptr %158, align 8, !tbaa !46
  %237 = getelementptr inbounds i8, ptr %236, i64 32
  %238 = load i64, ptr %237, align 8, !tbaa !35
  %239 = icmp sgt i64 %238, 0
  br i1 %239, label %168, label %._crit_edge, !llvm.loop !52

._crit_edge:                                      ; preds = %.backedge, %157
  %240 = load ptr, ptr %19, align 8, !tbaa !17
  %241 = getelementptr inbounds i8, ptr %240, i64 148
  %242 = load i32, ptr %241, align 4, !tbaa !18
  %243 = icmp sgt i32 %242, 2
  br i1 %243, label %244, label %250

244:                                              ; preds = %._crit_edge
  %245 = load ptr, ptr %15, align 8, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %245, i64 64
  %247 = load i64, ptr %246, align 8, !tbaa !15
  %248 = sub nsw i64 %247, %18
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.399, i64 noundef %248)
  br label %250

250:                                              ; preds = %244, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh25save_facetpoint_insradiusEPdS0_d(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, double noundef) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!6, !7, i64 56}
!6 = !{!"_ZTS10tetgenmesh", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !10, i64 288, !12, i64 304, !7, i64 320, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !11, i64 364, !11, i64 368, !11, i64 372, !11, i64 376, !11, i64 380, !11, i64 384, !11, i64 388, !11, i64 392, !11, i64 396, !11, i64 400, !13, i64 408, !13, i64 416, !14, i64 424, !14, i64 432, !14, i64 440, !14, i64 448, !14, i64 456, !14, i64 464, !14, i64 472, !14, i64 480, !14, i64 488, !14, i64 496, !14, i64 504, !14, i64 512, !14, i64 520, !14, i64 528, !14, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !13, i64 672, !13, i64 680, !13, i64 688, !13, i64 696, !13, i64 704, !13, i64 712, !13, i64 720, !13, i64 728, !8, i64 736, !8, i64 1504}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN10tetgenmesh7trifaceE", !7, i64 0, !11, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTSN10tetgenmesh4faceE", !7, i64 0, !11, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!16, !13, i64 64}
!16 = !{!"_ZTSN10tetgenmesh10memorypoolE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !13, i64 64, !13, i64 72, !11, i64 80, !11, i64 84}
!17 = !{!6, !7, i64 16}
!18 = !{!19, !11, i64 148}
!19 = !{!"_ZTS14tetgenbehavior", !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, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !8, i64 336, !8, i64 1360, !8, i64 2384, !8, i64 3408, !8, i64 4432, !20, i64 5456}
!20 = !{!"_ZTSN14tetgenbehavior10objecttypeE", !8, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!14, !14, i64 0}
!23 = !{!24, !11, i64 4}
!24 = !{!"_ZTSN10tetgenmesh17insertvertexflagsE", !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, !10, i64 56, !12, i64 72, !11, i64 88, !14, i64 96, !7, i64 104}
!25 = !{!24, !11, i64 32}
!26 = !{!24, !11, i64 40}
!27 = !{!24, !11, i64 44}
!28 = !{!19, !11, i64 40}
!29 = !{!24, !11, i64 36}
!30 = !{!6, !11, i64 400}
!31 = !{!24, !11, i64 88}
!32 = !{!24, !11, i64 0}
!33 = !{!24, !11, i64 24}
!34 = !{!6, !7, i64 240}
!35 = !{!36, !13, i64 32}
!36 = !{!"_ZTSN10tetgenmesh9arraypoolE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !7, i64 24, !13, i64 32, !13, i64 40}
!37 = !{!36, !7, i64 24}
!38 = !{!36, !11, i64 8}
!39 = !{!36, !11, i64 12}
!40 = !{!36, !11, i64 0}
!41 = !{!24, !7, i64 104}
!42 = !{!24, !14, i64 96}
!43 = !{!6, !13, i64 608}
!44 = !{!6, !13, i64 576}
!45 = !{!6, !13, i64 616}
!46 = !{!6, !7, i64 216}
!47 = !{!10, !7, i64 0}
!48 = !{!10, !11, i64 8}
!49 = !{!11, !11, i64 0}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = distinct !{!52, !51}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass