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

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

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

@qh_qh = external global %struct.qhT, align 8
@.str.9 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@qh_qhstat = external global %struct.qhstatT, align 8
@.str.11 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [172 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [186 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [213 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [205 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_pointfacet() #2

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

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

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

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

declare void @qh_settempfree(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_check_maxout() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, 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 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, 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
  %26 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %27 = icmp sge i32 %26, 1
  br i1 %27, label %28, label %32

28:                                               ; preds = %0
  %29 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %30 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %31 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %29, i32 noundef 1022, ptr noundef @.str.9, double noundef %30, double noundef %31)
  br label %32

32:                                               ; preds = %28, %0
  %33 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %34 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %35 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %36 = fadd double %34, %35
  %37 = fneg double %36
  %38 = fcmp ogt double %33, %37
  br i1 %38, label %39, label %44

39:                                               ; preds = %32
  %40 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %41 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %42 = fadd double %40, %41
  %43 = fneg double %42
  br label %46

44:                                               ; preds = %32
  %45 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  br label %46

46:                                               ; preds = %44, %39
  %47 = phi double [ %43, %39 ], [ %45, %44 ]
  store double %47, ptr %15, align 8, !tbaa !20
  store double 0.000000e+00, ptr %12, align 8, !tbaa !20
  store double 0.000000e+00, ptr %11, align 8, !tbaa !20
  %48 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 175), align 8, !tbaa !21
  store ptr %48, ptr %25, align 8, !tbaa !5
  %49 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !22
  store ptr %49, ptr %9, align 8, !tbaa !5
  store ptr %49, ptr %7, align 8, !tbaa !5
  store ptr %49, ptr %8, align 8, !tbaa !5
  %50 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 125), align 8, !tbaa !23
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %210

52:                                               ; preds = %46
  %53 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 68), align 4, !tbaa !24
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %79, label %55

55:                                               ; preds = %52
  %56 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 32), align 4, !tbaa !25
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %79, label %58

58:                                               ; preds = %55
  %59 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 31), align 8, !tbaa !26
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %79, label %61

61:                                               ; preds = %58
  %62 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 92), align 8, !tbaa !27
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %79, label %64

64:                                               ; preds = %61
  %65 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 67), align 8, !tbaa !28
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %79, label %67

67:                                               ; preds = %64
  %68 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 101), align 4, !tbaa !29
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %79, label %70

70:                                               ; preds = %67
  %71 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 14), align 4, !tbaa !30
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %79, label %73

73:                                               ; preds = %70
  %74 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 64), align 4, !tbaa !9
  %75 = icmp eq i32 %74, 24
  br i1 %75, label %79, label %76

76:                                               ; preds = %73
  %77 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 64), align 4, !tbaa !9
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %210

79:                                               ; preds = %76, %73, %70, %67, %64, %61, %58, %55, %52
  %80 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %81 = icmp sge i32 %80, 1
  br i1 %81, label %82, label %84

82:                                               ; preds = %79
  %83 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %83, i32 noundef 1023, ptr noundef @.str.10)
  br label %84

84:                                               ; preds = %82, %79
  %85 = call ptr @qh_pointvertex()
  store ptr %85, ptr %23, align 8, !tbaa !5
  %86 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 175), align 8, !tbaa !21
  store ptr %86, ptr %24, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %194, %84
  %88 = load ptr, ptr %24, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %95

90:                                               ; preds = %87
  %91 = load ptr, ptr %24, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.vertexT, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !31
  %94 = icmp ne ptr %93, null
  br label %95

95:                                               ; preds = %90, %87
  %96 = phi i1 [ false, %87 ], [ %94, %90 ]
  br i1 %96, label %97, label %198

97:                                               ; preds = %95
  store ptr null, ptr %3, align 8, !tbaa !5
  %98 = load ptr, ptr %24, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.vertexT, ptr %98, i32 0, i32 3
  %100 = load ptr, ptr %99, align 8, !tbaa !33
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %193

102:                                              ; preds = %97
  %103 = load ptr, ptr %24, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.vertexT, ptr %103, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !33
  %106 = getelementptr inbounds %struct.setT, ptr %105, i32 0, i32 1
  %107 = getelementptr inbounds [1 x %union.setelemT], ptr %106, i64 0, i64 0
  store ptr %107, ptr %4, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %191, %102
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds ptr, ptr %109, i32 1
  store ptr %110, ptr %4, align 8, !tbaa !5
  %111 = load ptr, ptr %109, align 8, !tbaa !5
  store ptr %111, ptr %3, align 8, !tbaa !5
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %192

113:                                              ; preds = %108
  %114 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 63), align 8, !tbaa !34
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 63), align 8, !tbaa !34
  %116 = load ptr, ptr %24, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.vertexT, ptr %116, i32 0, i32 2
  %118 = load ptr, ptr %117, align 8, !tbaa !35
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %118, ptr noundef %119, ptr noundef %10)
  %120 = load double, ptr %10, align 8, !tbaa !20
  %121 = load double, ptr %12, align 8, !tbaa !20
  %122 = fcmp olt double %120, %121
  br i1 %122, label %123, label %156

123:                                              ; preds = %113
  %124 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %125 = load double, ptr %15, align 8, !tbaa !20
  %126 = fdiv double %124, %125
  %127 = fcmp ogt double %126, 1.000000e+02
  br i1 %127, label %128, label %152

128:                                              ; preds = %123
  %129 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 63), align 8, !tbaa !36
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %134, label %131

131:                                              ; preds = %128
  %132 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 3), align 4, !tbaa !37
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %152, label %134

134:                                              ; preds = %131, %128
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.facetT, ptr %135, i32 0, i32 8
  %137 = load ptr, ptr %136, align 8, !tbaa !38
  %138 = call double @qh_vertex_bestdist(ptr noundef %137)
  store double %138, ptr %13, align 8, !tbaa !20
  %139 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %140 = load ptr, ptr %24, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.vertexT, ptr %140, i32 0, i32 2
  %142 = load ptr, ptr %141, align 8, !tbaa !35
  %143 = call i32 @qh_pointid(ptr noundef %142)
  %144 = load ptr, ptr %24, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.vertexT, ptr %144, i32 0, i32 4
  %146 = load i32, ptr %145, align 8, !tbaa !40
  %147 = load double, ptr %10, align 8, !tbaa !20
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.facetT, ptr %148, i32 0, i32 14
  %150 = load i32, ptr %149, align 4, !tbaa !41
  %151 = load double, ptr %13, align 8, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %139, i32 noundef 7083, ptr noundef @.str.11, i32 noundef %143, i32 noundef %146, double noundef %147, i32 noundef %150, double noundef %151)
  br label %152

152:                                              ; preds = %134, %131, %123
  %153 = load double, ptr %10, align 8, !tbaa !20
  store double %153, ptr %12, align 8, !tbaa !20
  %154 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %154, ptr %25, align 8, !tbaa !5
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %155, ptr %7, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %152, %113
  %157 = load double, ptr %10, align 8, !tbaa !20
  %158 = fneg double %157
  %159 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 95), align 8, !tbaa !42
  %160 = fcmp ogt double %158, %159
  br i1 %160, label %173, label %161

161:                                              ; preds = %156
  %162 = load double, ptr %10, align 8, !tbaa !20
  %163 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 95), align 8, !tbaa !42
  %164 = fcmp ogt double %162, %163
  br i1 %164, label %173, label %165

165:                                              ; preds = %161
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 170), align 8, !tbaa !43
  %168 = icmp eq ptr %166, %167
  br i1 %168, label %173, label %169

169:                                              ; preds = %165
  %170 = load ptr, ptr %24, align 8, !tbaa !5
  %171 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 174), align 8, !tbaa !44
  %172 = icmp eq ptr %170, %171
  br i1 %172, label %173, label %191

173:                                              ; preds = %169, %165, %161, %156
  %174 = load ptr, ptr %3, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.facetT, ptr %174, i32 0, i32 8
  %176 = load ptr, ptr %175, align 8, !tbaa !38
  %177 = call double @qh_vertex_bestdist(ptr noundef %176)
  store double %177, ptr %13, align 8, !tbaa !20
  %178 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %179 = load ptr, ptr %24, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.vertexT, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !35
  %182 = call i32 @qh_pointid(ptr noundef %181)
  %183 = load ptr, ptr %24, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.vertexT, ptr %183, i32 0, i32 4
  %185 = load i32, ptr %184, align 8, !tbaa !40
  %186 = load double, ptr %10, align 8, !tbaa !20
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.facetT, ptr %187, i32 0, i32 14
  %189 = load i32, ptr %188, align 4, !tbaa !41
  %190 = load double, ptr %13, align 8, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %178, i32 noundef 8093, ptr noundef @.str.12, i32 noundef %182, i32 noundef %185, double noundef %186, i32 noundef %189, double noundef %190)
  br label %191

191:                                              ; preds = %173, %169
  br label %108, !llvm.loop !45

192:                                              ; preds = %108
  br label %193

193:                                              ; preds = %192, %97
  br label %194

194:                                              ; preds = %193
  %195 = load ptr, ptr %24, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.vertexT, ptr %195, i32 0, i32 0
  %197 = load ptr, ptr %196, align 8, !tbaa !31
  store ptr %197, ptr %24, align 8, !tbaa !5
  br label %87, !llvm.loop !47

198:                                              ; preds = %95
  %199 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 39), align 4, !tbaa !48
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %208

201:                                              ; preds = %198
  %202 = load double, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 141), align 8, !tbaa !34
  %203 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %204 = fcmp ogt double %202, %203
  br i1 %204, label %205, label %207

205:                                              ; preds = %201
  %206 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  store double %206, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 141), align 8, !tbaa !34
  br label %207

207:                                              ; preds = %205, %201
  br label %208

208:                                              ; preds = %207, %198
  %209 = load double, ptr %12, align 8, !tbaa !20
  store double %209, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  call void @qh_settempfree(ptr noundef %23)
  br label %210

210:                                              ; preds = %208, %76, %46
  %211 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %212 = icmp sge i32 %211, 1
  br i1 %212, label %213, label %215

213:                                              ; preds = %210
  %214 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %214, i32 noundef 1055, ptr noundef @.str.13)
  br label %215

215:                                              ; preds = %213, %210
  %216 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  %217 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %218 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %219 = fadd double %217, %218
  %220 = fcmp olt double %216, %219
  br i1 %220, label %221, label %225

221:                                              ; preds = %215
  %222 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %223 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %224 = fadd double %222, %223
  br label %227

225:                                              ; preds = %215
  %226 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  br label %227

227:                                              ; preds = %225, %221
  %228 = phi double [ %224, %221 ], [ %226, %225 ]
  store double %228, ptr %14, align 8, !tbaa !20
  %229 = call ptr @qh_pointfacet()
  store ptr %229, ptr %22, align 8, !tbaa !5
  store ptr null, ptr %1, align 8, !tbaa !5
  %230 = load ptr, ptr %22, align 8, !tbaa !5
  %231 = icmp ne ptr %230, null
  br i1 %231, label %232, label %388

232:                                              ; preds = %227
  store i32 0, ptr %19, align 4, !tbaa !9
  %233 = load ptr, ptr %22, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.setT, ptr %233, i32 0, i32 1
  %235 = getelementptr inbounds [1 x %union.setelemT], ptr %234, i64 0, i64 0
  %236 = load ptr, ptr %235, align 8, !tbaa !34
  store ptr %236, ptr %1, align 8, !tbaa !5
  %237 = load ptr, ptr %22, align 8, !tbaa !5
  %238 = call i32 @qh_setsize(ptr noundef %237)
  store i32 %238, ptr %20, align 4, !tbaa !9
  br label %239

239:                                              ; preds = %379, %232
  %240 = load i32, ptr %19, align 4, !tbaa !9
  %241 = load i32, ptr %20, align 4, !tbaa !9
  %242 = icmp slt i32 %240, %241
  br i1 %242, label %243, label %387

243:                                              ; preds = %239
  %244 = load ptr, ptr %1, align 8, !tbaa !5
  %245 = icmp ne ptr %244, null
  br i1 %245, label %246, label %378

246:                                              ; preds = %243
  %247 = load i32, ptr %19, align 4, !tbaa !9
  %248 = call ptr @qh_point(i32 noundef %247)
  store ptr %248, ptr %16, align 8, !tbaa !5
  %249 = load ptr, ptr %16, align 8, !tbaa !5
  %250 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 23), align 8, !tbaa !49
  %251 = icmp eq ptr %249, %250
  br i1 %251, label %252, label %253

252:                                              ; preds = %246
  br label %379

253:                                              ; preds = %246
  %254 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 214), align 8, !tbaa !34
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 214), align 8, !tbaa !34
  %256 = load ptr, ptr %16, align 8, !tbaa !5
  %257 = load ptr, ptr %1, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %256, ptr noundef %257, ptr noundef %10)
  %258 = load i32, ptr %18, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %18, align 4, !tbaa !9
  %260 = load ptr, ptr %16, align 8, !tbaa !5
  %261 = load ptr, ptr %1, align 8, !tbaa !5
  %262 = call ptr @qh_findbesthorizon(i32 noundef 1, ptr noundef %260, ptr noundef %261, i32 noundef 0, ptr noundef %10, ptr noundef %18)
  store ptr %262, ptr %2, align 8, !tbaa !5
  %263 = load ptr, ptr %2, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %352

265:                                              ; preds = %253
  %266 = load double, ptr %10, align 8, !tbaa !20
  %267 = load double, ptr %11, align 8, !tbaa !20
  %268 = fcmp oge double %266, %267
  br i1 %268, label %269, label %352

269:                                              ; preds = %265
  %270 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 48), align 4, !tbaa !50
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %291

272:                                              ; preds = %269
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.facetT, ptr %273, i32 0, i32 15
  %275 = load i32, ptr %274, align 8
  %276 = lshr i32 %275, 19
  %277 = and i32 %276, 1
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %291, label %279

279:                                              ; preds = %272
  %280 = load ptr, ptr %16, align 8, !tbaa !5
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = call ptr @qh_findgooddist(ptr noundef %280, ptr noundef %281, ptr noundef %10, ptr noundef %5)
  store ptr %282, ptr %2, align 8, !tbaa !5
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %288

284:                                              ; preds = %279
  %285 = load double, ptr %10, align 8, !tbaa !20
  %286 = load double, ptr %11, align 8, !tbaa !20
  %287 = fcmp ogt double %285, %286
  br i1 %287, label %291, label %288

288:                                              ; preds = %284, %279
  %289 = load i32, ptr %21, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %21, align 4, !tbaa !9
  br label %347

291:                                              ; preds = %284, %272, %269
  %292 = load double, ptr %10, align 8, !tbaa !20
  %293 = load double, ptr %14, align 8, !tbaa !20
  %294 = fdiv double %292, %293
  %295 = fcmp ogt double %294, 1.000000e+02
  br i1 %295, label %296, label %346

296:                                              ; preds = %291
  %297 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 63), align 8, !tbaa !36
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %302, label %299

299:                                              ; preds = %296
  %300 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 3), align 4, !tbaa !37
  %301 = icmp ne i32 %300, 0
  br i1 %301, label %346, label %302

302:                                              ; preds = %299, %296
  %303 = load ptr, ptr %2, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.facetT, ptr %303, i32 0, i32 8
  %305 = load ptr, ptr %304, align 8, !tbaa !38
  %306 = call double @qh_vertex_bestdist(ptr noundef %305)
  store double %306, ptr %13, align 8, !tbaa !20
  %307 = load double, ptr %13, align 8, !tbaa !20
  %308 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %309 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  %310 = fcmp olt double %308, %309
  br i1 %310, label %311, label %313

311:                                              ; preds = %302
  %312 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  br label %315

313:                                              ; preds = %302
  %314 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  br label %315

315:                                              ; preds = %313, %311
  %316 = phi double [ %312, %311 ], [ %314, %313 ]
  %317 = fmul double %316, 3.000000e+01
  %318 = fmul double %317, 2.000000e+00
  %319 = fcmp olt double %307, %318
  br i1 %319, label %320, label %332

320:                                              ; preds = %315
  %321 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %322 = load ptr, ptr %16, align 8, !tbaa !5
  %323 = call i32 @qh_pointid(ptr noundef %322)
  %324 = load ptr, ptr %1, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.facetT, ptr %324, i32 0, i32 14
  %326 = load i32, ptr %325, align 4, !tbaa !41
  %327 = load double, ptr %10, align 8, !tbaa !20
  %328 = load ptr, ptr %2, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.facetT, ptr %328, i32 0, i32 14
  %330 = load i32, ptr %329, align 4, !tbaa !41
  %331 = load double, ptr %13, align 8, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %321, i32 noundef 7087, ptr noundef @.str.14, i32 noundef %323, i32 noundef %326, double noundef %327, i32 noundef %330, double noundef %331)
  br label %344

332:                                              ; preds = %315
  %333 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %334 = load ptr, ptr %16, align 8, !tbaa !5
  %335 = call i32 @qh_pointid(ptr noundef %334)
  %336 = load ptr, ptr %1, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.facetT, ptr %336, i32 0, i32 14
  %338 = load i32, ptr %337, align 4, !tbaa !41
  %339 = load double, ptr %10, align 8, !tbaa !20
  %340 = load ptr, ptr %2, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.facetT, ptr %340, i32 0, i32 14
  %342 = load i32, ptr %341, align 4, !tbaa !41
  %343 = load double, ptr %13, align 8, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %333, i32 noundef 7088, ptr noundef @.str.15, i32 noundef %335, i32 noundef %338, double noundef %339, i32 noundef %342, double noundef %343)
  br label %344

344:                                              ; preds = %332, %320
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %345, ptr %6, align 8, !tbaa !5
  br label %346

346:                                              ; preds = %344, %299, %291
  br label %347

347:                                              ; preds = %346, %288
  %348 = load double, ptr %10, align 8, !tbaa !20
  store double %348, ptr %11, align 8, !tbaa !20
  %349 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %349, ptr %8, align 8, !tbaa !5
  %350 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %350, ptr %17, align 8, !tbaa !5
  %351 = load ptr, ptr %1, align 8, !tbaa !5
  store ptr %351, ptr %9, align 8, !tbaa !5
  br label %352

352:                                              ; preds = %347, %265, %253
  %353 = load double, ptr %10, align 8, !tbaa !20
  %354 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 95), align 8, !tbaa !42
  %355 = fcmp ogt double %353, %354
  br i1 %355, label %363, label %356

356:                                              ; preds = %352
  %357 = load ptr, ptr %2, align 8, !tbaa !5
  %358 = icmp ne ptr %357, null
  br i1 %358, label %359, label %377

359:                                              ; preds = %356
  %360 = load ptr, ptr %2, align 8, !tbaa !5
  %361 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 170), align 8, !tbaa !43
  %362 = icmp eq ptr %360, %361
  br i1 %362, label %363, label %377

363:                                              ; preds = %359, %352
  %364 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %365 = load ptr, ptr %16, align 8, !tbaa !5
  %366 = call i32 @qh_pointid(ptr noundef %365)
  %367 = load double, ptr %10, align 8, !tbaa !20
  %368 = load ptr, ptr %2, align 8, !tbaa !5
  %369 = icmp ne ptr %368, null
  br i1 %369, label %370, label %374

370:                                              ; preds = %363
  %371 = load ptr, ptr %2, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.facetT, ptr %371, i32 0, i32 14
  %373 = load i32, ptr %372, align 4, !tbaa !41
  br label %375

374:                                              ; preds = %363
  br label %375

375:                                              ; preds = %374, %370
  %376 = phi i32 [ %373, %370 ], [ -1, %374 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %364, i32 noundef 8094, ptr noundef @.str.16, i32 noundef %366, double noundef %367, i32 noundef %376)
  br label %377

377:                                              ; preds = %375, %359, %356
  br label %378

378:                                              ; preds = %377, %243
  br label %379

379:                                              ; preds = %378, %252
  %380 = load ptr, ptr %22, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.setT, ptr %380, i32 0, i32 1
  %382 = load i32, ptr %19, align 4, !tbaa !9
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %19, align 4, !tbaa !9
  %384 = sext i32 %383 to i64
  %385 = getelementptr inbounds [1 x %union.setelemT], ptr %381, i64 0, i64 %384
  %386 = load ptr, ptr %385, align 8, !tbaa !34
  store ptr %386, ptr %1, align 8, !tbaa !5
  br label %239, !llvm.loop !51

387:                                              ; preds = %239
  br label %388

388:                                              ; preds = %387, %227
  %389 = load i32, ptr %18, align 4, !tbaa !9
  %390 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 22), align 8, !tbaa !34
  %391 = add nsw i32 %390, %389
  store i32 %391, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 22), align 8, !tbaa !34
  call void @qh_settempfree(ptr noundef %22)
  %392 = load double, ptr %11, align 8, !tbaa !20
  %393 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  %394 = fsub double %392, %393
  store double %394, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 117), align 8, !tbaa !34
  %395 = load double, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 118), align 8, !tbaa !34
  %396 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  %397 = fcmp olt double %395, %396
  br i1 %397, label %398, label %400

398:                                              ; preds = %388
  %399 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  store double %399, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 118), align 8, !tbaa !34
  br label %400

400:                                              ; preds = %398, %388
  %401 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 5), align 4, !tbaa !52
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %458, label %403

403:                                              ; preds = %400
  %404 = load double, ptr %11, align 8, !tbaa !20
  %405 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %406 = fcmp ogt double %404, %405
  br i1 %406, label %407, label %458

407:                                              ; preds = %403
  %408 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 163), align 8, !tbaa !22
  store ptr %408, ptr %1, align 8, !tbaa !5
  br label %409

409:                                              ; preds = %453, %407
  %410 = load ptr, ptr %1, align 8, !tbaa !5
  %411 = icmp ne ptr %410, null
  br i1 %411, label %412, label %417

412:                                              ; preds = %409
  %413 = load ptr, ptr %1, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.facetT, ptr %413, i32 0, i32 7
  %415 = load ptr, ptr %414, align 8, !tbaa !53
  %416 = icmp ne ptr %415, null
  br label %417

417:                                              ; preds = %412, %409
  %418 = phi i1 [ false, %409 ], [ %416, %412 ]
  br i1 %418, label %419, label %457

419:                                              ; preds = %417
  %420 = load double, ptr %11, align 8, !tbaa !20
  %421 = load ptr, ptr %1, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.facetT, ptr %421, i32 0, i32 1
  %423 = load double, ptr %422, align 8, !tbaa !54
  %424 = fcmp olt double %420, %423
  br i1 %424, label %425, label %452

425:                                              ; preds = %419
  %426 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 31), align 8, !tbaa !26
  %427 = icmp ne i32 %426, 0
  br i1 %427, label %432, label %428

428:                                              ; preds = %425
  %429 = load ptr, ptr %1, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.facetT, ptr %429, i32 0, i32 1
  %431 = load double, ptr %430, align 8, !tbaa !54
  store double %431, ptr %11, align 8, !tbaa !20
  br label %451

432:                                              ; preds = %425
  %433 = load double, ptr %11, align 8, !tbaa !20
  %434 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %435 = fadd double %433, %434
  %436 = load ptr, ptr %1, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.facetT, ptr %436, i32 0, i32 1
  %438 = load double, ptr %437, align 8, !tbaa !54
  %439 = fcmp olt double %435, %438
  br i1 %439, label %440, label %450

440:                                              ; preds = %432
  %441 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %442 = load ptr, ptr %1, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.facetT, ptr %442, i32 0, i32 14
  %444 = load i32, ptr %443, align 4, !tbaa !41
  %445 = load ptr, ptr %1, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.facetT, ptr %445, i32 0, i32 1
  %447 = load double, ptr %446, align 8, !tbaa !54
  %448 = load double, ptr %11, align 8, !tbaa !20
  %449 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %441, i32 noundef 7082, ptr noundef @.str.17, i32 noundef %444, double noundef %447, double noundef %448, double noundef %449)
  br label %450

450:                                              ; preds = %440, %432
  br label %451

451:                                              ; preds = %450, %428
  br label %452

452:                                              ; preds = %451, %419
  br label %453

453:                                              ; preds = %452
  %454 = load ptr, ptr %1, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.facetT, ptr %454, i32 0, i32 7
  %456 = load ptr, ptr %455, align 8, !tbaa !53
  store ptr %456, ptr %1, align 8, !tbaa !5
  br label %409, !llvm.loop !55

457:                                              ; preds = %417
  br label %458

458:                                              ; preds = %457, %403, %400
  %459 = load double, ptr %11, align 8, !tbaa !20
  store double %459, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  call void @qh_nearcoplanar()
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 198), align 8, !tbaa !56
  %460 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !11
  %461 = icmp sge i32 %460, 1
  br i1 %461, label %462, label %485

462:                                              ; preds = %458
  %463 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %464 = load ptr, ptr %25, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.vertexT, ptr %464, i32 0, i32 2
  %466 = load ptr, ptr %465, align 8, !tbaa !35
  %467 = call i32 @qh_pointid(ptr noundef %466)
  %468 = load ptr, ptr %25, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.vertexT, ptr %468, i32 0, i32 4
  %470 = load i32, ptr %469, align 8, !tbaa !40
  %471 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %472 = load ptr, ptr %7, align 8, !tbaa !5
  %473 = getelementptr inbounds %struct.facetT, ptr %472, i32 0, i32 14
  %474 = load i32, ptr %473, align 4, !tbaa !41
  %475 = load ptr, ptr %17, align 8, !tbaa !5
  %476 = call i32 @qh_pointid(ptr noundef %475)
  %477 = load ptr, ptr %9, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.facetT, ptr %477, i32 0, i32 14
  %479 = load i32, ptr %478, align 4, !tbaa !41
  %480 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 199), align 8, !tbaa !17
  %481 = load ptr, ptr %8, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.facetT, ptr %481, i32 0, i32 14
  %483 = load i32, ptr %482, align 4, !tbaa !41
  %484 = load i32, ptr %21, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %463, i32 noundef 1024, ptr noundef @.str.18, i32 noundef %467, i32 noundef %470, double noundef %471, i32 noundef %474, i32 noundef %476, i32 noundef %479, double noundef %480, i32 noundef %483, i32 noundef %484)
  br label %485

485:                                              ; preds = %462, %458
  %486 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 3), align 4, !tbaa !37
  %487 = icmp ne i32 %486, 0
  br i1 %487, label %568, label %488

488:                                              ; preds = %485
  %489 = load double, ptr %11, align 8, !tbaa !20
  %490 = load double, ptr %14, align 8, !tbaa !20
  %491 = fdiv double %489, %490
  %492 = fcmp ogt double %491, 1.000000e+02
  br i1 %492, label %493, label %500

493:                                              ; preds = %488
  %494 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %495 = load double, ptr %11, align 8, !tbaa !20
  %496 = load double, ptr %11, align 8, !tbaa !20
  %497 = load double, ptr %14, align 8, !tbaa !20
  %498 = fdiv double %496, %497
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %494, i32 noundef 6297, ptr noundef @.str.19, double noundef %495, double noundef %498)
  %499 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_errexit(i32 noundef 8, ptr noundef %499, ptr noundef null)
  br label %567

500:                                              ; preds = %488
  %501 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 5), align 4, !tbaa !52
  %502 = icmp ne i32 %501, 0
  br i1 %502, label %523, label %503

503:                                              ; preds = %500
  %504 = load double, ptr %14, align 8, !tbaa !20
  %505 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %506 = fmul double %505, 1.000000e+03
  %507 = fcmp ogt double %504, %506
  br i1 %507, label %508, label %523

508:                                              ; preds = %503
  %509 = load double, ptr %11, align 8, !tbaa !20
  %510 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %511 = fmul double %510, 1.000000e+03
  %512 = fcmp ogt double %509, %511
  br i1 %512, label %513, label %522

513:                                              ; preds = %508
  %514 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %515 = load double, ptr %14, align 8, !tbaa !20
  %516 = load double, ptr %14, align 8, !tbaa !20
  %517 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %518 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %519 = fadd double %517, %518
  %520 = fdiv double %516, %519
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %514, i32 noundef 6298, ptr noundef @.str.20, double noundef %515, double noundef %520)
  %521 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_errexit(i32 noundef 8, ptr noundef %521, ptr noundef null)
  br label %522

522:                                              ; preds = %513, %508
  br label %566

523:                                              ; preds = %503, %500
  %524 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %525 = load double, ptr %15, align 8, !tbaa !20
  %526 = fdiv double %524, %525
  %527 = fcmp ogt double %526, 1.000000e+02
  br i1 %527, label %528, label %535

528:                                              ; preds = %523
  %529 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %530 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %531 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %532 = load double, ptr %15, align 8, !tbaa !20
  %533 = fdiv double %531, %532
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %529, i32 noundef 6354, ptr noundef @.str.21, double noundef %530, double noundef %533)
  %534 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_errexit(i32 noundef 8, ptr noundef %534, ptr noundef null)
  br label %565

535:                                              ; preds = %523
  %536 = load double, ptr %15, align 8, !tbaa !20
  %537 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %538 = fmul double %537, 1.000000e+03
  %539 = fneg double %538
  %540 = fcmp olt double %536, %539
  br i1 %540, label %541, label %564

541:                                              ; preds = %535
  %542 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %543 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %544 = fmul double %543, 1.000000e+03
  %545 = fneg double %544
  %546 = fcmp olt double %542, %545
  br i1 %546, label %547, label %563

547:                                              ; preds = %541
  %548 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !15
  %549 = load ptr, ptr %25, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.vertexT, ptr %549, i32 0, i32 4
  %551 = load i32, ptr %550, align 8, !tbaa !40
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct.facetT, ptr %552, i32 0, i32 14
  %554 = load i32, ptr %553, align 4, !tbaa !41
  %555 = load double, ptr %12, align 8, !tbaa !20
  %556 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 201), align 8, !tbaa !16
  %557 = fneg double %556
  %558 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !18
  %559 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !19
  %560 = fadd double %558, %559
  %561 = fdiv double %557, %560
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %548, i32 noundef 6380, ptr noundef @.str.22, i32 noundef %551, i32 noundef %554, double noundef %555, double noundef %561)
  %562 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_errexit(i32 noundef 8, ptr noundef %562, ptr noundef null)
  br label %563

563:                                              ; preds = %547, %541
  br label %564

564:                                              ; preds = %563, %535
  br label %565

565:                                              ; preds = %564, %528
  br label %566

566:                                              ; preds = %565, %522
  br label %567

567:                                              ; preds = %566, %493
  br label %568

568:                                              ; preds = %567, %485
  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 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_pointvertex() #2

declare double @qh_vertex_bestdist(ptr noundef) #1

declare i32 @qh_pointid(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_nearcoplanar() #2

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


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

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%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 }
%union.setelemT = type { ptr }

@qh_qh = external local_unnamed_addr global %struct.qhT, align 8
@.str.9 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8
@.str.11 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [172 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [186 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [213 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [205 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_pointfacet() local_unnamed_addr #2

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

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

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

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

declare void @qh_settempfree(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_check_maxout() local_unnamed_addr #2 {
  %1 = alloca ptr, align 8
  %2 = alloca double, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !9
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %8, label %12

8:                                                ; preds = %0
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %10 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %11 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %9, i32 noundef 1022, ptr noundef nonnull @.str.9, double noundef %10, double noundef %11) #3
  br label %12

12:                                               ; preds = %8, %0
  %13 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %14 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1888), align 8, !tbaa !17
  %15 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8, !tbaa !18
  %16 = fadd double %14, %15
  %17 = fneg double %16
  %18 = fcmp ogt double %13, %17
  %. = select i1 %18, double %17, double %13
  %19 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !19
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8, !tbaa !20
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1720), align 8, !tbaa !21
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %112, label %22

22:                                               ; preds = %12
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 428), align 4, !tbaa !22
  %24 = icmp ne i32 %23, 0
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 148), align 4
  %26 = icmp ne i32 %25, 0
  %or.cond = select i1 %24, i1 true, i1 %26
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 144), align 8
  %28 = icmp ne i32 %27, 0
  %or.cond3 = select i1 %or.cond, i1 true, i1 %28
  %29 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 536), align 8
  %30 = icmp ne i32 %29, 0
  %or.cond5 = select i1 %or.cond3, i1 true, i1 %30
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 424), align 8
  %32 = icmp ne i32 %31, 0
  %or.cond7 = select i1 %or.cond5, i1 true, i1 %32
  %33 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 580), align 4
  %34 = icmp ne i32 %33, 0
  %or.cond9 = select i1 %or.cond7, i1 true, i1 %34
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 60), align 4
  %36 = icmp ne i32 %35, 0
  %or.cond11 = select i1 %or.cond9, i1 true, i1 %36
  %37 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 300), align 4
  %38 = icmp eq i32 %37, 24
  %39 = icmp eq i32 %37, 0
  %40 = or i1 %38, %39
  %or.cond15 = select i1 %or.cond11, i1 true, i1 %40
  br i1 %or.cond15, label %41, label %112

41:                                               ; preds = %22
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !9
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  %45 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %45, i32 noundef 1023, ptr noundef nonnull @.str.10) #3
  br label %46

46:                                               ; preds = %44, %41
  %47 = tail call ptr @qh_pointvertex()
  store ptr %47, ptr %5, align 8, !tbaa !23
  %.0122229 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2544), align 8, !tbaa !23
  %.not188230 = icmp eq ptr %.0122229, null
  br i1 %.not188230, label %.critedge, label %.lr.ph235

.lr.ph235:                                        ; preds = %46, %.loopexit220
  %.0122234 = phi ptr [ %.0122, %.loopexit220 ], [ %.0122229, %46 ]
  %.0233 = phi ptr [ %.3, %.loopexit220 ], [ %19, %46 ]
  %.0139232 = phi double [ %.3142, %.loopexit220 ], [ 0.000000e+00, %46 ]
  %.0157231 = phi ptr [ %.3160, %.loopexit220 ], [ %20, %46 ]
  %48 = load ptr, ptr %.0122234, align 8, !tbaa !23
  %.not189 = icmp eq ptr %48, null
  br i1 %.not189, label %.critedge, label %49

49:                                               ; preds = %.lr.ph235
  %50 = getelementptr inbounds i8, ptr %.0122234, i64 24
  %51 = load ptr, ptr %50, align 8, !tbaa !24
  %.not205 = icmp eq ptr %51, null
  br i1 %.not205, label %.loopexit220, label %.preheader219

.preheader219:                                    ; preds = %49
  %.0138221 = getelementptr inbounds i8, ptr %51, i64 8
  %52 = load ptr, ptr %.0138221, align 8, !tbaa !23
  %.not206222 = icmp eq ptr %52, null
  br i1 %.not206222, label %.loopexit220, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader219
  %53 = getelementptr inbounds i8, ptr %.0122234, i64 16
  %54 = getelementptr inbounds i8, ptr %.0122234, i64 32
  br label %55

55:                                               ; preds = %.lr.ph, %103
  %56 = phi ptr [ %52, %.lr.ph ], [ %104, %103 ]
  %.0138226 = phi ptr [ %.0138221, %.lr.ph ], [ %.0138, %103 ]
  %.1225 = phi ptr [ %.0233, %.lr.ph ], [ %.2, %103 ]
  %.1140224 = phi double [ %.0139232, %.lr.ph ], [ %.2141, %103 ]
  %.1158223 = phi ptr [ %.0157231, %.lr.ph ], [ %.2159, %103 ]
  %57 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 504), align 8, !tbaa !26
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 504), align 8, !tbaa !26
  %59 = load ptr, ptr %53, align 8, !tbaa !27
  call void @qh_distplane(ptr noundef %59, ptr noundef nonnull %56, ptr noundef nonnull %2) #3
  %60 = load double, ptr %2, align 8, !tbaa !28
  %61 = fcmp olt double %60, %.1140224
  br i1 %61, label %62, label %82

62:                                               ; preds = %55
  %63 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %64 = fdiv double %63, %.
  %65 = fcmp ogt double %64, 1.000000e+02
  br i1 %65, label %66, label %82

66:                                               ; preds = %62
  %67 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 296), align 8, !tbaa !29
  %68 = icmp eq i32 %67, 0
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 12), align 4
  %70 = icmp ne i32 %69, 0
  %or.cond17 = select i1 %68, i1 %70, i1 false
  br i1 %or.cond17, label %82, label %71

71:                                               ; preds = %66
  %72 = getelementptr inbounds i8, ptr %56, i64 64
  %73 = load ptr, ptr %72, align 8, !tbaa !30
  %74 = call double @qh_vertex_bestdist(ptr noundef %73) #3
  %75 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %76 = load ptr, ptr %53, align 8, !tbaa !27
  %77 = call i32 @qh_pointid(ptr noundef %76) #3
  %78 = load i32, ptr %54, align 8, !tbaa !32
  %79 = load double, ptr %2, align 8, !tbaa !28
  %80 = getelementptr inbounds i8, ptr %56, i64 108
  %81 = load i32, ptr %80, align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %75, i32 noundef 7083, ptr noundef nonnull @.str.11, i32 noundef %77, i32 noundef %78, double noundef %79, i32 noundef %81, double noundef %74) #3
  %.pre = load double, ptr %2, align 8, !tbaa !28
  br label %82

82:                                               ; preds = %62, %71, %66, %55
  %83 = phi double [ %60, %55 ], [ %60, %66 ], [ %.pre, %71 ], [ %60, %62 ]
  %.2159 = phi ptr [ %.1158223, %55 ], [ %56, %66 ], [ %56, %71 ], [ %56, %62 ]
  %.2141 = phi double [ %.1140224, %55 ], [ %60, %66 ], [ %.pre, %71 ], [ %60, %62 ]
  %.2 = phi ptr [ %.1225, %55 ], [ %.0122234, %66 ], [ %.0122234, %71 ], [ %.0122234, %62 ]
  %84 = fneg double %83
  %85 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 552), align 8, !tbaa !34
  %86 = fcmp olt double %85, %84
  %87 = fcmp ogt double %83, %85
  %or.cond207 = or i1 %86, %87
  %88 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2504), align 8
  %89 = icmp eq ptr %56, %88
  %or.cond209 = select i1 %or.cond207, i1 true, i1 %89
  %90 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2536), align 8
  %91 = icmp eq ptr %.0122234, %90
  %or.cond211 = select i1 %or.cond209, i1 true, i1 %91
  br i1 %or.cond211, label %92, label %103

92:                                               ; preds = %82
  %93 = getelementptr inbounds i8, ptr %56, i64 64
  %94 = load ptr, ptr %93, align 8, !tbaa !30
  %95 = call double @qh_vertex_bestdist(ptr noundef %94) #3
  %96 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %97 = load ptr, ptr %53, align 8, !tbaa !27
  %98 = call i32 @qh_pointid(ptr noundef %97) #3
  %99 = load i32, ptr %54, align 8, !tbaa !32
  %100 = load double, ptr %2, align 8, !tbaa !28
  %101 = getelementptr inbounds i8, ptr %56, i64 108
  %102 = load i32, ptr %101, align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %96, i32 noundef 8093, ptr noundef nonnull @.str.12, i32 noundef %98, i32 noundef %99, double noundef %100, i32 noundef %102, double noundef %95) #3
  br label %103

103:                                              ; preds = %82, %92
  %.0138 = getelementptr inbounds i8, ptr %.0138226, i64 8
  %104 = load ptr, ptr %.0138, align 8, !tbaa !23
  %.not206 = icmp eq ptr %104, null
  br i1 %.not206, label %.loopexit220.loopexit, label %55, !llvm.loop !35

.loopexit220.loopexit:                            ; preds = %103
  %.0122.pre = load ptr, ptr %.0122234, align 8, !tbaa !23
  br label %.loopexit220

.loopexit220:                                     ; preds = %.loopexit220.loopexit, %.preheader219, %49
  %.0122 = phi ptr [ %48, %49 ], [ %48, %.preheader219 ], [ %.0122.pre, %.loopexit220.loopexit ]
  %.3160 = phi ptr [ %.0157231, %49 ], [ %.0157231, %.preheader219 ], [ %.2159, %.loopexit220.loopexit ]
  %.3142 = phi double [ %.0139232, %49 ], [ %.0139232, %.preheader219 ], [ %.2141, %.loopexit220.loopexit ]
  %.3 = phi ptr [ %.0233, %49 ], [ %.0233, %.preheader219 ], [ %.2, %.loopexit220.loopexit ]
  %.not188 = icmp eq ptr %.0122, null
  br i1 %.not188, label %.critedge, label %.lr.ph235, !llvm.loop !37

.critedge:                                        ; preds = %.lr.ph235, %.loopexit220, %46
  %.0157.lcssa = phi ptr [ %20, %46 ], [ %.3160, %.loopexit220 ], [ %.0157231, %.lr.ph235 ]
  %.0139.lcssa = phi double [ 0.000000e+00, %46 ], [ %.3142, %.loopexit220 ], [ %.0139232, %.lr.ph235 ]
  %.0.lcssa = phi ptr [ %19, %46 ], [ %.3, %.loopexit220 ], [ %.0233, %.lr.ph235 ]
  %105 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 188), align 4, !tbaa !38
  %.not190 = icmp eq i32 %105, 0
  br i1 %.not190, label %111, label %106

106:                                              ; preds = %.critedge
  %107 = load double, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1128), align 8, !tbaa !26
  %108 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %109 = fcmp ogt double %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %106
  store double %108, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1128), align 8, !tbaa !26
  br label %111

111:                                              ; preds = %106, %110, %.critedge
  store double %.0139.lcssa, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  call void @qh_settempfree(ptr noundef nonnull %5) #3
  br label %112

112:                                              ; preds = %22, %111, %12
  %.4161 = phi ptr [ %.0157.lcssa, %111 ], [ %20, %22 ], [ %20, %12 ]
  %.4143 = phi double [ %.0139.lcssa, %111 ], [ 0.000000e+00, %22 ], [ 0.000000e+00, %12 ]
  %.4 = phi ptr [ %.0.lcssa, %111 ], [ %19, %22 ], [ %19, %12 ]
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !9
  %114 = icmp sgt i32 %113, 0
  br i1 %114, label %115, label %117

115:                                              ; preds = %112
  %116 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %116, i32 noundef 1055, ptr noundef nonnull @.str.13) #3
  br label %117

117:                                              ; preds = %115, %112
  %118 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8
  %119 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1888), align 8
  %120 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8
  %121 = fadd double %119, %120
  %122 = fcmp olt double %118, %121
  %123 = select i1 %122, double %121, double %118
  %124 = call ptr @qh_pointfacet()
  store ptr %124, ptr %4, align 8, !tbaa !23
  %.not191 = icmp eq ptr %124, null
  br i1 %.not191, label %.loopexit, label %125

125:                                              ; preds = %117
  %126 = getelementptr inbounds i8, ptr %124, i64 8
  %127 = load ptr, ptr %126, align 8, !tbaa !26
  %128 = call i32 @qh_setsize(ptr noundef nonnull %124) #3
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph251.preheader, label %.loopexit

.lr.ph251.preheader:                              ; preds = %125
  %wide.trip.count = zext nneg i32 %128 to i64
  br label %.lr.ph251

.lr.ph251:                                        ; preds = %.lr.ph251.preheader, %202
  %indvars.iv = phi i64 [ 0, %.lr.ph251.preheader ], [ %indvars.iv.next, %202 ]
  %.0123250 = phi i32 [ 0, %.lr.ph251.preheader ], [ %.3126, %202 ]
  %.0128249 = phi ptr [ %127, %.lr.ph251.preheader ], [ %204, %202 ]
  %.0131247 = phi ptr [ null, %.lr.ph251.preheader ], [ %.2133, %202 ]
  %.0144246 = phi double [ 0.000000e+00, %.lr.ph251.preheader ], [ %.2146, %202 ]
  %.0149245 = phi ptr [ %20, %.lr.ph251.preheader ], [ %.2151, %202 ]
  %.0153244 = phi ptr [ %20, %.lr.ph251.preheader ], [ %.2155, %202 ]
  %.0162243 = phi ptr [ null, %.lr.ph251.preheader ], [ %.3165, %202 ]
  %.not198 = icmp eq ptr %.0128249, null
  br i1 %.not198, label %202, label %130

130:                                              ; preds = %.lr.ph251
  %131 = trunc nuw nsw i64 %indvars.iv to i32
  %132 = call ptr @qh_point(i32 noundef %131)
  %133 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 104), align 8, !tbaa !39
  %134 = icmp eq ptr %132, %133
  br i1 %134, label %202, label %135

135:                                              ; preds = %130
  %136 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1712), align 8, !tbaa !26
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1712), align 8, !tbaa !26
  call void @qh_distplane(ptr noundef %132, ptr noundef nonnull %.0128249, ptr noundef nonnull %2) #3
  %138 = load i32, ptr %3, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %3, align 4, !tbaa !5
  %140 = call ptr @qh_findbesthorizon(i32 noundef 1, ptr noundef %132, ptr noundef nonnull %.0128249, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
  %.not199 = icmp eq ptr %140, null
  %.pre271 = load double, ptr %2, align 8, !tbaa !28
  br i1 %.not199, label %186, label %141

141:                                              ; preds = %135
  %142 = fcmp ult double %.pre271, %.0144246
  br i1 %142, label %186, label %143

143:                                              ; preds = %141
  %144 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 236), align 4, !tbaa !40
  %.not200 = icmp eq i32 %144, 0
  br i1 %.not200, label %155, label %145

145:                                              ; preds = %143
  %146 = getelementptr inbounds i8, ptr %140, i64 112
  %147 = load i32, ptr %146, align 8
  %148 = and i32 %147, 524288
  %.not201 = icmp eq i32 %148, 0
  br i1 %.not201, label %149, label %155

149:                                              ; preds = %145
  %150 = call ptr @qh_findgooddist(ptr noundef %132, ptr noundef nonnull %140, ptr noundef nonnull %2, ptr noundef nonnull %1) #3
  %.not202 = icmp ne ptr %150, null
  %151 = load double, ptr %2, align 8
  %152 = fcmp ogt double %151, %.0144246
  %or.cond213 = select i1 %.not202, i1 %152, i1 false
  br i1 %or.cond213, label %155, label %153

153:                                              ; preds = %149
  %154 = add nsw i32 %.0123250, 1
  br label %184

155:                                              ; preds = %149, %145, %143
  %156 = phi double [ %.pre271, %145 ], [ %.pre271, %143 ], [ %151, %149 ]
  %.0135 = phi ptr [ %140, %145 ], [ %140, %143 ], [ %150, %149 ]
  %157 = fdiv double %156, %123
  %158 = fcmp ogt double %157, 1.000000e+02
  br i1 %158, label %159, label %184

159:                                              ; preds = %155
  %160 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 296), align 8, !tbaa !29
  %161 = icmp eq i32 %160, 0
  %162 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 12), align 4
  %163 = icmp ne i32 %162, 0
  %or.cond19 = select i1 %161, i1 %163, i1 false
  br i1 %or.cond19, label %184, label %164

164:                                              ; preds = %159
  %165 = getelementptr inbounds i8, ptr %.0135, i64 64
  %166 = load ptr, ptr %165, align 8, !tbaa !30
  %167 = call double @qh_vertex_bestdist(ptr noundef %166) #3
  %168 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1888), align 8
  %169 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8
  %170 = fcmp olt double %168, %169
  %171 = select i1 %170, double %169, double %168
  %172 = fmul double %171, 3.000000e+01
  %173 = fmul double %172, 2.000000e+00
  %174 = fcmp olt double %167, %173
  %175 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %176 = call i32 @qh_pointid(ptr noundef %132) #3
  %177 = getelementptr inbounds i8, ptr %.0128249, i64 108
  %178 = load i32, ptr %177, align 4, !tbaa !33
  %179 = load double, ptr %2, align 8, !tbaa !28
  %180 = getelementptr inbounds i8, ptr %.0135, i64 108
  %181 = load i32, ptr %180, align 4, !tbaa !33
  br i1 %174, label %182, label %183

182:                                              ; preds = %164
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %175, i32 noundef 7087, ptr noundef nonnull @.str.14, i32 noundef %176, i32 noundef %178, double noundef %179, i32 noundef %181, double noundef %167) #3
  br label %184

183:                                              ; preds = %164
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %175, i32 noundef 7088, ptr noundef nonnull @.str.15, i32 noundef %176, i32 noundef %178, double noundef %179, i32 noundef %181, double noundef %167) #3
  br label %184

184:                                              ; preds = %182, %183, %155, %159, %153
  %.1163 = phi ptr [ %.0162243, %159 ], [ %.0162243, %155 ], [ %.0162243, %153 ], [ %.0135, %183 ], [ %.0135, %182 ]
  %.1136 = phi ptr [ %.0135, %159 ], [ %.0135, %155 ], [ %150, %153 ], [ %.0135, %183 ], [ %.0135, %182 ]
  %.1124 = phi i32 [ %.0123250, %159 ], [ %.0123250, %155 ], [ %154, %153 ], [ %.0123250, %183 ], [ %.0123250, %182 ]
  %185 = load double, ptr %2, align 8, !tbaa !28
  br label %186

186:                                              ; preds = %184, %141, %135
  %187 = phi double [ %185, %184 ], [ %.pre271, %141 ], [ %.pre271, %135 ]
  %.2164 = phi ptr [ %.1163, %184 ], [ %.0162243, %141 ], [ %.0162243, %135 ]
  %.1154 = phi ptr [ %.1136, %184 ], [ %.0153244, %141 ], [ %.0153244, %135 ]
  %.1150 = phi ptr [ %.0128249, %184 ], [ %.0149245, %141 ], [ %.0149245, %135 ]
  %.1145 = phi double [ %185, %184 ], [ %.0144246, %141 ], [ %.0144246, %135 ]
  %.2137 = phi ptr [ %.1136, %184 ], [ %140, %141 ], [ null, %135 ]
  %.1132 = phi ptr [ %132, %184 ], [ %.0131247, %141 ], [ %.0131247, %135 ]
  %.2125 = phi i32 [ %.1124, %184 ], [ %.0123250, %141 ], [ %.0123250, %135 ]
  %188 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 552), align 8, !tbaa !34
  %189 = fcmp ogt double %187, %188
  br i1 %189, label %193, label %190

190:                                              ; preds = %186
  %.not203 = icmp ne ptr %.2137, null
  %191 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2504), align 8
  %192 = icmp eq ptr %.2137, %191
  %or.cond215 = select i1 %.not203, i1 %192, i1 false
  br i1 %or.cond215, label %193, label %202

193:                                              ; preds = %190, %186
  %194 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %195 = call i32 @qh_pointid(ptr noundef %132) #3
  %196 = load double, ptr %2, align 8, !tbaa !28
  %.not204 = icmp eq ptr %.2137, null
  br i1 %.not204, label %200, label %197

197:                                              ; preds = %193
  %198 = getelementptr inbounds i8, ptr %.2137, i64 108
  %199 = load i32, ptr %198, align 4, !tbaa !33
  br label %200

200:                                              ; preds = %193, %197
  %201 = phi i32 [ %199, %197 ], [ -1, %193 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %194, i32 noundef 8094, ptr noundef nonnull @.str.16, i32 noundef %195, double noundef %196, i32 noundef %201) #3
  br label %202

202:                                              ; preds = %.lr.ph251, %200, %190, %130
  %.3165 = phi ptr [ %.0162243, %130 ], [ %.2164, %200 ], [ %.2164, %190 ], [ %.0162243, %.lr.ph251 ]
  %.2155 = phi ptr [ %.0153244, %130 ], [ %.1154, %200 ], [ %.1154, %190 ], [ %.0153244, %.lr.ph251 ]
  %.2151 = phi ptr [ %.0149245, %130 ], [ %.1150, %200 ], [ %.1150, %190 ], [ %.0149245, %.lr.ph251 ]
  %.2146 = phi double [ %.0144246, %130 ], [ %.1145, %200 ], [ %.1145, %190 ], [ %.0144246, %.lr.ph251 ]
  %.2133 = phi ptr [ %.0131247, %130 ], [ %.1132, %200 ], [ %.1132, %190 ], [ %.0131247, %.lr.ph251 ]
  %.3126 = phi i32 [ %.0123250, %130 ], [ %.2125, %200 ], [ %.2125, %190 ], [ %.0123250, %.lr.ph251 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %203 = getelementptr inbounds [1 x %union.setelemT], ptr %126, i64 0, i64 %indvars.iv.next
  %204 = load ptr, ptr %203, align 8, !tbaa !26
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph251, !llvm.loop !41

.loopexit:                                        ; preds = %202, %125, %117
  %.4166 = phi ptr [ null, %117 ], [ null, %125 ], [ %.3165, %202 ]
  %.3156 = phi ptr [ %20, %117 ], [ %20, %125 ], [ %.2155, %202 ]
  %.3152 = phi ptr [ %20, %117 ], [ %20, %125 ], [ %.2151, %202 ]
  %.3147 = phi double [ 0.000000e+00, %117 ], [ 0.000000e+00, %125 ], [ %.2146, %202 ]
  %.3134 = phi ptr [ null, %117 ], [ null, %125 ], [ %.2133, %202 ]
  %.4127 = phi i32 [ 0, %117 ], [ 0, %125 ], [ %.3126, %202 ]
  %205 = load i32, ptr %3, align 4, !tbaa !5
  %206 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 176), align 8, !tbaa !26
  %207 = add nsw i32 %206, %205
  store i32 %207, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 176), align 8, !tbaa !26
  call void @qh_settempfree(ptr noundef nonnull %4) #3
  %208 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8, !tbaa !16
  %209 = fsub double %.3147, %208
  store double %209, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 936), align 8, !tbaa !26
  %210 = load double, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 944), align 8, !tbaa !26
  %211 = fcmp olt double %210, %208
  br i1 %211, label %212, label %213

212:                                              ; preds = %.loopexit
  store double %208, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 944), align 8, !tbaa !26
  br label %213

213:                                              ; preds = %212, %.loopexit
  %214 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 20), align 4, !tbaa !42
  %.not192 = icmp ne i32 %214, 0
  %215 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8
  %216 = fcmp ule double %.3147, %215
  %or.cond217.not268 = select i1 %.not192, i1 true, i1 %216
  %.1129258 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2456), align 8
  %.not193259 = icmp eq ptr %.1129258, null
  %or.cond266 = select i1 %or.cond217.not268, i1 true, i1 %.not193259
  br i1 %or.cond266, label %.critedge21, label %.lr.ph262

.lr.ph262:                                        ; preds = %213, %233
  %.1129261 = phi ptr [ %.1129, %233 ], [ %.1129258, %213 ]
  %.4148260 = phi double [ %.5, %233 ], [ %.3147, %213 ]
  %217 = getelementptr inbounds i8, ptr %.1129261, i64 56
  %218 = load ptr, ptr %217, align 8, !tbaa !23
  %.not194 = icmp eq ptr %218, null
  br i1 %.not194, label %.critedge21, label %219

219:                                              ; preds = %.lr.ph262
  %220 = getelementptr inbounds i8, ptr %.1129261, i64 8
  %221 = load double, ptr %220, align 8, !tbaa !43
  %222 = fcmp olt double %.4148260, %221
  br i1 %222, label %223, label %233

223:                                              ; preds = %219
  %224 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 144), align 8, !tbaa !44
  %.not195 = icmp eq i32 %224, 0
  br i1 %.not195, label %233, label %225

225:                                              ; preds = %223
  %226 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8, !tbaa !18
  %227 = fadd double %.4148260, %226
  %228 = fcmp olt double %227, %221
  br i1 %228, label %229, label %233

229:                                              ; preds = %225
  %230 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %231 = getelementptr inbounds i8, ptr %.1129261, i64 108
  %232 = load i32, ptr %231, align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %230, i32 noundef 7082, ptr noundef nonnull @.str.17, i32 noundef %232, double noundef %221, double noundef %.4148260, double noundef %226) #3
  %.1129.pre = load ptr, ptr %217, align 8, !tbaa !23
  br label %233

233:                                              ; preds = %223, %219, %225, %229
  %.1129 = phi ptr [ %.1129.pre, %229 ], [ %218, %225 ], [ %218, %219 ], [ %218, %223 ]
  %.5 = phi double [ %.4148260, %229 ], [ %.4148260, %225 ], [ %.4148260, %219 ], [ %221, %223 ]
  %.not193 = icmp eq ptr %.1129, null
  br i1 %.not193, label %.critedge21, label %.lr.ph262, !llvm.loop !45

.critedge21:                                      ; preds = %233, %.lr.ph262, %213
  %.6 = phi double [ %.3147, %213 ], [ %.5, %233 ], [ %.4148260, %.lr.ph262 ]
  store double %.6, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8, !tbaa !16
  call void @qh_nearcoplanar()
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2672), align 8, !tbaa !46
  %234 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !9
  %235 = icmp sgt i32 %234, 0
  br i1 %235, label %236, label %252

236:                                              ; preds = %.critedge21
  %237 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %238 = getelementptr inbounds i8, ptr %.4, i64 16
  %239 = load ptr, ptr %238, align 8, !tbaa !27
  %240 = call i32 @qh_pointid(ptr noundef %239) #3
  %241 = getelementptr inbounds i8, ptr %.4, i64 32
  %242 = load i32, ptr %241, align 8, !tbaa !32
  %243 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %244 = getelementptr inbounds i8, ptr %.4161, i64 108
  %245 = load i32, ptr %244, align 4, !tbaa !33
  %246 = call i32 @qh_pointid(ptr noundef %.3134) #3
  %247 = getelementptr inbounds i8, ptr %.3152, i64 108
  %248 = load i32, ptr %247, align 4, !tbaa !33
  %249 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2680), align 8, !tbaa !16
  %250 = getelementptr inbounds i8, ptr %.3156, i64 108
  %251 = load i32, ptr %250, align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %237, i32 noundef 1024, ptr noundef nonnull @.str.18, i32 noundef %240, i32 noundef %242, double noundef %243, i32 noundef %245, i32 noundef %246, i32 noundef %248, double noundef %249, i32 noundef %251, i32 noundef %.4127) #3
  br label %252

252:                                              ; preds = %236, %.critedge21
  %253 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 12), align 4, !tbaa !47
  %.not196 = icmp eq i32 %253, 0
  br i1 %.not196, label %254, label %293

254:                                              ; preds = %252
  %255 = fdiv double %.6, %123
  %256 = fcmp ogt double %255, 1.000000e+02
  br i1 %256, label %257, label %259

257:                                              ; preds = %254
  %258 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %258, i32 noundef 6297, ptr noundef nonnull @.str.19, double noundef %.6, double noundef %255) #3
  br label %.sink.split

259:                                              ; preds = %254
  %260 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 20), align 4, !tbaa !42
  %.not197 = icmp eq i32 %260, 0
  br i1 %.not197, label %261, label %272

261:                                              ; preds = %259
  %262 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1888), align 8, !tbaa !17
  %263 = fmul double %262, 1.000000e+03
  %264 = fcmp ogt double %123, %263
  br i1 %264, label %265, label %272

265:                                              ; preds = %261
  %266 = fcmp ogt double %.6, %263
  br i1 %266, label %267, label %293

267:                                              ; preds = %265
  %268 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %269 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8, !tbaa !18
  %270 = fadd double %262, %269
  %271 = fdiv double %123, %270
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %268, i32 noundef 6298, ptr noundef nonnull @.str.20, double noundef %123, double noundef %271) #3
  br label %.sink.split

272:                                              ; preds = %261, %259
  %273 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2696), align 8, !tbaa !15
  %274 = fdiv double %273, %.
  %275 = fcmp ogt double %274, 1.000000e+02
  br i1 %275, label %276, label %278

276:                                              ; preds = %272
  %277 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %277, i32 noundef 6354, ptr noundef nonnull @.str.21, double noundef %273, double noundef %274) #3
  br label %.sink.split

278:                                              ; preds = %272
  %279 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1888), align 8, !tbaa !17
  %280 = fmul double %279, -1.000000e+03
  %281 = fcmp olt double %., %280
  %282 = fcmp olt double %273, %280
  %or.cond218 = and i1 %281, %282
  br i1 %or.cond218, label %283, label %293

283:                                              ; preds = %278
  %284 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !14
  %285 = getelementptr inbounds i8, ptr %.4, i64 32
  %286 = load i32, ptr %285, align 8, !tbaa !32
  %287 = getelementptr inbounds i8, ptr %.4161, i64 108
  %288 = load i32, ptr %287, align 4, !tbaa !33
  %289 = fneg double %273
  %290 = load double, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1784), align 8, !tbaa !18
  %291 = fadd double %279, %290
  %292 = fdiv double %289, %291
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %284, i32 noundef 6380, ptr noundef nonnull @.str.22, i32 noundef %286, i32 noundef %288, double noundef %.4143, double noundef %292) #3
  br label %.sink.split

.sink.split:                                      ; preds = %267, %283, %276, %257
  %.4166.sink = phi ptr [ %.4166, %257 ], [ %.4161, %276 ], [ %.4161, %283 ], [ %.4166, %267 ]
  call void @qh_errexit(i32 noundef 8, ptr noundef %.4166.sink, ptr noundef null) #3
  br label %293

293:                                              ; preds = %.sink.split, %278, %265, %252
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_pointvertex() local_unnamed_addr #2

declare double @qh_vertex_bestdist(ptr noundef) local_unnamed_addr #1

declare i32 @qh_pointid(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_nearcoplanar() local_unnamed_addr #2

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


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