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

; 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, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%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 }

@.str.38 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [80 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, 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 ptr @qh_setdel(ptr noundef, ptr noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_update_vertexneighbors(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %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 i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  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 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.qhT, ptr %10, i32 0, i32 125
  %12 = load i32, ptr %11, align 8, !tbaa !11
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %351

14:                                               ; preds = %1
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.qhT, ptr %15, i32 0, i32 29
  %17 = load i32, ptr %16, align 8, !tbaa !17
  %18 = icmp sge i32 %17, 3
  br i1 %18, label %19, label %50

19:                                               ; preds = %14
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.qhT, ptr %21, i32 0, i32 158
  %23 = load ptr, ptr %22, align 8, !tbaa !18
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.qhT, ptr %24, i32 0, i32 177
  %26 = load ptr, ptr %25, align 8, !tbaa !19
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %34

28:                                               ; preds = %19
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.qhT, ptr %29, i32 0, i32 177
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = getelementptr inbounds %struct.vertexT, ptr %31, i32 0, i32 4
  %33 = load i32, ptr %32, align 8, !tbaa !20
  br label %35

34:                                               ; preds = %19
  br label %35

35:                                               ; preds = %34, %28
  %36 = phi i32 [ %33, %28 ], [ -1, %34 ]
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.qhT, ptr %37, i32 0, i32 166
  %39 = load ptr, ptr %38, align 8, !tbaa !22
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %47

41:                                               ; preds = %35
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.qhT, ptr %42, i32 0, i32 166
  %44 = load ptr, ptr %43, align 8, !tbaa !22
  %45 = getelementptr inbounds %struct.facetT, ptr %44, i32 0, i32 14
  %46 = load i32, ptr %45, align 4, !tbaa !23
  br label %48

47:                                               ; preds = %35
  br label %48

48:                                               ; preds = %47, %41
  %49 = phi i32 [ %46, %41 ], [ -1, %47 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %20, ptr noundef %23, i32 noundef 3013, ptr noundef @.str.38, i32 noundef %36, i32 noundef %49)
  br label %50

50:                                               ; preds = %48, %14
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.qhT, ptr %51, i32 0, i32 177
  %53 = load ptr, ptr %52, align 8, !tbaa !19
  store ptr %53, ptr %7, align 8, !tbaa !5
  br label %54

54:                                               ; preds = %122, %50
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %62

57:                                               ; preds = %54
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.vertexT, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !25
  %61 = icmp ne ptr %60, null
  br label %62

62:                                               ; preds = %57, %54
  %63 = phi i1 [ false, %54 ], [ %61, %57 ]
  br i1 %63, label %64, label %126

64:                                               ; preds = %62
  store i32 0, ptr %9, align 4, !tbaa !9
  store ptr null, ptr %4, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.vertexT, ptr %65, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !26
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %94

69:                                               ; preds = %64
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.vertexT, ptr %70, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = getelementptr inbounds %struct.setT, ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds [1 x %union.setelemT], ptr %73, i64 0, i64 0
  store ptr %74, ptr %5, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %92, %69
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds ptr, ptr %76, i32 1
  store ptr %77, ptr %5, align 8, !tbaa !5
  %78 = load ptr, ptr %76, align 8, !tbaa !5
  store ptr %78, ptr %4, align 8, !tbaa !5
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %93

80:                                               ; preds = %75
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.facetT, ptr %81, i32 0, i32 15
  %83 = load i32, ptr %82, align 8
  %84 = lshr i32 %83, 11
  %85 = and i32 %84, 1
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %92

87:                                               ; preds = %80
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %9, align 4, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds ptr, ptr %90, i64 -1
  store ptr null, ptr %91, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %87, %80
  br label %75, !llvm.loop !27

93:                                               ; preds = %75
  br label %94

94:                                               ; preds = %93, %64
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %121

97:                                               ; preds = %94
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.qhT, ptr %98, i32 0, i32 29
  %100 = load i32, ptr %99, align 8, !tbaa !17
  %101 = icmp sge i32 %100, 4
  br i1 %101, label %102, label %116

102:                                              ; preds = %97
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.qhT, ptr %104, i32 0, i32 158
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  %107 = load i32, ptr %9, align 4, !tbaa !9
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.vertexT, ptr %109, i32 0, i32 3
  %111 = load ptr, ptr %110, align 8, !tbaa !26
  %112 = call i32 @qh_setsize(ptr noundef %108, ptr noundef %111)
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.vertexT, ptr %113, i32 0, i32 4
  %115 = load i32, ptr %114, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %103, ptr noundef %106, i32 noundef 4046, ptr noundef @.str.39, i32 noundef %107, i32 noundef %112, i32 noundef %115)
  br label %116

116:                                              ; preds = %102, %97
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.vertexT, ptr %118, i32 0, i32 3
  %120 = load ptr, ptr %119, align 8, !tbaa !26
  call void @qh_setcompact(ptr noundef %117, ptr noundef %120)
  br label %121

121:                                              ; preds = %116, %94
  br label %122

122:                                              ; preds = %121
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.vertexT, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !25
  store ptr %125, ptr %7, align 8, !tbaa !5
  br label %54, !llvm.loop !29

126:                                              ; preds = %62
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.qhT, ptr %127, i32 0, i32 166
  %129 = load ptr, ptr %128, align 8, !tbaa !22
  store ptr %129, ptr %3, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %201, %126
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = icmp ne ptr %131, null
  br i1 %132, label %133, label %138

133:                                              ; preds = %130
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.facetT, ptr %134, i32 0, i32 7
  %136 = load ptr, ptr %135, align 8, !tbaa !30
  %137 = icmp ne ptr %136, null
  br label %138

138:                                              ; preds = %133, %130
  %139 = phi i1 [ false, %130 ], [ %137, %133 ]
  br i1 %139, label %140, label %205

140:                                              ; preds = %138
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.qhT, ptr %141, i32 0, i32 185
  %143 = load i32, ptr %142, align 4, !tbaa !31
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %176

145:                                              ; preds = %140
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.facetT, ptr %146, i32 0, i32 14
  %148 = load i32, ptr %147, align 4, !tbaa !23
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.qhT, ptr %149, i32 0, i32 185
  %151 = load i32, ptr %150, align 4, !tbaa !31
  %152 = icmp uge i32 %148, %151
  br i1 %152, label %153, label %176

153:                                              ; preds = %145
  store ptr null, ptr %7, align 8, !tbaa !5
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.facetT, ptr %154, i32 0, i32 8
  %156 = load ptr, ptr %155, align 8, !tbaa !32
  %157 = icmp ne ptr %156, null
  br i1 %157, label %158, label %175

158:                                              ; preds = %153
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.facetT, ptr %159, i32 0, i32 8
  %161 = load ptr, ptr %160, align 8, !tbaa !32
  %162 = getelementptr inbounds %struct.setT, ptr %161, i32 0, i32 1
  %163 = getelementptr inbounds [1 x %union.setelemT], ptr %162, i64 0, i64 0
  store ptr %163, ptr %8, align 8, !tbaa !5
  br label %164

164:                                              ; preds = %169, %158
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds ptr, ptr %165, i32 1
  store ptr %166, ptr %8, align 8, !tbaa !5
  %167 = load ptr, ptr %165, align 8, !tbaa !5
  store ptr %167, ptr %7, align 8, !tbaa !5
  %168 = icmp ne ptr %167, null
  br i1 %168, label %169, label %174

169:                                              ; preds = %164
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.vertexT, ptr %171, i32 0, i32 3
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %170, ptr noundef %172, ptr noundef %173)
  br label %164, !llvm.loop !33

174:                                              ; preds = %164
  br label %175

175:                                              ; preds = %174, %153
  br label %200

176:                                              ; preds = %145, %140
  store ptr null, ptr %7, align 8, !tbaa !5
  %177 = load ptr, ptr %3, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.facetT, ptr %177, i32 0, i32 8
  %179 = load ptr, ptr %178, align 8, !tbaa !32
  %180 = icmp ne ptr %179, null
  br i1 %180, label %181, label %199

181:                                              ; preds = %176
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.facetT, ptr %182, i32 0, i32 8
  %184 = load ptr, ptr %183, align 8, !tbaa !32
  %185 = getelementptr inbounds %struct.setT, ptr %184, i32 0, i32 1
  %186 = getelementptr inbounds [1 x %union.setelemT], ptr %185, i64 0, i64 0
  store ptr %186, ptr %8, align 8, !tbaa !5
  br label %187

187:                                              ; preds = %192, %181
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = getelementptr inbounds ptr, ptr %188, i32 1
  store ptr %189, ptr %8, align 8, !tbaa !5
  %190 = load ptr, ptr %188, align 8, !tbaa !5
  store ptr %190, ptr %7, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %198

192:                                              ; preds = %187
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.vertexT, ptr %194, i32 0, i32 3
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = call i32 @qh_setunique(ptr noundef %193, ptr noundef %195, ptr noundef %196)
  br label %187, !llvm.loop !34

198:                                              ; preds = %187
  br label %199

199:                                              ; preds = %198, %176
  br label %200

200:                                              ; preds = %199, %175
  br label %201

201:                                              ; preds = %200
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.facetT, ptr %202, i32 0, i32 7
  %204 = load ptr, ptr %203, align 8, !tbaa !30
  store ptr %204, ptr %3, align 8, !tbaa !5
  br label %130, !llvm.loop !35

205:                                              ; preds = %138
  %206 = load ptr, ptr %2, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.qhT, ptr %206, i32 0, i32 29
  %208 = load i32, ptr %207, align 8, !tbaa !17
  %209 = icmp sge i32 %208, 3
  br i1 %209, label %210, label %228

210:                                              ; preds = %205
  %211 = load ptr, ptr %2, align 8, !tbaa !5
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.qhT, ptr %212, i32 0, i32 158
  %214 = load ptr, ptr %213, align 8, !tbaa !18
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.qhT, ptr %215, i32 0, i32 167
  %217 = load ptr, ptr %216, align 8, !tbaa !36
  %218 = icmp ne ptr %217, null
  br i1 %218, label %219, label %225

219:                                              ; preds = %210
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.qhT, ptr %220, i32 0, i32 167
  %222 = load ptr, ptr %221, align 8, !tbaa !36
  %223 = getelementptr inbounds %struct.facetT, ptr %222, i32 0, i32 14
  %224 = load i32, ptr %223, align 4, !tbaa !23
  br label %226

225:                                              ; preds = %210
  br label %226

226:                                              ; preds = %225, %219
  %227 = phi i32 [ %224, %219 ], [ -1, %225 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %211, ptr noundef %214, i32 noundef 3058, ptr noundef @.str.40, i32 noundef %227)
  br label %228

228:                                              ; preds = %226, %205
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.qhT, ptr %229, i32 0, i32 167
  %231 = load ptr, ptr %230, align 8, !tbaa !36
  store ptr %231, ptr %6, align 8, !tbaa !5
  br label %232

232:                                              ; preds = %346, %228
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = icmp ne ptr %233, null
  br i1 %234, label %235, label %242

235:                                              ; preds = %232
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.facetT, ptr %236, i32 0, i32 15
  %238 = load i32, ptr %237, align 8
  %239 = lshr i32 %238, 11
  %240 = and i32 %239, 1
  %241 = icmp ne i32 %240, 0
  br label %242

242:                                              ; preds = %235, %232
  %243 = phi i1 [ false, %232 ], [ %241, %235 ]
  br i1 %243, label %244, label %350

244:                                              ; preds = %242
  store ptr null, ptr %7, align 8, !tbaa !5
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.facetT, ptr %245, i32 0, i32 8
  %247 = load ptr, ptr %246, align 8, !tbaa !32
  %248 = icmp ne ptr %247, null
  br i1 %248, label %249, label %345

249:                                              ; preds = %244
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.facetT, ptr %250, i32 0, i32 8
  %252 = load ptr, ptr %251, align 8, !tbaa !32
  %253 = getelementptr inbounds %struct.setT, ptr %252, i32 0, i32 1
  %254 = getelementptr inbounds [1 x %union.setelemT], ptr %253, i64 0, i64 0
  store ptr %254, ptr %8, align 8, !tbaa !5
  br label %255

255:                                              ; preds = %343, %249
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds ptr, ptr %256, i32 1
  store ptr %257, ptr %8, align 8, !tbaa !5
  %258 = load ptr, ptr %256, align 8, !tbaa !5
  store ptr %258, ptr %7, align 8, !tbaa !5
  %259 = icmp ne ptr %258, null
  br i1 %259, label %260, label %344

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

268:                                              ; preds = %260
  %269 = load ptr, ptr %7, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.vertexT, ptr %269, i32 0, i32 6
  %271 = load i8, ptr %270, align 8
  %272 = lshr i8 %271, 2
  %273 = and i8 %272, 1
  %274 = zext i8 %273 to i32
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %343, label %276

276:                                              ; preds = %268
  store ptr null, ptr %4, align 8, !tbaa !5
  %277 = load ptr, ptr %7, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.vertexT, ptr %277, i32 0, i32 3
  %279 = load ptr, ptr %278, align 8, !tbaa !26
  %280 = icmp ne ptr %279, null
  br i1 %280, label %281, label %302

281:                                              ; preds = %276
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.vertexT, ptr %282, i32 0, i32 3
  %284 = load ptr, ptr %283, align 8, !tbaa !26
  %285 = getelementptr inbounds %struct.setT, ptr %284, i32 0, i32 1
  %286 = getelementptr inbounds [1 x %union.setelemT], ptr %285, i64 0, i64 0
  store ptr %286, ptr %5, align 8, !tbaa !5
  br label %287

287:                                              ; preds = %300, %281
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds ptr, ptr %288, i32 1
  store ptr %289, ptr %5, align 8, !tbaa !5
  %290 = load ptr, ptr %288, align 8, !tbaa !5
  store ptr %290, ptr %4, align 8, !tbaa !5
  %291 = icmp ne ptr %290, null
  br i1 %291, label %292, label %301

292:                                              ; preds = %287
  %293 = load ptr, ptr %4, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.facetT, ptr %293, i32 0, i32 15
  %295 = load i32, ptr %294, align 8
  %296 = lshr i32 %295, 11
  %297 = and i32 %296, 1
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %300, label %299

299:                                              ; preds = %292
  br label %301

300:                                              ; preds = %292
  br label %287, !llvm.loop !37

301:                                              ; preds = %299, %287
  br label %302

302:                                              ; preds = %301, %276
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = icmp ne ptr %303, null
  br i1 %304, label %305, label %311

305:                                              ; preds = %302
  %306 = load ptr, ptr %7, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.vertexT, ptr %306, i32 0, i32 3
  %308 = load ptr, ptr %307, align 8, !tbaa !26
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = call ptr @qh_setdel(ptr noundef %308, ptr noundef %309)
  br label %342

311:                                              ; preds = %302
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.vertexT, ptr %312, i32 0, i32 6
  %314 = load i8, ptr %313, align 8
  %315 = and i8 %314, -5
  %316 = or i8 %315, 4
  store i8 %316, ptr %313, align 8
  %317 = load ptr, ptr %2, align 8, !tbaa !5
  %318 = load ptr, ptr %2, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.qhT, ptr %318, i32 0, i32 226
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %317, ptr noundef %319, ptr noundef %320)
  %321 = load ptr, ptr %2, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.qhT, ptr %321, i32 0, i32 29
  %323 = load i32, ptr %322, align 8, !tbaa !17
  %324 = icmp sge i32 %323, 2
  br i1 %324, label %325, label %341

325:                                              ; preds = %311
  %326 = load ptr, ptr %2, align 8, !tbaa !5
  %327 = load ptr, ptr %2, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.qhT, ptr %327, i32 0, i32 158
  %329 = load ptr, ptr %328, align 8, !tbaa !18
  %330 = load ptr, ptr %2, align 8, !tbaa !5
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.vertexT, ptr %331, i32 0, i32 2
  %333 = load ptr, ptr %332, align 8, !tbaa !38
  %334 = call i32 @qh_pointid(ptr noundef %330, ptr noundef %333)
  %335 = load ptr, ptr %7, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.vertexT, ptr %335, i32 0, i32 4
  %337 = load i32, ptr %336, align 8, !tbaa !20
  %338 = load ptr, ptr %6, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.facetT, ptr %338, i32 0, i32 14
  %340 = load i32, ptr %339, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %326, ptr noundef %329, i32 noundef 2041, ptr noundef @.str.41, i32 noundef %334, i32 noundef %337, i32 noundef %340)
  br label %341

341:                                              ; preds = %325, %311
  br label %342

342:                                              ; preds = %341, %305
  br label %343

343:                                              ; preds = %342, %268, %260
  br label %255, !llvm.loop !39

344:                                              ; preds = %255
  br label %345

345:                                              ; preds = %344, %244
  br label %346

346:                                              ; preds = %345
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.facetT, ptr %347, i32 0, i32 7
  %349 = load ptr, ptr %348, align 8, !tbaa !30
  store ptr %349, ptr %6, align 8, !tbaa !5
  br label %232, !llvm.loop !40

350:                                              ; preds = %242
  br label %461

351:                                              ; preds = %1
  %352 = load ptr, ptr %2, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.qhT, ptr %352, i32 0, i32 29
  %354 = load i32, ptr %353, align 8, !tbaa !17
  %355 = icmp sge i32 %354, 3
  br i1 %355, label %356, label %374

356:                                              ; preds = %351
  %357 = load ptr, ptr %2, align 8, !tbaa !5
  %358 = load ptr, ptr %2, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.qhT, ptr %358, i32 0, i32 158
  %360 = load ptr, ptr %359, align 8, !tbaa !18
  %361 = load ptr, ptr %2, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.qhT, ptr %361, i32 0, i32 167
  %363 = load ptr, ptr %362, align 8, !tbaa !36
  %364 = icmp ne ptr %363, null
  br i1 %364, label %365, label %371

365:                                              ; preds = %356
  %366 = load ptr, ptr %2, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.qhT, ptr %366, i32 0, i32 167
  %368 = load ptr, ptr %367, align 8, !tbaa !36
  %369 = getelementptr inbounds %struct.facetT, ptr %368, i32 0, i32 14
  %370 = load i32, ptr %369, align 4, !tbaa !23
  br label %372

371:                                              ; preds = %356
  br label %372

372:                                              ; preds = %371, %365
  %373 = phi i32 [ %370, %365 ], [ -1, %371 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %357, ptr noundef %360, i32 noundef 3058, ptr noundef @.str.42, i32 noundef %373)
  br label %374

374:                                              ; preds = %372, %351
  %375 = load ptr, ptr %2, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.qhT, ptr %375, i32 0, i32 167
  %377 = load ptr, ptr %376, align 8, !tbaa !36
  store ptr %377, ptr %6, align 8, !tbaa !5
  br label %378

378:                                              ; preds = %456, %374
  %379 = load ptr, ptr %6, align 8, !tbaa !5
  %380 = icmp ne ptr %379, null
  br i1 %380, label %381, label %388

381:                                              ; preds = %378
  %382 = load ptr, ptr %6, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.facetT, ptr %382, i32 0, i32 15
  %384 = load i32, ptr %383, align 8
  %385 = lshr i32 %384, 11
  %386 = and i32 %385, 1
  %387 = icmp ne i32 %386, 0
  br label %388

388:                                              ; preds = %381, %378
  %389 = phi i1 [ false, %378 ], [ %387, %381 ]
  br i1 %389, label %390, label %460

390:                                              ; preds = %388
  store ptr null, ptr %7, align 8, !tbaa !5
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.facetT, ptr %391, i32 0, i32 8
  %393 = load ptr, ptr %392, align 8, !tbaa !32
  %394 = icmp ne ptr %393, null
  br i1 %394, label %395, label %455

395:                                              ; preds = %390
  %396 = load ptr, ptr %6, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.facetT, ptr %396, i32 0, i32 8
  %398 = load ptr, ptr %397, align 8, !tbaa !32
  %399 = getelementptr inbounds %struct.setT, ptr %398, i32 0, i32 1
  %400 = getelementptr inbounds [1 x %union.setelemT], ptr %399, i64 0, i64 0
  store ptr %400, ptr %8, align 8, !tbaa !5
  br label %401

401:                                              ; preds = %453, %395
  %402 = load ptr, ptr %8, align 8, !tbaa !5
  %403 = getelementptr inbounds ptr, ptr %402, i32 1
  store ptr %403, ptr %8, align 8, !tbaa !5
  %404 = load ptr, ptr %402, align 8, !tbaa !5
  store ptr %404, ptr %7, align 8, !tbaa !5
  %405 = icmp ne ptr %404, null
  br i1 %405, label %406, label %454

406:                                              ; preds = %401
  %407 = load ptr, ptr %7, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.vertexT, ptr %407, i32 0, i32 6
  %409 = load i8, ptr %408, align 8
  %410 = lshr i8 %409, 4
  %411 = and i8 %410, 1
  %412 = zext i8 %411 to i32
  %413 = icmp ne i32 %412, 0
  br i1 %413, label %453, label %414

414:                                              ; preds = %406
  %415 = load ptr, ptr %7, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.vertexT, ptr %415, i32 0, i32 6
  %417 = load i8, ptr %416, align 8
  %418 = lshr i8 %417, 2
  %419 = and i8 %418, 1
  %420 = zext i8 %419 to i32
  %421 = icmp ne i32 %420, 0
  br i1 %421, label %453, label %422

422:                                              ; preds = %414
  %423 = load ptr, ptr %7, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.vertexT, ptr %423, i32 0, i32 6
  %425 = load i8, ptr %424, align 8
  %426 = and i8 %425, -5
  %427 = or i8 %426, 4
  store i8 %427, ptr %424, align 8
  %428 = load ptr, ptr %2, align 8, !tbaa !5
  %429 = load ptr, ptr %2, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.qhT, ptr %429, i32 0, i32 226
  %431 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %428, ptr noundef %430, ptr noundef %431)
  %432 = load ptr, ptr %2, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.qhT, ptr %432, i32 0, i32 29
  %434 = load i32, ptr %433, align 8, !tbaa !17
  %435 = icmp sge i32 %434, 2
  br i1 %435, label %436, label %452

436:                                              ; preds = %422
  %437 = load ptr, ptr %2, align 8, !tbaa !5
  %438 = load ptr, ptr %2, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.qhT, ptr %438, i32 0, i32 158
  %440 = load ptr, ptr %439, align 8, !tbaa !18
  %441 = load ptr, ptr %2, align 8, !tbaa !5
  %442 = load ptr, ptr %7, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.vertexT, ptr %442, i32 0, i32 2
  %444 = load ptr, ptr %443, align 8, !tbaa !38
  %445 = call i32 @qh_pointid(ptr noundef %441, ptr noundef %444)
  %446 = load ptr, ptr %7, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.vertexT, ptr %446, i32 0, i32 4
  %448 = load i32, ptr %447, align 8, !tbaa !20
  %449 = load ptr, ptr %6, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.facetT, ptr %449, i32 0, i32 14
  %451 = load i32, ptr %450, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %437, ptr noundef %440, i32 noundef 2042, ptr noundef @.str.43, i32 noundef %445, i32 noundef %448, i32 noundef %451)
  br label %452

452:                                              ; preds = %436, %422
  br label %453

453:                                              ; preds = %452, %414, %406
  br label %401, !llvm.loop !41

454:                                              ; preds = %401
  br label %455

455:                                              ; preds = %454, %390
  br label %456

456:                                              ; preds = %455
  %457 = load ptr, ptr %6, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.facetT, ptr %457, i32 0, i32 7
  %459 = load ptr, ptr %458, align 8, !tbaa !30
  store ptr %459, ptr %6, align 8, !tbaa !5
  br label %378, !llvm.loop !42

460:                                              ; preds = %388
  br label %461

461:                                              ; preds = %460, %350
  call void @llvm.lifetime.end.p0(i64 4, 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_setcompact(ptr noundef, ptr noundef) #1

declare i32 @qh_setunique(ptr noundef, ptr 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 = !{!"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 1720}
!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, !10, i64 2984, !10, i64 2988, !7, i64 2992, !7, i64 3192, !10, i64 3232, !13, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!16 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !13, i64 5336}
!17 = !{!12, !10, i64 136}
!18 = !{!12, !6, i64 2424}
!19 = !{!12, !6, i64 2560}
!20 = !{!21, !10, i64 32}
!21 = !{!"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}
!22 = !{!12, !6, i64 2480}
!23 = !{!24, !10, i64 108}
!24 = !{!"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}
!25 = !{!21, !6, i64 0}
!26 = !{!21, !6, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = !{!24, !6, i64 56}
!31 = !{!12, !10, i64 2596}
!32 = !{!24, !6, i64 64}
!33 = distinct !{!33, !28}
!34 = distinct !{!34, !28}
!35 = distinct !{!35, !28}
!36 = !{!12, !6, i64 2488}
!37 = distinct !{!37, !28}
!38 = !{!21, !6, i64 16}
!39 = distinct !{!39, !28}
!40 = distinct !{!40, !28}
!41 = distinct !{!41, !28}
!42 = distinct !{!42, !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"

@.str.38 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [80 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_update_vertexneighbors(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 1720
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  %4 = getelementptr inbounds i8, ptr %0, i64 136
  %5 = load i32, ptr %4, align 8, !tbaa !15
  %6 = icmp sgt i32 %5, 2
  br i1 %.not, label %130, label %7

7:                                                ; preds = %1
  br i1 %6, label %8, label %25

8:                                                ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 2424
  %10 = load ptr, ptr %9, align 8, !tbaa !16
  %11 = getelementptr inbounds i8, ptr %0, i64 2560
  %12 = load ptr, ptr %11, align 8, !tbaa !17
  %.not144 = icmp eq ptr %12, null
  br i1 %.not144, label %16, label %13

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %12, i64 32
  %15 = load i32, ptr %14, align 8, !tbaa !18
  br label %16

16:                                               ; preds = %8, %13
  %17 = phi i32 [ %15, %13 ], [ -1, %8 ]
  %18 = getelementptr inbounds i8, ptr %0, i64 2480
  %19 = load ptr, ptr %18, align 8, !tbaa !20
  %.not145 = icmp eq ptr %19, null
  br i1 %.not145, label %23, label %20

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

23:                                               ; preds = %16, %20
  %24 = phi i32 [ %22, %20 ], [ -1, %16 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %10, i32 noundef 3013, ptr noundef nonnull @.str.38, i32 noundef %17, i32 noundef %24) #2
  br label %25

25:                                               ; preds = %23, %7
  %26 = getelementptr inbounds i8, ptr %0, i64 2560
  %.0112195 = load ptr, ptr %26, align 8, !tbaa !23
  %.not146196 = icmp eq ptr %.0112195, null
  br i1 %.not146196, label %.critedge, label %.lr.ph199

.lr.ph199:                                        ; preds = %25
  %27 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %28

28:                                               ; preds = %.lr.ph199, %.thread
  %.0112197 = phi ptr [ %.0112195, %.lr.ph199 ], [ %.0112, %.thread ]
  %29 = load ptr, ptr %.0112197, align 8, !tbaa !24
  %.not147 = icmp eq ptr %29, null
  br i1 %.not147, label %.critedge, label %30

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %.0112197, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !25
  %.not171 = icmp eq ptr %32, null
  br i1 %.not171, label %.thread, label %.preheader190

.preheader190:                                    ; preds = %30
  %.0115191 = getelementptr inbounds i8, ptr %32, i64 8
  %33 = load ptr, ptr %.0115191, align 8, !tbaa !23
  %.not172192 = icmp eq ptr %33, null
  br i1 %.not172192, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader190, %40
  %34 = phi ptr [ %41, %40 ], [ %33, %.preheader190 ]
  %.0115194 = phi ptr [ %.0115, %40 ], [ %.0115191, %.preheader190 ]
  %.0193 = phi i32 [ %.1, %40 ], [ 0, %.preheader190 ]
  %35 = getelementptr inbounds i8, ptr %34, i64 112
  %36 = load i32, ptr %35, align 8
  %37 = and i32 %36, 2048
  %.not174 = icmp eq i32 %37, 0
  br i1 %.not174, label %40, label %38

38:                                               ; preds = %.lr.ph
  %39 = add nsw i32 %.0193, 1
  store ptr null, ptr %.0115194, align 8, !tbaa !23
  br label %40

40:                                               ; preds = %38, %.lr.ph
  %.1 = phi i32 [ %39, %38 ], [ %.0193, %.lr.ph ]
  %.0115 = getelementptr inbounds i8, ptr %.0115194, i64 8
  %41 = load ptr, ptr %.0115, align 8, !tbaa !23
  %.not172 = icmp eq ptr %41, null
  br i1 %.not172, label %._crit_edge, label %.lr.ph, !llvm.loop !26

._crit_edge:                                      ; preds = %40
  %.not173 = icmp eq i32 %.1, 0
  br i1 %.not173, label %.thread, label %42

42:                                               ; preds = %._crit_edge
  %43 = load i32, ptr %4, align 8, !tbaa !15
  %44 = icmp sgt i32 %43, 3
  %.pre238 = load ptr, ptr %31, align 8, !tbaa !25
  br i1 %44, label %45, label %50

45:                                               ; preds = %42
  %46 = load ptr, ptr %27, align 8, !tbaa !16
  %47 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %.pre238) #2
  %48 = getelementptr inbounds i8, ptr %.0112197, i64 32
  %49 = load i32, ptr %48, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %46, i32 noundef 4046, ptr noundef nonnull @.str.39, i32 noundef %.1, i32 noundef %47, i32 noundef %49) #2
  %.pre = load ptr, ptr %31, align 8, !tbaa !25
  br label %50

50:                                               ; preds = %45, %42
  %51 = phi ptr [ %.pre, %45 ], [ %.pre238, %42 ]
  tail call void @qh_setcompact(ptr noundef nonnull %0, ptr noundef %51) #2
  br label %.thread

.thread:                                          ; preds = %.preheader190, %30, %._crit_edge, %50
  %.0112 = load ptr, ptr %.0112197, align 8, !tbaa !23
  %.not146 = icmp eq ptr %.0112, null
  br i1 %.not146, label %.critedge, label %28, !llvm.loop !28

.critedge:                                        ; preds = %28, %.thread, %25
  %52 = getelementptr inbounds i8, ptr %0, i64 2480
  %.0118209 = load ptr, ptr %52, align 8, !tbaa !23
  %.not148210 = icmp eq ptr %.0118209, null
  br i1 %.not148210, label %.critedge2, label %.lr.ph212

.lr.ph212:                                        ; preds = %.critedge
  %53 = getelementptr inbounds i8, ptr %0, i64 2596
  br label %54

54:                                               ; preds = %.lr.ph212, %.loopexit187
  %.0118211 = phi ptr [ %.0118209, %.lr.ph212 ], [ %.0118, %.loopexit187 ]
  %55 = getelementptr inbounds i8, ptr %.0118211, i64 56
  %56 = load ptr, ptr %55, align 8, !tbaa !29
  %.not149 = icmp eq ptr %56, null
  br i1 %.not149, label %.critedge2, label %57

57:                                               ; preds = %54
  %58 = load i32, ptr %53, align 4, !tbaa !30
  %.not163 = icmp eq i32 %58, 0
  br i1 %.not163, label %69, label %59

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %.0118211, i64 108
  %61 = load i32, ptr %60, align 4, !tbaa !21
  %.not164 = icmp ult i32 %61, %58
  br i1 %.not164, label %69, label %62

62:                                               ; preds = %59
  %63 = getelementptr inbounds i8, ptr %.0118211, i64 64
  %64 = load ptr, ptr %63, align 8, !tbaa !31
  %.not168 = icmp eq ptr %64, null
  br i1 %.not168, label %.loopexit187, label %.preheader188

.preheader188:                                    ; preds = %62
  %.0109201 = getelementptr inbounds i8, ptr %64, i64 8
  %65 = load ptr, ptr %.0109201, align 8, !tbaa !23
  %.not170202 = icmp eq ptr %65, null
  br i1 %.not170202, label %.loopexit187, label %.lr.ph204

.lr.ph204:                                        ; preds = %.preheader188, %.lr.ph204
  %66 = phi ptr [ %68, %.lr.ph204 ], [ %65, %.preheader188 ]
  %.0109203 = phi ptr [ %.0109, %.lr.ph204 ], [ %.0109201, %.preheader188 ]
  %67 = getelementptr inbounds i8, ptr %66, i64 24
  tail call void @qh_setappend(ptr noundef %0, ptr noundef nonnull %67, ptr noundef nonnull %.0118211) #2
  %.0109 = getelementptr inbounds i8, ptr %.0109203, i64 8
  %68 = load ptr, ptr %.0109, align 8, !tbaa !23
  %.not170 = icmp eq ptr %68, null
  br i1 %.not170, label %.loopexit187, label %.lr.ph204, !llvm.loop !32

69:                                               ; preds = %59, %57
  %70 = getelementptr inbounds i8, ptr %.0118211, i64 64
  %71 = load ptr, ptr %70, align 8, !tbaa !31
  %.not165 = icmp eq ptr %71, null
  br i1 %.not165, label %.loopexit187, label %.preheader186

.preheader186:                                    ; preds = %69
  %.1110205 = getelementptr inbounds i8, ptr %71, i64 8
  %72 = load ptr, ptr %.1110205, align 8, !tbaa !23
  %.not167206 = icmp eq ptr %72, null
  br i1 %.not167206, label %.loopexit187, label %.lr.ph208

.lr.ph208:                                        ; preds = %.preheader186, %.lr.ph208
  %73 = phi ptr [ %76, %.lr.ph208 ], [ %72, %.preheader186 ]
  %.1110207 = phi ptr [ %.1110, %.lr.ph208 ], [ %.1110205, %.preheader186 ]
  %74 = getelementptr inbounds i8, ptr %73, i64 24
  %75 = tail call i32 @qh_setunique(ptr noundef %0, ptr noundef nonnull %74, ptr noundef nonnull %.0118211) #2
  %.1110 = getelementptr inbounds i8, ptr %.1110207, i64 8
  %76 = load ptr, ptr %.1110, align 8, !tbaa !23
  %.not167 = icmp eq ptr %76, null
  br i1 %.not167, label %.loopexit187, label %.lr.ph208, !llvm.loop !33

.loopexit187:                                     ; preds = %.lr.ph204, %.lr.ph208, %.preheader188, %.preheader186, %62, %69
  %.0118 = load ptr, ptr %55, align 8, !tbaa !23
  %.not148 = icmp eq ptr %.0118, null
  br i1 %.not148, label %.critedge2, label %54, !llvm.loop !34

.critedge2:                                       ; preds = %54, %.loopexit187, %.critedge
  %77 = load i32, ptr %4, align 8, !tbaa !15
  %78 = icmp sgt i32 %77, 2
  br i1 %78, label %79, label %89

79:                                               ; preds = %.critedge2
  %80 = getelementptr inbounds i8, ptr %0, i64 2424
  %81 = load ptr, ptr %80, align 8, !tbaa !16
  %82 = getelementptr inbounds i8, ptr %0, i64 2488
  %83 = load ptr, ptr %82, align 8, !tbaa !35
  %.not150 = icmp eq ptr %83, null
  br i1 %.not150, label %87, label %84

84:                                               ; preds = %79
  %85 = getelementptr inbounds i8, ptr %83, i64 108
  %86 = load i32, ptr %85, align 4, !tbaa !21
  br label %87

87:                                               ; preds = %79, %84
  %88 = phi i32 [ %86, %84 ], [ -1, %79 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %81, i32 noundef 3058, ptr noundef nonnull @.str.40, i32 noundef %88) #2
  br label %89

89:                                               ; preds = %87, %.critedge2
  %90 = getelementptr inbounds i8, ptr %0, i64 2488
  %.0113218 = load ptr, ptr %90, align 8, !tbaa !23
  %.not151219 = icmp eq ptr %.0113218, null
  br i1 %.not151219, label %.critedge4, label %.lr.ph223

.lr.ph223:                                        ; preds = %89
  %91 = getelementptr inbounds i8, ptr %0, i64 2840
  %92 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %93

93:                                               ; preds = %.lr.ph223, %.loopexit184
  %.0113220 = phi ptr [ %.0113218, %.lr.ph223 ], [ %.0113, %.loopexit184 ]
  %94 = getelementptr inbounds i8, ptr %.0113220, i64 112
  %95 = load i32, ptr %94, align 8
  %96 = and i32 %95, 2048
  %.not152 = icmp eq i32 %96, 0
  br i1 %.not152, label %.critedge4, label %97

97:                                               ; preds = %93
  %98 = getelementptr inbounds i8, ptr %.0113220, i64 64
  %99 = load ptr, ptr %98, align 8, !tbaa !31
  %.not153 = icmp eq ptr %99, null
  br i1 %.not153, label %.loopexit184, label %.preheader183

.preheader183:                                    ; preds = %97
  %.2111214 = getelementptr inbounds i8, ptr %99, i64 8
  %100 = load ptr, ptr %.2111214, align 8, !tbaa !23
  %.not155215 = icmp eq ptr %100, null
  br i1 %.not155215, label %.loopexit184, label %.lr.ph217

.lr.ph217:                                        ; preds = %.preheader183
  %101 = getelementptr inbounds i8, ptr %.0113220, i64 108
  br label %102

102:                                              ; preds = %.lr.ph217, %127
  %103 = phi ptr [ %100, %.lr.ph217 ], [ %128, %127 ]
  %.2111216 = phi ptr [ %.2111214, %.lr.ph217 ], [ %.2111, %127 ]
  %104 = getelementptr inbounds i8, ptr %103, i64 40
  %105 = load i8, ptr %104, align 8
  %106 = and i8 %105, 20
  %or.cond = icmp eq i8 %106, 0
  br i1 %or.cond, label %107, label %127

107:                                              ; preds = %102
  %108 = getelementptr inbounds i8, ptr %103, i64 24
  %109 = load ptr, ptr %108, align 8, !tbaa !25
  %.not158 = icmp eq ptr %109, null
  br i1 %.not158, label %.loopexit182, label %.preheader181

.preheader181:                                    ; preds = %107, %111
  %.pn159 = phi ptr [ %.1116, %111 ], [ %109, %107 ]
  %.1116 = getelementptr inbounds i8, ptr %.pn159, i64 8
  %110 = load ptr, ptr %.1116, align 8, !tbaa !23
  %.not160 = icmp eq ptr %110, null
  br i1 %.not160, label %.loopexit182, label %111

111:                                              ; preds = %.preheader181
  %112 = getelementptr inbounds i8, ptr %110, i64 112
  %113 = load i32, ptr %112, align 8
  %114 = and i32 %113, 2048
  %.not161 = icmp eq i32 %114, 0
  br i1 %.not161, label %.critedge177, label %.preheader181, !llvm.loop !36

.critedge177:                                     ; preds = %111
  %115 = tail call ptr @qh_setdel(ptr noundef nonnull %109, ptr noundef nonnull %.0113220) #2
  br label %127

.loopexit182:                                     ; preds = %.preheader181, %107
  %116 = or disjoint i8 %105, 4
  store i8 %116, ptr %104, align 8
  tail call void @qh_setappend(ptr noundef %0, ptr noundef nonnull %91, ptr noundef nonnull %103) #2
  %117 = load i32, ptr %4, align 8, !tbaa !15
  %118 = icmp sgt i32 %117, 1
  br i1 %118, label %119, label %127

119:                                              ; preds = %.loopexit182
  %120 = load ptr, ptr %92, align 8, !tbaa !16
  %121 = getelementptr inbounds i8, ptr %103, i64 16
  %122 = load ptr, ptr %121, align 8, !tbaa !37
  %123 = tail call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %122)
  %124 = getelementptr inbounds i8, ptr %103, i64 32
  %125 = load i32, ptr %124, align 8, !tbaa !18
  %126 = load i32, ptr %101, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %120, i32 noundef 2041, ptr noundef nonnull @.str.41, i32 noundef %123, i32 noundef %125, i32 noundef %126) #2
  br label %127

127:                                              ; preds = %.critedge177, %119, %.loopexit182, %102
  %.2111 = getelementptr inbounds i8, ptr %.2111216, i64 8
  %128 = load ptr, ptr %.2111, align 8, !tbaa !23
  %.not155 = icmp eq ptr %128, null
  br i1 %.not155, label %.loopexit184, label %102, !llvm.loop !38

.loopexit184:                                     ; preds = %127, %.preheader183, %97
  %129 = getelementptr inbounds i8, ptr %.0113220, i64 56
  %.0113 = load ptr, ptr %129, align 8, !tbaa !23
  %.not151 = icmp eq ptr %.0113, null
  br i1 %.not151, label %.critedge4, label %93, !llvm.loop !39

130:                                              ; preds = %1
  br i1 %6, label %131, label %141

131:                                              ; preds = %130
  %132 = getelementptr inbounds i8, ptr %0, i64 2424
  %133 = load ptr, ptr %132, align 8, !tbaa !16
  %134 = getelementptr inbounds i8, ptr %0, i64 2488
  %135 = load ptr, ptr %134, align 8, !tbaa !35
  %.not137 = icmp eq ptr %135, null
  br i1 %.not137, label %139, label %136

136:                                              ; preds = %131
  %137 = getelementptr inbounds i8, ptr %135, i64 108
  %138 = load i32, ptr %137, align 4, !tbaa !21
  br label %139

139:                                              ; preds = %131, %136
  %140 = phi i32 [ %138, %136 ], [ -1, %131 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %133, i32 noundef 3058, ptr noundef nonnull @.str.42, i32 noundef %140) #2
  br label %141

141:                                              ; preds = %139, %130
  %142 = getelementptr inbounds i8, ptr %0, i64 2488
  %.1114229 = load ptr, ptr %142, align 8, !tbaa !23
  %.not138230 = icmp eq ptr %.1114229, null
  br i1 %.not138230, label %.critedge4, label %.lr.ph234

.lr.ph234:                                        ; preds = %141
  %143 = getelementptr inbounds i8, ptr %0, i64 2840
  %144 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %145

145:                                              ; preds = %.lr.ph234, %.loopexit
  %.1114231 = phi ptr [ %.1114229, %.lr.ph234 ], [ %.1114, %.loopexit ]
  %146 = getelementptr inbounds i8, ptr %.1114231, i64 112
  %147 = load i32, ptr %146, align 8
  %148 = and i32 %147, 2048
  %.not139 = icmp eq i32 %148, 0
  br i1 %.not139, label %.critedge4, label %149

149:                                              ; preds = %145
  %150 = getelementptr inbounds i8, ptr %.1114231, i64 64
  %151 = load ptr, ptr %150, align 8, !tbaa !31
  %.not140 = icmp eq ptr %151, null
  br i1 %.not140, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %149
  %.3225 = getelementptr inbounds i8, ptr %151, i64 8
  %152 = load ptr, ptr %.3225, align 8, !tbaa !23
  %.not141226 = icmp eq ptr %152, null
  br i1 %.not141226, label %.loopexit, label %.lr.ph228

.lr.ph228:                                        ; preds = %.preheader
  %153 = getelementptr inbounds i8, ptr %.1114231, i64 108
  br label %154

154:                                              ; preds = %.lr.ph228, %171
  %155 = phi ptr [ %152, %.lr.ph228 ], [ %172, %171 ]
  %.3227 = phi ptr [ %.3225, %.lr.ph228 ], [ %.3, %171 ]
  %156 = getelementptr inbounds i8, ptr %155, i64 40
  %157 = load i8, ptr %156, align 8
  %158 = and i8 %157, 20
  %or.cond178 = icmp eq i8 %158, 0
  br i1 %or.cond178, label %159, label %171

159:                                              ; preds = %154
  %160 = or disjoint i8 %157, 4
  store i8 %160, ptr %156, align 8
  tail call void @qh_setappend(ptr noundef %0, ptr noundef nonnull %143, ptr noundef nonnull %155) #2
  %161 = load i32, ptr %4, align 8, !tbaa !15
  %162 = icmp sgt i32 %161, 1
  br i1 %162, label %163, label %171

163:                                              ; preds = %159
  %164 = load ptr, ptr %144, align 8, !tbaa !16
  %165 = getelementptr inbounds i8, ptr %155, i64 16
  %166 = load ptr, ptr %165, align 8, !tbaa !37
  %167 = tail call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %166)
  %168 = getelementptr inbounds i8, ptr %155, i64 32
  %169 = load i32, ptr %168, align 8, !tbaa !18
  %170 = load i32, ptr %153, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %164, i32 noundef 2042, ptr noundef nonnull @.str.43, i32 noundef %167, i32 noundef %169, i32 noundef %170) #2
  br label %171

171:                                              ; preds = %159, %163, %154
  %.3 = getelementptr inbounds i8, ptr %.3227, i64 8
  %172 = load ptr, ptr %.3, align 8, !tbaa !23
  %.not141 = icmp eq ptr %172, null
  br i1 %.not141, label %.loopexit, label %154, !llvm.loop !40

.loopexit:                                        ; preds = %171, %.preheader, %149
  %173 = getelementptr inbounds i8, ptr %.1114231, i64 56
  %.1114 = load ptr, ptr %173, align 8, !tbaa !23
  %.not138 = icmp eq ptr %.1114, null
  br i1 %.not138, label %.critedge4, label %145, !llvm.loop !41

.critedge4:                                       ; preds = %.loopexit184, %93, %.loopexit, %145, %89, %141
  ret void
}

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

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

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 1720}
!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, !7, i64 2984, !7, i64 2988, !8, i64 2992, !8, i64 3192, !7, i64 3232, !10, i64 3240, !11, i64 3248, !11, i64 3256, !11, i64 3264, !13, i64 3272, !14, i64 3424}
!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 = !{!"qhmemT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144}
!14 = !{!"qhstatT", !8, i64 0, !8, i64 1992, !8, i64 2256, !8, i64 4248, !8, i64 4746, !8, i64 4995, !8, i64 5248, !7, i64 5320, !7, i64 5324, !7, i64 5328, !7, i64 5332, !10, i64 5336}
!15 = !{!6, !7, i64 136}
!16 = !{!6, !11, i64 2424}
!17 = !{!6, !11, i64 2560}
!18 = !{!19, !7, i64 32}
!19 = !{!"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}
!20 = !{!6, !11, i64 2480}
!21 = !{!22, !7, i64 108}
!22 = !{!"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}
!23 = !{!11, !11, i64 0}
!24 = !{!19, !11, i64 0}
!25 = !{!19, !11, i64 24}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!22, !11, i64 56}
!30 = !{!6, !7, i64 2596}
!31 = !{!22, !11, i64 64}
!32 = distinct !{!32, !27}
!33 = distinct !{!33, !27}
!34 = distinct !{!34, !27}
!35 = !{!6, !11, i64 2488}
!36 = distinct !{!36, !27}
!37 = !{!19, !11, i64 16}
!38 = distinct !{!38, !27}
!39 = distinct !{!39, !27}
!40 = distinct !{!40, !27}
!41 = distinct !{!41, !27}


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