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

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

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

@qh_qh = external global %struct.qhT, align 8
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [6 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 i32 @qh_setsize(ptr noundef) #1

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

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

declare ptr @qh_settemp(i32 noundef) #1

declare void @qh_settempfree(ptr noundef) #1

declare void @qh_vertexneighbors() #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvneighbors(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %30 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 112), align 8, !tbaa !11
  %31 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 225), align 8, !tbaa !15
  %32 = call i32 @qh_setsize(ptr noundef %31)
  %33 = add nsw i32 %30, %32
  store i32 %33, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i32, ptr %8, align 4, !tbaa !9
  call void @qh_countfacets(ptr noundef %34, ptr noundef %35, i32 noundef %36, ptr noundef %9, ptr noundef %10, ptr noundef %12, ptr noundef %11, ptr noundef %14, ptr noundef %15)
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %19, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %37, i32 noundef 9248, ptr noundef @.str.22, i32 noundef %38)
  call void @qh_vertexneighbors()
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = call ptr @qh_facetvertices(ptr noundef %39, ptr noundef %40, i32 noundef %41)
  store ptr %42, ptr %16, align 8, !tbaa !5
  %43 = load i32, ptr %19, align 4, !tbaa !9
  %44 = call ptr @qh_settemp(i32 noundef %43)
  store ptr %44, ptr %17, align 8, !tbaa !5
  %45 = load i32, ptr %19, align 4, !tbaa !9
  %46 = call ptr @qh_settemp(i32 noundef %45)
  store ptr %46, ptr %18, align 8, !tbaa !5
  %47 = load ptr, ptr %17, align 8, !tbaa !5
  %48 = load i32, ptr %19, align 4, !tbaa !9
  call void @qh_setzero(ptr noundef %47, i32 noundef 0, i32 noundef %48)
  %49 = load ptr, ptr %18, align 8, !tbaa !5
  %50 = load i32, ptr %19, align 4, !tbaa !9
  call void @qh_setzero(ptr noundef %49, i32 noundef 0, i32 noundef %50)
  store ptr null, ptr %20, align 8, !tbaa !5
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %69

53:                                               ; preds = %4
  %54 = load ptr, ptr %16, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.setT, ptr %54, i32 0, i32 1
  %56 = getelementptr inbounds [1 x %union.setelemT], ptr %55, i64 0, i64 0
  store ptr %56, ptr %21, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %62, %53
  %58 = load ptr, ptr %21, align 8, !tbaa !5
  %59 = getelementptr inbounds ptr, ptr %58, i32 1
  store ptr %59, ptr %21, align 8, !tbaa !5
  %60 = load ptr, ptr %58, align 8, !tbaa !5
  store ptr %60, ptr %20, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %68

62:                                               ; preds = %57
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = load ptr, ptr %20, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.vertexT, ptr %64, i32 0, i32 2
  %66 = load ptr, ptr %65, align 8, !tbaa !16
  %67 = load ptr, ptr %20, align 8, !tbaa !5
  call void @qh_point_add(ptr noundef %63, ptr noundef %66, ptr noundef %67)
  br label %57, !llvm.loop !18

68:                                               ; preds = %57
  br label %69

69:                                               ; preds = %68, %4
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %111

72:                                               ; preds = %69
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %73, ptr %24, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %106, %72
  %75 = load ptr, ptr %24, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %82

77:                                               ; preds = %74
  %78 = load ptr, ptr %24, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.facetT, ptr %78, i32 0, i32 7
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = icmp ne ptr %80, null
  br label %82

82:                                               ; preds = %77, %74
  %83 = phi i1 [ false, %74 ], [ %81, %77 ]
  br i1 %83, label %84, label %110

84:                                               ; preds = %82
  store ptr null, ptr %28, align 8, !tbaa !5
  %85 = load ptr, ptr %24, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.facetT, ptr %85, i32 0, i32 12
  %87 = load ptr, ptr %86, align 8, !tbaa !22
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %105

89:                                               ; preds = %84
  %90 = load ptr, ptr %24, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.facetT, ptr %90, i32 0, i32 12
  %92 = load ptr, ptr %91, align 8, !tbaa !22
  %93 = getelementptr inbounds %struct.setT, ptr %92, i32 0, i32 1
  %94 = getelementptr inbounds [1 x %union.setelemT], ptr %93, i64 0, i64 0
  store ptr %94, ptr %29, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %100, %89
  %96 = load ptr, ptr %29, align 8, !tbaa !5
  %97 = getelementptr inbounds ptr, ptr %96, i32 1
  store ptr %97, ptr %29, align 8, !tbaa !5
  %98 = load ptr, ptr %96, align 8, !tbaa !5
  store ptr %98, ptr %28, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %104

100:                                              ; preds = %95
  %101 = load ptr, ptr %18, align 8, !tbaa !5
  %102 = load ptr, ptr %28, align 8, !tbaa !5
  %103 = load ptr, ptr %24, align 8, !tbaa !5
  call void @qh_point_add(ptr noundef %101, ptr noundef %102, ptr noundef %103)
  br label %95, !llvm.loop !23

104:                                              ; preds = %95
  br label %105

105:                                              ; preds = %104, %84
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %24, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.facetT, ptr %107, i32 0, i32 7
  %109 = load ptr, ptr %108, align 8, !tbaa !20
  store ptr %109, ptr %24, align 8, !tbaa !5
  br label %74, !llvm.loop !24

110:                                              ; preds = %82
  br label %111

111:                                              ; preds = %110, %69
  store ptr null, ptr %24, align 8, !tbaa !5
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %146

114:                                              ; preds = %111
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.setT, ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds [1 x %union.setelemT], ptr %116, i64 0, i64 0
  store ptr %117, ptr %25, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %144, %114
  %119 = load ptr, ptr %25, align 8, !tbaa !5
  %120 = getelementptr inbounds ptr, ptr %119, i32 1
  store ptr %120, ptr %25, align 8, !tbaa !5
  %121 = load ptr, ptr %119, align 8, !tbaa !5
  store ptr %121, ptr %24, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %145

123:                                              ; preds = %118
  store ptr null, ptr %28, align 8, !tbaa !5
  %124 = load ptr, ptr %24, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.facetT, ptr %124, i32 0, i32 12
  %126 = load ptr, ptr %125, align 8, !tbaa !22
  %127 = icmp ne ptr %126, null
  br i1 %127, label %128, label %144

128:                                              ; preds = %123
  %129 = load ptr, ptr %24, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.facetT, ptr %129, i32 0, i32 12
  %131 = load ptr, ptr %130, align 8, !tbaa !22
  %132 = getelementptr inbounds %struct.setT, ptr %131, i32 0, i32 1
  %133 = getelementptr inbounds [1 x %union.setelemT], ptr %132, i64 0, i64 0
  store ptr %133, ptr %29, align 8, !tbaa !5
  br label %134

134:                                              ; preds = %139, %128
  %135 = load ptr, ptr %29, align 8, !tbaa !5
  %136 = getelementptr inbounds ptr, ptr %135, i32 1
  store ptr %136, ptr %29, align 8, !tbaa !5
  %137 = load ptr, ptr %135, align 8, !tbaa !5
  store ptr %137, ptr %28, align 8, !tbaa !5
  %138 = icmp ne ptr %137, null
  br i1 %138, label %139, label %143

139:                                              ; preds = %134
  %140 = load ptr, ptr %18, align 8, !tbaa !5
  %141 = load ptr, ptr %28, align 8, !tbaa !5
  %142 = load ptr, ptr %24, align 8, !tbaa !5
  call void @qh_point_add(ptr noundef %140, ptr noundef %141, ptr noundef %142)
  br label %134, !llvm.loop !25

143:                                              ; preds = %134
  br label %144

144:                                              ; preds = %143, %123
  br label %118, !llvm.loop !26

145:                                              ; preds = %118
  br label %146

146:                                              ; preds = %145, %111
  store ptr null, ptr %20, align 8, !tbaa !5
  %147 = load ptr, ptr %17, align 8, !tbaa !5
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %246

149:                                              ; preds = %146
  store i32 0, ptr %22, align 4, !tbaa !9
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.setT, ptr %150, i32 0, i32 1
  %152 = getelementptr inbounds [1 x %union.setelemT], ptr %151, i64 0, i64 0
  %153 = load ptr, ptr %152, align 8, !tbaa !27
  store ptr %153, ptr %20, align 8, !tbaa !5
  %154 = load ptr, ptr %17, align 8, !tbaa !5
  %155 = call i32 @qh_setsize(ptr noundef %154)
  store i32 %155, ptr %23, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %237, %149
  %157 = load i32, ptr %22, align 4, !tbaa !9
  %158 = load i32, ptr %23, align 4, !tbaa !9
  %159 = icmp slt i32 %157, %158
  br i1 %159, label %160, label %245

160:                                              ; preds = %156
  %161 = load ptr, ptr %20, align 8, !tbaa !5
  %162 = icmp ne ptr %161, null
  br i1 %162, label %163, label %207

163:                                              ; preds = %160
  %164 = load ptr, ptr %20, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.vertexT, ptr %164, i32 0, i32 3
  %166 = load ptr, ptr %165, align 8, !tbaa !28
  %167 = call i32 @qh_setsize(ptr noundef %166)
  store i32 %167, ptr %13, align 4, !tbaa !9
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load i32, ptr %13, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %168, i32 noundef 9249, ptr noundef @.str.20, i32 noundef %169)
  %170 = load ptr, ptr %20, align 8, !tbaa !5
  call void @qh_order_vertexneighbors(ptr noundef %170)
  store ptr null, ptr %26, align 8, !tbaa !5
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.vertexT, ptr %171, i32 0, i32 3
  %173 = load ptr, ptr %172, align 8, !tbaa !28
  %174 = icmp ne ptr %173, null
  br i1 %174, label %175, label %205

175:                                              ; preds = %163
  %176 = load ptr, ptr %20, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.vertexT, ptr %176, i32 0, i32 3
  %178 = load ptr, ptr %177, align 8, !tbaa !28
  %179 = getelementptr inbounds %struct.setT, ptr %178, i32 0, i32 1
  %180 = getelementptr inbounds [1 x %union.setelemT], ptr %179, i64 0, i64 0
  store ptr %180, ptr %27, align 8, !tbaa !5
  br label %181

181:                                              ; preds = %202, %175
  %182 = load ptr, ptr %27, align 8, !tbaa !5
  %183 = getelementptr inbounds ptr, ptr %182, i32 1
  store ptr %183, ptr %27, align 8, !tbaa !5
  %184 = load ptr, ptr %182, align 8, !tbaa !5
  store ptr %184, ptr %26, align 8, !tbaa !5
  %185 = icmp ne ptr %184, null
  br i1 %185, label %186, label %204

186:                                              ; preds = %181
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = load ptr, ptr %26, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.facetT, ptr %188, i32 0, i32 13
  %190 = load i32, ptr %189, align 8, !tbaa !29
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %197

192:                                              ; preds = %186
  %193 = load ptr, ptr %26, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.facetT, ptr %193, i32 0, i32 13
  %195 = load i32, ptr %194, align 8, !tbaa !29
  %196 = sub i32 %195, 1
  br label %202

197:                                              ; preds = %186
  %198 = load ptr, ptr %26, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.facetT, ptr %198, i32 0, i32 14
  %200 = load i32, ptr %199, align 4, !tbaa !30
  %201 = sub i32 0, %200
  br label %202

202:                                              ; preds = %197, %192
  %203 = phi i32 [ %196, %192 ], [ %201, %197 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %187, i32 noundef 9250, ptr noundef @.str.21, i32 noundef %203)
  br label %181, !llvm.loop !31

204:                                              ; preds = %181
  br label %205

205:                                              ; preds = %204, %163
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %206, i32 noundef 9251, ptr noundef @.str.18)
  br label %236

207:                                              ; preds = %160
  %208 = load ptr, ptr %18, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.setT, ptr %208, i32 0, i32 1
  %210 = load i32, ptr %22, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [1 x %union.setelemT], ptr %209, i64 0, i64 %211
  %213 = load ptr, ptr %212, align 8, !tbaa !27
  store ptr %213, ptr %24, align 8, !tbaa !5
  %214 = icmp ne ptr %213, null
  br i1 %214, label %215, label %233

215:                                              ; preds = %207
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = load ptr, ptr %24, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.facetT, ptr %217, i32 0, i32 13
  %219 = load i32, ptr %218, align 8, !tbaa !29
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %226

221:                                              ; preds = %215
  %222 = load ptr, ptr %24, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.facetT, ptr %222, i32 0, i32 13
  %224 = load i32, ptr %223, align 8, !tbaa !29
  %225 = sub i32 %224, 1
  br label %231

226:                                              ; preds = %215
  %227 = load ptr, ptr %24, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.facetT, ptr %227, i32 0, i32 14
  %229 = load i32, ptr %228, align 4, !tbaa !30
  %230 = sub i32 0, %229
  br label %231

231:                                              ; preds = %226, %221
  %232 = phi i32 [ %225, %221 ], [ %230, %226 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %216, i32 noundef 9252, ptr noundef @.str.191, i32 noundef %232)
  br label %235

233:                                              ; preds = %207
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %234, i32 noundef 9253, ptr noundef @.str.19)
  br label %235

235:                                              ; preds = %233, %231
  br label %236

236:                                              ; preds = %235, %205
  br label %237

237:                                              ; preds = %236
  %238 = load ptr, ptr %17, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.setT, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %22, align 4, !tbaa !9
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %22, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [1 x %union.setelemT], ptr %239, i64 0, i64 %242
  %244 = load ptr, ptr %243, align 8, !tbaa !27
  store ptr %244, ptr %20, align 8, !tbaa !5
  br label %156, !llvm.loop !32

245:                                              ; preds = %156
  br label %246

246:                                              ; preds = %245, %146
  call void @qh_settempfree(ptr noundef %18)
  call void @qh_settempfree(ptr noundef %17)
  call void @qh_settempfree(ptr noundef %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret void
}

declare void @qh_point_add(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 640}
!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 = !{!12, !6, i64 2832}
!16 = !{!17, !6, i64 16}
!17 = !{!"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}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !6, i64 56}
!21 = !{!"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}
!22 = !{!21, !6, i64 96}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = !{!7, !7, i64 0}
!28 = !{!17, !6, i64 24}
!29 = !{!21, !10, i64 104}
!30 = !{!21, !10, i64 108}
!31 = distinct !{!31, !19}
!32 = distinct !{!32, !19}


; 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] }
%union.setelemT = type { ptr }

@qh_qh = external local_unnamed_addr global %struct.qhT, align 8
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [6 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef) local_unnamed_addr #1

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

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

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

declare ptr @qh_settemp(i32 noundef) local_unnamed_addr #1

declare void @qh_settempfree(ptr noundef) local_unnamed_addr #1

declare void @qh_vertexneighbors() local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvneighbors(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  %14 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 640), align 8, !tbaa !5
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2832), align 8, !tbaa !13
  %16 = tail call i32 @qh_setsize(ptr noundef %15) #3
  %17 = add nsw i32 %16, %14
  call void @qh_countfacets(ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %10)
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9248, ptr noundef nonnull @.str.22, i32 noundef %17) #3
  call void @qh_vertexneighbors() #3
  %18 = call ptr @qh_facetvertices(ptr noundef %1, ptr noundef %2, i32 noundef %3)
  store ptr %18, ptr %11, align 8, !tbaa !14
  %19 = call ptr @qh_settemp(i32 noundef %17) #3
  store ptr %19, ptr %12, align 8, !tbaa !14
  %20 = call ptr @qh_settemp(i32 noundef %17) #3
  store ptr %20, ptr %13, align 8, !tbaa !14
  call void @qh_setzero(ptr noundef %19, i32 noundef 0, i32 noundef %17) #3
  call void @qh_setzero(ptr noundef %20, i32 noundef 0, i32 noundef %17) #3
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %.loopexit105, label %.preheader104

.preheader104:                                    ; preds = %4
  %.059106 = getelementptr inbounds i8, ptr %18, i64 8
  %21 = load ptr, ptr %.059106, align 8, !tbaa !14
  %.not75107 = icmp eq ptr %21, null
  br i1 %.not75107, label %.loopexit105, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader104, %.lr.ph
  %22 = phi ptr [ %25, %.lr.ph ], [ %21, %.preheader104 ]
  %.059108 = phi ptr [ %.059, %.lr.ph ], [ %.059106, %.preheader104 ]
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  call void @qh_point_add(ptr noundef %19, ptr noundef %24, ptr noundef nonnull %22) #3
  %.059 = getelementptr inbounds i8, ptr %.059108, i64 8
  %25 = load ptr, ptr %.059, align 8, !tbaa !14
  %.not75 = icmp eq ptr %25, null
  br i1 %.not75, label %.loopexit105, label %.lr.ph, !llvm.loop !17

.loopexit105:                                     ; preds = %.lr.ph, %.preheader104, %4
  %.not76 = icmp eq ptr %1, null
  br i1 %.not76, label %.critedge, label %.preheader103

.preheader103:                                    ; preds = %.loopexit105, %.loopexit102
  %.056113 = phi ptr [ %34, %.loopexit102 ], [ %1, %.loopexit105 ]
  %26 = getelementptr inbounds i8, ptr %.056113, i64 56
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  %.not78 = icmp eq ptr %27, null
  br i1 %.not78, label %.critedge, label %28

28:                                               ; preds = %.preheader103
  %29 = getelementptr inbounds i8, ptr %.056113, i64 96
  %30 = load ptr, ptr %29, align 8, !tbaa !21
  %.not93 = icmp eq ptr %30, null
  br i1 %.not93, label %.loopexit102, label %.preheader101

.preheader101:                                    ; preds = %28
  %.0109 = getelementptr inbounds i8, ptr %30, i64 8
  %31 = load ptr, ptr %.0109, align 8, !tbaa !14
  %.not95110 = icmp eq ptr %31, null
  br i1 %.not95110, label %.loopexit102, label %.lr.ph112

.lr.ph112:                                        ; preds = %.preheader101, %.lr.ph112
  %32 = phi ptr [ %33, %.lr.ph112 ], [ %31, %.preheader101 ]
  %.0111 = phi ptr [ %.0, %.lr.ph112 ], [ %.0109, %.preheader101 ]
  call void @qh_point_add(ptr noundef %20, ptr noundef nonnull %32, ptr noundef nonnull %.056113) #3
  %.0 = getelementptr inbounds i8, ptr %.0111, i64 8
  %33 = load ptr, ptr %.0, align 8, !tbaa !14
  %.not95 = icmp eq ptr %33, null
  br i1 %.not95, label %.loopexit102.loopexit, label %.lr.ph112, !llvm.loop !22

.loopexit102.loopexit:                            ; preds = %.lr.ph112
  %.pre = load ptr, ptr %26, align 8, !tbaa !19
  br label %.loopexit102

.loopexit102:                                     ; preds = %.loopexit102.loopexit, %.preheader101, %28
  %34 = phi ptr [ %.pre, %.loopexit102.loopexit ], [ %27, %.preheader101 ], [ %27, %28 ]
  %.not77 = icmp eq ptr %34, null
  br i1 %.not77, label %.critedge, label %.preheader103, !llvm.loop !23

.critedge:                                        ; preds = %.preheader103, %.loopexit102, %.loopexit105
  %.not79 = icmp eq ptr %2, null
  br i1 %.not79, label %.loopexit100, label %.preheader99

.preheader99:                                     ; preds = %.critedge
  %.055118 = getelementptr inbounds i8, ptr %2, i64 8
  %35 = load ptr, ptr %.055118, align 8, !tbaa !14
  %.not81119 = icmp eq ptr %35, null
  br i1 %.not81119, label %.loopexit100, label %.lr.ph121

.lr.ph121:                                        ; preds = %.preheader99, %.loopexit98
  %36 = phi ptr [ %42, %.loopexit98 ], [ %35, %.preheader99 ]
  %.055120 = phi ptr [ %.055, %.loopexit98 ], [ %.055118, %.preheader99 ]
  %37 = getelementptr inbounds i8, ptr %36, i64 96
  %38 = load ptr, ptr %37, align 8, !tbaa !21
  %.not90 = icmp eq ptr %38, null
  br i1 %.not90, label %.loopexit98, label %.preheader97

.preheader97:                                     ; preds = %.lr.ph121
  %.1114 = getelementptr inbounds i8, ptr %38, i64 8
  %39 = load ptr, ptr %.1114, align 8, !tbaa !14
  %.not92115 = icmp eq ptr %39, null
  br i1 %.not92115, label %.loopexit98, label %.lr.ph117

.lr.ph117:                                        ; preds = %.preheader97, %.lr.ph117
  %40 = phi ptr [ %41, %.lr.ph117 ], [ %39, %.preheader97 ]
  %.1116 = phi ptr [ %.1, %.lr.ph117 ], [ %.1114, %.preheader97 ]
  call void @qh_point_add(ptr noundef %20, ptr noundef nonnull %40, ptr noundef nonnull %36) #3
  %.1 = getelementptr inbounds i8, ptr %.1116, i64 8
  %41 = load ptr, ptr %.1, align 8, !tbaa !14
  %.not92 = icmp eq ptr %41, null
  br i1 %.not92, label %.loopexit98, label %.lr.ph117, !llvm.loop !24

.loopexit98:                                      ; preds = %.lr.ph117, %.preheader97, %.lr.ph121
  %.055 = getelementptr inbounds i8, ptr %.055120, i64 8
  %42 = load ptr, ptr %.055, align 8, !tbaa !14
  %.not81 = icmp eq ptr %42, null
  br i1 %.not81, label %.loopexit100, label %.lr.ph121, !llvm.loop !25

.loopexit100:                                     ; preds = %.loopexit98, %.preheader99, %.critedge
  %43 = load ptr, ptr %12, align 8, !tbaa !14
  %.not82 = icmp eq ptr %43, null
  br i1 %.not82, label %.loopexit96, label %44

44:                                               ; preds = %.loopexit100
  %45 = getelementptr inbounds i8, ptr %43, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !26
  %47 = call i32 @qh_setsize(ptr noundef nonnull %43) #3
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph128.preheader, label %.loopexit96

.lr.ph128.preheader:                              ; preds = %44
  %wide.trip.count = zext nneg i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %20, i64 8
  br label %.lr.ph128

.lr.ph128:                                        ; preds = %.lr.ph128.preheader, %83
  %indvars.iv = phi i64 [ 0, %.lr.ph128.preheader ], [ %indvars.iv.next, %83 ]
  %.057127 = phi ptr [ %46, %.lr.ph128.preheader ], [ %85, %83 ]
  %.not83 = icmp eq ptr %.057127, null
  br i1 %.not83, label %68, label %50

50:                                               ; preds = %.lr.ph128
  %51 = getelementptr inbounds i8, ptr %.057127, i64 24
  %52 = load ptr, ptr %51, align 8, !tbaa !27
  %53 = call i32 @qh_setsize(ptr noundef %52) #3
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9249, ptr noundef nonnull @.str.20, i32 noundef %53) #3
  call void @qh_order_vertexneighbors(ptr noundef nonnull %.057127)
  %54 = load ptr, ptr %51, align 8, !tbaa !27
  %.not86 = icmp eq ptr %54, null
  br i1 %.not86, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %50
  %.054122 = getelementptr inbounds i8, ptr %54, i64 8
  %55 = load ptr, ptr %.054122, align 8, !tbaa !14
  %.not88123 = icmp eq ptr %55, null
  br i1 %.not88123, label %.loopexit, label %.lr.ph125

.lr.ph125:                                        ; preds = %.preheader, %65
  %56 = phi ptr [ %67, %65 ], [ %55, %.preheader ]
  %.054124 = phi ptr [ %.054, %65 ], [ %.054122, %.preheader ]
  %57 = getelementptr inbounds i8, ptr %56, i64 104
  %58 = load i32, ptr %57, align 8, !tbaa !28
  %.not89 = icmp eq i32 %58, 0
  br i1 %.not89, label %61, label %59

59:                                               ; preds = %.lr.ph125
  %60 = add i32 %58, -1
  br label %65

61:                                               ; preds = %.lr.ph125
  %62 = getelementptr inbounds i8, ptr %56, i64 108
  %63 = load i32, ptr %62, align 4, !tbaa !29
  %64 = sub i32 0, %63
  br label %65

65:                                               ; preds = %61, %59
  %66 = phi i32 [ %60, %59 ], [ %64, %61 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9250, ptr noundef nonnull @.str.21, i32 noundef %66) #3
  %.054 = getelementptr inbounds i8, ptr %.054124, i64 8
  %67 = load ptr, ptr %.054, align 8, !tbaa !14
  %.not88 = icmp eq ptr %67, null
  br i1 %.not88, label %.loopexit, label %.lr.ph125, !llvm.loop !30

.loopexit:                                        ; preds = %65, %.preheader, %50
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9251, ptr noundef nonnull @.str.18) #3
  br label %83

68:                                               ; preds = %.lr.ph128
  %69 = getelementptr inbounds [1 x %union.setelemT], ptr %49, i64 0, i64 %indvars.iv
  %70 = load ptr, ptr %69, align 8, !tbaa !26
  %.not84 = icmp eq ptr %70, null
  br i1 %.not84, label %82, label %71

71:                                               ; preds = %68
  %72 = getelementptr inbounds i8, ptr %70, i64 104
  %73 = load i32, ptr %72, align 8, !tbaa !28
  %.not85 = icmp eq i32 %73, 0
  br i1 %.not85, label %76, label %74

74:                                               ; preds = %71
  %75 = add i32 %73, -1
  br label %80

76:                                               ; preds = %71
  %77 = getelementptr inbounds i8, ptr %70, i64 108
  %78 = load i32, ptr %77, align 4, !tbaa !29
  %79 = sub i32 0, %78
  br label %80

80:                                               ; preds = %76, %74
  %81 = phi i32 [ %75, %74 ], [ %79, %76 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9252, ptr noundef nonnull @.str.191, i32 noundef %81) #3
  br label %83

82:                                               ; preds = %68
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9253, ptr noundef nonnull @.str.19) #3
  br label %83

83:                                               ; preds = %.loopexit, %82, %80
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %84 = getelementptr inbounds [1 x %union.setelemT], ptr %45, i64 0, i64 %indvars.iv.next
  %85 = load ptr, ptr %84, align 8, !tbaa !26
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit96, label %.lr.ph128, !llvm.loop !31

.loopexit96:                                      ; preds = %83, %44, %.loopexit100
  call void @qh_settempfree(ptr noundef nonnull %13) #3
  call void @qh_settempfree(ptr noundef nonnull %12) #3
  call void @qh_settempfree(ptr noundef nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  ret void
}

declare void @qh_point_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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


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