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

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

@qh_qh = external global %struct.qhT, align 8
@.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, 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) #1

declare void @qh_errexit2(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) #1

declare void @qh_setfree(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) #2 {
  %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 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 double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  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
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store ptr null, ptr %14, align 8, !tbaa !5
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  store double 0x7FEFFFFFFFFFFFFF, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %20 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 147), align 8, !tbaa !11
  %21 = load double, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 134), align 8, !tbaa !15
  %22 = fadd double %20, %21
  %23 = fmul double %22, 1.000000e+01
  store double %23, ptr %19, align 8, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.mergeT, ptr %24, i32 0, i32 2
  %26 = load ptr, ptr %25, align 8, !tbaa !16
  %27 = getelementptr inbounds %struct.facetT, ptr %26, i32 0, i32 15
  %28 = load i32, ptr %27, align 8
  %29 = lshr i32 %28, 13
  %30 = and i32 %29, 1
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %41

32:                                               ; preds = %4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.mergeT, ptr %33, i32 0, i32 3
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %36 = getelementptr inbounds %struct.facetT, ptr %35, i32 0, i32 15
  %37 = load i32, ptr %36, align 8
  %38 = lshr i32 %37, 13
  %39 = and i32 %38, 1
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %59, label %41

41:                                               ; preds = %32, %4
  %42 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !19
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.mergeT, ptr %43, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  %46 = getelementptr inbounds %struct.facetT, ptr %45, i32 0, i32 14
  %47 = load i32, ptr %46, align 4, !tbaa !20
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.mergeT, ptr %48, i32 0, i32 3
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = getelementptr inbounds %struct.facetT, ptr %50, i32 0, i32 14
  %52 = load i32, ptr %51, align 4, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %42, i32 noundef 6351, ptr noundef @.str.71, i32 noundef %47, i32 noundef %52)
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.mergeT, ptr %53, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !16
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.mergeT, ptr %56, i32 0, i32 3
  %58 = load ptr, ptr %57, align 8, !tbaa !18
  call void @qh_errexit2(i32 noundef 5, ptr noundef %55, ptr noundef %58)
  br label %59

59:                                               ; preds = %41, %32
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.mergeT, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !16
  %63 = getelementptr inbounds %struct.facetT, ptr %62, i32 0, i32 8
  %64 = load ptr, ptr %63, align 8, !tbaa !22
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.mergeT, ptr %65, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !18
  %68 = getelementptr inbounds %struct.facetT, ptr %67, i32 0, i32 8
  %69 = load ptr, ptr %68, align 8, !tbaa !22
  %70 = call ptr @qh_vertexintersect_new(ptr noundef %64, ptr noundef %69)
  store ptr %70, ptr %15, align 8, !tbaa !5
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = call i32 @qh_setsize(ptr noundef %71)
  %73 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %74 = icmp eq i32 %72, %73
  br i1 %74, label %75, label %85

75:                                               ; preds = %59
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = call double @qh_vertex_bestdist2(ptr noundef %76, ptr noundef %13, ptr noundef %14)
  store double %77, ptr %18, align 8, !tbaa !9
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = icmp eq ptr %78, %79
  br i1 %80, label %81, label %84

81:                                               ; preds = %75
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %82, ptr %13, align 8, !tbaa !5
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %83, ptr %14, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %81, %75
  br label %255

85:                                               ; preds = %59
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = call ptr @qh_setdel(ptr noundef %86, ptr noundef %87)
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = call i32 @qh_setsize(ptr noundef %89)
  %91 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %92 = sub nsw i32 %91, 2
  %93 = icmp ne i32 %90, %92
  br i1 %93, label %94, label %114

94:                                               ; preds = %85
  %95 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !19
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.mergeT, ptr %96, i32 0, i32 2
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %99 = getelementptr inbounds %struct.facetT, ptr %98, i32 0, i32 14
  %100 = load i32, ptr %99, align 4, !tbaa !20
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.mergeT, ptr %101, i32 0, i32 3
  %103 = load ptr, ptr %102, align 8, !tbaa !18
  %104 = getelementptr inbounds %struct.facetT, ptr %103, i32 0, i32 14
  %105 = load i32, ptr %104, align 4, !tbaa !20
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = call i32 @qh_setsize(ptr noundef %106)
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %95, i32 noundef 6409, ptr noundef @.str.72, i32 noundef %100, i32 noundef %105, i32 noundef %107)
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.mergeT, ptr %108, i32 0, i32 2
  %110 = load ptr, ptr %109, align 8, !tbaa !16
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.mergeT, ptr %111, i32 0, i32 3
  %113 = load ptr, ptr %112, align 8, !tbaa !18
  call void @qh_errexit2(i32 noundef 5, ptr noundef %110, ptr noundef %113)
  br label %114

114:                                              ; preds = %94, %85
  store ptr null, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = icmp ne ptr %115, null
  br i1 %116, label %117, label %144

117:                                              ; preds = %114
  %118 = load ptr, ptr %15, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.setT, ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds [1 x %union.setelemT], ptr %119, i64 0, i64 0
  store ptr %120, ptr %10, align 8, !tbaa !5
  br label %121

121:                                              ; preds = %142, %117
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds ptr, ptr %122, i32 1
  store ptr %123, ptr %10, align 8, !tbaa !5
  %124 = load ptr, ptr %122, align 8, !tbaa !5
  store ptr %124, ptr %9, align 8, !tbaa !5
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %143

126:                                              ; preds = %121
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.vertexT, ptr %127, i32 0, i32 2
  %129 = load ptr, ptr %128, align 8, !tbaa !24
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.vertexT, ptr %130, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !24
  %133 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %134 = call double @qh_pointdist(ptr noundef %129, ptr noundef %132, i32 noundef %133)
  store double %134, ptr %17, align 8, !tbaa !9
  %135 = load double, ptr %17, align 8, !tbaa !9
  %136 = load double, ptr %18, align 8, !tbaa !9
  %137 = fcmp olt double %135, %136
  br i1 %137, label %138, label %142

138:                                              ; preds = %126
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %139, ptr %14, align 8, !tbaa !5
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %140, ptr %13, align 8, !tbaa !5
  %141 = load double, ptr %17, align 8, !tbaa !9
  store double %141, ptr %18, align 8, !tbaa !9
  br label %142

142:                                              ; preds = %138, %126
  br label %121, !llvm.loop !26

143:                                              ; preds = %121
  br label %144

144:                                              ; preds = %143, %114
  %145 = load double, ptr %18, align 8, !tbaa !9
  %146 = load double, ptr %19, align 8, !tbaa !9
  %147 = fcmp ogt double %145, %146
  br i1 %147, label %148, label %202

148:                                              ; preds = %144
  store ptr null, ptr %9, align 8, !tbaa !5
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %201

151:                                              ; preds = %148
  %152 = load ptr, ptr %15, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.setT, ptr %152, i32 0, i32 1
  %154 = getelementptr inbounds [1 x %union.setelemT], ptr %153, i64 0, i64 0
  store ptr %154, ptr %10, align 8, !tbaa !5
  br label %155

155:                                              ; preds = %199, %151
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = getelementptr inbounds ptr, ptr %156, i32 1
  store ptr %157, ptr %10, align 8, !tbaa !5
  %158 = load ptr, ptr %156, align 8, !tbaa !5
  store ptr %158, ptr %9, align 8, !tbaa !5
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %200

160:                                              ; preds = %155
  store ptr null, ptr %11, align 8, !tbaa !5
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  %162 = icmp ne ptr %161, null
  br i1 %162, label %163, label %199

163:                                              ; preds = %160
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.setT, ptr %164, i32 0, i32 1
  %166 = getelementptr inbounds [1 x %union.setelemT], ptr %165, i64 0, i64 0
  store ptr %166, ptr %12, align 8, !tbaa !5
  br label %167

167:                                              ; preds = %197, %163
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = getelementptr inbounds ptr, ptr %168, i32 1
  store ptr %169, ptr %12, align 8, !tbaa !5
  %170 = load ptr, ptr %168, align 8, !tbaa !5
  store ptr %170, ptr %11, align 8, !tbaa !5
  %171 = icmp ne ptr %170, null
  br i1 %171, label %172, label %198

172:                                              ; preds = %167
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.vertexT, ptr %173, i32 0, i32 4
  %175 = load i32, ptr %174, align 8, !tbaa !28
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.vertexT, ptr %176, i32 0, i32 4
  %178 = load i32, ptr %177, align 8, !tbaa !28
  %179 = icmp ugt i32 %175, %178
  br i1 %179, label %180, label %197

180:                                              ; preds = %172
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.vertexT, ptr %181, i32 0, i32 2
  %183 = load ptr, ptr %182, align 8, !tbaa !24
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.vertexT, ptr %184, i32 0, i32 2
  %186 = load ptr, ptr %185, align 8, !tbaa !24
  %187 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %188 = call double @qh_pointdist(ptr noundef %183, ptr noundef %186, i32 noundef %187)
  store double %188, ptr %17, align 8, !tbaa !9
  %189 = load double, ptr %17, align 8, !tbaa !9
  %190 = load double, ptr %18, align 8, !tbaa !9
  %191 = fcmp olt double %189, %190
  br i1 %191, label %192, label %196

192:                                              ; preds = %180
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %193, ptr %14, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %194, ptr %13, align 8, !tbaa !5
  %195 = load double, ptr %17, align 8, !tbaa !9
  store double %195, ptr %18, align 8, !tbaa !9
  br label %196

196:                                              ; preds = %192, %180
  br label %197

197:                                              ; preds = %196, %172
  br label %167, !llvm.loop !29

198:                                              ; preds = %167
  br label %199

199:                                              ; preds = %198, %160
  br label %155, !llvm.loop !30

200:                                              ; preds = %155
  br label %201

201:                                              ; preds = %200, %148
  br label %202

202:                                              ; preds = %201, %144
  %203 = load double, ptr %18, align 8, !tbaa !9
  %204 = load double, ptr %19, align 8, !tbaa !9
  %205 = fcmp ogt double %203, %204
  br i1 %205, label %206, label %254

206:                                              ; preds = %202
  store ptr null, ptr %11, align 8, !tbaa !5
  %207 = load ptr, ptr %15, align 8, !tbaa !5
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %253

209:                                              ; preds = %206
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.setT, ptr %210, i32 0, i32 1
  %212 = getelementptr inbounds [1 x %union.setelemT], ptr %211, i64 0, i64 0
  store ptr %212, ptr %12, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %251, %209
  %214 = load ptr, ptr %12, align 8, !tbaa !5
  %215 = getelementptr inbounds ptr, ptr %214, i32 1
  store ptr %215, ptr %12, align 8, !tbaa !5
  %216 = load ptr, ptr %214, align 8, !tbaa !5
  store ptr %216, ptr %11, align 8, !tbaa !5
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %252

218:                                              ; preds = %213
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = call ptr @qh_neighbor_vertices(ptr noundef %219, ptr noundef %220)
  store ptr %221, ptr %16, align 8, !tbaa !5
  store ptr null, ptr %9, align 8, !tbaa !5
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  %223 = icmp ne ptr %222, null
  br i1 %223, label %224, label %251

224:                                              ; preds = %218
  %225 = load ptr, ptr %16, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.setT, ptr %225, i32 0, i32 1
  %227 = getelementptr inbounds [1 x %union.setelemT], ptr %226, i64 0, i64 0
  store ptr %227, ptr %10, align 8, !tbaa !5
  br label %228

228:                                              ; preds = %249, %224
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds ptr, ptr %229, i32 1
  store ptr %230, ptr %10, align 8, !tbaa !5
  %231 = load ptr, ptr %229, align 8, !tbaa !5
  store ptr %231, ptr %9, align 8, !tbaa !5
  %232 = icmp ne ptr %231, null
  br i1 %232, label %233, label %250

233:                                              ; preds = %228
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.vertexT, ptr %234, i32 0, i32 2
  %236 = load ptr, ptr %235, align 8, !tbaa !24
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.vertexT, ptr %237, i32 0, i32 2
  %239 = load ptr, ptr %238, align 8, !tbaa !24
  %240 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %241 = call double @qh_pointdist(ptr noundef %236, ptr noundef %239, i32 noundef %240)
  store double %241, ptr %17, align 8, !tbaa !9
  %242 = load double, ptr %17, align 8, !tbaa !9
  %243 = load double, ptr %18, align 8, !tbaa !9
  %244 = fcmp olt double %242, %243
  br i1 %244, label %245, label %249

245:                                              ; preds = %233
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %246, ptr %13, align 8, !tbaa !5
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %247, ptr %14, align 8, !tbaa !5
  %248 = load double, ptr %17, align 8, !tbaa !9
  store double %248, ptr %18, align 8, !tbaa !9
  br label %249

249:                                              ; preds = %245, %233
  br label %228, !llvm.loop !31

250:                                              ; preds = %228
  br label %251

251:                                              ; preds = %250, %218
  call void @qh_settempfree(ptr noundef %16)
  br label %213, !llvm.loop !32

252:                                              ; preds = %213
  br label %253

253:                                              ; preds = %252, %206
  br label %254

254:                                              ; preds = %253, %202
  br label %255

255:                                              ; preds = %254, %84
  %256 = load double, ptr %18, align 8, !tbaa !9
  %257 = load ptr, ptr %8, align 8, !tbaa !5
  store double %256, ptr %257, align 8, !tbaa !9
  call void @qh_setfree(ptr noundef %15)
  %258 = load ptr, ptr %13, align 8, !tbaa !5
  %259 = icmp ne ptr %258, null
  br i1 %259, label %279, label %260

260:                                              ; preds = %255
  %261 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !19
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.mergeT, ptr %262, i32 0, i32 2
  %264 = load ptr, ptr %263, align 8, !tbaa !16
  %265 = getelementptr inbounds %struct.facetT, ptr %264, i32 0, i32 14
  %266 = load i32, ptr %265, align 4, !tbaa !20
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.mergeT, ptr %267, i32 0, i32 3
  %269 = load ptr, ptr %268, align 8, !tbaa !18
  %270 = getelementptr inbounds %struct.facetT, ptr %269, i32 0, i32 14
  %271 = load i32, ptr %270, align 4, !tbaa !20
  %272 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 190), align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %261, i32 noundef 6274, ptr noundef @.str.73, i32 noundef %266, i32 noundef %271, i32 noundef %272)
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.mergeT, ptr %273, i32 0, i32 2
  %275 = load ptr, ptr %274, align 8, !tbaa !16
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.mergeT, ptr %276, i32 0, i32 3
  %278 = load ptr, ptr %277, align 8, !tbaa !18
  call void @qh_errexit2(i32 noundef 5, ptr noundef %275, ptr noundef %278)
  br label %279

279:                                              ; preds = %260, %255
  %280 = load ptr, ptr %13, align 8, !tbaa !5
  %281 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %280, ptr %281, align 8, !tbaa !5
  %282 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !34
  %283 = icmp sge i32 %282, 2
  br i1 %283, label %284, label %311

284:                                              ; preds = %279
  %285 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !19
  %286 = load ptr, ptr %14, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.vertexT, ptr %286, i32 0, i32 2
  %288 = load ptr, ptr %287, align 8, !tbaa !24
  %289 = call i32 @qh_pointid(ptr noundef %288)
  %290 = load ptr, ptr %14, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.vertexT, ptr %290, i32 0, i32 4
  %292 = load i32, ptr %291, align 8, !tbaa !28
  %293 = load ptr, ptr %13, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.vertexT, ptr %293, i32 0, i32 2
  %295 = load ptr, ptr %294, align 8, !tbaa !24
  %296 = call i32 @qh_pointid(ptr noundef %295)
  %297 = load ptr, ptr %13, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.vertexT, ptr %297, i32 0, i32 4
  %299 = load i32, ptr %298, align 8, !tbaa !28
  %300 = load double, ptr %18, align 8, !tbaa !9
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.mergeT, ptr %301, i32 0, i32 2
  %303 = load ptr, ptr %302, align 8, !tbaa !16
  %304 = getelementptr inbounds %struct.facetT, ptr %303, i32 0, i32 14
  %305 = load i32, ptr %304, align 4, !tbaa !20
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.mergeT, ptr %306, i32 0, i32 3
  %308 = load ptr, ptr %307, align 8, !tbaa !18
  %309 = getelementptr inbounds %struct.facetT, ptr %308, i32 0, i32 14
  %310 = load i32, ptr %309, align 4, !tbaa !20
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %285, i32 noundef 2061, ptr noundef @.str.74, i32 noundef %289, i32 noundef %292, i32 noundef %296, i32 noundef %299, double noundef %300, i32 noundef %305, i32 noundef %310)
  br label %311

311:                                              ; preds = %284, %279
  %312 = load ptr, ptr %14, align 8, !tbaa !5
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret ptr %312
}

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

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

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

declare i32 @qh_pointid(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, !6, i64 2984, !13, i64 2992}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !10, i64 1784}
!16 = !{!17, !6, i64 16}
!17 = !{!"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}
!18 = !{!17, !6, i64 24}
!19 = !{!12, !6, i64 2424}
!20 = !{!21, !13, i64 108}
!21 = !{!"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}
!22 = !{!21, !6, i64 64}
!23 = !{!12, !13, i64 632}
!24 = !{!25, !6, i64 16}
!25 = !{!"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}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!25, !13, i64 32}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}
!33 = !{!12, !13, i64 2620}
!34 = !{!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"

%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] }

@qh_qh = external local_unnamed_addr global %struct.qhT, align 8
@.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, 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) local_unnamed_addr #1

declare void @qh_errexit2(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) local_unnamed_addr #1

declare void @qh_setfree(ptr noundef) local_unnamed_addr #1

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

18:                                               ; preds = %4
  %19 = getelementptr inbounds i8, ptr %.pre, i64 112
  %20 = load i32, ptr %19, align 8
  %21 = and i32 %20, 8192
  %.not77 = icmp eq i32 %21, 0
  br i1 %.not77, label %._crit_edge, label %30

._crit_edge:                                      ; preds = %4, %18
  %22 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %14, i64 108
  %24 = load i32, ptr %23, align 4, !tbaa !19
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = getelementptr inbounds i8, ptr %.pre, i64 108
  %27 = load i32, ptr %26, align 4, !tbaa !19
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %22, i32 noundef 6351, ptr noundef nonnull @.str.71, i32 noundef %24, i32 noundef %27) #3
  %28 = load ptr, ptr %13, align 8, !tbaa !15
  %29 = load ptr, ptr %25, align 8, !tbaa !17
  tail call void @qh_errexit2(i32 noundef 5, ptr noundef %28, ptr noundef %29) #3
  %.pre171 = load ptr, ptr %13, align 8, !tbaa !15
  %.pre173 = load ptr, ptr %25, align 8, !tbaa !17
  br label %30

30:                                               ; preds = %._crit_edge, %18
  %31 = phi ptr [ %.pre173, %._crit_edge ], [ %.pre, %18 ]
  %32 = phi ptr [ %.pre171, %._crit_edge ], [ %14, %18 ]
  %33 = getelementptr inbounds i8, ptr %32, i64 64
  %34 = load ptr, ptr %33, align 8, !tbaa !21
  %35 = getelementptr inbounds i8, ptr %0, i64 24
  %36 = getelementptr inbounds i8, ptr %31, i64 64
  %37 = load ptr, ptr %36, align 8, !tbaa !21
  %38 = tail call ptr @qh_vertexintersect_new(ptr noundef %34, ptr noundef %37) #3
  store ptr %38, ptr %7, align 8, !tbaa !5
  %39 = tail call i32 @qh_setsize(ptr noundef %38) #3
  %40 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %41 = icmp eq i32 %39, %40
  br i1 %41, label %42, label %48

42:                                               ; preds = %30
  %43 = call double @qh_vertex_bestdist2(ptr noundef %38, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = icmp eq ptr %44, %1
  br i1 %45, label %46, label %.loopexit96

46:                                               ; preds = %42
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %47, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  br label %.loopexit96

48:                                               ; preds = %30
  %49 = tail call ptr @qh_setdel(ptr noundef %38, ptr noundef %1) #3
  %50 = tail call i32 @qh_setsize(ptr noundef %38) #3
  %51 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %52 = add nsw i32 %51, -2
  %.not78 = icmp eq i32 %50, %52
  br i1 %.not78, label %64, label %53

53:                                               ; preds = %48
  %54 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %55 = load ptr, ptr %13, align 8, !tbaa !15
  %56 = getelementptr inbounds i8, ptr %55, i64 108
  %57 = load i32, ptr %56, align 4, !tbaa !19
  %58 = load ptr, ptr %35, align 8, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %58, i64 108
  %60 = load i32, ptr %59, align 4, !tbaa !19
  %61 = tail call i32 @qh_setsize(ptr noundef %38) #3
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %54, i32 noundef 6409, ptr noundef nonnull @.str.72, i32 noundef %57, i32 noundef %60, i32 noundef %61) #3
  %62 = load ptr, ptr %13, align 8, !tbaa !15
  %63 = load ptr, ptr %35, align 8, !tbaa !17
  tail call void @qh_errexit2(i32 noundef 5, ptr noundef %62, ptr noundef %63) #3
  br label %64

64:                                               ; preds = %53, %48
  %.not79 = icmp eq ptr %38, null
  br i1 %.not79, label %.loopexit96, label %.preheader101

.preheader101:                                    ; preds = %64
  %.060105 = getelementptr inbounds i8, ptr %38, i64 8
  %65 = load ptr, ptr %.060105, align 8, !tbaa !5
  %.not80106 = icmp eq ptr %65, null
  br i1 %.not80106, label %.loopexit184, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader101
  %66 = getelementptr inbounds i8, ptr %1, i64 16
  br label %67

67:                                               ; preds = %.lr.ph, %67
  %68 = phi ptr [ %65, %.lr.ph ], [ %79, %67 ]
  %.060108 = phi ptr [ %.060105, %.lr.ph ], [ %.060, %67 ]
  %.0107 = phi double [ 0x7FEFFFFFFFFFFFFF, %.lr.ph ], [ %.1, %67 ]
  %69 = phi ptr [ null, %.lr.ph ], [ %78, %67 ]
  %70 = phi ptr [ null, %.lr.ph ], [ %77, %67 ]
  %71 = getelementptr inbounds i8, ptr %68, i64 16
  %72 = load ptr, ptr %71, align 8, !tbaa !23
  %73 = load ptr, ptr %66, align 8, !tbaa !23
  %74 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %75 = tail call double @qh_pointdist(ptr noundef %72, ptr noundef %73, i32 noundef %74) #3
  %76 = fcmp olt double %75, %.0107
  %77 = select i1 %76, ptr %68, ptr %70
  %78 = select i1 %76, ptr %1, ptr %69
  %.1 = select i1 %76, double %75, double %.0107
  %.060 = getelementptr inbounds i8, ptr %.060108, i64 8
  %79 = load ptr, ptr %.060, align 8, !tbaa !5
  %.not80 = icmp eq ptr %79, null
  br i1 %.not80, label %.loopexit184, label %67, !llvm.loop !25

.loopexit184:                                     ; preds = %67, %.preheader101
  %.lcssa104 = phi ptr [ null, %.preheader101 ], [ %77, %67 ]
  %.lcssa = phi ptr [ null, %.preheader101 ], [ %78, %67 ]
  %.0.lcssa = phi double [ 0x7FEFFFFFFFFFFFFF, %.preheader101 ], [ %.1, %67 ]
  store ptr %.lcssa, ptr %6, align 8, !tbaa !5
  store ptr %.lcssa104, ptr %5, align 8, !tbaa !5
  %80 = fcmp ule double %.0.lcssa, %12
  %or.cond = or i1 %80, %.not79
  br i1 %or.cond, label %107, label %.preheader99

.preheader99:                                     ; preds = %.loopexit184
  %.161129 = getelementptr inbounds i8, ptr %38, i64 8
  %81 = load ptr, ptr %.161129, align 8, !tbaa !5
  %.not83130 = icmp eq ptr %81, null
  br i1 %.not83130, label %.loopexit100, label %.preheader97

.preheader97thread-pre-split:                     ; preds = %.loopexit98
  %.pr = load ptr, ptr %.161129, align 8, !tbaa !5
  br label %.preheader97

.preheader97:                                     ; preds = %.preheader99, %.preheader97thread-pre-split
  %82 = phi ptr [ %.pr, %.preheader97thread-pre-split ], [ %81, %.preheader99 ]
  %83 = phi ptr [ %106, %.preheader97thread-pre-split ], [ %81, %.preheader99 ]
  %.161134 = phi ptr [ %.161, %.preheader97thread-pre-split ], [ %.161129, %.preheader99 ]
  %.3133 = phi double [ %.4.lcssa, %.preheader97thread-pre-split ], [ %.0.lcssa, %.preheader99 ]
  %.lcssa112125132 = phi ptr [ %.lcssa112, %.preheader97thread-pre-split ], [ %.lcssa, %.preheader99 ]
  %.lcssa114128131 = phi ptr [ %.lcssa114, %.preheader97thread-pre-split ], [ %.lcssa104, %.preheader99 ]
  %.not92116 = icmp eq ptr %82, null
  br i1 %.not92116, label %.loopexit98, label %.lr.ph119

.lr.ph119:                                        ; preds = %.preheader97
  %84 = getelementptr inbounds i8, ptr %83, i64 32
  %85 = getelementptr inbounds i8, ptr %83, i64 16
  br label %86

86:                                               ; preds = %.lr.ph119, %102
  %87 = phi ptr [ %82, %.lr.ph119 ], [ %105, %102 ]
  %.058118 = phi ptr [ %.161129, %.lr.ph119 ], [ %.058, %102 ]
  %.4117 = phi double [ %.3133, %.lr.ph119 ], [ %.5, %102 ]
  %88 = phi ptr [ %.lcssa112125132, %.lr.ph119 ], [ %104, %102 ]
  %89 = phi ptr [ %.lcssa114128131, %.lr.ph119 ], [ %103, %102 ]
  %90 = getelementptr inbounds i8, ptr %87, i64 32
  %91 = load i32, ptr %90, align 8, !tbaa !27
  %92 = load i32, ptr %84, align 8, !tbaa !27
  %93 = icmp ugt i32 %91, %92
  br i1 %93, label %94, label %102

94:                                               ; preds = %86
  %95 = getelementptr inbounds i8, ptr %87, i64 16
  %96 = load ptr, ptr %95, align 8, !tbaa !23
  %97 = load ptr, ptr %85, align 8, !tbaa !23
  %98 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %99 = tail call double @qh_pointdist(ptr noundef %96, ptr noundef %97, i32 noundef %98) #3
  %100 = fcmp olt double %99, %.4117
  br i1 %100, label %101, label %102

101:                                              ; preds = %94
  br label %102

102:                                              ; preds = %94, %101, %86
  %103 = phi ptr [ %83, %101 ], [ %89, %94 ], [ %89, %86 ]
  %104 = phi ptr [ %87, %101 ], [ %88, %94 ], [ %88, %86 ]
  %.5 = phi double [ %99, %101 ], [ %.4117, %94 ], [ %.4117, %86 ]
  %.058 = getelementptr inbounds i8, ptr %.058118, i64 8
  %105 = load ptr, ptr %.058, align 8, !tbaa !5
  %.not92 = icmp eq ptr %105, null
  br i1 %.not92, label %.loopexit98, label %86, !llvm.loop !28

.loopexit98:                                      ; preds = %102, %.preheader97
  %.lcssa114 = phi ptr [ %.lcssa114128131, %.preheader97 ], [ %103, %102 ]
  %.lcssa112 = phi ptr [ %.lcssa112125132, %.preheader97 ], [ %104, %102 ]
  %.4.lcssa = phi double [ %.3133, %.preheader97 ], [ %.5, %102 ]
  %.161 = getelementptr inbounds i8, ptr %.161134, i64 8
  %106 = load ptr, ptr %.161, align 8, !tbaa !5
  %.not83 = icmp eq ptr %106, null
  br i1 %.not83, label %.loopexit100, label %.preheader97thread-pre-split, !llvm.loop !29

.loopexit100:                                     ; preds = %.loopexit98, %.preheader99
  %.lcssa114128.lcssa = phi ptr [ %.lcssa104, %.preheader99 ], [ %.lcssa114, %.loopexit98 ]
  %.lcssa112125.lcssa = phi ptr [ %.lcssa, %.preheader99 ], [ %.lcssa112, %.loopexit98 ]
  %.3.lcssa = phi double [ %.0.lcssa, %.preheader99 ], [ %.4.lcssa, %.loopexit98 ]
  store ptr %.lcssa112125.lcssa, ptr %6, align 8, !tbaa !5
  store ptr %.lcssa114128.lcssa, ptr %5, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %.loopexit100, %.loopexit184
  %.7 = phi double [ %.0.lcssa, %.loopexit184 ], [ %.3.lcssa, %.loopexit100 ]
  %108 = fcmp ule double %.7, %12
  %or.cond94 = or i1 %108, %.not79
  br i1 %or.cond94, label %.loopexit96, label %.preheader95

.preheader95:                                     ; preds = %107
  %.159159 = getelementptr inbounds i8, ptr %38, i64 8
  %109 = load ptr, ptr %.159159, align 8, !tbaa !5
  %.not86160 = icmp eq ptr %109, null
  br i1 %.not86160, label %.loopexit96, label %.lr.ph163

.lr.ph163:                                        ; preds = %.preheader95, %.loopexit
  %110 = phi ptr [ %125, %.loopexit ], [ %109, %.preheader95 ]
  %.159162 = phi ptr [ %.159, %.loopexit ], [ %.159159, %.preheader95 ]
  %.8161 = phi double [ %.11, %.loopexit ], [ %.7, %.preheader95 ]
  %111 = call ptr @qh_neighbor_vertices(ptr noundef nonnull %110, ptr noundef nonnull %38)
  store ptr %111, ptr %8, align 8, !tbaa !5
  %.not87 = icmp eq ptr %111, null
  br i1 %.not87, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.lr.ph163
  %.262153 = getelementptr inbounds i8, ptr %111, i64 8
  %112 = load ptr, ptr %.262153, align 8, !tbaa !5
  %.not89154 = icmp eq ptr %112, null
  br i1 %.not89154, label %.loopexit, label %.lr.ph157

.lr.ph157:                                        ; preds = %.preheader
  %113 = getelementptr inbounds i8, ptr %110, i64 16
  br label %114

114:                                              ; preds = %.lr.ph157, %123
  %115 = phi ptr [ %112, %.lr.ph157 ], [ %124, %123 ]
  %.262156 = phi ptr [ %.262153, %.lr.ph157 ], [ %.262, %123 ]
  %.9155 = phi double [ %.8161, %.lr.ph157 ], [ %.10, %123 ]
  %116 = getelementptr inbounds i8, ptr %115, i64 16
  %117 = load ptr, ptr %116, align 8, !tbaa !23
  %118 = load ptr, ptr %113, align 8, !tbaa !23
  %119 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %120 = call double @qh_pointdist(ptr noundef %117, ptr noundef %118, i32 noundef %119) #3
  %121 = fcmp olt double %120, %.9155
  br i1 %121, label %122, label %123

122:                                              ; preds = %114
  store ptr %115, ptr %5, align 8, !tbaa !5
  store ptr %110, ptr %6, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %122, %114
  %.10 = phi double [ %120, %122 ], [ %.9155, %114 ]
  %.262 = getelementptr inbounds i8, ptr %.262156, i64 8
  %124 = load ptr, ptr %.262, align 8, !tbaa !5
  %.not89 = icmp eq ptr %124, null
  br i1 %.not89, label %.loopexit, label %114, !llvm.loop !31

.loopexit:                                        ; preds = %123, %.preheader, %.lr.ph163
  %.11 = phi double [ %.8161, %.lr.ph163 ], [ %.8161, %.preheader ], [ %.10, %123 ]
  call void @qh_settempfree(ptr noundef nonnull %8) #3
  %.159 = getelementptr inbounds i8, ptr %.159162, i64 8
  %125 = load ptr, ptr %.159, align 8, !tbaa !5
  %.not86 = icmp eq ptr %125, null
  br i1 %.not86, label %.loopexit96, label %.lr.ph163, !llvm.loop !32

.loopexit96:                                      ; preds = %.loopexit, %64, %.preheader95, %107, %42, %46
  %.12 = phi double [ %43, %46 ], [ %43, %42 ], [ %.7, %107 ], [ %.7, %.preheader95 ], [ 0x7FEFFFFFFFFFFFFF, %64 ], [ %.11, %.loopexit ]
  store double %.12, ptr %3, align 8, !tbaa !33
  call void @qh_setfree(ptr noundef nonnull %7) #3
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %.not93 = icmp eq ptr %126, null
  br i1 %.not93, label %127, label %138

127:                                              ; preds = %.loopexit96
  %128 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %129 = load ptr, ptr %13, align 8, !tbaa !15
  %130 = getelementptr inbounds i8, ptr %129, i64 108
  %131 = load i32, ptr %130, align 4, !tbaa !19
  %132 = load ptr, ptr %35, align 8, !tbaa !17
  %133 = getelementptr inbounds i8, ptr %132, i64 108
  %134 = load i32, ptr %133, align 4, !tbaa !19
  %135 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2620), align 4, !tbaa !34
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %128, i32 noundef 6274, ptr noundef nonnull @.str.73, i32 noundef %131, i32 noundef %134, i32 noundef %135) #3
  %136 = load ptr, ptr %13, align 8, !tbaa !15
  %137 = load ptr, ptr %35, align 8, !tbaa !17
  call void @qh_errexit2(i32 noundef 5, ptr noundef %136, ptr noundef %137) #3
  %.pre176 = load ptr, ptr %5, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %127, %.loopexit96
  %139 = phi ptr [ %.pre176, %127 ], [ %126, %.loopexit96 ]
  store ptr %139, ptr %2, align 8, !tbaa !5
  %140 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !35
  %141 = icmp sgt i32 %140, 1
  br i1 %141, label %142, label %164

142:                                              ; preds = %138
  %143 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %144, i64 16
  %146 = load ptr, ptr %145, align 8, !tbaa !23
  %147 = call i32 @qh_pointid(ptr noundef %146) #3
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 32
  %150 = load i32, ptr %149, align 8, !tbaa !27
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 16
  %153 = load ptr, ptr %152, align 8, !tbaa !23
  %154 = call i32 @qh_pointid(ptr noundef %153) #3
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 32
  %157 = load i32, ptr %156, align 8, !tbaa !27
  %158 = load ptr, ptr %13, align 8, !tbaa !15
  %159 = getelementptr inbounds i8, ptr %158, i64 108
  %160 = load i32, ptr %159, align 4, !tbaa !19
  %161 = load ptr, ptr %35, align 8, !tbaa !17
  %162 = getelementptr inbounds i8, ptr %161, i64 108
  %163 = load i32, ptr %162, align 4, !tbaa !19
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %143, i32 noundef 2061, ptr noundef nonnull @.str.74, i32 noundef %147, i32 noundef %150, i32 noundef %154, i32 noundef %157, double noundef %.12, i32 noundef %160, i32 noundef %163) #3
  br label %164

164:                                              ; preds = %142, %138
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret ptr %165
}

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

declare double @qh_vertex_bestdist2(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) local_unnamed_addr #2

declare i32 @qh_pointid(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, !6, i64 2984, !11, i64 2992}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !12, i64 1784}
!15 = !{!16, !6, i64 16}
!16 = !{!"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}
!17 = !{!16, !6, i64 24}
!18 = !{!10, !6, i64 2424}
!19 = !{!20, !11, i64 108}
!20 = !{!"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}
!21 = !{!20, !6, i64 64}
!22 = !{!10, !11, i64 632}
!23 = !{!24, !6, i64 16}
!24 = !{!"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}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!24, !11, i64 32}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26, !30}
!30 = !{!"llvm.loop.unswitch.partial.disable"}
!31 = distinct !{!31, !26}
!32 = distinct !{!32, !26}
!33 = !{!12, !12, i64 0}
!34 = !{!10, !11, i64 2620}
!35 = !{!10, !11, i64 136}


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