; 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::arraypool" = type { i32, i32, i32, i32, i32, ptr, i64, i64 }
%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] }

@_ZN10tetgenmesh7fsymtblE = external dso_local global [12 x [12 x i32]], align 16
@_ZN10tetgenmesh10facepivot1E = external dso_local global [12 x i32], align 16
@_ZN10tetgenmesh10facepivot2E = external dso_local global [12 x [12 x i32]], align 16
@_ZN10tetgenmesh8ver2edgeE = external dso_local global [12 x i32], align 16

; 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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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: 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 nounwind uwtable
declare dso_local void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef) #3 align 2

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

declare noundef double @_Z8orient3dPdS_S_S_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh20calculateabovepoint4EPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4 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)) #6 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)) #6 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)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh6spivotERNS_4faceES1_(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 noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh3orgERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh4oppoERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 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 nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9enextselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 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)) #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 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)) #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536)) #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10tetgenmesh14scoutcrossedgeERNS_7trifaceEPNS_9arraypoolES3_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1, ptr noundef %2, ptr noundef %3) #4 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.tetgenmesh::triface", align 8
  %11 = alloca %"class.tetgenmesh::triface", align 8
  %12 = alloca %"class.tetgenmesh::triface", align 8
  %13 = alloca %"class.tetgenmesh::face", align 8
  %14 = alloca %"class.tetgenmesh::face", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.tetgenmesh::face", align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca double, align 8
  %23 = alloca [2 x i32], align 4
  %24 = alloca [4 x i32], align 16
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.tetgenmesh::face", align 8
  %31 = alloca %"class.tetgenmesh::face", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.tetgenmesh::triface", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %13)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %197, %4
  %36 = load i32, ptr %28, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %38, i32 0, i32 6
  %40 = load i64, ptr %39, align 8, !tbaa !11
  %41 = icmp slt i64 %37, %40
  br i1 %41, label %42, label %46

42:                                               ; preds = %35
  %43 = load i32, ptr %25, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  %45 = xor i1 %44, true
  br label %46

46:                                               ; preds = %42, %35
  %47 = phi i1 [ false, %35 ], [ %45, %42 ]
  br i1 %47, label %48, label %200

48:                                               ; preds = %46
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %49, i32 0, i32 5
  %51 = load ptr, ptr %50, align 8, !tbaa !14
  %52 = load i32, ptr %28, align 4, !tbaa !9
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 8, !tbaa !15
  %56 = ashr i32 %52, %55
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds ptr, ptr %51, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = load i32, ptr %28, align 4, !tbaa !9
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %61, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !16
  %64 = and i32 %60, %63
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !17
  %68 = mul nsw i32 %64, %67
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %59, i64 %69
  store ptr %70, ptr %15, align 8, !tbaa !5
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %71, ptr noundef nonnull align 8 dereferenceable(12) %16)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %16, ptr noundef nonnull align 8 dereferenceable(12) %10)
  %72 = call noundef ptr @_ZN10tetgenmesh3orgERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %10)
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %73)
  %75 = icmp ne ptr %72, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %48
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %10)
  br label %77

77:                                               ; preds = %76, %48
  %78 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %10)
  br label %79

79:                                               ; preds = %195, %77
  br label %80

80:                                               ; preds = %79
  %81 = call noundef ptr @_ZN10tetgenmesh4apexERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %82 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %81)
  br i1 %82, label %83, label %167

83:                                               ; preds = %80
  %84 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %12, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %85 = load ptr, ptr %15, align 8, !tbaa !5
  %86 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %85)
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %159, %83
  %88 = load i32, ptr %29, align 4, !tbaa !9
  %89 = icmp slt i32 %88, 2
  br i1 %89, label %90, label %162

90:                                               ; preds = %87
  call void @_ZN10tetgenmesh9enextselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %12)
  %91 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %12, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !18
  %93 = getelementptr inbounds ptr, ptr %92, i64 8
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %110

96:                                               ; preds = %90
  %97 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %12, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !18
  %99 = getelementptr inbounds ptr, ptr %98, i64 8
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %12, i32 0, i32 1
  %102 = load i32, ptr %101, align 8, !tbaa !20
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh8ver2edgeE, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %100, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = icmp ne ptr %108, null
  br i1 %109, label %158, label %110

110:                                              ; preds = %96, %90
  %111 = load i32, ptr %29, align 4, !tbaa !9
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  call void @_ZN10tetgenmesh6senextERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %14)
  br label %115

114:                                              ; preds = %110
  call void @_ZN10tetgenmesh7senext2ERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %12)
  br label %115

115:                                              ; preds = %114, %113
  %116 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  store ptr %116, ptr %17, align 8, !tbaa !5
  %117 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  store ptr %117, ptr %18, align 8, !tbaa !5
  %118 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  store ptr %118, ptr %19, align 8, !tbaa !5
  %119 = call noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %12)
  store ptr %119, ptr %20, align 8, !tbaa !5
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN10tetgenmesh20calculateabovepoint4EPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123)
  %124 = load ptr, ptr %17, align 8, !tbaa !5
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 35
  %128 = load ptr, ptr %127, align 8, !tbaa !21
  %129 = call noundef double @_Z8orient3dPdS_S_S_(ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %128)
  store double %129, ptr %22, align 8, !tbaa !25
  %130 = load double, ptr %22, align 8, !tbaa !25
  %131 = fcmp ogt double %130, 0.000000e+00
  br i1 %131, label %132, label %133

132:                                              ; preds = %115
  call void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  br label %138

133:                                              ; preds = %115
  %134 = load double, ptr %22, align 8, !tbaa !25
  %135 = fcmp oeq double %134, 0.000000e+00
  br i1 %135, label %136, label %137

136:                                              ; preds = %133
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef %34, i32 noundef 2)
  br label %137

137:                                              ; preds = %136, %133
  br label %138

138:                                              ; preds = %137, %132
  %139 = call noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %12)
  %140 = call noundef i32 @_ZN10tetgenmesh13sscoutsegmentEPNS_4faceEPdiii(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %14, ptr noundef %139, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %141 = icmp eq i32 %140, 3
  br i1 %141, label %142, label %150

142:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %30)
  %143 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 6
  %144 = load ptr, ptr %143, align 8, !tbaa !26
  call void @_ZN10tetgenmesh13makeshellfaceEPNS_10memorypoolEPNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %144, ptr noundef %30)
  call void @_ZN10tetgenmesh6ssbondERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(12) %30)
  call void @_ZN10tetgenmesh10spivotselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh6ssbondERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(12) %30)
  %145 = call noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536) %34)
  call void @_ZN10tetgenmesh6spivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %30, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh10spivotselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %14)
  %146 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 6
  %147 = load ptr, ptr %146, align 8, !tbaa !26
  %148 = getelementptr inbounds %"class.tetgenmesh::face", ptr %30, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !27
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %147, ptr noundef %149)
  store i32 1, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %157

150:                                              ; preds = %138
  %151 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 15
  %152 = load ptr, ptr %151, align 8, !tbaa !28
  %153 = icmp ne ptr %152, null
  br i1 %153, label %154, label %156

154:                                              ; preds = %150
  %155 = call noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536) %34)
  br label %156

156:                                              ; preds = %154, %150
  br label %157

157:                                              ; preds = %156, %142
  br label %162

158:                                              ; preds = %96
  br label %159

159:                                              ; preds = %158
  %160 = load i32, ptr %29, align 4, !tbaa !9
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %29, align 4, !tbaa !9
  br label %87, !llvm.loop !29

162:                                              ; preds = %157, %87
  %163 = load i32, ptr %25, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %166

165:                                              ; preds = %162
  br label %196

166:                                              ; preds = %162
  br label %167

167:                                              ; preds = %166, %80
  %168 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %169 = load i32, ptr %168, align 8, !tbaa !20
  store i32 %169, ptr %27, align 4, !tbaa !9
  %170 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !18
  %172 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %173 = load i32, ptr %172, align 8, !tbaa !20
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %174
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %171, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %179, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %180 = load i32, ptr %27, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %181
  %183 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %184 = load i32, ptr %183, align 8, !tbaa !20
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [12 x i32], ptr %182, i64 0, i64 %185
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  store i32 %187, ptr %188, align 8, !tbaa !20
  %189 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8, !tbaa !18
  %191 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %10, i32 0, i32 0
  %192 = load ptr, ptr %191, align 8, !tbaa !18
  %193 = icmp eq ptr %190, %192
  br i1 %193, label %194, label %195

194:                                              ; preds = %167
  br label %196

195:                                              ; preds = %167
  br label %79, !llvm.loop !31

196:                                              ; preds = %194, %165
  br label %197

197:                                              ; preds = %196
  %198 = load i32, ptr %28, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %28, align 4, !tbaa !9
  br label %35, !llvm.loop !32

200:                                              ; preds = %46
  %201 = load i32, ptr %25, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %302

203:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %31)
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %204

204:                                              ; preds = %295, %203
  %205 = load i32, ptr %28, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %207, i32 0, i32 6
  %209 = load i64, ptr %208, align 8, !tbaa !11
  %210 = icmp slt i64 %206, %209
  br i1 %210, label %211, label %298

211:                                              ; preds = %204
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %212, i32 0, i32 5
  %214 = load ptr, ptr %213, align 8, !tbaa !14
  %215 = load i32, ptr %28, align 4, !tbaa !9
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %216, i32 0, i32 2
  %218 = load i32, ptr %217, align 8, !tbaa !15
  %219 = ashr i32 %215, %218
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds ptr, ptr %214, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !5
  %223 = load i32, ptr %28, align 4, !tbaa !9
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %224, i32 0, i32 3
  %226 = load i32, ptr %225, align 4, !tbaa !16
  %227 = and i32 %223, %226
  %228 = load ptr, ptr %9, align 8, !tbaa !5
  %229 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 8, !tbaa !17
  %231 = mul nsw i32 %227, %230
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds i8, ptr %222, i64 %232
  store ptr %233, ptr %15, align 8, !tbaa !5
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  %235 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %234)
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %236

236:                                              ; preds = %291, %211
  %237 = load i32, ptr %29, align 4, !tbaa !9
  %238 = icmp slt i32 %237, 3
  br i1 %238, label %239, label %294

239:                                              ; preds = %236
  %240 = getelementptr inbounds %"class.tetgenmesh::face", ptr %13, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !27
  %242 = getelementptr inbounds %"class.tetgenmesh::face", ptr %13, i32 0, i32 1
  %243 = load i32, ptr %242, align 8, !tbaa !33
  %244 = ashr i32 %243, 1
  %245 = add nsw i32 6, %244
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds ptr, ptr %241, i64 %246
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = icmp ne ptr %248, null
  br i1 %249, label %250, label %290

250:                                              ; preds = %239
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %31)
  %251 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %31)
  br i1 %251, label %252, label %289

252:                                              ; preds = %250
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %31, ptr noundef nonnull align 8 dereferenceable(12) %10)
  %253 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %10)
  br label %254

254:                                              ; preds = %283, %252
  br label %255

255:                                              ; preds = %254
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %256 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %257 = load i32, ptr %256, align 8, !tbaa !20
  store i32 %257, ptr %27, align 4, !tbaa !9
  %258 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8, !tbaa !18
  %260 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %261 = load i32, ptr %260, align 8, !tbaa !20
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %262
  %264 = load i32, ptr %263, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds ptr, ptr %259, i64 %265
  %267 = load ptr, ptr %266, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %267, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %268 = load i32, ptr %27, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %269
  %271 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %272 = load i32, ptr %271, align 8, !tbaa !20
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [12 x i32], ptr %270, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !9
  %276 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  store i32 %275, ptr %276, align 8, !tbaa !20
  %277 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %278 = load ptr, ptr %277, align 8, !tbaa !18
  %279 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %10, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !18
  %281 = icmp eq ptr %278, %280
  br i1 %281, label %282, label %283

282:                                              ; preds = %255
  br label %284

283:                                              ; preds = %255
  br label %254, !llvm.loop !34

284:                                              ; preds = %282
  %285 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 6
  %286 = load ptr, ptr %285, align 8, !tbaa !26
  %287 = getelementptr inbounds %"class.tetgenmesh::face", ptr %31, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !27
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %286, ptr noundef %288)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %13)
  br label %289

289:                                              ; preds = %284, %250
  br label %290

290:                                              ; preds = %289, %239
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %13)
  br label %291

291:                                              ; preds = %290
  %292 = load i32, ptr %29, align 4, !tbaa !9
  %293 = add nsw i32 %292, 1
  store i32 %293, ptr %29, align 4, !tbaa !9
  br label %236, !llvm.loop !35

294:                                              ; preds = %236
  br label %295

295:                                              ; preds = %294
  %296 = load i32, ptr %28, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %28, align 4, !tbaa !9
  br label %204, !llvm.loop !36

298:                                              ; preds = %204
  %299 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 86
  %300 = load i64, ptr %299, align 8, !tbaa !37
  %301 = add nsw i64 %300, 1
  store i64 %301, ptr %299, align 8, !tbaa !37
  store i32 0, ptr %5, align 4
  store i32 1, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  br label %604

302:                                              ; preds = %200
  store i32 0, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %303

303:                                              ; preds = %599, %302
  %304 = load i32, ptr %29, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %306, i32 0, i32 6
  %308 = load i64, ptr %307, align 8, !tbaa !11
  %309 = icmp slt i64 %305, %308
  br i1 %309, label %310, label %314

310:                                              ; preds = %303
  %311 = load i32, ptr %25, align 4, !tbaa !9
  %312 = icmp ne i32 %311, 0
  %313 = xor i1 %312, true
  br label %314

314:                                              ; preds = %310, %303
  %315 = phi i1 [ false, %303 ], [ %313, %310 ]
  br i1 %315, label %316, label %602

316:                                              ; preds = %314
  %317 = load ptr, ptr %8, align 8, !tbaa !5
  %318 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %317, i32 0, i32 5
  %319 = load ptr, ptr %318, align 8, !tbaa !14
  %320 = load i32, ptr %29, align 4, !tbaa !9
  %321 = load ptr, ptr %8, align 8, !tbaa !5
  %322 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %321, i32 0, i32 2
  %323 = load i32, ptr %322, align 8, !tbaa !15
  %324 = ashr i32 %320, %323
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds ptr, ptr %319, i64 %325
  %327 = load ptr, ptr %326, align 8, !tbaa !5
  %328 = load i32, ptr %29, align 4, !tbaa !9
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %329, i32 0, i32 3
  %331 = load i32, ptr %330, align 4, !tbaa !16
  %332 = and i32 %328, %331
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %333, i32 0, i32 0
  %335 = load i32, ptr %334, align 8, !tbaa !17
  %336 = mul nsw i32 %332, %335
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds i8, ptr %327, i64 %337
  store ptr %338, ptr %15, align 8, !tbaa !5
  %339 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %339, ptr noundef nonnull align 8 dereferenceable(12) %16)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %16, ptr noundef nonnull align 8 dereferenceable(12) %10)
  store i32 0, ptr %26, align 4, !tbaa !9
  %340 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %10)
  br label %341

341:                                              ; preds = %597, %316
  br label %342

342:                                              ; preds = %341
  %343 = call noundef ptr @_ZN10tetgenmesh4apexERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %11)
  store ptr %343, ptr %20, align 8, !tbaa !5
  %344 = call noundef ptr @_ZN10tetgenmesh4oppoERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %11)
  store ptr %344, ptr %21, align 8, !tbaa !5
  %345 = load ptr, ptr %20, align 8, !tbaa !5
  %346 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 35
  %347 = load ptr, ptr %346, align 8, !tbaa !21
  %348 = icmp ne ptr %345, %347
  br i1 %348, label %349, label %565

349:                                              ; preds = %342
  %350 = load ptr, ptr %21, align 8, !tbaa !5
  %351 = getelementptr inbounds %class.tetgenmesh, ptr %34, i32 0, i32 35
  %352 = load ptr, ptr %351, align 8, !tbaa !21
  %353 = icmp ne ptr %350, %352
  br i1 %353, label %354, label %565

354:                                              ; preds = %349
  %355 = load ptr, ptr %20, align 8, !tbaa !5
  %356 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %355)
  br i1 %356, label %564, label %357

357:                                              ; preds = %354
  %358 = load ptr, ptr %21, align 8, !tbaa !5
  %359 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %358)
  br i1 %359, label %564, label %360

360:                                              ; preds = %357
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %361

361:                                              ; preds = %560, %360
  %362 = load i32, ptr %28, align 4, !tbaa !9
  %363 = sext i32 %362 to i64
  %364 = load ptr, ptr %9, align 8, !tbaa !5
  %365 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %364, i32 0, i32 6
  %366 = load i64, ptr %365, align 8, !tbaa !11
  %367 = icmp slt i64 %363, %366
  br i1 %367, label %368, label %372

368:                                              ; preds = %361
  %369 = load i32, ptr %26, align 4, !tbaa !9
  %370 = icmp ne i32 %369, 0
  %371 = xor i1 %370, true
  br label %372

372:                                              ; preds = %368, %361
  %373 = phi i1 [ false, %361 ], [ %371, %368 ]
  br i1 %373, label %374, label %563

374:                                              ; preds = %372
  %375 = load ptr, ptr %9, align 8, !tbaa !5
  %376 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %375, i32 0, i32 5
  %377 = load ptr, ptr %376, align 8, !tbaa !14
  %378 = load i32, ptr %28, align 4, !tbaa !9
  %379 = load ptr, ptr %9, align 8, !tbaa !5
  %380 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %379, i32 0, i32 2
  %381 = load i32, ptr %380, align 8, !tbaa !15
  %382 = ashr i32 %378, %381
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds ptr, ptr %377, i64 %383
  %385 = load ptr, ptr %384, align 8, !tbaa !5
  %386 = load i32, ptr %28, align 4, !tbaa !9
  %387 = load ptr, ptr %9, align 8, !tbaa !5
  %388 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %387, i32 0, i32 3
  %389 = load i32, ptr %388, align 4, !tbaa !16
  %390 = and i32 %386, %389
  %391 = load ptr, ptr %9, align 8, !tbaa !5
  %392 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %391, i32 0, i32 0
  %393 = load i32, ptr %392, align 8, !tbaa !17
  %394 = mul nsw i32 %390, %393
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds i8, ptr %385, i64 %395
  store ptr %396, ptr %15, align 8, !tbaa !5
  %397 = load ptr, ptr %15, align 8, !tbaa !5
  %398 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %397)
  store ptr %398, ptr %17, align 8, !tbaa !5
  %399 = load ptr, ptr %15, align 8, !tbaa !5
  %400 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %399)
  store ptr %400, ptr %18, align 8, !tbaa !5
  %401 = load ptr, ptr %15, align 8, !tbaa !5
  %402 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %401)
  store ptr %402, ptr %19, align 8, !tbaa !5
  %403 = load ptr, ptr %17, align 8, !tbaa !5
  %404 = load ptr, ptr %18, align 8, !tbaa !5
  %405 = load ptr, ptr %19, align 8, !tbaa !5
  %406 = load ptr, ptr %20, align 8, !tbaa !5
  %407 = load ptr, ptr %21, align 8, !tbaa !5
  %408 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %409 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %410 = call noundef i32 @_ZN10tetgenmesh13tri_edge_testEPdS0_S0_S0_S0_S0_iPiS1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %403, ptr noundef %404, ptr noundef %405, ptr noundef %406, ptr noundef %407, ptr noundef null, i32 noundef 1, ptr noundef %408, ptr noundef %409)
  store i32 %410, ptr %26, align 4, !tbaa !9
  %411 = load i32, ptr %26, align 4, !tbaa !9
  %412 = icmp sgt i32 %411, 0
  br i1 %412, label %413, label %559

413:                                              ; preds = %374
  %414 = load i32, ptr %26, align 4, !tbaa !9
  %415 = icmp eq i32 %414, 2
  br i1 %415, label %416, label %558

416:                                              ; preds = %413
  %417 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %418 = load i32, ptr %417, align 4, !tbaa !9
  %419 = icmp eq i32 %418, 9
  br i1 %419, label %424, label %420

420:                                              ; preds = %416
  %421 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %422 = load i32, ptr %421, align 4, !tbaa !9
  %423 = icmp eq i32 %422, 8
  br i1 %423, label %424, label %547

424:                                              ; preds = %420, %416
  %425 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9edestoppoERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %425)
  %426 = load ptr, ptr %7, align 8, !tbaa !5
  %427 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %426, i32 0, i32 0
  %428 = load ptr, ptr %427, align 8, !tbaa !18
  %429 = getelementptr inbounds ptr, ptr %428, i64 8
  %430 = load ptr, ptr %429, align 8, !tbaa !5
  %431 = icmp ne ptr %430, null
  br i1 %431, label %432, label %458

432:                                              ; preds = %424
  %433 = load ptr, ptr %7, align 8, !tbaa !5
  %434 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %433, i32 0, i32 0
  %435 = load ptr, ptr %434, align 8, !tbaa !18
  %436 = getelementptr inbounds ptr, ptr %435, i64 8
  %437 = load ptr, ptr %436, align 8, !tbaa !5
  %438 = load ptr, ptr %7, align 8, !tbaa !5
  %439 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %438, i32 0, i32 1
  %440 = load i32, ptr %439, align 8, !tbaa !20
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh8ver2edgeE, i64 0, i64 %441
  %443 = load i32, ptr %442, align 4, !tbaa !9
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds ptr, ptr %437, i64 %444
  %446 = load ptr, ptr %445, align 8, !tbaa !5
  %447 = icmp ne ptr %446, null
  br i1 %447, label %448, label %458

448:                                              ; preds = %432
  %449 = load ptr, ptr %17, align 8, !tbaa !5
  %450 = load ptr, ptr %18, align 8, !tbaa !5
  %451 = load ptr, ptr %19, align 8, !tbaa !5
  %452 = load ptr, ptr %15, align 8, !tbaa !5
  %453 = load ptr, ptr %7, align 8, !tbaa !5
  %454 = load i32, ptr %26, align 4, !tbaa !9
  %455 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %456 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %457 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %449, ptr noundef %450, ptr noundef %451, ptr noundef %452, ptr noundef %453, i32 noundef %454, ptr noundef %455, ptr noundef %456)
  br label %536

458:                                              ; preds = %432, %424
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %459 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %459, i64 16, i1 false), !tbaa.struct !38
  br label %460

460:                                              ; preds = %507, %458
  br label %461

461:                                              ; preds = %460
  %462 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %463 = load ptr, ptr %462, align 8, !tbaa !18
  %464 = getelementptr inbounds ptr, ptr %463, i64 9
  %465 = load ptr, ptr %464, align 8, !tbaa !5
  %466 = icmp ne ptr %465, null
  br i1 %466, label %467, label %480

467:                                              ; preds = %461
  %468 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %469 = load ptr, ptr %468, align 8, !tbaa !18
  %470 = getelementptr inbounds ptr, ptr %469, i64 9
  %471 = load ptr, ptr %470, align 8, !tbaa !5
  %472 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  %473 = load i32, ptr %472, align 8, !tbaa !20
  %474 = and i32 %473, 3
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds ptr, ptr %471, i64 %475
  %477 = load ptr, ptr %476, align 8, !tbaa !5
  %478 = icmp ne ptr %477, null
  br i1 %478, label %479, label %480

479:                                              ; preds = %467
  br label %508

480:                                              ; preds = %467, %461
  %481 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  %482 = load i32, ptr %481, align 8, !tbaa !20
  store i32 %482, ptr %27, align 4, !tbaa !9
  %483 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %484 = load ptr, ptr %483, align 8, !tbaa !18
  %485 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  %486 = load i32, ptr %485, align 8, !tbaa !20
  %487 = and i32 %486, 3
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds ptr, ptr %484, i64 %488
  %490 = load ptr, ptr %489, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %490, ptr noundef nonnull align 8 dereferenceable(12) %33)
  %491 = load i32, ptr %27, align 4, !tbaa !9
  %492 = sext i32 %491 to i64
  %493 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh7fsymtblE, i64 0, i64 %492
  %494 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  %495 = load i32, ptr %494, align 8, !tbaa !20
  %496 = sext i32 %495 to i64
  %497 = getelementptr inbounds [12 x i32], ptr %493, i64 0, i64 %496
  %498 = load i32, ptr %497, align 4, !tbaa !9
  %499 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  store i32 %498, ptr %499, align 8, !tbaa !20
  %500 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %501 = load ptr, ptr %500, align 8, !tbaa !18
  %502 = load ptr, ptr %7, align 8, !tbaa !5
  %503 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %502, i32 0, i32 0
  %504 = load ptr, ptr %503, align 8, !tbaa !18
  %505 = icmp eq ptr %501, %504
  br i1 %505, label %506, label %507

506:                                              ; preds = %480
  br label %508

507:                                              ; preds = %480
  br label %460, !llvm.loop !39

508:                                              ; preds = %506, %479
  %509 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %510 = load ptr, ptr %509, align 8, !tbaa !18
  %511 = getelementptr inbounds ptr, ptr %510, i64 9
  %512 = load ptr, ptr %511, align 8, !tbaa !5
  %513 = icmp ne ptr %512, null
  br i1 %513, label %514, label %535

514:                                              ; preds = %508
  %515 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 0
  %516 = load ptr, ptr %515, align 8, !tbaa !18
  %517 = getelementptr inbounds ptr, ptr %516, i64 9
  %518 = load ptr, ptr %517, align 8, !tbaa !5
  %519 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %33, i32 0, i32 1
  %520 = load i32, ptr %519, align 8, !tbaa !20
  %521 = and i32 %520, 3
  %522 = sext i32 %521 to i64
  %523 = getelementptr inbounds ptr, ptr %518, i64 %522
  %524 = load ptr, ptr %523, align 8, !tbaa !5
  %525 = icmp ne ptr %524, null
  br i1 %525, label %526, label %535

526:                                              ; preds = %514
  %527 = load ptr, ptr %17, align 8, !tbaa !5
  %528 = load ptr, ptr %18, align 8, !tbaa !5
  %529 = load ptr, ptr %19, align 8, !tbaa !5
  %530 = load ptr, ptr %15, align 8, !tbaa !5
  %531 = load i32, ptr %26, align 4, !tbaa !9
  %532 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %533 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %534 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %527, ptr noundef %528, ptr noundef %529, ptr noundef %530, ptr noundef %33, i32 noundef %531, ptr noundef %532, ptr noundef %533)
  br label %535

535:                                              ; preds = %526, %514, %508
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  br label %536

536:                                              ; preds = %535, %448
  %537 = load ptr, ptr %17, align 8, !tbaa !5
  %538 = load ptr, ptr %18, align 8, !tbaa !5
  %539 = load ptr, ptr %19, align 8, !tbaa !5
  %540 = load ptr, ptr %20, align 8, !tbaa !5
  %541 = call noundef double @_Z8orient3dPdS_S_S_(ptr noundef %537, ptr noundef %538, ptr noundef %539, ptr noundef %540)
  store double %541, ptr %22, align 8, !tbaa !25
  %542 = load double, ptr %22, align 8, !tbaa !25
  %543 = fcmp olt double %542, 0.000000e+00
  br i1 %543, label %544, label %546

544:                                              ; preds = %536
  %545 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef nonnull align 8 dereferenceable(12) %545)
  br label %546

546:                                              ; preds = %544, %536
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %557

547:                                              ; preds = %420
  %548 = load ptr, ptr %17, align 8, !tbaa !5
  %549 = load ptr, ptr %18, align 8, !tbaa !5
  %550 = load ptr, ptr %19, align 8, !tbaa !5
  %551 = load ptr, ptr %15, align 8, !tbaa !5
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = load i32, ptr %26, align 4, !tbaa !9
  %554 = getelementptr inbounds [2 x i32], ptr %23, i64 0, i64 0
  %555 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %556 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %548, ptr noundef %549, ptr noundef %550, ptr noundef %551, ptr noundef %552, i32 noundef %553, ptr noundef %554, ptr noundef %555)
  br label %557

557:                                              ; preds = %547, %546
  br label %558

558:                                              ; preds = %557, %413
  br label %563

559:                                              ; preds = %374
  br label %560

560:                                              ; preds = %559
  %561 = load i32, ptr %28, align 4, !tbaa !9
  %562 = add nsw i32 %561, 1
  store i32 %562, ptr %28, align 4, !tbaa !9
  br label %361, !llvm.loop !40

563:                                              ; preds = %558, %372
  br label %564

564:                                              ; preds = %563, %357, %354
  br label %565

565:                                              ; preds = %564, %349, %342
  %566 = load i32, ptr %26, align 4, !tbaa !9
  %567 = icmp sgt i32 %566, 0
  br i1 %567, label %568, label %569

568:                                              ; preds = %565
  br label %598

569:                                              ; preds = %565
  %570 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %571 = load i32, ptr %570, align 8, !tbaa !20
  store i32 %571, ptr %27, align 4, !tbaa !9
  %572 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %573 = load ptr, ptr %572, align 8, !tbaa !18
  %574 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %575 = load i32, ptr %574, align 8, !tbaa !20
  %576 = sext i32 %575 to i64
  %577 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %576
  %578 = load i32, ptr %577, align 4, !tbaa !9
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds ptr, ptr %573, i64 %579
  %581 = load ptr, ptr %580, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %34, ptr noundef %581, ptr noundef nonnull align 8 dereferenceable(12) %11)
  %582 = load i32, ptr %27, align 4, !tbaa !9
  %583 = sext i32 %582 to i64
  %584 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %583
  %585 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  %586 = load i32, ptr %585, align 8, !tbaa !20
  %587 = sext i32 %586 to i64
  %588 = getelementptr inbounds [12 x i32], ptr %584, i64 0, i64 %587
  %589 = load i32, ptr %588, align 4, !tbaa !9
  %590 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 1
  store i32 %589, ptr %590, align 8, !tbaa !20
  %591 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %11, i32 0, i32 0
  %592 = load ptr, ptr %591, align 8, !tbaa !18
  %593 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %10, i32 0, i32 0
  %594 = load ptr, ptr %593, align 8, !tbaa !18
  %595 = icmp eq ptr %592, %594
  br i1 %595, label %596, label %597

596:                                              ; preds = %569
  br label %598

597:                                              ; preds = %569
  br label %341, !llvm.loop !41

598:                                              ; preds = %596, %568
  br label %599

599:                                              ; preds = %598
  %600 = load i32, ptr %29, align 4, !tbaa !9
  %601 = add nsw i32 %600, 1
  store i32 %601, ptr %29, align 4, !tbaa !9
  br label %303, !llvm.loop !42

602:                                              ; preds = %314
  %603 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %603, ptr %5, align 4
  store i32 1, ptr %32, align 4
  br label %604

604:                                              ; preds = %602, %298
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  %605 = load i32, ptr %5, align 4
  ret i32 %605
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #6 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 32}
!12 = !{!"_ZTSN10tetgenmesh9arraypoolE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 24}
!15 = !{!12, !10, i64 8}
!16 = !{!12, !10, i64 12}
!17 = !{!12, !10, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSN10tetgenmesh7trifaceE", !6, i64 0, !10, i64 8}
!20 = !{!19, !10, i64 8}
!21 = !{!22, !6, i64 280}
!22 = !{!"_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, !19, i64 288, !23, i64 304, !6, i64 320, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !13, i64 408, !13, i64 416, !24, i64 424, !24, i64 432, !24, i64 440, !24, i64 448, !24, i64 456, !24, i64 464, !24, i64 472, !24, i64 480, !24, i64 488, !24, i64 496, !24, i64 504, !24, i64 512, !24, i64 520, !24, i64 528, !24, 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, !7, i64 736, !7, i64 1504}
!23 = !{!"_ZTSN10tetgenmesh4faceE", !6, i64 0, !10, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!24, !24, i64 0}
!26 = !{!22, !6, i64 48}
!27 = !{!23, !6, i64 0}
!28 = !{!22, !6, i64 120}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = !{!23, !10, i64 8}
!34 = distinct !{!34, !30}
!35 = distinct !{!35, !30}
!36 = distinct !{!36, !30}
!37 = !{!22, !13, i64 632}
!38 = !{i64 0, i64 8, !5, i64 8, i64 4, !9}
!39 = distinct !{!39, !30}
!40 = distinct !{!40, !30}
!41 = distinct !{!41, !30}
!42 = distinct !{!42, !30}


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

@_ZN10tetgenmesh7fsymtblE = external dso_local local_unnamed_addr global [12 x [12 x i32]], align 16
@_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
@_ZN10tetgenmesh8ver2edgeE = external dso_local local_unnamed_addr global [12 x i32], align 16

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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: 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 nounwind uwtable
declare dso_local void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

declare noundef double @_Z8orient3dPdS_S_S_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh20calculateabovepoint4EPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 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 #6 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 #6 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 #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh6spivotERNS_4faceES1_(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 noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh3orgERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh4oppoERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 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 nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9enextselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 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 #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 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 #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN10tetgenmesh14scoutcrossedgeERNS_7trifaceEPNS_9arraypoolES3_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #4 align 2 {
  %5 = alloca %"class.tetgenmesh::triface", align 8
  %6 = alloca %"class.tetgenmesh::triface", align 8
  %7 = alloca %"class.tetgenmesh::triface", align 8
  %8 = alloca %"class.tetgenmesh::face", align 8
  %9 = alloca %"class.tetgenmesh::face", align 8
  %10 = alloca %"class.tetgenmesh::face", align 8
  %11 = alloca [2 x i32], align 4
  %12 = alloca [4 x i32], align 16
  %13 = alloca %"class.tetgenmesh::face", align 8
  %14 = alloca %"class.tetgenmesh::face", align 8
  %15 = alloca %"class.tetgenmesh::triface", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %16 = getelementptr inbounds i8, ptr %2, i64 32
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = icmp sgt i64 %17, 0
  br i1 %18, label %.lr.ph, label %.loopexit156

.lr.ph:                                           ; preds = %4
  %19 = getelementptr inbounds i8, ptr %2, i64 24
  %20 = getelementptr inbounds i8, ptr %2, i64 8
  %21 = getelementptr inbounds i8, ptr %2, i64 12
  %22 = getelementptr inbounds i8, ptr %7, i64 8
  %23 = getelementptr inbounds i8, ptr %0, i64 280
  %24 = getelementptr inbounds i8, ptr %0, i64 120
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  %26 = getelementptr inbounds i8, ptr %0, i64 48
  br label %27

27:                                               ; preds = %.lr.ph, %.loopexit158
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.loopexit158 ]
  %28 = load ptr, ptr %19, align 8, !tbaa !12
  %29 = load i32, ptr %20, align 8, !tbaa !13
  %30 = trunc nuw nsw i64 %indvars.iv to i32
  %31 = lshr i32 %30, %29
  %32 = zext nneg i32 %31 to i64
  %33 = getelementptr inbounds ptr, ptr %28, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = load i32, ptr %21, align 4, !tbaa !15
  %36 = and i32 %35, %30
  %37 = load i32, ptr %2, align 8, !tbaa !16
  %38 = mul nsw i32 %36, %37
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %34, i64 %39
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %40, ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %41 = call noundef ptr @_ZN10tetgenmesh3orgERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %42 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %40)
  %.not143 = icmp eq ptr %41, %42
  br i1 %.not143, label %44, label %43

43:                                               ; preds = %27
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %44

44:                                               ; preds = %43, %27
  %45 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %46

46:                                               ; preds = %.loopexit157, %44
  %47 = call noundef ptr @_ZN10tetgenmesh4apexERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %48 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %47)
  br i1 %48, label %49, label %.loopexit157

49:                                               ; preds = %46
  %50 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %51 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %40)
  call void @_ZN10tetgenmesh9enextselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  %52 = load ptr, ptr %7, align 8, !tbaa !17
  %53 = getelementptr inbounds i8, ptr %52, i64 64
  %54 = load ptr, ptr %53, align 8, !tbaa !14
  %.not144 = icmp eq ptr %54, null
  br i1 %.not144, label %63, label %55

55:                                               ; preds = %49
  %56 = load i32, ptr %22, align 8, !tbaa !19
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh8ver2edgeE, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !20
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %54, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !14
  %.not145 = icmp eq ptr %62, null
  br i1 %.not145, label %63, label %85

63:                                               ; preds = %55, %49
  call void @_ZN10tetgenmesh6senextERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %9)
  br label %65

64:                                               ; preds = %85, %89
  call void @_ZN10tetgenmesh7senext2ERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  br label %65

65:                                               ; preds = %64, %63
  %66 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %67 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %68 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %69 = call noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  call void @_ZN10tetgenmesh20calculateabovepoint4EPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69)
  %70 = load ptr, ptr %23, align 8, !tbaa !21
  %71 = call noundef double @_Z8orient3dPdS_S_S_(ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %70)
  %72 = fcmp ogt double %71, 0.000000e+00
  br i1 %72, label %73, label %74

73:                                               ; preds = %65
  call void @_ZN10tetgenmesh9sesymselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  br label %77

74:                                               ; preds = %65
  %75 = fcmp oeq double %71, 0.000000e+00
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  call void @_Z15terminatetetgenP10tetgenmeshi(ptr noundef nonnull %0, i32 noundef 2)
  br label %77

77:                                               ; preds = %74, %76, %73
  %78 = call noundef ptr @_ZN10tetgenmesh4destERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  %79 = call noundef i32 @_ZN10tetgenmesh13sscoutsegmentEPNS_4faceEPdiii(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull %9, ptr noundef %78, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %80 = icmp eq i32 %79, 3
  br i1 %80, label %126, label %81

81:                                               ; preds = %77
  %82 = load ptr, ptr %24, align 8, !tbaa !25
  %.not146 = icmp eq ptr %82, null
  br i1 %.not146, label %.loopexit157, label %83

83:                                               ; preds = %81
  %84 = call noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536) %0)
  br label %.loopexit157

85:                                               ; preds = %55
  call void @_ZN10tetgenmesh9enextselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  %86 = load ptr, ptr %7, align 8, !tbaa !17
  %87 = getelementptr inbounds i8, ptr %86, i64 64
  %88 = load ptr, ptr %87, align 8, !tbaa !14
  %.not144.1 = icmp eq ptr %88, null
  br i1 %.not144.1, label %64, label %89

89:                                               ; preds = %85
  %90 = load i32, ptr %22, align 8, !tbaa !19
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh8ver2edgeE, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !20
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds ptr, ptr %88, i64 %94
  %96 = load ptr, ptr %95, align 8, !tbaa !14
  %.not145.1 = icmp eq ptr %96, null
  br i1 %.not145.1, label %64, label %.loopexit157

.loopexit157:                                     ; preds = %89, %81, %83, %46
  %97 = load i32, ptr %25, align 8, !tbaa !19
  %98 = load ptr, ptr %6, align 8, !tbaa !17
  %99 = sext i32 %97 to i64
  %100 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !20
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds ptr, ptr %98, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %104, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %105 = load i32, ptr %25, align 8, !tbaa !19
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %99, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !20
  store i32 %108, ptr %25, align 8, !tbaa !19
  %109 = load ptr, ptr %6, align 8, !tbaa !17
  %110 = load ptr, ptr %5, align 8, !tbaa !17
  %111 = icmp eq ptr %109, %110
  br i1 %111, label %.loopexit158, label %46, !llvm.loop !26

.loopexit158:                                     ; preds = %.loopexit157
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %112 = load i64, ptr %16, align 8, !tbaa !5
  %113 = icmp sgt i64 %112, %indvars.iv.next
  br i1 %113, label %27, label %.preheader155, !llvm.loop !28

.preheader155:                                    ; preds = %.loopexit158
  %114 = icmp sgt i64 %112, 0
  br i1 %114, label %.lr.ph180, label %.loopexit156

.lr.ph180:                                        ; preds = %.preheader155
  %115 = getelementptr inbounds i8, ptr %2, i64 24
  %116 = getelementptr inbounds i8, ptr %2, i64 8
  %117 = getelementptr inbounds i8, ptr %2, i64 12
  %118 = getelementptr inbounds i8, ptr %0, i64 280
  %119 = getelementptr inbounds i8, ptr %3, i64 32
  %120 = getelementptr inbounds i8, ptr %3, i64 24
  %121 = getelementptr inbounds i8, ptr %3, i64 8
  %122 = getelementptr inbounds i8, ptr %3, i64 12
  %123 = getelementptr inbounds i8, ptr %6, i64 8
  %124 = getelementptr inbounds i8, ptr %1, i64 8
  %125 = getelementptr inbounds i8, ptr %15, i64 8
  br label %253

126:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %13)
  %127 = load ptr, ptr %26, align 8, !tbaa !29
  call void @_ZN10tetgenmesh13makeshellfaceEPNS_10memorypoolEPNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %127, ptr noundef nonnull %13)
  call void @_ZN10tetgenmesh6ssbondERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %13)
  call void @_ZN10tetgenmesh10spivotselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh6ssbondERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(12) %13)
  %128 = call noundef i64 @_ZN10tetgenmesh10lawsonflipEv(ptr noundef nonnull align 8 dereferenceable(1536) %0)
  call void @_ZN10tetgenmesh6spivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh10spivotselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %9)
  %129 = load ptr, ptr %26, align 8, !tbaa !29
  %130 = load ptr, ptr %13, align 8, !tbaa !30
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %129, ptr noundef %130)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %14)
  %131 = getelementptr inbounds i8, ptr %3, i64 32
  %132 = load i64, ptr %131, align 8, !tbaa !5
  %133 = icmp sgt i64 %132, 0
  br i1 %133, label %.lr.ph173, label %._crit_edge174

.lr.ph173:                                        ; preds = %126
  %134 = getelementptr inbounds i8, ptr %3, i64 24
  %135 = getelementptr inbounds i8, ptr %3, i64 8
  %136 = getelementptr inbounds i8, ptr %3, i64 12
  %137 = getelementptr inbounds i8, ptr %8, i64 8
  %138 = getelementptr inbounds i8, ptr %6, i64 8
  %139 = getelementptr inbounds i8, ptr %0, i64 48
  br label %140

140:                                              ; preds = %.lr.ph173, %247
  %indvars.iv196 = phi i64 [ 0, %.lr.ph173 ], [ %indvars.iv.next197, %247 ]
  %141 = load ptr, ptr %134, align 8, !tbaa !12
  %142 = load i32, ptr %135, align 8, !tbaa !13
  %143 = trunc nuw nsw i64 %indvars.iv196 to i32
  %144 = lshr i32 %143, %142
  %145 = zext nneg i32 %144 to i64
  %146 = getelementptr inbounds ptr, ptr %141, i64 %145
  %147 = load ptr, ptr %146, align 8, !tbaa !14
  %148 = load i32, ptr %136, align 4, !tbaa !15
  %149 = and i32 %148, %143
  %150 = load i32, ptr %3, align 8, !tbaa !16
  %151 = mul nsw i32 %149, %150
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %147, i64 %152
  %154 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh4faceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %153)
  %155 = load ptr, ptr %8, align 8, !tbaa !30
  %156 = load i32, ptr %137, align 8, !tbaa !31
  %157 = ashr i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr ptr, ptr %155, i64 %158
  %160 = getelementptr i8, ptr %159, i64 48
  %161 = load ptr, ptr %160, align 8, !tbaa !14
  %.not142 = icmp eq ptr %161, null
  br i1 %.not142, label %185, label %162

162:                                              ; preds = %140
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %14)
  %163 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14)
  br i1 %163, label %164, label %185

164:                                              ; preds = %162
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %165 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %166

166:                                              ; preds = %166, %164
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %167 = load i32, ptr %138, align 8, !tbaa !19
  %168 = load ptr, ptr %6, align 8, !tbaa !17
  %169 = sext i32 %167 to i64
  %170 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !20
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds ptr, ptr %168, i64 %172
  %174 = load ptr, ptr %173, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %174, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %175 = load i32, ptr %138, align 8, !tbaa !19
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %169, i64 %176
  %178 = load i32, ptr %177, align 4, !tbaa !20
  store i32 %178, ptr %138, align 8, !tbaa !19
  %179 = load ptr, ptr %6, align 8, !tbaa !17
  %180 = load ptr, ptr %5, align 8, !tbaa !17
  %181 = icmp eq ptr %179, %180
  br i1 %181, label %182, label %166, !llvm.loop !32

182:                                              ; preds = %166
  %183 = load ptr, ptr %139, align 8, !tbaa !29
  %184 = load ptr, ptr %14, align 8, !tbaa !30
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %183, ptr noundef %184)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  br label %185

185:                                              ; preds = %162, %182, %140
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  %186 = load ptr, ptr %8, align 8, !tbaa !30
  %187 = load i32, ptr %137, align 8, !tbaa !31
  %188 = ashr i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = getelementptr ptr, ptr %186, i64 %189
  %191 = getelementptr i8, ptr %190, i64 48
  %192 = load ptr, ptr %191, align 8, !tbaa !14
  %.not142.1 = icmp eq ptr %192, null
  br i1 %.not142.1, label %216, label %193

193:                                              ; preds = %185
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %14)
  %194 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14)
  br i1 %194, label %195, label %216

195:                                              ; preds = %193
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %196 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %197

197:                                              ; preds = %197, %195
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %198 = load i32, ptr %138, align 8, !tbaa !19
  %199 = load ptr, ptr %6, align 8, !tbaa !17
  %200 = sext i32 %198 to i64
  %201 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !20
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %199, i64 %203
  %205 = load ptr, ptr %204, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %205, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %206 = load i32, ptr %138, align 8, !tbaa !19
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %200, i64 %207
  %209 = load i32, ptr %208, align 4, !tbaa !20
  store i32 %209, ptr %138, align 8, !tbaa !19
  %210 = load ptr, ptr %6, align 8, !tbaa !17
  %211 = load ptr, ptr %5, align 8, !tbaa !17
  %212 = icmp eq ptr %210, %211
  br i1 %212, label %213, label %197, !llvm.loop !32

213:                                              ; preds = %197
  %214 = load ptr, ptr %139, align 8, !tbaa !29
  %215 = load ptr, ptr %14, align 8, !tbaa !30
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %214, ptr noundef %215)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  br label %216

216:                                              ; preds = %213, %193, %185
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  %217 = load ptr, ptr %8, align 8, !tbaa !30
  %218 = load i32, ptr %137, align 8, !tbaa !31
  %219 = ashr i32 %218, 1
  %220 = sext i32 %219 to i64
  %221 = getelementptr ptr, ptr %217, i64 %220
  %222 = getelementptr i8, ptr %221, i64 48
  %223 = load ptr, ptr %222, align 8, !tbaa !14
  %.not142.2 = icmp eq ptr %223, null
  br i1 %.not142.2, label %247, label %224

224:                                              ; preds = %216
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %14)
  %225 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14)
  br i1 %225, label %226, label %247

226:                                              ; preds = %224
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %227 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %228

228:                                              ; preds = %228, %226
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %229 = load i32, ptr %138, align 8, !tbaa !19
  %230 = load ptr, ptr %6, align 8, !tbaa !17
  %231 = sext i32 %229 to i64
  %232 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %231
  %233 = load i32, ptr %232, align 4, !tbaa !20
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds ptr, ptr %230, i64 %234
  %236 = load ptr, ptr %235, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %236, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %237 = load i32, ptr %138, align 8, !tbaa !19
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %231, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !20
  store i32 %240, ptr %138, align 8, !tbaa !19
  %241 = load ptr, ptr %6, align 8, !tbaa !17
  %242 = load ptr, ptr %5, align 8, !tbaa !17
  %243 = icmp eq ptr %241, %242
  br i1 %243, label %244, label %228, !llvm.loop !32

244:                                              ; preds = %228
  %245 = load ptr, ptr %139, align 8, !tbaa !29
  %246 = load ptr, ptr %14, align 8, !tbaa !30
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %245, ptr noundef %246)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  br label %247

247:                                              ; preds = %244, %224, %216
  call void @_ZN10tetgenmesh10senextselfERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %248 = load i64, ptr %131, align 8, !tbaa !5
  %249 = icmp sgt i64 %248, %indvars.iv.next197
  br i1 %249, label %140, label %._crit_edge174, !llvm.loop !33

._crit_edge174:                                   ; preds = %247, %126
  %250 = getelementptr inbounds i8, ptr %0, i64 632
  %251 = load i64, ptr %250, align 8, !tbaa !34
  %252 = add nsw i64 %251, 1
  store i64 %252, ptr %250, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  br label %.loopexit156

253:                                              ; preds = %.lr.ph180, %.thread151
  %indvars.iv202 = phi i64 [ 0, %.lr.ph180 ], [ %indvars.iv.next203, %.thread151 ]
  %254 = load ptr, ptr %115, align 8, !tbaa !12
  %255 = load i32, ptr %116, align 8, !tbaa !13
  %256 = trunc nuw nsw i64 %indvars.iv202 to i32
  %257 = lshr i32 %256, %255
  %258 = zext nneg i32 %257 to i64
  %259 = getelementptr inbounds ptr, ptr %254, i64 %258
  %260 = load ptr, ptr %259, align 8, !tbaa !14
  %261 = load i32, ptr %117, align 4, !tbaa !15
  %262 = and i32 %261, %256
  %263 = load i32, ptr %2, align 8, !tbaa !16
  %264 = mul nsw i32 %262, %263
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %260, i64 %265
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %266, ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %5)
  %267 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %5)
  br label %268

268:                                              ; preds = %.loopexit, %253
  %.0115 = phi i32 [ 0, %253 ], [ %.2117, %.loopexit ]
  %269 = call noundef ptr @_ZN10tetgenmesh4apexERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %270 = call noundef ptr @_ZN10tetgenmesh4oppoERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %271 = load ptr, ptr %118, align 8, !tbaa !21
  %.not133 = icmp eq ptr %269, %271
  %.not134 = icmp eq ptr %270, %271
  %or.cond148 = or i1 %.not133, %.not134
  br i1 %or.cond148, label %.loopexit, label %272

272:                                              ; preds = %268
  %273 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %269)
  br i1 %273, label %.loopexit, label %274

274:                                              ; preds = %272
  %275 = call noundef zeroext i1 @_ZN10tetgenmesh11pmarktestedEPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %270)
  br i1 %275, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %274
  %276 = load i64, ptr %119, align 8, !tbaa !5
  %277 = icmp sgt i64 %276, 0
  %.not135175 = icmp eq i32 %.0115, 0
  %278 = and i1 %.not135175, %277
  br i1 %278, label %.lr.ph177, label %.loopexit

279:                                              ; preds = %.lr.ph177
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %280 = load i64, ptr %119, align 8, !tbaa !5
  %281 = icmp sgt i64 %280, %indvars.iv.next200
  %.not135 = icmp eq i32 %299, 0
  %282 = and i1 %.not135, %281
  br i1 %282, label %.lr.ph177, label %.loopexit, !llvm.loop !35

.lr.ph177:                                        ; preds = %.preheader, %279
  %indvars.iv199 = phi i64 [ %indvars.iv.next200, %279 ], [ 0, %.preheader ]
  %283 = load ptr, ptr %120, align 8, !tbaa !12
  %284 = load i32, ptr %121, align 8, !tbaa !13
  %285 = trunc nuw nsw i64 %indvars.iv199 to i32
  %286 = lshr i32 %285, %284
  %287 = zext nneg i32 %286 to i64
  %288 = getelementptr inbounds ptr, ptr %283, i64 %287
  %289 = load ptr, ptr %288, align 8, !tbaa !14
  %290 = load i32, ptr %122, align 4, !tbaa !15
  %291 = and i32 %290, %285
  %292 = load i32, ptr %3, align 8, !tbaa !16
  %293 = mul nsw i32 %291, %292
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds i8, ptr %289, i64 %294
  %296 = call noundef ptr @_ZN10tetgenmesh4sorgERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %295)
  %297 = call noundef ptr @_ZN10tetgenmesh5sdestERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %295)
  %298 = call noundef ptr @_ZN10tetgenmesh5sapexERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %295)
  %299 = call noundef i32 @_ZN10tetgenmesh13tri_edge_testEPdS0_S0_S0_S0_S0_iPiS1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %296, ptr noundef %297, ptr noundef %298, ptr noundef %269, ptr noundef %270, ptr noundef null, i32 noundef 1, ptr noundef nonnull %11, ptr noundef nonnull %12)
  %300 = icmp sgt i32 %299, 0
  br i1 %300, label %301, label %279

301:                                              ; preds = %.lr.ph177
  %302 = icmp eq i32 %299, 2
  br i1 %302, label %303, label %.thread151

303:                                              ; preds = %301
  %304 = load i32, ptr %11, align 4
  %305 = and i32 %304, -2
  %or.cond = icmp eq i32 %305, 8
  br i1 %or.cond, label %306, label %351

306:                                              ; preds = %303
  call void @_ZN10tetgenmesh9edestoppoERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %1)
  %307 = load ptr, ptr %1, align 8, !tbaa !17
  %308 = getelementptr inbounds i8, ptr %307, i64 64
  %309 = load ptr, ptr %308, align 8, !tbaa !14
  %.not136 = icmp eq ptr %309, null
  br i1 %.not136, label %320, label %310

310:                                              ; preds = %306
  %311 = load i32, ptr %124, align 8, !tbaa !19
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh8ver2edgeE, i64 0, i64 %312
  %314 = load i32, ptr %313, align 4, !tbaa !20
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds ptr, ptr %309, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !14
  %.not137 = icmp eq ptr %317, null
  br i1 %.not137, label %320, label %318

318:                                              ; preds = %310
  %319 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %296, ptr noundef %297, ptr noundef %298, ptr noundef nonnull %295, ptr noundef nonnull %1, i32 noundef 2, ptr noundef nonnull %11, ptr noundef nonnull %12)
  br label %347

320:                                              ; preds = %310, %306
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %1, i64 16, i1 false), !tbaa.struct !36
  %.pre = load ptr, ptr %15, align 8, !tbaa !17
  %.pre205.pre = load i32, ptr %125, align 8, !tbaa !19
  br label %321

321:                                              ; preds = %._crit_edge209, %320
  %.pre205 = phi i32 [ %334, %._crit_edge209 ], [ %.pre205.pre, %320 ]
  %322 = phi ptr [ %335, %._crit_edge209 ], [ %.pre, %320 ]
  %323 = getelementptr inbounds i8, ptr %322, i64 72
  %324 = load ptr, ptr %323, align 8, !tbaa !14
  %.not138 = icmp eq ptr %324, null
  %.pre210 = and i32 %.pre205, 3
  %.pre211 = zext nneg i32 %.pre210 to i64
  br i1 %.not138, label %._crit_edge209, label %325

325:                                              ; preds = %321
  %326 = getelementptr inbounds ptr, ptr %324, i64 %.pre211
  %327 = load ptr, ptr %326, align 8, !tbaa !14
  %.not139 = icmp eq ptr %327, null
  br i1 %.not139, label %._crit_edge209, label %split.thread

._crit_edge209:                                   ; preds = %321, %325
  %328 = getelementptr inbounds ptr, ptr %322, i64 %.pre211
  %329 = load ptr, ptr %328, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %329, ptr noundef nonnull align 8 dereferenceable(12) %15)
  %330 = sext i32 %.pre205 to i64
  %331 = load i32, ptr %125, align 8, !tbaa !19
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh7fsymtblE, i64 0, i64 %330, i64 %332
  %334 = load i32, ptr %333, align 4, !tbaa !20
  store i32 %334, ptr %125, align 8, !tbaa !19
  %335 = load ptr, ptr %15, align 8, !tbaa !17
  %336 = load ptr, ptr %1, align 8, !tbaa !17
  %337 = icmp eq ptr %335, %336
  br i1 %337, label %split, label %321, !llvm.loop !37

split:                                            ; preds = %._crit_edge209
  %.phi.trans.insert = getelementptr inbounds i8, ptr %335, i64 72
  %.pre207 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !14
  %.not140 = icmp eq ptr %.pre207, null
  br i1 %.not140, label %346, label %split.thread

split.thread:                                     ; preds = %325, %split
  %338 = phi ptr [ %.pre207, %split ], [ %324, %325 ]
  %339 = phi i32 [ %334, %split ], [ %.pre205, %325 ]
  %340 = and i32 %339, 3
  %341 = zext nneg i32 %340 to i64
  %342 = getelementptr inbounds ptr, ptr %338, i64 %341
  %343 = load ptr, ptr %342, align 8, !tbaa !14
  %.not141 = icmp eq ptr %343, null
  br i1 %.not141, label %346, label %344

344:                                              ; preds = %split.thread
  %345 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %296, ptr noundef %297, ptr noundef %298, ptr noundef nonnull %295, ptr noundef nonnull %15, i32 noundef 2, ptr noundef nonnull %11, ptr noundef nonnull %12)
  br label %346

346:                                              ; preds = %344, %split.thread, %split
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %347

347:                                              ; preds = %346, %318
  %348 = call noundef double @_Z8orient3dPdS_S_S_(ptr noundef %296, ptr noundef %297, ptr noundef %298, ptr noundef %269)
  %349 = fcmp olt double %348, 0.000000e+00
  br i1 %349, label %350, label %.loopexit156

350:                                              ; preds = %347
  call void @_ZN10tetgenmesh8esymselfERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %1)
  br label %.loopexit156

351:                                              ; preds = %303
  %352 = call noundef i32 @_ZN10tetgenmesh19report_selfint_faceEPdS0_S0_PNS_4faceEPNS_7trifaceEiPiS5_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %296, ptr noundef %297, ptr noundef %298, ptr noundef nonnull %295, ptr noundef nonnull %1, i32 noundef 2, ptr noundef nonnull %11, ptr noundef nonnull %12)
  br label %.thread151

.loopexit:                                        ; preds = %279, %.preheader, %268, %274, %272
  %.2117 = phi i32 [ %.0115, %272 ], [ %.0115, %274 ], [ %.0115, %268 ], [ %.0115, %.preheader ], [ %299, %279 ]
  %353 = load i32, ptr %123, align 8, !tbaa !19
  %354 = load ptr, ptr %6, align 8, !tbaa !17
  %355 = sext i32 %353 to i64
  %356 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %355
  %357 = load i32, ptr %356, align 4, !tbaa !20
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds ptr, ptr %354, i64 %358
  %360 = load ptr, ptr %359, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %360, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %361 = load i32, ptr %123, align 8, !tbaa !19
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %355, i64 %362
  %364 = load i32, ptr %363, align 4, !tbaa !20
  store i32 %364, ptr %123, align 8, !tbaa !19
  %365 = load ptr, ptr %6, align 8, !tbaa !17
  %366 = load ptr, ptr %5, align 8, !tbaa !17
  %367 = icmp eq ptr %365, %366
  br i1 %367, label %.thread151, label %268, !llvm.loop !38

.thread151:                                       ; preds = %.loopexit, %301, %351
  %indvars.iv.next203 = add nuw nsw i64 %indvars.iv202, 1
  %368 = load i64, ptr %16, align 8, !tbaa !5
  %369 = icmp sgt i64 %368, %indvars.iv.next203
  br i1 %369, label %253, label %.loopexit156, !llvm.loop !39

.loopexit156:                                     ; preds = %.thread151, %350, %347, %4, %.preheader155, %._crit_edge174
  %.0121 = phi i32 [ 0, %._crit_edge174 ], [ 0, %.preheader155 ], [ 0, %4 ], [ 1, %347 ], [ 1, %350 ], [ 0, %.thread151 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  ret i32 %.0121
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #6 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"_ZTSN10tetgenmesh9arraypoolE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSN10tetgenmesh7trifaceE", !10, i64 0, !7, i64 8}
!19 = !{!18, !7, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !10, i64 280}
!22 = !{!"_ZTS10tetgenmesh", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !18, i64 288, !23, i64 304, !10, i64 320, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !11, i64 408, !11, i64 416, !24, i64 424, !24, i64 432, !24, i64 440, !24, i64 448, !24, i64 456, !24, i64 464, !24, i64 472, !24, i64 480, !24, i64 488, !24, i64 496, !24, i64 504, !24, i64 512, !24, i64 520, !24, i64 528, !24, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688, !11, i64 696, !11, i64 704, !11, i64 712, !11, i64 720, !11, i64 728, !8, i64 736, !8, i64 1504}
!23 = !{!"_ZTSN10tetgenmesh4faceE", !10, i64 0, !7, i64 8}
!24 = !{!"double", !8, i64 0}
!25 = !{!22, !10, i64 120}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!22, !10, i64 48}
!30 = !{!23, !10, i64 0}
!31 = !{!23, !7, i64 8}
!32 = distinct !{!32, !27}
!33 = distinct !{!33, !27}
!34 = !{!22, !11, i64 632}
!35 = distinct !{!35, !27}
!36 = !{i64 0, i64 8, !14, i64 8, i64 4, !20}
!37 = distinct !{!37, !27}
!38 = distinct !{!38, !27}
!39 = distinct !{!39, !27}


; Effective O3 passes: ADCEPass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass