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

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

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

@.str.71 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [143 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [133 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 void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

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

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

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

declare double @qh_pointdist(ptr noundef, ptr noundef, i32 noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @qh_findbest_pinchedvertex(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  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
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  store double 0x7FEFFFFFFFFFFFFF, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.qhT, ptr %22, i32 0, i32 147
  %24 = load double, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.qhT, ptr %25, i32 0, i32 134
  %27 = load double, ptr %26, align 8, !tbaa !17
  %28 = fadd double %24, %27
  %29 = fmul double %28, 1.000000e+01
  store double %29, ptr %21, align 8, !tbaa !9
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.mergeT, ptr %30, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !18
  %33 = getelementptr inbounds %struct.facetT, ptr %32, i32 0, i32 15
  %34 = load i32, ptr %33, align 8
  %35 = lshr i32 %34, 13
  %36 = and i32 %35, 1
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %47

38:                                               ; preds = %5
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.mergeT, ptr %39, i32 0, i32 3
  %41 = load ptr, ptr %40, align 8, !tbaa !20
  %42 = getelementptr inbounds %struct.facetT, ptr %41, i32 0, i32 15
  %43 = load i32, ptr %42, align 8
  %44 = lshr i32 %43, 13
  %45 = and i32 %44, 1
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %69, label %47

47:                                               ; preds = %38, %5
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.qhT, ptr %49, i32 0, i32 158
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.mergeT, ptr %52, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !18
  %55 = getelementptr inbounds %struct.facetT, ptr %54, i32 0, i32 14
  %56 = load i32, ptr %55, align 4, !tbaa !22
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.mergeT, ptr %57, i32 0, i32 3
  %59 = load ptr, ptr %58, align 8, !tbaa !20
  %60 = getelementptr inbounds %struct.facetT, ptr %59, i32 0, i32 14
  %61 = load i32, ptr %60, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %48, ptr noundef %51, i32 noundef 6351, ptr noundef @.str.71, i32 noundef %56, i32 noundef %61)
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.mergeT, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !18
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.mergeT, ptr %66, i32 0, i32 3
  %68 = load ptr, ptr %67, align 8, !tbaa !20
  call void @qh_errexit2(ptr noundef %62, i32 noundef 5, ptr noundef %65, ptr noundef %68)
  br label %69

69:                                               ; preds = %47, %38
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.mergeT, ptr %71, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !18
  %74 = getelementptr inbounds %struct.facetT, ptr %73, i32 0, i32 8
  %75 = load ptr, ptr %74, align 8, !tbaa !24
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.mergeT, ptr %76, i32 0, i32 3
  %78 = load ptr, ptr %77, align 8, !tbaa !20
  %79 = getelementptr inbounds %struct.facetT, ptr %78, i32 0, i32 8
  %80 = load ptr, ptr %79, align 8, !tbaa !24
  %81 = call ptr @qh_vertexintersect_new(ptr noundef %70, ptr noundef %75, ptr noundef %80)
  store ptr %81, ptr %17, align 8, !tbaa !5
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %17, align 8, !tbaa !5
  %84 = call i32 @qh_setsize(ptr noundef %82, ptr noundef %83)
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.qhT, ptr %85, i32 0, i32 110
  %87 = load i32, ptr %86, align 8, !tbaa !25
  %88 = icmp eq i32 %84, %87
  br i1 %88, label %89, label %100

89:                                               ; preds = %69
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = call double @qh_vertex_bestdist2(ptr noundef %90, ptr noundef %91, ptr noundef %15, ptr noundef %16)
  store double %92, ptr %20, align 8, !tbaa !9
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = icmp eq ptr %93, %94
  br i1 %95, label %96, label %99

96:                                               ; preds = %89
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %97, ptr %15, align 8, !tbaa !5
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %98, ptr %16, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %96, %89
  br label %286

100:                                              ; preds = %69
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call ptr @qh_setdel(ptr noundef %101, ptr noundef %102)
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = call i32 @qh_setsize(ptr noundef %104, ptr noundef %105)
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.qhT, ptr %107, i32 0, i32 110
  %109 = load i32, ptr %108, align 8, !tbaa !25
  %110 = sub nsw i32 %109, 2
  %111 = icmp ne i32 %106, %110
  br i1 %111, label %112, label %137

112:                                              ; preds = %100
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.qhT, ptr %114, i32 0, i32 158
  %116 = load ptr, ptr %115, align 8, !tbaa !21
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.mergeT, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !18
  %120 = getelementptr inbounds %struct.facetT, ptr %119, i32 0, i32 14
  %121 = load i32, ptr %120, align 4, !tbaa !22
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.mergeT, ptr %122, i32 0, i32 3
  %124 = load ptr, ptr %123, align 8, !tbaa !20
  %125 = getelementptr inbounds %struct.facetT, ptr %124, i32 0, i32 14
  %126 = load i32, ptr %125, align 4, !tbaa !22
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  %129 = call i32 @qh_setsize(ptr noundef %127, ptr noundef %128)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %113, ptr noundef %116, i32 noundef 6409, ptr noundef @.str.72, i32 noundef %121, i32 noundef %126, i32 noundef %129)
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.mergeT, ptr %131, i32 0, i32 2
  %133 = load ptr, ptr %132, align 8, !tbaa !18
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.mergeT, ptr %134, i32 0, i32 3
  %136 = load ptr, ptr %135, align 8, !tbaa !20
  call void @qh_errexit2(ptr noundef %130, i32 noundef 5, ptr noundef %133, ptr noundef %136)
  br label %137

137:                                              ; preds = %112, %100
  store ptr null, ptr %11, align 8, !tbaa !5
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = icmp ne ptr %138, null
  br i1 %139, label %140, label %169

140:                                              ; preds = %137
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.setT, ptr %141, i32 0, i32 1
  %143 = getelementptr inbounds [1 x %union.setelemT], ptr %142, i64 0, i64 0
  store ptr %143, ptr %12, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %167, %140
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds ptr, ptr %145, i32 1
  store ptr %146, ptr %12, align 8, !tbaa !5
  %147 = load ptr, ptr %145, align 8, !tbaa !5
  store ptr %147, ptr %11, align 8, !tbaa !5
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %168

149:                                              ; preds = %144
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.vertexT, ptr %150, i32 0, i32 2
  %152 = load ptr, ptr %151, align 8, !tbaa !26
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.vertexT, ptr %153, i32 0, i32 2
  %155 = load ptr, ptr %154, align 8, !tbaa !26
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.qhT, ptr %156, i32 0, i32 110
  %158 = load i32, ptr %157, align 8, !tbaa !25
  %159 = call double @qh_pointdist(ptr noundef %152, ptr noundef %155, i32 noundef %158)
  store double %159, ptr %19, align 8, !tbaa !9
  %160 = load double, ptr %19, align 8, !tbaa !9
  %161 = load double, ptr %20, align 8, !tbaa !9
  %162 = fcmp olt double %160, %161
  br i1 %162, label %163, label %167

163:                                              ; preds = %149
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %164, ptr %16, align 8, !tbaa !5
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %165, ptr %15, align 8, !tbaa !5
  %166 = load double, ptr %19, align 8, !tbaa !9
  store double %166, ptr %20, align 8, !tbaa !9
  br label %167

167:                                              ; preds = %163, %149
  br label %144, !llvm.loop !28

168:                                              ; preds = %144
  br label %169

169:                                              ; preds = %168, %137
  %170 = load double, ptr %20, align 8, !tbaa !9
  %171 = load double, ptr %21, align 8, !tbaa !9
  %172 = fcmp ogt double %170, %171
  br i1 %172, label %173, label %229

173:                                              ; preds = %169
  store ptr null, ptr %11, align 8, !tbaa !5
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = icmp ne ptr %174, null
  br i1 %175, label %176, label %228

176:                                              ; preds = %173
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.setT, ptr %177, i32 0, i32 1
  %179 = getelementptr inbounds [1 x %union.setelemT], ptr %178, i64 0, i64 0
  store ptr %179, ptr %12, align 8, !tbaa !5
  br label %180

180:                                              ; preds = %226, %176
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = getelementptr inbounds ptr, ptr %181, i32 1
  store ptr %182, ptr %12, align 8, !tbaa !5
  %183 = load ptr, ptr %181, align 8, !tbaa !5
  store ptr %183, ptr %11, align 8, !tbaa !5
  %184 = icmp ne ptr %183, null
  br i1 %184, label %185, label %227

185:                                              ; preds = %180
  store ptr null, ptr %13, align 8, !tbaa !5
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %226

188:                                              ; preds = %185
  %189 = load ptr, ptr %17, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.setT, ptr %189, i32 0, i32 1
  %191 = getelementptr inbounds [1 x %union.setelemT], ptr %190, i64 0, i64 0
  store ptr %191, ptr %14, align 8, !tbaa !5
  br label %192

192:                                              ; preds = %224, %188
  %193 = load ptr, ptr %14, align 8, !tbaa !5
  %194 = getelementptr inbounds ptr, ptr %193, i32 1
  store ptr %194, ptr %14, align 8, !tbaa !5
  %195 = load ptr, ptr %193, align 8, !tbaa !5
  store ptr %195, ptr %13, align 8, !tbaa !5
  %196 = icmp ne ptr %195, null
  br i1 %196, label %197, label %225

197:                                              ; preds = %192
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.vertexT, ptr %198, i32 0, i32 4
  %200 = load i32, ptr %199, align 8, !tbaa !30
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.vertexT, ptr %201, i32 0, i32 4
  %203 = load i32, ptr %202, align 8, !tbaa !30
  %204 = icmp ugt i32 %200, %203
  br i1 %204, label %205, label %224

205:                                              ; preds = %197
  %206 = load ptr, ptr %13, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.vertexT, ptr %206, i32 0, i32 2
  %208 = load ptr, ptr %207, align 8, !tbaa !26
  %209 = load ptr, ptr %11, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.vertexT, ptr %209, i32 0, i32 2
  %211 = load ptr, ptr %210, align 8, !tbaa !26
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.qhT, ptr %212, i32 0, i32 110
  %214 = load i32, ptr %213, align 8, !tbaa !25
  %215 = call double @qh_pointdist(ptr noundef %208, ptr noundef %211, i32 noundef %214)
  store double %215, ptr %19, align 8, !tbaa !9
  %216 = load double, ptr %19, align 8, !tbaa !9
  %217 = load double, ptr %20, align 8, !tbaa !9
  %218 = fcmp olt double %216, %217
  br i1 %218, label %219, label %223

219:                                              ; preds = %205
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %220, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %221, ptr %15, align 8, !tbaa !5
  %222 = load double, ptr %19, align 8, !tbaa !9
  store double %222, ptr %20, align 8, !tbaa !9
  br label %223

223:                                              ; preds = %219, %205
  br label %224

224:                                              ; preds = %223, %197
  br label %192, !llvm.loop !31

225:                                              ; preds = %192
  br label %226

226:                                              ; preds = %225, %185
  br label %180, !llvm.loop !32

227:                                              ; preds = %180
  br label %228

228:                                              ; preds = %227, %173
  br label %229

229:                                              ; preds = %228, %169
  %230 = load double, ptr %20, align 8, !tbaa !9
  %231 = load double, ptr %21, align 8, !tbaa !9
  %232 = fcmp ogt double %230, %231
  br i1 %232, label %233, label %285

233:                                              ; preds = %229
  store ptr null, ptr %13, align 8, !tbaa !5
  %234 = load ptr, ptr %17, align 8, !tbaa !5
  %235 = icmp ne ptr %234, null
  br i1 %235, label %236, label %284

236:                                              ; preds = %233
  %237 = load ptr, ptr %17, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.setT, ptr %237, i32 0, i32 1
  %239 = getelementptr inbounds [1 x %union.setelemT], ptr %238, i64 0, i64 0
  store ptr %239, ptr %14, align 8, !tbaa !5
  br label %240

240:                                              ; preds = %281, %236
  %241 = load ptr, ptr %14, align 8, !tbaa !5
  %242 = getelementptr inbounds ptr, ptr %241, i32 1
  store ptr %242, ptr %14, align 8, !tbaa !5
  %243 = load ptr, ptr %241, align 8, !tbaa !5
  store ptr %243, ptr %13, align 8, !tbaa !5
  %244 = icmp ne ptr %243, null
  br i1 %244, label %245, label %283

245:                                              ; preds = %240
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = load ptr, ptr %17, align 8, !tbaa !5
  %249 = call ptr @qh_neighbor_vertices(ptr noundef %246, ptr noundef %247, ptr noundef %248)
  store ptr %249, ptr %18, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  %250 = load ptr, ptr %18, align 8, !tbaa !5
  %251 = icmp ne ptr %250, null
  br i1 %251, label %252, label %281

252:                                              ; preds = %245
  %253 = load ptr, ptr %18, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.setT, ptr %253, i32 0, i32 1
  %255 = getelementptr inbounds [1 x %union.setelemT], ptr %254, i64 0, i64 0
  store ptr %255, ptr %12, align 8, !tbaa !5
  br label %256

256:                                              ; preds = %279, %252
  %257 = load ptr, ptr %12, align 8, !tbaa !5
  %258 = getelementptr inbounds ptr, ptr %257, i32 1
  store ptr %258, ptr %12, align 8, !tbaa !5
  %259 = load ptr, ptr %257, align 8, !tbaa !5
  store ptr %259, ptr %11, align 8, !tbaa !5
  %260 = icmp ne ptr %259, null
  br i1 %260, label %261, label %280

261:                                              ; preds = %256
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.vertexT, ptr %262, i32 0, i32 2
  %264 = load ptr, ptr %263, align 8, !tbaa !26
  %265 = load ptr, ptr %13, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.vertexT, ptr %265, i32 0, i32 2
  %267 = load ptr, ptr %266, align 8, !tbaa !26
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.qhT, ptr %268, i32 0, i32 110
  %270 = load i32, ptr %269, align 8, !tbaa !25
  %271 = call double @qh_pointdist(ptr noundef %264, ptr noundef %267, i32 noundef %270)
  store double %271, ptr %19, align 8, !tbaa !9
  %272 = load double, ptr %19, align 8, !tbaa !9
  %273 = load double, ptr %20, align 8, !tbaa !9
  %274 = fcmp olt double %272, %273
  br i1 %274, label %275, label %279

275:                                              ; preds = %261
  %276 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %276, ptr %15, align 8, !tbaa !5
  %277 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %277, ptr %16, align 8, !tbaa !5
  %278 = load double, ptr %19, align 8, !tbaa !9
  store double %278, ptr %20, align 8, !tbaa !9
  br label %279

279:                                              ; preds = %275, %261
  br label %256, !llvm.loop !33

280:                                              ; preds = %256
  br label %281

281:                                              ; preds = %280, %245
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %282, ptr noundef %18)
  br label %240, !llvm.loop !34

283:                                              ; preds = %240
  br label %284

284:                                              ; preds = %283, %233
  br label %285

285:                                              ; preds = %284, %229
  br label %286

286:                                              ; preds = %285, %99
  %287 = load double, ptr %20, align 8, !tbaa !9
  %288 = load ptr, ptr %10, align 8, !tbaa !5
  store double %287, ptr %288, align 8, !tbaa !9
  %289 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_setfree(ptr noundef %289, ptr noundef %17)
  %290 = load ptr, ptr %15, align 8, !tbaa !5
  %291 = icmp ne ptr %290, null
  br i1 %291, label %317, label %292

292:                                              ; preds = %286
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.qhT, ptr %294, i32 0, i32 158
  %296 = load ptr, ptr %295, align 8, !tbaa !21
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.mergeT, ptr %297, i32 0, i32 2
  %299 = load ptr, ptr %298, align 8, !tbaa !18
  %300 = getelementptr inbounds %struct.facetT, ptr %299, i32 0, i32 14
  %301 = load i32, ptr %300, align 4, !tbaa !22
  %302 = load ptr, ptr %7, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.mergeT, ptr %302, i32 0, i32 3
  %304 = load ptr, ptr %303, align 8, !tbaa !20
  %305 = getelementptr inbounds %struct.facetT, ptr %304, i32 0, i32 14
  %306 = load i32, ptr %305, align 4, !tbaa !22
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.qhT, ptr %307, i32 0, i32 190
  %309 = load i32, ptr %308, align 4, !tbaa !35
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %293, ptr noundef %296, i32 noundef 6274, ptr noundef @.str.73, i32 noundef %301, i32 noundef %306, i32 noundef %309)
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.mergeT, ptr %311, i32 0, i32 2
  %313 = load ptr, ptr %312, align 8, !tbaa !18
  %314 = load ptr, ptr %7, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.mergeT, ptr %314, i32 0, i32 3
  %316 = load ptr, ptr %315, align 8, !tbaa !20
  call void @qh_errexit2(ptr noundef %310, i32 noundef 5, ptr noundef %313, ptr noundef %316)
  br label %317

317:                                              ; preds = %292, %286
  %318 = load ptr, ptr %15, align 8, !tbaa !5
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %318, ptr %319, align 8, !tbaa !5
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.qhT, ptr %320, i32 0, i32 29
  %322 = load i32, ptr %321, align 8, !tbaa !36
  %323 = icmp sge i32 %322, 2
  br i1 %323, label %324, label %356

324:                                              ; preds = %317
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.qhT, ptr %326, i32 0, i32 158
  %328 = load ptr, ptr %327, align 8, !tbaa !21
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = load ptr, ptr %16, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.vertexT, ptr %330, i32 0, i32 2
  %332 = load ptr, ptr %331, align 8, !tbaa !26
  %333 = call i32 @qh_pointid(ptr noundef %329, ptr noundef %332)
  %334 = load ptr, ptr %16, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.vertexT, ptr %334, i32 0, i32 4
  %336 = load i32, ptr %335, align 8, !tbaa !30
  %337 = load ptr, ptr %6, align 8, !tbaa !5
  %338 = load ptr, ptr %15, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.vertexT, ptr %338, i32 0, i32 2
  %340 = load ptr, ptr %339, align 8, !tbaa !26
  %341 = call i32 @qh_pointid(ptr noundef %337, ptr noundef %340)
  %342 = load ptr, ptr %15, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.vertexT, ptr %342, i32 0, i32 4
  %344 = load i32, ptr %343, align 8, !tbaa !30
  %345 = load double, ptr %20, align 8, !tbaa !9
  %346 = load ptr, ptr %7, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.mergeT, ptr %346, i32 0, i32 2
  %348 = load ptr, ptr %347, align 8, !tbaa !18
  %349 = getelementptr inbounds %struct.facetT, ptr %348, i32 0, i32 14
  %350 = load i32, ptr %349, align 4, !tbaa !22
  %351 = load ptr, ptr %7, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.mergeT, ptr %351, i32 0, i32 3
  %353 = load ptr, ptr %352, align 8, !tbaa !20
  %354 = getelementptr inbounds %struct.facetT, ptr %353, i32 0, i32 14
  %355 = load i32, ptr %354, align 4, !tbaa !22
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %325, ptr noundef %328, i32 noundef 2061, ptr noundef @.str.74, i32 noundef %333, i32 noundef %336, i32 noundef %341, i32 noundef %344, double noundef %345, i32 noundef %350, i32 noundef %355)
  br label %356

356:                                              ; preds = %324, %317
  %357 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 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
  ret ptr %357
}

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

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

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

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


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

@.str.71 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [143 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [133 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 void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @qh_findbest_pinchedvertex(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 1888
  %11 = load double, ptr %10, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %0, i64 1784
  %13 = load double, ptr %12, align 8, !tbaa !16
  %14 = fadd double %11, %13
  %15 = fmul double %14, 1.000000e+01
  %16 = getelementptr inbounds i8, ptr %1, i64 16
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %17, i64 112
  %19 = load i32, ptr %18, align 8
  %20 = and i32 %19, 8192
  %.not = icmp eq i32 %20, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 24
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !19
  br i1 %.not, label %._crit_edge, label %21

21:                                               ; preds = %5
  %22 = getelementptr inbounds i8, ptr %.pre, i64 112
  %23 = load i32, ptr %22, align 8
  %24 = and i32 %23, 8192
  %.not107 = icmp eq i32 %24, 0
  br i1 %.not107, label %._crit_edge, label %34

._crit_edge:                                      ; preds = %5, %21
  %25 = getelementptr inbounds i8, ptr %0, i64 2424
  %26 = load ptr, ptr %25, align 8, !tbaa !20
  %27 = getelementptr inbounds i8, ptr %17, i64 108
  %28 = load i32, ptr %27, align 4, !tbaa !21
  %29 = getelementptr inbounds i8, ptr %1, i64 24
  %30 = getelementptr inbounds i8, ptr %.pre, i64 108
  %31 = load i32, ptr %30, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %26, i32 noundef 6351, ptr noundef nonnull @.str.71, i32 noundef %28, i32 noundef %31) #3
  %32 = load ptr, ptr %16, align 8, !tbaa !17
  %33 = load ptr, ptr %29, align 8, !tbaa !19
  tail call void @qh_errexit2(ptr noundef nonnull %0, i32 noundef 5, ptr noundef %32, ptr noundef %33) #3
  %.pre201 = load ptr, ptr %16, align 8, !tbaa !17
  %.pre203 = load ptr, ptr %29, align 8, !tbaa !19
  br label %34

34:                                               ; preds = %._crit_edge, %21
  %35 = phi ptr [ %.pre203, %._crit_edge ], [ %.pre, %21 ]
  %36 = phi ptr [ %.pre201, %._crit_edge ], [ %17, %21 ]
  %37 = getelementptr inbounds i8, ptr %36, i64 64
  %38 = load ptr, ptr %37, align 8, !tbaa !23
  %39 = getelementptr inbounds i8, ptr %1, i64 24
  %40 = getelementptr inbounds i8, ptr %35, i64 64
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  %42 = tail call ptr @qh_vertexintersect_new(ptr noundef nonnull %0, ptr noundef %38, ptr noundef %41) #3
  store ptr %42, ptr %8, align 8, !tbaa !5
  %43 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %42) #3
  %44 = getelementptr inbounds i8, ptr %0, i64 632
  %45 = load i32, ptr %44, align 8, !tbaa !24
  %46 = icmp eq i32 %43, %45
  br i1 %46, label %47, label %53

47:                                               ; preds = %34
  %48 = call double @qh_vertex_bestdist2(ptr noundef nonnull %0, ptr noundef %42, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = icmp eq ptr %49, %2
  br i1 %50, label %51, label %.loopexit126

51:                                               ; preds = %47
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %52, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  br label %.loopexit126

53:                                               ; preds = %34
  %54 = tail call ptr @qh_setdel(ptr noundef %42, ptr noundef %2) #3
  %55 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %42) #3
  %56 = load i32, ptr %44, align 8, !tbaa !24
  %57 = add nsw i32 %56, -2
  %.not108 = icmp eq i32 %55, %57
  br i1 %.not108, label %70, label %58

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %0, i64 2424
  %60 = load ptr, ptr %59, align 8, !tbaa !20
  %61 = load ptr, ptr %16, align 8, !tbaa !17
  %62 = getelementptr inbounds i8, ptr %61, i64 108
  %63 = load i32, ptr %62, align 4, !tbaa !21
  %64 = load ptr, ptr %39, align 8, !tbaa !19
  %65 = getelementptr inbounds i8, ptr %64, i64 108
  %66 = load i32, ptr %65, align 4, !tbaa !21
  %67 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %42) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %60, i32 noundef 6409, ptr noundef nonnull @.str.72, i32 noundef %63, i32 noundef %66, i32 noundef %67) #3
  %68 = load ptr, ptr %16, align 8, !tbaa !17
  %69 = load ptr, ptr %39, align 8, !tbaa !19
  tail call void @qh_errexit2(ptr noundef nonnull %0, i32 noundef 5, ptr noundef %68, ptr noundef %69) #3
  br label %70

70:                                               ; preds = %58, %53
  %.not109 = icmp eq ptr %42, null
  br i1 %.not109, label %.loopexit126, label %.preheader131

.preheader131:                                    ; preds = %70
  %.090135 = getelementptr inbounds i8, ptr %42, i64 8
  %71 = load ptr, ptr %.090135, align 8, !tbaa !5
  %.not110136 = icmp eq ptr %71, null
  br i1 %.not110136, label %.loopexit214, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader131
  %72 = getelementptr inbounds i8, ptr %2, i64 16
  br label %73

73:                                               ; preds = %.lr.ph, %73
  %74 = phi ptr [ %71, %.lr.ph ], [ %85, %73 ]
  %.090138 = phi ptr [ %.090135, %.lr.ph ], [ %.090, %73 ]
  %.0137 = phi double [ 0x7FEFFFFFFFFFFFFF, %.lr.ph ], [ %.1, %73 ]
  %75 = phi ptr [ null, %.lr.ph ], [ %84, %73 ]
  %76 = phi ptr [ null, %.lr.ph ], [ %83, %73 ]
  %77 = getelementptr inbounds i8, ptr %74, i64 16
  %78 = load ptr, ptr %77, align 8, !tbaa !25
  %79 = load ptr, ptr %72, align 8, !tbaa !25
  %80 = load i32, ptr %44, align 8, !tbaa !24
  %81 = tail call double @qh_pointdist(ptr noundef %78, ptr noundef %79, i32 noundef %80) #3
  %82 = fcmp olt double %81, %.0137
  %83 = select i1 %82, ptr %74, ptr %76
  %84 = select i1 %82, ptr %2, ptr %75
  %.1 = select i1 %82, double %81, double %.0137
  %.090 = getelementptr inbounds i8, ptr %.090138, i64 8
  %85 = load ptr, ptr %.090, align 8, !tbaa !5
  %.not110 = icmp eq ptr %85, null
  br i1 %.not110, label %.loopexit214, label %73, !llvm.loop !27

.loopexit214:                                     ; preds = %73, %.preheader131
  %.lcssa134 = phi ptr [ null, %.preheader131 ], [ %83, %73 ]
  %.lcssa = phi ptr [ null, %.preheader131 ], [ %84, %73 ]
  %.0.lcssa = phi double [ 0x7FEFFFFFFFFFFFFF, %.preheader131 ], [ %.1, %73 ]
  store ptr %.lcssa, ptr %7, align 8, !tbaa !5
  store ptr %.lcssa134, ptr %6, align 8, !tbaa !5
  %86 = fcmp ule double %.0.lcssa, %15
  %or.cond = or i1 %86, %.not109
  br i1 %or.cond, label %113, label %.preheader129

.preheader129:                                    ; preds = %.loopexit214
  %.191159 = getelementptr inbounds i8, ptr %42, i64 8
  %87 = load ptr, ptr %.191159, align 8, !tbaa !5
  %.not113160 = icmp eq ptr %87, null
  br i1 %.not113160, label %.loopexit130, label %.preheader127

.preheader127thread-pre-split:                    ; preds = %.loopexit128
  %.pr = load ptr, ptr %.191159, align 8, !tbaa !5
  br label %.preheader127

.preheader127:                                    ; preds = %.preheader129, %.preheader127thread-pre-split
  %88 = phi ptr [ %.pr, %.preheader127thread-pre-split ], [ %87, %.preheader129 ]
  %89 = phi ptr [ %112, %.preheader127thread-pre-split ], [ %87, %.preheader129 ]
  %.191164 = phi ptr [ %.191, %.preheader127thread-pre-split ], [ %.191159, %.preheader129 ]
  %.3163 = phi double [ %.4.lcssa, %.preheader127thread-pre-split ], [ %.0.lcssa, %.preheader129 ]
  %.lcssa142155162 = phi ptr [ %.lcssa142, %.preheader127thread-pre-split ], [ %.lcssa, %.preheader129 ]
  %.lcssa144158161 = phi ptr [ %.lcssa144, %.preheader127thread-pre-split ], [ %.lcssa134, %.preheader129 ]
  %.not122146 = icmp eq ptr %88, null
  br i1 %.not122146, label %.loopexit128, label %.lr.ph149

.lr.ph149:                                        ; preds = %.preheader127
  %90 = getelementptr inbounds i8, ptr %89, i64 32
  %91 = getelementptr inbounds i8, ptr %89, i64 16
  br label %92

92:                                               ; preds = %.lr.ph149, %108
  %93 = phi ptr [ %88, %.lr.ph149 ], [ %111, %108 ]
  %.088148 = phi ptr [ %.191159, %.lr.ph149 ], [ %.088, %108 ]
  %.4147 = phi double [ %.3163, %.lr.ph149 ], [ %.5, %108 ]
  %94 = phi ptr [ %.lcssa142155162, %.lr.ph149 ], [ %110, %108 ]
  %95 = phi ptr [ %.lcssa144158161, %.lr.ph149 ], [ %109, %108 ]
  %96 = getelementptr inbounds i8, ptr %93, i64 32
  %97 = load i32, ptr %96, align 8, !tbaa !29
  %98 = load i32, ptr %90, align 8, !tbaa !29
  %99 = icmp ugt i32 %97, %98
  br i1 %99, label %100, label %108

100:                                              ; preds = %92
  %101 = getelementptr inbounds i8, ptr %93, i64 16
  %102 = load ptr, ptr %101, align 8, !tbaa !25
  %103 = load ptr, ptr %91, align 8, !tbaa !25
  %104 = load i32, ptr %44, align 8, !tbaa !24
  %105 = tail call double @qh_pointdist(ptr noundef %102, ptr noundef %103, i32 noundef %104) #3
  %106 = fcmp olt double %105, %.4147
  br i1 %106, label %107, label %108

107:                                              ; preds = %100
  br label %108

108:                                              ; preds = %100, %107, %92
  %109 = phi ptr [ %89, %107 ], [ %95, %100 ], [ %95, %92 ]
  %110 = phi ptr [ %93, %107 ], [ %94, %100 ], [ %94, %92 ]
  %.5 = phi double [ %105, %107 ], [ %.4147, %100 ], [ %.4147, %92 ]
  %.088 = getelementptr inbounds i8, ptr %.088148, i64 8
  %111 = load ptr, ptr %.088, align 8, !tbaa !5
  %.not122 = icmp eq ptr %111, null
  br i1 %.not122, label %.loopexit128, label %92, !llvm.loop !30

.loopexit128:                                     ; preds = %108, %.preheader127
  %.lcssa144 = phi ptr [ %.lcssa144158161, %.preheader127 ], [ %109, %108 ]
  %.lcssa142 = phi ptr [ %.lcssa142155162, %.preheader127 ], [ %110, %108 ]
  %.4.lcssa = phi double [ %.3163, %.preheader127 ], [ %.5, %108 ]
  %.191 = getelementptr inbounds i8, ptr %.191164, i64 8
  %112 = load ptr, ptr %.191, align 8, !tbaa !5
  %.not113 = icmp eq ptr %112, null
  br i1 %.not113, label %.loopexit130, label %.preheader127thread-pre-split, !llvm.loop !31

.loopexit130:                                     ; preds = %.loopexit128, %.preheader129
  %.lcssa144158.lcssa = phi ptr [ %.lcssa134, %.preheader129 ], [ %.lcssa144, %.loopexit128 ]
  %.lcssa142155.lcssa = phi ptr [ %.lcssa, %.preheader129 ], [ %.lcssa142, %.loopexit128 ]
  %.3.lcssa = phi double [ %.0.lcssa, %.preheader129 ], [ %.4.lcssa, %.loopexit128 ]
  store ptr %.lcssa142155.lcssa, ptr %7, align 8, !tbaa !5
  store ptr %.lcssa144158.lcssa, ptr %6, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %.loopexit130, %.loopexit214
  %.7 = phi double [ %.0.lcssa, %.loopexit214 ], [ %.3.lcssa, %.loopexit130 ]
  %114 = fcmp ule double %.7, %15
  %or.cond124 = or i1 %114, %.not109
  br i1 %or.cond124, label %.loopexit126, label %.preheader125

.preheader125:                                    ; preds = %113
  %.189189 = getelementptr inbounds i8, ptr %42, i64 8
  %115 = load ptr, ptr %.189189, align 8, !tbaa !5
  %.not116190 = icmp eq ptr %115, null
  br i1 %.not116190, label %.loopexit126, label %.lr.ph193

.lr.ph193:                                        ; preds = %.preheader125, %.loopexit
  %116 = phi ptr [ %131, %.loopexit ], [ %115, %.preheader125 ]
  %.189192 = phi ptr [ %.189, %.loopexit ], [ %.189189, %.preheader125 ]
  %.8191 = phi double [ %.11, %.loopexit ], [ %.7, %.preheader125 ]
  %117 = call ptr @qh_neighbor_vertices(ptr noundef %0, ptr noundef nonnull %116, ptr noundef nonnull %42)
  store ptr %117, ptr %9, align 8, !tbaa !5
  %.not117 = icmp eq ptr %117, null
  br i1 %.not117, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.lr.ph193
  %.292183 = getelementptr inbounds i8, ptr %117, i64 8
  %118 = load ptr, ptr %.292183, align 8, !tbaa !5
  %.not119184 = icmp eq ptr %118, null
  br i1 %.not119184, label %.loopexit, label %.lr.ph187

.lr.ph187:                                        ; preds = %.preheader
  %119 = getelementptr inbounds i8, ptr %116, i64 16
  br label %120

120:                                              ; preds = %.lr.ph187, %129
  %121 = phi ptr [ %118, %.lr.ph187 ], [ %130, %129 ]
  %.292186 = phi ptr [ %.292183, %.lr.ph187 ], [ %.292, %129 ]
  %.9185 = phi double [ %.8191, %.lr.ph187 ], [ %.10, %129 ]
  %122 = getelementptr inbounds i8, ptr %121, i64 16
  %123 = load ptr, ptr %122, align 8, !tbaa !25
  %124 = load ptr, ptr %119, align 8, !tbaa !25
  %125 = load i32, ptr %44, align 8, !tbaa !24
  %126 = call double @qh_pointdist(ptr noundef %123, ptr noundef %124, i32 noundef %125) #3
  %127 = fcmp olt double %126, %.9185
  br i1 %127, label %128, label %129

128:                                              ; preds = %120
  store ptr %121, ptr %6, align 8, !tbaa !5
  store ptr %116, ptr %7, align 8, !tbaa !5
  br label %129

129:                                              ; preds = %128, %120
  %.10 = phi double [ %126, %128 ], [ %.9185, %120 ]
  %.292 = getelementptr inbounds i8, ptr %.292186, i64 8
  %130 = load ptr, ptr %.292, align 8, !tbaa !5
  %.not119 = icmp eq ptr %130, null
  br i1 %.not119, label %.loopexit, label %120, !llvm.loop !33

.loopexit:                                        ; preds = %129, %.preheader, %.lr.ph193
  %.11 = phi double [ %.8191, %.lr.ph193 ], [ %.8191, %.preheader ], [ %.10, %129 ]
  call void @qh_settempfree(ptr noundef %0, ptr noundef nonnull %9) #3
  %.189 = getelementptr inbounds i8, ptr %.189192, i64 8
  %131 = load ptr, ptr %.189, align 8, !tbaa !5
  %.not116 = icmp eq ptr %131, null
  br i1 %.not116, label %.loopexit126, label %.lr.ph193, !llvm.loop !34

.loopexit126:                                     ; preds = %.loopexit, %70, %.preheader125, %113, %47, %51
  %.12 = phi double [ %48, %51 ], [ %48, %47 ], [ %.7, %113 ], [ %.7, %.preheader125 ], [ 0x7FEFFFFFFFFFFFFF, %70 ], [ %.11, %.loopexit ]
  store double %.12, ptr %4, align 8, !tbaa !35
  call void @qh_setfree(ptr noundef %0, ptr noundef nonnull %8) #3
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %.not123 = icmp eq ptr %132, null
  br i1 %.not123, label %133, label %146

133:                                              ; preds = %.loopexit126
  %134 = getelementptr inbounds i8, ptr %0, i64 2424
  %135 = load ptr, ptr %134, align 8, !tbaa !20
  %136 = load ptr, ptr %16, align 8, !tbaa !17
  %137 = getelementptr inbounds i8, ptr %136, i64 108
  %138 = load i32, ptr %137, align 4, !tbaa !21
  %139 = load ptr, ptr %39, align 8, !tbaa !19
  %140 = getelementptr inbounds i8, ptr %139, i64 108
  %141 = load i32, ptr %140, align 4, !tbaa !21
  %142 = getelementptr inbounds i8, ptr %0, i64 2620
  %143 = load i32, ptr %142, align 4, !tbaa !36
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %135, i32 noundef 6274, ptr noundef nonnull @.str.73, i32 noundef %138, i32 noundef %141, i32 noundef %143) #3
  %144 = load ptr, ptr %16, align 8, !tbaa !17
  %145 = load ptr, ptr %39, align 8, !tbaa !19
  call void @qh_errexit2(ptr noundef %0, i32 noundef 5, ptr noundef %144, ptr noundef %145) #3
  %.pre206 = load ptr, ptr %6, align 8, !tbaa !5
  br label %146

146:                                              ; preds = %133, %.loopexit126
  %147 = phi ptr [ %.pre206, %133 ], [ %132, %.loopexit126 ]
  store ptr %147, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %0, i64 136
  %149 = load i32, ptr %148, align 8, !tbaa !37
  %150 = icmp sgt i32 %149, 1
  br i1 %150, label %151, label %174

151:                                              ; preds = %146
  %152 = getelementptr inbounds i8, ptr %0, i64 2424
  %153 = load ptr, ptr %152, align 8, !tbaa !20
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %154, i64 16
  %156 = load ptr, ptr %155, align 8, !tbaa !25
  %157 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %156) #3
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 32
  %160 = load i32, ptr %159, align 8, !tbaa !29
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 16
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  %164 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %163) #3
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 32
  %167 = load i32, ptr %166, align 8, !tbaa !29
  %168 = load ptr, ptr %16, align 8, !tbaa !17
  %169 = getelementptr inbounds i8, ptr %168, i64 108
  %170 = load i32, ptr %169, align 4, !tbaa !21
  %171 = load ptr, ptr %39, align 8, !tbaa !19
  %172 = getelementptr inbounds i8, ptr %171, i64 108
  %173 = load i32, ptr %172, align 4, !tbaa !21
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %153, i32 noundef 2061, ptr noundef nonnull @.str.74, i32 noundef %157, i32 noundef %160, i32 noundef %164, i32 noundef %167, double noundef %.12, i32 noundef %170, i32 noundef %173) #3
  br label %174

174:                                              ; preds = %151, %146
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  ret ptr %175
}

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass