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

@.str.151 = external hidden unnamed_addr constant [30 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [138 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [59 x i8], align 1

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

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

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

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

declare void @qh_settempfree(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

declare ptr @qh_newfacet(ptr noundef) #1

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

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

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

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

15:                                               ; preds = %1
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.qhT, ptr %17, i32 0, i32 158
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.qhT, ptr %20, i32 0, i32 119
  %22 = getelementptr inbounds [256 x i8], ptr %21, i64 0, i64 0
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.qhT, ptr %23, i32 0, i32 117
  %25 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %16, ptr noundef %19, i32 noundef 9350, ptr noundef @.str.151, ptr noundef @qh_version, ptr noundef %22, ptr noundef %25)
  %26 = call i32 @fflush(ptr noundef null)
  br label %27

27:                                               ; preds = %15, %1
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.qhT, ptr %28, i32 0, i32 190
  store i32 -1, ptr %29, align 4, !tbaa !17
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.qhT, ptr %30, i32 0, i32 245
  store i32 0, ptr %31, align 8, !tbaa !18
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.qhT, ptr %32, i32 0, i32 241
  store i32 0, ptr %33, align 8, !tbaa !19
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.qhT, ptr %34, i32 0, i32 242
  store i32 0, ptr %35, align 4, !tbaa !20
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.qhT, ptr %36, i32 0, i32 243
  store i32 0, ptr %37, align 8, !tbaa !21
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.qhT, ptr %38, i32 0, i32 244
  store i32 0, ptr %39, align 4, !tbaa !22
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.qhT, ptr %40, i32 0, i32 183
  store i32 0, ptr %41, align 4, !tbaa !23
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.qhT, ptr %42, i32 0, i32 184
  store i32 0, ptr %43, align 8, !tbaa !24
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.qhT, ptr %44, i32 0, i32 182
  store i32 0, ptr %45, align 8, !tbaa !25
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.qhT, ptr %46, i32 0, i32 218
  store i32 0, ptr %47, align 4, !tbaa !26
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.qhT, ptr %48, i32 0, i32 217
  store i32 0, ptr %49, align 8, !tbaa !27
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.qhT, ptr %50, i32 0, i32 198
  store i32 0, ptr %51, align 8, !tbaa !28
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.qhT, ptr %52, i32 0, i32 22
  %54 = load i32, ptr %53, align 4, !tbaa !29
  %55 = icmp sgt i32 %54, 0
  br i1 %55, label %56, label %65

56:                                               ; preds = %27
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.qhT, ptr %58, i32 0, i32 22
  %60 = load i32, ptr %59, align 4, !tbaa !29
  %61 = sub nsw i32 %60, 1
  %62 = call ptr @qh_point(ptr noundef %57, i32 noundef %61)
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.qhT, ptr %63, i32 0, i32 23
  store ptr %62, ptr %64, align 8, !tbaa !30
  br label %81

65:                                               ; preds = %27
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.qhT, ptr %66, i32 0, i32 22
  %68 = load i32, ptr %67, align 4, !tbaa !29
  %69 = icmp slt i32 %68, 0
  br i1 %69, label %70, label %80

70:                                               ; preds = %65
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.qhT, ptr %72, i32 0, i32 22
  %74 = load i32, ptr %73, align 4, !tbaa !29
  %75 = sub nsw i32 0, %74
  %76 = sub nsw i32 %75, 1
  %77 = call ptr @qh_point(ptr noundef %71, i32 noundef %76)
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.qhT, ptr %78, i32 0, i32 23
  store ptr %77, ptr %79, align 8, !tbaa !30
  br label %80

80:                                               ; preds = %70, %65
  br label %81

81:                                               ; preds = %80, %56
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.qhT, ptr %82, i32 0, i32 25
  %84 = load i32, ptr %83, align 4, !tbaa !31
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %86, label %95

86:                                               ; preds = %81
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.qhT, ptr %88, i32 0, i32 25
  %90 = load i32, ptr %89, align 4, !tbaa !31
  %91 = sub nsw i32 %90, 1
  %92 = call ptr @qh_point(ptr noundef %87, i32 noundef %91)
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.qhT, ptr %93, i32 0, i32 26
  store ptr %92, ptr %94, align 8, !tbaa !32
  br label %111

95:                                               ; preds = %81
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.qhT, ptr %96, i32 0, i32 25
  %98 = load i32, ptr %97, align 4, !tbaa !31
  %99 = icmp slt i32 %98, 0
  br i1 %99, label %100, label %110

100:                                              ; preds = %95
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.qhT, ptr %102, i32 0, i32 25
  %104 = load i32, ptr %103, align 4, !tbaa !31
  %105 = sub nsw i32 0, %104
  %106 = sub nsw i32 %105, 1
  %107 = call ptr @qh_point(ptr noundef %101, i32 noundef %106)
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.qhT, ptr %108, i32 0, i32 26
  store ptr %107, ptr %109, align 8, !tbaa !32
  br label %110

110:                                              ; preds = %100, %95
  br label %111

111:                                              ; preds = %110, %86
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.qhT, ptr %112, i32 0, i32 22
  %114 = load i32, ptr %113, align 4, !tbaa !29
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %135

116:                                              ; preds = %111
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.qhT, ptr %117, i32 0, i32 23
  %119 = load ptr, ptr %118, align 8, !tbaa !30
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.qhT, ptr %120, i32 0, i32 113
  %122 = load ptr, ptr %121, align 8, !tbaa !33
  %123 = icmp ult ptr %119, %122
  br i1 %123, label %159, label %124

124:                                              ; preds = %116
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.qhT, ptr %125, i32 0, i32 23
  %127 = load ptr, ptr %126, align 8, !tbaa !30
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.qhT, ptr %129, i32 0, i32 112
  %131 = load i32, ptr %130, align 8, !tbaa !34
  %132 = sub nsw i32 %131, 1
  %133 = call ptr @qh_point(ptr noundef %128, i32 noundef %132)
  %134 = icmp ugt ptr %127, %133
  br i1 %134, label %159, label %135

135:                                              ; preds = %124, %111
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.qhT, ptr %136, i32 0, i32 25
  %138 = load i32, ptr %137, align 4, !tbaa !31
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %169

140:                                              ; preds = %135
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.qhT, ptr %141, i32 0, i32 26
  %143 = load ptr, ptr %142, align 8, !tbaa !32
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.qhT, ptr %144, i32 0, i32 113
  %146 = load ptr, ptr %145, align 8, !tbaa !33
  %147 = icmp ult ptr %143, %146
  br i1 %147, label %159, label %148

148:                                              ; preds = %140
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.qhT, ptr %149, i32 0, i32 26
  %151 = load ptr, ptr %150, align 8, !tbaa !32
  %152 = load ptr, ptr %2, align 8, !tbaa !5
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.qhT, ptr %153, i32 0, i32 112
  %155 = load i32, ptr %154, align 8, !tbaa !34
  %156 = sub nsw i32 %155, 1
  %157 = call ptr @qh_point(ptr noundef %152, i32 noundef %156)
  %158 = icmp ugt ptr %151, %157
  br i1 %158, label %159, label %169

159:                                              ; preds = %148, %140, %124, %116
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.qhT, ptr %161, i32 0, i32 158
  %163 = load ptr, ptr %162, align 8, !tbaa !16
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.qhT, ptr %164, i32 0, i32 112
  %166 = load i32, ptr %165, align 8, !tbaa !34
  %167 = sub nsw i32 %166, 1
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %160, ptr noundef %163, i32 noundef 6150, ptr noundef @.str.152, i32 noundef %167)
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %168, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %169

169:                                              ; preds = %159, %148, %135
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = load ptr, ptr %2, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.qhT, ptr %171, i32 0, i32 113
  %173 = load ptr, ptr %172, align 8, !tbaa !33
  %174 = load ptr, ptr %2, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.qhT, ptr %174, i32 0, i32 112
  %176 = load i32, ptr %175, align 8, !tbaa !34
  %177 = load ptr, ptr %2, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.qhT, ptr %177, i32 0, i32 110
  %179 = load i32, ptr %178, align 8, !tbaa !35
  %180 = call ptr @qh_maxmin(ptr noundef %170, ptr noundef %173, i32 noundef %176, i32 noundef %179)
  store ptr %180, ptr %3, align 8, !tbaa !5
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.qhT, ptr %181, i32 0, i32 82
  %183 = load i32, ptr %182, align 8, !tbaa !36
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %205

185:                                              ; preds = %169
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.qhT, ptr %187, i32 0, i32 113
  %189 = load ptr, ptr %188, align 8, !tbaa !33
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.qhT, ptr %190, i32 0, i32 112
  %192 = load i32, ptr %191, align 8, !tbaa !34
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.qhT, ptr %193, i32 0, i32 110
  %195 = load i32, ptr %194, align 8, !tbaa !35
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.qhT, ptr %196, i32 0, i32 144
  %198 = load double, ptr %197, align 8, !tbaa !37
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.qhT, ptr %199, i32 0, i32 136
  %201 = load double, ptr %200, align 8, !tbaa !38
  %202 = load ptr, ptr %2, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.qhT, ptr %202, i32 0, i32 135
  %204 = load double, ptr %203, align 8, !tbaa !39
  call void @qh_scalelast(ptr noundef %186, ptr noundef %189, i32 noundef %192, i32 noundef %195, double noundef %198, double noundef %201, double noundef %204)
  br label %205

205:                                              ; preds = %185, %169
  %206 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_detroundoff(ptr noundef %206)
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.qhT, ptr %207, i32 0, i32 17
  %209 = load i32, ptr %208, align 8, !tbaa !40
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %314

211:                                              ; preds = %205
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.qhT, ptr %212, i32 0, i32 127
  %214 = load ptr, ptr %213, align 8, !tbaa !41
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.qhT, ptr %215, i32 0, i32 110
  %217 = load i32, ptr %216, align 8, !tbaa !35
  %218 = sub nsw i32 %217, 1
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds double, ptr %214, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !42
  %222 = fcmp ogt double %221, 0x7FDFFFFFFFFFFFFF
  br i1 %222, label %223, label %314

223:                                              ; preds = %211
  %224 = load ptr, ptr %2, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.qhT, ptr %224, i32 0, i32 128
  %226 = load ptr, ptr %225, align 8, !tbaa !43
  %227 = load ptr, ptr %2, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.qhT, ptr %227, i32 0, i32 110
  %229 = load i32, ptr %228, align 8, !tbaa !35
  %230 = sub nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %226, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !42
  %234 = fcmp olt double %233, 0xFFDFFFFFFFFFFFFF
  br i1 %234, label %235, label %314

235:                                              ; preds = %223
  store i32 29, ptr %6, align 4, !tbaa !44
  br label %236

236:                                              ; preds = %264, %235
  %237 = load i32, ptr %6, align 4, !tbaa !44
  %238 = add nsw i32 %237, -1
  store i32 %238, ptr %6, align 4, !tbaa !44
  %239 = icmp ne i32 %237, 0
  br i1 %239, label %240, label %265

240:                                              ; preds = %236
  %241 = load ptr, ptr %2, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.qhT, ptr %241, i32 0, i32 64
  %243 = load i32, ptr %6, align 4, !tbaa !44
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [29 x i32], ptr %242, i64 0, i64 %244
  %246 = load i32, ptr %245, align 4, !tbaa !44
  %247 = icmp eq i32 %246, 7
  br i1 %247, label %248, label %264

248:                                              ; preds = %240
  %249 = load ptr, ptr %2, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.qhT, ptr %249, i32 0, i32 19
  %251 = load i32, ptr %250, align 8, !tbaa !45
  %252 = icmp slt i32 %251, 0
  br i1 %252, label %253, label %264

253:                                              ; preds = %248
  %254 = load ptr, ptr %2, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.qhT, ptr %254, i32 0, i32 24
  %256 = load i32, ptr %255, align 8, !tbaa !46
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %264, label %258

258:                                              ; preds = %253
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.qhT, ptr %259, i32 0, i32 86
  %261 = load i32, ptr %260, align 8, !tbaa !47
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %264, label %263

263:                                              ; preds = %258
  br label %265

264:                                              ; preds = %258, %253, %248, %240
  br label %236, !llvm.loop !48

265:                                              ; preds = %263, %236
  %266 = load i32, ptr %6, align 4, !tbaa !44
  %267 = icmp slt i32 %266, 0
  br i1 %267, label %268, label %313

268:                                              ; preds = %265
  %269 = load ptr, ptr %2, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.qhT, ptr %269, i32 0, i32 99
  %271 = load i32, ptr %270, align 4, !tbaa !50
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %289

273:                                              ; preds = %268
  %274 = load ptr, ptr %2, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.qhT, ptr %274, i32 0, i32 131
  %276 = load double, ptr %275, align 8, !tbaa !51
  %277 = fmul double %276, 2.000000e+00
  %278 = load ptr, ptr %2, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.qhT, ptr %278, i32 0, i32 128
  %280 = load ptr, ptr %279, align 8, !tbaa !43
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.qhT, ptr %281, i32 0, i32 110
  %283 = load i32, ptr %282, align 8, !tbaa !35
  %284 = sub nsw i32 %283, 1
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds double, ptr %280, i64 %285
  store double %277, ptr %286, align 8, !tbaa !42
  %287 = load ptr, ptr %2, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.qhT, ptr %287, i32 0, i32 24
  store i32 1, ptr %288, align 8, !tbaa !46
  br label %312

289:                                              ; preds = %268
  %290 = load ptr, ptr %2, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.qhT, ptr %290, i32 0, i32 131
  %292 = load double, ptr %291, align 8, !tbaa !51
  %293 = fneg double %292
  %294 = fmul double %293, 2.000000e+00
  %295 = load ptr, ptr %2, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.qhT, ptr %295, i32 0, i32 127
  %297 = load ptr, ptr %296, align 8, !tbaa !41
  %298 = load ptr, ptr %2, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.qhT, ptr %298, i32 0, i32 110
  %300 = load i32, ptr %299, align 8, !tbaa !35
  %301 = sub nsw i32 %300, 1
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %297, i64 %302
  store double %294, ptr %303, align 8, !tbaa !42
  %304 = load ptr, ptr %2, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.qhT, ptr %304, i32 0, i32 24
  %306 = load i32, ptr %305, align 8, !tbaa !46
  %307 = icmp ne i32 %306, 0
  br i1 %307, label %311, label %308

308:                                              ; preds = %289
  %309 = load ptr, ptr %2, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.qhT, ptr %309, i32 0, i32 86
  store i32 1, ptr %310, align 8, !tbaa !47
  br label %311

311:                                              ; preds = %308, %289
  br label %312

312:                                              ; preds = %311, %273
  br label %313

313:                                              ; preds = %312, %265
  br label %314

314:                                              ; preds = %313, %223, %211, %205
  %315 = load ptr, ptr %2, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.qhT, ptr %315, i32 0, i32 29
  %317 = load i32, ptr %316, align 8, !tbaa !52
  %318 = icmp sge i32 %317, 4
  br i1 %318, label %319, label %324

319:                                              ; preds = %314
  %320 = load ptr, ptr %2, align 8, !tbaa !5
  %321 = load ptr, ptr %2, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.qhT, ptr %321, i32 0, i32 158
  %323 = load ptr, ptr %322, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %320, ptr noundef %323, i32 noundef 4091, ptr noundef @.str.153)
  br label %324

324:                                              ; preds = %319, %314
  %325 = load ptr, ptr %2, align 8, !tbaa !5
  %326 = call ptr @qh_newfacet(ptr noundef %325)
  %327 = load ptr, ptr %2, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.qhT, ptr %327, i32 0, i32 164
  store ptr %326, ptr %328, align 8, !tbaa !53
  %329 = load ptr, ptr %2, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.qhT, ptr %329, i32 0, i32 166
  store ptr %326, ptr %330, align 8, !tbaa !54
  %331 = load ptr, ptr %2, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.qhT, ptr %331, i32 0, i32 163
  store ptr %326, ptr %332, align 8, !tbaa !55
  %333 = load ptr, ptr %2, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.qhT, ptr %333, i32 0, i32 168
  store i32 0, ptr %334, align 8, !tbaa !56
  %335 = load ptr, ptr %2, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.qhT, ptr %335, i32 0, i32 179
  store i32 0, ptr %336, align 4, !tbaa !57
  %337 = load ptr, ptr %2, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.qhT, ptr %337, i32 0, i32 178
  store i32 0, ptr %338, align 8, !tbaa !58
  %339 = load ptr, ptr %2, align 8, !tbaa !5
  %340 = call ptr @qh_newvertex(ptr noundef %339, ptr noundef null)
  %341 = load ptr, ptr %2, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.qhT, ptr %341, i32 0, i32 176
  store ptr %340, ptr %342, align 8, !tbaa !59
  %343 = load ptr, ptr %2, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.qhT, ptr %343, i32 0, i32 177
  store ptr %340, ptr %344, align 8, !tbaa !60
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.qhT, ptr %345, i32 0, i32 175
  store ptr %340, ptr %346, align 8, !tbaa !61
  %347 = load ptr, ptr %2, align 8, !tbaa !5
  %348 = load ptr, ptr %2, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.qhT, ptr %348, i32 0, i32 110
  %350 = load i32, ptr %349, align 8, !tbaa !35
  %351 = load ptr, ptr %3, align 8, !tbaa !5
  %352 = load ptr, ptr %2, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.qhT, ptr %352, i32 0, i32 113
  %354 = load ptr, ptr %353, align 8, !tbaa !33
  %355 = load ptr, ptr %2, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.qhT, ptr %355, i32 0, i32 112
  %357 = load i32, ptr %356, align 8, !tbaa !34
  %358 = call ptr @qh_initialvertices(ptr noundef %347, i32 noundef %350, ptr noundef %351, ptr noundef %354, i32 noundef %357)
  store ptr %358, ptr %4, align 8, !tbaa !5
  %359 = load ptr, ptr %2, align 8, !tbaa !5
  %360 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_initialhull(ptr noundef %359, ptr noundef %360)
  %361 = load ptr, ptr %2, align 8, !tbaa !5
  %362 = load ptr, ptr %4, align 8, !tbaa !5
  %363 = load ptr, ptr %2, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.qhT, ptr %363, i32 0, i32 113
  %365 = load ptr, ptr %364, align 8, !tbaa !33
  %366 = load ptr, ptr %2, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.qhT, ptr %366, i32 0, i32 112
  %368 = load i32, ptr %367, align 8, !tbaa !34
  call void @qh_partitionall(ptr noundef %361, ptr noundef %362, ptr noundef %365, i32 noundef %368)
  %369 = load ptr, ptr %2, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.qhT, ptr %369, i32 0, i32 61
  %371 = load i32, ptr %370, align 8, !tbaa !62
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %383, label %373

373:                                              ; preds = %324
  %374 = load ptr, ptr %2, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.qhT, ptr %374, i32 0, i32 92
  %376 = load i32, ptr %375, align 8, !tbaa !63
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %383, label %378

378:                                              ; preds = %373
  %379 = load ptr, ptr %2, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.qhT, ptr %379, i32 0, i32 29
  %381 = load i32, ptr %380, align 8, !tbaa !52
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %383, label %439

383:                                              ; preds = %378, %373, %324
  %384 = load ptr, ptr %2, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.qhT, ptr %384, i32 0, i32 92
  %386 = load i32, ptr %385, align 8, !tbaa !63
  %387 = icmp ne i32 %386, 0
  br i1 %387, label %393, label %388

388:                                              ; preds = %383
  %389 = load ptr, ptr %2, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.qhT, ptr %389, i32 0, i32 29
  %391 = load i32, ptr %390, align 8, !tbaa !52
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %393, label %431

393:                                              ; preds = %388, %383
  %394 = load ptr, ptr %2, align 8, !tbaa !5
  %395 = load ptr, ptr %2, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.qhT, ptr %395, i32 0, i32 158
  %397 = load ptr, ptr %396, align 8, !tbaa !16
  %398 = load ptr, ptr %2, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.qhT, ptr %398, i32 0, i32 92
  %400 = load i32, ptr %399, align 8, !tbaa !63
  %401 = load ptr, ptr %2, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.qhT, ptr %401, i32 0, i32 29
  %403 = load i32, ptr %402, align 8, !tbaa !52
  %404 = load ptr, ptr %2, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.qhT, ptr %404, i32 0, i32 94
  %406 = load i32, ptr %405, align 8, !tbaa !64
  %407 = load ptr, ptr %2, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.qhT, ptr %407, i32 0, i32 96
  %409 = load i32, ptr %408, align 8, !tbaa !65
  %410 = load ptr, ptr %2, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.qhT, ptr %410, i32 0, i32 95
  %412 = load double, ptr %411, align 8, !tbaa !66
  %413 = load ptr, ptr %2, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.qhT, ptr %413, i32 0, i32 169
  %415 = load i32, ptr %414, align 4, !tbaa !67
  %416 = load ptr, ptr %2, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.qhT, ptr %416, i32 0, i32 171
  %418 = load i32, ptr %417, align 8, !tbaa !68
  %419 = load ptr, ptr %2, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.qhT, ptr %419, i32 0, i32 173
  %421 = load i32, ptr %420, align 8, !tbaa !69
  %422 = load ptr, ptr %2, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.qhT, ptr %422, i32 0, i32 93
  %424 = load i32, ptr %423, align 4, !tbaa !70
  %425 = load ptr, ptr %2, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.qhT, ptr %425, i32 0, i32 119
  %427 = getelementptr inbounds [256 x i8], ptr %426, i64 0, i64 0
  %428 = load ptr, ptr %2, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.qhT, ptr %428, i32 0, i32 117
  %430 = getelementptr inbounds [256 x i8], ptr %429, i64 0, i64 0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %394, ptr noundef %397, i32 noundef 8103, ptr noundef @.str.154, i32 noundef %400, i32 noundef %403, i32 noundef %406, i32 noundef %409, double noundef %412, i32 noundef %415, i32 noundef %418, i32 noundef %421, i32 noundef %424, ptr noundef %427, ptr noundef %430)
  br label %431

431:                                              ; preds = %393, %388
  %432 = load ptr, ptr %2, align 8, !tbaa !5
  %433 = load ptr, ptr %2, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.qhT, ptr %433, i32 0, i32 158
  %435 = load ptr, ptr %434, align 8, !tbaa !16
  %436 = load ptr, ptr %2, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.qhT, ptr %436, i32 0, i32 120
  %438 = getelementptr inbounds [512 x i8], ptr %437, i64 0, i64 0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %432, ptr noundef %435, i32 noundef 8104, ptr noundef @.str.155, ptr noundef @qh_version, ptr noundef %438)
  br label %439

439:                                              ; preds = %431, %378
  %440 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_resetlists(ptr noundef %440, i32 noundef 0, i32 noundef 1)
  %441 = load ptr, ptr %2, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.qhT, ptr %441, i32 0, i32 163
  %443 = load ptr, ptr %442, align 8, !tbaa !55
  %444 = load ptr, ptr %2, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.qhT, ptr %444, i32 0, i32 165
  store ptr %443, ptr %445, align 8, !tbaa !71
  %446 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_furthestnext(ptr noundef %446)
  %447 = load ptr, ptr %2, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.qhT, ptr %447, i32 0, i32 52
  %449 = load i32, ptr %448, align 4, !tbaa !72
  %450 = icmp ne i32 %449, 0
  br i1 %450, label %451, label %462

451:                                              ; preds = %439
  %452 = load ptr, ptr %2, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.qhT, ptr %452, i32 0, i32 15
  %454 = load double, ptr %453, align 8, !tbaa !73
  %455 = load ptr, ptr %2, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.qhT, ptr %455, i32 0, i32 133
  store double %454, ptr %456, align 8, !tbaa !74
  %457 = load ptr, ptr %2, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.qhT, ptr %457, i32 0, i32 40
  %459 = load double, ptr %458, align 8, !tbaa !75
  %460 = load ptr, ptr %2, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.qhT, ptr %460, i32 0, i32 132
  store double %459, ptr %461, align 8, !tbaa !76
  br label %462

462:                                              ; preds = %451, %439
  %463 = load ptr, ptr %2, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.qhT, ptr %463, i32 0, i32 48
  %465 = load i32, ptr %464, align 4, !tbaa !77
  %466 = icmp ne i32 %465, 0
  br i1 %466, label %467, label %578

467:                                              ; preds = %462
  %468 = load ptr, ptr %2, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.qhT, ptr %468, i32 0, i32 25
  %470 = load i32, ptr %469, align 4, !tbaa !31
  %471 = icmp sgt i32 %470, 0
  br i1 %471, label %472, label %483

472:                                              ; preds = %467
  %473 = load ptr, ptr %2, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.qhT, ptr %473, i32 0, i32 39
  %475 = load i32, ptr %474, align 4, !tbaa !78
  %476 = icmp ne i32 %475, 0
  br i1 %476, label %477, label %483

477:                                              ; preds = %472
  %478 = load ptr, ptr %2, align 8, !tbaa !5
  %479 = load ptr, ptr %2, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.qhT, ptr %479, i32 0, i32 158
  %481 = load ptr, ptr %480, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %478, ptr noundef %481, i32 noundef 6151, ptr noundef @.str.156)
  %482 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %482, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %483

483:                                              ; preds = %477, %472, %467
  %484 = load ptr, ptr %2, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.qhT, ptr %484, i32 0, i32 24
  %486 = load i32, ptr %485, align 8, !tbaa !46
  %487 = icmp ne i32 %486, 0
  br i1 %487, label %514, label %488

488:                                              ; preds = %483
  %489 = load ptr, ptr %2, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.qhT, ptr %489, i32 0, i32 22
  %491 = load i32, ptr %490, align 4, !tbaa !29
  %492 = icmp ne i32 %491, 0
  br i1 %492, label %514, label %493

493:                                              ; preds = %488
  %494 = load ptr, ptr %2, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.qhT, ptr %494, i32 0, i32 37
  %496 = load i32, ptr %495, align 4, !tbaa !79
  %497 = icmp ne i32 %496, 0
  br i1 %497, label %508, label %498

498:                                              ; preds = %493
  %499 = load ptr, ptr %2, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.qhT, ptr %499, i32 0, i32 52
  %501 = load i32, ptr %500, align 4, !tbaa !72
  %502 = icmp ne i32 %501, 0
  br i1 %502, label %508, label %503

503:                                              ; preds = %498
  %504 = load ptr, ptr %2, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.qhT, ptr %504, i32 0, i32 26
  %506 = load ptr, ptr %505, align 8, !tbaa !32
  %507 = icmp ne ptr %506, null
  br i1 %507, label %514, label %508

508:                                              ; preds = %503, %498, %493
  %509 = load ptr, ptr %2, align 8, !tbaa !5
  %510 = load ptr, ptr %2, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.qhT, ptr %510, i32 0, i32 158
  %512 = load ptr, ptr %511, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %509, ptr noundef %512, i32 noundef 6152, ptr noundef @.str.157)
  %513 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %513, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %514

514:                                              ; preds = %508, %503, %488, %483
  %515 = load ptr, ptr %2, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.qhT, ptr %515, i32 0, i32 25
  %517 = load i32, ptr %516, align 4, !tbaa !31
  %518 = icmp sgt i32 %517, 0
  br i1 %518, label %519, label %572

519:                                              ; preds = %514
  %520 = load ptr, ptr %2, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.qhT, ptr %520, i32 0, i32 39
  %522 = load i32, ptr %521, align 4, !tbaa !78
  %523 = icmp ne i32 %522, 0
  br i1 %523, label %572, label %524

524:                                              ; preds = %519
  %525 = load ptr, ptr %2, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.qhT, ptr %525, i32 0, i32 26
  %527 = load ptr, ptr %526, align 8, !tbaa !32
  %528 = load ptr, ptr %4, align 8, !tbaa !5
  %529 = call ptr @qh_isvertex(ptr noundef %527, ptr noundef %528)
  %530 = icmp ne ptr %529, null
  br i1 %530, label %572, label %531

531:                                              ; preds = %524
  %532 = load ptr, ptr %2, align 8, !tbaa !5
  %533 = load ptr, ptr %2, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.qhT, ptr %533, i32 0, i32 26
  %535 = load ptr, ptr %534, align 8, !tbaa !32
  %536 = load ptr, ptr %2, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.qhT, ptr %536, i32 0, i32 163
  %538 = load ptr, ptr %537, align 8, !tbaa !55
  %539 = call ptr @qh_findbestnew(ptr noundef %532, ptr noundef %535, ptr noundef %538, ptr noundef %8, i32 noundef 0, ptr noundef %9, ptr noundef %7)
  store ptr %539, ptr %5, align 8, !tbaa !5
  %540 = load i32, ptr %7, align 4, !tbaa !44
  %541 = load ptr, ptr %2, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.qhT, ptr %541, i32 0, i32 258
  %543 = getelementptr inbounds %struct.qhstatT, ptr %542, i32 0, i32 0
  %544 = getelementptr inbounds [249 x %union.intrealT], ptr %543, i64 0, i64 59
  %545 = load i32, ptr %544, align 8, !tbaa !80
  %546 = add nsw i32 %545, %540
  store i32 %546, ptr %544, align 8, !tbaa !80
  %547 = load i32, ptr %9, align 4, !tbaa !44
  %548 = icmp ne i32 %547, 0
  br i1 %548, label %560, label %549

549:                                              ; preds = %531
  %550 = load ptr, ptr %2, align 8, !tbaa !5
  %551 = load ptr, ptr %2, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.qhT, ptr %551, i32 0, i32 158
  %553 = load ptr, ptr %552, align 8, !tbaa !16
  %554 = load ptr, ptr %2, align 8, !tbaa !5
  %555 = load ptr, ptr %2, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.qhT, ptr %555, i32 0, i32 26
  %557 = load ptr, ptr %556, align 8, !tbaa !32
  %558 = call i32 @qh_pointid(ptr noundef %554, ptr noundef %557)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %550, ptr noundef %553, i32 noundef 6153, ptr noundef @.str.158, i32 noundef %558)
  %559 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %559, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %560

560:                                              ; preds = %549, %531
  %561 = load ptr, ptr %2, align 8, !tbaa !5
  %562 = load ptr, ptr %2, align 8, !tbaa !5
  %563 = getelementptr inbounds %struct.qhT, ptr %562, i32 0, i32 26
  %564 = load ptr, ptr %563, align 8, !tbaa !32
  %565 = load ptr, ptr %5, align 8, !tbaa !5
  %566 = call i32 @qh_addpoint(ptr noundef %561, ptr noundef %564, ptr noundef %565, i32 noundef 0)
  %567 = icmp ne i32 %566, 0
  br i1 %567, label %571, label %568

568:                                              ; preds = %560
  %569 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %569, ptr noundef %4)
  %570 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %570, ptr noundef %3)
  store i32 1, ptr %10, align 4
  br label %591

571:                                              ; preds = %560
  br label %572

572:                                              ; preds = %571, %524, %519, %514
  %573 = load ptr, ptr %2, align 8, !tbaa !5
  %574 = load ptr, ptr %2, align 8, !tbaa !5
  %575 = getelementptr inbounds %struct.qhT, ptr %574, i32 0, i32 163
  %576 = load ptr, ptr %575, align 8, !tbaa !55
  %577 = call i32 @qh_findgood(ptr noundef %573, ptr noundef %576, i32 noundef 0)
  br label %578

578:                                              ; preds = %572, %462
  %579 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %579, ptr noundef %4)
  %580 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %580, ptr noundef %3)
  %581 = load ptr, ptr %2, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.qhT, ptr %581, i32 0, i32 29
  %583 = load i32, ptr %582, align 8, !tbaa !52
  %584 = icmp sge i32 %583, 1
  br i1 %584, label %585, label %590

585:                                              ; preds = %578
  %586 = load ptr, ptr %2, align 8, !tbaa !5
  %587 = load ptr, ptr %2, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.qhT, ptr %587, i32 0, i32 158
  %589 = load ptr, ptr %588, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %586, ptr noundef %589, i32 noundef 1030, ptr noundef @.str.159)
  br label %590

590:                                              ; preds = %585, %578
  store i32 0, ptr %10, align 4
  br label %591

591:                                              ; preds = %590, %568
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  %592 = load i32, ptr %10, align 4
  switch i32 %592, label %594 [
    i32 0, label %593
    i32 1, label %593
  ]

593:                                              ; preds = %591, %591
  ret void

594:                                              ; preds = %591
  unreachable
}

declare i32 @fflush(ptr noundef) #1

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

declare void @qh_scalelast(ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef) #1

declare void @qh_detroundoff(ptr noundef) #1

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

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

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

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

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

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

declare i32 @qh_addpoint(ptr noundef, 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, !11, i64 424}
!10 = !{!"qhT", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !12, i64 64, !12, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !6, i64 104, !11, i64 112, !11, i64 116, !6, i64 120, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !12, i64 160, !12, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !12, i64 200, !11, i64 208, !11, i64 212, !12, i64 216, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !7, i64 300, !11, i64 416, !11, i64 420, !11, i64 424, !11, i64 428, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444, !12, i64 448, !12, i64 456, !12, i64 464, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !11, i64 512, !11, i64 516, !11, i64 520, !11, i64 524, !11, i64 528, !11, i64 532, !11, i64 536, !11, i64 540, !11, i64 544, !12, i64 552, !11, i64 560, !11, i64 564, !11, i64 568, !11, i64 572, !11, i64 576, !11, i64 580, !11, i64 584, !11, i64 588, !12, i64 592, !11, i64 600, !6, i64 608, !6, i64 616, !11, i64 624, !11, i64 628, !11, i64 632, !11, i64 636, !11, i64 640, !6, i64 648, !11, i64 656, !6, i64 664, !11, i64 672, !7, i64 676, !11, i64 932, !7, i64 936, !7, i64 1192, !11, i64 1704, !11, i64 1708, !11, i64 1712, !11, i64 1716, !11, i64 1720, !11, i64 1724, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !12, i64 1760, !12, i64 1768, !12, i64 1776, !12, i64 1784, !12, i64 1792, !12, i64 1800, !12, i64 1808, !12, i64 1816, !12, i64 1824, !12, i64 1832, !12, i64 1840, !12, i64 1848, !12, i64 1856, !12, i64 1864, !6, i64 1872, !12, i64 1880, !12, i64 1888, !12, i64 1896, !12, i64 1904, !11, 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, !11, i64 2440, !11, i64 2444, !11, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !11, i64 2496, !11, i64 2500, !6, i64 2504, !11, i64 2512, !6, i64 2520, !11, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !11, i64 2568, !11, i64 2572, !11, i64 2576, !11, i64 2580, !11, i64 2584, !11, i64 2588, !11, i64 2592, !11, i64 2596, !13, i64 2600, !11, i64 2608, !11, i64 2612, !11, i64 2616, !11, i64 2620, !11, i64 2624, !6, i64 2632, !6, i64 2640, !11, i64 2648, !11, i64 2652, !11, i64 2656, !12, i64 2664, !11, i64 2672, !12, i64 2680, !12, i64 2688, !12, i64 2696, !11, i64 2704, !11, i64 2708, !11, i64 2712, !11, i64 2716, !11, i64 2720, !12, i64 2728, !12, i64 2736, !11, i64 2744, !11, i64 2748, !11, i64 2752, !11, i64 2756, !11, i64 2760, !11, i64 2764, !12, i64 2768, !12, i64 2776, !11, i64 2784, !11, i64 2788, !11, i64 2792, !11, 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, !11, i64 2872, !6, i64 2880, !6, i64 2888, !11, i64 2896, !11, i64 2900, !11, i64 2904, !6, i64 2912, !12, i64 2920, !12, i64 2928, !12, i64 2936, !12, i64 2944, !11, i64 2952, !11, i64 2956, !11, i64 2960, !11, i64 2964, !11, i64 2968, !11, i64 2972, !6, i64 2976, !11, i64 2984, !11, i64 2988, !7, i64 2992, !7, i64 3192, !11, i64 3232, !12, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !14, i64 3272, !15, i64 3424}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"qhmemT", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144}
!15 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !11, i64 5320, !11, i64 5324, !11, i64 5328, !11, i64 5332, !12, i64 5336}
!16 = !{!10, !6, i64 2424}
!17 = !{!10, !11, i64 2620}
!18 = !{!10, !11, i64 2968}
!19 = !{!10, !11, i64 2952}
!20 = !{!10, !11, i64 2956}
!21 = !{!10, !11, i64 2960}
!22 = !{!10, !11, i64 2964}
!23 = !{!10, !11, i64 2588}
!24 = !{!10, !11, i64 2592}
!25 = !{!10, !11, i64 2584}
!26 = !{!10, !11, i64 2788}
!27 = !{!10, !11, i64 2784}
!28 = !{!10, !11, i64 2672}
!29 = !{!10, !11, i64 100}
!30 = !{!10, !6, i64 104}
!31 = !{!10, !11, i64 116}
!32 = !{!10, !6, i64 120}
!33 = !{!10, !6, i64 648}
!34 = !{!10, !11, i64 640}
!35 = !{!10, !11, i64 632}
!36 = !{!10, !11, i64 496}
!37 = !{!10, !12, i64 1864}
!38 = !{!10, !12, i64 1800}
!39 = !{!10, !12, i64 1792}
!40 = !{!10, !11, i64 80}
!41 = !{!10, !6, i64 1728}
!42 = !{!12, !12, i64 0}
!43 = !{!10, !6, i64 1736}
!44 = !{!11, !11, i64 0}
!45 = !{!10, !11, i64 88}
!46 = !{!10, !11, i64 112}
!47 = !{!10, !11, i64 512}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = !{!10, !11, i64 572}
!51 = !{!10, !12, i64 1760}
!52 = !{!10, !11, i64 136}
!53 = !{!10, !6, i64 2464}
!54 = !{!10, !6, i64 2480}
!55 = !{!10, !6, i64 2456}
!56 = !{!10, !11, i64 2496}
!57 = !{!10, !11, i64 2572}
!58 = !{!10, !11, i64 2568}
!59 = !{!10, !6, i64 2552}
!60 = !{!10, !6, i64 2560}
!61 = !{!10, !6, i64 2544}
!62 = !{!10, !11, i64 288}
!63 = !{!10, !11, i64 536}
!64 = !{!10, !11, i64 544}
!65 = !{!10, !11, i64 560}
!66 = !{!10, !12, i64 552}
!67 = !{!10, !11, i64 2500}
!68 = !{!10, !11, i64 2512}
!69 = !{!10, !11, i64 2528}
!70 = !{!10, !11, i64 540}
!71 = !{!10, !6, i64 2472}
!72 = !{!10, !11, i64 252}
!73 = !{!10, !12, i64 64}
!74 = !{!10, !12, i64 1776}
!75 = !{!10, !12, i64 192}
!76 = !{!10, !12, i64 1768}
!77 = !{!10, !11, i64 236}
!78 = !{!10, !11, i64 188}
!79 = !{!10, !11, i64 180}
!80 = !{!7, !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.151 = external hidden unnamed_addr constant [30 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [138 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [59 x i8], align 1

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

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

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

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

declare void @qh_settempfree(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

declare ptr @qh_newfacet(ptr noundef) local_unnamed_addr #1

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

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

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

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

9:                                                ; preds = %1
  %10 = getelementptr inbounds i8, ptr %0, i64 2424
  %11 = load ptr, ptr %10, align 8, !tbaa !15
  %12 = getelementptr inbounds i8, ptr %0, i64 936
  %13 = getelementptr inbounds i8, ptr %0, i64 676
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %11, i32 noundef 9350, ptr noundef nonnull @.str.151, ptr noundef nonnull @qh_version, ptr noundef nonnull %12, ptr noundef nonnull %13) #5
  %14 = tail call i32 @fflush(ptr noundef null)
  br label %15

15:                                               ; preds = %9, %1
  %16 = getelementptr inbounds i8, ptr %0, i64 2620
  store i32 -1, ptr %16, align 4, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %0, i64 2952
  %18 = getelementptr inbounds i8, ptr %0, i64 2588
  store i32 0, ptr %18, align 4, !tbaa !17
  %19 = getelementptr inbounds i8, ptr %0, i64 2592
  store i32 0, ptr %19, align 8, !tbaa !18
  %20 = getelementptr inbounds i8, ptr %0, i64 2584
  store i32 0, ptr %20, align 8, !tbaa !19
  %21 = getelementptr inbounds i8, ptr %0, i64 2788
  store i32 0, ptr %21, align 4, !tbaa !20
  %22 = getelementptr inbounds i8, ptr %0, i64 2784
  store i32 0, ptr %22, align 8, !tbaa !21
  %23 = getelementptr inbounds i8, ptr %0, i64 2672
  store i32 0, ptr %23, align 8, !tbaa !22
  %24 = getelementptr inbounds i8, ptr %0, i64 100
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %17, i8 0, i64 20, i1 false)
  %25 = load i32, ptr %24, align 4, !tbaa !23
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %27, label %29

27:                                               ; preds = %15
  %28 = add nsw i32 %25, -1
  br label %.sink.split

29:                                               ; preds = %15
  %30 = icmp slt i32 %25, 0
  br i1 %30, label %31, label %35

31:                                               ; preds = %29
  %32 = xor i32 %25, -1
  br label %.sink.split

.sink.split:                                      ; preds = %27, %31
  %.sink220 = phi i32 [ %32, %31 ], [ %28, %27 ]
  %33 = tail call ptr @qh_point(ptr noundef nonnull %0, i32 noundef %.sink220)
  %34 = getelementptr inbounds i8, ptr %0, i64 104
  store ptr %33, ptr %34, align 8, !tbaa !24
  br label %35

35:                                               ; preds = %.sink.split, %29
  %36 = getelementptr inbounds i8, ptr %0, i64 116
  %37 = load i32, ptr %36, align 4, !tbaa !25
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %39, label %41

39:                                               ; preds = %35
  %40 = add nsw i32 %37, -1
  br label %.sink.split221

41:                                               ; preds = %35
  %42 = icmp slt i32 %37, 0
  br i1 %42, label %43, label %47

43:                                               ; preds = %41
  %44 = xor i32 %37, -1
  br label %.sink.split221

.sink.split221:                                   ; preds = %39, %43
  %.sink223 = phi i32 [ %44, %43 ], [ %40, %39 ]
  %45 = tail call ptr @qh_point(ptr noundef nonnull %0, i32 noundef %.sink223)
  %46 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %45, ptr %46, align 8, !tbaa !26
  br label %47

47:                                               ; preds = %.sink.split221, %41
  %48 = load i32, ptr %24, align 4, !tbaa !23
  %.not178 = icmp eq i32 %48, 0
  br i1 %.not178, label %61, label %49

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %0, i64 104
  %51 = load ptr, ptr %50, align 8, !tbaa !24
  %52 = getelementptr inbounds i8, ptr %0, i64 648
  %53 = load ptr, ptr %52, align 8, !tbaa !27
  %54 = icmp ult ptr %51, %53
  br i1 %54, label %75, label %55

55:                                               ; preds = %49
  %56 = getelementptr inbounds i8, ptr %0, i64 640
  %57 = load i32, ptr %56, align 8, !tbaa !28
  %58 = add nsw i32 %57, -1
  %59 = tail call ptr @qh_point(ptr noundef nonnull %0, i32 noundef %58)
  %60 = icmp ugt ptr %51, %59
  br i1 %60, label %75, label %61

61:                                               ; preds = %55, %47
  %62 = load i32, ptr %36, align 4, !tbaa !25
  %.not179 = icmp eq i32 %62, 0
  br i1 %.not179, label %81, label %63

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %0, i64 120
  %65 = load ptr, ptr %64, align 8, !tbaa !26
  %66 = getelementptr inbounds i8, ptr %0, i64 648
  %67 = load ptr, ptr %66, align 8, !tbaa !27
  %68 = icmp ult ptr %65, %67
  br i1 %68, label %75, label %69

69:                                               ; preds = %63
  %70 = getelementptr inbounds i8, ptr %0, i64 640
  %71 = load i32, ptr %70, align 8, !tbaa !28
  %72 = add nsw i32 %71, -1
  %73 = tail call ptr @qh_point(ptr noundef nonnull %0, i32 noundef %72)
  %74 = icmp ugt ptr %65, %73
  br i1 %74, label %75, label %81

75:                                               ; preds = %69, %63, %55, %49
  %76 = getelementptr inbounds i8, ptr %0, i64 2424
  %77 = load ptr, ptr %76, align 8, !tbaa !15
  %78 = getelementptr inbounds i8, ptr %0, i64 640
  %79 = load i32, ptr %78, align 8, !tbaa !28
  %80 = add nsw i32 %79, -1
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %77, i32 noundef 6150, ptr noundef nonnull @.str.152, i32 noundef %80) #5
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %81

81:                                               ; preds = %75, %69, %61
  %82 = getelementptr inbounds i8, ptr %0, i64 648
  %83 = load ptr, ptr %82, align 8, !tbaa !27
  %84 = getelementptr inbounds i8, ptr %0, i64 640
  %85 = load i32, ptr %84, align 8, !tbaa !28
  %86 = getelementptr inbounds i8, ptr %0, i64 632
  %87 = load i32, ptr %86, align 8, !tbaa !29
  %88 = tail call ptr @qh_maxmin(ptr noundef nonnull %0, ptr noundef %83, i32 noundef %85, i32 noundef %87) #5
  store ptr %88, ptr %2, align 8, !tbaa !30
  %89 = getelementptr inbounds i8, ptr %0, i64 496
  %90 = load i32, ptr %89, align 8, !tbaa !31
  %.not180 = icmp eq i32 %90, 0
  br i1 %.not180, label %101, label %91

91:                                               ; preds = %81
  %92 = load ptr, ptr %82, align 8, !tbaa !27
  %93 = load i32, ptr %84, align 8, !tbaa !28
  %94 = load i32, ptr %86, align 8, !tbaa !29
  %95 = getelementptr inbounds i8, ptr %0, i64 1864
  %96 = load double, ptr %95, align 8, !tbaa !32
  %97 = getelementptr inbounds i8, ptr %0, i64 1800
  %98 = load double, ptr %97, align 8, !tbaa !33
  %99 = getelementptr inbounds i8, ptr %0, i64 1792
  %100 = load double, ptr %99, align 8, !tbaa !34
  tail call void @qh_scalelast(ptr noundef nonnull %0, ptr noundef %92, i32 noundef %93, i32 noundef %94, double noundef %96, double noundef %98, double noundef %100) #5
  br label %101

101:                                              ; preds = %91, %81
  tail call void @qh_detroundoff(ptr noundef nonnull %0) #5
  %102 = getelementptr inbounds i8, ptr %0, i64 80
  %103 = load i32, ptr %102, align 8, !tbaa !35
  %.not181 = icmp eq i32 %103, 0
  br i1 %.not181, label %.loopexit, label %104

104:                                              ; preds = %101
  %105 = getelementptr inbounds i8, ptr %0, i64 1728
  %106 = load ptr, ptr %105, align 8, !tbaa !36
  %107 = load i32, ptr %86, align 8, !tbaa !29
  %108 = add nsw i32 %107, -1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds double, ptr %106, i64 %109
  %111 = load double, ptr %110, align 8, !tbaa !37
  %112 = fcmp ogt double %111, 0x7FDFFFFFFFFFFFFF
  br i1 %112, label %113, label %.loopexit

113:                                              ; preds = %104
  %114 = getelementptr inbounds i8, ptr %0, i64 1736
  %115 = load ptr, ptr %114, align 8, !tbaa !38
  %116 = getelementptr inbounds double, ptr %115, i64 %109
  %117 = load double, ptr %116, align 8, !tbaa !37
  %118 = fcmp olt double %117, 0xFFDFFFFFFFFFFFFF
  br i1 %118, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %113
  %119 = getelementptr inbounds i8, ptr %0, i64 300
  %120 = getelementptr inbounds i8, ptr %0, i64 88
  %121 = getelementptr inbounds i8, ptr %0, i64 112
  %122 = getelementptr inbounds i8, ptr %0, i64 512
  br label %123

123:                                              ; preds = %146, %.preheader
  %indvars.iv = phi i64 [ 28, %.preheader ], [ %indvars.iv.next.1, %146 ]
  %124 = getelementptr inbounds [29 x i32], ptr %119, i64 0, i64 %indvars.iv
  %125 = load i32, ptr %124, align 4, !tbaa !39
  %126 = icmp eq i32 %125, 7
  br i1 %126, label %127, label %134

127:                                              ; preds = %123
  %128 = load i32, ptr %120, align 8, !tbaa !40
  %129 = icmp slt i32 %128, 0
  br i1 %129, label %130, label %134

130:                                              ; preds = %127
  %131 = load i32, ptr %121, align 8, !tbaa !41
  %.not183 = icmp eq i32 %131, 0
  br i1 %.not183, label %132, label %134

132:                                              ; preds = %130
  %133 = load i32, ptr %122, align 8, !tbaa !42
  %.not184 = icmp eq i32 %133, 0
  br i1 %.not184, label %.loopexit, label %134

134:                                              ; preds = %132, %130, %127, %123
  %.not182 = icmp eq i64 %indvars.iv, 0
  br i1 %.not182, label %.thread, label %135, !llvm.loop !43

135:                                              ; preds = %134
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %136 = getelementptr inbounds [29 x i32], ptr %119, i64 0, i64 %indvars.iv.next
  %137 = load i32, ptr %136, align 4, !tbaa !39
  %138 = icmp eq i32 %137, 7
  br i1 %138, label %139, label %146

139:                                              ; preds = %135
  %140 = load i32, ptr %120, align 8, !tbaa !40
  %141 = icmp slt i32 %140, 0
  br i1 %141, label %142, label %146

142:                                              ; preds = %139
  %143 = load i32, ptr %121, align 8, !tbaa !41
  %.not183.1 = icmp eq i32 %143, 0
  br i1 %.not183.1, label %144, label %146

144:                                              ; preds = %142
  %145 = load i32, ptr %122, align 8, !tbaa !42
  %.not184.1 = icmp eq i32 %145, 0
  br i1 %.not184.1, label %.loopexit, label %146

146:                                              ; preds = %144, %142, %139, %135
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, -2
  br label %123

.thread:                                          ; preds = %134
  %147 = getelementptr inbounds i8, ptr %0, i64 572
  %148 = load i32, ptr %147, align 4, !tbaa !45
  %.not185 = icmp eq i32 %148, 0
  %149 = getelementptr inbounds i8, ptr %0, i64 1760
  %150 = load double, ptr %149, align 8, !tbaa !46
  %151 = sext i32 %107 to i64
  br i1 %.not185, label %156, label %152

152:                                              ; preds = %.thread
  %153 = fmul double %150, 2.000000e+00
  %154 = getelementptr double, ptr %115, i64 %151
  %155 = getelementptr i8, ptr %154, i64 -8
  store double %153, ptr %155, align 8, !tbaa !37
  br label %.loopexit.sink.split

156:                                              ; preds = %.thread
  %157 = fmul double %150, -2.000000e+00
  %158 = getelementptr double, ptr %106, i64 %151
  %159 = getelementptr i8, ptr %158, i64 -8
  store double %157, ptr %159, align 8, !tbaa !37
  %160 = load i32, ptr %121, align 8, !tbaa !41
  %.not186 = icmp eq i32 %160, 0
  br i1 %.not186, label %.loopexit.sink.split, label %.loopexit

.loopexit.sink.split:                             ; preds = %156, %152
  %.sink = phi ptr [ %121, %152 ], [ %122, %156 ]
  store i32 1, ptr %.sink, align 8, !tbaa !39
  br label %.loopexit

.loopexit:                                        ; preds = %132, %144, %.loopexit.sink.split, %156, %113, %104, %101
  %161 = getelementptr inbounds i8, ptr %0, i64 136
  %162 = load i32, ptr %161, align 8, !tbaa !47
  %163 = icmp sgt i32 %162, 3
  br i1 %163, label %164, label %167

164:                                              ; preds = %.loopexit
  %165 = getelementptr inbounds i8, ptr %0, i64 2424
  %166 = load ptr, ptr %165, align 8, !tbaa !15
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %166, i32 noundef 4091, ptr noundef nonnull @.str.153) #5
  br label %167

167:                                              ; preds = %164, %.loopexit
  %168 = tail call ptr @qh_newfacet(ptr noundef nonnull %0) #5
  %169 = getelementptr inbounds i8, ptr %0, i64 2464
  store ptr %168, ptr %169, align 8, !tbaa !48
  %170 = getelementptr inbounds i8, ptr %0, i64 2480
  store ptr %168, ptr %170, align 8, !tbaa !49
  %171 = getelementptr inbounds i8, ptr %0, i64 2456
  store ptr %168, ptr %171, align 8, !tbaa !50
  %172 = getelementptr inbounds i8, ptr %0, i64 2496
  store i32 0, ptr %172, align 8, !tbaa !51
  %173 = getelementptr inbounds i8, ptr %0, i64 2572
  store i32 0, ptr %173, align 4, !tbaa !52
  %174 = getelementptr inbounds i8, ptr %0, i64 2568
  store i32 0, ptr %174, align 8, !tbaa !53
  %175 = tail call ptr @qh_newvertex(ptr noundef nonnull %0, ptr noundef null)
  %176 = getelementptr inbounds i8, ptr %0, i64 2552
  store ptr %175, ptr %176, align 8, !tbaa !54
  %177 = getelementptr inbounds i8, ptr %0, i64 2560
  store ptr %175, ptr %177, align 8, !tbaa !55
  %178 = getelementptr inbounds i8, ptr %0, i64 2544
  store ptr %175, ptr %178, align 8, !tbaa !56
  %179 = load i32, ptr %86, align 8, !tbaa !29
  %180 = load ptr, ptr %82, align 8, !tbaa !27
  %181 = load i32, ptr %84, align 8, !tbaa !28
  %182 = tail call ptr @qh_initialvertices(ptr noundef nonnull %0, i32 noundef %179, ptr noundef %88, ptr noundef %180, i32 noundef %181)
  store ptr %182, ptr %3, align 8, !tbaa !30
  tail call void @qh_initialhull(ptr noundef nonnull %0, ptr noundef %182)
  %183 = load ptr, ptr %82, align 8, !tbaa !27
  %184 = load i32, ptr %84, align 8, !tbaa !28
  tail call void @qh_partitionall(ptr noundef nonnull %0, ptr noundef %182, ptr noundef %183, i32 noundef %184) #5
  %185 = getelementptr inbounds i8, ptr %0, i64 288
  %186 = load i32, ptr %185, align 8, !tbaa !57
  %.not187 = icmp eq i32 %186, 0
  %187 = getelementptr inbounds i8, ptr %0, i64 536
  %188 = load i32, ptr %187, align 8, !tbaa !58
  br i1 %.not187, label %189, label %191

189:                                              ; preds = %167
  %.not188 = icmp eq i32 %188, 0
  %.pre205.pre206 = load i32, ptr %161, align 8, !tbaa !47
  br i1 %.not188, label %190, label %.thread213

190:                                              ; preds = %189
  %.not189 = icmp eq i32 %.pre205.pre206, 0
  br i1 %.not189, label %216, label %.thread213

191:                                              ; preds = %167
  %.pre205.pre = load i32, ptr %161, align 8, !tbaa !47
  %.not190 = icmp eq i32 %188, 0
  br i1 %.not190, label %192, label %.thread213

192:                                              ; preds = %191
  %.not191 = icmp eq i32 %.pre205.pre, 0
  br i1 %.not191, label %212, label %.thread213

.thread213:                                       ; preds = %190, %189, %192, %191
  %193 = phi i32 [ 0, %192 ], [ %188, %191 ], [ %188, %189 ], [ 0, %190 ]
  %.pre205211 = phi i32 [ %.pre205.pre, %192 ], [ %.pre205.pre, %191 ], [ %.pre205.pre206, %189 ], [ %.pre205.pre206, %190 ]
  %194 = getelementptr inbounds i8, ptr %0, i64 2424
  %195 = load ptr, ptr %194, align 8, !tbaa !15
  %196 = getelementptr inbounds i8, ptr %0, i64 544
  %197 = load i32, ptr %196, align 8, !tbaa !59
  %198 = getelementptr inbounds i8, ptr %0, i64 560
  %199 = load i32, ptr %198, align 8, !tbaa !60
  %200 = getelementptr inbounds i8, ptr %0, i64 552
  %201 = load double, ptr %200, align 8, !tbaa !61
  %202 = getelementptr inbounds i8, ptr %0, i64 2500
  %203 = load i32, ptr %202, align 4, !tbaa !62
  %204 = getelementptr inbounds i8, ptr %0, i64 2512
  %205 = load i32, ptr %204, align 8, !tbaa !63
  %206 = getelementptr inbounds i8, ptr %0, i64 2528
  %207 = load i32, ptr %206, align 8, !tbaa !64
  %208 = getelementptr inbounds i8, ptr %0, i64 540
  %209 = load i32, ptr %208, align 4, !tbaa !65
  %210 = getelementptr inbounds i8, ptr %0, i64 936
  %211 = getelementptr inbounds i8, ptr %0, i64 676
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %195, i32 noundef 8103, ptr noundef nonnull @.str.154, i32 noundef %193, i32 noundef %.pre205211, i32 noundef %197, i32 noundef %199, double noundef %201, i32 noundef %203, i32 noundef %205, i32 noundef %207, i32 noundef %209, ptr noundef nonnull %210, ptr noundef nonnull %211) #5
  br label %212

212:                                              ; preds = %.thread213, %192
  %213 = getelementptr inbounds i8, ptr %0, i64 2424
  %214 = load ptr, ptr %213, align 8, !tbaa !15
  %215 = getelementptr inbounds i8, ptr %0, i64 1192
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %214, i32 noundef 8104, ptr noundef nonnull @.str.155, ptr noundef nonnull @qh_version, ptr noundef nonnull %215) #5
  br label %216

216:                                              ; preds = %212, %190
  tail call void @qh_resetlists(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1)
  %217 = load ptr, ptr %171, align 8, !tbaa !50
  %218 = getelementptr inbounds i8, ptr %0, i64 2472
  store ptr %217, ptr %218, align 8, !tbaa !66
  tail call void @qh_furthestnext(ptr noundef nonnull %0)
  %219 = getelementptr inbounds i8, ptr %0, i64 252
  %220 = load i32, ptr %219, align 4, !tbaa !67
  %.not192 = icmp eq i32 %220, 0
  br i1 %.not192, label %228, label %221

221:                                              ; preds = %216
  %222 = getelementptr inbounds i8, ptr %0, i64 64
  %223 = load double, ptr %222, align 8, !tbaa !68
  %224 = getelementptr inbounds i8, ptr %0, i64 1776
  store double %223, ptr %224, align 8, !tbaa !69
  %225 = getelementptr inbounds i8, ptr %0, i64 192
  %226 = load double, ptr %225, align 8, !tbaa !70
  %227 = getelementptr inbounds i8, ptr %0, i64 1768
  store double %226, ptr %227, align 8, !tbaa !71
  br label %228

228:                                              ; preds = %221, %216
  %229 = getelementptr inbounds i8, ptr %0, i64 236
  %230 = load i32, ptr %229, align 4, !tbaa !72
  %.not193 = icmp eq i32 %230, 0
  br i1 %.not193, label %287, label %231

231:                                              ; preds = %228
  %232 = load i32, ptr %36, align 4, !tbaa !25
  %233 = icmp sgt i32 %232, 0
  br i1 %233, label %234, label %240

234:                                              ; preds = %231
  %235 = getelementptr inbounds i8, ptr %0, i64 188
  %236 = load i32, ptr %235, align 4, !tbaa !73
  %.not194 = icmp eq i32 %236, 0
  br i1 %.not194, label %240, label %237

237:                                              ; preds = %234
  %238 = getelementptr inbounds i8, ptr %0, i64 2424
  %239 = load ptr, ptr %238, align 8, !tbaa !15
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %239, i32 noundef 6151, ptr noundef nonnull @.str.156) #5
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %240

240:                                              ; preds = %237, %234, %231
  %241 = getelementptr inbounds i8, ptr %0, i64 112
  %242 = load i32, ptr %241, align 8, !tbaa !41
  %.not195 = icmp eq i32 %242, 0
  br i1 %.not195, label %243, label %256

243:                                              ; preds = %240
  %244 = load i32, ptr %24, align 4, !tbaa !23
  %.not196 = icmp eq i32 %244, 0
  br i1 %.not196, label %245, label %256

245:                                              ; preds = %243
  %246 = getelementptr inbounds i8, ptr %0, i64 180
  %247 = load i32, ptr %246, align 4, !tbaa !74
  %.not197 = icmp eq i32 %247, 0
  br i1 %.not197, label %248, label %253

248:                                              ; preds = %245
  %249 = load i32, ptr %219, align 4, !tbaa !67
  %.not198 = icmp eq i32 %249, 0
  br i1 %.not198, label %250, label %253

250:                                              ; preds = %248
  %251 = getelementptr inbounds i8, ptr %0, i64 120
  %252 = load ptr, ptr %251, align 8, !tbaa !26
  %.not199 = icmp eq ptr %252, null
  br i1 %.not199, label %253, label %256

253:                                              ; preds = %250, %248, %245
  %254 = getelementptr inbounds i8, ptr %0, i64 2424
  %255 = load ptr, ptr %254, align 8, !tbaa !15
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %255, i32 noundef 6152, ptr noundef nonnull @.str.157) #5
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %256

256:                                              ; preds = %253, %250, %243, %240
  %257 = load i32, ptr %36, align 4, !tbaa !25
  %258 = icmp sgt i32 %257, 0
  br i1 %258, label %259, label %284

259:                                              ; preds = %256
  %260 = getelementptr inbounds i8, ptr %0, i64 188
  %261 = load i32, ptr %260, align 4, !tbaa !73
  %.not200 = icmp eq i32 %261, 0
  br i1 %.not200, label %262, label %284

262:                                              ; preds = %259
  %263 = getelementptr inbounds i8, ptr %0, i64 120
  %264 = load ptr, ptr %263, align 8, !tbaa !26
  %265 = tail call ptr @qh_isvertex(ptr noundef %264, ptr noundef %182)
  %.not201 = icmp eq ptr %265, null
  br i1 %.not201, label %266, label %284

266:                                              ; preds = %262
  %267 = load ptr, ptr %263, align 8, !tbaa !26
  %268 = load ptr, ptr %171, align 8, !tbaa !50
  %269 = call ptr @qh_findbestnew(ptr noundef nonnull %0, ptr noundef %267, ptr noundef %268, ptr noundef nonnull %5, i32 noundef 0, ptr noundef nonnull %6, ptr noundef nonnull %4) #5
  %270 = load i32, ptr %4, align 4, !tbaa !39
  %271 = getelementptr inbounds i8, ptr %0, i64 3896
  %272 = load i32, ptr %271, align 8, !tbaa !75
  %273 = add nsw i32 %272, %270
  store i32 %273, ptr %271, align 8, !tbaa !75
  %274 = load i32, ptr %6, align 4, !tbaa !39
  %.not202 = icmp eq i32 %274, 0
  br i1 %.not202, label %275, label %280

275:                                              ; preds = %266
  %276 = getelementptr inbounds i8, ptr %0, i64 2424
  %277 = load ptr, ptr %276, align 8, !tbaa !15
  %278 = load ptr, ptr %263, align 8, !tbaa !26
  %279 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %278) #5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %277, i32 noundef 6153, ptr noundef nonnull @.str.158, i32 noundef %279) #5
  call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %280

280:                                              ; preds = %275, %266
  %281 = load ptr, ptr %263, align 8, !tbaa !26
  %282 = call i32 @qh_addpoint(ptr noundef nonnull %0, ptr noundef %281, ptr noundef %269, i32 noundef 0) #5
  %.not203 = icmp eq i32 %282, 0
  br i1 %.not203, label %283, label %284

283:                                              ; preds = %280
  call void @qh_settempfree(ptr noundef nonnull %0, ptr noundef nonnull %3) #5
  call void @qh_settempfree(ptr noundef nonnull %0, ptr noundef nonnull %2) #5
  br label %293

284:                                              ; preds = %280, %262, %259, %256
  %285 = load ptr, ptr %171, align 8, !tbaa !50
  %286 = call i32 @qh_findgood(ptr noundef nonnull %0, ptr noundef %285, i32 noundef 0)
  br label %287

287:                                              ; preds = %284, %228
  call void @qh_settempfree(ptr noundef nonnull %0, ptr noundef nonnull %3) #5
  call void @qh_settempfree(ptr noundef nonnull %0, ptr noundef nonnull %2) #5
  %288 = load i32, ptr %161, align 8, !tbaa !47
  %289 = icmp sgt i32 %288, 0
  br i1 %289, label %290, label %293

290:                                              ; preds = %287
  %291 = getelementptr inbounds i8, ptr %0, i64 2424
  %292 = load ptr, ptr %291, align 8, !tbaa !15
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %292, i32 noundef 1030, ptr noundef nonnull @.str.159) #5
  br label %293

293:                                              ; preds = %287, %290, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3

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

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

declare void @qh_detroundoff(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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 = { nofree nounwind "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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 424}
!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, !11, i64 2424}
!16 = !{!6, !7, i64 2620}
!17 = !{!6, !7, i64 2588}
!18 = !{!6, !7, i64 2592}
!19 = !{!6, !7, i64 2584}
!20 = !{!6, !7, i64 2788}
!21 = !{!6, !7, i64 2784}
!22 = !{!6, !7, i64 2672}
!23 = !{!6, !7, i64 100}
!24 = !{!6, !11, i64 104}
!25 = !{!6, !7, i64 116}
!26 = !{!6, !11, i64 120}
!27 = !{!6, !11, i64 648}
!28 = !{!6, !7, i64 640}
!29 = !{!6, !7, i64 632}
!30 = !{!11, !11, i64 0}
!31 = !{!6, !7, i64 496}
!32 = !{!6, !10, i64 1864}
!33 = !{!6, !10, i64 1800}
!34 = !{!6, !10, i64 1792}
!35 = !{!6, !7, i64 80}
!36 = !{!6, !11, i64 1728}
!37 = !{!10, !10, i64 0}
!38 = !{!6, !11, i64 1736}
!39 = !{!7, !7, i64 0}
!40 = !{!6, !7, i64 88}
!41 = !{!6, !7, i64 112}
!42 = !{!6, !7, i64 512}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!6, !7, i64 572}
!46 = !{!6, !10, i64 1760}
!47 = !{!6, !7, i64 136}
!48 = !{!6, !11, i64 2464}
!49 = !{!6, !11, i64 2480}
!50 = !{!6, !11, i64 2456}
!51 = !{!6, !7, i64 2496}
!52 = !{!6, !7, i64 2572}
!53 = !{!6, !7, i64 2568}
!54 = !{!6, !11, i64 2552}
!55 = !{!6, !11, i64 2560}
!56 = !{!6, !11, i64 2544}
!57 = !{!6, !7, i64 288}
!58 = !{!6, !7, i64 536}
!59 = !{!6, !7, i64 544}
!60 = !{!6, !7, i64 560}
!61 = !{!6, !10, i64 552}
!62 = !{!6, !7, i64 2500}
!63 = !{!6, !7, i64 2512}
!64 = !{!6, !7, i64 2528}
!65 = !{!6, !7, i64 540}
!66 = !{!6, !11, i64 2472}
!67 = !{!6, !7, i64 252}
!68 = !{!6, !10, i64 64}
!69 = !{!6, !10, i64 1776}
!70 = !{!6, !10, i64 192}
!71 = !{!6, !10, i64 1768}
!72 = !{!6, !7, i64 236}
!73 = !{!6, !7, i64 188}
!74 = !{!6, !7, i64 180}
!75 = !{!8, !8, i64 0}


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