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

@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 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

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

declare void @qh_errexit(ptr noundef, i32 noundef, 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

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

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

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

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

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

32:                                               ; preds = %5
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = call i32 @qh_skipfacet(ptr noundef %33, ptr noundef %34)
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  store i32 1, ptr %27, align 4
  br label %663

38:                                               ; preds = %32, %5
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.facetT, ptr %39, i32 0, i32 15
  %41 = load i32, ptr %40, align 8
  %42 = lshr i32 %41, 11
  %43 = and i32 %42, 1
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %54

45:                                               ; preds = %38
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.qhT, ptr %46, i32 0, i32 202
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %54

50:                                               ; preds = %45
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = icmp ne i32 %51, 5
  br i1 %52, label %53, label %54

53:                                               ; preds = %50
  store i32 1, ptr %27, align 4
  br label %663

54:                                               ; preds = %50, %45, %38
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.qhT, ptr %55, i32 0, i32 211
  %57 = load i32, ptr %56, align 8, !tbaa !17
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %56, align 8, !tbaa !17
  %59 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %59, label %661 [
    i32 1, label %60
    i32 3, label %79
    i32 4, label %112
    i32 5, label %117
    i32 6, label %121
    i32 7, label %125
    i32 8, label %239
    i32 14, label %245
    i32 17, label %245
    i32 25, label %245
    i32 9, label %289
    i32 16, label %297
    i32 11, label %304
    i32 12, label %308
    i32 15, label %385
    i32 13, label %385
    i32 10, label %409
    i32 19, label %455
    i32 20, label %574
    i32 21, label %613
    i32 26, label %626
  ]

60:                                               ; preds = %54
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.facetT, ptr %61, i32 0, i32 15
  %63 = load i32, ptr %62, align 8
  %64 = lshr i32 %63, 20
  %65 = and i32 %64, 1
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %75

67:                                               ; preds = %60
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.facetT, ptr %70, i32 0, i32 4
  %72 = load double, ptr %71, align 8, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %68, ptr noundef %69, i32 noundef 9009, ptr noundef @.str.17, double noundef %72)
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %73, ptr noundef %74, i32 noundef 9010, ptr noundef @.str.18)
  br label %78

75:                                               ; preds = %60
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %76, ptr noundef %77, i32 noundef 9011, ptr noundef @.str.19)
  br label %78

78:                                               ; preds = %75, %67
  br label %662

79:                                               ; preds = %54
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.facetT, ptr %83, i32 0, i32 12
  %85 = load ptr, ptr %84, align 8, !tbaa !19
  %86 = call i32 @qh_setsize(ptr noundef %82, ptr noundef %85)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %80, ptr noundef %81, i32 noundef 9012, ptr noundef @.str.20, i32 noundef %86)
  store ptr null, ptr %17, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.facetT, ptr %87, i32 0, i32 12
  %89 = load ptr, ptr %88, align 8, !tbaa !19
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %109

91:                                               ; preds = %79
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.facetT, ptr %92, i32 0, i32 12
  %94 = load ptr, ptr %93, align 8, !tbaa !19
  %95 = getelementptr inbounds %struct.setT, ptr %94, i32 0, i32 1
  %96 = getelementptr inbounds [1 x %union.setelemT], ptr %95, i64 0, i64 0
  store ptr %96, ptr %20, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %102, %91
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = getelementptr inbounds ptr, ptr %98, i32 1
  store ptr %99, ptr %20, align 8, !tbaa !5
  %100 = load ptr, ptr %98, align 8, !tbaa !5
  store ptr %100, ptr %17, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %108

102:                                              ; preds = %97
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = load ptr, ptr %17, align 8, !tbaa !5
  %107 = call i32 @qh_pointid(ptr noundef %105, ptr noundef %106)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %103, ptr noundef %104, i32 noundef 9013, ptr noundef @.str.21, i32 noundef %107)
  br label %97, !llvm.loop !21

108:                                              ; preds = %97
  br label %109

109:                                              ; preds = %108, %79
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %110, ptr noundef %111, i32 noundef 9014, ptr noundef @.str.18)
  br label %662

112:                                              ; preds = %54
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = load i32, ptr %8, align 4, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %113, ptr noundef %114, i32 noundef %115, ptr noundef null, ptr noundef %116)
  br label %662

117:                                              ; preds = %54
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_printfacet(ptr noundef %118, ptr noundef %119, ptr noundef %120)
  br label %662

121:                                              ; preds = %54
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_printfacetheader(ptr noundef %122, ptr noundef %123, ptr noundef %124)
  br label %662

125:                                              ; preds = %54
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.facetT, ptr %126, i32 0, i32 3
  %128 = load ptr, ptr %127, align 8, !tbaa !23
  %129 = icmp ne ptr %128, null
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  br label %662

131:                                              ; preds = %125
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.qhT, ptr %132, i32 0, i32 110
  %134 = load i32, ptr %133, align 8, !tbaa !24
  store i32 %134, ptr %22, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %171, %131
  %136 = load i32, ptr %22, align 4, !tbaa !9
  %137 = add nsw i32 %136, -1
  store i32 %137, ptr %22, align 4, !tbaa !9
  %138 = icmp ne i32 %136, 0
  br i1 %138, label %139, label %172

139:                                              ; preds = %135
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.facetT, ptr %140, i32 0, i32 3
  %142 = load ptr, ptr %141, align 8, !tbaa !23
  %143 = load i32, ptr %22, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds double, ptr %142, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !25
  %147 = fadd double %146, 1.000000e+00
  %148 = fdiv double %147, 2.000000e+00
  %149 = load i32, ptr %22, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %150
  store double %148, ptr %151, align 8, !tbaa !25
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !25
  %156 = fcmp olt double %155, -1.000000e+00
  br i1 %156, label %157, label %161

157:                                              ; preds = %139
  %158 = load i32, ptr %22, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %159
  store double -1.000000e+00, ptr %160, align 8, !tbaa !25
  br label %161

161:                                              ; preds = %157, %139
  %162 = load i32, ptr %22, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !25
  %166 = fcmp ogt double %165, 1.000000e+00
  br i1 %166, label %167, label %171

167:                                              ; preds = %161
  %168 = load i32, ptr %22, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %169
  store double 1.000000e+00, ptr %170, align 8, !tbaa !25
  br label %171

171:                                              ; preds = %167, %161
  br label %135, !llvm.loop !26

172:                                              ; preds = %135
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  %175 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_projectdim3(ptr noundef %173, ptr noundef %174, ptr noundef %175)
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.qhT, ptr %176, i32 0, i32 55
  %178 = load i32, ptr %177, align 8, !tbaa !27
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.qhT, ptr %179, i32 0, i32 110
  %181 = load i32, ptr %180, align 8, !tbaa !24
  %182 = icmp ne i32 %178, %181
  br i1 %182, label %183, label %186

183:                                              ; preds = %172
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_normalize2(ptr noundef %184, ptr noundef %185, i32 noundef 3, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %186

186:                                              ; preds = %183, %172
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.qhT, ptr %187, i32 0, i32 110
  %189 = load i32, ptr %188, align 8, !tbaa !24
  %190 = icmp sle i32 %189, 2
  br i1 %190, label %191, label %196

191:                                              ; preds = %186
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_printfacet2geom(ptr noundef %192, ptr noundef %193, ptr noundef %194, ptr noundef %195)
  br label %238

196:                                              ; preds = %186
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.qhT, ptr %197, i32 0, i32 110
  %199 = load i32, ptr %198, align 8, !tbaa !24
  %200 = icmp eq i32 %199, 3
  br i1 %200, label %201, label %219

201:                                              ; preds = %196
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.facetT, ptr %202, i32 0, i32 15
  %204 = load i32, ptr %203, align 8
  %205 = lshr i32 %204, 13
  %206 = and i32 %205, 1
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %213

208:                                              ; preds = %201
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  %211 = load ptr, ptr %9, align 8, !tbaa !5
  %212 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_printfacet3geom_simplicial(ptr noundef %209, ptr noundef %210, ptr noundef %211, ptr noundef %212)
  br label %218

213:                                              ; preds = %201
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_printfacet3geom_nonsimplicial(ptr noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217)
  br label %218

218:                                              ; preds = %213, %208
  br label %237

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

226:                                              ; preds = %219
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  %230 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_printfacet4geom_simplicial(ptr noundef %227, ptr noundef %228, ptr noundef %229, ptr noundef %230)
  br label %236

231:                                              ; preds = %219
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
  call void @qh_printfacet4geom_nonsimplicial(ptr noundef %232, ptr noundef %233, ptr noundef %234, ptr noundef %235)
  br label %236

236:                                              ; preds = %231, %226
  br label %237

237:                                              ; preds = %236, %218
  br label %238

238:                                              ; preds = %237, %191
  br label %662

239:                                              ; preds = %54
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = load ptr, ptr %7, align 8, !tbaa !5
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.facetT, ptr %242, i32 0, i32 14
  %244 = load i32, ptr %243, align 4, !tbaa !28
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %240, ptr noundef %241, i32 noundef 9015, ptr noundef @.str.22, i32 noundef %244)
  br label %662

245:                                              ; preds = %54, %54, %54
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.qhT, ptr %246, i32 0, i32 110
  %248 = load i32, ptr %247, align 8, !tbaa !24
  %249 = icmp eq i32 %248, 3
  br i1 %249, label %250, label %258

250:                                              ; preds = %245
  %251 = load i32, ptr %8, align 4, !tbaa !9
  %252 = icmp ne i32 %251, 25
  br i1 %252, label %253, label %258

253:                                              ; preds = %250
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = load i32, ptr %8, align 4, !tbaa !9
  call void @qh_printfacet3vertex(ptr noundef %254, ptr noundef %255, ptr noundef %256, i32 noundef %257)
  br label %288

258:                                              ; preds = %250, %245
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.facetT, ptr %259, i32 0, i32 15
  %261 = load i32, ptr %260, align 8
  %262 = lshr i32 %261, 13
  %263 = and i32 %262, 1
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %273, label %265

265:                                              ; preds = %258
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.qhT, ptr %266, i32 0, i32 110
  %268 = load i32, ptr %267, align 8, !tbaa !24
  %269 = icmp eq i32 %268, 2
  br i1 %269, label %273, label %270

270:                                              ; preds = %265
  %271 = load i32, ptr %8, align 4, !tbaa !9
  %272 = icmp eq i32 %271, 17
  br i1 %272, label %273, label %278

273:                                              ; preds = %270, %265, %258
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  %277 = load i32, ptr %8, align 4, !tbaa !9
  call void @qh_printfacetNvertex_simplicial(ptr noundef %274, ptr noundef %275, ptr noundef %276, i32 noundef %277)
  br label %287

278:                                              ; preds = %270
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = load ptr, ptr %9, align 8, !tbaa !5
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.qhT, ptr %282, i32 0, i32 210
  %284 = load i32, ptr %283, align 4, !tbaa !29
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %283, align 4, !tbaa !29
  %286 = load i32, ptr %8, align 4, !tbaa !9
  call void @qh_printfacetNvertex_nonsimplicial(ptr noundef %279, ptr noundef %280, ptr noundef %281, i32 noundef %284, i32 noundef %286)
  br label %287

287:                                              ; preds = %278, %273
  br label %288

288:                                              ; preds = %287, %253
  br label %662

289:                                              ; preds = %54
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_outerinner(ptr noundef %290, ptr noundef %291, ptr noundef null, ptr noundef %15)
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.facetT, ptr %292, i32 0, i32 2
  %294 = load double, ptr %293, align 8, !tbaa !30
  %295 = load double, ptr %15, align 8, !tbaa !25
  %296 = fsub double %294, %295
  store double %296, ptr %12, align 8, !tbaa !25
  br label %316

297:                                              ; preds = %54
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.facetT, ptr %300, i32 0, i32 15
  %302 = load i32, ptr %301, align 8
  %303 = and i32 %302, 511
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %298, ptr noundef %299, i32 noundef 9016, ptr noundef @.str.22, i32 noundef %303)
  br label %662

304:                                              ; preds = %54
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.facetT, ptr %305, i32 0, i32 2
  %307 = load double, ptr %306, align 8, !tbaa !30
  store double %307, ptr %12, align 8, !tbaa !25
  br label %316

308:                                              ; preds = %54
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_outerinner(ptr noundef %309, ptr noundef %310, ptr noundef %14, ptr noundef null)
  %311 = load ptr, ptr %9, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.facetT, ptr %311, i32 0, i32 2
  %313 = load double, ptr %312, align 8, !tbaa !30
  %314 = load double, ptr %14, align 8, !tbaa !25
  %315 = fsub double %313, %314
  store double %315, ptr %12, align 8, !tbaa !25
  br label %316

316:                                              ; preds = %308, %304, %289
  %317 = load ptr, ptr %9, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.facetT, ptr %317, i32 0, i32 3
  %319 = load ptr, ptr %318, align 8, !tbaa !23
  %320 = icmp ne ptr %319, null
  br i1 %320, label %327, label %321

321:                                              ; preds = %316
  %322 = load ptr, ptr %6, align 8, !tbaa !5
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = load ptr, ptr %9, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.facetT, ptr %324, i32 0, i32 14
  %326 = load i32, ptr %325, align 4, !tbaa !28
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %322, ptr noundef %323, i32 noundef 9017, ptr noundef @.str.23, i32 noundef %326)
  br label %662

327:                                              ; preds = %316
  %328 = load ptr, ptr %6, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.qhT, ptr %328, i32 0, i32 12
  %330 = load i32, ptr %329, align 4, !tbaa !31
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %358

332:                                              ; preds = %327
  %333 = load ptr, ptr %6, align 8, !tbaa !5
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = load double, ptr %12, align 8, !tbaa !25
  %336 = fneg double %335
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %333, ptr noundef %334, i32 noundef 9018, ptr noundef @.str.17, double noundef %336)
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %337

337:                                              ; preds = %354, %332
  %338 = load i32, ptr %22, align 4, !tbaa !9
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.qhT, ptr %339, i32 0, i32 110
  %341 = load i32, ptr %340, align 8, !tbaa !24
  %342 = icmp slt i32 %338, %341
  br i1 %342, label %343, label %357

343:                                              ; preds = %337
  %344 = load ptr, ptr %6, align 8, !tbaa !5
  %345 = load ptr, ptr %7, align 8, !tbaa !5
  %346 = load ptr, ptr %9, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.facetT, ptr %346, i32 0, i32 3
  %348 = load ptr, ptr %347, align 8, !tbaa !23
  %349 = load i32, ptr %22, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds double, ptr %348, i64 %350
  %352 = load double, ptr %351, align 8, !tbaa !25
  %353 = fneg double %352
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %344, ptr noundef %345, i32 noundef 9019, ptr noundef @.str.17, double noundef %353)
  br label %354

354:                                              ; preds = %343
  %355 = load i32, ptr %22, align 4, !tbaa !9
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %22, align 4, !tbaa !9
  br label %337, !llvm.loop !32

357:                                              ; preds = %337
  br label %382

358:                                              ; preds = %327
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %359

359:                                              ; preds = %375, %358
  %360 = load i32, ptr %22, align 4, !tbaa !9
  %361 = load ptr, ptr %6, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.qhT, ptr %361, i32 0, i32 110
  %363 = load i32, ptr %362, align 8, !tbaa !24
  %364 = icmp slt i32 %360, %363
  br i1 %364, label %365, label %378

365:                                              ; preds = %359
  %366 = load ptr, ptr %6, align 8, !tbaa !5
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = load ptr, ptr %9, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.facetT, ptr %368, i32 0, i32 3
  %370 = load ptr, ptr %369, align 8, !tbaa !23
  %371 = load i32, ptr %22, align 4, !tbaa !9
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds double, ptr %370, i64 %372
  %374 = load double, ptr %373, align 8, !tbaa !25
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %366, ptr noundef %367, i32 noundef 9020, ptr noundef @.str.17, double noundef %374)
  br label %375

375:                                              ; preds = %365
  %376 = load i32, ptr %22, align 4, !tbaa !9
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr %22, align 4, !tbaa !9
  br label %359, !llvm.loop !33

378:                                              ; preds = %359
  %379 = load ptr, ptr %6, align 8, !tbaa !5
  %380 = load ptr, ptr %7, align 8, !tbaa !5
  %381 = load double, ptr %12, align 8, !tbaa !25
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %379, ptr noundef %380, i32 noundef 9021, ptr noundef @.str.17, double noundef %381)
  br label %382

382:                                              ; preds = %378, %357
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  %384 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %383, ptr noundef %384, i32 noundef 9022, ptr noundef @.str.18)
  br label %662

385:                                              ; preds = %54, %54
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.qhT, ptr %386, i32 0, i32 110
  %388 = load i32, ptr %387, align 8, !tbaa !24
  %389 = icmp eq i32 %388, 2
  br i1 %389, label %390, label %399

390:                                              ; preds = %385
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = load ptr, ptr %7, align 8, !tbaa !5
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = load i32, ptr %8, align 4, !tbaa !9
  %395 = load ptr, ptr %6, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.qhT, ptr %395, i32 0, i32 210
  %397 = load i32, ptr %396, align 4, !tbaa !29
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr %396, align 4, !tbaa !29
  call void @qh_printfacet2math(ptr noundef %391, ptr noundef %392, ptr noundef %393, i32 noundef %394, i32 noundef %397)
  br label %408

399:                                              ; preds = %385
  %400 = load ptr, ptr %6, align 8, !tbaa !5
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = load ptr, ptr %9, align 8, !tbaa !5
  %403 = load i32, ptr %8, align 4, !tbaa !9
  %404 = load ptr, ptr %6, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.qhT, ptr %404, i32 0, i32 210
  %406 = load i32, ptr %405, align 4, !tbaa !29
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %405, align 4, !tbaa !29
  call void @qh_printfacet3math(ptr noundef %400, ptr noundef %401, ptr noundef %402, i32 noundef %403, i32 noundef %406)
  br label %408

408:                                              ; preds = %399, %390
  br label %662

409:                                              ; preds = %54
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  %411 = load ptr, ptr %7, align 8, !tbaa !5
  %412 = load ptr, ptr %6, align 8, !tbaa !5
  %413 = load ptr, ptr %9, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.facetT, ptr %413, i32 0, i32 10
  %415 = load ptr, ptr %414, align 8, !tbaa !34
  %416 = call i32 @qh_setsize(ptr noundef %412, ptr noundef %415)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %410, ptr noundef %411, i32 noundef 9023, ptr noundef @.str.20, i32 noundef %416)
  store ptr null, ptr %25, align 8, !tbaa !5
  %417 = load ptr, ptr %9, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.facetT, ptr %417, i32 0, i32 10
  %419 = load ptr, ptr %418, align 8, !tbaa !34
  %420 = icmp ne ptr %419, null
  br i1 %420, label %421, label %452

421:                                              ; preds = %409
  %422 = load ptr, ptr %9, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.facetT, ptr %422, i32 0, i32 10
  %424 = load ptr, ptr %423, align 8, !tbaa !34
  %425 = getelementptr inbounds %struct.setT, ptr %424, i32 0, i32 1
  %426 = getelementptr inbounds [1 x %union.setelemT], ptr %425, i64 0, i64 0
  store ptr %426, ptr %26, align 8, !tbaa !5
  br label %427

427:                                              ; preds = %449, %421
  %428 = load ptr, ptr %26, align 8, !tbaa !5
  %429 = getelementptr inbounds ptr, ptr %428, i32 1
  store ptr %429, ptr %26, align 8, !tbaa !5
  %430 = load ptr, ptr %428, align 8, !tbaa !5
  store ptr %430, ptr %25, align 8, !tbaa !5
  %431 = icmp ne ptr %430, null
  br i1 %431, label %432, label %451

432:                                              ; preds = %427
  %433 = load ptr, ptr %6, align 8, !tbaa !5
  %434 = load ptr, ptr %7, align 8, !tbaa !5
  %435 = load ptr, ptr %25, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.facetT, ptr %435, i32 0, i32 13
  %437 = load i32, ptr %436, align 8, !tbaa !35
  %438 = icmp ne i32 %437, 0
  br i1 %438, label %439, label %444

439:                                              ; preds = %432
  %440 = load ptr, ptr %25, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.facetT, ptr %440, i32 0, i32 13
  %442 = load i32, ptr %441, align 8, !tbaa !35
  %443 = sub i32 %442, 1
  br label %449

444:                                              ; preds = %432
  %445 = load ptr, ptr %25, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.facetT, ptr %445, i32 0, i32 14
  %447 = load i32, ptr %446, align 4, !tbaa !28
  %448 = sub i32 0, %447
  br label %449

449:                                              ; preds = %444, %439
  %450 = phi i32 [ %443, %439 ], [ %448, %444 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %433, ptr noundef %434, i32 noundef 9024, ptr noundef @.str.21, i32 noundef %450)
  br label %427, !llvm.loop !36

451:                                              ; preds = %427
  br label %452

452:                                              ; preds = %451, %409
  %453 = load ptr, ptr %6, align 8, !tbaa !5
  %454 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %453, ptr noundef %454, i32 noundef 9025, ptr noundef @.str.18)
  br label %662

455:                                              ; preds = %54
  %456 = load ptr, ptr %6, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.qhT, ptr %456, i32 0, i32 107
  %458 = load ptr, ptr %457, align 8, !tbaa !37
  %459 = icmp ne ptr %458, null
  br i1 %459, label %466, label %460

460:                                              ; preds = %455
  %461 = load ptr, ptr %6, align 8, !tbaa !5
  %462 = load ptr, ptr %6, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.qhT, ptr %462, i32 0, i32 158
  %464 = load ptr, ptr %463, align 8, !tbaa !38
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %461, ptr noundef %464, i32 noundef 6067, ptr noundef @.str.24)
  %465 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %465, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %466

466:                                              ; preds = %460, %455
  %467 = load ptr, ptr %9, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.facetT, ptr %467, i32 0, i32 2
  %469 = load double, ptr %468, align 8, !tbaa !30
  %470 = fcmp ogt double %469, 0.000000e+00
  br i1 %470, label %471, label %472

471:                                              ; preds = %466
  br label %560

472:                                              ; preds = %466
  %473 = load ptr, ptr %6, align 8, !tbaa !5
  %474 = load ptr, ptr %6, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.qhT, ptr %474, i32 0, i32 160
  %476 = load i32, ptr %475, align 8, !tbaa !39
  %477 = call ptr @qh_memalloc(ptr noundef %473, i32 noundef %476)
  store ptr %477, ptr %19, align 8, !tbaa !5
  store ptr %477, ptr %17, align 8, !tbaa !5
  %478 = load ptr, ptr %9, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.facetT, ptr %478, i32 0, i32 3
  %480 = load ptr, ptr %479, align 8, !tbaa !23
  store ptr %480, ptr %18, align 8, !tbaa !5
  %481 = load ptr, ptr %6, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.qhT, ptr %481, i32 0, i32 107
  %483 = load ptr, ptr %482, align 8, !tbaa !37
  store ptr %483, ptr %21, align 8, !tbaa !5
  %484 = load ptr, ptr %9, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.facetT, ptr %484, i32 0, i32 2
  %486 = load double, ptr %485, align 8, !tbaa !30
  %487 = load ptr, ptr %6, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.qhT, ptr %487, i32 0, i32 141
  %489 = load double, ptr %488, align 8, !tbaa !40
  %490 = fneg double %489
  %491 = fcmp olt double %486, %490
  br i1 %491, label %492, label %516

492:                                              ; preds = %472
  %493 = load ptr, ptr %6, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.qhT, ptr %493, i32 0, i32 110
  %495 = load i32, ptr %494, align 8, !tbaa !24
  store i32 %495, ptr %22, align 4, !tbaa !9
  br label %496

496:                                              ; preds = %500, %492
  %497 = load i32, ptr %22, align 4, !tbaa !9
  %498 = add nsw i32 %497, -1
  store i32 %498, ptr %22, align 4, !tbaa !9
  %499 = icmp ne i32 %497, 0
  br i1 %499, label %500, label %515

500:                                              ; preds = %496
  %501 = load ptr, ptr %18, align 8, !tbaa !5
  %502 = getelementptr inbounds double, ptr %501, i32 1
  store ptr %502, ptr %18, align 8, !tbaa !5
  %503 = load double, ptr %501, align 8, !tbaa !25
  %504 = load ptr, ptr %9, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.facetT, ptr %504, i32 0, i32 2
  %506 = load double, ptr %505, align 8, !tbaa !30
  %507 = fneg double %506
  %508 = fdiv double %503, %507
  %509 = load ptr, ptr %21, align 8, !tbaa !5
  %510 = getelementptr inbounds double, ptr %509, i32 1
  store ptr %510, ptr %21, align 8, !tbaa !5
  %511 = load double, ptr %509, align 8, !tbaa !25
  %512 = fadd double %508, %511
  %513 = load ptr, ptr %19, align 8, !tbaa !5
  %514 = getelementptr inbounds double, ptr %513, i32 1
  store ptr %514, ptr %19, align 8, !tbaa !5
  store double %512, ptr %513, align 8, !tbaa !25
  br label %496, !llvm.loop !41

515:                                              ; preds = %496
  br label %551

516:                                              ; preds = %472
  %517 = load ptr, ptr %6, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.qhT, ptr %517, i32 0, i32 110
  %519 = load i32, ptr %518, align 8, !tbaa !24
  store i32 %519, ptr %22, align 4, !tbaa !9
  br label %520

520:                                              ; preds = %549, %516
  %521 = load i32, ptr %22, align 4, !tbaa !9
  %522 = add nsw i32 %521, -1
  store i32 %522, ptr %22, align 4, !tbaa !9
  %523 = icmp ne i32 %521, 0
  br i1 %523, label %524, label %550

524:                                              ; preds = %520
  %525 = load ptr, ptr %18, align 8, !tbaa !5
  %526 = getelementptr inbounds double, ptr %525, i32 1
  store ptr %526, ptr %18, align 8, !tbaa !5
  %527 = load double, ptr %525, align 8, !tbaa !25
  %528 = load ptr, ptr %9, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.facetT, ptr %528, i32 0, i32 2
  %530 = load double, ptr %529, align 8, !tbaa !30
  %531 = load ptr, ptr %6, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.qhT, ptr %531, i32 0, i32 140
  %533 = load double, ptr %532, align 8, !tbaa !42
  %534 = call double @qh_divzero(double noundef %527, double noundef %530, double noundef %533, ptr noundef %16)
  %535 = load ptr, ptr %21, align 8, !tbaa !5
  %536 = getelementptr inbounds double, ptr %535, i32 1
  store ptr %536, ptr %21, align 8, !tbaa !5
  %537 = load double, ptr %535, align 8, !tbaa !25
  %538 = fadd double %534, %537
  %539 = load ptr, ptr %19, align 8, !tbaa !5
  %540 = getelementptr inbounds double, ptr %539, i32 1
  store ptr %540, ptr %19, align 8, !tbaa !5
  store double %538, ptr %539, align 8, !tbaa !25
  %541 = load i32, ptr %16, align 4, !tbaa !9
  %542 = icmp ne i32 %541, 0
  br i1 %542, label %543, label %549

543:                                              ; preds = %524
  %544 = load ptr, ptr %6, align 8, !tbaa !5
  %545 = load ptr, ptr %17, align 8, !tbaa !5
  %546 = load ptr, ptr %6, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.qhT, ptr %546, i32 0, i32 160
  %548 = load i32, ptr %547, align 8, !tbaa !39
  call void @qh_memfree(ptr noundef %544, ptr noundef %545, i32 noundef %548)
  br label %560

549:                                              ; preds = %524
  br label %520, !llvm.loop !43

550:                                              ; preds = %520
  br label %551

551:                                              ; preds = %550, %515
  %552 = load ptr, ptr %6, align 8, !tbaa !5
  %553 = load ptr, ptr %7, align 8, !tbaa !5
  %554 = load ptr, ptr %17, align 8, !tbaa !5
  call void @qh_printpoint(ptr noundef %552, ptr noundef %553, ptr noundef null, ptr noundef %554)
  %555 = load ptr, ptr %6, align 8, !tbaa !5
  %556 = load ptr, ptr %17, align 8, !tbaa !5
  %557 = load ptr, ptr %6, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.qhT, ptr %557, i32 0, i32 160
  %559 = load i32, ptr %558, align 8, !tbaa !39
  call void @qh_memfree(ptr noundef %555, ptr noundef %556, i32 noundef %559)
  br label %662

560:                                              ; preds = %543, %471
  %561 = load ptr, ptr %6, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.qhT, ptr %561, i32 0, i32 110
  %563 = load i32, ptr %562, align 8, !tbaa !24
  store i32 %563, ptr %22, align 4, !tbaa !9
  br label %564

564:                                              ; preds = %568, %560
  %565 = load i32, ptr %22, align 4, !tbaa !9
  %566 = add nsw i32 %565, -1
  store i32 %566, ptr %22, align 4, !tbaa !9
  %567 = icmp ne i32 %565, 0
  br i1 %567, label %568, label %571

568:                                              ; preds = %564
  %569 = load ptr, ptr %6, align 8, !tbaa !5
  %570 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %569, ptr noundef %570, i32 noundef 9026, ptr noundef @.str.17, double noundef -1.010100e+01)
  br label %564, !llvm.loop !44

571:                                              ; preds = %564
  %572 = load ptr, ptr %6, align 8, !tbaa !5
  %573 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %572, ptr noundef %573, i32 noundef 9027, ptr noundef @.str.18)
  br label %662

574:                                              ; preds = %54
  store ptr null, ptr %17, align 8, !tbaa !5
  %575 = load ptr, ptr %9, align 8, !tbaa !5
  %576 = getelementptr inbounds %struct.facetT, ptr %575, i32 0, i32 12
  %577 = load ptr, ptr %576, align 8, !tbaa !19
  %578 = icmp ne ptr %577, null
  br i1 %578, label %579, label %612

579:                                              ; preds = %574
  %580 = load ptr, ptr %9, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct.facetT, ptr %580, i32 0, i32 12
  %582 = load ptr, ptr %581, align 8, !tbaa !19
  %583 = getelementptr inbounds %struct.setT, ptr %582, i32 0, i32 1
  %584 = getelementptr inbounds [1 x %union.setelemT], ptr %583, i64 0, i64 0
  store ptr %584, ptr %20, align 8, !tbaa !5
  br label %585

585:                                              ; preds = %590, %579
  %586 = load ptr, ptr %20, align 8, !tbaa !5
  %587 = getelementptr inbounds ptr, ptr %586, i32 1
  store ptr %587, ptr %20, align 8, !tbaa !5
  %588 = load ptr, ptr %586, align 8, !tbaa !5
  store ptr %588, ptr %17, align 8, !tbaa !5
  %589 = icmp ne ptr %588, null
  br i1 %589, label %590, label %611

590:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  %591 = load ptr, ptr %6, align 8, !tbaa !5
  %592 = load ptr, ptr %9, align 8, !tbaa !5
  %593 = load ptr, ptr %17, align 8, !tbaa !5
  %594 = call ptr @qh_nearvertex(ptr noundef %591, ptr noundef %592, ptr noundef %593, ptr noundef %13)
  store ptr %594, ptr %23, align 8, !tbaa !5
  %595 = load ptr, ptr %6, align 8, !tbaa !5
  %596 = load ptr, ptr %23, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.vertexT, ptr %596, i32 0, i32 2
  %598 = load ptr, ptr %597, align 8, !tbaa !45
  %599 = call i32 @qh_pointid(ptr noundef %595, ptr noundef %598)
  store i32 %599, ptr %28, align 4, !tbaa !9
  %600 = load ptr, ptr %6, align 8, !tbaa !5
  %601 = load ptr, ptr %17, align 8, !tbaa !5
  %602 = call i32 @qh_pointid(ptr noundef %600, ptr noundef %601)
  store i32 %602, ptr %29, align 4, !tbaa !9
  %603 = load ptr, ptr %6, align 8, !tbaa !5
  %604 = load ptr, ptr %7, align 8, !tbaa !5
  %605 = load i32, ptr %28, align 4, !tbaa !9
  %606 = load i32, ptr %29, align 4, !tbaa !9
  %607 = load ptr, ptr %9, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.facetT, ptr %607, i32 0, i32 14
  %609 = load i32, ptr %608, align 4, !tbaa !28
  %610 = load double, ptr %13, align 8, !tbaa !25
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %603, ptr noundef %604, i32 noundef 9028, ptr noundef @.str.25, i32 noundef %605, i32 noundef %606, i32 noundef %609, double noundef %610)
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  br label %585, !llvm.loop !47

611:                                              ; preds = %585
  br label %612

612:                                              ; preds = %611, %574
  br label %662

613:                                              ; preds = %54
  %614 = load ptr, ptr %6, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.qhT, ptr %614, i32 0, i32 12
  %616 = load i32, ptr %615, align 4, !tbaa !31
  %617 = icmp ne i32 %616, 0
  br i1 %617, label %618, label %621

618:                                              ; preds = %613
  %619 = load ptr, ptr %6, align 8, !tbaa !5
  %620 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %619, ptr noundef %620, i32 noundef 9029, ptr noundef @.str.26)
  br label %621

621:                                              ; preds = %618, %613
  %622 = load ptr, ptr %6, align 8, !tbaa !5
  %623 = load ptr, ptr %7, align 8, !tbaa !5
  %624 = load i32, ptr %8, align 4, !tbaa !9
  %625 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %622, ptr noundef %623, i32 noundef %624, ptr noundef null, ptr noundef %625)
  br label %662

626:                                              ; preds = %54
  %627 = load ptr, ptr %6, align 8, !tbaa !5
  %628 = load ptr, ptr %7, align 8, !tbaa !5
  %629 = load ptr, ptr %6, align 8, !tbaa !5
  %630 = load ptr, ptr %9, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.facetT, ptr %630, i32 0, i32 8
  %632 = load ptr, ptr %631, align 8, !tbaa !48
  %633 = call i32 @qh_setsize(ptr noundef %629, ptr noundef %632)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %627, ptr noundef %628, i32 noundef 9030, ptr noundef @.str.20, i32 noundef %633)
  store ptr null, ptr %23, align 8, !tbaa !5
  %634 = load ptr, ptr %9, align 8, !tbaa !5
  %635 = getelementptr inbounds %struct.facetT, ptr %634, i32 0, i32 8
  %636 = load ptr, ptr %635, align 8, !tbaa !48
  %637 = icmp ne ptr %636, null
  br i1 %637, label %638, label %658

638:                                              ; preds = %626
  %639 = load ptr, ptr %9, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.facetT, ptr %639, i32 0, i32 8
  %641 = load ptr, ptr %640, align 8, !tbaa !48
  %642 = getelementptr inbounds %struct.setT, ptr %641, i32 0, i32 1
  %643 = getelementptr inbounds [1 x %union.setelemT], ptr %642, i64 0, i64 0
  store ptr %643, ptr %24, align 8, !tbaa !5
  br label %644

644:                                              ; preds = %649, %638
  %645 = load ptr, ptr %24, align 8, !tbaa !5
  %646 = getelementptr inbounds ptr, ptr %645, i32 1
  store ptr %646, ptr %24, align 8, !tbaa !5
  %647 = load ptr, ptr %645, align 8, !tbaa !5
  store ptr %647, ptr %23, align 8, !tbaa !5
  %648 = icmp ne ptr %647, null
  br i1 %648, label %649, label %657

649:                                              ; preds = %644
  %650 = load ptr, ptr %6, align 8, !tbaa !5
  %651 = load ptr, ptr %7, align 8, !tbaa !5
  %652 = load ptr, ptr %6, align 8, !tbaa !5
  %653 = load ptr, ptr %23, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.vertexT, ptr %653, i32 0, i32 2
  %655 = load ptr, ptr %654, align 8, !tbaa !45
  %656 = call i32 @qh_pointid(ptr noundef %652, ptr noundef %655)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %650, ptr noundef %651, i32 noundef 9031, ptr noundef @.str.21, i32 noundef %656)
  br label %644, !llvm.loop !49

657:                                              ; preds = %644
  br label %658

658:                                              ; preds = %657, %626
  %659 = load ptr, ptr %6, align 8, !tbaa !5
  %660 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %659, ptr noundef %660, i32 noundef 9032, ptr noundef @.str.18)
  br label %662

661:                                              ; preds = %54
  br label %662

662:                                              ; preds = %661, %658, %621, %612, %571, %551, %452, %408, %382, %321, %297, %288, %239, %238, %130, %121, %117, %112, %109, %78
  store i32 0, ptr %27, align 4
  br label %663

663:                                              ; preds = %662, %53, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, 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 32, ptr %11) #3
  %664 = load i32, ptr %27, align 4
  switch i32 %664, label %666 [
    i32 0, label %665
    i32 1, label %665
  ]

665:                                              ; preds = %663, %663
  ret void

666:                                              ; preds = %663
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare double @qh_divzero(double noundef, double noundef, double noundef, ptr noundef) #1

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 2704}
!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 2752}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !6, i64 96}
!20 = !{!"facetT", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !7, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!20, !6, i64 24}
!24 = !{!12, !10, i64 632}
!25 = !{!13, !13, i64 0}
!26 = distinct !{!26, !22}
!27 = !{!12, !10, i64 264}
!28 = !{!20, !10, i64 108}
!29 = !{!12, !10, i64 2748}
!30 = !{!20, !13, i64 16}
!31 = !{!12, !10, i64 52}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22}
!34 = !{!20, !6, i64 80}
!35 = !{!20, !10, i64 104}
!36 = distinct !{!36, !22}
!37 = !{!12, !6, i64 616}
!38 = !{!12, !6, i64 2424}
!39 = !{!12, !10, i64 2440}
!40 = !{!12, !13, i64 1840}
!41 = distinct !{!41, !22}
!42 = !{!12, !13, i64 1832}
!43 = distinct !{!43, !22}
!44 = distinct !{!44, !22}
!45 = !{!46, !6, i64 16}
!46 = !{!"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}
!47 = distinct !{!47, !22}
!48 = !{!20, !6, i64 64}
!49 = distinct !{!49, !22}


; 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.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 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

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_printafacet(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = alloca [4 x double], align 16
  %7 = ptrtoint ptr %6 to i64
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %12, label %14

12:                                               ; preds = %5
  %13 = tail call i32 @qh_skipfacet(ptr noundef %0, ptr noundef %3)
  %.not258 = icmp eq i32 %13, 0
  br i1 %.not258, label %14, label %.loopexit295

14:                                               ; preds = %12, %5
  %15 = getelementptr inbounds i8, ptr %3, i64 112
  %16 = load i32, ptr %15, align 8
  %17 = and i32 %16, 2048
  %.not259 = icmp eq i32 %17, 0
  br i1 %.not259, label %23, label %18

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %0, i64 2704
  %20 = load i32, ptr %19, align 8, !tbaa !5
  %21 = icmp ne i32 %20, 0
  %22 = icmp ne i32 %2, 5
  %or.cond = and i1 %22, %21
  br i1 %or.cond, label %.loopexit295, label %23

23:                                               ; preds = %18, %14
  %24 = getelementptr inbounds i8, ptr %0, i64 2752
  %25 = load i32, ptr %24, align 8, !tbaa !15
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %24, align 8, !tbaa !15
  switch i32 %2, label %.loopexit295 [
    i32 1, label %27
    i32 3, label %34
    i32 4, label %43
    i32 5, label %44
    i32 6, label %45
    i32 7, label %46
    i32 8, label %103
    i32 14, label %106
    i32 17, label %106
    i32 25, label %106
    i32 9, label %123
    i32 16, label %128
    i32 11, label %131
    i32 12, label %134
    i32 15, label %169
    i32 13, label %169
    i32 10, label %178
    i32 19, label %196
    i32 20, label %282
    i32 21, label %297
    i32 26, label %302
  ]

27:                                               ; preds = %23
  %28 = load i32, ptr %15, align 8
  %29 = and i32 %28, 1048576
  %.not287 = icmp eq i32 %29, 0
  br i1 %.not287, label %33, label %30

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %3, i64 32
  %32 = load double, ptr %31, align 8, !tbaa !16
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9009, ptr noundef nonnull @.str.17, double noundef %32) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9010, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

33:                                               ; preds = %27
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9011, ptr noundef nonnull @.str.19) #3
  br label %.loopexit295

34:                                               ; preds = %23
  %35 = getelementptr inbounds i8, ptr %3, i64 96
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %36) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9012, ptr noundef nonnull @.str.20, i32 noundef %37) #3
  %38 = load ptr, ptr %35, align 8, !tbaa !17
  %.not284 = icmp eq ptr %38, null
  br i1 %.not284, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %34
  %.0238329 = getelementptr inbounds i8, ptr %38, i64 8
  %39 = load ptr, ptr %.0238329, align 8, !tbaa !19
  %.not286330 = icmp eq ptr %39, null
  br i1 %.not286330, label %.loopexit, label %.lr.ph332

.lr.ph332:                                        ; preds = %.preheader, %.lr.ph332
  %40 = phi ptr [ %42, %.lr.ph332 ], [ %39, %.preheader ]
  %.0238331 = phi ptr [ %.0238, %.lr.ph332 ], [ %.0238329, %.preheader ]
  %41 = tail call i32 @qh_pointid(ptr noundef %0, ptr noundef nonnull %40) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9013, ptr noundef nonnull @.str.21, i32 noundef %41) #3
  %.0238 = getelementptr inbounds i8, ptr %.0238331, i64 8
  %42 = load ptr, ptr %.0238, align 8, !tbaa !19
  %.not286 = icmp eq ptr %42, null
  br i1 %.not286, label %.loopexit, label %.lr.ph332, !llvm.loop !20

.loopexit:                                        ; preds = %.lr.ph332, %.preheader, %34
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9014, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

43:                                               ; preds = %23
  tail call void @qh_printcenter(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 4, ptr noundef null, ptr noundef nonnull %3)
  br label %.loopexit295

44:                                               ; preds = %23
  tail call void @qh_printfacet(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3)
  br label %.loopexit295

45:                                               ; preds = %23
  tail call void @qh_printfacetheader(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3)
  br label %.loopexit295

46:                                               ; preds = %23
  %47 = getelementptr inbounds i8, ptr %3, i64 24
  %48 = load ptr, ptr %47, align 8, !tbaa !22
  %49 = ptrtoint ptr %48 to i64
  %.not278 = icmp eq ptr %48, null
  br i1 %.not278, label %.loopexit295, label %50

50:                                               ; preds = %46
  %51 = getelementptr inbounds i8, ptr %0, i64 632
  %52 = load i32, ptr %51, align 8, !tbaa !23
  %.not279324 = icmp eq i32 %52, 0
  br i1 %.not279324, label %._crit_edge328, label %.lr.ph327.preheader

.lr.ph327.preheader:                              ; preds = %50
  %53 = sext i32 %52 to i64
  %min.iters.check367 = icmp ult i32 %52, 4
  %54 = sub i64 %49, %7
  %diff.check = icmp ult i64 %54, 32
  %or.cond383 = or i1 %min.iters.check367, %diff.check
  br i1 %or.cond383, label %.lr.ph327.preheader384, label %vector.ph368

vector.ph368:                                     ; preds = %.lr.ph327.preheader
  %n.vec370 = and i64 %53, -4
  %ind.end371 = and i64 %53, 3
  br label %vector.body373

vector.body373:                                   ; preds = %vector.body373, %vector.ph368
  %index374 = phi i64 [ 0, %vector.ph368 ], [ %index.next381, %vector.body373 ]
  %55 = xor i64 %index374, -1
  %56 = add i64 %55, %53
  %57 = getelementptr inbounds double, ptr %48, i64 %56
  %58 = getelementptr inbounds i8, ptr %57, i64 -8
  %59 = getelementptr inbounds i8, ptr %57, i64 -24
  %wide.load376 = load <2 x double>, ptr %58, align 8, !tbaa !24
  %wide.load377 = load <2 x double>, ptr %59, align 8, !tbaa !24
  %60 = fadd <2 x double> %wide.load376, <double 1.000000e+00, double 1.000000e+00>
  %61 = fadd <2 x double> %wide.load377, <double 1.000000e+00, double 1.000000e+00>
  %62 = fmul <2 x double> %60, <double 5.000000e-01, double 5.000000e-01>
  %63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %64 = fmul <2 x double> %61, <double 5.000000e-01, double 5.000000e-01>
  %65 = shufflevector <2 x double> %64, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %66 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 %56
  %67 = fcmp olt <2 x double> %63, <double -1.000000e+00, double -1.000000e+00>
  %68 = fcmp olt <2 x double> %65, <double -1.000000e+00, double -1.000000e+00>
  %69 = select <2 x i1> %67, <2 x double> <double -1.000000e+00, double -1.000000e+00>, <2 x double> %63
  %70 = select <2 x i1> %68, <2 x double> <double -1.000000e+00, double -1.000000e+00>, <2 x double> %65
  %71 = fcmp ogt <2 x double> %69, <double 1.000000e+00, double 1.000000e+00>
  %72 = fcmp ogt <2 x double> %70, <double 1.000000e+00, double 1.000000e+00>
  %73 = select <2 x i1> %71, <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double> %69
  %74 = select <2 x i1> %72, <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double> %70
  %75 = getelementptr inbounds i8, ptr %66, i64 -8
  %76 = getelementptr inbounds i8, ptr %66, i64 -24
  %reverse379 = shufflevector <2 x double> %73, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse379, ptr %75, align 8, !tbaa !24
  %reverse380 = shufflevector <2 x double> %74, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse380, ptr %76, align 8, !tbaa !24
  %index.next381 = add nuw i64 %index374, 4
  %77 = icmp eq i64 %index.next381, %n.vec370
  br i1 %77, label %middle.block365, label %vector.body373, !llvm.loop !25

middle.block365:                                  ; preds = %vector.body373
  %cmp.n382 = icmp eq i64 %n.vec370, %53
  br i1 %cmp.n382, label %._crit_edge328, label %.lr.ph327.preheader384

.lr.ph327.preheader384:                           ; preds = %middle.block365, %.lr.ph327.preheader
  %indvars.iv338.ph = phi i64 [ %53, %.lr.ph327.preheader ], [ %ind.end371, %middle.block365 ]
  br label %.lr.ph327

.lr.ph327:                                        ; preds = %.lr.ph327.preheader384, %.lr.ph327
  %indvars.iv338 = phi i64 [ %indvars.iv.next339, %.lr.ph327 ], [ %indvars.iv338.ph, %.lr.ph327.preheader384 ]
  %indvars.iv.next339 = add nsw i64 %indvars.iv338, -1
  %78 = getelementptr inbounds double, ptr %48, i64 %indvars.iv.next339
  %79 = load double, ptr %78, align 8, !tbaa !24
  %80 = fadd double %79, 1.000000e+00
  %81 = fmul double %80, 5.000000e-01
  %82 = getelementptr inbounds [4 x double], ptr %6, i64 0, i64 %indvars.iv.next339
  %83 = fcmp olt double %81, -1.000000e+00
  %storemerge = select i1 %83, double -1.000000e+00, double %81
  %84 = fcmp ogt double %storemerge, 1.000000e+00
  %storemerge283 = select i1 %84, double 1.000000e+00, double %storemerge
  store double %storemerge283, ptr %82, align 8, !tbaa !24
  %.not279 = icmp eq i64 %indvars.iv.next339, 0
  br i1 %.not279, label %._crit_edge328, label %.lr.ph327, !llvm.loop !28

._crit_edge328:                                   ; preds = %.lr.ph327, %middle.block365, %50
  call void @qh_projectdim3(ptr noundef %0, ptr noundef nonnull %6, ptr noundef nonnull %6)
  %85 = getelementptr inbounds i8, ptr %0, i64 264
  %86 = load i32, ptr %85, align 8, !tbaa !29
  %87 = load i32, ptr %51, align 8, !tbaa !23
  %.not280 = icmp eq i32 %86, %87
  br i1 %.not280, label %89, label %88

88:                                               ; preds = %._crit_edge328
  call void @qh_normalize2(ptr noundef nonnull %0, ptr noundef nonnull %6, i32 noundef 3, i32 noundef 1, ptr noundef null, ptr noundef null) #3
  %.pr = load i32, ptr %51, align 8, !tbaa !23
  br label %89

89:                                               ; preds = %88, %._crit_edge328
  %90 = phi i32 [ %.pr, %88 ], [ %86, %._crit_edge328 ]
  %91 = icmp slt i32 %90, 3
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  call void @qh_printfacet2geom(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %3, ptr noundef nonnull %6)
  br label %.loopexit295

93:                                               ; preds = %89
  %94 = icmp eq i32 %90, 3
  %95 = load i32, ptr %15, align 8
  %96 = and i32 %95, 8192
  %.not282 = icmp eq i32 %96, 0
  br i1 %94, label %97, label %100

97:                                               ; preds = %93
  br i1 %.not282, label %99, label %98

98:                                               ; preds = %97
  call void @qh_printfacet3geom_simplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %6)
  br label %.loopexit295

99:                                               ; preds = %97
  call void @qh_printfacet3geom_nonsimplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %6)
  br label %.loopexit295

100:                                              ; preds = %93
  br i1 %.not282, label %102, label %101

101:                                              ; preds = %100
  call void @qh_printfacet4geom_simplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %6)
  br label %.loopexit295

102:                                              ; preds = %100
  call void @qh_printfacet4geom_nonsimplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %6)
  br label %.loopexit295

103:                                              ; preds = %23
  %104 = getelementptr inbounds i8, ptr %3, i64 108
  %105 = load i32, ptr %104, align 4, !tbaa !30
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9015, ptr noundef nonnull @.str.22, i32 noundef %105) #3
  br label %.loopexit295

106:                                              ; preds = %23, %23, %23
  %107 = getelementptr inbounds i8, ptr %0, i64 632
  %108 = load i32, ptr %107, align 8, !tbaa !23
  %109 = icmp eq i32 %108, 3
  %110 = icmp ne i32 %2, 25
  %or.cond3 = and i1 %110, %109
  br i1 %or.cond3, label %111, label %112

111:                                              ; preds = %106
  tail call void @qh_printfacet3vertex(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %2)
  br label %.loopexit295

112:                                              ; preds = %106
  %113 = load i32, ptr %15, align 8
  %114 = and i32 %113, 8192
  %.not277 = icmp eq i32 %114, 0
  br i1 %.not277, label %115, label %118

115:                                              ; preds = %112
  %116 = icmp eq i32 %108, 2
  %117 = icmp eq i32 %2, 17
  %or.cond5 = or i1 %117, %116
  br i1 %or.cond5, label %118, label %119

118:                                              ; preds = %115, %112
  tail call void @qh_printfacetNvertex_simplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %2)
  br label %.loopexit295

119:                                              ; preds = %115
  %120 = getelementptr inbounds i8, ptr %0, i64 2748
  %121 = load i32, ptr %120, align 4, !tbaa !31
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %120, align 4, !tbaa !31
  tail call void @qh_printfacetNvertex_nonsimplicial(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %121, i32 noundef %2)
  br label %.loopexit295

123:                                              ; preds = %23
  call void @qh_outerinner(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef null, ptr noundef nonnull %10) #3
  %124 = getelementptr inbounds i8, ptr %3, i64 16
  %125 = load double, ptr %124, align 8, !tbaa !32
  %126 = load double, ptr %10, align 8, !tbaa !24
  %127 = fsub double %125, %126
  br label %139

128:                                              ; preds = %23
  %129 = load i32, ptr %15, align 8
  %130 = and i32 %129, 511
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9016, ptr noundef nonnull @.str.22, i32 noundef %130) #3
  br label %.loopexit295

131:                                              ; preds = %23
  %132 = getelementptr inbounds i8, ptr %3, i64 16
  %133 = load double, ptr %132, align 8, !tbaa !32
  br label %139

134:                                              ; preds = %23
  call void @qh_outerinner(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %9, ptr noundef null) #3
  %135 = getelementptr inbounds i8, ptr %3, i64 16
  %136 = load double, ptr %135, align 8, !tbaa !32
  %137 = load double, ptr %9, align 8, !tbaa !24
  %138 = fsub double %136, %137
  br label %139

139:                                              ; preds = %134, %131, %123
  %.0 = phi double [ %138, %134 ], [ %133, %131 ], [ %127, %123 ]
  %140 = getelementptr inbounds i8, ptr %3, i64 24
  %141 = load ptr, ptr %140, align 8, !tbaa !22
  %.not275 = icmp eq ptr %141, null
  br i1 %.not275, label %142, label %145

142:                                              ; preds = %139
  %143 = getelementptr inbounds i8, ptr %3, i64 108
  %144 = load i32, ptr %143, align 4, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9017, ptr noundef nonnull @.str.23, i32 noundef %144) #3
  br label %.loopexit295

145:                                              ; preds = %139
  %146 = getelementptr inbounds i8, ptr %0, i64 52
  %147 = load i32, ptr %146, align 4, !tbaa !33
  %.not276 = icmp eq i32 %147, 0
  br i1 %.not276, label %.preheader288, label %151

.preheader288:                                    ; preds = %145
  %148 = getelementptr inbounds i8, ptr %0, i64 632
  %149 = load i32, ptr %148, align 8, !tbaa !23
  %150 = icmp sgt i32 %149, 0
  br i1 %150, label %.lr.ph322, label %._crit_edge323

151:                                              ; preds = %145
  %152 = fneg double %.0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9018, ptr noundef nonnull @.str.17, double noundef %152) #3
  %153 = getelementptr inbounds i8, ptr %0, i64 632
  %154 = load i32, ptr %153, align 8, !tbaa !23
  %155 = icmp sgt i32 %154, 0
  br i1 %155, label %.lr.ph320, label %.loopexit289

.lr.ph320:                                        ; preds = %151, %.lr.ph320
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph320 ], [ 0, %151 ]
  %156 = load ptr, ptr %140, align 8, !tbaa !22
  %157 = getelementptr inbounds double, ptr %156, i64 %indvars.iv
  %158 = load double, ptr %157, align 8, !tbaa !24
  %159 = fneg double %158
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9019, ptr noundef nonnull @.str.17, double noundef %159) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %160 = load i32, ptr %153, align 8, !tbaa !23
  %161 = sext i32 %160 to i64
  %162 = icmp slt i64 %indvars.iv.next, %161
  br i1 %162, label %.lr.ph320, label %.loopexit289, !llvm.loop !34

.lr.ph322:                                        ; preds = %.preheader288, %.lr.ph322
  %indvars.iv335 = phi i64 [ %indvars.iv.next336, %.lr.ph322 ], [ 0, %.preheader288 ]
  %163 = load ptr, ptr %140, align 8, !tbaa !22
  %164 = getelementptr inbounds double, ptr %163, i64 %indvars.iv335
  %165 = load double, ptr %164, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9020, ptr noundef nonnull @.str.17, double noundef %165) #3
  %indvars.iv.next336 = add nuw nsw i64 %indvars.iv335, 1
  %166 = load i32, ptr %148, align 8, !tbaa !23
  %167 = sext i32 %166 to i64
  %168 = icmp slt i64 %indvars.iv.next336, %167
  br i1 %168, label %.lr.ph322, label %._crit_edge323, !llvm.loop !35

._crit_edge323:                                   ; preds = %.lr.ph322, %.preheader288
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9021, ptr noundef nonnull @.str.17, double noundef %.0) #3
  br label %.loopexit289

.loopexit289:                                     ; preds = %.lr.ph320, %151, %._crit_edge323
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9022, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

169:                                              ; preds = %23, %23
  %170 = getelementptr inbounds i8, ptr %0, i64 632
  %171 = load i32, ptr %170, align 8, !tbaa !23
  %172 = icmp eq i32 %171, 2
  %173 = getelementptr inbounds i8, ptr %0, i64 2748
  %174 = load i32, ptr %173, align 4, !tbaa !31
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %173, align 4, !tbaa !31
  br i1 %172, label %176, label %177

176:                                              ; preds = %169
  tail call void @qh_printfacet2math(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %2, i32 noundef %174)
  br label %.loopexit295

177:                                              ; preds = %169
  tail call void @qh_printfacet3math(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %2, i32 noundef %174)
  br label %.loopexit295

178:                                              ; preds = %23
  %179 = getelementptr inbounds i8, ptr %3, i64 80
  %180 = load ptr, ptr %179, align 8, !tbaa !36
  %181 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %180) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9023, ptr noundef nonnull @.str.20, i32 noundef %181) #3
  %182 = load ptr, ptr %179, align 8, !tbaa !36
  %.not271 = icmp eq ptr %182, null
  br i1 %.not271, label %.loopexit291, label %.preheader290

.preheader290:                                    ; preds = %178
  %.0233314 = getelementptr inbounds i8, ptr %182, i64 8
  %183 = load ptr, ptr %.0233314, align 8, !tbaa !19
  %.not273315 = icmp eq ptr %183, null
  br i1 %.not273315, label %.loopexit291, label %.lr.ph317

.lr.ph317:                                        ; preds = %.preheader290, %193
  %184 = phi ptr [ %195, %193 ], [ %183, %.preheader290 ]
  %.0233316 = phi ptr [ %.0233, %193 ], [ %.0233314, %.preheader290 ]
  %185 = getelementptr inbounds i8, ptr %184, i64 104
  %186 = load i32, ptr %185, align 8, !tbaa !37
  %.not274 = icmp eq i32 %186, 0
  br i1 %.not274, label %189, label %187

187:                                              ; preds = %.lr.ph317
  %188 = add i32 %186, -1
  br label %193

189:                                              ; preds = %.lr.ph317
  %190 = getelementptr inbounds i8, ptr %184, i64 108
  %191 = load i32, ptr %190, align 4, !tbaa !30
  %192 = sub i32 0, %191
  br label %193

193:                                              ; preds = %189, %187
  %194 = phi i32 [ %188, %187 ], [ %192, %189 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9024, ptr noundef nonnull @.str.21, i32 noundef %194) #3
  %.0233 = getelementptr inbounds i8, ptr %.0233316, i64 8
  %195 = load ptr, ptr %.0233, align 8, !tbaa !19
  %.not273 = icmp eq ptr %195, null
  br i1 %.not273, label %.loopexit291, label %.lr.ph317, !llvm.loop !38

.loopexit291:                                     ; preds = %193, %.preheader290, %178
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9025, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

196:                                              ; preds = %23
  %197 = getelementptr inbounds i8, ptr %0, i64 616
  %198 = load ptr, ptr %197, align 8, !tbaa !39
  %.not266 = icmp eq ptr %198, null
  br i1 %.not266, label %199, label %202

199:                                              ; preds = %196
  %200 = getelementptr inbounds i8, ptr %0, i64 2424
  %201 = load ptr, ptr %200, align 8, !tbaa !40
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %201, i32 noundef 6067, ptr noundef nonnull @.str.24) #3
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #3
  br label %202

202:                                              ; preds = %199, %196
  %203 = getelementptr inbounds i8, ptr %3, i64 16
  %204 = load double, ptr %203, align 8, !tbaa !32
  %205 = fcmp ogt double %204, 0.000000e+00
  br i1 %205, label %278, label %206

206:                                              ; preds = %202
  %207 = getelementptr inbounds i8, ptr %0, i64 2440
  %208 = load i32, ptr %207, align 8, !tbaa !41
  %209 = tail call ptr @qh_memalloc(ptr noundef nonnull %0, i32 noundef %208) #3
  %210 = getelementptr inbounds i8, ptr %3, i64 24
  %211 = load ptr, ptr %210, align 8, !tbaa !22
  %212 = load ptr, ptr %197, align 8, !tbaa !39
  %213 = load double, ptr %203, align 8, !tbaa !32
  %214 = getelementptr inbounds i8, ptr %0, i64 1840
  %215 = load double, ptr %214, align 8, !tbaa !42
  %216 = fneg double %215
  %217 = fcmp olt double %213, %216
  %218 = getelementptr inbounds i8, ptr %0, i64 632
  %219 = load i32, ptr %218, align 8, !tbaa !23
  br i1 %217, label %220, label %260

220:                                              ; preds = %206
  %.not269305 = icmp eq i32 %219, 0
  br i1 %.not269305, label %.loopexit292, label %.lr.ph310.preheader

.lr.ph310.preheader:                              ; preds = %220
  %221 = zext i32 %219 to i64
  %min.iters.check = icmp ult i32 %219, 4
  br i1 %min.iters.check, label %.lr.ph310.preheader385, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph310.preheader
  %222 = add i32 %219, -1
  %223 = zext i32 %222 to i64
  %224 = shl nuw nsw i64 %223, 3
  %225 = add nuw nsw i64 %224, 8
  %scevgep = getelementptr i8, ptr %209, i64 %225
  %scevgep343 = getelementptr i8, ptr %211, i64 %225
  %scevgep344 = getelementptr i8, ptr %3, i64 24
  %scevgep345 = getelementptr i8, ptr %212, i64 %225
  %bound0 = icmp ult ptr %209, %scevgep343
  %bound1 = icmp ult ptr %211, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0346 = icmp ult ptr %209, %scevgep344
  %bound1347 = icmp ult ptr %203, %scevgep
  %found.conflict348 = and i1 %bound0346, %bound1347
  %conflict.rdx = or i1 %found.conflict, %found.conflict348
  %bound0349 = icmp ult ptr %209, %scevgep345
  %bound1350 = icmp ult ptr %212, %scevgep
  %found.conflict351 = and i1 %bound0349, %bound1350
  %conflict.rdx352 = or i1 %conflict.rdx, %found.conflict351
  br i1 %conflict.rdx352, label %.lr.ph310.preheader385, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %221, 4294967294
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = sub i32 %219, %.cast
  %226 = shl nuw nsw i64 %n.vec, 3
  %ind.end353 = getelementptr i8, ptr %212, i64 %226
  %227 = shl nuw nsw i64 %n.vec, 3
  %ind.end355 = getelementptr i8, ptr %209, i64 %227
  %228 = shl nuw nsw i64 %n.vec, 3
  %ind.end357 = getelementptr i8, ptr %211, i64 %228
  %229 = load double, ptr %203, align 8, !tbaa !32, !alias.scope !43
  %broadcast.splatinsert = insertelement <2 x double> poison, double %229, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 3
  %next.gep = getelementptr i8, ptr %212, i64 %offset.idx
  %offset.idx359 = shl i64 %index, 3
  %next.gep360 = getelementptr i8, ptr %209, i64 %offset.idx359
  %offset.idx361 = shl i64 %index, 3
  %next.gep362 = getelementptr i8, ptr %211, i64 %offset.idx361
  %wide.load = load <2 x double>, ptr %next.gep362, align 8, !tbaa !24, !alias.scope !46
  %wide.load363 = load <2 x double>, ptr %next.gep, align 8, !tbaa !24, !alias.scope !48
  %230 = fdiv <2 x double> %wide.load, %broadcast.splat
  %231 = fsub <2 x double> %wide.load363, %230
  store <2 x double> %231, ptr %next.gep360, align 8, !tbaa !24, !alias.scope !50, !noalias !52
  %index.next = add nuw i64 %index, 2
  %232 = icmp eq i64 %index.next, %n.vec
  br i1 %232, label %middle.block, label %vector.body, !llvm.loop !53

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %221
  br i1 %cmp.n, label %.loopexit292, label %.lr.ph310.preheader385

.lr.ph310.preheader385:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph310.preheader
  %.3309.ph = phi i32 [ %219, %vector.memcheck ], [ %219, %.lr.ph310.preheader ], [ %ind.end, %middle.block ]
  %.0236308.ph = phi ptr [ %212, %vector.memcheck ], [ %212, %.lr.ph310.preheader ], [ %ind.end353, %middle.block ]
  %.0240307.ph = phi ptr [ %209, %vector.memcheck ], [ %209, %.lr.ph310.preheader ], [ %ind.end355, %middle.block ]
  %.0242306.ph = phi ptr [ %211, %vector.memcheck ], [ %211, %.lr.ph310.preheader ], [ %ind.end357, %middle.block ]
  %xtraiter = and i32 %.3309.ph, 1
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph310.prol.loopexit, label %.lr.ph310.prol

.lr.ph310.prol:                                   ; preds = %.lr.ph310.preheader385
  %233 = add nsw i32 %.3309.ph, -1
  %234 = getelementptr inbounds i8, ptr %.0242306.ph, i64 8
  %235 = load double, ptr %.0242306.ph, align 8, !tbaa !24
  %236 = load double, ptr %203, align 8, !tbaa !32
  %237 = getelementptr inbounds i8, ptr %.0236308.ph, i64 8
  %238 = load double, ptr %.0236308.ph, align 8, !tbaa !24
  %239 = fdiv double %235, %236
  %240 = fsub double %238, %239
  %241 = getelementptr inbounds i8, ptr %.0240307.ph, i64 8
  store double %240, ptr %.0240307.ph, align 8, !tbaa !24
  br label %.lr.ph310.prol.loopexit

.lr.ph310.prol.loopexit:                          ; preds = %.lr.ph310.prol, %.lr.ph310.preheader385
  %.3309.unr = phi i32 [ %.3309.ph, %.lr.ph310.preheader385 ], [ %233, %.lr.ph310.prol ]
  %.0236308.unr = phi ptr [ %.0236308.ph, %.lr.ph310.preheader385 ], [ %237, %.lr.ph310.prol ]
  %.0240307.unr = phi ptr [ %.0240307.ph, %.lr.ph310.preheader385 ], [ %241, %.lr.ph310.prol ]
  %.0242306.unr = phi ptr [ %.0242306.ph, %.lr.ph310.preheader385 ], [ %234, %.lr.ph310.prol ]
  %242 = icmp eq i32 %.3309.ph, 1
  br i1 %242, label %.loopexit292, label %.lr.ph310

.lr.ph310:                                        ; preds = %.lr.ph310.prol.loopexit, %.lr.ph310
  %.3309 = phi i32 [ %251, %.lr.ph310 ], [ %.3309.unr, %.lr.ph310.prol.loopexit ]
  %.0236308 = phi ptr [ %255, %.lr.ph310 ], [ %.0236308.unr, %.lr.ph310.prol.loopexit ]
  %.0240307 = phi ptr [ %259, %.lr.ph310 ], [ %.0240307.unr, %.lr.ph310.prol.loopexit ]
  %.0242306 = phi ptr [ %252, %.lr.ph310 ], [ %.0242306.unr, %.lr.ph310.prol.loopexit ]
  %243 = getelementptr inbounds i8, ptr %.0242306, i64 8
  %244 = load double, ptr %.0242306, align 8, !tbaa !24
  %245 = load double, ptr %203, align 8, !tbaa !32
  %246 = getelementptr inbounds i8, ptr %.0236308, i64 8
  %247 = load double, ptr %.0236308, align 8, !tbaa !24
  %248 = fdiv double %244, %245
  %249 = fsub double %247, %248
  %250 = getelementptr inbounds i8, ptr %.0240307, i64 8
  store double %249, ptr %.0240307, align 8, !tbaa !24
  %251 = add nsw i32 %.3309, -2
  %252 = getelementptr inbounds i8, ptr %.0242306, i64 16
  %253 = load double, ptr %243, align 8, !tbaa !24
  %254 = load double, ptr %203, align 8, !tbaa !32
  %255 = getelementptr inbounds i8, ptr %.0236308, i64 16
  %256 = load double, ptr %246, align 8, !tbaa !24
  %257 = fdiv double %253, %254
  %258 = fsub double %256, %257
  %259 = getelementptr inbounds i8, ptr %.0240307, i64 16
  store double %258, ptr %250, align 8, !tbaa !24
  %.not269.1 = icmp eq i32 %251, 0
  br i1 %.not269.1, label %.loopexit292, label %.lr.ph310, !llvm.loop !54

260:                                              ; preds = %206
  %261 = getelementptr inbounds i8, ptr %0, i64 1832
  br label %262

262:                                              ; preds = %263, %260
  %.1243 = phi ptr [ %211, %260 ], [ %265, %263 ]
  %.1241 = phi ptr [ %209, %260 ], [ %273, %263 ]
  %.1237 = phi ptr [ %212, %260 ], [ %270, %263 ]
  %.4 = phi i32 [ %219, %260 ], [ %264, %263 ]
  %.not267 = icmp eq i32 %.4, 0
  br i1 %.not267, label %.loopexit292, label %263

263:                                              ; preds = %262
  %264 = add nsw i32 %.4, -1
  %265 = getelementptr inbounds i8, ptr %.1243, i64 8
  %266 = load double, ptr %.1243, align 8, !tbaa !24
  %267 = load double, ptr %203, align 8, !tbaa !32
  %268 = load double, ptr %261, align 8, !tbaa !55
  %269 = call double @qh_divzero(double noundef %266, double noundef %267, double noundef %268, ptr noundef nonnull %11) #3
  %270 = getelementptr inbounds i8, ptr %.1237, i64 8
  %271 = load double, ptr %.1237, align 8, !tbaa !24
  %272 = fadd double %269, %271
  %273 = getelementptr inbounds i8, ptr %.1241, i64 8
  store double %272, ptr %.1241, align 8, !tbaa !24
  %274 = load i32, ptr %11, align 4, !tbaa !56
  %.not268 = icmp eq i32 %274, 0
  br i1 %.not268, label %262, label %275, !llvm.loop !57

275:                                              ; preds = %263
  %276 = load i32, ptr %207, align 8, !tbaa !41
  call void @qh_memfree(ptr noundef nonnull %0, ptr noundef %209, i32 noundef %276) #3
  br label %278

.loopexit292:                                     ; preds = %262, %.lr.ph310.prol.loopexit, %.lr.ph310, %middle.block, %220
  call void @qh_printpoint(ptr noundef %0, ptr noundef %1, ptr noundef null, ptr noundef %209)
  %277 = load i32, ptr %207, align 8, !tbaa !41
  call void @qh_memfree(ptr noundef %0, ptr noundef %209, i32 noundef %277) #3
  br label %.loopexit295

278:                                              ; preds = %202, %275
  %279 = getelementptr inbounds i8, ptr %0, i64 632
  %280 = load i32, ptr %279, align 8, !tbaa !23
  %.not270311 = icmp eq i32 %280, 0
  br i1 %.not270311, label %._crit_edge, label %.lr.ph313

.lr.ph313:                                        ; preds = %278, %.lr.ph313
  %.5312 = phi i32 [ %281, %.lr.ph313 ], [ %280, %278 ]
  %281 = add nsw i32 %.5312, -1
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9026, ptr noundef nonnull @.str.17, double noundef -1.010100e+01) #3
  %.not270 = icmp eq i32 %281, 0
  br i1 %.not270, label %._crit_edge, label %.lr.ph313, !llvm.loop !58

._crit_edge:                                      ; preds = %.lr.ph313, %278
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9027, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

282:                                              ; preds = %23
  %283 = getelementptr inbounds i8, ptr %3, i64 96
  %284 = load ptr, ptr %283, align 8, !tbaa !17
  %.not263 = icmp eq ptr %284, null
  br i1 %.not263, label %.loopexit295, label %.preheader294

.preheader294:                                    ; preds = %282
  %.1239301 = getelementptr inbounds i8, ptr %284, i64 8
  %285 = load ptr, ptr %.1239301, align 8, !tbaa !19
  %.not265302 = icmp eq ptr %285, null
  br i1 %.not265302, label %.loopexit295, label %.lr.ph304

.lr.ph304:                                        ; preds = %.preheader294
  %286 = getelementptr inbounds i8, ptr %3, i64 108
  br label %287

287:                                              ; preds = %.lr.ph304, %287
  %288 = phi ptr [ %285, %.lr.ph304 ], [ %296, %287 ]
  %.1239303 = phi ptr [ %.1239301, %.lr.ph304 ], [ %.1239, %287 ]
  %289 = call ptr @qh_nearvertex(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %288, ptr noundef nonnull %8) #3
  %290 = getelementptr inbounds i8, ptr %289, i64 16
  %291 = load ptr, ptr %290, align 8, !tbaa !59
  %292 = call i32 @qh_pointid(ptr noundef %0, ptr noundef %291) #3
  %293 = call i32 @qh_pointid(ptr noundef %0, ptr noundef nonnull %288) #3
  %294 = load i32, ptr %286, align 4, !tbaa !30
  %295 = load double, ptr %8, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9028, ptr noundef nonnull @.str.25, i32 noundef %292, i32 noundef %293, i32 noundef %294, double noundef %295) #3
  %.1239 = getelementptr inbounds i8, ptr %.1239303, i64 8
  %296 = load ptr, ptr %.1239, align 8, !tbaa !19
  %.not265 = icmp eq ptr %296, null
  br i1 %.not265, label %.loopexit295, label %287, !llvm.loop !61

297:                                              ; preds = %23
  %298 = getelementptr inbounds i8, ptr %0, i64 52
  %299 = load i32, ptr %298, align 4, !tbaa !33
  %.not262 = icmp eq i32 %299, 0
  br i1 %.not262, label %301, label %300

300:                                              ; preds = %297
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9029, ptr noundef nonnull @.str.26) #3
  br label %301

301:                                              ; preds = %300, %297
  tail call void @qh_printcenter(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 21, ptr noundef null, ptr noundef nonnull %3)
  br label %.loopexit295

302:                                              ; preds = %23
  %303 = getelementptr inbounds i8, ptr %3, i64 64
  %304 = load ptr, ptr %303, align 8, !tbaa !62
  %305 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %304) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 9030, ptr noundef nonnull @.str.20, i32 noundef %305) #3
  %306 = load ptr, ptr %303, align 8, !tbaa !62
  %.not260 = icmp eq ptr %306, null
  br i1 %.not260, label %.loopexit297, label %.preheader296

.preheader296:                                    ; preds = %302
  %.0234298 = getelementptr inbounds i8, ptr %306, i64 8
  %307 = load ptr, ptr %.0234298, align 8, !tbaa !19
  %.not261299 = icmp eq ptr %307, null
  br i1 %.not261299, label %.loopexit297, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader296, %.lr.ph
  %308 = phi ptr [ %312, %.lr.ph ], [ %307, %.preheader296 ]
  %.0234300 = phi ptr [ %.0234, %.lr.ph ], [ %.0234298, %.preheader296 ]
  %309 = getelementptr inbounds i8, ptr %308, i64 16
  %310 = load ptr, ptr %309, align 8, !tbaa !59
  %311 = tail call i32 @qh_pointid(ptr noundef %0, ptr noundef %310) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9031, ptr noundef nonnull @.str.21, i32 noundef %311) #3
  %.0234 = getelementptr inbounds i8, ptr %.0234300, i64 8
  %312 = load ptr, ptr %.0234, align 8, !tbaa !19
  %.not261 = icmp eq ptr %312, null
  br i1 %.not261, label %.loopexit297, label %.lr.ph, !llvm.loop !63

.loopexit297:                                     ; preds = %.lr.ph, %.preheader296, %302
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9032, ptr noundef nonnull @.str.18) #3
  br label %.loopexit295

.loopexit295:                                     ; preds = %287, %.preheader294, %.loopexit, %43, %44, %45, %103, %128, %142, %.loopexit289, %.loopexit291, %.loopexit292, %._crit_edge, %301, %.loopexit297, %33, %30, %46, %99, %98, %102, %101, %92, %118, %119, %111, %177, %176, %282, %23, %18, %12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare double @qh_divzero(double noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #1

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 2704}
!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 2752}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !11, i64 96}
!18 = !{!"facetT", !10, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!18, !11, i64 24}
!23 = !{!6, !7, i64 632}
!24 = !{!10, !10, i64 0}
!25 = distinct !{!25, !21, !26, !27}
!26 = !{!"llvm.loop.isvectorized", i32 1}
!27 = !{!"llvm.loop.unroll.runtime.disable"}
!28 = distinct !{!28, !21, !26}
!29 = !{!6, !7, i64 264}
!30 = !{!18, !7, i64 108}
!31 = !{!6, !7, i64 2748}
!32 = !{!18, !10, i64 16}
!33 = !{!6, !7, i64 52}
!34 = distinct !{!34, !21}
!35 = distinct !{!35, !21}
!36 = !{!18, !11, i64 80}
!37 = !{!18, !7, i64 104}
!38 = distinct !{!38, !21}
!39 = !{!6, !11, i64 616}
!40 = !{!6, !11, i64 2424}
!41 = !{!6, !7, i64 2440}
!42 = !{!6, !10, i64 1840}
!43 = !{!44}
!44 = distinct !{!44, !45}
!45 = distinct !{!45, !"LVerDomain"}
!46 = !{!47}
!47 = distinct !{!47, !45}
!48 = !{!49}
!49 = distinct !{!49, !45}
!50 = !{!51}
!51 = distinct !{!51, !45}
!52 = !{!47, !44, !49}
!53 = distinct !{!53, !21, !26, !27}
!54 = distinct !{!54, !21, !26}
!55 = !{!6, !10, i64 1832}
!56 = !{!7, !7, i64 0}
!57 = distinct !{!57, !21}
!58 = distinct !{!58, !21}
!59 = !{!60, !11, i64 16}
!60 = !{!"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}
!61 = distinct !{!61, !21}
!62 = !{!18, !11, i64 64}
!63 = distinct !{!63, !21}


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