; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull (global)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%struct.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }
%struct.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@qh_qh = external dso_local global %struct.qhT, align 8
@.str.7 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1

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

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

declare void @qh_fprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1

declare void @qh_setfree(ptr noundef) #1

declare void @qh_memfree(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_freebuild(i32 noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  store ptr null, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %14 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %15 = icmp sge i32 %14, 5
  br i1 %15, label %16, label %18

16:                                               ; preds = %1
  %17 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %17, i32 noundef 5004, ptr noundef @.str.7)
  br label %18

18:                                               ; preds = %16, %1
  store ptr null, ptr %10, align 8, !tbaa !9
  %19 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 221), align 8, !tbaa !16
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %33

21:                                               ; preds = %18
  %22 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 221), align 8, !tbaa !16
  %23 = getelementptr inbounds %struct.setT, ptr %22, i32 0, i32 1
  %24 = getelementptr inbounds [1 x %union.setelemT], ptr %23, i64 0, i64 0
  store ptr %24, ptr %11, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %30, %21
  %26 = load ptr, ptr %11, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i32 1
  store ptr %27, ptr %11, align 8, !tbaa !9
  %28 = load ptr, ptr %26, align 8, !tbaa !9
  store ptr %28, ptr %10, align 8, !tbaa !9
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %32

30:                                               ; preds = %25
  %31 = load ptr, ptr %10, align 8, !tbaa !9
  call void @qh_memfree(ptr noundef %31, i32 noundef 72)
  br label %25, !llvm.loop !17

32:                                               ; preds = %25
  br label %33

33:                                               ; preds = %32, %18
  store ptr null, ptr %10, align 8, !tbaa !9
  %34 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 222), align 8, !tbaa !19
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %48

36:                                               ; preds = %33
  %37 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 222), align 8, !tbaa !19
  %38 = getelementptr inbounds %struct.setT, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds [1 x %union.setelemT], ptr %38, i64 0, i64 0
  store ptr %39, ptr %11, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %45, %36
  %41 = load ptr, ptr %11, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i32 1
  store ptr %42, ptr %11, align 8, !tbaa !9
  %43 = load ptr, ptr %41, align 8, !tbaa !9
  store ptr %43, ptr %10, align 8, !tbaa !9
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %47

45:                                               ; preds = %40
  %46 = load ptr, ptr %10, align 8, !tbaa !9
  call void @qh_memfree(ptr noundef %46, i32 noundef 72)
  br label %40, !llvm.loop !20

47:                                               ; preds = %40
  br label %48

48:                                               ; preds = %47, %33
  store ptr null, ptr %10, align 8, !tbaa !9
  %49 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 223), align 8, !tbaa !21
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %63

51:                                               ; preds = %48
  %52 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 223), align 8, !tbaa !21
  %53 = getelementptr inbounds %struct.setT, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds [1 x %union.setelemT], ptr %53, i64 0, i64 0
  store ptr %54, ptr %11, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %60, %51
  %56 = load ptr, ptr %11, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %56, i32 1
  store ptr %57, ptr %11, align 8, !tbaa !9
  %58 = load ptr, ptr %56, align 8, !tbaa !9
  store ptr %58, ptr %10, align 8, !tbaa !9
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %62

60:                                               ; preds = %55
  %61 = load ptr, ptr %10, align 8, !tbaa !9
  call void @qh_memfree(ptr noundef %61, i32 noundef 72)
  br label %55, !llvm.loop !22

62:                                               ; preds = %55
  br label %63

63:                                               ; preds = %62, %48
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 221), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 222), align 8, !tbaa !19
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 223), align 8, !tbaa !21
  call void @qh_setfree(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 224))
  %64 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %65 = icmp sge i32 %64, 5
  br i1 %65, label %66, label %68

66:                                               ; preds = %63
  %67 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %67, i32 noundef 5003, ptr noundef @.str.8)
  br label %68

68:                                               ; preds = %66, %63
  call void @qh_settempfree_all()
  %69 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %70 = icmp sge i32 %69, 1
  br i1 %70, label %71, label %73

71:                                               ; preds = %68
  %72 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %72, i32 noundef 1005, ptr noundef @.str.9)
  br label %73

73:                                               ; preds = %71, %68
  %74 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 226), align 8, !tbaa !23
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %78

76:                                               ; preds = %73
  %77 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 226), align 8, !tbaa !23
  call void @qh_settruncate(ptr noundef %77, i32 noundef 0)
  br label %78

78:                                               ; preds = %76, %73
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %98

81:                                               ; preds = %78
  br label %82

82:                                               ; preds = %94, %81
  %83 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 175), align 8, !tbaa !24
  store ptr %83, ptr %5, align 8, !tbaa !9
  %84 = icmp ne ptr %83, null
  br i1 %84, label %85, label %97

85:                                               ; preds = %82
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.vertexT, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !25
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %92

90:                                               ; preds = %85
  %91 = load ptr, ptr %5, align 8, !tbaa !9
  call void @qh_delvertex(ptr noundef %91)
  br label %94

92:                                               ; preds = %85
  %93 = load ptr, ptr %5, align 8, !tbaa !9
  call void @qh_memfree(ptr noundef %93, i32 noundef 48)
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 175), align 8, !tbaa !24
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 177), align 8, !tbaa !27
  br label %97

94:                                               ; preds = %90
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  store ptr %95, ptr %6, align 8, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !9
  br label %82, !llvm.loop !28

97:                                               ; preds = %92, %82
  br label %122

98:                                               ; preds = %78
  %99 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 125), align 8, !tbaa !29
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %121

101:                                              ; preds = %98
  %102 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 175), align 8, !tbaa !24
  store ptr %102, ptr %5, align 8, !tbaa !9
  br label %103

103:                                              ; preds = %116, %101
  %104 = load ptr, ptr %5, align 8, !tbaa !9
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %111

106:                                              ; preds = %103
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.vertexT, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !25
  %110 = icmp ne ptr %109, null
  br label %111

111:                                              ; preds = %106, %103
  %112 = phi i1 [ false, %103 ], [ %110, %106 ]
  br i1 %112, label %113, label %120

113:                                              ; preds = %111
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.vertexT, ptr %114, i32 0, i32 3
  call void @qh_setfreelong(ptr noundef %115)
  br label %116

116:                                              ; preds = %113
  %117 = load ptr, ptr %5, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.vertexT, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !25
  store ptr %119, ptr %5, align 8, !tbaa !9
  br label %103, !llvm.loop !30

120:                                              ; preds = %111
  br label %121

121:                                              ; preds = %120, %98
  br label %122

122:                                              ; preds = %121, %97
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 125), align 8, !tbaa !29
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 192), align 8, !tbaa !31
  %123 = load i32, ptr %2, align 4, !tbaa !5
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %252

125:                                              ; preds = %122
  %126 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !32
  store ptr %126, ptr %3, align 8, !tbaa !9
  br label %127

127:                                              ; preds = %161, %125
  %128 = load ptr, ptr %3, align 8, !tbaa !9
  %129 = icmp ne ptr %128, null
  br i1 %129, label %130, label %135

130:                                              ; preds = %127
  %131 = load ptr, ptr %3, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.facetT, ptr %131, i32 0, i32 7
  %133 = load ptr, ptr %132, align 8, !tbaa !33
  %134 = icmp ne ptr %133, null
  br label %135

135:                                              ; preds = %130, %127
  %136 = phi i1 [ false, %127 ], [ %134, %130 ]
  br i1 %136, label %137, label %165

137:                                              ; preds = %135
  store ptr null, ptr %7, align 8, !tbaa !9
  %138 = load ptr, ptr %3, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.facetT, ptr %138, i32 0, i32 9
  %140 = load ptr, ptr %139, align 8, !tbaa !35
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %160

142:                                              ; preds = %137
  %143 = load ptr, ptr %3, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.facetT, ptr %143, i32 0, i32 9
  %145 = load ptr, ptr %144, align 8, !tbaa !35
  %146 = getelementptr inbounds %struct.setT, ptr %145, i32 0, i32 1
  %147 = getelementptr inbounds [1 x %union.setelemT], ptr %146, i64 0, i64 0
  store ptr %147, ptr %8, align 8, !tbaa !9
  br label %148

148:                                              ; preds = %153, %142
  %149 = load ptr, ptr %8, align 8, !tbaa !9
  %150 = getelementptr inbounds ptr, ptr %149, i32 1
  store ptr %150, ptr %8, align 8, !tbaa !9
  %151 = load ptr, ptr %149, align 8, !tbaa !9
  store ptr %151, ptr %7, align 8, !tbaa !9
  %152 = icmp ne ptr %151, null
  br i1 %152, label %153, label %159

153:                                              ; preds = %148
  %154 = load ptr, ptr %7, align 8, !tbaa !9
  %155 = getelementptr inbounds %struct.ridgeT, ptr %154, i32 0, i32 4
  %156 = load i8, ptr %155, align 4
  %157 = and i8 %156, -2
  %158 = or i8 %157, 0
  store i8 %158, ptr %155, align 4
  br label %148, !llvm.loop !36

159:                                              ; preds = %148
  br label %160

160:                                              ; preds = %159, %137
  br label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %3, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.facetT, ptr %162, i32 0, i32 7
  %164 = load ptr, ptr %163, align 8, !tbaa !33
  store ptr %164, ptr %3, align 8, !tbaa !9
  br label %127, !llvm.loop !37

165:                                              ; preds = %135
  br label %166

166:                                              ; preds = %248, %165
  %167 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !32
  store ptr %167, ptr %3, align 8, !tbaa !9
  %168 = icmp ne ptr %167, null
  br i1 %168, label %169, label %251

169:                                              ; preds = %166
  %170 = load ptr, ptr %3, align 8, !tbaa !9
  %171 = getelementptr inbounds %struct.facetT, ptr %170, i32 0, i32 15
  %172 = load i32, ptr %171, align 8
  %173 = lshr i32 %172, 10
  %174 = and i32 %173, 1
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %185

176:                                              ; preds = %169
  %177 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 203), align 4, !tbaa !38
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %185

179:                                              ; preds = %176
  %180 = load ptr, ptr %3, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct.facetT, ptr %180, i32 0, i32 9
  %182 = load ptr, ptr %181, align 8, !tbaa !35
  %183 = call i32 @qh_setsize(ptr noundef %182)
  %184 = icmp sgt i32 %183, 1
  br i1 %184, label %185, label %229

185:                                              ; preds = %179, %176, %169
  %186 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %187 = icmp sge i32 %186, 4
  br i1 %187, label %188, label %193

188:                                              ; preds = %185
  %189 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %190 = load ptr, ptr %3, align 8, !tbaa !9
  %191 = getelementptr inbounds %struct.facetT, ptr %190, i32 0, i32 14
  %192 = load i32, ptr %191, align 4, !tbaa !39
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %189, i32 noundef 4095, ptr noundef @.str.10, i32 noundef %192)
  br label %193

193:                                              ; preds = %188, %185
  store ptr null, ptr %7, align 8, !tbaa !9
  %194 = load ptr, ptr %3, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.facetT, ptr %194, i32 0, i32 9
  %196 = load ptr, ptr %195, align 8, !tbaa !35
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %228

198:                                              ; preds = %193
  %199 = load ptr, ptr %3, align 8, !tbaa !9
  %200 = getelementptr inbounds %struct.facetT, ptr %199, i32 0, i32 9
  %201 = load ptr, ptr %200, align 8, !tbaa !35
  %202 = getelementptr inbounds %struct.setT, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds [1 x %union.setelemT], ptr %202, i64 0, i64 0
  store ptr %203, ptr %8, align 8, !tbaa !9
  br label %204

204:                                              ; preds = %224, %198
  %205 = load ptr, ptr %8, align 8, !tbaa !9
  %206 = getelementptr inbounds ptr, ptr %205, i32 1
  store ptr %206, ptr %8, align 8, !tbaa !9
  %207 = load ptr, ptr %205, align 8, !tbaa !9
  store ptr %207, ptr %7, align 8, !tbaa !9
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %227

209:                                              ; preds = %204
  %210 = load ptr, ptr %7, align 8, !tbaa !9
  %211 = getelementptr inbounds %struct.ridgeT, ptr %210, i32 0, i32 4
  %212 = load i8, ptr %211, align 4
  %213 = and i8 %212, 1
  %214 = zext i8 %213 to i32
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %218

216:                                              ; preds = %209
  %217 = load ptr, ptr %7, align 8, !tbaa !9
  call void @qh_delridge(ptr noundef %217)
  br label %224

218:                                              ; preds = %209
  %219 = load ptr, ptr %7, align 8, !tbaa !9
  %220 = getelementptr inbounds %struct.ridgeT, ptr %219, i32 0, i32 4
  %221 = load i8, ptr %220, align 4
  %222 = and i8 %221, -2
  %223 = or i8 %222, 1
  store i8 %223, ptr %220, align 4
  br label %224

224:                                              ; preds = %218, %216
  %225 = load ptr, ptr %7, align 8, !tbaa !9
  store ptr %225, ptr %9, align 8, !tbaa !9
  %226 = load ptr, ptr %9, align 8, !tbaa !9
  br label %204, !llvm.loop !40

227:                                              ; preds = %204
  br label %228

228:                                              ; preds = %227, %193
  br label %229

229:                                              ; preds = %228, %179
  %230 = load ptr, ptr %3, align 8, !tbaa !9
  %231 = getelementptr inbounds %struct.facetT, ptr %230, i32 0, i32 11
  call void @qh_setfree(ptr noundef %231)
  %232 = load ptr, ptr %3, align 8, !tbaa !9
  %233 = getelementptr inbounds %struct.facetT, ptr %232, i32 0, i32 12
  call void @qh_setfree(ptr noundef %233)
  %234 = load ptr, ptr %3, align 8, !tbaa !9
  %235 = getelementptr inbounds %struct.facetT, ptr %234, i32 0, i32 10
  call void @qh_setfree(ptr noundef %235)
  %236 = load ptr, ptr %3, align 8, !tbaa !9
  %237 = getelementptr inbounds %struct.facetT, ptr %236, i32 0, i32 9
  call void @qh_setfree(ptr noundef %237)
  %238 = load ptr, ptr %3, align 8, !tbaa !9
  %239 = getelementptr inbounds %struct.facetT, ptr %238, i32 0, i32 8
  call void @qh_setfree(ptr noundef %239)
  %240 = load ptr, ptr %3, align 8, !tbaa !9
  %241 = getelementptr inbounds %struct.facetT, ptr %240, i32 0, i32 7
  %242 = load ptr, ptr %241, align 8, !tbaa !33
  %243 = icmp ne ptr %242, null
  br i1 %243, label %244, label %246

244:                                              ; preds = %229
  %245 = load ptr, ptr %3, align 8, !tbaa !9
  call void @qh_delfacet(ptr noundef %245)
  br label %248

246:                                              ; preds = %229
  %247 = load ptr, ptr %3, align 8, !tbaa !9
  call void @qh_memfree(ptr noundef %247, i32 noundef 120)
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !32
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 166), align 8, !tbaa !41
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 167), align 8, !tbaa !42
  br label %248

248:                                              ; preds = %246, %244
  %249 = load ptr, ptr %3, align 8, !tbaa !9
  store ptr %249, ptr %4, align 8, !tbaa !9
  %250 = load ptr, ptr %4, align 8, !tbaa !9
  br label %166, !llvm.loop !43

251:                                              ; preds = %166
  br label %297

252:                                              ; preds = %122
  store i32 1, ptr %13, align 4, !tbaa !5
  %253 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !44
  %254 = add nsw i32 %253, 1
  %255 = call i32 @qh_setlarger_quick(i32 noundef %254, ptr noundef %12)
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %257, label %258

257:                                              ; preds = %252
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %257, %252
  %259 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !32
  store ptr %259, ptr %3, align 8, !tbaa !9
  br label %260

260:                                              ; preds = %292, %258
  %261 = load ptr, ptr %3, align 8, !tbaa !9
  %262 = icmp ne ptr %261, null
  br i1 %262, label %263, label %268

263:                                              ; preds = %260
  %264 = load ptr, ptr %3, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.facetT, ptr %264, i32 0, i32 7
  %266 = load ptr, ptr %265, align 8, !tbaa !33
  %267 = icmp ne ptr %266, null
  br label %268

268:                                              ; preds = %263, %260
  %269 = phi i1 [ false, %260 ], [ %267, %263 ]
  br i1 %269, label %270, label %296

270:                                              ; preds = %268
  %271 = load ptr, ptr %3, align 8, !tbaa !9
  %272 = getelementptr inbounds %struct.facetT, ptr %271, i32 0, i32 11
  call void @qh_setfreelong(ptr noundef %272)
  %273 = load ptr, ptr %3, align 8, !tbaa !9
  %274 = getelementptr inbounds %struct.facetT, ptr %273, i32 0, i32 12
  call void @qh_setfreelong(ptr noundef %274)
  %275 = load ptr, ptr %3, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.facetT, ptr %275, i32 0, i32 15
  %277 = load i32, ptr %276, align 8
  %278 = lshr i32 %277, 13
  %279 = and i32 %278, 1
  %280 = icmp ne i32 %279, 0
  br i1 %280, label %281, label %284

281:                                              ; preds = %270
  %282 = load i32, ptr %13, align 4, !tbaa !5
  %283 = icmp ne i32 %282, 0
  br i1 %283, label %284, label %291

284:                                              ; preds = %281, %270
  %285 = load ptr, ptr %3, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct.facetT, ptr %285, i32 0, i32 10
  call void @qh_setfreelong(ptr noundef %286)
  %287 = load ptr, ptr %3, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.facetT, ptr %287, i32 0, i32 9
  call void @qh_setfreelong(ptr noundef %288)
  %289 = load ptr, ptr %3, align 8, !tbaa !9
  %290 = getelementptr inbounds %struct.facetT, ptr %289, i32 0, i32 8
  call void @qh_setfreelong(ptr noundef %290)
  br label %291

291:                                              ; preds = %284, %281
  br label %292

292:                                              ; preds = %291
  %293 = load ptr, ptr %3, align 8, !tbaa !9
  %294 = getelementptr inbounds %struct.facetT, ptr %293, i32 0, i32 7
  %295 = load ptr, ptr %294, align 8, !tbaa !33
  store ptr %295, ptr %3, align 8, !tbaa !9
  br label %260, !llvm.loop !45

296:                                              ; preds = %268
  br label %297

297:                                              ; preds = %296, %251
  %298 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 159), align 8, !tbaa !46
  %299 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 160), align 8, !tbaa !47
  call void @qh_memfree(ptr noundef %298, i32 noundef %299)
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 159), align 8, !tbaa !46
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

declare void @qh_settempfree_all() #1

declare void @qh_settruncate(ptr noundef, i32 noundef) #1

declare void @qh_delvertex(ptr noundef) #1

declare void @qh_setfreelong(ptr noundef) #1

declare i32 @qh_setsize(ptr noundef) #1

declare void @qh_delridge(ptr noundef) #1

declare void @qh_delfacet(ptr noundef) #1

declare i32 @qh_setlarger_quick(i32 noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 136}
!12 = !{!"qhT", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !13, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !13, i64 64, !13, i64 72, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !10, i64 104, !6, i64 112, !6, i64 116, !10, i64 120, !6, i64 128, !6, i64 132, !6, i64 136, !6, i64 140, !6, i64 144, !6, i64 148, !6, i64 152, !13, i64 160, !13, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !13, i64 192, !13, i64 200, !6, i64 208, !6, i64 212, !13, i64 216, !6, i64 224, !6, i64 228, !6, i64 232, !6, i64 236, !6, i64 240, !6, i64 244, !6, i64 248, !6, i64 252, !6, i64 256, !6, i64 260, !6, i64 264, !6, i64 268, !6, i64 272, !6, i64 276, !6, i64 280, !6, i64 284, !6, i64 288, !6, i64 292, !6, i64 296, !7, i64 300, !6, i64 416, !6, i64 420, !6, i64 424, !6, i64 428, !6, i64 432, !6, i64 436, !6, i64 440, !6, i64 444, !13, i64 448, !13, i64 456, !13, i64 464, !6, i64 472, !6, i64 476, !6, i64 480, !6, i64 484, !6, i64 488, !6, i64 492, !6, i64 496, !6, i64 500, !6, i64 504, !6, i64 508, !6, i64 512, !6, i64 516, !6, i64 520, !6, i64 524, !6, i64 528, !6, i64 532, !6, i64 536, !6, i64 540, !6, i64 544, !13, i64 552, !6, i64 560, !6, i64 564, !6, i64 568, !6, i64 572, !6, i64 576, !6, i64 580, !6, i64 584, !6, i64 588, !13, i64 592, !6, i64 600, !10, i64 608, !10, i64 616, !6, i64 624, !6, i64 628, !6, i64 632, !6, i64 636, !6, i64 640, !10, i64 648, !6, i64 656, !10, i64 664, !6, i64 672, !7, i64 676, !6, i64 932, !7, i64 936, !7, i64 1192, !6, i64 1704, !6, i64 1708, !6, i64 1712, !6, i64 1716, !6, i64 1720, !6, i64 1724, !10, i64 1728, !10, i64 1736, !10, i64 1744, !10, i64 1752, !13, i64 1760, !13, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !13, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !10, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !6, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !10, i64 2408, !10, i64 2416, !10, i64 2424, !10, i64 2432, !6, i64 2440, !6, i64 2444, !6, i64 2448, !10, i64 2456, !10, i64 2464, !10, i64 2472, !10, i64 2480, !10, i64 2488, !6, i64 2496, !6, i64 2500, !10, i64 2504, !6, i64 2512, !10, i64 2520, !6, i64 2528, !10, i64 2536, !10, i64 2544, !10, i64 2552, !10, i64 2560, !6, i64 2568, !6, i64 2572, !6, i64 2576, !6, i64 2580, !6, i64 2584, !6, i64 2588, !6, i64 2592, !6, i64 2596, !14, i64 2600, !6, i64 2608, !6, i64 2612, !6, i64 2616, !6, i64 2620, !6, i64 2624, !10, i64 2632, !10, i64 2640, !6, i64 2648, !6, i64 2652, !6, i64 2656, !13, i64 2664, !6, i64 2672, !13, i64 2680, !13, i64 2688, !13, i64 2696, !6, i64 2704, !6, i64 2708, !6, i64 2712, !6, i64 2716, !6, i64 2720, !13, i64 2728, !13, i64 2736, !6, i64 2744, !6, i64 2748, !6, i64 2752, !6, i64 2756, !6, i64 2760, !6, i64 2764, !13, i64 2768, !13, i64 2776, !6, i64 2784, !6, i64 2788, !6, i64 2792, !6, i64 2796, !10, i64 2800, !10, i64 2808, !10, i64 2816, !10, i64 2824, !10, i64 2832, !10, i64 2840, !10, i64 2848, !10, i64 2856, !10, i64 2864, !6, i64 2872, !10, i64 2880, !10, i64 2888, !6, i64 2896, !6, i64 2900, !6, i64 2904, !10, i64 2912, !13, i64 2920, !13, i64 2928, !13, i64 2936, !13, i64 2944, !6, i64 2952, !6, i64 2956, !6, i64 2960, !6, i64 2964, !6, i64 2968, !6, i64 2972, !10, i64 2976, !10, i64 2984, !6, i64 2992}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !10, i64 2424}
!16 = !{!12, !10, i64 2800}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !10, i64 2808}
!20 = distinct !{!20, !18}
!21 = !{!12, !10, i64 2816}
!22 = distinct !{!22, !18}
!23 = !{!12, !10, i64 2840}
!24 = !{!12, !10, i64 2544}
!25 = !{!26, !10, i64 0}
!26 = !{!"vertexT", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 40, !6, i64 40, !6, i64 40, !6, i64 40, !6, i64 40}
!27 = !{!12, !10, i64 2560}
!28 = distinct !{!28, !18}
!29 = !{!12, !6, i64 1720}
!30 = distinct !{!30, !18}
!31 = !{!12, !10, i64 2632}
!32 = !{!12, !10, i64 2456}
!33 = !{!34, !10, i64 56}
!34 = !{!"facetT", !13, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !7, 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, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 113, !6, i64 113, !6, i64 113, !6, i64 113, !6, i64 113, !6, i64 113, !6, i64 113, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 114, !6, i64 115, !6, i64 115, !6, i64 115, !6, i64 115, !6, i64 115, !6, i64 115, !6, i64 115, !6, i64 115}
!35 = !{!34, !10, i64 72}
!36 = distinct !{!36, !18}
!37 = distinct !{!37, !18}
!38 = !{!12, !6, i64 2708}
!39 = !{!34, !6, i64 108}
!40 = distinct !{!40, !18}
!41 = !{!12, !10, i64 2480}
!42 = !{!12, !10, i64 2488}
!43 = distinct !{!43, !18}
!44 = !{!12, !6, i64 632}
!45 = distinct !{!45, !18}
!46 = !{!12, !10, i64 2432}
!47 = !{!12, !6, i64 2440}


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

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

@qh_qh = external dso_local global %struct.qhT, align 8
@.str.7 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1

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

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

declare void @qh_fprintf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @qh_setfree(ptr noundef) local_unnamed_addr #1

declare void @qh_memfree(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_freebuild(i32 noundef %0) local_unnamed_addr #2 {
  %2 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %3 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %4 = icmp sgt i32 %3, 4
  br i1 %4, label %5, label %7

5:                                                ; preds = %1
  %6 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %6, i32 noundef 5004, ptr noundef nonnull @.str.7) #4
  br label %7

7:                                                ; preds = %5, %1
  %8 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2800), align 8, !tbaa !14
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %.loopexit120, label %.preheader119

.preheader119:                                    ; preds = %7
  %.061122 = getelementptr inbounds i8, ptr %8, i64 8
  %9 = load ptr, ptr %.061122, align 8, !tbaa !15
  %.not80123 = icmp eq ptr %9, null
  br i1 %.not80123, label %.loopexit120, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader119, %.lr.ph
  %10 = phi ptr [ %11, %.lr.ph ], [ %9, %.preheader119 ]
  %.061124 = phi ptr [ %.061, %.lr.ph ], [ %.061122, %.preheader119 ]
  tail call void @qh_memfree(ptr noundef nonnull %10, i32 noundef 72) #4
  %.061 = getelementptr inbounds i8, ptr %.061124, i64 8
  %11 = load ptr, ptr %.061, align 8, !tbaa !15
  %.not80 = icmp eq ptr %11, null
  br i1 %.not80, label %.loopexit120, label %.lr.ph, !llvm.loop !16

.loopexit120:                                     ; preds = %.lr.ph, %.preheader119, %7
  %12 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2808), align 8, !tbaa !18
  %.not81 = icmp eq ptr %12, null
  br i1 %.not81, label %.loopexit118, label %.preheader117

.preheader117:                                    ; preds = %.loopexit120
  %.1125 = getelementptr inbounds i8, ptr %12, i64 8
  %13 = load ptr, ptr %.1125, align 8, !tbaa !15
  %.not83126 = icmp eq ptr %13, null
  br i1 %.not83126, label %.loopexit118, label %.lr.ph128

.lr.ph128:                                        ; preds = %.preheader117, %.lr.ph128
  %14 = phi ptr [ %15, %.lr.ph128 ], [ %13, %.preheader117 ]
  %.1127 = phi ptr [ %.1, %.lr.ph128 ], [ %.1125, %.preheader117 ]
  tail call void @qh_memfree(ptr noundef nonnull %14, i32 noundef 72) #4
  %.1 = getelementptr inbounds i8, ptr %.1127, i64 8
  %15 = load ptr, ptr %.1, align 8, !tbaa !15
  %.not83 = icmp eq ptr %15, null
  br i1 %.not83, label %.loopexit118, label %.lr.ph128, !llvm.loop !19

.loopexit118:                                     ; preds = %.lr.ph128, %.preheader117, %.loopexit120
  %16 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2816), align 8, !tbaa !20
  %.not84 = icmp eq ptr %16, null
  br i1 %.not84, label %.loopexit116, label %.preheader115

.preheader115:                                    ; preds = %.loopexit118
  %.2129 = getelementptr inbounds i8, ptr %16, i64 8
  %17 = load ptr, ptr %.2129, align 8, !tbaa !15
  %.not86130 = icmp eq ptr %17, null
  br i1 %.not86130, label %.loopexit116, label %.lr.ph132

.lr.ph132:                                        ; preds = %.preheader115, %.lr.ph132
  %18 = phi ptr [ %19, %.lr.ph132 ], [ %17, %.preheader115 ]
  %.2131 = phi ptr [ %.2, %.lr.ph132 ], [ %.2129, %.preheader115 ]
  tail call void @qh_memfree(ptr noundef nonnull %18, i32 noundef 72) #4
  %.2 = getelementptr inbounds i8, ptr %.2131, i64 8
  %19 = load ptr, ptr %.2, align 8, !tbaa !15
  %.not86 = icmp eq ptr %19, null
  br i1 %.not86, label %.loopexit116, label %.lr.ph132, !llvm.loop !21

.loopexit116:                                     ; preds = %.lr.ph132, %.preheader115, %.loopexit118
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @qh_qh, i64 2800), i8 0, i64 24, i1 false)
  tail call void @qh_setfree(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 2824)) #4
  %20 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %21 = icmp sgt i32 %20, 4
  br i1 %21, label %22, label %24

22:                                               ; preds = %.loopexit116
  %23 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %23, i32 noundef 5003, ptr noundef nonnull @.str.8) #4
  br label %24

24:                                               ; preds = %22, %.loopexit116
  tail call void @qh_settempfree_all() #4
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %27, label %29

27:                                               ; preds = %24
  %28 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %28, i32 noundef 1005, ptr noundef nonnull @.str.9) #4
  br label %29

29:                                               ; preds = %27, %24
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2840), align 8, !tbaa !22
  %.not87 = icmp eq ptr %30, null
  br i1 %.not87, label %32, label %31

31:                                               ; preds = %29
  tail call void @qh_settruncate(ptr noundef nonnull %30, i32 noundef 0) #4
  br label %32

32:                                               ; preds = %31, %29
  %.not88 = icmp eq i32 %0, 0
  br i1 %.not88, label %39, label %.preheader113

.preheader113:                                    ; preds = %32
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !23
  %.not92133 = icmp eq ptr %33, null
  br i1 %.not92133, label %.critedge.thread166, label %.lr.ph134

.critedge.thread166:                              ; preds = %.preheader113
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1720), align 8, !tbaa !24
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2632), align 8, !tbaa !25
  br label %.preheader111

.lr.ph134:                                        ; preds = %.preheader113, %36
  %34 = phi ptr [ %37, %36 ], [ %33, %.preheader113 ]
  %35 = load ptr, ptr %34, align 8, !tbaa !26
  %.not93 = icmp eq ptr %35, null
  br i1 %.not93, label %38, label %36

36:                                               ; preds = %.lr.ph134
  tail call void @qh_delvertex(ptr noundef nonnull %34) #4
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !23
  %.not92 = icmp eq ptr %37, null
  br i1 %.not92, label %.critedge, label %.lr.ph134, !llvm.loop !28

38:                                               ; preds = %.lr.ph134
  tail call void @qh_memfree(ptr noundef nonnull %34, i32 noundef 48) #4
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !23
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2560), align 8, !tbaa !29
  br label %.critedge

39:                                               ; preds = %32
  %40 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1720), align 8, !tbaa !24
  %.not89 = icmp eq i32 %40, 0
  br i1 %.not89, label %.sink.split, label %.preheader112

.preheader112:                                    ; preds = %39
  %.064135 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !15
  %.not90136 = icmp eq ptr %.064135, null
  br i1 %.not90136, label %.critedge.thread165, label %.lr.ph138

.critedge.thread165:                              ; preds = %.preheader112
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1720), align 8, !tbaa !24
  br label %.sink.split

.lr.ph138:                                        ; preds = %.preheader112, %42
  %.064137 = phi ptr [ %.064, %42 ], [ %.064135, %.preheader112 ]
  %41 = load ptr, ptr %.064137, align 8, !tbaa !26
  %.not91 = icmp eq ptr %41, null
  br i1 %.not91, label %.critedge, label %42

42:                                               ; preds = %.lr.ph138
  %43 = getelementptr inbounds i8, ptr %.064137, i64 24
  tail call void @qh_setfreelong(ptr noundef nonnull %43) #4
  %.064 = load ptr, ptr %.064137, align 8, !tbaa !15
  %.not90 = icmp eq ptr %.064, null
  br i1 %.not90, label %.critedge, label %.lr.ph138, !llvm.loop !30

.critedge:                                        ; preds = %36, %.lr.ph138, %42, %38
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1720), align 8, !tbaa !24
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2632), align 8, !tbaa !25
  br i1 %.not88, label %95, label %.preheader111

.preheader111:                                    ; preds = %.critedge.thread166, %.critedge
  %.065144 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !15
  %.not97145 = icmp eq ptr %.065144, null
  br i1 %.not97145, label %.critedge5, label %.lr.ph147

.lr.ph147:                                        ; preds = %.preheader111, %.loopexit110
  %.065146 = phi ptr [ %.065, %.loopexit110 ], [ %.065144, %.preheader111 ]
  %44 = getelementptr inbounds i8, ptr %.065146, i64 56
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %.not98 = icmp eq ptr %45, null
  br i1 %.not98, label %.critedge2, label %46

46:                                               ; preds = %.lr.ph147
  %47 = getelementptr inbounds i8, ptr %.065146, i64 72
  %48 = load ptr, ptr %47, align 8, !tbaa !31
  %.not105 = icmp eq ptr %48, null
  br i1 %.not105, label %.loopexit110, label %.preheader109

.preheader109:                                    ; preds = %46
  %.062140 = getelementptr inbounds i8, ptr %48, i64 8
  %49 = load ptr, ptr %.062140, align 8, !tbaa !15
  %.not107141 = icmp eq ptr %49, null
  br i1 %.not107141, label %.loopexit110, label %.lr.ph143

.lr.ph143:                                        ; preds = %.preheader109, %.lr.ph143
  %50 = phi ptr [ %54, %.lr.ph143 ], [ %49, %.preheader109 ]
  %.062142 = phi ptr [ %.062, %.lr.ph143 ], [ %.062140, %.preheader109 ]
  %51 = getelementptr inbounds i8, ptr %50, i64 28
  %52 = load i8, ptr %51, align 4
  %53 = and i8 %52, -2
  store i8 %53, ptr %51, align 4
  %.062 = getelementptr inbounds i8, ptr %.062142, i64 8
  %54 = load ptr, ptr %.062, align 8, !tbaa !15
  %.not107 = icmp eq ptr %54, null
  br i1 %.not107, label %.loopexit110.loopexit, label %.lr.ph143, !llvm.loop !33

.loopexit110.loopexit:                            ; preds = %.lr.ph143
  %.065.pre = load ptr, ptr %44, align 8, !tbaa !15
  br label %.loopexit110

.loopexit110:                                     ; preds = %.loopexit110.loopexit, %.preheader109, %46
  %.065 = phi ptr [ %.065.pre, %.loopexit110.loopexit ], [ %45, %.preheader109 ], [ %45, %46 ]
  %.not97 = icmp eq ptr %.065, null
  br i1 %.not97, label %.critedge2, label %.lr.ph147, !llvm.loop !34

.critedge2:                                       ; preds = %.lr.ph147, %.loopexit110
  %.pre = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !35
  %.not99153 = icmp eq ptr %.pre, null
  br i1 %.not99153, label %.critedge5, label %.lr.ph154

.lr.ph154:                                        ; preds = %.critedge2, %94
  %55 = phi ptr [ %.pre164, %94 ], [ %.pre, %.critedge2 ]
  %56 = getelementptr inbounds i8, ptr %55, i64 112
  %57 = load i32, ptr %56, align 8
  %58 = and i32 %57, 1024
  %59 = icmp ne i32 %58, 0
  %60 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2708), align 4
  %61 = icmp ne i32 %60, 0
  %or.cond = select i1 %59, i1 %61, i1 false
  br i1 %or.cond, label %62, label %67

62:                                               ; preds = %.lr.ph154
  %63 = getelementptr inbounds i8, ptr %55, i64 72
  %64 = load ptr, ptr %63, align 8, !tbaa !31
  %65 = tail call i32 @qh_setsize(ptr noundef %64) #4
  %66 = icmp sgt i32 %65, 1
  br i1 %66, label %67, label %.loopexit

67:                                               ; preds = %62, %.lr.ph154
  %68 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %69 = icmp sgt i32 %68, 3
  br i1 %69, label %70, label %74

70:                                               ; preds = %67
  %71 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %72 = getelementptr inbounds i8, ptr %55, i64 108
  %73 = load i32, ptr %72, align 4, !tbaa !36
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %71, i32 noundef 4095, ptr noundef nonnull @.str.10, i32 noundef %73) #4
  br label %74

74:                                               ; preds = %70, %67
  %75 = getelementptr inbounds i8, ptr %55, i64 72
  %76 = load ptr, ptr %75, align 8, !tbaa !31
  %.not100 = icmp eq ptr %76, null
  br i1 %.not100, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %74
  %.163149 = getelementptr inbounds i8, ptr %76, i64 8
  %77 = load ptr, ptr %.163149, align 8, !tbaa !15
  %.not102150 = icmp eq ptr %77, null
  br i1 %.not102150, label %.loopexit, label %.lr.ph152

.lr.ph152:                                        ; preds = %.preheader, %85
  %78 = phi ptr [ %86, %85 ], [ %77, %.preheader ]
  %.163151 = phi ptr [ %.163, %85 ], [ %.163149, %.preheader ]
  %79 = getelementptr inbounds i8, ptr %78, i64 28
  %80 = load i8, ptr %79, align 4
  %81 = and i8 %80, 1
  %.not104 = icmp eq i8 %81, 0
  br i1 %.not104, label %83, label %82

82:                                               ; preds = %.lr.ph152
  tail call void @qh_delridge(ptr noundef nonnull %78) #4
  br label %85

83:                                               ; preds = %.lr.ph152
  %84 = or disjoint i8 %80, 1
  store i8 %84, ptr %79, align 4
  br label %85

85:                                               ; preds = %83, %82
  %.163 = getelementptr inbounds i8, ptr %.163151, i64 8
  %86 = load ptr, ptr %.163, align 8, !tbaa !15
  %.not102 = icmp eq ptr %86, null
  br i1 %.not102, label %.loopexit, label %.lr.ph152, !llvm.loop !37

.loopexit:                                        ; preds = %85, %.preheader, %74, %62
  %87 = getelementptr inbounds i8, ptr %55, i64 88
  tail call void @qh_setfree(ptr noundef nonnull %87) #4
  %88 = getelementptr inbounds i8, ptr %55, i64 96
  tail call void @qh_setfree(ptr noundef nonnull %88) #4
  %89 = getelementptr inbounds i8, ptr %55, i64 80
  tail call void @qh_setfree(ptr noundef nonnull %89) #4
  %90 = getelementptr inbounds i8, ptr %55, i64 72
  tail call void @qh_setfree(ptr noundef nonnull %90) #4
  %91 = getelementptr inbounds i8, ptr %55, i64 64
  tail call void @qh_setfree(ptr noundef nonnull %91) #4
  %92 = getelementptr inbounds i8, ptr %55, i64 56
  %93 = load ptr, ptr %92, align 8, !tbaa !38
  %.not103 = icmp eq ptr %93, null
  br i1 %.not103, label %.thread, label %94

.thread:                                          ; preds = %.loopexit
  tail call void @qh_memfree(ptr noundef nonnull %55, i32 noundef 120) #4
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !35
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @qh_qh, i64 2480), i8 0, i64 16, i1 false)
  br label %.critedge5

94:                                               ; preds = %.loopexit
  tail call void @qh_delfacet(ptr noundef nonnull %55) #4
  %.pre164 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !35
  %.not99 = icmp eq ptr %.pre164, null
  br i1 %.not99, label %.critedge5, label %.lr.ph154, !llvm.loop !39

.sink.split:                                      ; preds = %39, %.critedge.thread165
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2632), align 8, !tbaa !25
  br label %95

95:                                               ; preds = %.sink.split, %.critedge
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !40
  %97 = add nsw i32 %96, 1
  %98 = call i32 @qh_setlarger_quick(i32 noundef %97, ptr noundef nonnull %2) #4
  %.not94 = icmp eq i32 %98, 0
  %.166155 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !15
  %.not95156 = icmp eq ptr %.166155, null
  br i1 %.not95156, label %.critedge5, label %.lr.ph158

.lr.ph158:                                        ; preds = %95, %112
  %.166157 = phi ptr [ %.166, %112 ], [ %.166155, %95 ]
  %99 = getelementptr inbounds i8, ptr %.166157, i64 56
  %100 = load ptr, ptr %99, align 8, !tbaa !38
  %.not96 = icmp eq ptr %100, null
  br i1 %.not96, label %.critedge5, label %101

101:                                              ; preds = %.lr.ph158
  %102 = getelementptr inbounds i8, ptr %.166157, i64 88
  call void @qh_setfreelong(ptr noundef nonnull %102) #4
  %103 = getelementptr inbounds i8, ptr %.166157, i64 96
  call void @qh_setfreelong(ptr noundef nonnull %103) #4
  %104 = getelementptr inbounds i8, ptr %.166157, i64 112
  %105 = load i32, ptr %104, align 8
  %106 = and i32 %105, 8192
  %107 = icmp eq i32 %106, 0
  %or.cond7 = or i1 %.not94, %107
  br i1 %or.cond7, label %108, label %112

108:                                              ; preds = %101
  %109 = getelementptr inbounds i8, ptr %.166157, i64 80
  call void @qh_setfreelong(ptr noundef nonnull %109) #4
  %110 = getelementptr inbounds i8, ptr %.166157, i64 72
  call void @qh_setfreelong(ptr noundef nonnull %110) #4
  %111 = getelementptr inbounds i8, ptr %.166157, i64 64
  call void @qh_setfreelong(ptr noundef nonnull %111) #4
  br label %112

112:                                              ; preds = %108, %101
  %.166 = load ptr, ptr %99, align 8, !tbaa !15
  %.not95 = icmp eq ptr %.166, null
  br i1 %.not95, label %.critedge5, label %.lr.ph158, !llvm.loop !41

.critedge5:                                       ; preds = %94, %112, %.lr.ph158, %.preheader111, %.thread, %.critedge2, %95
  %113 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2432), align 8, !tbaa !42
  %114 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2440), align 8, !tbaa !43
  call void @qh_memfree(ptr noundef %113, i32 noundef %114) #4
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2432), align 8, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  ret void
}

declare void @qh_settempfree_all() local_unnamed_addr #1

declare void @qh_settruncate(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @qh_delvertex(ptr noundef) local_unnamed_addr #1

declare void @qh_setfreelong(ptr noundef) local_unnamed_addr #1

declare i32 @qh_setsize(ptr noundef) local_unnamed_addr #1

declare void @qh_delridge(ptr noundef) local_unnamed_addr #1

declare void @qh_delfacet(ptr noundef) local_unnamed_addr #1

declare i32 @qh_setlarger_quick(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 136}
!6 = !{!"qhT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !10, i64 64, !10, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !11, i64 104, !7, i64 112, !7, i64 116, !11, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !10, i64 192, !10, i64 200, !7, i64 208, !7, i64 212, !10, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !8, i64 300, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !10, i64 448, !10, i64 456, !10, i64 464, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !7, i64 512, !7, i64 516, !7, i64 520, !7, i64 524, !7, i64 528, !7, i64 532, !7, i64 536, !7, i64 540, !7, i64 544, !10, i64 552, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !7, i64 588, !10, i64 592, !7, i64 600, !11, i64 608, !11, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !11, i64 648, !7, i64 656, !11, i64 664, !7, i64 672, !8, i64 676, !7, i64 932, !8, i64 936, !8, i64 1192, !7, i64 1704, !7, i64 1708, !7, i64 1712, !7, i64 1716, !7, i64 1720, !7, i64 1724, !11, i64 1728, !11, i64 1736, !11, i64 1744, !11, i64 1752, !10, i64 1760, !10, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !11, i64 1872, !10, i64 1880, !10, i64 1888, !10, i64 1896, !10, i64 1904, !7, i64 1912, !8, i64 1916, !8, i64 1928, !8, i64 2128, !8, i64 2168, !8, i64 2368, !11, i64 2408, !11, i64 2416, !11, i64 2424, !11, i64 2432, !7, i64 2440, !7, i64 2444, !7, i64 2448, !11, i64 2456, !11, i64 2464, !11, i64 2472, !11, i64 2480, !11, i64 2488, !7, i64 2496, !7, i64 2500, !11, i64 2504, !7, i64 2512, !11, i64 2520, !7, i64 2528, !11, i64 2536, !11, i64 2544, !11, i64 2552, !11, i64 2560, !7, i64 2568, !7, i64 2572, !7, i64 2576, !7, i64 2580, !7, i64 2584, !7, i64 2588, !7, i64 2592, !7, i64 2596, !12, i64 2600, !7, i64 2608, !7, i64 2612, !7, i64 2616, !7, i64 2620, !7, i64 2624, !11, i64 2632, !11, i64 2640, !7, i64 2648, !7, i64 2652, !7, i64 2656, !10, i64 2664, !7, i64 2672, !10, i64 2680, !10, i64 2688, !10, i64 2696, !7, i64 2704, !7, i64 2708, !7, i64 2712, !7, i64 2716, !7, i64 2720, !10, i64 2728, !10, i64 2736, !7, i64 2744, !7, i64 2748, !7, i64 2752, !7, i64 2756, !7, i64 2760, !7, i64 2764, !10, i64 2768, !10, i64 2776, !7, i64 2784, !7, i64 2788, !7, i64 2792, !7, i64 2796, !11, i64 2800, !11, i64 2808, !11, i64 2816, !11, i64 2824, !11, i64 2832, !11, i64 2840, !11, i64 2848, !11, i64 2856, !11, i64 2864, !7, i64 2872, !11, i64 2880, !11, i64 2888, !7, i64 2896, !7, i64 2900, !7, i64 2904, !11, i64 2912, !10, i64 2920, !10, i64 2928, !10, i64 2936, !10, i64 2944, !7, i64 2952, !7, i64 2956, !7, i64 2960, !7, i64 2964, !7, i64 2968, !7, i64 2972, !11, i64 2976, !11, i64 2984, !7, i64 2992}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !11, i64 2424}
!14 = !{!6, !11, i64 2800}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !11, i64 2808}
!19 = distinct !{!19, !17}
!20 = !{!6, !11, i64 2816}
!21 = distinct !{!21, !17}
!22 = !{!6, !11, i64 2840}
!23 = !{!6, !11, i64 2544}
!24 = !{!6, !7, i64 1720}
!25 = !{!6, !11, i64 2632}
!26 = !{!27, !11, i64 0}
!27 = !{!"vertexT", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40}
!28 = distinct !{!28, !17}
!29 = !{!6, !11, i64 2560}
!30 = distinct !{!30, !17}
!31 = !{!32, !11, i64 72}
!32 = !{!"facetT", !10, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115}
!33 = distinct !{!33, !17}
!34 = distinct !{!34, !17}
!35 = !{!6, !11, i64 2456}
!36 = !{!32, !7, i64 108}
!37 = distinct !{!37, !17}
!38 = !{!32, !11, i64 56}
!39 = distinct !{!39, !17}
!40 = !{!6, !7, i64 632}
!41 = distinct !{!41, !17}
!42 = !{!6, !11, i64 2432}
!43 = !{!6, !7, i64 2440}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass