; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (geom_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.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 }

@.str.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @qh_findbest(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca double, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  store double 0xFFDFFFFFFFFFFFFF, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  store ptr null, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.qhT, ptr %29, i32 0, i32 29
  %31 = load i32, ptr %30, align 8, !tbaa !13
  store i32 %31, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.qhT, ptr %32, i32 0, i32 217
  %34 = load i32, ptr %33, align 8, !tbaa !18
  %35 = add i32 %34, 1
  store i32 %35, ptr %33, align 8, !tbaa !18
  store i32 %35, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  store i32 0, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  store i32 1, ptr %28, align 4, !tbaa !9
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.qhT, ptr %36, i32 0, i32 258
  %38 = getelementptr inbounds %struct.qhstatT, ptr %37, i32 0, i32 0
  %39 = getelementptr inbounds [249 x %union.intrealT], ptr %38, i64 0, i64 90
  %40 = load i32, ptr %39, align 8, !tbaa !19
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %39, align 8, !tbaa !19
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.qhT, ptr %42, i32 0, i32 29
  %44 = load i32, ptr %43, align 8, !tbaa !13
  %45 = icmp sge i32 %44, 4
  br i1 %45, label %64, label %46

46:                                               ; preds = %9
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.qhT, ptr %47, i32 0, i32 92
  %49 = load i32, ptr %48, align 8, !tbaa !20
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %119

51:                                               ; preds = %46
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.qhT, ptr %52, i32 0, i32 94
  %54 = load i32, ptr %53, align 8, !tbaa !21
  %55 = icmp sge i32 %54, 0
  br i1 %55, label %56, label %119

56:                                               ; preds = %51
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.qhT, ptr %57, i32 0, i32 94
  %59 = load i32, ptr %58, align 8, !tbaa !21
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = call i32 @qh_pointid(ptr noundef %60, ptr noundef %61)
  %63 = icmp eq i32 %59, %62
  br i1 %63, label %64, label %119

64:                                               ; preds = %56, %9
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.qhT, ptr %65, i32 0, i32 92
  %67 = load i32, ptr %66, align 8, !tbaa !20
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.qhT, ptr %68, i32 0, i32 29
  %70 = load i32, ptr %69, align 8, !tbaa !13
  %71 = icmp sgt i32 %67, %70
  br i1 %71, label %72, label %78

72:                                               ; preds = %64
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.qhT, ptr %73, i32 0, i32 92
  %75 = load i32, ptr %74, align 8, !tbaa !20
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.qhT, ptr %76, i32 0, i32 29
  store i32 %75, ptr %77, align 8, !tbaa !13
  br label %78

78:                                               ; preds = %72, %64
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.qhT, ptr %80, i32 0, i32 158
  %82 = load ptr, ptr %81, align 8, !tbaa !22
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = call i32 @qh_pointid(ptr noundef %83, ptr noundef %84)
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.facetT, ptr %86, i32 0, i32 14
  %88 = load i32, ptr %87, align 4, !tbaa !23
  %89 = load i32, ptr %14, align 4, !tbaa !9
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.qhT, ptr %91, i32 0, i32 6
  %93 = load double, ptr %92, align 8, !tbaa !25
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %79, ptr noundef %82, i32 noundef 8004, ptr noundef @.str.3, i32 noundef %85, i32 noundef %88, i32 noundef %89, i32 noundef %90, double noundef %93)
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.qhT, ptr %95, i32 0, i32 158
  %97 = load ptr, ptr %96, align 8, !tbaa !22
  %98 = load i32, ptr %28, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %94, ptr noundef %97, i32 noundef 8005, ptr noundef @.str.4, i32 noundef %98, i32 noundef %99)
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.qhT, ptr %101, i32 0, i32 158
  %103 = load ptr, ptr %102, align 8, !tbaa !22
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.qhT, ptr %104, i32 0, i32 190
  %106 = load i32, ptr %105, align 4, !tbaa !26
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %100, ptr noundef %103, i32 noundef 8006, ptr noundef @.str.5, i32 noundef %106)
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.qhT, ptr %108, i32 0, i32 158
  %110 = load ptr, ptr %109, align 8, !tbaa !22
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.qhT, ptr %111, i32 0, i32 258
  %113 = getelementptr inbounds %struct.qhstatT, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds [249 x %union.intrealT], ptr %113, i64 0, i64 216
  %115 = load i32, ptr %114, align 8, !tbaa !19
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.qhT, ptr %116, i32 0, i32 199
  %118 = load double, ptr %117, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %107, ptr noundef %110, i32 noundef 8007, ptr noundef @.str.6, i32 noundef %115, double noundef %118)
  br label %119

119:                                              ; preds = %78, %56, %51, %46
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %124

122:                                              ; preds = %119
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 1, ptr %123, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %122, %119
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.facetT, ptr %125, i32 0, i32 15
  %127 = load i32, ptr %126, align 8
  %128 = lshr i32 %127, 16
  %129 = and i32 %128, 1
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %170, label %131

131:                                              ; preds = %124
  %132 = load ptr, ptr %18, align 8, !tbaa !5
  store i32 1, ptr %132, align 4, !tbaa !9
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136)
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %158, label %139

139:                                              ; preds = %131
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = load double, ptr %140, align 8, !tbaa !11
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.qhT, ptr %142, i32 0, i32 6
  %144 = load double, ptr %143, align 8, !tbaa !25
  %145 = fcmp oge double %141, %144
  br i1 %145, label %146, label %158

146:                                              ; preds = %139
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.facetT, ptr %147, i32 0, i32 15
  %149 = load i32, ptr %148, align 8
  %150 = lshr i32 %149, 17
  %151 = and i32 %150, 1
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %156

153:                                              ; preds = %146
  %154 = load i32, ptr %15, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %158, label %156

156:                                              ; preds = %153, %146
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %157, ptr %23, align 8, !tbaa !5
  br label %390

158:                                              ; preds = %153, %139, %131
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = load double, ptr %159, align 8, !tbaa !11
  store double %160, ptr %19, align 8, !tbaa !11
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.facetT, ptr %161, i32 0, i32 15
  %163 = load i32, ptr %162, align 8
  %164 = lshr i32 %163, 17
  %165 = and i32 %164, 1
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %169, label %167

167:                                              ; preds = %158
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %168, ptr %23, align 8, !tbaa !5
  br label %169

169:                                              ; preds = %167, %158
  br label %172

170:                                              ; preds = %124
  %171 = load ptr, ptr %18, align 8, !tbaa !5
  store i32 0, ptr %171, align 4, !tbaa !9
  br label %172

172:                                              ; preds = %170, %169
  %173 = load i32, ptr %26, align 4, !tbaa !9
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.facetT, ptr %174, i32 0, i32 13
  store i32 %173, ptr %175, align 8, !tbaa !28
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %176, ptr %20, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %304, %172
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  %179 = icmp ne ptr %178, null
  br i1 %179, label %180, label %306

180:                                              ; preds = %177
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.qhT, ptr %181, i32 0, i32 29
  %183 = load i32, ptr %182, align 8, !tbaa !13
  %184 = icmp sge i32 %183, 4
  br i1 %184, label %185, label %203

185:                                              ; preds = %180
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.qhT, ptr %187, i32 0, i32 158
  %189 = load ptr, ptr %188, align 8, !tbaa !22
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.facetT, ptr %190, i32 0, i32 14
  %192 = load i32, ptr %191, align 4, !tbaa !23
  %193 = load double, ptr %19, align 8, !tbaa !11
  %194 = load ptr, ptr %23, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %200

196:                                              ; preds = %185
  %197 = load ptr, ptr %23, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.facetT, ptr %197, i32 0, i32 14
  %199 = load i32, ptr %198, align 4, !tbaa !23
  br label %201

200:                                              ; preds = %185
  br label %201

201:                                              ; preds = %200, %196
  %202 = phi i32 [ %199, %196 ], [ -1, %200 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %186, ptr noundef %189, i32 noundef 4001, ptr noundef @.str.7, i32 noundef %192, double noundef %193, i32 noundef %202)
  br label %203

203:                                              ; preds = %201, %180
  %204 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %204, ptr %24, align 8, !tbaa !5
  store ptr null, ptr %21, align 8, !tbaa !5
  %205 = load ptr, ptr %20, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.facetT, ptr %205, i32 0, i32 10
  %207 = load ptr, ptr %206, align 8, !tbaa !29
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %304

209:                                              ; preds = %203
  %210 = load ptr, ptr %20, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.facetT, ptr %210, i32 0, i32 10
  %212 = load ptr, ptr %211, align 8, !tbaa !29
  %213 = getelementptr inbounds %struct.setT, ptr %212, i32 0, i32 1
  %214 = getelementptr inbounds [1 x %union.setelemT], ptr %213, i64 0, i64 0
  store ptr %214, ptr %22, align 8, !tbaa !5
  br label %215

215:                                              ; preds = %302, %237, %230, %209
  %216 = load ptr, ptr %22, align 8, !tbaa !5
  %217 = getelementptr inbounds ptr, ptr %216, i32 1
  store ptr %217, ptr %22, align 8, !tbaa !5
  %218 = load ptr, ptr %216, align 8, !tbaa !5
  store ptr %218, ptr %21, align 8, !tbaa !5
  %219 = icmp ne ptr %218, null
  br i1 %219, label %220, label %303

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

227:                                              ; preds = %220
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %227
  br label %215, !llvm.loop !30

231:                                              ; preds = %227, %220
  %232 = load ptr, ptr %21, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.facetT, ptr %232, i32 0, i32 13
  %234 = load i32, ptr %233, align 8, !tbaa !28
  %235 = load i32, ptr %26, align 4, !tbaa !9
  %236 = icmp eq i32 %234, %235
  br i1 %236, label %237, label %238

237:                                              ; preds = %231
  br label %215, !llvm.loop !30

238:                                              ; preds = %231
  %239 = load i32, ptr %26, align 4, !tbaa !9
  %240 = load ptr, ptr %21, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.facetT, ptr %240, i32 0, i32 13
  store i32 %239, ptr %241, align 8, !tbaa !28
  %242 = load ptr, ptr %21, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.facetT, ptr %242, i32 0, i32 15
  %244 = load i32, ptr %243, align 8
  %245 = lshr i32 %244, 16
  %246 = and i32 %245, 1
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %302, label %248

248:                                              ; preds = %238
  %249 = load ptr, ptr %18, align 8, !tbaa !5
  %250 = load i32, ptr %249, align 4, !tbaa !9
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %249, align 4, !tbaa !9
  %252 = load ptr, ptr %10, align 8, !tbaa !5
  %253 = load ptr, ptr %11, align 8, !tbaa !5
  %254 = load ptr, ptr %21, align 8, !tbaa !5
  %255 = load ptr, ptr %16, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %252, ptr noundef %253, ptr noundef %254, ptr noundef %255)
  %256 = load ptr, ptr %16, align 8, !tbaa !5
  %257 = load double, ptr %256, align 8, !tbaa !11
  %258 = load double, ptr %19, align 8, !tbaa !11
  %259 = fcmp ogt double %257, %258
  br i1 %259, label %260, label %301

260:                                              ; preds = %248
  %261 = load i32, ptr %13, align 4, !tbaa !9
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %282, label %263

263:                                              ; preds = %260
  %264 = load ptr, ptr %16, align 8, !tbaa !5
  %265 = load double, ptr %264, align 8, !tbaa !11
  %266 = load ptr, ptr %10, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.qhT, ptr %266, i32 0, i32 6
  %268 = load double, ptr %267, align 8, !tbaa !25
  %269 = fcmp oge double %265, %268
  br i1 %269, label %270, label %282

270:                                              ; preds = %263
  %271 = load ptr, ptr %21, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.facetT, ptr %271, i32 0, i32 15
  %273 = load i32, ptr %272, align 8
  %274 = lshr i32 %273, 17
  %275 = and i32 %274, 1
  %276 = icmp ne i32 %275, 0
  br i1 %276, label %277, label %280

277:                                              ; preds = %270
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %282, label %280

280:                                              ; preds = %277, %270
  %281 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %281, ptr %23, align 8, !tbaa !5
  br label %390

282:                                              ; preds = %277, %263, %260
  %283 = load ptr, ptr %21, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.facetT, ptr %283, i32 0, i32 15
  %285 = load i32, ptr %284, align 8
  %286 = lshr i32 %285, 17
  %287 = and i32 %286, 1
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %293, label %289

289:                                              ; preds = %282
  %290 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %290, ptr %23, align 8, !tbaa !5
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = load double, ptr %291, align 8, !tbaa !11
  store double %292, ptr %19, align 8, !tbaa !11
  br label %303

293:                                              ; preds = %282
  %294 = load ptr, ptr %23, align 8, !tbaa !5
  %295 = icmp ne ptr %294, null
  br i1 %295, label %299, label %296

296:                                              ; preds = %293
  %297 = load ptr, ptr %16, align 8, !tbaa !5
  %298 = load double, ptr %297, align 8, !tbaa !11
  store double %298, ptr %19, align 8, !tbaa !11
  br label %303

299:                                              ; preds = %293
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300, %248
  br label %302

302:                                              ; preds = %301, %238
  br label %215, !llvm.loop !30

303:                                              ; preds = %296, %289, %215
  br label %304

304:                                              ; preds = %303, %203
  %305 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %305, ptr %20, align 8, !tbaa !5
  br label %177, !llvm.loop !32

306:                                              ; preds = %177
  %307 = load i32, ptr %14, align 4, !tbaa !9
  %308 = icmp ne i32 %307, 0
  br i1 %308, label %309, label %358

309:                                              ; preds = %306
  %310 = load ptr, ptr %23, align 8, !tbaa !5
  %311 = icmp ne ptr %310, null
  br i1 %311, label %321, label %312

312:                                              ; preds = %309
  store double 0xFFDFFFFFFFFFFFFF, ptr %19, align 8, !tbaa !11
  %313 = load ptr, ptr %10, align 8, !tbaa !5
  %314 = load ptr, ptr %11, align 8, !tbaa !5
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.qhT, ptr %315, i32 0, i32 166
  %317 = load ptr, ptr %316, align 8, !tbaa !33
  %318 = load i32, ptr %13, align 4, !tbaa !9
  %319 = load ptr, ptr %17, align 8, !tbaa !5
  %320 = call ptr @qh_findbestnew(ptr noundef %313, ptr noundef %314, ptr noundef %317, ptr noundef %19, i32 noundef %318, ptr noundef %319, ptr noundef %27)
  store ptr %320, ptr %23, align 8, !tbaa !5
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %357

321:                                              ; preds = %309
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.qhT, ptr %322, i32 0, i32 205
  %324 = load i32, ptr %323, align 4, !tbaa !34
  %325 = icmp ne i32 %324, 0
  br i1 %325, label %356, label %326

326:                                              ; preds = %321
  %327 = load double, ptr %19, align 8, !tbaa !11
  %328 = load ptr, ptr %10, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.qhT, ptr %328, i32 0, i32 134
  %330 = load double, ptr %329, align 8, !tbaa !35
  %331 = fneg double %330
  %332 = fcmp olt double %327, %331
  br i1 %332, label %333, label %356

333:                                              ; preds = %326
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = call i32 @qh_sharpnewfacets(ptr noundef %334)
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %352

337:                                              ; preds = %333
  %338 = load ptr, ptr %10, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.qhT, ptr %338, i32 0, i32 258
  %340 = getelementptr inbounds %struct.qhstatT, ptr %339, i32 0, i32 0
  %341 = getelementptr inbounds [249 x %union.intrealT], ptr %340, i64 0, i64 103
  %342 = load i32, ptr %341, align 8, !tbaa !19
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %341, align 8, !tbaa !19
  %344 = load ptr, ptr %10, align 8, !tbaa !5
  %345 = load ptr, ptr %11, align 8, !tbaa !5
  %346 = load ptr, ptr %23, align 8, !tbaa !5
  %347 = load i32, ptr %13, align 4, !tbaa !9
  %348 = load ptr, ptr %17, align 8, !tbaa !5
  %349 = call ptr @qh_findbestnew(ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %19, i32 noundef %347, ptr noundef %348, ptr noundef %27)
  store ptr %349, ptr %23, align 8, !tbaa !5
  store i32 0, ptr %28, align 4, !tbaa !9
  %350 = load ptr, ptr %10, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.qhT, ptr %350, i32 0, i32 204
  store i32 1, ptr %351, align 8, !tbaa !36
  br label %355

352:                                              ; preds = %333
  %353 = load ptr, ptr %10, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.qhT, ptr %353, i32 0, i32 205
  store i32 1, ptr %354, align 4, !tbaa !34
  br label %355

355:                                              ; preds = %352, %337
  br label %356

356:                                              ; preds = %355, %326, %321
  br label %357

357:                                              ; preds = %356, %312
  br label %358

358:                                              ; preds = %357, %306
  %359 = load ptr, ptr %23, align 8, !tbaa !5
  %360 = icmp ne ptr %359, null
  br i1 %360, label %367, label %361

361:                                              ; preds = %358
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = load ptr, ptr %24, align 8, !tbaa !5
  %364 = load ptr, ptr %11, align 8, !tbaa !5
  %365 = load ptr, ptr %18, align 8, !tbaa !5
  %366 = call ptr @qh_findbestlower(ptr noundef %362, ptr noundef %363, ptr noundef %364, ptr noundef %19, ptr noundef %365)
  store ptr %366, ptr %23, align 8, !tbaa !5
  br label %367

367:                                              ; preds = %361, %358
  %368 = load i32, ptr %28, align 4, !tbaa !9
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %370, label %376

370:                                              ; preds = %367
  %371 = load ptr, ptr %10, align 8, !tbaa !5
  %372 = load ptr, ptr %11, align 8, !tbaa !5
  %373 = load ptr, ptr %23, align 8, !tbaa !5
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = call ptr @qh_findbesthorizon(ptr noundef %371, i32 noundef 0, ptr noundef %372, ptr noundef %373, i32 noundef %374, ptr noundef %19, ptr noundef %27)
  store ptr %375, ptr %23, align 8, !tbaa !5
  br label %376

376:                                              ; preds = %370, %367
  %377 = load double, ptr %19, align 8, !tbaa !11
  %378 = load ptr, ptr %16, align 8, !tbaa !5
  store double %377, ptr %378, align 8, !tbaa !11
  %379 = load ptr, ptr %17, align 8, !tbaa !5
  %380 = icmp ne ptr %379, null
  br i1 %380, label %381, label %389

381:                                              ; preds = %376
  %382 = load double, ptr %19, align 8, !tbaa !11
  %383 = load ptr, ptr %10, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.qhT, ptr %383, i32 0, i32 6
  %385 = load double, ptr %384, align 8, !tbaa !25
  %386 = fcmp olt double %382, %385
  br i1 %386, label %387, label %389

387:                                              ; preds = %381
  %388 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 0, ptr %388, align 4, !tbaa !9
  br label %389

389:                                              ; preds = %387, %381, %376
  br label %390

390:                                              ; preds = %389, %280, %156
  %391 = load ptr, ptr %18, align 8, !tbaa !5
  %392 = load i32, ptr %391, align 4, !tbaa !9
  %393 = load ptr, ptr %10, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.qhT, ptr %393, i32 0, i32 258
  %395 = getelementptr inbounds %struct.qhstatT, ptr %394, i32 0, i32 0
  %396 = getelementptr inbounds [249 x %union.intrealT], ptr %395, i64 0, i64 92
  %397 = load i32, ptr %396, align 8, !tbaa !19
  %398 = add nsw i32 %397, %392
  store i32 %398, ptr %396, align 8, !tbaa !19
  %399 = load ptr, ptr %10, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.qhT, ptr %399, i32 0, i32 258
  %401 = getelementptr inbounds %struct.qhstatT, ptr %400, i32 0, i32 0
  %402 = getelementptr inbounds [249 x %union.intrealT], ptr %401, i64 0, i64 91
  %403 = load i32, ptr %402, align 8, !tbaa !19
  %404 = load ptr, ptr %18, align 8, !tbaa !5
  %405 = load i32, ptr %404, align 4, !tbaa !9
  %406 = icmp slt i32 %403, %405
  br i1 %406, label %407, label %414

407:                                              ; preds = %390
  %408 = load ptr, ptr %18, align 8, !tbaa !5
  %409 = load i32, ptr %408, align 4, !tbaa !9
  %410 = load ptr, ptr %10, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.qhT, ptr %410, i32 0, i32 258
  %412 = getelementptr inbounds %struct.qhstatT, ptr %411, i32 0, i32 0
  %413 = getelementptr inbounds [249 x %union.intrealT], ptr %412, i64 0, i64 91
  store i32 %409, ptr %413, align 8, !tbaa !19
  br label %414

414:                                              ; preds = %407, %390
  %415 = load i32, ptr %27, align 4, !tbaa !9
  %416 = load ptr, ptr %18, align 8, !tbaa !5
  %417 = load i32, ptr %416, align 4, !tbaa !9
  %418 = add nsw i32 %417, %415
  store i32 %418, ptr %416, align 4, !tbaa !9
  %419 = load i32, ptr %25, align 4, !tbaa !9
  %420 = load ptr, ptr %10, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.qhT, ptr %420, i32 0, i32 29
  store i32 %419, ptr %421, align 8, !tbaa !13
  %422 = load ptr, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 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
  ret ptr %422
}

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

declare i32 @qh_sharpnewfacets(ptr noundef) #2

declare ptr @qh_findbestlower(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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


; 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.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @qh_findbest(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  store double 0xFFDFFFFFFFFFFFFF, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 136
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %0, i64 2784
  %15 = load i32, ptr %14, align 8, !tbaa !16
  %16 = add i32 %15, 1
  store i32 %16, ptr %14, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 0, ptr %11, align 4, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %0, i64 4144
  %18 = load i32, ptr %17, align 8, !tbaa !18
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %17, align 8, !tbaa !18
  %20 = icmp sgt i32 %13, 3
  br i1 %20, label %31, label %21

21:                                               ; preds = %9
  %22 = getelementptr inbounds i8, ptr %0, i64 536
  %23 = load i32, ptr %22, align 8, !tbaa !19
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %54, label %24

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 544
  %26 = load i32, ptr %25, align 8, !tbaa !20
  %27 = icmp sgt i32 %26, -1
  br i1 %27, label %28, label %54

28:                                               ; preds = %24
  %29 = tail call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %1) #3
  %30 = icmp eq i32 %26, %29
  br i1 %30, label %._crit_edge315, label %54

._crit_edge315:                                   ; preds = %28
  %.pre = load i32, ptr %12, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %._crit_edge315, %9
  %32 = phi i32 [ %.pre, %._crit_edge315 ], [ %13, %9 ]
  %33 = getelementptr inbounds i8, ptr %0, i64 536
  %34 = load i32, ptr %33, align 8, !tbaa !19
  %35 = icmp sgt i32 %34, %32
  br i1 %35, label %36, label %37

36:                                               ; preds = %31
  store i32 %34, ptr %12, align 8, !tbaa !9
  br label %37

37:                                               ; preds = %36, %31
  %38 = getelementptr inbounds i8, ptr %0, i64 2424
  %39 = load ptr, ptr %38, align 8, !tbaa !21
  %40 = tail call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %1) #3
  %41 = getelementptr inbounds i8, ptr %2, i64 108
  %42 = load i32, ptr %41, align 4, !tbaa !22
  %43 = getelementptr inbounds i8, ptr %0, i64 24
  %44 = load double, ptr %43, align 8, !tbaa !24
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %39, i32 noundef 8004, ptr noundef nonnull @.str.3, i32 noundef %40, i32 noundef %42, i32 noundef %4, i32 noundef %3, double noundef %44) #3
  %45 = load ptr, ptr %38, align 8, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %45, i32 noundef 8005, ptr noundef nonnull @.str.4, i32 noundef 1, i32 noundef %5) #3
  %46 = load ptr, ptr %38, align 8, !tbaa !21
  %47 = getelementptr inbounds i8, ptr %0, i64 2620
  %48 = load i32, ptr %47, align 4, !tbaa !25
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %46, i32 noundef 8006, ptr noundef nonnull @.str.5, i32 noundef %48) #3
  %49 = load ptr, ptr %38, align 8, !tbaa !21
  %50 = getelementptr inbounds i8, ptr %0, i64 5152
  %51 = load i32, ptr %50, align 8, !tbaa !18
  %52 = getelementptr inbounds i8, ptr %0, i64 2680
  %53 = load double, ptr %52, align 8, !tbaa !26
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %49, i32 noundef 8007, ptr noundef nonnull @.str.6, i32 noundef %51, double noundef %53) #3
  br label %54

54:                                               ; preds = %37, %28, %24, %21
  %.not150 = icmp eq ptr %7, null
  br i1 %.not150, label %56, label %55

55:                                               ; preds = %54
  store i32 1, ptr %7, align 4, !tbaa !17
  br label %56

56:                                               ; preds = %55, %54
  %57 = getelementptr inbounds i8, ptr %2, i64 112
  %58 = load i32, ptr %57, align 8
  %59 = and i32 %58, 65536
  %.not151 = icmp eq i32 %59, 0
  br i1 %.not151, label %60, label %72

60:                                               ; preds = %56
  store i32 1, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %6)
  %.not152 = icmp eq i32 %3, 0
  %.pre316 = load double, ptr %6, align 8, !tbaa !5
  br i1 %.not152, label %61, label %._crit_edge317

._crit_edge317:                                   ; preds = %60
  %.pre318 = load i32, ptr %57, align 8
  br label %69

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %0, i64 24
  %63 = load double, ptr %62, align 8, !tbaa !24
  %64 = fcmp ult double %.pre316, %63
  %.pre319 = load i32, ptr %57, align 8
  br i1 %64, label %69, label %65

65:                                               ; preds = %61
  %66 = and i32 %.pre319, 131072
  %67 = icmp ne i32 %66, 0
  %68 = icmp ne i32 %5, 0
  %or.cond = and i1 %68, %67
  br i1 %or.cond, label %69, label %.loopexit186.split.us

69:                                               ; preds = %._crit_edge317, %65, %61
  %70 = phi i32 [ %.pre318, %._crit_edge317 ], [ %.pre319, %65 ], [ %.pre319, %61 ]
  %71 = and i32 %70, 131072
  %.not153 = icmp eq i32 %71, 0
  %spec.select = select i1 %.not153, ptr %2, ptr null
  br label %.lr.ph215

72:                                               ; preds = %56
  store i32 0, ptr %8, align 4, !tbaa !17
  br label %.lr.ph215

.lr.ph215:                                        ; preds = %72, %69
  %.promoted = phi double [ 0xFFDFFFFFFFFFFFFF, %72 ], [ %.pre316, %69 ]
  %.0138 = phi ptr [ null, %72 ], [ %spec.select, %69 ]
  %73 = getelementptr inbounds i8, ptr %2, i64 104
  store i32 %16, ptr %73, align 8, !tbaa !27
  %74 = getelementptr inbounds i8, ptr %0, i64 2424
  %75 = icmp ne i32 %4, 0
  %.not165 = icmp eq i32 %3, 0
  %76 = getelementptr inbounds i8, ptr %0, i64 24
  %77 = icmp ne i32 %5, 0
  br i1 %.not165, label %.lr.ph215.split.us, label %.lr.ph215.split

.lr.ph215.split.us:                               ; preds = %.lr.ph215
  br i1 %75, label %.lr.ph215.split.us.split.us, label %.lr.ph215.split.us.split

.lr.ph215.split.us.split.us:                      ; preds = %.lr.ph215.split.us
  br i1 %77, label %.lr.ph215.split.us.split.us.split.us, label %.lr.ph215.split.us.split.us.split

.lr.ph215.split.us.split.us.split.us:             ; preds = %.lr.ph215.split.us.split.us, %.lr.ph215.split.us.split.us.split.us.backedge
  %.0135214.us.us.us = phi ptr [ %.0135214.us.us.us.be, %.lr.ph215.split.us.split.us.split.us.backedge ], [ %2, %.lr.ph215.split.us.split.us ]
  %.1213.us.us.us = phi ptr [ %.1213.us.us.us.be, %.lr.ph215.split.us.split.us.split.us.backedge ], [ %.0138, %.lr.ph215.split.us.split.us ]
  %.us-phi200203211.us.us.us = phi double [ %.us-phi200203211.us.us.us.be, %.lr.ph215.split.us.split.us.split.us.backedge ], [ %.promoted, %.lr.ph215.split.us.split.us ]
  %.1213.us.us.us.fr = freeze ptr %.1213.us.us.us
  %78 = load i32, ptr %12, align 8, !tbaa !9
  %79 = icmp sgt i32 %78, 3
  br i1 %79, label %80, label %89

80:                                               ; preds = %.lr.ph215.split.us.split.us.split.us
  %81 = load ptr, ptr %74, align 8, !tbaa !21
  %82 = getelementptr inbounds i8, ptr %.0135214.us.us.us, i64 108
  %83 = load i32, ptr %82, align 4, !tbaa !22
  %.not161.us.us.us = icmp eq ptr %.1213.us.us.us.fr, null
  br i1 %.not161.us.us.us, label %87, label %84

84:                                               ; preds = %80
  %85 = getelementptr inbounds i8, ptr %.1213.us.us.us.fr, i64 108
  %86 = load i32, ptr %85, align 4, !tbaa !22
  br label %87

87:                                               ; preds = %84, %80
  %88 = phi i32 [ %86, %84 ], [ -1, %80 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %81, i32 noundef 4001, ptr noundef nonnull @.str.7, i32 noundef %83, double noundef %.us-phi200203211.us.us.us, i32 noundef %88) #3
  br label %89

89:                                               ; preds = %87, %.lr.ph215.split.us.split.us.split.us
  %90 = getelementptr inbounds i8, ptr %.0135214.us.us.us, i64 80
  %91 = load ptr, ptr %90, align 8, !tbaa !28
  %.not162.us.us.us = icmp eq ptr %91, null
  br i1 %.not162.us.us.us, label %._crit_edge, label %92

92:                                               ; preds = %89
  %93 = getelementptr inbounds i8, ptr %91, i64 8
  %94 = load ptr, ptr %93, align 8, !tbaa !29
  %.not163195.us.us.us = icmp eq ptr %94, null
  br i1 %.not163195.us.us.us, label %._crit_edge, label %.lr.ph.us.us.us

.lr.ph.us.us.us:                                  ; preds = %92
  %95 = getelementptr inbounds i8, ptr %91, i64 16
  %.not167.us.us.us = icmp eq ptr %.1213.us.us.us.fr, null
  br i1 %.not167.us.us.us, label %.lr.ph.split.us.us.split.us240.split.us270.split.us, label %.lr.ph.split.us.us.split.us240.split.us270.split

.lr.ph.split.us.us.split.us240.split.us270.split: ; preds = %.lr.ph.us.us.us, %.backedge.us.us.us231.us261
  %96 = phi ptr [ %119, %.backedge.us.us.us231.us261 ], [ %94, %.lr.ph.us.us.us ]
  %97 = phi ptr [ %118, %.backedge.us.us.us231.us261 ], [ %95, %.lr.ph.us.us.us ]
  %98 = getelementptr inbounds i8, ptr %96, i64 112
  %99 = load i32, ptr %98, align 8
  %100 = and i32 %99, 1024
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %.backedge.us.us.us231.us261, label %102

102:                                              ; preds = %.lr.ph.split.us.us.split.us240.split.us270.split
  %103 = getelementptr inbounds i8, ptr %96, i64 104
  %104 = load i32, ptr %103, align 8, !tbaa !27
  %105 = icmp eq i32 %104, %16
  br i1 %105, label %.backedge.us.us.us231.us261, label %106

106:                                              ; preds = %102
  store i32 %16, ptr %103, align 8, !tbaa !27
  %107 = and i32 %99, 65536
  %.not164.us.us.us228.us259 = icmp eq i32 %107, 0
  br i1 %.not164.us.us.us228.us259, label %108, label %.backedge.us.us.us231.us261

108:                                              ; preds = %106
  %109 = load i32, ptr %8, align 4, !tbaa !17
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %96, ptr noundef %6)
  %111 = load double, ptr %6, align 8, !tbaa !5
  %112 = fcmp ogt double %111, %.us-phi200203211.us.us.us
  br i1 %112, label %113, label %.backedge.us.us.us231.us261

113:                                              ; preds = %108
  %114 = load double, ptr %76, align 8, !tbaa !24
  %115 = fcmp ult double %111, %114
  %.pre322 = load i32, ptr %98, align 8
  %.pre329 = and i32 %.pre322, 131072
  %.not166.us.us.us230.us260 = icmp eq i32 %.pre329, 0
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  br i1 %.not166.us.us.us230.us260, label %.loopexit186.split.us, label %.backedge.us.us.us231.us261

117:                                              ; preds = %113
  br i1 %.not166.us.us.us230.us260, label %.lr.ph215.split.us.split.us.split.us.backedge, label %.backedge.us.us.us231.us261, !llvm.loop !30

.backedge.us.us.us231.us261:                      ; preds = %116, %106, %108, %117, %102, %.lr.ph.split.us.us.split.us240.split.us270.split
  %118 = getelementptr inbounds i8, ptr %97, i64 8
  %119 = load ptr, ptr %97, align 8, !tbaa !29
  %.not163.us.us.us232.us262 = icmp eq ptr %119, null
  br i1 %.not163.us.us.us232.us262, label %._crit_edge, label %.lr.ph.split.us.us.split.us240.split.us270.split, !llvm.loop !32

.lr.ph.split.us.us.split.us240.split.us270.split.us: ; preds = %.lr.ph.us.us.us, %.backedge.us.us.us231.us261.us
  %120 = phi ptr [ %142, %.backedge.us.us.us231.us261.us ], [ %94, %.lr.ph.us.us.us ]
  %121 = phi ptr [ %141, %.backedge.us.us.us231.us261.us ], [ %95, %.lr.ph.us.us.us ]
  %122 = getelementptr inbounds i8, ptr %120, i64 112
  %123 = load i32, ptr %122, align 8
  %124 = and i32 %123, 1024
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %.backedge.us.us.us231.us261.us, label %126

126:                                              ; preds = %.lr.ph.split.us.us.split.us240.split.us270.split.us
  %127 = getelementptr inbounds i8, ptr %120, i64 104
  %128 = load i32, ptr %127, align 8, !tbaa !27
  %129 = icmp eq i32 %128, %16
  br i1 %129, label %.backedge.us.us.us231.us261.us, label %130

130:                                              ; preds = %126
  store i32 %16, ptr %127, align 8, !tbaa !27
  %131 = and i32 %123, 65536
  %.not164.us.us.us228.us259.us = icmp eq i32 %131, 0
  br i1 %.not164.us.us.us228.us259.us, label %132, label %.backedge.us.us.us231.us261.us

132:                                              ; preds = %130
  %133 = load i32, ptr %8, align 4, !tbaa !17
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %120, ptr noundef %6)
  %135 = load double, ptr %6, align 8, !tbaa !5
  %136 = fcmp ogt double %135, %.us-phi200203211.us.us.us
  br i1 %136, label %137, label %.backedge.us.us.us231.us261.us

137:                                              ; preds = %132
  %138 = getelementptr inbounds i8, ptr %120, i64 112
  %139 = load double, ptr %76, align 8, !tbaa !24
  %140 = fcmp oge double %135, %139
  %.pre323 = load i32, ptr %138, align 8
  %.pre328 = and i32 %.pre323, 131072
  %.not291 = icmp eq i32 %.pre328, 0
  %or.cond442 = select i1 %140, i1 %.not291, i1 false
  br i1 %or.cond442, label %.loopexit186.split.us, label %._crit_edge327

._crit_edge327:                                   ; preds = %137
  %.not166.us.us.us230.us260.us = icmp eq i32 %.pre328, 0
  %.lcssa289. = select i1 %.not166.us.us.us230.us260.us, ptr %120, ptr null
  br label %.lr.ph215.split.us.split.us.split.us.backedge

.lr.ph215.split.us.split.us.split.us.backedge:    ; preds = %117, %._crit_edge327
  %.0135214.us.us.us.be = phi ptr [ %120, %._crit_edge327 ], [ %96, %117 ]
  %.1213.us.us.us.be = phi ptr [ %.lcssa289., %._crit_edge327 ], [ %96, %117 ]
  %.us-phi200203211.us.us.us.be = phi double [ %135, %._crit_edge327 ], [ %111, %117 ]
  br label %.lr.ph215.split.us.split.us.split.us, !llvm.loop !30

.backedge.us.us.us231.us261.us:                   ; preds = %130, %132, %126, %.lr.ph.split.us.us.split.us240.split.us270.split.us
  %141 = getelementptr inbounds i8, ptr %121, i64 8
  %142 = load ptr, ptr %121, align 8, !tbaa !29
  %.not163.us.us.us232.us262.us = icmp eq ptr %142, null
  br i1 %.not163.us.us.us232.us262.us, label %._crit_edge.thread, label %.lr.ph.split.us.us.split.us240.split.us270.split.us, !llvm.loop !32

.lr.ph215.split.us.split.us.split.loopexit:       ; preds = %182
  %.mux = select i1 %.not166.us.us.us230.us, ptr %162, ptr null
  br label %.lr.ph215.split.us.split.us.split, !llvm.loop !30

.lr.ph215.split.us.split.us.split:                ; preds = %.lr.ph215.split.us.split.us, %.lr.ph215.split.us.split.us.split.loopexit
  %.0135214.us.us = phi ptr [ %162, %.lr.ph215.split.us.split.us.split.loopexit ], [ %2, %.lr.ph215.split.us.split.us ]
  %.1213.us.us = phi ptr [ %.mux, %.lr.ph215.split.us.split.us.split.loopexit ], [ %.0138, %.lr.ph215.split.us.split.us ]
  %.us-phi200203211.us.us = phi double [ %177, %.lr.ph215.split.us.split.us.split.loopexit ], [ %.promoted, %.lr.ph215.split.us.split.us ]
  %143 = load i32, ptr %12, align 8, !tbaa !9
  %144 = icmp sgt i32 %143, 3
  br i1 %144, label %145, label %154

145:                                              ; preds = %.lr.ph215.split.us.split.us.split
  %146 = load ptr, ptr %74, align 8, !tbaa !21
  %147 = getelementptr inbounds i8, ptr %.0135214.us.us, i64 108
  %148 = load i32, ptr %147, align 4, !tbaa !22
  %.not161.us.us = icmp eq ptr %.1213.us.us, null
  br i1 %.not161.us.us, label %152, label %149

149:                                              ; preds = %145
  %150 = getelementptr inbounds i8, ptr %.1213.us.us, i64 108
  %151 = load i32, ptr %150, align 4, !tbaa !22
  br label %152

152:                                              ; preds = %149, %145
  %153 = phi i32 [ %151, %149 ], [ -1, %145 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %146, i32 noundef 4001, ptr noundef nonnull @.str.7, i32 noundef %148, double noundef %.us-phi200203211.us.us, i32 noundef %153) #3
  br label %154

154:                                              ; preds = %152, %.lr.ph215.split.us.split.us.split
  %155 = getelementptr inbounds i8, ptr %.0135214.us.us, i64 80
  %156 = load ptr, ptr %155, align 8, !tbaa !28
  %.not162.us.us = icmp eq ptr %156, null
  br i1 %.not162.us.us, label %._crit_edge, label %157

157:                                              ; preds = %154
  %158 = getelementptr inbounds i8, ptr %156, i64 8
  %159 = load ptr, ptr %158, align 8, !tbaa !29
  %.not163195.us.us = icmp eq ptr %159, null
  br i1 %.not163195.us.us, label %._crit_edge, label %.lr.ph.us.us

.lr.ph.us.us:                                     ; preds = %157
  %160 = getelementptr inbounds i8, ptr %156, i64 16
  %.not167.us.us = icmp eq ptr %.1213.us.us, null
  br label %161

161:                                              ; preds = %.backedge.us.us.us231.us, %.lr.ph.us.us
  %162 = phi ptr [ %159, %.lr.ph.us.us ], [ %186, %.backedge.us.us.us231.us ]
  %163 = phi ptr [ %160, %.lr.ph.us.us ], [ %185, %.backedge.us.us.us231.us ]
  %164 = getelementptr inbounds i8, ptr %162, i64 112
  %165 = load i32, ptr %164, align 8
  %166 = and i32 %165, 1024
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %.backedge.us.us.us231.us, label %168

168:                                              ; preds = %161
  %169 = getelementptr inbounds i8, ptr %162, i64 104
  %170 = load i32, ptr %169, align 8, !tbaa !27
  %171 = icmp eq i32 %170, %16
  br i1 %171, label %.backedge.us.us.us231.us, label %172

172:                                              ; preds = %168
  store i32 %16, ptr %169, align 8, !tbaa !27
  %173 = and i32 %165, 65536
  %.not164.us.us.us228.us = icmp eq i32 %173, 0
  br i1 %.not164.us.us.us228.us, label %174, label %.backedge.us.us.us231.us

174:                                              ; preds = %172
  %175 = load i32, ptr %8, align 4, !tbaa !17
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %162, ptr noundef %6)
  %177 = load double, ptr %6, align 8, !tbaa !5
  %178 = fcmp ogt double %177, %.us-phi200203211.us.us
  br i1 %178, label %179, label %.backedge.us.us.us231.us

179:                                              ; preds = %174
  %180 = load double, ptr %76, align 8, !tbaa !24
  %181 = fcmp ult double %177, %180
  br i1 %181, label %182, label %.loopexit186.split.us

182:                                              ; preds = %179
  %183 = load i32, ptr %164, align 8
  %184 = and i32 %183, 131072
  %.not166.us.us.us230.us = icmp eq i32 %184, 0
  %brmerge = select i1 %.not166.us.us.us230.us, i1 true, i1 %.not167.us.us
  br i1 %brmerge, label %.lr.ph215.split.us.split.us.split.loopexit, label %.backedge.us.us.us231.us

.backedge.us.us.us231.us:                         ; preds = %182, %172, %174, %168, %161
  %185 = getelementptr inbounds i8, ptr %163, i64 8
  %186 = load ptr, ptr %163, align 8, !tbaa !29
  %.not163.us.us.us232.us = icmp eq ptr %186, null
  br i1 %.not163.us.us.us232.us, label %._crit_edge, label %161, !llvm.loop !32

.lr.ph215.split.us.split.loopexit.split.loop.exit: ; preds = %225
  %.mux444.le = select i1 %.not166.us.us.us, ptr %206, ptr null
  br label %.lr.ph215.split.us.split.loopexit

.lr.ph215.split.us.split.loopexit:                ; preds = %.thread356, %.lr.ph215.split.us.split.loopexit.split.loop.exit
  %.1213.us.ph = phi ptr [ %.mux444.le, %.lr.ph215.split.us.split.loopexit.split.loop.exit ], [ null, %.thread356 ]
  br label %.lr.ph215.split.us.split

.lr.ph215.split.us.split:                         ; preds = %.lr.ph215.split.us, %.lr.ph215.split.us.split.loopexit
  %.0135214.us = phi ptr [ %206, %.lr.ph215.split.us.split.loopexit ], [ %2, %.lr.ph215.split.us ]
  %.1213.us = phi ptr [ %.1213.us.ph, %.lr.ph215.split.us.split.loopexit ], [ %.0138, %.lr.ph215.split.us ]
  %.us-phi200203211.us = phi double [ %218, %.lr.ph215.split.us.split.loopexit ], [ %.promoted, %.lr.ph215.split.us ]
  %187 = load i32, ptr %12, align 8, !tbaa !9
  %188 = icmp sgt i32 %187, 3
  br i1 %188, label %189, label %198

189:                                              ; preds = %.lr.ph215.split.us.split
  %190 = load ptr, ptr %74, align 8, !tbaa !21
  %191 = getelementptr inbounds i8, ptr %.0135214.us, i64 108
  %192 = load i32, ptr %191, align 4, !tbaa !22
  %.not161.us = icmp eq ptr %.1213.us, null
  br i1 %.not161.us, label %196, label %193

193:                                              ; preds = %189
  %194 = getelementptr inbounds i8, ptr %.1213.us, i64 108
  %195 = load i32, ptr %194, align 4, !tbaa !22
  br label %196

196:                                              ; preds = %193, %189
  %197 = phi i32 [ %195, %193 ], [ -1, %189 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %190, i32 noundef 4001, ptr noundef nonnull @.str.7, i32 noundef %192, double noundef %.us-phi200203211.us, i32 noundef %197) #3
  br label %198

198:                                              ; preds = %196, %.lr.ph215.split.us.split
  %199 = getelementptr inbounds i8, ptr %.0135214.us, i64 80
  %200 = load ptr, ptr %199, align 8, !tbaa !28
  %.not162.us = icmp eq ptr %200, null
  br i1 %.not162.us, label %._crit_edge, label %201

201:                                              ; preds = %198
  %202 = getelementptr inbounds i8, ptr %200, i64 8
  %203 = load ptr, ptr %202, align 8, !tbaa !29
  %.not163195.us = icmp eq ptr %203, null
  br i1 %.not163195.us, label %._crit_edge, label %.lr.ph.us

.lr.ph.us:                                        ; preds = %201
  %204 = getelementptr inbounds i8, ptr %200, i64 16
  %.not167.us = icmp eq ptr %.1213.us, null
  br label %205

205:                                              ; preds = %.backedge.us.us.us, %.lr.ph.us
  %206 = phi ptr [ %203, %.lr.ph.us ], [ %227, %.backedge.us.us.us ]
  %207 = phi ptr [ %204, %.lr.ph.us ], [ %226, %.backedge.us.us.us ]
  %208 = getelementptr inbounds i8, ptr %206, i64 112
  %209 = getelementptr inbounds i8, ptr %206, i64 104
  %210 = load i32, ptr %209, align 8, !tbaa !27
  %211 = icmp eq i32 %210, %16
  br i1 %211, label %.backedge.us.us.us, label %212

212:                                              ; preds = %205
  %213 = load i32, ptr %208, align 8
  store i32 %16, ptr %209, align 8, !tbaa !27
  %214 = and i32 %213, 65536
  %.not164.us.us.us = icmp eq i32 %214, 0
  br i1 %.not164.us.us.us, label %215, label %.backedge.us.us.us

215:                                              ; preds = %212
  %216 = load i32, ptr %8, align 4, !tbaa !17
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %206, ptr noundef %6)
  %218 = load double, ptr %6, align 8, !tbaa !5
  %219 = fcmp ogt double %218, %.us-phi200203211.us
  br i1 %219, label %220, label %.backedge.us.us.us

220:                                              ; preds = %215
  %221 = load double, ptr %76, align 8, !tbaa !24
  %222 = fcmp ult double %218, %221
  %.pre321 = load i32, ptr %208, align 8
  %.pre331 = and i32 %.pre321, 131072
  br i1 %222, label %225, label %223

223:                                              ; preds = %220
  %224 = icmp ne i32 %.pre331, 0
  %or.cond5.us.us.us = and i1 %77, %224
  br i1 %or.cond5.us.us.us, label %.thread356, label %.loopexit186.split.us

225:                                              ; preds = %220
  %.not166.us.us.us = icmp eq i32 %.pre331, 0
  %brmerge443 = select i1 %.not166.us.us.us, i1 true, i1 %.not167.us
  br i1 %brmerge443, label %.lr.ph215.split.us.split.loopexit.split.loop.exit, label %.backedge.us.us.us, !llvm.loop !30

.thread356:                                       ; preds = %223
  br i1 %.not167.us, label %.lr.ph215.split.us.split.loopexit, label %.backedge.us.us.us, !llvm.loop !30

.backedge.us.us.us:                               ; preds = %225, %212, %215, %.thread356, %205
  %226 = getelementptr inbounds i8, ptr %207, i64 8
  %227 = load ptr, ptr %207, align 8, !tbaa !29
  %.not163.us.us.us = icmp eq ptr %227, null
  br i1 %.not163.us.us.us, label %._crit_edge, label %205, !llvm.loop !32

.lr.ph215.split.loopexit:                         ; preds = %264
  %.mux446 = select i1 %.not166, ptr %247, ptr null
  br label %.lr.ph215.split, !llvm.loop !30

.lr.ph215.split:                                  ; preds = %.lr.ph215, %.lr.ph215.split.loopexit
  %.0135214 = phi ptr [ %247, %.lr.ph215.split.loopexit ], [ %2, %.lr.ph215 ]
  %.1213 = phi ptr [ %.mux446, %.lr.ph215.split.loopexit ], [ %.0138, %.lr.ph215 ]
  %.us-phi200203211 = phi double [ %262, %.lr.ph215.split.loopexit ], [ %.promoted, %.lr.ph215 ]
  %228 = load i32, ptr %12, align 8, !tbaa !9
  %229 = icmp sgt i32 %228, 3
  br i1 %229, label %230, label %239

230:                                              ; preds = %.lr.ph215.split
  %231 = load ptr, ptr %74, align 8, !tbaa !21
  %232 = getelementptr inbounds i8, ptr %.0135214, i64 108
  %233 = load i32, ptr %232, align 4, !tbaa !22
  %.not161 = icmp eq ptr %.1213, null
  br i1 %.not161, label %237, label %234

234:                                              ; preds = %230
  %235 = getelementptr inbounds i8, ptr %.1213, i64 108
  %236 = load i32, ptr %235, align 4, !tbaa !22
  br label %237

237:                                              ; preds = %230, %234
  %238 = phi i32 [ %236, %234 ], [ -1, %230 ]
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %231, i32 noundef 4001, ptr noundef nonnull @.str.7, i32 noundef %233, double noundef %.us-phi200203211, i32 noundef %238) #3
  br label %239

239:                                              ; preds = %237, %.lr.ph215.split
  %240 = getelementptr inbounds i8, ptr %.0135214, i64 80
  %241 = load ptr, ptr %240, align 8, !tbaa !28
  %.not162 = icmp eq ptr %241, null
  br i1 %.not162, label %._crit_edge, label %242

242:                                              ; preds = %239
  %243 = getelementptr inbounds i8, ptr %241, i64 8
  %244 = load ptr, ptr %243, align 8, !tbaa !29
  %.not163195 = icmp eq ptr %244, null
  br i1 %.not163195, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %242
  %245 = getelementptr inbounds i8, ptr %241, i64 16
  %.not167 = icmp eq ptr %.1213, null
  br label %246

246:                                              ; preds = %.lr.ph, %.backedge
  %247 = phi ptr [ %244, %.lr.ph ], [ %268, %.backedge ]
  %248 = phi ptr [ %245, %.lr.ph ], [ %267, %.backedge ]
  %249 = getelementptr inbounds i8, ptr %247, i64 112
  %250 = load i32, ptr %249, align 8
  %251 = and i32 %250, 1024
  %252 = icmp eq i32 %251, 0
  %or.cond3 = and i1 %75, %252
  br i1 %or.cond3, label %.backedge, label %253

253:                                              ; preds = %246
  %254 = getelementptr inbounds i8, ptr %247, i64 104
  %255 = load i32, ptr %254, align 8, !tbaa !27
  %256 = icmp eq i32 %255, %16
  br i1 %256, label %.backedge, label %257

257:                                              ; preds = %253
  store i32 %16, ptr %254, align 8, !tbaa !27
  %258 = and i32 %250, 65536
  %.not164 = icmp eq i32 %258, 0
  br i1 %.not164, label %259, label %.backedge

259:                                              ; preds = %257
  %260 = load i32, ptr %8, align 4, !tbaa !17
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %8, align 4, !tbaa !17
  tail call void @qh_distplane(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %247, ptr noundef %6)
  %262 = load double, ptr %6, align 8, !tbaa !5
  %263 = fcmp ogt double %262, %.us-phi200203211
  br i1 %263, label %264, label %.backedge

264:                                              ; preds = %259
  %265 = load i32, ptr %249, align 8
  %266 = and i32 %265, 131072
  %.not166 = icmp eq i32 %266, 0
  %brmerge445 = select i1 %.not166, i1 true, i1 %.not167
  br i1 %brmerge445, label %.lr.ph215.split.loopexit, label %.backedge

.backedge:                                        ; preds = %264, %257, %259, %246, %253
  %267 = getelementptr inbounds i8, ptr %248, i64 8
  %268 = load ptr, ptr %248, align 8, !tbaa !29
  %.not163 = icmp eq ptr %268, null
  br i1 %.not163, label %._crit_edge, label %246, !llvm.loop !32

._crit_edge:                                      ; preds = %242, %239, %.backedge, %201, %198, %.backedge.us.us.us, %157, %154, %.backedge.us.us.us231.us, %92, %89, %.backedge.us.us.us231.us261
  %269 = phi double [ %.us-phi200203211.us.us.us, %.backedge.us.us.us231.us261 ], [ %.us-phi200203211.us.us.us, %89 ], [ %.us-phi200203211.us.us.us, %92 ], [ %.us-phi200203211.us.us, %.backedge.us.us.us231.us ], [ %.us-phi200203211.us.us, %154 ], [ %.us-phi200203211.us.us, %157 ], [ %.us-phi200203211.us, %.backedge.us.us.us ], [ %.us-phi200203211.us, %198 ], [ %.us-phi200203211.us, %201 ], [ %.us-phi200203211, %.backedge ], [ %.us-phi200203211, %239 ], [ %.us-phi200203211, %242 ]
  %.1.lcssa = phi ptr [ %.1213.us.us.us.fr, %.backedge.us.us.us231.us261 ], [ %.1213.us.us.us.fr, %89 ], [ %.1213.us.us.us.fr, %92 ], [ %.1213.us.us, %.backedge.us.us.us231.us ], [ %.1213.us.us, %154 ], [ %.1213.us.us, %157 ], [ %.1213.us, %.backedge.us.us.us ], [ %.1213.us, %198 ], [ %.1213.us, %201 ], [ %.1213, %.backedge ], [ %.1213, %239 ], [ %.1213, %242 ]
  %.0137.lcssa = phi ptr [ %.0135214.us.us.us, %.backedge.us.us.us231.us261 ], [ %.0135214.us.us.us, %89 ], [ %.0135214.us.us.us, %92 ], [ %.0135214.us.us, %.backedge.us.us.us231.us ], [ %.0135214.us.us, %154 ], [ %.0135214.us.us, %157 ], [ %.0135214.us, %.backedge.us.us.us ], [ %.0135214.us, %198 ], [ %.0135214.us, %201 ], [ %.0135214, %.backedge ], [ %.0135214, %239 ], [ %.0135214, %242 ]
  store double %269, ptr %10, align 8, !tbaa !5
  %.not155 = icmp eq i32 %4, 0
  %.not159179 = icmp eq ptr %.1.lcssa, null
  br i1 %.not155, label %.thread176, label %270

._crit_edge.thread:                               ; preds = %.backedge.us.us.us231.us261.us
  store double %.us-phi200203211.us.us.us, ptr %10, align 8, !tbaa !5
  br label %.thread373

270:                                              ; preds = %._crit_edge
  br i1 %.not159179, label %.thread373, label %274

.thread373:                                       ; preds = %._crit_edge.thread, %270
  %.0137.lcssa372378 = phi ptr [ %.0137.lcssa, %270 ], [ %.0135214.us.us.us, %._crit_edge.thread ]
  store double 0xFFDFFFFFFFFFFFFF, ptr %10, align 8, !tbaa !5
  %271 = getelementptr inbounds i8, ptr %0, i64 2480
  %272 = load ptr, ptr %271, align 8, !tbaa !33
  %273 = call ptr @qh_findbestnew(ptr noundef %0, ptr noundef %1, ptr noundef %272, ptr noundef nonnull %10, i32 noundef %3, ptr noundef %7, ptr noundef nonnull %11)
  br label %291

274:                                              ; preds = %270
  %275 = getelementptr inbounds i8, ptr %0, i64 2716
  %276 = load i32, ptr %275, align 4, !tbaa !34
  %.not157 = icmp eq i32 %276, 0
  br i1 %.not157, label %277, label %.thread172

277:                                              ; preds = %274
  %278 = getelementptr inbounds i8, ptr %0, i64 1784
  %279 = load double, ptr %278, align 8, !tbaa !35
  %280 = fneg double %279
  %281 = fcmp olt double %269, %280
  br i1 %281, label %282, label %.thread172

282:                                              ; preds = %277
  %283 = tail call i32 @qh_sharpnewfacets(ptr noundef nonnull %0) #3
  %.not158 = icmp eq i32 %283, 0
  br i1 %.not158, label %290, label %284

284:                                              ; preds = %282
  %285 = getelementptr inbounds i8, ptr %0, i64 4248
  %286 = load i32, ptr %285, align 8, !tbaa !18
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %285, align 8, !tbaa !18
  %288 = call ptr @qh_findbestnew(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %.1.lcssa, ptr noundef nonnull %10, i32 noundef %3, ptr noundef %7, ptr noundef nonnull %11)
  %289 = getelementptr inbounds i8, ptr %0, i64 2712
  store i32 1, ptr %289, align 8, !tbaa !36
  br label %291

290:                                              ; preds = %282
  store i32 1, ptr %275, align 4, !tbaa !34
  br label %.thread172

291:                                              ; preds = %.thread373, %284
  %.0137.lcssa372377 = phi ptr [ %.0137.lcssa, %284 ], [ %.0137.lcssa372378, %.thread373 ]
  %.3 = phi ptr [ %288, %284 ], [ %273, %.thread373 ]
  %.not159 = icmp eq ptr %.3, null
  br i1 %.not159, label %293, label %.thread183

.thread176:                                       ; preds = %._crit_edge
  br i1 %.not159179, label %.thread181, label %.thread172

.thread181:                                       ; preds = %.thread176
  %292 = call ptr @qh_findbestlower(ptr noundef %0, ptr noundef %.0137.lcssa, ptr noundef %1, ptr noundef nonnull %10, ptr noundef %8) #3
  br label %.thread172

293:                                              ; preds = %291
  %294 = call ptr @qh_findbestlower(ptr noundef nonnull %0, ptr noundef %.0137.lcssa372377, ptr noundef %1, ptr noundef nonnull %10, ptr noundef %8) #3
  br label %.thread183

.thread172:                                       ; preds = %.thread176, %.thread181, %274, %290, %277
  %.4175 = phi ptr [ %.1.lcssa, %277 ], [ %.1.lcssa, %290 ], [ %.1.lcssa, %274 ], [ %292, %.thread181 ], [ %.1.lcssa, %.thread176 ]
  %295 = call ptr @qh_findbesthorizon(ptr noundef %0, i32 noundef 0, ptr noundef %1, ptr noundef %.4175, i32 noundef %5, ptr noundef nonnull %10, ptr noundef nonnull %11)
  br label %.thread183

.thread183:                                       ; preds = %291, %293, %.thread172
  %.5 = phi ptr [ %295, %.thread172 ], [ %294, %293 ], [ %.3, %291 ]
  %296 = load double, ptr %10, align 8, !tbaa !5
  store double %296, ptr %6, align 8, !tbaa !5
  br i1 %.not150, label %.loopexit186.split.us, label %297

297:                                              ; preds = %.thread183
  %298 = getelementptr inbounds i8, ptr %0, i64 24
  %299 = load double, ptr %298, align 8, !tbaa !24
  %300 = fcmp olt double %296, %299
  br i1 %300, label %301, label %.loopexit186.split.us

301:                                              ; preds = %297
  store i32 0, ptr %7, align 4, !tbaa !17
  br label %.loopexit186.split.us

.loopexit186.split.us:                            ; preds = %223, %179, %137, %116, %65, %.thread183, %297, %301
  %.6 = phi ptr [ %.5, %301 ], [ %.5, %297 ], [ %.5, %.thread183 ], [ %2, %65 ], [ %96, %116 ], [ %120, %137 ], [ %162, %179 ], [ %206, %223 ]
  %302 = load i32, ptr %8, align 4, !tbaa !17
  %303 = getelementptr inbounds i8, ptr %0, i64 4160
  %304 = load i32, ptr %303, align 8, !tbaa !18
  %305 = add nsw i32 %304, %302
  store i32 %305, ptr %303, align 8, !tbaa !18
  %306 = getelementptr inbounds i8, ptr %0, i64 4152
  %307 = load i32, ptr %306, align 8, !tbaa !18
  %308 = load i32, ptr %8, align 4, !tbaa !17
  %309 = icmp slt i32 %307, %308
  br i1 %309, label %310, label %311

310:                                              ; preds = %.loopexit186.split.us
  store i32 %308, ptr %306, align 8, !tbaa !18
  %.pre324 = load i32, ptr %8, align 4, !tbaa !17
  br label %311

311:                                              ; preds = %310, %.loopexit186.split.us
  %312 = phi i32 [ %.pre324, %310 ], [ %308, %.loopexit186.split.us ]
  %313 = load i32, ptr %11, align 4, !tbaa !17
  %314 = add nsw i32 %312, %313
  store i32 %314, ptr %8, align 4, !tbaa !17
  store i32 %13, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  ret ptr %.6
}

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

declare i32 @qh_sharpnewfacets(ptr noundef) local_unnamed_addr #2

declare ptr @qh_findbestlower(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 136}
!10 = !{!"qhT", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !6, 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, !6, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !12, i64 104, !11, i64 112, !11, i64 116, !12, i64 120, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 212, !6, 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, !6, i64 448, !6, i64 456, !6, 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, !6, 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, !6, i64 592, !11, i64 600, !12, i64 608, !12, i64 616, !11, i64 624, !11, i64 628, !11, i64 632, !11, i64 636, !11, i64 640, !12, i64 648, !11, i64 656, !12, 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, !12, i64 1728, !12, i64 1736, !12, i64 1744, !12, i64 1752, !6, i64 1760, !6, i64 1768, !6, i64 1776, !6, i64 1784, !6, i64 1792, !6, i64 1800, !6, i64 1808, !6, i64 1816, !6, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !6, i64 1864, !12, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !11, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !12, i64 2408, !12, i64 2416, !12, i64 2424, !12, i64 2432, !11, i64 2440, !11, i64 2444, !11, i64 2448, !12, i64 2456, !12, i64 2464, !12, i64 2472, !12, i64 2480, !12, i64 2488, !11, i64 2496, !11, i64 2500, !12, i64 2504, !11, i64 2512, !12, i64 2520, !11, i64 2528, !12, i64 2536, !12, i64 2544, !12, i64 2552, !12, 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, !12, i64 2632, !12, i64 2640, !11, i64 2648, !11, i64 2652, !11, i64 2656, !6, i64 2664, !11, i64 2672, !6, i64 2680, !6, i64 2688, !6, i64 2696, !11, i64 2704, !11, i64 2708, !11, i64 2712, !11, i64 2716, !11, i64 2720, !6, i64 2728, !6, i64 2736, !11, i64 2744, !11, i64 2748, !11, i64 2752, !11, i64 2756, !11, i64 2760, !11, i64 2764, !6, i64 2768, !6, i64 2776, !11, i64 2784, !11, i64 2788, !11, i64 2792, !11, i64 2796, !12, i64 2800, !12, i64 2808, !12, i64 2816, !12, i64 2824, !12, i64 2832, !12, i64 2840, !12, i64 2848, !12, i64 2856, !12, i64 2864, !11, i64 2872, !12, i64 2880, !12, i64 2888, !11, i64 2896, !11, i64 2900, !11, i64 2904, !12, i64 2912, !6, i64 2920, !6, i64 2928, !6, i64 2936, !6, i64 2944, !11, i64 2952, !11, i64 2956, !11, i64 2960, !11, i64 2964, !11, i64 2968, !11, i64 2972, !12, i64 2976, !11, i64 2984, !11, i64 2988, !7, i64 2992, !7, i64 3192, !11, i64 3232, !6, i64 3240, !12, i64 3248, !12, i64 3256, !12, i64 3264, !14, i64 3272, !15, i64 3424}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !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, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !11, i64 64, !12, i64 72, !12, 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, !6, i64 5336}
!16 = !{!10, !11, i64 2784}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!10, !11, i64 536}
!20 = !{!10, !11, i64 544}
!21 = !{!10, !12, i64 2424}
!22 = !{!23, !11, i64 108}
!23 = !{!"facetT", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !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}
!24 = !{!10, !6, i64 24}
!25 = !{!10, !11, i64 2620}
!26 = !{!10, !6, i64 2680}
!27 = !{!23, !11, i64 104}
!28 = !{!23, !12, i64 80}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!10, !12, i64 2480}
!34 = !{!10, !11, i64 2716}
!35 = !{!10, !6, i64 1784}
!36 = !{!10, !11, i64 2712}


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