; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (poly2_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.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }

@.str.34 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [129 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [94 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, 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 void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_checkconvex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.qhT, ptr %23, i32 0, i32 126
  %25 = load i32, ptr %24, align 4, !tbaa !11
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %38

27:                                               ; preds = %3
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.qhT, ptr %28, i32 0, i32 29
  %30 = load i32, ptr %29, align 8, !tbaa !17
  %31 = icmp sge i32 %30, 1
  br i1 %31, label %32, label %37

32:                                               ; preds = %27
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.qhT, ptr %34, i32 0, i32 158
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %33, ptr noundef %36, i32 noundef 1064, ptr noundef @.str.34)
  br label %37

37:                                               ; preds = %32, %27
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %66

38:                                               ; preds = %3
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.qhT, ptr %39, i32 0, i32 39
  %41 = load i32, ptr %40, align 4, !tbaa !19
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %54, label %43

43:                                               ; preds = %38
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.qhT, ptr %44, i32 0, i32 29
  %46 = load i32, ptr %45, align 8, !tbaa !17
  %47 = icmp sge i32 %46, 1
  br i1 %47, label %48, label %53

48:                                               ; preds = %43
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.qhT, ptr %50, i32 0, i32 158
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %49, ptr noundef %52, i32 noundef 1026, ptr noundef @.str.35)
  br label %53

53:                                               ; preds = %48, %43
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %65

54:                                               ; preds = %38
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.qhT, ptr %55, i32 0, i32 29
  %57 = load i32, ptr %56, align 8, !tbaa !17
  %58 = icmp sge i32 %57, 1
  br i1 %58, label %59, label %64

59:                                               ; preds = %54
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.qhT, ptr %61, i32 0, i32 158
  %63 = load ptr, ptr %62, align 8, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %60, ptr noundef %63, i32 noundef 1062, ptr noundef @.str.36)
  br label %64

64:                                               ; preds = %59, %54
  br label %65

65:                                               ; preds = %64, %53
  br label %66

66:                                               ; preds = %65, %37
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.qhT, ptr %67, i32 0, i32 79
  %69 = load i32, ptr %68, align 4, !tbaa !20
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %80, label %71

71:                                               ; preds = %66
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.qhT, ptr %72, i32 0, i32 258
  %74 = getelementptr inbounds %struct.qhstatT, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds [249 x %union.intrealT], ptr %74, i64 0, i64 32
  store i32 0, ptr %75, align 8, !tbaa !21
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.qhT, ptr %76, i32 0, i32 258
  %78 = getelementptr inbounds %struct.qhstatT, ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds [249 x %union.intrealT], ptr %78, i64 0, i64 41
  store i32 0, ptr %79, align 8, !tbaa !21
  br label %80

80:                                               ; preds = %71, %66
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %560

83:                                               ; preds = %80
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %84, ptr %7, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %555, %83
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = icmp ne ptr %86, null
  br i1 %87, label %88, label %93

88:                                               ; preds = %85
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.facetT, ptr %89, i32 0, i32 7
  %91 = load ptr, ptr %90, align 8, !tbaa !22
  %92 = icmp ne ptr %91, null
  br label %93

93:                                               ; preds = %88, %85
  %94 = phi i1 [ false, %85 ], [ %92, %88 ]
  br i1 %94, label %95, label %559

95:                                               ; preds = %93
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.facetT, ptr %96, i32 0, i32 15
  %98 = load i32, ptr %97, align 8
  %99 = lshr i32 %98, 16
  %100 = and i32 %99, 1
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %112

102:                                              ; preds = %95
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %103, ptr noundef @.str.37)
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.qhT, ptr %105, i32 0, i32 158
  %107 = load ptr, ptr %106, align 8, !tbaa !18
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.facetT, ptr %108, i32 0, i32 14
  %110 = load i32, ptr %109, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %104, ptr noundef %107, i32 noundef 6113, ptr noundef @.str.38, i32 noundef %110)
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %111, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %555

112:                                              ; preds = %95
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.facetT, ptr %113, i32 0, i32 15
  %115 = load i32, ptr %114, align 8
  %116 = lshr i32 %115, 9
  %117 = and i32 %116, 1
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %112
  br label %555

120:                                              ; preds = %112
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.qhT, ptr %121, i32 0, i32 39
  %123 = load i32, ptr %122, align 4, !tbaa !19
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %138

125:                                              ; preds = %120
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.qhT, ptr %126, i32 0, i32 126
  %128 = load i32, ptr %127, align 4, !tbaa !11
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %137

130:                                              ; preds = %125
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.facetT, ptr %131, i32 0, i32 15
  %133 = load i32, ptr %132, align 8
  %134 = lshr i32 %133, 13
  %135 = and i32 %134, 1
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %138, label %137

137:                                              ; preds = %130, %125
  store i32 0, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %375

138:                                              ; preds = %130, %120
  store i32 1, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  store ptr null, ptr %8, align 8, !tbaa !5
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.facetT, ptr %139, i32 0, i32 10
  %141 = load ptr, ptr %140, align 8, !tbaa !25
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %374

143:                                              ; preds = %138
  store i32 0, ptr %21, align 4, !tbaa !9
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.facetT, ptr %144, i32 0, i32 10
  %146 = load ptr, ptr %145, align 8, !tbaa !25
  %147 = getelementptr inbounds %struct.setT, ptr %146, i32 0, i32 1
  %148 = getelementptr inbounds [1 x %union.setelemT], ptr %147, i64 0, i64 0
  %149 = load ptr, ptr %148, align 8, !tbaa !21
  store ptr %149, ptr %8, align 8, !tbaa !5
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.facetT, ptr %151, i32 0, i32 10
  %153 = load ptr, ptr %152, align 8, !tbaa !25
  %154 = call i32 @qh_setsize(ptr noundef %150, ptr noundef %153)
  store i32 %154, ptr %22, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %363, %143
  %156 = load i32, ptr %21, align 4, !tbaa !9
  %157 = load i32, ptr %22, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %159, label %373

159:                                              ; preds = %155
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.facetT, ptr %160, i32 0, i32 15
  %162 = load i32, ptr %161, align 8
  %163 = lshr i32 %162, 9
  %164 = and i32 %163, 1
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %167

166:                                              ; preds = %159
  br label %363

167:                                              ; preds = %159
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.facetT, ptr %168, i32 0, i32 15
  %170 = load i32, ptr %169, align 8
  %171 = lshr i32 %170, 13
  %172 = and i32 %171, 1
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %175, label %174

174:                                              ; preds = %167
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %363

175:                                              ; preds = %167
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.facetT, ptr %176, i32 0, i32 8
  %178 = load ptr, ptr %177, align 8, !tbaa !26
  %179 = getelementptr inbounds %struct.setT, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %21, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [1 x %union.setelemT], ptr %179, i64 0, i64 %181
  %183 = load ptr, ptr %182, align 8, !tbaa !21
  store ptr %183, ptr %12, align 8, !tbaa !5
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.vertexT, ptr %185, i32 0, i32 2
  %187 = load ptr, ptr %186, align 8, !tbaa !27
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %184, ptr noundef %187, ptr noundef %188, ptr noundef %13)
  %189 = load double, ptr %13, align 8, !tbaa !29
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.qhT, ptr %190, i32 0, i32 134
  %192 = load double, ptr %191, align 8, !tbaa !30
  %193 = fneg double %192
  %194 = fcmp oge double %189, %193
  br i1 %194, label %195, label %362

195:                                              ; preds = %175
  %196 = load i32, ptr %6, align 4, !tbaa !9
  %197 = icmp eq i32 %196, 1
  br i1 %197, label %198, label %242

198:                                              ; preds = %195
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %199, ptr noundef @.str.39)
  %200 = load double, ptr %13, align 8, !tbaa !29
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.qhT, ptr %201, i32 0, i32 134
  %203 = load double, ptr %202, align 8, !tbaa !30
  %204 = fcmp ogt double %200, %203
  br i1 %204, label %205, label %222

205:                                              ; preds = %198
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.qhT, ptr %207, i32 0, i32 158
  %209 = load ptr, ptr %208, align 8, !tbaa !18
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = load ptr, ptr %12, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.vertexT, ptr %211, i32 0, i32 2
  %213 = load ptr, ptr %212, align 8, !tbaa !27
  %214 = call i32 @qh_pointid(ptr noundef %210, ptr noundef %213)
  %215 = load ptr, ptr %12, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.vertexT, ptr %215, i32 0, i32 4
  %217 = load i32, ptr %216, align 8, !tbaa !31
  %218 = load double, ptr %13, align 8, !tbaa !29
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.facetT, ptr %219, i32 0, i32 14
  %221 = load i32, ptr %220, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %206, ptr noundef %209, i32 noundef 6114, ptr noundef @.str.40, i32 noundef %214, i32 noundef %217, double noundef %218, i32 noundef %221)
  br label %239

222:                                              ; preds = %198
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.qhT, ptr %224, i32 0, i32 158
  %226 = load ptr, ptr %225, align 8, !tbaa !18
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = load ptr, ptr %12, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.vertexT, ptr %228, i32 0, i32 2
  %230 = load ptr, ptr %229, align 8, !tbaa !27
  %231 = call i32 @qh_pointid(ptr noundef %227, ptr noundef %230)
  %232 = load ptr, ptr %12, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.vertexT, ptr %232, i32 0, i32 4
  %234 = load i32, ptr %233, align 8, !tbaa !31
  %235 = load ptr, ptr %8, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.facetT, ptr %235, i32 0, i32 14
  %237 = load i32, ptr %236, align 4, !tbaa !24
  %238 = load double, ptr %13, align 8, !tbaa !29
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %223, ptr noundef %226, i32 noundef 6379, ptr noundef @.str.41, i32 noundef %231, i32 noundef %234, i32 noundef %237, double noundef %238)
  br label %239

239:                                              ; preds = %222, %205
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %240, i32 noundef 2, ptr noundef %241, ptr noundef null)
  br label %242

242:                                              ; preds = %239, %195
  %243 = load double, ptr %13, align 8, !tbaa !29
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.qhT, ptr %244, i32 0, i32 134
  %246 = load double, ptr %245, align 8, !tbaa !30
  %247 = fcmp ogt double %243, %246
  br i1 %247, label %248, label %280

248:                                              ; preds = %242
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.qhT, ptr %249, i32 0, i32 258
  %251 = getelementptr inbounds %struct.qhstatT, ptr %250, i32 0, i32 0
  %252 = getelementptr inbounds [249 x %union.intrealT], ptr %251, i64 0, i64 32
  %253 = load i32, ptr %252, align 8, !tbaa !21
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %252, align 8, !tbaa !21
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %255, ptr noundef @.str.42)
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = load ptr, ptr %4, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.qhT, ptr %257, i32 0, i32 158
  %259 = load ptr, ptr %258, align 8, !tbaa !18
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.facetT, ptr %260, i32 0, i32 14
  %262 = load i32, ptr %261, align 4, !tbaa !24
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.facetT, ptr %263, i32 0, i32 14
  %265 = load i32, ptr %264, align 4, !tbaa !24
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = load ptr, ptr %12, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.vertexT, ptr %267, i32 0, i32 2
  %269 = load ptr, ptr %268, align 8, !tbaa !27
  %270 = call i32 @qh_pointid(ptr noundef %266, ptr noundef %269)
  %271 = load ptr, ptr %12, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.vertexT, ptr %271, i32 0, i32 4
  %273 = load i32, ptr %272, align 8, !tbaa !31
  %274 = load double, ptr %13, align 8, !tbaa !29
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.facetT, ptr %275, i32 0, i32 14
  %277 = load i32, ptr %276, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %256, ptr noundef %259, i32 noundef 6115, ptr noundef @.str.43, i32 noundef %262, i32 noundef %265, i32 noundef %270, i32 noundef %273, double noundef %274, i32 noundef %277)
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %278, ptr %10, align 8, !tbaa !5
  %279 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %279, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %361

280:                                              ; preds = %242
  %281 = load ptr, ptr %4, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.qhT, ptr %281, i32 0, i32 126
  %283 = load i32, ptr %282, align 4, !tbaa !11
  %284 = icmp ne i32 %283, 0
  br i1 %284, label %285, label %321

285:                                              ; preds = %280
  %286 = load double, ptr %13, align 8, !tbaa !29
  %287 = fcmp ogt double %286, 0.000000e+00
  br i1 %287, label %288, label %320

288:                                              ; preds = %285
  %289 = load ptr, ptr %4, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.qhT, ptr %289, i32 0, i32 258
  %291 = getelementptr inbounds %struct.qhstatT, ptr %290, i32 0, i32 0
  %292 = getelementptr inbounds [249 x %union.intrealT], ptr %291, i64 0, i64 41
  %293 = load i32, ptr %292, align 8, !tbaa !21
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %292, align 8, !tbaa !21
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %295, ptr noundef @.str.44)
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = load ptr, ptr %4, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.qhT, ptr %297, i32 0, i32 158
  %299 = load ptr, ptr %298, align 8, !tbaa !18
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.facetT, ptr %300, i32 0, i32 14
  %302 = load i32, ptr %301, align 4, !tbaa !24
  %303 = load ptr, ptr %8, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.facetT, ptr %303, i32 0, i32 14
  %305 = load i32, ptr %304, align 4, !tbaa !24
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = load ptr, ptr %12, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.vertexT, ptr %307, i32 0, i32 2
  %309 = load ptr, ptr %308, align 8, !tbaa !27
  %310 = call i32 @qh_pointid(ptr noundef %306, ptr noundef %309)
  %311 = load ptr, ptr %12, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.vertexT, ptr %311, i32 0, i32 4
  %313 = load i32, ptr %312, align 8, !tbaa !31
  %314 = load double, ptr %13, align 8, !tbaa !29
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.facetT, ptr %315, i32 0, i32 14
  %317 = load i32, ptr %316, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %296, ptr noundef %299, i32 noundef 6116, ptr noundef @.str.45, i32 noundef %302, i32 noundef %305, i32 noundef %310, i32 noundef %313, double noundef %314, i32 noundef %317)
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %318, ptr %10, align 8, !tbaa !5
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %319, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %320

320:                                              ; preds = %288, %285
  br label %360

321:                                              ; preds = %280
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.qhT, ptr %322, i32 0, i32 258
  %324 = getelementptr inbounds %struct.qhstatT, ptr %323, i32 0, i32 0
  %325 = getelementptr inbounds [249 x %union.intrealT], ptr %324, i64 0, i64 41
  %326 = load i32, ptr %325, align 8, !tbaa !21
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %325, align 8, !tbaa !21
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %328, ptr noundef @.str.44)
  %329 = load ptr, ptr %4, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.qhT, ptr %329, i32 0, i32 29
  %331 = load i32, ptr %330, align 8, !tbaa !17
  %332 = icmp ne i32 %331, 0
  br i1 %332, label %333, label %359

333:                                              ; preds = %321
  %334 = load ptr, ptr %4, align 8, !tbaa !5
  %335 = load ptr, ptr %4, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.qhT, ptr %335, i32 0, i32 158
  %337 = load ptr, ptr %336, align 8, !tbaa !18
  %338 = load ptr, ptr %7, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.facetT, ptr %338, i32 0, i32 14
  %340 = load i32, ptr %339, align 4, !tbaa !24
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.facetT, ptr %341, i32 0, i32 14
  %343 = load i32, ptr %342, align 4, !tbaa !24
  %344 = load ptr, ptr %4, align 8, !tbaa !5
  %345 = load ptr, ptr %12, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.vertexT, ptr %345, i32 0, i32 2
  %347 = load ptr, ptr %346, align 8, !tbaa !27
  %348 = call i32 @qh_pointid(ptr noundef %344, ptr noundef %347)
  %349 = load ptr, ptr %12, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.vertexT, ptr %349, i32 0, i32 4
  %351 = load i32, ptr %350, align 8, !tbaa !31
  %352 = load double, ptr %13, align 8, !tbaa !29
  %353 = load ptr, ptr %8, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.facetT, ptr %353, i32 0, i32 14
  %355 = load i32, ptr %354, align 4, !tbaa !24
  %356 = load ptr, ptr %4, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.qhT, ptr %356, i32 0, i32 190
  %358 = load i32, ptr %357, align 4, !tbaa !32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %334, ptr noundef %337, i32 noundef 22, ptr noundef @.str.46, i32 noundef %340, i32 noundef %343, i32 noundef %348, i32 noundef %351, double noundef %352, i32 noundef %355, i32 noundef %358)
  br label %359

359:                                              ; preds = %333, %321
  br label %360

360:                                              ; preds = %359, %320
  br label %361

361:                                              ; preds = %360, %248
  br label %362

362:                                              ; preds = %361, %175
  br label %363

363:                                              ; preds = %362, %174, %166
  %364 = load ptr, ptr %7, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.facetT, ptr %364, i32 0, i32 10
  %366 = load ptr, ptr %365, align 8, !tbaa !25
  %367 = getelementptr inbounds %struct.setT, ptr %366, i32 0, i32 1
  %368 = load i32, ptr %21, align 4, !tbaa !9
  %369 = add nsw i32 %368, 1
  store i32 %369, ptr %21, align 4, !tbaa !9
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds [1 x %union.setelemT], ptr %367, i64 0, i64 %370
  %372 = load ptr, ptr %371, align 8, !tbaa !21
  store ptr %372, ptr %8, align 8, !tbaa !5
  br label %155, !llvm.loop !33

373:                                              ; preds = %155
  br label %374

374:                                              ; preds = %373, %138
  br label %375

375:                                              ; preds = %374, %137
  %376 = load i32, ptr %20, align 4, !tbaa !9
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %554, label %378

378:                                              ; preds = %375
  %379 = load i32, ptr %18, align 4, !tbaa !9
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %395

381:                                              ; preds = %378
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.qhT, ptr %382, i32 0, i32 29
  %384 = load i32, ptr %383, align 8, !tbaa !17
  %385 = icmp sge i32 %384, 1
  br i1 %385, label %386, label %394

386:                                              ; preds = %381
  %387 = load ptr, ptr %4, align 8, !tbaa !5
  %388 = load ptr, ptr %4, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.qhT, ptr %388, i32 0, i32 158
  %390 = load ptr, ptr %389, align 8, !tbaa !18
  %391 = load ptr, ptr %7, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.facetT, ptr %391, i32 0, i32 14
  %393 = load i32, ptr %392, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %387, ptr noundef %390, i32 noundef 1063, ptr noundef @.str.47, i32 noundef %393)
  br label %394

394:                                              ; preds = %386, %381
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %395

395:                                              ; preds = %394, %378
  %396 = load ptr, ptr %4, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.qhT, ptr %396, i32 0, i32 189
  %398 = load i32, ptr %397, align 8, !tbaa !35
  %399 = icmp eq i32 %398, 2
  br i1 %399, label %400, label %415

400:                                              ; preds = %395
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.facetT, ptr %401, i32 0, i32 5
  %403 = load ptr, ptr %402, align 8, !tbaa !36
  %404 = icmp ne ptr %403, null
  br i1 %404, label %411, label %405

405:                                              ; preds = %400
  %406 = load ptr, ptr %4, align 8, !tbaa !5
  %407 = load ptr, ptr %7, align 8, !tbaa !5
  %408 = call ptr @qh_getcentrum(ptr noundef %406, ptr noundef %407)
  %409 = load ptr, ptr %7, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.facetT, ptr %409, i32 0, i32 5
  store ptr %408, ptr %410, align 8, !tbaa !36
  br label %411

411:                                              ; preds = %405, %400
  %412 = load ptr, ptr %7, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.facetT, ptr %412, i32 0, i32 5
  %414 = load ptr, ptr %413, align 8, !tbaa !36
  store ptr %414, ptr %14, align 8, !tbaa !5
  br label %434

415:                                              ; preds = %395
  %416 = load i32, ptr %16, align 4, !tbaa !9
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %430, label %418

418:                                              ; preds = %415
  %419 = load ptr, ptr %7, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.facetT, ptr %419, i32 0, i32 15
  %421 = load i32, ptr %420, align 8
  %422 = lshr i32 %421, 13
  %423 = and i32 %422, 1
  %424 = icmp ne i32 %423, 0
  br i1 %424, label %430, label %425

425:                                              ; preds = %418
  store i32 1, ptr %16, align 4, !tbaa !9
  %426 = load ptr, ptr %4, align 8, !tbaa !5
  %427 = load ptr, ptr %4, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.qhT, ptr %427, i32 0, i32 158
  %429 = load ptr, ptr %428, align 8, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %426, ptr noundef %429, i32 noundef 7062, ptr noundef @.str.48)
  br label %430

430:                                              ; preds = %425, %418, %415
  %431 = load ptr, ptr %4, align 8, !tbaa !5
  %432 = load ptr, ptr %7, align 8, !tbaa !5
  %433 = call ptr @qh_getcentrum(ptr noundef %431, ptr noundef %432)
  store ptr %433, ptr %14, align 8, !tbaa !5
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %434

434:                                              ; preds = %430, %411
  store ptr null, ptr %8, align 8, !tbaa !5
  %435 = load ptr, ptr %7, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.facetT, ptr %435, i32 0, i32 10
  %437 = load ptr, ptr %436, align 8, !tbaa !25
  %438 = icmp ne ptr %437, null
  br i1 %438, label %439, label %544

439:                                              ; preds = %434
  %440 = load ptr, ptr %7, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.facetT, ptr %440, i32 0, i32 10
  %442 = load ptr, ptr %441, align 8, !tbaa !25
  %443 = getelementptr inbounds %struct.setT, ptr %442, i32 0, i32 1
  %444 = getelementptr inbounds [1 x %union.setelemT], ptr %443, i64 0, i64 0
  store ptr %444, ptr %9, align 8, !tbaa !5
  br label %445

445:                                              ; preds = %542, %468, %460, %439
  %446 = load ptr, ptr %9, align 8, !tbaa !5
  %447 = getelementptr inbounds ptr, ptr %446, i32 1
  store ptr %447, ptr %9, align 8, !tbaa !5
  %448 = load ptr, ptr %446, align 8, !tbaa !5
  store ptr %448, ptr %8, align 8, !tbaa !5
  %449 = icmp ne ptr %448, null
  br i1 %449, label %450, label %543

450:                                              ; preds = %445
  %451 = load ptr, ptr %8, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.facetT, ptr %451, i32 0, i32 15
  %453 = load i32, ptr %452, align 8
  %454 = lshr i32 %453, 13
  %455 = and i32 %454, 1
  %456 = icmp ne i32 %455, 0
  br i1 %456, label %457, label %461

457:                                              ; preds = %450
  %458 = load i32, ptr %19, align 4, !tbaa !9
  %459 = icmp ne i32 %458, 0
  br i1 %459, label %460, label %461

460:                                              ; preds = %457
  br label %445, !llvm.loop !37

461:                                              ; preds = %457, %450
  %462 = load ptr, ptr %8, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.facetT, ptr %462, i32 0, i32 15
  %464 = load i32, ptr %463, align 8
  %465 = lshr i32 %464, 9
  %466 = and i32 %465, 1
  %467 = icmp ne i32 %466, 0
  br i1 %467, label %468, label %469

468:                                              ; preds = %461
  br label %445, !llvm.loop !37

469:                                              ; preds = %461
  %470 = load ptr, ptr %4, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.qhT, ptr %470, i32 0, i32 258
  %472 = getelementptr inbounds %struct.qhstatT, ptr %471, i32 0, i32 0
  %473 = getelementptr inbounds [249 x %union.intrealT], ptr %472, i64 0, i64 58
  %474 = load i32, ptr %473, align 8, !tbaa !21
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr %473, align 8, !tbaa !21
  %476 = load ptr, ptr %4, align 8, !tbaa !5
  %477 = load ptr, ptr %14, align 8, !tbaa !5
  %478 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %476, ptr noundef %477, ptr noundef %478, ptr noundef %13)
  %479 = load double, ptr %13, align 8, !tbaa !29
  %480 = load ptr, ptr %4, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.qhT, ptr %480, i32 0, i32 134
  %482 = load double, ptr %481, align 8, !tbaa !30
  %483 = fcmp ogt double %479, %482
  br i1 %483, label %484, label %511

484:                                              ; preds = %469
  %485 = load ptr, ptr %4, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.qhT, ptr %485, i32 0, i32 258
  %487 = getelementptr inbounds %struct.qhstatT, ptr %486, i32 0, i32 0
  %488 = getelementptr inbounds [249 x %union.intrealT], ptr %487, i64 0, i64 32
  %489 = load i32, ptr %488, align 8, !tbaa !21
  %490 = add nsw i32 %489, 1
  store i32 %490, ptr %488, align 8, !tbaa !21
  %491 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %491, ptr noundef @.str.42)
  %492 = load ptr, ptr %4, align 8, !tbaa !5
  %493 = load ptr, ptr %4, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.qhT, ptr %493, i32 0, i32 158
  %495 = load ptr, ptr %494, align 8, !tbaa !18
  %496 = load ptr, ptr %7, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.facetT, ptr %496, i32 0, i32 14
  %498 = load i32, ptr %497, align 4, !tbaa !24
  %499 = load ptr, ptr %8, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.facetT, ptr %499, i32 0, i32 14
  %501 = load i32, ptr %500, align 4, !tbaa !24
  %502 = load ptr, ptr %7, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.facetT, ptr %502, i32 0, i32 14
  %504 = load i32, ptr %503, align 4, !tbaa !24
  %505 = load double, ptr %13, align 8, !tbaa !29
  %506 = load ptr, ptr %8, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.facetT, ptr %506, i32 0, i32 14
  %508 = load i32, ptr %507, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %492, ptr noundef %495, i32 noundef 6117, ptr noundef @.str.49, i32 noundef %498, i32 noundef %501, i32 noundef %504, double noundef %505, i32 noundef %508)
  %509 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %509, ptr %10, align 8, !tbaa !5
  %510 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %510, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %542

511:                                              ; preds = %469
  %512 = load double, ptr %13, align 8, !tbaa !29
  %513 = fcmp oge double %512, 0.000000e+00
  br i1 %513, label %514, label %541

514:                                              ; preds = %511
  %515 = load ptr, ptr %4, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.qhT, ptr %515, i32 0, i32 258
  %517 = getelementptr inbounds %struct.qhstatT, ptr %516, i32 0, i32 0
  %518 = getelementptr inbounds [249 x %union.intrealT], ptr %517, i64 0, i64 41
  %519 = load i32, ptr %518, align 8, !tbaa !21
  %520 = add nsw i32 %519, 1
  store i32 %520, ptr %518, align 8, !tbaa !21
  %521 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_joggle_restart(ptr noundef %521, ptr noundef @.str.44)
  %522 = load ptr, ptr %4, align 8, !tbaa !5
  %523 = load ptr, ptr %4, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.qhT, ptr %523, i32 0, i32 158
  %525 = load ptr, ptr %524, align 8, !tbaa !18
  %526 = load ptr, ptr %7, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.facetT, ptr %526, i32 0, i32 14
  %528 = load i32, ptr %527, align 4, !tbaa !24
  %529 = load ptr, ptr %8, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.facetT, ptr %529, i32 0, i32 14
  %531 = load i32, ptr %530, align 4, !tbaa !24
  %532 = load ptr, ptr %7, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.facetT, ptr %532, i32 0, i32 14
  %534 = load i32, ptr %533, align 4, !tbaa !24
  %535 = load double, ptr %13, align 8, !tbaa !29
  %536 = load ptr, ptr %8, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.facetT, ptr %536, i32 0, i32 14
  %538 = load i32, ptr %537, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %522, ptr noundef %525, i32 noundef 6118, ptr noundef @.str.50, i32 noundef %528, i32 noundef %531, i32 noundef %534, double noundef %535, i32 noundef %538)
  %539 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %539, ptr %10, align 8, !tbaa !5
  %540 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %540, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %541

541:                                              ; preds = %514, %511
  br label %542

542:                                              ; preds = %541, %484
  br label %445, !llvm.loop !37

543:                                              ; preds = %445
  br label %544

544:                                              ; preds = %543, %434
  %545 = load i32, ptr %17, align 4, !tbaa !9
  %546 = icmp ne i32 %545, 0
  br i1 %546, label %547, label %553

547:                                              ; preds = %544
  %548 = load ptr, ptr %4, align 8, !tbaa !5
  %549 = load ptr, ptr %14, align 8, !tbaa !5
  %550 = load ptr, ptr %4, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.qhT, ptr %550, i32 0, i32 160
  %552 = load i32, ptr %551, align 8, !tbaa !38
  call void @qh_memfree(ptr noundef %548, ptr noundef %549, i32 noundef %552)
  br label %553

553:                                              ; preds = %547, %544
  br label %554

554:                                              ; preds = %553, %375
  br label %555

555:                                              ; preds = %554, %119, %102
  %556 = load ptr, ptr %7, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.facetT, ptr %556, i32 0, i32 7
  %558 = load ptr, ptr %557, align 8, !tbaa !22
  store ptr %558, ptr %7, align 8, !tbaa !5
  br label %85, !llvm.loop !39

559:                                              ; preds = %93
  br label %560

560:                                              ; preds = %559, %80
  %561 = load i32, ptr %15, align 4, !tbaa !9
  %562 = icmp ne i32 %561, 0
  br i1 %562, label %563, label %572

563:                                              ; preds = %560
  %564 = load ptr, ptr %4, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.qhT, ptr %564, i32 0, i32 21
  %566 = load i32, ptr %565, align 8, !tbaa !40
  %567 = icmp ne i32 %566, 0
  br i1 %567, label %572, label %568

568:                                              ; preds = %563
  %569 = load ptr, ptr %4, align 8, !tbaa !5
  %570 = load ptr, ptr %10, align 8, !tbaa !5
  %571 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_errexit2(ptr noundef %569, i32 noundef 3, ptr noundef %570, ptr noundef %571)
  br label %572

572:                                              ; preds = %568, %563, %560
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  ret void
}

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

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

declare void @qh_memfree(ptr noundef, ptr noundef, i32 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 1724}
!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, !10, i64 188}
!20 = !{!12, !10, i64 484}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !6, i64 56}
!23 = !{!"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}
!24 = !{!23, !10, i64 108}
!25 = !{!23, !6, i64 80}
!26 = !{!23, !6, i64 64}
!27 = !{!28, !6, i64 16}
!28 = !{!"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}
!29 = !{!13, !13, i64 0}
!30 = !{!12, !13, i64 1784}
!31 = !{!28, !10, i64 32}
!32 = !{!12, !10, i64 2620}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!12, !10, i64 2616}
!36 = !{!23, !6, i64 40}
!37 = distinct !{!37, !34}
!38 = !{!12, !10, i64 2440}
!39 = distinct !{!39, !34}
!40 = !{!12, !10, i64 96}


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

%union.setelemT = type { ptr }

@.str.34 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [129 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [94 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, 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

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

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

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

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

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

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

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %0, i64 136
  %9 = load i32, ptr %8, align 8, !tbaa !15
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %11, label %28

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 2424
  %13 = load ptr, ptr %12, align 8, !tbaa !16
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %13, i32 noundef 1064, ptr noundef nonnull @.str.34) #3
  br label %28

14:                                               ; preds = %3
  %15 = getelementptr inbounds i8, ptr %0, i64 188
  %16 = load i32, ptr %15, align 4, !tbaa !17
  %.not202 = icmp eq i32 %16, 0
  %17 = getelementptr inbounds i8, ptr %0, i64 136
  %18 = load i32, ptr %17, align 8, !tbaa !15
  %19 = icmp sgt i32 %18, 0
  br i1 %.not202, label %20, label %24

20:                                               ; preds = %14
  br i1 %19, label %21, label %28

21:                                               ; preds = %20
  %22 = getelementptr inbounds i8, ptr %0, i64 2424
  %23 = load ptr, ptr %22, align 8, !tbaa !16
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %23, i32 noundef 1026, ptr noundef nonnull @.str.35) #3
  br label %28

24:                                               ; preds = %14
  br i1 %19, label %25, label %28

25:                                               ; preds = %24
  %26 = getelementptr inbounds i8, ptr %0, i64 2424
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %27, i32 noundef 1062, ptr noundef nonnull @.str.36) #3
  br label %28

28:                                               ; preds = %20, %21, %7, %11, %25, %24
  %.0161 = phi i32 [ 0, %25 ], [ 0, %24 ], [ 1, %11 ], [ 1, %7 ], [ 1, %21 ], [ 1, %20 ]
  %29 = getelementptr inbounds i8, ptr %0, i64 484
  %30 = load i32, ptr %29, align 4, !tbaa !18
  %.not203 = icmp eq i32 %30, 0
  br i1 %.not203, label %31, label %34

31:                                               ; preds = %28
  %32 = getelementptr inbounds i8, ptr %0, i64 3680
  store i32 0, ptr %32, align 8, !tbaa !19
  %33 = getelementptr inbounds i8, ptr %0, i64 3752
  store i32 0, ptr %33, align 8, !tbaa !19
  br label %34

34:                                               ; preds = %31, %28
  %.not204 = icmp eq ptr %1, null
  br i1 %.not204, label %.critedge.thread, label %.preheader

.preheader:                                       ; preds = %34
  %35 = getelementptr inbounds i8, ptr %0, i64 2424
  %36 = getelementptr inbounds i8, ptr %0, i64 188
  %37 = getelementptr inbounds i8, ptr %0, i64 1784
  %38 = icmp eq i32 %2, 1
  %39 = getelementptr inbounds i8, ptr %0, i64 3752
  %40 = getelementptr inbounds i8, ptr %0, i64 136
  %41 = getelementptr inbounds i8, ptr %0, i64 2620
  %42 = getelementptr inbounds i8, ptr %0, i64 3680
  %43 = getelementptr inbounds i8, ptr %0, i64 2616
  %44 = getelementptr inbounds i8, ptr %0, i64 3888
  %45 = getelementptr inbounds i8, ptr %0, i64 2440
  br label %46

46:                                               ; preds = %.preheader, %.thread238
  %.0269 = phi ptr [ %1, %.preheader ], [ %229, %.thread238 ]
  %.1162268 = phi i32 [ %.0161, %.preheader ], [ %.3, %.thread238 ]
  %.0164267 = phi i32 [ 0, %.preheader ], [ %.2166, %.thread238 ]
  %.0167266 = phi i32 [ 0, %.preheader ], [ %.3170, %.thread238 ]
  %.0171265 = phi i32 [ 0, %.preheader ], [ %.7, %.thread238 ]
  %.0177264 = phi ptr [ null, %.preheader ], [ %.7184, %.thread238 ]
  %.0186263 = phi ptr [ null, %.preheader ], [ %.7193, %.thread238 ]
  %47 = getelementptr inbounds i8, ptr %.0269, i64 56
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  %.not206 = icmp eq ptr %48, null
  br i1 %.not206, label %.critedge, label %49

49:                                               ; preds = %46
  %50 = getelementptr inbounds i8, ptr %.0269, i64 112
  %51 = load i32, ptr %50, align 8
  %52 = and i32 %51, 65536
  %.not209 = icmp eq i32 %52, 0
  br i1 %.not209, label %57, label %53

53:                                               ; preds = %49
  call void @qh_joggle_restart(ptr noundef %0, ptr noundef nonnull @.str.37) #3
  %54 = load ptr, ptr %35, align 8, !tbaa !16
  %55 = getelementptr inbounds i8, ptr %.0269, i64 108
  %56 = load i32, ptr %55, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %54, i32 noundef 6113, ptr noundef nonnull @.str.38, i32 noundef %56) #3
  br label %.thread238

57:                                               ; preds = %49
  %58 = and i32 %51, 512
  %.not210 = icmp eq i32 %58, 0
  br i1 %.not210, label %59, label %.thread238

59:                                               ; preds = %57
  %60 = load i32, ptr %36, align 4, !tbaa !17
  %.not211 = icmp eq i32 %60, 0
  br i1 %.not211, label %64, label %61

61:                                               ; preds = %59
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %.not212 = icmp eq i32 %62, 0
  %63 = and i32 %51, 8192
  %.not213 = icmp eq i32 %63, 0
  %or.cond228 = or i1 %.not213, %.not212
  br i1 %or.cond228, label %.thread, label %64

64:                                               ; preds = %61, %59
  %65 = getelementptr inbounds i8, ptr %.0269, i64 80
  %66 = load ptr, ptr %65, align 8, !tbaa !23
  %.not214 = icmp eq ptr %66, null
  br i1 %.not214, label %.thread238, label %67

67:                                               ; preds = %64
  %68 = getelementptr inbounds i8, ptr %66, i64 8
  %69 = load ptr, ptr %68, align 8, !tbaa !19
  %70 = call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef nonnull %66) #3
  %71 = icmp sgt i32 %70, 0
  br i1 %71, label %.lr.ph, label %.thread238

.lr.ph:                                           ; preds = %67
  %72 = getelementptr inbounds i8, ptr %.0269, i64 64
  %73 = getelementptr inbounds i8, ptr %.0269, i64 108
  %wide.trip.count = zext nneg i32 %70 to i64
  br label %74

74:                                               ; preds = %.lr.ph, %160
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %160 ]
  %.0159258 = phi i32 [ 1, %.lr.ph ], [ %.1, %160 ]
  %.1172257 = phi i32 [ %.0171265, %.lr.ph ], [ %.2173, %160 ]
  %.0176256 = phi ptr [ %69, %.lr.ph ], [ %164, %160 ]
  %.1178255 = phi ptr [ %.0177264, %.lr.ph ], [ %.2179, %160 ]
  %.1187254 = phi ptr [ %.0186263, %.lr.ph ], [ %.2188, %160 ]
  %75 = getelementptr inbounds i8, ptr %.0176256, i64 112
  %76 = load i32, ptr %75, align 8
  %77 = and i32 %76, 512
  %.not224 = icmp eq i32 %77, 0
  br i1 %.not224, label %78, label %160

78:                                               ; preds = %74
  %79 = and i32 %76, 8192
  %.not225 = icmp eq i32 %79, 0
  br i1 %.not225, label %160, label %80

80:                                               ; preds = %78
  %81 = load ptr, ptr %72, align 8, !tbaa !24
  %82 = getelementptr inbounds i8, ptr %81, i64 8
  %83 = getelementptr inbounds [1 x %union.setelemT], ptr %82, i64 0, i64 %indvars.iv
  %84 = load ptr, ptr %83, align 8, !tbaa !19
  %85 = getelementptr inbounds i8, ptr %84, i64 16
  %86 = load ptr, ptr %85, align 8, !tbaa !25
  call void @qh_distplane(ptr noundef %0, ptr noundef %86, ptr noundef nonnull %.0176256, ptr noundef nonnull %4) #3
  %87 = load double, ptr %4, align 8, !tbaa !27
  %88 = load double, ptr %37, align 8, !tbaa !28
  %89 = fneg double %88
  %90 = fcmp ult double %87, %89
  br i1 %90, label %160, label %91

91:                                               ; preds = %80
  br i1 %38, label %92, label %110

92:                                               ; preds = %91
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.39) #3
  %93 = load double, ptr %4, align 8, !tbaa !27
  %94 = load double, ptr %37, align 8, !tbaa !28
  %95 = fcmp ogt double %93, %94
  %96 = load ptr, ptr %35, align 8, !tbaa !16
  %97 = load ptr, ptr %85, align 8, !tbaa !25
  %98 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %97) #3
  %99 = getelementptr inbounds i8, ptr %84, i64 32
  %100 = load i32, ptr %99, align 8, !tbaa !29
  br i1 %95, label %101, label %105

101:                                              ; preds = %92
  %102 = load double, ptr %4, align 8, !tbaa !27
  %103 = getelementptr inbounds i8, ptr %.0176256, i64 108
  %104 = load i32, ptr %103, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %96, i32 noundef 6114, ptr noundef nonnull @.str.40, i32 noundef %98, i32 noundef %100, double noundef %102, i32 noundef %104) #3
  br label %109

105:                                              ; preds = %92
  %106 = getelementptr inbounds i8, ptr %.0176256, i64 108
  %107 = load i32, ptr %106, align 4, !tbaa !22
  %108 = load double, ptr %4, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %96, i32 noundef 6379, ptr noundef nonnull @.str.41, i32 noundef %98, i32 noundef %100, i32 noundef %107, double noundef %108) #3
  br label %109

109:                                              ; preds = %105, %101
  call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 2, ptr noundef nonnull %.0176256, ptr noundef null) #3
  %.pre = load double, ptr %4, align 8, !tbaa !27
  %.pre274 = load double, ptr %37, align 8, !tbaa !28
  br label %110

110:                                              ; preds = %109, %91
  %111 = phi double [ %.pre274, %109 ], [ %88, %91 ]
  %112 = phi double [ %.pre, %109 ], [ %87, %91 ]
  %113 = fcmp ogt double %112, %111
  br i1 %113, label %114, label %127

114:                                              ; preds = %110
  %115 = load i32, ptr %42, align 8, !tbaa !19
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %42, align 8, !tbaa !19
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.42) #3
  %117 = load ptr, ptr %35, align 8, !tbaa !16
  %118 = load i32, ptr %73, align 4, !tbaa !22
  %119 = getelementptr inbounds i8, ptr %.0176256, i64 108
  %120 = load i32, ptr %119, align 4, !tbaa !22
  %121 = load ptr, ptr %85, align 8, !tbaa !25
  %122 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %121) #3
  %123 = getelementptr inbounds i8, ptr %84, i64 32
  %124 = load i32, ptr %123, align 8, !tbaa !29
  %125 = load double, ptr %4, align 8, !tbaa !27
  %126 = load i32, ptr %119, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %117, i32 noundef 6115, ptr noundef nonnull @.str.43, i32 noundef %118, i32 noundef %120, i32 noundef %122, i32 noundef %124, double noundef %125, i32 noundef %126) #3
  br label %160

127:                                              ; preds = %110
  %128 = load i32, ptr %5, align 4, !tbaa !5
  %.not226 = icmp eq i32 %128, 0
  br i1 %.not226, label %144, label %129

129:                                              ; preds = %127
  %130 = fcmp ogt double %112, 0.000000e+00
  br i1 %130, label %131, label %160

131:                                              ; preds = %129
  %132 = load i32, ptr %39, align 8, !tbaa !19
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %39, align 8, !tbaa !19
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.44) #3
  %134 = load ptr, ptr %35, align 8, !tbaa !16
  %135 = load i32, ptr %73, align 4, !tbaa !22
  %136 = getelementptr inbounds i8, ptr %.0176256, i64 108
  %137 = load i32, ptr %136, align 4, !tbaa !22
  %138 = load ptr, ptr %85, align 8, !tbaa !25
  %139 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %138) #3
  %140 = getelementptr inbounds i8, ptr %84, i64 32
  %141 = load i32, ptr %140, align 8, !tbaa !29
  %142 = load double, ptr %4, align 8, !tbaa !27
  %143 = load i32, ptr %136, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %134, i32 noundef 6116, ptr noundef nonnull @.str.45, i32 noundef %135, i32 noundef %137, i32 noundef %139, i32 noundef %141, double noundef %142, i32 noundef %143) #3
  br label %160

144:                                              ; preds = %127
  %145 = load i32, ptr %39, align 8, !tbaa !19
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %39, align 8, !tbaa !19
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.44) #3
  %147 = load i32, ptr %40, align 8, !tbaa !15
  %.not227 = icmp eq i32 %147, 0
  br i1 %.not227, label %160, label %148

148:                                              ; preds = %144
  %149 = load ptr, ptr %35, align 8, !tbaa !16
  %150 = load i32, ptr %73, align 4, !tbaa !22
  %151 = getelementptr inbounds i8, ptr %.0176256, i64 108
  %152 = load i32, ptr %151, align 4, !tbaa !22
  %153 = load ptr, ptr %85, align 8, !tbaa !25
  %154 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %153) #3
  %155 = getelementptr inbounds i8, ptr %84, i64 32
  %156 = load i32, ptr %155, align 8, !tbaa !29
  %157 = load double, ptr %4, align 8, !tbaa !27
  %158 = load i32, ptr %151, align 4, !tbaa !22
  %159 = load i32, ptr %41, align 4, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %149, i32 noundef 22, ptr noundef nonnull @.str.46, i32 noundef %150, i32 noundef %152, i32 noundef %154, i32 noundef %156, double noundef %157, i32 noundef %158, i32 noundef %159) #3
  br label %160

160:                                              ; preds = %78, %80, %131, %129, %148, %144, %114, %74
  %.2188 = phi ptr [ %.1187254, %74 ], [ %.0269, %114 ], [ %.0269, %131 ], [ %.1187254, %129 ], [ %.1187254, %148 ], [ %.1187254, %144 ], [ %.1187254, %80 ], [ %.1187254, %78 ]
  %.2179 = phi ptr [ %.1178255, %74 ], [ %.0176256, %114 ], [ %.0176256, %131 ], [ %.1178255, %129 ], [ %.1178255, %148 ], [ %.1178255, %144 ], [ %.1178255, %80 ], [ %.1178255, %78 ]
  %.2173 = phi i32 [ %.1172257, %74 ], [ 1, %114 ], [ 1, %131 ], [ %.1172257, %129 ], [ %.1172257, %148 ], [ %.1172257, %144 ], [ %.1172257, %80 ], [ %.1172257, %78 ]
  %.1 = phi i32 [ %.0159258, %74 ], [ %.0159258, %114 ], [ %.0159258, %131 ], [ %.0159258, %129 ], [ %.0159258, %148 ], [ %.0159258, %144 ], [ %.0159258, %80 ], [ 0, %78 ]
  %161 = load ptr, ptr %65, align 8, !tbaa !23
  %162 = getelementptr inbounds i8, ptr %161, i64 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %163 = getelementptr inbounds [1 x %union.setelemT], ptr %162, i64 0, i64 %indvars.iv.next
  %164 = load ptr, ptr %163, align 8, !tbaa !19
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %74, !llvm.loop !31

._crit_edge:                                      ; preds = %160
  %.not215 = icmp eq i32 %.1, 0
  br i1 %.not215, label %.thread, label %.thread238

.thread:                                          ; preds = %61, %._crit_edge
  %.not249 = phi i1 [ false, %._crit_edge ], [ true, %61 ]
  %.3174237 = phi i32 [ %.2173, %._crit_edge ], [ %.0171265, %61 ]
  %.3180236 = phi ptr [ %.2179, %._crit_edge ], [ %.0177264, %61 ]
  %.3189235 = phi ptr [ %.2188, %._crit_edge ], [ %.0186263, %61 ]
  %.not216 = icmp eq i32 %.1162268, 0
  br i1 %.not216, label %172, label %165

165:                                              ; preds = %.thread
  %166 = load i32, ptr %40, align 8, !tbaa !15
  %167 = icmp sgt i32 %166, 0
  br i1 %167, label %168, label %172

168:                                              ; preds = %165
  %169 = load ptr, ptr %35, align 8, !tbaa !16
  %170 = getelementptr inbounds i8, ptr %.0269, i64 108
  %171 = load i32, ptr %170, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %169, i32 noundef 1063, ptr noundef nonnull @.str.47, i32 noundef %171) #3
  br label %172

172:                                              ; preds = %165, %168, %.thread
  %173 = load i32, ptr %43, align 8, !tbaa !33
  %174 = icmp eq i32 %173, 2
  br i1 %174, label %175, label %180

175:                                              ; preds = %172
  %176 = getelementptr inbounds i8, ptr %.0269, i64 40
  %177 = load ptr, ptr %176, align 8, !tbaa !34
  %.not219 = icmp eq ptr %177, null
  br i1 %.not219, label %178, label %188

178:                                              ; preds = %175
  %179 = call ptr @qh_getcentrum(ptr noundef nonnull %0, ptr noundef nonnull %.0269) #3
  store ptr %179, ptr %176, align 8, !tbaa !34
  br label %188

180:                                              ; preds = %172
  %.not217 = icmp eq i32 %.0167266, 0
  br i1 %.not217, label %181, label %186

181:                                              ; preds = %180
  %182 = load i32, ptr %50, align 8
  %183 = and i32 %182, 8192
  %.not218 = icmp eq i32 %183, 0
  br i1 %.not218, label %184, label %186

184:                                              ; preds = %181
  %185 = load ptr, ptr %35, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %185, i32 noundef 7062, ptr noundef nonnull @.str.48) #3
  br label %186

186:                                              ; preds = %184, %181, %180
  %.1168 = phi i32 [ 1, %180 ], [ 0, %181 ], [ 1, %184 ]
  %187 = call ptr @qh_getcentrum(ptr noundef nonnull %0, ptr noundef nonnull %.0269) #3
  br label %188

188:                                              ; preds = %175, %178, %186
  %.0175 = phi ptr [ %187, %186 ], [ %179, %178 ], [ %177, %175 ]
  %.2169 = phi i32 [ %.1168, %186 ], [ %.0167266, %178 ], [ %.0167266, %175 ]
  %.1165 = phi i32 [ 1, %186 ], [ %.0164267, %178 ], [ %.0164267, %175 ]
  %189 = getelementptr inbounds i8, ptr %.0269, i64 80
  %190 = load ptr, ptr %189, align 8, !tbaa !23
  %.not220 = icmp eq ptr %190, null
  br i1 %.not220, label %.loopexit, label %191

191:                                              ; preds = %188
  %192 = getelementptr inbounds i8, ptr %190, i64 8
  %193 = getelementptr inbounds i8, ptr %.0269, i64 108
  br label %.outer.outer

.outer.outer:                                     ; preds = %.outer.outer.backedge, %191
  %.0195.ph.ph = phi ptr [ %192, %191 ], [ %197, %.outer.outer.backedge ]
  %.4190.ph.ph = phi ptr [ %.3189235, %191 ], [ %.0269, %.outer.outer.backedge ]
  %.4181.ph.ph = phi ptr [ %.3180236, %191 ], [ %195, %.outer.outer.backedge ]
  %.4.ph.ph = phi i32 [ %.3174237, %191 ], [ 1, %.outer.outer.backedge ]
  br label %.outer

.outer:                                           ; preds = %.outer.outer, %217
  %.0195.ph = phi ptr [ %197, %217 ], [ %.0195.ph.ph, %.outer.outer ]
  br label %194

194:                                              ; preds = %.outer, %196
  %.0195 = phi ptr [ %197, %196 ], [ %.0195.ph, %.outer ]
  %195 = load ptr, ptr %.0195, align 8, !tbaa !35
  %.not221 = icmp eq ptr %195, null
  br i1 %.not221, label %.loopexit, label %196

196:                                              ; preds = %194
  %197 = getelementptr inbounds i8, ptr %.0195, i64 8
  %198 = getelementptr inbounds i8, ptr %195, i64 112
  %199 = load i32, ptr %198, align 8
  %200 = and i32 %199, 8192
  %201 = icmp eq i32 %200, 0
  %or.cond.not250 = or i1 %.not249, %201
  %202 = and i32 %199, 512
  %.not223 = icmp eq i32 %202, 0
  %or.cond229 = and i1 %.not223, %or.cond.not250
  br i1 %or.cond229, label %203, label %194, !llvm.loop !36

203:                                              ; preds = %196
  %204 = load i32, ptr %44, align 8, !tbaa !19
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %44, align 8, !tbaa !19
  call void @qh_distplane(ptr noundef %0, ptr noundef %.0175, ptr noundef nonnull %195, ptr noundef nonnull %4) #3
  %206 = load double, ptr %4, align 8, !tbaa !27
  %207 = load double, ptr %37, align 8, !tbaa !28
  %208 = fcmp ogt double %206, %207
  br i1 %208, label %209, label %217

209:                                              ; preds = %203
  %210 = load i32, ptr %42, align 8, !tbaa !19
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %42, align 8, !tbaa !19
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.42) #3
  %212 = load ptr, ptr %35, align 8, !tbaa !16
  %213 = load i32, ptr %193, align 4, !tbaa !22
  %214 = getelementptr inbounds i8, ptr %195, i64 108
  %215 = load i32, ptr %214, align 4, !tbaa !22
  %216 = load double, ptr %4, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %212, i32 noundef 6117, ptr noundef nonnull @.str.49, i32 noundef %213, i32 noundef %215, i32 noundef %213, double noundef %216, i32 noundef %215) #3
  br label %.outer.outer.backedge

217:                                              ; preds = %203
  %218 = fcmp ult double %206, 0.000000e+00
  br i1 %218, label %.outer, label %219, !llvm.loop !36

219:                                              ; preds = %217
  %220 = load i32, ptr %39, align 8, !tbaa !19
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %39, align 8, !tbaa !19
  call void @qh_joggle_restart(ptr noundef nonnull %0, ptr noundef nonnull @.str.44) #3
  %222 = load ptr, ptr %35, align 8, !tbaa !16
  %223 = load i32, ptr %193, align 4, !tbaa !22
  %224 = getelementptr inbounds i8, ptr %195, i64 108
  %225 = load i32, ptr %224, align 4, !tbaa !22
  %226 = load double, ptr %4, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %222, i32 noundef 6118, ptr noundef nonnull @.str.50, i32 noundef %223, i32 noundef %225, i32 noundef %223, double noundef %226, i32 noundef %225) #3
  br label %.outer.outer.backedge

.outer.outer.backedge:                            ; preds = %219, %209
  br label %.outer.outer, !llvm.loop !36

.loopexit:                                        ; preds = %194, %188
  %.6192 = phi ptr [ %.3189235, %188 ], [ %.4190.ph.ph, %194 ]
  %.6183 = phi ptr [ %.3180236, %188 ], [ %.4181.ph.ph, %194 ]
  %.6 = phi i32 [ %.3174237, %188 ], [ %.4.ph.ph, %194 ]
  %.not222 = icmp eq i32 %.1165, 0
  br i1 %.not222, label %.thread238, label %227

227:                                              ; preds = %.loopexit
  %228 = load i32, ptr %45, align 8, !tbaa !37
  call void @qh_memfree(ptr noundef %0, ptr noundef %.0175, i32 noundef %228) #3
  br label %.thread238

.thread238:                                       ; preds = %67, %64, %._crit_edge, %227, %.loopexit, %57, %53
  %.7193 = phi ptr [ %.0269, %53 ], [ %.0186263, %57 ], [ %.2188, %._crit_edge ], [ %.6192, %227 ], [ %.6192, %.loopexit ], [ %.0186263, %64 ], [ %.0186263, %67 ]
  %.7184 = phi ptr [ %.0177264, %53 ], [ %.0177264, %57 ], [ %.2179, %._crit_edge ], [ %.6183, %227 ], [ %.6183, %.loopexit ], [ %.0177264, %64 ], [ %.0177264, %67 ]
  %.7 = phi i32 [ 1, %53 ], [ %.0171265, %57 ], [ %.2173, %._crit_edge ], [ %.6, %227 ], [ %.6, %.loopexit ], [ %.0171265, %64 ], [ %.0171265, %67 ]
  %.3170 = phi i32 [ %.0167266, %53 ], [ %.0167266, %57 ], [ %.0167266, %._crit_edge ], [ %.2169, %227 ], [ %.2169, %.loopexit ], [ %.0167266, %64 ], [ %.0167266, %67 ]
  %.2166 = phi i32 [ %.0164267, %53 ], [ %.0164267, %57 ], [ %.0164267, %._crit_edge ], [ 1, %227 ], [ 0, %.loopexit ], [ %.0164267, %64 ], [ %.0164267, %67 ]
  %.3 = phi i32 [ %.1162268, %53 ], [ %.1162268, %57 ], [ %.1162268, %._crit_edge ], [ 0, %227 ], [ 0, %.loopexit ], [ %.1162268, %64 ], [ %.1162268, %67 ]
  %229 = load ptr, ptr %47, align 8, !tbaa !20
  %.not205 = icmp eq ptr %229, null
  br i1 %.not205, label %.critedge, label %46, !llvm.loop !38

.critedge:                                        ; preds = %46, %.thread238
  %.0186.lcssa = phi ptr [ %.0186263, %46 ], [ %.7193, %.thread238 ]
  %.0177.lcssa = phi ptr [ %.0177264, %46 ], [ %.7184, %.thread238 ]
  %.0171.lcssa = phi i32 [ %.0171265, %46 ], [ %.7, %.thread238 ]
  %.not207 = icmp eq i32 %.0171.lcssa, 0
  br i1 %.not207, label %.critedge.thread, label %230

230:                                              ; preds = %.critedge
  %231 = getelementptr inbounds i8, ptr %0, i64 96
  %232 = load i32, ptr %231, align 8, !tbaa !39
  %.not208 = icmp eq i32 %232, 0
  br i1 %.not208, label %233, label %.critedge.thread

233:                                              ; preds = %230
  call void @qh_errexit2(ptr noundef nonnull %0, i32 noundef 3, ptr noundef %.0186.lcssa, ptr noundef %.0177.lcssa) #3
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %34, %233, %230, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  ret void
}

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

declare ptr @qh_getcentrum(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @qh_memfree(ptr noundef, ptr noundef, i32 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 1724}
!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, !7, i64 188}
!18 = !{!6, !7, i64 484}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !11, i64 56}
!21 = !{!"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}
!22 = !{!21, !7, i64 108}
!23 = !{!21, !11, i64 80}
!24 = !{!21, !11, i64 64}
!25 = !{!26, !11, i64 16}
!26 = !{!"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}
!27 = !{!10, !10, i64 0}
!28 = !{!6, !10, i64 1784}
!29 = !{!26, !7, i64 32}
!30 = !{!6, !7, i64 2620}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!6, !7, i64 2616}
!34 = !{!21, !11, i64 40}
!35 = !{!11, !11, i64 0}
!36 = distinct !{!36, !32}
!37 = !{!6, !7, i64 2440}
!38 = distinct !{!38, !32}
!39 = !{!6, !7, i64 96}


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