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

; 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.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }
%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.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@qh_qh = external global %struct.qhT, align 8
@qh_qhstat = external global %struct.qhstatT, align 8
@.str.212 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [66 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

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

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

declare i32 @qh_setsize(ptr noundef) #1

declare void @qh_setappend(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_degen_redundant_facet(ptr noundef) #2

declare ptr @qh_setdel(ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @qh_maybe_duplicateridge(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_maydropneighbor(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_test_redundant_neighbors(ptr noundef) #2

declare ptr @qh_setdelsorted(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_test_degen_neighbors(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @qh_remove_extravertices(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @qh_renamevertex(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %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 ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  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
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  %18 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %19 = icmp sge i32 %18, 2
  br i1 %19, label %32, label %20

20:                                               ; preds = %5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.vertexT, ptr %21, i32 0, i32 4
  %23 = load i32, ptr %22, align 8, !tbaa !15
  %24 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 173), align 8, !tbaa !17
  %25 = icmp eq i32 %23, %24
  br i1 %25, label %32, label %26

26:                                               ; preds = %20
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.vertexT, ptr %27, i32 0, i32 4
  %29 = load i32, ptr %28, align 8, !tbaa !15
  %30 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 173), align 8, !tbaa !17
  %31 = icmp eq i32 %29, %30
  br i1 %31, label %32, label %60

32:                                               ; preds = %26, %20, %5
  store i32 1, ptr %17, align 4, !tbaa !9
  %33 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.vertexT, ptr %34, i32 0, i32 4
  %36 = load i32, ptr %35, align 8, !tbaa !15
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.vertexT, ptr %37, i32 0, i32 4
  %39 = load i32, ptr %38, align 8, !tbaa !15
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = call i32 @qh_setsize(ptr noundef %40)
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %48

44:                                               ; preds = %32
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.facetT, ptr %45, i32 0, i32 14
  %47 = load i32, ptr %46, align 4, !tbaa !19
  br label %49

48:                                               ; preds = %32
  br label %49

49:                                               ; preds = %48, %44
  %50 = phi i32 [ %47, %44 ], [ -1, %48 ]
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %57

53:                                               ; preds = %49
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.facetT, ptr %54, i32 0, i32 14
  %56 = load i32, ptr %55, align 4, !tbaa !19
  br label %58

57:                                               ; preds = %49
  br label %58

58:                                               ; preds = %57, %53
  %59 = phi i32 [ %56, %53 ], [ -1, %57 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %33, i32 noundef 2086, ptr noundef @.str.212, i32 noundef %36, i32 noundef %39, i32 noundef %41, i32 noundef %50, i32 noundef %59)
  br label %60

60:                                               ; preds = %58, %26
  store ptr null, ptr %13, align 8, !tbaa !5
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %190

63:                                               ; preds = %60
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.setT, ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds [1 x %union.setelemT], ptr %65, i64 0, i64 0
  store ptr %66, ptr %14, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %188, %63
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = getelementptr inbounds ptr, ptr %68, i32 1
  store ptr %69, ptr %14, align 8, !tbaa !5
  %70 = load ptr, ptr %68, align 8, !tbaa !5
  store ptr %70, ptr %13, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %189

72:                                               ; preds = %67
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = call i32 @qh_renameridgevertex(ptr noundef %73, ptr noundef %74, ptr noundef %75)
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %188

78:                                               ; preds = %72
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ridgeT, ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !21
  %82 = getelementptr inbounds %struct.facetT, ptr %81, i32 0, i32 8
  %83 = load ptr, ptr %82, align 8, !tbaa !23
  %84 = call i32 @qh_setsize(ptr noundef %83)
  store i32 %84, ptr %15, align 4, !tbaa !9
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ridgeT, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !24
  %88 = getelementptr inbounds %struct.facetT, ptr %87, i32 0, i32 8
  %89 = load ptr, ptr %88, align 8, !tbaa !23
  %90 = call i32 @qh_setsize(ptr noundef %89)
  store i32 %90, ptr %16, align 4, !tbaa !9
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !25
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %116, label %94

94:                                               ; preds = %78
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !25
  %97 = icmp eq i32 %95, %96
  br i1 %97, label %98, label %137

98:                                               ; preds = %94
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ridgeT, ptr %99, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !21
  %102 = getelementptr inbounds %struct.facetT, ptr %101, i32 0, i32 15
  %103 = load i32, ptr %102, align 8
  %104 = lshr i32 %103, 13
  %105 = and i32 %104, 1
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %137, label %107

107:                                              ; preds = %98
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ridgeT, ptr %108, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !21
  %111 = getelementptr inbounds %struct.facetT, ptr %110, i32 0, i32 8
  %112 = load ptr, ptr %111, align 8, !tbaa !23
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = call i32 @qh_setin(ptr noundef %112, ptr noundef %113)
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %137

116:                                              ; preds = %107, %78
  %117 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %118 = icmp sge i32 %117, 4
  br i1 %118, label %119, label %136

119:                                              ; preds = %116
  %120 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ridgeT, ptr %121, i32 0, i32 3
  %123 = load i32, ptr %122, align 8, !tbaa !26
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ridgeT, ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !21
  %127 = getelementptr inbounds %struct.facetT, ptr %126, i32 0, i32 14
  %128 = load i32, ptr %127, align 4, !tbaa !19
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.vertexT, ptr %130, i32 0, i32 4
  %132 = load i32, ptr %131, align 8, !tbaa !15
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.vertexT, ptr %133, i32 0, i32 4
  %135 = load i32, ptr %134, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %120, i32 noundef 4070, ptr noundef @.str.213, i32 noundef %123, i32 noundef %128, i32 noundef %129, i32 noundef %132, i32 noundef %135)
  br label %136

136:                                              ; preds = %119, %116
  br label %187

137:                                              ; preds = %107, %98, %94
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !25
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %163, label %141

141:                                              ; preds = %137
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !25
  %144 = icmp eq i32 %142, %143
  br i1 %144, label %145, label %184

145:                                              ; preds = %141
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ridgeT, ptr %146, i32 0, i32 2
  %148 = load ptr, ptr %147, align 8, !tbaa !24
  %149 = getelementptr inbounds %struct.facetT, ptr %148, i32 0, i32 15
  %150 = load i32, ptr %149, align 8
  %151 = lshr i32 %150, 13
  %152 = and i32 %151, 1
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %184, label %154

154:                                              ; preds = %145
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ridgeT, ptr %155, i32 0, i32 2
  %157 = load ptr, ptr %156, align 8, !tbaa !24
  %158 = getelementptr inbounds %struct.facetT, ptr %157, i32 0, i32 8
  %159 = load ptr, ptr %158, align 8, !tbaa !23
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = call i32 @qh_setin(ptr noundef %159, ptr noundef %160)
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %184

163:                                              ; preds = %154, %137
  %164 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %165 = icmp sge i32 %164, 4
  br i1 %165, label %166, label %183

166:                                              ; preds = %163
  %167 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %168 = load ptr, ptr %13, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ridgeT, ptr %168, i32 0, i32 3
  %170 = load i32, ptr %169, align 8, !tbaa !26
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ridgeT, ptr %171, i32 0, i32 2
  %173 = load ptr, ptr %172, align 8, !tbaa !24
  %174 = getelementptr inbounds %struct.facetT, ptr %173, i32 0, i32 14
  %175 = load i32, ptr %174, align 4, !tbaa !19
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.vertexT, ptr %177, i32 0, i32 4
  %179 = load i32, ptr %178, align 8, !tbaa !15
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.vertexT, ptr %180, i32 0, i32 4
  %182 = load i32, ptr %181, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %167, i32 noundef 4071, ptr noundef @.str.214, i32 noundef %170, i32 noundef %175, i32 noundef %176, i32 noundef %179, i32 noundef %182)
  br label %183

183:                                              ; preds = %166, %163
  br label %186

184:                                              ; preds = %154, %145, %141
  %185 = load ptr, ptr %13, align 8, !tbaa !5
  call void @qh_maybe_duplicateridge(ptr noundef %185)
  br label %186

186:                                              ; preds = %184, %183
  br label %187

187:                                              ; preds = %186, %136
  br label %188

188:                                              ; preds = %187, %72
  br label %67, !llvm.loop !27

189:                                              ; preds = %67
  br label %190

190:                                              ; preds = %189, %60
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = icmp ne ptr %191, null
  br i1 %192, label %275, label %193

193:                                              ; preds = %190
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %204

196:                                              ; preds = %193
  %197 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.vertexT, ptr %198, i32 0, i32 4
  %200 = load i32, ptr %199, align 8, !tbaa !15
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.vertexT, ptr %201, i32 0, i32 4
  %203 = load i32, ptr %202, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %197, i32 noundef 2087, ptr noundef @.str.215, i32 noundef %200, i32 noundef %203)
  br label %204

204:                                              ; preds = %196, %193
  store ptr null, ptr %11, align 8, !tbaa !5
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.vertexT, ptr %205, i32 0, i32 3
  %207 = load ptr, ptr %206, align 8, !tbaa !29
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %259

209:                                              ; preds = %204
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.vertexT, ptr %210, i32 0, i32 3
  %212 = load ptr, ptr %211, align 8, !tbaa !29
  %213 = getelementptr inbounds %struct.setT, ptr %212, i32 0, i32 1
  %214 = getelementptr inbounds [1 x %union.setelemT], ptr %213, i64 0, i64 0
  store ptr %214, ptr %12, align 8, !tbaa !5
  br label %215

215:                                              ; preds = %257, %209
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = getelementptr inbounds ptr, ptr %216, i32 1
  store ptr %217, ptr %12, align 8, !tbaa !5
  %218 = load ptr, ptr %216, align 8, !tbaa !5
  store ptr %218, ptr %11, align 8, !tbaa !5
  %219 = icmp ne ptr %218, null
  br i1 %219, label %220, label %258

220:                                              ; preds = %215
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.facetT, ptr %221, i32 0, i32 15
  %223 = load i32, ptr %222, align 8
  %224 = lshr i32 %223, 13
  %225 = and i32 %224, 1
  %226 = icmp ne i32 %225, 0
  br i1 %226, label %227, label %229

227:                                              ; preds = %220
  %228 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_degen_redundant_facet(ptr noundef %228)
  br label %257

229:                                              ; preds = %220
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %240

232:                                              ; preds = %229
  %233 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.facetT, ptr %234, i32 0, i32 14
  %236 = load i32, ptr %235, align 4, !tbaa !19
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.vertexT, ptr %237, i32 0, i32 4
  %239 = load i32, ptr %238, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %233, i32 noundef 4080, ptr noundef @.str.216, i32 noundef %236, i32 noundef %239)
  br label %240

240:                                              ; preds = %232, %229
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_maydropneighbor(ptr noundef %241)
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.facetT, ptr %242, i32 0, i32 8
  %244 = load ptr, ptr %243, align 8, !tbaa !23
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = call ptr @qh_setdelsorted(ptr noundef %244, ptr noundef %245)
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  %248 = call i32 @qh_remove_extravertices(ptr noundef %247)
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %250, label %253

250:                                              ; preds = %240
  %251 = load ptr, ptr %12, align 8, !tbaa !5
  %252 = getelementptr inbounds ptr, ptr %251, i32 -1
  store ptr %252, ptr %12, align 8, !tbaa !5
  br label %253

253:                                              ; preds = %250, %240
  %254 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_degen_redundant_facet(ptr noundef %254)
  %255 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_test_redundant_neighbors(ptr noundef %255)
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_test_degen_neighbors(ptr noundef %256)
  br label %257

257:                                              ; preds = %253, %227
  br label %215, !llvm.loop !30

258:                                              ; preds = %215
  br label %259

259:                                              ; preds = %258, %204
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.vertexT, ptr %260, i32 0, i32 6
  %262 = load i8, ptr %261, align 8
  %263 = lshr i8 %262, 2
  %264 = and i8 %263, 1
  %265 = zext i8 %264 to i32
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %274, label %267

267:                                              ; preds = %259
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.vertexT, ptr %268, i32 0, i32 6
  %270 = load i8, ptr %269, align 8
  %271 = and i8 %270, -5
  %272 = or i8 %271, 4
  store i8 %272, ptr %269, align 8
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 226), ptr noundef %273)
  br label %274

274:                                              ; preds = %267, %259
  br label %368

275:                                              ; preds = %190
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.vertexT, ptr %276, i32 0, i32 3
  %278 = load ptr, ptr %277, align 8, !tbaa !29
  %279 = call i32 @qh_setsize(ptr noundef %278)
  %280 = icmp eq i32 %279, 2
  br i1 %280, label %281, label %328

281:                                              ; preds = %275
  %282 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 193), align 8, !tbaa !31
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 193), align 8, !tbaa !31
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %297

286:                                              ; preds = %281
  %287 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.vertexT, ptr %288, i32 0, i32 4
  %290 = load i32, ptr %289, align 8, !tbaa !15
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.vertexT, ptr %291, i32 0, i32 4
  %293 = load i32, ptr %292, align 8, !tbaa !15
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.facetT, ptr %294, i32 0, i32 14
  %296 = load i32, ptr %295, align 4, !tbaa !19
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %287, i32 noundef 3039, ptr noundef @.str.217, i32 noundef %290, i32 noundef %293, i32 noundef %296)
  br label %297

297:                                              ; preds = %286, %281
  store ptr null, ptr %11, align 8, !tbaa !5
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.vertexT, ptr %298, i32 0, i32 3
  %300 = load ptr, ptr %299, align 8, !tbaa !29
  %301 = icmp ne ptr %300, null
  br i1 %301, label %302, label %321

302:                                              ; preds = %297
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.vertexT, ptr %303, i32 0, i32 3
  %305 = load ptr, ptr %304, align 8, !tbaa !29
  %306 = getelementptr inbounds %struct.setT, ptr %305, i32 0, i32 1
  %307 = getelementptr inbounds [1 x %union.setelemT], ptr %306, i64 0, i64 0
  store ptr %307, ptr %12, align 8, !tbaa !5
  br label %308

308:                                              ; preds = %313, %302
  %309 = load ptr, ptr %12, align 8, !tbaa !5
  %310 = getelementptr inbounds ptr, ptr %309, i32 1
  store ptr %310, ptr %12, align 8, !tbaa !5
  %311 = load ptr, ptr %309, align 8, !tbaa !5
  store ptr %311, ptr %11, align 8, !tbaa !5
  %312 = icmp ne ptr %311, null
  br i1 %312, label %313, label %320

313:                                              ; preds = %308
  %314 = load ptr, ptr %11, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.facetT, ptr %314, i32 0, i32 8
  %316 = load ptr, ptr %315, align 8, !tbaa !23
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = call ptr @qh_setdelsorted(ptr noundef %316, ptr noundef %317)
  %319 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_degen_redundant_facet(ptr noundef %319)
  br label %308, !llvm.loop !32

320:                                              ; preds = %308
  br label %321

321:                                              ; preds = %320, %297
  %322 = load ptr, ptr %6, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.vertexT, ptr %322, i32 0, i32 6
  %324 = load i8, ptr %323, align 8
  %325 = and i8 %324, -5
  %326 = or i8 %325, 4
  store i8 %326, ptr %323, align 8
  %327 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 226), ptr noundef %327)
  br label %367

328:                                              ; preds = %275
  %329 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 192), align 8, !tbaa !31
  %330 = add nsw i32 %329, 1
  store i32 %330, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 192), align 8, !tbaa !31
  %331 = load i32, ptr %17, align 4, !tbaa !9
  %332 = icmp ne i32 %331, 0
  br i1 %332, label %336, label %333

333:                                              ; preds = %328
  %334 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %335 = icmp sge i32 %334, 1
  br i1 %335, label %336, label %350

336:                                              ; preds = %333, %328
  %337 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %338 = load ptr, ptr %6, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.vertexT, ptr %338, i32 0, i32 4
  %340 = load i32, ptr %339, align 8, !tbaa !15
  %341 = load ptr, ptr %7, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.vertexT, ptr %341, i32 0, i32 4
  %343 = load i32, ptr %342, align 8, !tbaa !15
  %344 = load ptr, ptr %9, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.facetT, ptr %344, i32 0, i32 14
  %346 = load i32, ptr %345, align 4, !tbaa !19
  %347 = load ptr, ptr %10, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.facetT, ptr %347, i32 0, i32 14
  %349 = load i32, ptr %348, align 4, !tbaa !19
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %337, i32 noundef 3040, ptr noundef @.str.218, i32 noundef %340, i32 noundef %343, i32 noundef %346, i32 noundef %349)
  br label %350

350:                                              ; preds = %336, %333
  %351 = load ptr, ptr %9, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.facetT, ptr %351, i32 0, i32 8
  %353 = load ptr, ptr %352, align 8, !tbaa !23
  %354 = load ptr, ptr %6, align 8, !tbaa !5
  %355 = call ptr @qh_setdelsorted(ptr noundef %353, ptr noundef %354)
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.vertexT, ptr %356, i32 0, i32 3
  %358 = load ptr, ptr %357, align 8, !tbaa !29
  %359 = load ptr, ptr %9, align 8, !tbaa !5
  %360 = call ptr @qh_setdel(ptr noundef %358, ptr noundef %359)
  %361 = load ptr, ptr %10, align 8, !tbaa !5
  %362 = call i32 @qh_remove_extravertices(ptr noundef %361)
  %363 = icmp ne i32 %362, 0
  br i1 %363, label %364, label %366

364:                                              ; preds = %350
  %365 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_degen_redundant_facet(ptr noundef %365)
  br label %366

366:                                              ; preds = %364, %350
  br label %367

367:                                              ; preds = %366, %321
  br label %368

368:                                              ; preds = %367, %274
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = icmp ne ptr %369, null
  br i1 %370, label %371, label %373

371:                                              ; preds = %368
  %372 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_degen_redundant_facet(ptr noundef %372)
  br label %373

373:                                              ; preds = %371, %368
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @qh_renameridgevertex(ptr noundef, ptr noundef, ptr noundef) #2

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


; 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] }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }

@qh_qh = external global %struct.qhT, align 8
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8
@.str.212 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [66 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef) local_unnamed_addr #0

declare void @qh_setappend(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @qh_degen_redundant_facet(ptr noundef) local_unnamed_addr #1

declare ptr @qh_setdel(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @qh_setin(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @qh_maybe_duplicateridge(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_maydropneighbor(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_test_redundant_neighbors(ptr noundef) local_unnamed_addr #1

declare ptr @qh_setdelsorted(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @qh_test_degen_neighbors(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @qh_remove_extravertices(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_renamevertex(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %7 = icmp sgt i32 %6, 1
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 32
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !13
  br i1 %7, label %._crit_edge, label %8

8:                                                ; preds = %5
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2528), align 8, !tbaa !15
  %10 = icmp eq i32 %.pre, %9
  br i1 %10, label %._crit_edge, label %11

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %1, i64 32
  %13 = load i32, ptr %12, align 8, !tbaa !13
  %14 = icmp eq i32 %13, %9
  br i1 %14, label %._crit_edge, label %29

._crit_edge:                                      ; preds = %5, %11, %8
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %1, i64 32
  %17 = load i32, ptr %16, align 8, !tbaa !13
  %18 = tail call i32 @qh_setsize(ptr noundef %2) #2
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %22, label %19

19:                                               ; preds = %._crit_edge
  %20 = getelementptr inbounds i8, ptr %3, i64 108
  %21 = load i32, ptr %20, align 4, !tbaa !17
  br label %22

22:                                               ; preds = %._crit_edge, %19
  %23 = phi i32 [ %21, %19 ], [ -1, %._crit_edge ]
  %.not104 = icmp eq ptr %4, null
  br i1 %.not104, label %27, label %24

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %4, i64 108
  %26 = load i32, ptr %25, align 4, !tbaa !17
  br label %27

27:                                               ; preds = %22, %24
  %28 = phi i32 [ %26, %24 ], [ -1, %22 ]
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %15, i32 noundef 2086, ptr noundef nonnull @.str.212, i32 noundef %.pre, i32 noundef %17, i32 noundef %18, i32 noundef %23, i32 noundef %28) #2
  br label %29

29:                                               ; preds = %27, %11
  %.not108 = phi i1 [ false, %27 ], [ true, %11 ]
  %30 = phi i1 [ true, %27 ], [ false, %11 ]
  %.not105 = icmp eq ptr %2, null
  br i1 %.not105, label %.loopexit126, label %.preheader125

.preheader125:                                    ; preds = %29
  %.088127 = getelementptr inbounds i8, ptr %2, i64 8
  %31 = load ptr, ptr %.088127, align 8, !tbaa !19
  %.not106128 = icmp eq ptr %31, null
  br i1 %.not106128, label %.loopexit126, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader125
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = getelementptr inbounds i8, ptr %1, i64 32
  br label %34

34:                                               ; preds = %.lr.ph, %100
  %35 = phi ptr [ %31, %.lr.ph ], [ %101, %100 ]
  %.088129 = phi ptr [ %.088127, %.lr.ph ], [ %.088, %100 ]
  %36 = tail call i32 @qh_renameridgevertex(ptr noundef nonnull %35, ptr noundef %0, ptr noundef %1)
  %.not119 = icmp eq i32 %36, 0
  br i1 %.not119, label %100, label %37

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %35, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %40 = getelementptr inbounds i8, ptr %39, i64 64
  %41 = load ptr, ptr %40, align 8, !tbaa !22
  %42 = tail call i32 @qh_setsize(ptr noundef %41) #2
  %43 = getelementptr inbounds i8, ptr %35, i64 16
  %44 = load ptr, ptr %43, align 8, !tbaa !23
  %45 = getelementptr inbounds i8, ptr %44, i64 64
  %46 = load ptr, ptr %45, align 8, !tbaa !22
  %47 = tail call i32 @qh_setsize(ptr noundef %46) #2
  %48 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !24
  %49 = icmp slt i32 %42, %48
  br i1 %49, label %61, label %50

50:                                               ; preds = %37
  %51 = icmp eq i32 %42, %48
  br i1 %51, label %52, label %73

52:                                               ; preds = %50
  %53 = load ptr, ptr %38, align 8, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %53, i64 112
  %55 = load i32, ptr %54, align 8
  %56 = and i32 %55, 8192
  %.not120 = icmp eq i32 %56, 0
  br i1 %.not120, label %57, label %73

57:                                               ; preds = %52
  %58 = getelementptr inbounds i8, ptr %53, i64 64
  %59 = load ptr, ptr %58, align 8, !tbaa !22
  %60 = tail call i32 @qh_setin(ptr noundef %59, ptr noundef %1) #2
  %.not121 = icmp eq i32 %60, 0
  br i1 %.not121, label %._crit_edge138, label %61

._crit_edge138:                                   ; preds = %57
  %.pre139 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !24
  br label %73

61:                                               ; preds = %57, %37
  %62 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %63 = icmp sgt i32 %62, 3
  br i1 %63, label %64, label %100

64:                                               ; preds = %61
  %65 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %66 = getelementptr inbounds i8, ptr %35, i64 24
  %67 = load i32, ptr %66, align 8, !tbaa !25
  %68 = load ptr, ptr %38, align 8, !tbaa !20
  %69 = getelementptr inbounds i8, ptr %68, i64 108
  %70 = load i32, ptr %69, align 4, !tbaa !17
  %71 = load i32, ptr %32, align 8, !tbaa !13
  %72 = load i32, ptr %33, align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %65, i32 noundef 4070, ptr noundef nonnull @.str.213, i32 noundef %67, i32 noundef %70, i32 noundef %42, i32 noundef %71, i32 noundef %72) #2
  br label %100

73:                                               ; preds = %._crit_edge138, %52, %50
  %74 = phi i32 [ %.pre139, %._crit_edge138 ], [ %42, %52 ], [ %48, %50 ]
  %75 = icmp slt i32 %47, %74
  br i1 %75, label %87, label %76

76:                                               ; preds = %73
  %77 = icmp eq i32 %47, %74
  br i1 %77, label %78, label %99

78:                                               ; preds = %76
  %79 = load ptr, ptr %43, align 8, !tbaa !23
  %80 = getelementptr inbounds i8, ptr %79, i64 112
  %81 = load i32, ptr %80, align 8
  %82 = and i32 %81, 8192
  %.not122 = icmp eq i32 %82, 0
  br i1 %.not122, label %83, label %99

83:                                               ; preds = %78
  %84 = getelementptr inbounds i8, ptr %79, i64 64
  %85 = load ptr, ptr %84, align 8, !tbaa !22
  %86 = tail call i32 @qh_setin(ptr noundef %85, ptr noundef %1) #2
  %.not123 = icmp eq i32 %86, 0
  br i1 %.not123, label %99, label %87

87:                                               ; preds = %83, %73
  %88 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %89 = icmp sgt i32 %88, 3
  br i1 %89, label %90, label %100

90:                                               ; preds = %87
  %91 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %92 = getelementptr inbounds i8, ptr %35, i64 24
  %93 = load i32, ptr %92, align 8, !tbaa !25
  %94 = load ptr, ptr %43, align 8, !tbaa !23
  %95 = getelementptr inbounds i8, ptr %94, i64 108
  %96 = load i32, ptr %95, align 4, !tbaa !17
  %97 = load i32, ptr %32, align 8, !tbaa !13
  %98 = load i32, ptr %33, align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %91, i32 noundef 4071, ptr noundef nonnull @.str.214, i32 noundef %93, i32 noundef %96, i32 noundef %47, i32 noundef %97, i32 noundef %98) #2
  br label %100

99:                                               ; preds = %83, %78, %76
  tail call void @qh_maybe_duplicateridge(ptr noundef nonnull %35)
  br label %100

100:                                              ; preds = %64, %61, %87, %90, %99, %34
  %.088 = getelementptr inbounds i8, ptr %.088129, i64 8
  %101 = load ptr, ptr %.088, align 8, !tbaa !19
  %.not106 = icmp eq ptr %101, null
  br i1 %.not106, label %.loopexit126, label %34, !llvm.loop !26

.loopexit126:                                     ; preds = %100, %.preheader125, %29
  %.not107 = icmp eq ptr %3, null
  br i1 %.not107, label %102, label %154

102:                                              ; preds = %.loopexit126
  br i1 %.not108, label %109, label %103

103:                                              ; preds = %102
  %104 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %105 = getelementptr inbounds i8, ptr %0, i64 32
  %106 = load i32, ptr %105, align 8, !tbaa !13
  %107 = getelementptr inbounds i8, ptr %1, i64 32
  %108 = load i32, ptr %107, align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %104, i32 noundef 2087, ptr noundef nonnull @.str.215, i32 noundef %106, i32 noundef %108) #2
  br label %109

109:                                              ; preds = %103, %102
  %110 = getelementptr inbounds i8, ptr %0, i64 24
  %111 = load ptr, ptr %110, align 8, !tbaa !28
  %.not109 = icmp eq ptr %111, null
  br i1 %.not109, label %.loopexit, label %112

112:                                              ; preds = %109
  %113 = getelementptr inbounds i8, ptr %111, i64 8
  %114 = load ptr, ptr %113, align 8, !tbaa !19
  %.not110134 = icmp eq ptr %114, null
  br i1 %.not110134, label %.loopexit, label %.lr.ph136

.lr.ph136:                                        ; preds = %112
  %115 = getelementptr inbounds i8, ptr %111, i64 16
  %116 = getelementptr inbounds i8, ptr %0, i64 32
  br i1 %.not108, label %.lr.ph136.split.us, label %.lr.ph136.split

.lr.ph136.split.us:                               ; preds = %.lr.ph136, %128
  %117 = phi ptr [ %130, %128 ], [ %114, %.lr.ph136 ]
  %118 = phi ptr [ %129, %128 ], [ %115, %.lr.ph136 ]
  %.087135.us = phi ptr [ %.2.us, %128 ], [ %113, %.lr.ph136 ]
  %119 = getelementptr inbounds i8, ptr %117, i64 112
  %120 = load i32, ptr %119, align 8
  %121 = and i32 %120, 8192
  %.not112.us = icmp eq i32 %121, 0
  br i1 %.not112.us, label %123, label %122

122:                                              ; preds = %.lr.ph136.split.us
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %117)
  br label %128

123:                                              ; preds = %.lr.ph136.split.us
  tail call void @qh_maydropneighbor(ptr noundef nonnull %117)
  %124 = getelementptr inbounds i8, ptr %117, i64 64
  %125 = load ptr, ptr %124, align 8, !tbaa !22
  %126 = tail call ptr @qh_setdelsorted(ptr noundef %125, ptr noundef %0) #2
  %127 = tail call i32 @qh_remove_extravertices(ptr noundef nonnull %117)
  %.not113.us = icmp eq i32 %127, 0
  %spec.select.us = select i1 %.not113.us, ptr %118, ptr %.087135.us
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %117)
  tail call void @qh_test_redundant_neighbors(ptr noundef nonnull %117)
  tail call void @qh_test_degen_neighbors(ptr noundef nonnull %117)
  br label %128

128:                                              ; preds = %123, %122
  %.2.us = phi ptr [ %118, %122 ], [ %spec.select.us, %123 ]
  %129 = getelementptr inbounds i8, ptr %.2.us, i64 8
  %130 = load ptr, ptr %.2.us, align 8, !tbaa !19
  %.not110.us = icmp eq ptr %130, null
  br i1 %.not110.us, label %.loopexit, label %.lr.ph136.split.us, !llvm.loop !29

.lr.ph136.split:                                  ; preds = %.lr.ph136, %146
  %131 = phi ptr [ %148, %146 ], [ %114, %.lr.ph136 ]
  %132 = phi ptr [ %147, %146 ], [ %115, %.lr.ph136 ]
  %.087135 = phi ptr [ %.2, %146 ], [ %113, %.lr.ph136 ]
  %133 = getelementptr inbounds i8, ptr %131, i64 112
  %134 = load i32, ptr %133, align 8
  %135 = and i32 %134, 8192
  %.not112 = icmp eq i32 %135, 0
  br i1 %.not112, label %137, label %136

136:                                              ; preds = %.lr.ph136.split
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %131)
  br label %146

137:                                              ; preds = %.lr.ph136.split
  %138 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %139 = getelementptr inbounds i8, ptr %131, i64 108
  %140 = load i32, ptr %139, align 4, !tbaa !17
  %141 = load i32, ptr %116, align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %138, i32 noundef 4080, ptr noundef nonnull @.str.216, i32 noundef %140, i32 noundef %141) #2
  tail call void @qh_maydropneighbor(ptr noundef nonnull %131)
  %142 = getelementptr inbounds i8, ptr %131, i64 64
  %143 = load ptr, ptr %142, align 8, !tbaa !22
  %144 = tail call ptr @qh_setdelsorted(ptr noundef %143, ptr noundef %0) #2
  %145 = tail call i32 @qh_remove_extravertices(ptr noundef nonnull %131)
  %.not113 = icmp eq i32 %145, 0
  %spec.select = select i1 %.not113, ptr %132, ptr %.087135
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %131)
  tail call void @qh_test_redundant_neighbors(ptr noundef nonnull %131)
  tail call void @qh_test_degen_neighbors(ptr noundef nonnull %131)
  br label %146

146:                                              ; preds = %137, %136
  %.2 = phi ptr [ %132, %136 ], [ %spec.select, %137 ]
  %147 = getelementptr inbounds i8, ptr %.2, i64 8
  %148 = load ptr, ptr %.2, align 8, !tbaa !19
  %.not110 = icmp eq ptr %148, null
  br i1 %.not110, label %.loopexit, label %.lr.ph136.split, !llvm.loop !29

.loopexit:                                        ; preds = %146, %128, %112, %109
  %149 = getelementptr inbounds i8, ptr %0, i64 40
  %150 = load i8, ptr %149, align 8
  %151 = and i8 %150, 4
  %.not111 = icmp eq i8 %151, 0
  br i1 %.not111, label %152, label %204

152:                                              ; preds = %.loopexit
  %153 = or disjoint i8 %150, 4
  store i8 %153, ptr %149, align 8
  tail call void @qh_setappend(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 2840), ptr noundef nonnull %0) #2
  br label %204

154:                                              ; preds = %.loopexit126
  %155 = getelementptr inbounds i8, ptr %0, i64 24
  %156 = load ptr, ptr %155, align 8, !tbaa !28
  %157 = tail call i32 @qh_setsize(ptr noundef %156) #2
  %158 = icmp eq i32 %157, 2
  br i1 %158, label %159, label %181

159:                                              ; preds = %154
  %160 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1544), align 8, !tbaa !30
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1544), align 8, !tbaa !30
  br i1 %.not108, label %170, label %162

162:                                              ; preds = %159
  %163 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %164 = getelementptr inbounds i8, ptr %0, i64 32
  %165 = load i32, ptr %164, align 8, !tbaa !13
  %166 = getelementptr inbounds i8, ptr %1, i64 32
  %167 = load i32, ptr %166, align 8, !tbaa !13
  %168 = getelementptr inbounds i8, ptr %3, i64 108
  %169 = load i32, ptr %168, align 4, !tbaa !17
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %163, i32 noundef 3039, ptr noundef nonnull @.str.217, i32 noundef %165, i32 noundef %167, i32 noundef %169) #2
  br label %170

170:                                              ; preds = %162, %159
  %171 = load ptr, ptr %155, align 8, !tbaa !28
  %.not116 = icmp eq ptr %171, null
  br i1 %.not116, label %.loopexit124, label %.preheader

.preheader:                                       ; preds = %170
  %.3130 = getelementptr inbounds i8, ptr %171, i64 8
  %172 = load ptr, ptr %.3130, align 8, !tbaa !19
  %.not118131 = icmp eq ptr %172, null
  br i1 %.not118131, label %.loopexit124, label %.lr.ph133

.lr.ph133:                                        ; preds = %.preheader, %.lr.ph133
  %173 = phi ptr [ %177, %.lr.ph133 ], [ %172, %.preheader ]
  %.3132 = phi ptr [ %.3, %.lr.ph133 ], [ %.3130, %.preheader ]
  %174 = getelementptr inbounds i8, ptr %173, i64 64
  %175 = load ptr, ptr %174, align 8, !tbaa !22
  %176 = tail call ptr @qh_setdelsorted(ptr noundef %175, ptr noundef %0) #2
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %173)
  %.3 = getelementptr inbounds i8, ptr %.3132, i64 8
  %177 = load ptr, ptr %.3, align 8, !tbaa !19
  %.not118 = icmp eq ptr %177, null
  br i1 %.not118, label %.loopexit124, label %.lr.ph133, !llvm.loop !31

.loopexit124:                                     ; preds = %.lr.ph133, %.preheader, %170
  %178 = getelementptr inbounds i8, ptr %0, i64 40
  %179 = load i8, ptr %178, align 8
  %180 = or i8 %179, 4
  store i8 %180, ptr %178, align 8
  tail call void @qh_setappend(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 2840), ptr noundef %0) #2
  br label %204

181:                                              ; preds = %154
  %182 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1536), align 8, !tbaa !30
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1536), align 8, !tbaa !30
  %184 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8
  %185 = icmp sgt i32 %184, 0
  %or.cond = select i1 %30, i1 true, i1 %185
  br i1 %or.cond, label %186, label %196

186:                                              ; preds = %181
  %187 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %188 = getelementptr inbounds i8, ptr %0, i64 32
  %189 = load i32, ptr %188, align 8, !tbaa !13
  %190 = getelementptr inbounds i8, ptr %1, i64 32
  %191 = load i32, ptr %190, align 8, !tbaa !13
  %192 = getelementptr inbounds i8, ptr %3, i64 108
  %193 = load i32, ptr %192, align 4, !tbaa !17
  %194 = getelementptr inbounds i8, ptr %4, i64 108
  %195 = load i32, ptr %194, align 4, !tbaa !17
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %187, i32 noundef 3040, ptr noundef nonnull @.str.218, i32 noundef %189, i32 noundef %191, i32 noundef %193, i32 noundef %195) #2
  br label %196

196:                                              ; preds = %181, %186
  %197 = getelementptr inbounds i8, ptr %3, i64 64
  %198 = load ptr, ptr %197, align 8, !tbaa !22
  %199 = tail call ptr @qh_setdelsorted(ptr noundef %198, ptr noundef nonnull %0) #2
  %200 = load ptr, ptr %155, align 8, !tbaa !28
  %201 = tail call ptr @qh_setdel(ptr noundef %200, ptr noundef nonnull %3) #2
  %202 = tail call i32 @qh_remove_extravertices(ptr noundef %4)
  %.not114 = icmp eq i32 %202, 0
  br i1 %.not114, label %.thread, label %203

203:                                              ; preds = %196
  tail call void @qh_degen_redundant_facet(ptr noundef %4)
  br label %.thread

204:                                              ; preds = %.loopexit124, %.loopexit, %152
  br i1 %.not107, label %205, label %.thread

.thread:                                          ; preds = %196, %203, %204
  tail call void @qh_degen_redundant_facet(ptr noundef nonnull %3)
  br label %205

205:                                              ; preds = %.thread, %204
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @qh_renameridgevertex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #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 #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!14, !7, i64 32}
!14 = !{!"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}
!15 = !{!6, !7, i64 2528}
!16 = !{!6, !11, i64 2424}
!17 = !{!18, !7, i64 108}
!18 = !{!"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}
!19 = !{!11, !11, i64 0}
!20 = !{!21, !11, i64 8}
!21 = !{!"ridgeT", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28}
!22 = !{!18, !11, i64 64}
!23 = !{!21, !11, i64 16}
!24 = !{!6, !7, i64 632}
!25 = !{!21, !7, i64 24}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!14, !11, i64 24}
!29 = distinct !{!29, !27}
!30 = !{!8, !8, i64 0}
!31 = distinct !{!31, !27}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass