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

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

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

@.str.83 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [101 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_forcedmerges(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !9
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.qhT, ptr %23, i32 0, i32 96
  %25 = load i32, ptr %24, align 8, !tbaa !11
  %26 = sub nsw i32 %25, 1
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.qhT, ptr %27, i32 0, i32 258
  %29 = getelementptr inbounds %struct.qhstatT, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds [249 x %union.intrealT], ptr %29, i64 0, i64 216
  %31 = load i32, ptr %30, align 8, !tbaa !17
  %32 = icmp eq i32 %26, %31
  br i1 %32, label %33, label %42

33:                                               ; preds = %2
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.qhT, ptr %34, i32 0, i32 92
  %36 = load i32, ptr %35, align 8, !tbaa !18
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.qhT, ptr %37, i32 0, i32 29
  store i32 %36, ptr %38, align 8, !tbaa !19
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.qhT, ptr %39, i32 0, i32 257
  %41 = getelementptr inbounds %struct.qhmemT, ptr %40, i32 0, i32 14
  store i32 %36, ptr %41, align 8, !tbaa !20
  br label %42

42:                                               ; preds = %33, %2
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.qhT, ptr %43, i32 0, i32 29
  %45 = load i32, ptr %44, align 8, !tbaa !19
  %46 = icmp sge i32 %45, 3
  br i1 %46, label %47, label %52

47:                                               ; preds = %42
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.qhT, ptr %49, i32 0, i32 158
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %48, ptr noundef %51, i32 noundef 3054, ptr noundef @.str.83)
  br label %52

52:                                               ; preds = %47, %42
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = call ptr @qh_settemppop(ptr noundef %53)
  store ptr %54, ptr %18, align 8, !tbaa !5
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.qhT, ptr %55, i32 0, i32 221
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  %58 = load ptr, ptr %18, align 8, !tbaa !5
  %59 = icmp ne ptr %57, %58
  br i1 %59, label %60, label %74

60:                                               ; preds = %52
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.qhT, ptr %62, i32 0, i32 158
  %64 = load ptr, ptr %63, align 8, !tbaa !21
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = load ptr, ptr %18, align 8, !tbaa !5
  %67 = call i32 @qh_setsize(ptr noundef %65, ptr noundef %66)
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.qhT, ptr %69, i32 0, i32 221
  %71 = load ptr, ptr %70, align 8, !tbaa !22
  %72 = call i32 @qh_setsize(ptr noundef %68, ptr noundef %71)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %61, ptr noundef %64, i32 noundef 6279, ptr noundef @.str.84, i32 noundef %67, i32 noundef %72)
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %73, i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %74

74:                                               ; preds = %60, %52
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.qhT, ptr %76, i32 0, i32 162
  %78 = load i32, ptr %77, align 8, !tbaa !23
  %79 = call ptr @qh_settemp(ptr noundef %75, i32 noundef %78)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.qhT, ptr %80, i32 0, i32 221
  store ptr %79, ptr %81, align 8, !tbaa !22
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load ptr, ptr %18, align 8, !tbaa !5
  call void @qh_settemppush(ptr noundef %82, ptr noundef %83)
  store ptr null, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %318

86:                                               ; preds = %74
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.setT, ptr %87, i32 0, i32 1
  %89 = getelementptr inbounds [1 x %union.setelemT], ptr %88, i64 0, i64 0
  store ptr %89, ptr %11, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %316, %135, %100, %86
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds ptr, ptr %91, i32 1
  store ptr %92, ptr %11, align 8, !tbaa !5
  %93 = load ptr, ptr %91, align 8, !tbaa !5
  store ptr %93, ptr %10, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %317

95:                                               ; preds = %90
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.mergeT, ptr %96, i32 0, i32 8
  %98 = load i32, ptr %97, align 8, !tbaa !24
  %99 = icmp ne i32 %98, 7
  br i1 %99, label %100, label %101

100:                                              ; preds = %95
  br label %90, !llvm.loop !26

101:                                              ; preds = %95
  store i32 1, ptr %22, align 4, !tbaa !9
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.qhT, ptr %102, i32 0, i32 96
  %104 = load i32, ptr %103, align 8, !tbaa !11
  %105 = sub nsw i32 %104, 1
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.qhT, ptr %106, i32 0, i32 258
  %108 = getelementptr inbounds %struct.qhstatT, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds [249 x %union.intrealT], ptr %108, i64 0, i64 216
  %110 = load i32, ptr %109, align 8, !tbaa !17
  %111 = icmp eq i32 %105, %110
  br i1 %111, label %112, label %121

112:                                              ; preds = %101
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.qhT, ptr %113, i32 0, i32 92
  %115 = load i32, ptr %114, align 8, !tbaa !18
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.qhT, ptr %116, i32 0, i32 29
  store i32 %115, ptr %117, align 8, !tbaa !19
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.qhT, ptr %118, i32 0, i32 257
  %120 = getelementptr inbounds %struct.qhmemT, ptr %119, i32 0, i32 14
  store i32 %115, ptr %120, align 8, !tbaa !20
  br label %121

121:                                              ; preds = %112, %101
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.mergeT, ptr %123, i32 0, i32 2
  %125 = load ptr, ptr %124, align 8, !tbaa !28
  %126 = call ptr @qh_getreplacement(ptr noundef %122, ptr noundef %125)
  store ptr %126, ptr %5, align 8, !tbaa !5
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.mergeT, ptr %128, i32 0, i32 3
  %130 = load ptr, ptr %129, align 8, !tbaa !29
  %131 = call ptr @qh_getreplacement(ptr noundef %127, ptr noundef %130)
  store ptr %131, ptr %6, align 8, !tbaa !5
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = icmp eq ptr %132, %133
  br i1 %134, label %135, label %136

135:                                              ; preds = %121
  br label %90, !llvm.loop !26

136:                                              ; preds = %121
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.facetT, ptr %137, i32 0, i32 10
  %139 = load ptr, ptr %138, align 8, !tbaa !30
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = call i32 @qh_setin(ptr noundef %139, ptr noundef %140)
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %167, label %143

143:                                              ; preds = %136
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.qhT, ptr %145, i32 0, i32 158
  %147 = load ptr, ptr %146, align 8, !tbaa !21
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.mergeT, ptr %148, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !28
  %151 = getelementptr inbounds %struct.facetT, ptr %150, i32 0, i32 14
  %152 = load i32, ptr %151, align 4, !tbaa !32
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.mergeT, ptr %153, i32 0, i32 3
  %155 = load ptr, ptr %154, align 8, !tbaa !29
  %156 = getelementptr inbounds %struct.facetT, ptr %155, i32 0, i32 14
  %157 = load i32, ptr %156, align 4, !tbaa !32
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.facetT, ptr %158, i32 0, i32 14
  %160 = load i32, ptr %159, align 4, !tbaa !32
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.facetT, ptr %161, i32 0, i32 14
  %163 = load i32, ptr %162, align 4, !tbaa !32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %144, ptr noundef %147, i32 noundef 6096, ptr noundef @.str.85, i32 noundef %152, i32 noundef %157, i32 noundef %160, i32 noundef %163)
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_errexit2(ptr noundef %164, i32 noundef 5, ptr noundef %165, ptr noundef %166)
  br label %167

167:                                              ; preds = %143, %136
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = call double @qh_getdistance(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %13, ptr noundef %14)
  store double %171, ptr %12, align 8, !tbaa !33
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = call double @qh_getdistance(ptr noundef %172, ptr noundef %173, ptr noundef %174, ptr noundef %16, ptr noundef %17)
  store double %175, ptr %15, align 8, !tbaa !33
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = load double, ptr %12, align 8, !tbaa !33
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = load double, ptr %15, align 8, !tbaa !33
  call void @qh_check_dupridge(ptr noundef %176, ptr noundef %177, double noundef %178, ptr noundef %179, double noundef %180)
  %181 = load double, ptr %12, align 8, !tbaa !33
  %182 = load double, ptr %15, align 8, !tbaa !33
  %183 = fcmp olt double %181, %182
  br i1 %183, label %184, label %219

184:                                              ; preds = %167
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.facetT, ptr %185, i32 0, i32 15
  %187 = load i32, ptr %186, align 8
  %188 = lshr i32 %187, 16
  %189 = and i32 %188, 1
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %215

191:                                              ; preds = %184
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.facetT, ptr %192, i32 0, i32 15
  %194 = load i32, ptr %193, align 8
  %195 = lshr i32 %194, 16
  %196 = and i32 %195, 1
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %215, label %198

198:                                              ; preds = %191
  %199 = load double, ptr %15, align 8, !tbaa !33
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.qhT, ptr %200, i32 0, i32 147
  %202 = load double, ptr %201, align 8, !tbaa !34
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.qhT, ptr %203, i32 0, i32 134
  %205 = load double, ptr %204, align 8, !tbaa !35
  %206 = fadd double %202, %205
  %207 = fmul double 5.000000e+01, %206
  %208 = fcmp olt double %199, %207
  br i1 %208, label %209, label %215

209:                                              ; preds = %198
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %210, ptr %7, align 8, !tbaa !5
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %211, ptr %8, align 8, !tbaa !5
  %212 = load double, ptr %15, align 8, !tbaa !33
  store double %212, ptr %12, align 8, !tbaa !33
  %213 = load double, ptr %16, align 8, !tbaa !33
  store double %213, ptr %13, align 8, !tbaa !33
  %214 = load double, ptr %17, align 8, !tbaa !33
  store double %214, ptr %14, align 8, !tbaa !33
  br label %218

215:                                              ; preds = %198, %191, %184
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %216, ptr %7, align 8, !tbaa !5
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %217, ptr %8, align 8, !tbaa !5
  br label %218

218:                                              ; preds = %215, %209
  br label %254

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

226:                                              ; preds = %219
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.facetT, ptr %227, i32 0, i32 15
  %229 = load i32, ptr %228, align 8
  %230 = lshr i32 %229, 16
  %231 = and i32 %230, 1
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %247, label %233

233:                                              ; preds = %226
  %234 = load double, ptr %12, align 8, !tbaa !33
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.qhT, ptr %235, i32 0, i32 147
  %237 = load double, ptr %236, align 8, !tbaa !34
  %238 = load ptr, ptr %3, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.qhT, ptr %238, i32 0, i32 134
  %240 = load double, ptr %239, align 8, !tbaa !35
  %241 = fadd double %237, %240
  %242 = fmul double 5.000000e+01, %241
  %243 = fcmp olt double %234, %242
  br i1 %243, label %244, label %247

244:                                              ; preds = %233
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %245, ptr %7, align 8, !tbaa !5
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %246, ptr %8, align 8, !tbaa !5
  br label %253

247:                                              ; preds = %233, %226, %219
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %248, ptr %7, align 8, !tbaa !5
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %249, ptr %8, align 8, !tbaa !5
  %250 = load double, ptr %15, align 8, !tbaa !33
  store double %250, ptr %12, align 8, !tbaa !33
  %251 = load double, ptr %16, align 8, !tbaa !33
  store double %251, ptr %13, align 8, !tbaa !33
  %252 = load double, ptr %17, align 8, !tbaa !33
  store double %252, ptr %14, align 8, !tbaa !33
  br label %253

253:                                              ; preds = %247, %244
  br label %254

254:                                              ; preds = %253, %218
  %255 = load ptr, ptr %3, align 8, !tbaa !5
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = load ptr, ptr %8, align 8, !tbaa !5
  %258 = load ptr, ptr %10, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.mergeT, ptr %258, i32 0, i32 8
  %260 = load i32, ptr %259, align 8, !tbaa !24
  call void @qh_mergefacet(ptr noundef %255, ptr noundef %256, ptr noundef %257, i32 noundef %260, ptr noundef %13, ptr noundef %14, i32 noundef 0)
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = call i32 @qh_merge_degenredundant(ptr noundef %261)
  %263 = load i32, ptr %21, align 4, !tbaa !9
  %264 = add nsw i32 %263, %262
  store i32 %264, ptr %21, align 4, !tbaa !9
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.facetT, ptr %265, i32 0, i32 15
  %267 = load i32, ptr %266, align 8
  %268 = lshr i32 %267, 16
  %269 = and i32 %268, 1
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %280

271:                                              ; preds = %254
  %272 = load ptr, ptr %3, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.qhT, ptr %272, i32 0, i32 258
  %274 = getelementptr inbounds %struct.qhstatT, ptr %273, i32 0, i32 0
  %275 = getelementptr inbounds [249 x %union.intrealT], ptr %274, i64 0, i64 127
  %276 = load i32, ptr %275, align 8, !tbaa !17
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %275, align 8, !tbaa !17
  %278 = load i32, ptr %20, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %20, align 4, !tbaa !9
  br label %283

280:                                              ; preds = %254
  %281 = load i32, ptr %19, align 4, !tbaa !9
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %19, align 4, !tbaa !9
  br label %283

283:                                              ; preds = %280, %271
  %284 = load ptr, ptr %3, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.qhT, ptr %284, i32 0, i32 67
  %286 = load i32, ptr %285, align 8, !tbaa !36
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %316

288:                                              ; preds = %283
  %289 = load ptr, ptr %3, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.qhT, ptr %289, i32 0, i32 258
  %291 = getelementptr inbounds %struct.qhstatT, ptr %290, i32 0, i32 0
  %292 = getelementptr inbounds [249 x %union.intrealT], ptr %291, i64 0, i64 80
  %293 = load i32, ptr %292, align 8, !tbaa !17
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %292, align 8, !tbaa !17
  %295 = load double, ptr %12, align 8, !tbaa !33
  %296 = load ptr, ptr %3, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.qhT, ptr %296, i32 0, i32 258
  %298 = getelementptr inbounds %struct.qhstatT, ptr %297, i32 0, i32 0
  %299 = getelementptr inbounds [249 x %union.intrealT], ptr %298, i64 0, i64 82
  %300 = load double, ptr %299, align 8, !tbaa !17
  %301 = fadd double %300, %295
  store double %301, ptr %299, align 8, !tbaa !17
  %302 = load ptr, ptr %3, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.qhT, ptr %302, i32 0, i32 258
  %304 = getelementptr inbounds %struct.qhstatT, ptr %303, i32 0, i32 0
  %305 = getelementptr inbounds [249 x %union.intrealT], ptr %304, i64 0, i64 81
  %306 = load double, ptr %305, align 8, !tbaa !17
  %307 = load double, ptr %12, align 8, !tbaa !33
  %308 = fcmp olt double %306, %307
  br i1 %308, label %309, label %315

309:                                              ; preds = %288
  %310 = load double, ptr %12, align 8, !tbaa !33
  %311 = load ptr, ptr %3, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.qhT, ptr %311, i32 0, i32 258
  %313 = getelementptr inbounds %struct.qhstatT, ptr %312, i32 0, i32 0
  %314 = getelementptr inbounds [249 x %union.intrealT], ptr %313, i64 0, i64 81
  store double %310, ptr %314, align 8, !tbaa !17
  br label %315

315:                                              ; preds = %309, %288
  br label %316

316:                                              ; preds = %315, %283
  br label %90, !llvm.loop !26

317:                                              ; preds = %90
  br label %318

318:                                              ; preds = %317, %74
  store ptr null, ptr %10, align 8, !tbaa !5
  %319 = load ptr, ptr %18, align 8, !tbaa !5
  %320 = icmp ne ptr %319, null
  br i1 %320, label %321, label %345

321:                                              ; preds = %318
  %322 = load ptr, ptr %18, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.setT, ptr %322, i32 0, i32 1
  %324 = getelementptr inbounds [1 x %union.setelemT], ptr %323, i64 0, i64 0
  store ptr %324, ptr %11, align 8, !tbaa !5
  br label %325

325:                                              ; preds = %343, %321
  %326 = load ptr, ptr %11, align 8, !tbaa !5
  %327 = getelementptr inbounds ptr, ptr %326, i32 1
  store ptr %327, ptr %11, align 8, !tbaa !5
  %328 = load ptr, ptr %326, align 8, !tbaa !5
  store ptr %328, ptr %10, align 8, !tbaa !5
  %329 = icmp ne ptr %328, null
  br i1 %329, label %330, label %344

330:                                              ; preds = %325
  %331 = load ptr, ptr %10, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.mergeT, ptr %331, i32 0, i32 8
  %333 = load i32, ptr %332, align 8, !tbaa !24
  %334 = icmp eq i32 %333, 7
  br i1 %334, label %335, label %338

335:                                              ; preds = %330
  %336 = load ptr, ptr %3, align 8, !tbaa !5
  %337 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_memfree(ptr noundef %336, ptr noundef %337, i32 noundef 72)
  br label %343

338:                                              ; preds = %330
  %339 = load ptr, ptr %3, align 8, !tbaa !5
  %340 = load ptr, ptr %3, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.qhT, ptr %340, i32 0, i32 221
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %339, ptr noundef %341, ptr noundef %342)
  br label %343

343:                                              ; preds = %338, %335
  br label %325, !llvm.loop !37

344:                                              ; preds = %325
  br label %345

345:                                              ; preds = %344, %318
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %346, ptr noundef %18)
  %347 = load i32, ptr %22, align 4, !tbaa !9
  %348 = icmp ne i32 %347, 0
  br i1 %348, label %349, label %426

349:                                              ; preds = %345
  %350 = load ptr, ptr %3, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.qhT, ptr %350, i32 0, i32 166
  %352 = load ptr, ptr %351, align 8, !tbaa !38
  store ptr %352, ptr %9, align 8, !tbaa !5
  br label %353

353:                                              ; preds = %417, %349
  %354 = load ptr, ptr %9, align 8, !tbaa !5
  %355 = icmp ne ptr %354, null
  br i1 %355, label %356, label %361

356:                                              ; preds = %353
  %357 = load ptr, ptr %9, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.facetT, ptr %357, i32 0, i32 7
  %359 = load ptr, ptr %358, align 8, !tbaa !39
  %360 = icmp ne ptr %359, null
  br label %361

361:                                              ; preds = %356, %353
  %362 = phi i1 [ false, %353 ], [ %360, %356 ]
  br i1 %362, label %363, label %421

363:                                              ; preds = %361
  %364 = load ptr, ptr %9, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.facetT, ptr %364, i32 0, i32 15
  %366 = load i32, ptr %365, align 8
  %367 = lshr i32 %366, 21
  %368 = and i32 %367, 1
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %370, label %416

370:                                              ; preds = %363
  %371 = load ptr, ptr %9, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.facetT, ptr %371, i32 0, i32 15
  %373 = load i32, ptr %372, align 8
  %374 = and i32 %373, -2097153
  %375 = or i32 %374, 0
  store i32 %375, ptr %372, align 8
  %376 = load ptr, ptr %9, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.facetT, ptr %376, i32 0, i32 15
  %378 = load i32, ptr %377, align 8
  %379 = and i32 %378, -4194305
  %380 = or i32 %379, 0
  store i32 %380, ptr %377, align 8
  %381 = load ptr, ptr %9, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.facetT, ptr %381, i32 0, i32 15
  %383 = load i32, ptr %382, align 8
  %384 = and i32 %383, -8388609
  %385 = or i32 %384, 0
  store i32 %385, ptr %382, align 8
  %386 = load ptr, ptr %3, align 8, !tbaa !5
  %387 = load ptr, ptr %9, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.facetT, ptr %387, i32 0, i32 10
  %389 = load ptr, ptr %388, align 8, !tbaa !30
  %390 = call i32 @qh_setsize(ptr noundef %386, ptr noundef %389)
  %391 = load ptr, ptr %3, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.qhT, ptr %391, i32 0, i32 110
  %393 = load i32, ptr %392, align 8, !tbaa !40
  %394 = icmp slt i32 %390, %393
  br i1 %394, label %395, label %415

395:                                              ; preds = %370
  %396 = load ptr, ptr %3, align 8, !tbaa !5
  %397 = load ptr, ptr %9, align 8, !tbaa !5
  %398 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_appendmergeset(ptr noundef %396, ptr noundef %397, ptr noundef %398, i32 noundef 10, double noundef 0.000000e+00, double noundef 1.000000e+00)
  %399 = load ptr, ptr %3, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.qhT, ptr %399, i32 0, i32 29
  %401 = load i32, ptr %400, align 8, !tbaa !19
  %402 = icmp sge i32 %401, 2
  br i1 %402, label %403, label %414

403:                                              ; preds = %395
  %404 = load ptr, ptr %3, align 8, !tbaa !5
  %405 = load ptr, ptr %3, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.qhT, ptr %405, i32 0, i32 158
  %407 = load ptr, ptr %406, align 8, !tbaa !21
  %408 = load ptr, ptr %9, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.facetT, ptr %408, i32 0, i32 14
  %410 = load i32, ptr %409, align 4, !tbaa !32
  %411 = load ptr, ptr %3, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.qhT, ptr %411, i32 0, i32 110
  %413 = load i32, ptr %412, align 8, !tbaa !40
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %404, ptr noundef %407, i32 noundef 2107, ptr noundef @.str.86, i32 noundef %410, i32 noundef %413)
  br label %414

414:                                              ; preds = %403, %395
  br label %415

415:                                              ; preds = %414, %370
  br label %416

416:                                              ; preds = %415, %363
  br label %417

417:                                              ; preds = %416
  %418 = load ptr, ptr %9, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.facetT, ptr %418, i32 0, i32 7
  %420 = load ptr, ptr %419, align 8, !tbaa !39
  store ptr %420, ptr %9, align 8, !tbaa !5
  br label %353, !llvm.loop !41

421:                                              ; preds = %361
  %422 = load ptr, ptr %3, align 8, !tbaa !5
  %423 = call i32 @qh_merge_degenredundant(ptr noundef %422)
  %424 = load i32, ptr %21, align 4, !tbaa !9
  %425 = add nsw i32 %424, %423
  store i32 %425, ptr %21, align 4, !tbaa !9
  br label %426

426:                                              ; preds = %421, %345
  %427 = load i32, ptr %19, align 4, !tbaa !9
  %428 = icmp ne i32 %427, 0
  br i1 %428, label %432, label %429

429:                                              ; preds = %426
  %430 = load i32, ptr %20, align 4, !tbaa !9
  %431 = icmp ne i32 %430, 0
  br i1 %431, label %432, label %447

432:                                              ; preds = %429, %426
  %433 = load ptr, ptr %4, align 8, !tbaa !5
  store i32 1, ptr %433, align 4, !tbaa !9
  %434 = load ptr, ptr %3, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.qhT, ptr %434, i32 0, i32 29
  %436 = load i32, ptr %435, align 8, !tbaa !19
  %437 = icmp sge i32 %436, 1
  br i1 %437, label %438, label %446

438:                                              ; preds = %432
  %439 = load ptr, ptr %3, align 8, !tbaa !5
  %440 = load ptr, ptr %3, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.qhT, ptr %440, i32 0, i32 158
  %442 = load ptr, ptr %441, align 8, !tbaa !21
  %443 = load i32, ptr %19, align 4, !tbaa !9
  %444 = load i32, ptr %20, align 4, !tbaa !9
  %445 = load i32, ptr %21, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %439, ptr noundef %442, i32 noundef 1011, ptr noundef @.str.87, i32 noundef %443, i32 noundef %444, i32 noundef %445)
  br label %446

446:                                              ; preds = %438, %432
  br label %447

447:                                              ; preds = %446, %429
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

declare ptr @qh_settemppop(ptr noundef) #1

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

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

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

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

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

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


; 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.83 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [101 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_forcedmerges(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #2 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %8 = getelementptr inbounds i8, ptr %0, i64 560
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = add nsw i32 %9, -1
  %11 = getelementptr inbounds i8, ptr %0, i64 5152
  %12 = load i32, ptr %11, align 8, !tbaa !15
  %13 = icmp eq i32 %10, %12
  br i1 %13, label %14, label %._crit_edge

._crit_edge:                                      ; preds = %2
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 136
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !16
  br label %19

14:                                               ; preds = %2
  %15 = getelementptr inbounds i8, ptr %0, i64 536
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %16, ptr %17, align 8, !tbaa !16
  %18 = getelementptr inbounds i8, ptr %0, i64 3360
  store i32 %16, ptr %18, align 8, !tbaa !18
  br label %19

19:                                               ; preds = %._crit_edge, %14
  %20 = phi i32 [ %.pre, %._crit_edge ], [ %16, %14 ]
  %21 = getelementptr inbounds i8, ptr %0, i64 136
  %22 = icmp sgt i32 %20, 2
  br i1 %22, label %23, label %26

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %0, i64 2424
  %25 = load ptr, ptr %24, align 8, !tbaa !19
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %25, i32 noundef 3054, ptr noundef nonnull @.str.83) #3
  br label %26

26:                                               ; preds = %23, %19
  %27 = tail call ptr @qh_settemppop(ptr noundef nonnull %0) #3
  store ptr %27, ptr %7, align 8, !tbaa !20
  %28 = getelementptr inbounds i8, ptr %0, i64 2800
  %29 = load ptr, ptr %28, align 8, !tbaa !21
  %.not = icmp eq ptr %29, %27
  br i1 %.not, label %36, label %30

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %0, i64 2424
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  %33 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %27) #3
  %34 = load ptr, ptr %28, align 8, !tbaa !21
  %35 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %34) #3
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %32, i32 noundef 6279, ptr noundef nonnull @.str.84, i32 noundef %33, i32 noundef %35) #3
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 5, ptr noundef null, ptr noundef null) #3
  br label %36

36:                                               ; preds = %30, %26
  %37 = getelementptr inbounds i8, ptr %0, i64 2448
  %38 = load i32, ptr %37, align 8, !tbaa !22
  %39 = tail call ptr @qh_settemp(ptr noundef nonnull %0, i32 noundef %38) #3
  store ptr %39, ptr %28, align 8, !tbaa !21
  tail call void @qh_settemppush(ptr noundef nonnull %0, ptr noundef %27) #3
  %.not159 = icmp eq ptr %27, null
  br i1 %.not159, label %.thread184, label %40

.thread184:                                       ; preds = %36
  call void @qh_settempfree(ptr noundef nonnull %0, ptr noundef nonnull %7) #3
  br label %191

40:                                               ; preds = %36
  %41 = getelementptr inbounds i8, ptr %27, i64 8
  %42 = getelementptr inbounds i8, ptr %0, i64 536
  %43 = getelementptr inbounds i8, ptr %0, i64 3360
  %44 = getelementptr inbounds i8, ptr %0, i64 2424
  %45 = getelementptr inbounds i8, ptr %0, i64 1888
  %46 = getelementptr inbounds i8, ptr %0, i64 1784
  %47 = getelementptr inbounds i8, ptr %0, i64 4440
  %48 = getelementptr inbounds i8, ptr %0, i64 424
  %49 = getelementptr inbounds i8, ptr %0, i64 4064
  %50 = getelementptr inbounds i8, ptr %0, i64 4080
  %51 = getelementptr inbounds i8, ptr %0, i64 4072
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %40
  %.0144.ph = phi ptr [ %41, %40 ], [ %55, %.outer.backedge ]
  %.0139.ph = phi i32 [ 0, %40 ], [ %.1140, %.outer.backedge ]
  %.0136.ph = phi i32 [ 0, %40 ], [ %.1137, %.outer.backedge ]
  %.0134.ph = phi i32 [ 0, %40 ], [ %133, %.outer.backedge ]
  %.0.ph = phi i32 [ 0, %40 ], [ 1, %.outer.backedge ]
  br label %.outer192

.outer192:                                        ; preds = %.outer, %65
  %.0144.ph193 = phi ptr [ %.0144.ph, %.outer ], [ %55, %65 ]
  %.0.ph194 = phi i32 [ %.0.ph, %.outer ], [ 1, %65 ]
  br label %52

52:                                               ; preds = %.outer192, %54
  %.0144 = phi ptr [ %55, %54 ], [ %.0144.ph193, %.outer192 ]
  %53 = load ptr, ptr %.0144, align 8, !tbaa !20
  %.not160 = icmp eq ptr %53, null
  br i1 %.not160, label %153, label %54

54:                                               ; preds = %52
  %55 = getelementptr inbounds i8, ptr %.0144, i64 8
  %56 = getelementptr inbounds i8, ptr %53, i64 64
  %57 = load i32, ptr %56, align 8, !tbaa !23
  %.not167 = icmp eq i32 %57, 7
  br i1 %.not167, label %58, label %52, !llvm.loop !25

58:                                               ; preds = %54
  %59 = load i32, ptr %8, align 8, !tbaa !5
  %60 = add nsw i32 %59, -1
  %61 = load i32, ptr %11, align 8, !tbaa !15
  %62 = icmp eq i32 %60, %61
  br i1 %62, label %63, label %65

63:                                               ; preds = %58
  %64 = load i32, ptr %42, align 8, !tbaa !17
  store i32 %64, ptr %21, align 8, !tbaa !16
  store i32 %64, ptr %43, align 8, !tbaa !18
  br label %65

65:                                               ; preds = %63, %58
  %66 = getelementptr inbounds i8, ptr %53, i64 16
  %67 = load ptr, ptr %66, align 8, !tbaa !27
  %68 = call ptr @qh_getreplacement(ptr noundef nonnull %0, ptr noundef %67) #3
  %69 = getelementptr inbounds i8, ptr %53, i64 24
  %70 = load ptr, ptr %69, align 8, !tbaa !28
  %71 = call ptr @qh_getreplacement(ptr noundef nonnull %0, ptr noundef %70) #3
  %72 = icmp eq ptr %68, %71
  br i1 %72, label %.outer192, label %73, !llvm.loop !25

73:                                               ; preds = %65
  %74 = getelementptr inbounds i8, ptr %53, i64 64
  %75 = getelementptr inbounds i8, ptr %71, i64 80
  %76 = load ptr, ptr %75, align 8, !tbaa !29
  %77 = call i32 @qh_setin(ptr noundef %76, ptr noundef %68) #3
  %.not168 = icmp eq i32 %77, 0
  br i1 %.not168, label %78, label %92

78:                                               ; preds = %73
  %79 = getelementptr inbounds i8, ptr %53, i64 24
  %80 = getelementptr inbounds i8, ptr %53, i64 16
  %81 = load ptr, ptr %44, align 8, !tbaa !19
  %82 = load ptr, ptr %80, align 8, !tbaa !27
  %83 = getelementptr inbounds i8, ptr %82, i64 108
  %84 = load i32, ptr %83, align 4, !tbaa !31
  %85 = load ptr, ptr %79, align 8, !tbaa !28
  %86 = getelementptr inbounds i8, ptr %85, i64 108
  %87 = load i32, ptr %86, align 4, !tbaa !31
  %88 = getelementptr inbounds i8, ptr %68, i64 108
  %89 = load i32, ptr %88, align 4, !tbaa !31
  %90 = getelementptr inbounds i8, ptr %71, i64 108
  %91 = load i32, ptr %90, align 4, !tbaa !31
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %81, i32 noundef 6096, ptr noundef nonnull @.str.85, i32 noundef %84, i32 noundef %87, i32 noundef %89, i32 noundef %91) #3
  call void @qh_errexit2(ptr noundef nonnull %0, i32 noundef 5, ptr noundef %68, ptr noundef nonnull %71) #3
  br label %92

92:                                               ; preds = %78, %73
  %93 = call double @qh_getdistance(ptr noundef nonnull %0, ptr noundef %68, ptr noundef nonnull %71, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
  %94 = call double @qh_getdistance(ptr noundef nonnull %0, ptr noundef nonnull %71, ptr noundef %68, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
  call void @qh_check_dupridge(ptr noundef nonnull %0, ptr noundef %68, double noundef %93, ptr noundef nonnull %71, double noundef %94)
  %95 = fcmp olt double %93, %94
  br i1 %95, label %96, label %113

96:                                               ; preds = %92
  %97 = getelementptr inbounds i8, ptr %71, i64 112
  %98 = load i32, ptr %97, align 8
  %99 = and i32 %98, 65536
  %.not171 = icmp eq i32 %99, 0
  br i1 %.not171, label %130, label %100

100:                                              ; preds = %96
  %101 = getelementptr inbounds i8, ptr %68, i64 112
  %102 = load i32, ptr %101, align 8
  %103 = and i32 %102, 65536
  %.not172 = icmp eq i32 %103, 0
  br i1 %.not172, label %104, label %130

104:                                              ; preds = %100
  %105 = load double, ptr %45, align 8, !tbaa !32
  %106 = load double, ptr %46, align 8, !tbaa !33
  %107 = fadd double %105, %106
  %108 = fmul double %107, 5.000000e+01
  %109 = fcmp olt double %94, %108
  br i1 %109, label %110, label %130

110:                                              ; preds = %104
  %111 = load double, ptr %5, align 8, !tbaa !34
  store double %111, ptr %3, align 8, !tbaa !34
  %112 = load double, ptr %6, align 8, !tbaa !34
  store double %112, ptr %4, align 8, !tbaa !34
  br label %130

113:                                              ; preds = %92
  %114 = getelementptr inbounds i8, ptr %68, i64 112
  %115 = load i32, ptr %114, align 8
  %116 = and i32 %115, 65536
  %.not169 = icmp eq i32 %116, 0
  br i1 %.not169, label %127, label %117

117:                                              ; preds = %113
  %118 = getelementptr inbounds i8, ptr %71, i64 112
  %119 = load i32, ptr %118, align 8
  %120 = and i32 %119, 65536
  %.not170 = icmp eq i32 %120, 0
  br i1 %.not170, label %121, label %127

121:                                              ; preds = %117
  %122 = load double, ptr %45, align 8, !tbaa !32
  %123 = load double, ptr %46, align 8, !tbaa !33
  %124 = fadd double %122, %123
  %125 = fmul double %124, 5.000000e+01
  %126 = fcmp olt double %93, %125
  br i1 %126, label %130, label %127

127:                                              ; preds = %121, %117, %113
  %128 = load double, ptr %5, align 8, !tbaa !34
  store double %128, ptr %3, align 8, !tbaa !34
  %129 = load double, ptr %6, align 8, !tbaa !34
  store double %129, ptr %4, align 8, !tbaa !34
  br label %130

130:                                              ; preds = %121, %96, %100, %104, %127, %110
  %.0147 = phi ptr [ %68, %110 ], [ %68, %127 ], [ %71, %104 ], [ %71, %100 ], [ %71, %96 ], [ %71, %121 ]
  %.0143 = phi double [ %94, %110 ], [ %94, %127 ], [ %93, %104 ], [ %93, %100 ], [ %93, %96 ], [ %93, %121 ]
  %.0142 = phi ptr [ %71, %110 ], [ %71, %127 ], [ %68, %104 ], [ %68, %100 ], [ %68, %96 ], [ %68, %121 ]
  %131 = load i32, ptr %74, align 8, !tbaa !23
  call void @qh_mergefacet(ptr noundef nonnull %0, ptr noundef %.0142, ptr noundef nonnull %.0147, i32 noundef %131, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 0)
  %132 = call i32 @qh_merge_degenredundant(ptr noundef nonnull %0)
  %133 = add nsw i32 %132, %.0134.ph
  %134 = getelementptr inbounds i8, ptr %68, i64 112
  %135 = load i32, ptr %134, align 8
  %136 = and i32 %135, 65536
  %.not173 = icmp eq i32 %136, 0
  br i1 %.not173, label %141, label %137

137:                                              ; preds = %130
  %138 = load i32, ptr %47, align 8, !tbaa !15
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %47, align 8, !tbaa !15
  %140 = add nsw i32 %.0136.ph, 1
  br label %143

141:                                              ; preds = %130
  %142 = add nsw i32 %.0139.ph, 1
  br label %143

143:                                              ; preds = %141, %137
  %.1140 = phi i32 [ %.0139.ph, %137 ], [ %142, %141 ]
  %.1137 = phi i32 [ %140, %137 ], [ %.0136.ph, %141 ]
  %144 = load i32, ptr %48, align 8, !tbaa !35
  %.not174 = icmp eq i32 %144, 0
  br i1 %.not174, label %.outer.backedge, label %145

145:                                              ; preds = %143
  %146 = load i32, ptr %49, align 8, !tbaa !15
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %49, align 8, !tbaa !15
  %148 = load double, ptr %50, align 8, !tbaa !15
  %149 = fadd double %.0143, %148
  store double %149, ptr %50, align 8, !tbaa !15
  %150 = load double, ptr %51, align 8, !tbaa !15
  %151 = fcmp olt double %150, %.0143
  br i1 %151, label %152, label %.outer.backedge

.outer.backedge:                                  ; preds = %145, %152, %143
  br label %.outer, !llvm.loop !25

152:                                              ; preds = %145
  store double %.0143, ptr %51, align 8, !tbaa !15
  br label %.outer.backedge

153:                                              ; preds = %52
  %.pr = load ptr, ptr %7, align 8, !tbaa !20
  %.not161 = icmp eq ptr %.pr, null
  br i1 %.not161, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %153
  %.1145205 = getelementptr inbounds i8, ptr %.pr, i64 8
  %154 = load ptr, ptr %.1145205, align 8, !tbaa !20
  %.not162206 = icmp eq ptr %154, null
  br i1 %.not162206, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %161
  %155 = phi ptr [ %162, %161 ], [ %154, %.preheader ]
  %.1145207 = phi ptr [ %.1145, %161 ], [ %.1145205, %.preheader ]
  %156 = getelementptr inbounds i8, ptr %155, i64 64
  %157 = load i32, ptr %156, align 8, !tbaa !23
  %158 = icmp eq i32 %157, 7
  br i1 %158, label %159, label %160

159:                                              ; preds = %.lr.ph
  call void @qh_memfree(ptr noundef %0, ptr noundef nonnull %155, i32 noundef 72) #3
  br label %161

160:                                              ; preds = %.lr.ph
  call void @qh_setappend(ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull %155) #3
  br label %161

161:                                              ; preds = %160, %159
  %.1145 = getelementptr inbounds i8, ptr %.1145207, i64 8
  %162 = load ptr, ptr %.1145, align 8, !tbaa !20
  %.not162 = icmp eq ptr %162, null
  br i1 %.not162, label %.loopexit, label %.lr.ph, !llvm.loop !36

.loopexit:                                        ; preds = %161, %.preheader, %153
  call void @qh_settempfree(ptr noundef %0, ptr noundef nonnull %7) #3
  %.not163 = icmp eq i32 %.0.ph194, 0
  br i1 %.not163, label %191, label %163

163:                                              ; preds = %.loopexit
  %164 = getelementptr inbounds i8, ptr %0, i64 2480
  %.0146208 = load ptr, ptr %164, align 8, !tbaa !20
  %.not164209 = icmp eq ptr %.0146208, null
  br i1 %.not164209, label %.critedge, label %.lr.ph211

.lr.ph211:                                        ; preds = %163
  %165 = getelementptr inbounds i8, ptr %0, i64 632
  br label %166

166:                                              ; preds = %.lr.ph211, %188
  %.0146210 = phi ptr [ %.0146208, %.lr.ph211 ], [ %.0146, %188 ]
  %167 = getelementptr inbounds i8, ptr %.0146210, i64 56
  %168 = load ptr, ptr %167, align 8, !tbaa !37
  %.not165 = icmp eq ptr %168, null
  br i1 %.not165, label %.critedge, label %169

169:                                              ; preds = %166
  %170 = getelementptr inbounds i8, ptr %.0146210, i64 112
  %171 = load i32, ptr %170, align 8
  %172 = and i32 %171, 2097152
  %.not166 = icmp eq i32 %172, 0
  br i1 %.not166, label %188, label %173

173:                                              ; preds = %169
  %174 = and i32 %171, -14680065
  store i32 %174, ptr %170, align 8
  %175 = getelementptr inbounds i8, ptr %.0146210, i64 80
  %176 = load ptr, ptr %175, align 8, !tbaa !29
  %177 = call i32 @qh_setsize(ptr noundef %0, ptr noundef %176) #3
  %178 = load i32, ptr %165, align 8, !tbaa !38
  %179 = icmp slt i32 %177, %178
  br i1 %179, label %180, label %188

180:                                              ; preds = %173
  call void @qh_appendmergeset(ptr noundef nonnull %0, ptr noundef nonnull %.0146210, ptr noundef nonnull %.0146210, i32 noundef 10, double noundef 0.000000e+00, double noundef 1.000000e+00)
  %181 = load i32, ptr %21, align 8, !tbaa !16
  %182 = icmp sgt i32 %181, 1
  br i1 %182, label %183, label %188

183:                                              ; preds = %180
  %184 = load ptr, ptr %44, align 8, !tbaa !19
  %185 = getelementptr inbounds i8, ptr %.0146210, i64 108
  %186 = load i32, ptr %185, align 4, !tbaa !31
  %187 = load i32, ptr %165, align 8, !tbaa !38
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %184, i32 noundef 2107, ptr noundef nonnull @.str.86, i32 noundef %186, i32 noundef %187) #3
  br label %188

188:                                              ; preds = %169, %180, %183, %173
  %.0146 = load ptr, ptr %167, align 8, !tbaa !20
  %.not164 = icmp eq ptr %.0146, null
  br i1 %.not164, label %.critedge, label %166, !llvm.loop !39

.critedge:                                        ; preds = %166, %188, %163
  %189 = call i32 @qh_merge_degenredundant(ptr noundef %0)
  %190 = add nsw i32 %189, %.0134.ph
  br label %191

191:                                              ; preds = %.thread184, %.critedge, %.loopexit
  %.2141180191 = phi i32 [ %.0139.ph, %.critedge ], [ %.0139.ph, %.loopexit ], [ 0, %.thread184 ]
  %.2138181190 = phi i32 [ %.0136.ph, %.critedge ], [ %.0136.ph, %.loopexit ], [ 0, %.thread184 ]
  %.2 = phi i32 [ %190, %.critedge ], [ %.0134.ph, %.loopexit ], [ 0, %.thread184 ]
  %192 = icmp ne i32 %.2141180191, 0
  %193 = icmp ne i32 %.2138181190, 0
  %or.cond = select i1 %192, i1 true, i1 %193
  br i1 %or.cond, label %194, label %200

194:                                              ; preds = %191
  store i32 1, ptr %1, align 4, !tbaa !40
  %195 = load i32, ptr %21, align 8, !tbaa !16
  %196 = icmp sgt i32 %195, 0
  br i1 %196, label %197, label %200

197:                                              ; preds = %194
  %198 = getelementptr inbounds i8, ptr %0, i64 2424
  %199 = load ptr, ptr %198, align 8, !tbaa !19
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %199, i32 noundef 1011, ptr noundef nonnull @.str.87, i32 noundef %.2141180191, i32 noundef %.2138181190, i32 noundef %.2) #3
  br label %200

200:                                              ; preds = %194, %197, %191
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

declare ptr @qh_settemppop(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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


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