; 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.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@.str.112 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

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

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

; 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 ptr @qh_setdel(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @qh_maydropneighbor(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
  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
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.qhT, ptr %9, i32 0, i32 217
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = add i32 %11, 1
  store i32 %12, ptr %10, align 8, !tbaa !9
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.qhT, ptr %13, i32 0, i32 29
  %15 = load i32, ptr %14, align 8, !tbaa !16
  %16 = icmp sge i32 %15, 4
  br i1 %16, label %17, label %25

17:                                               ; preds = %2
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.qhT, ptr %19, i32 0, i32 158
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.facetT, ptr %22, i32 0, i32 14
  %24 = load i32, ptr %23, align 4, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %18, ptr noundef %21, i32 noundef 4029, ptr noundef @.str.112, i32 noundef %24)
  br label %25

25:                                               ; preds = %17, %2
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.facetT, ptr %26, i32 0, i32 15
  %28 = load i32, ptr %27, align 8
  %29 = lshr i32 %28, 13
  %30 = and i32 %29, 1
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %45

32:                                               ; preds = %25
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.qhT, ptr %34, i32 0, i32 158
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.facetT, ptr %37, i32 0, i32 14
  %39 = load i32, ptr %38, align 4, !tbaa !18
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.qhT, ptr %40, i32 0, i32 190
  %42 = load i32, ptr %41, align 4, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %33, ptr noundef %36, i32 noundef 6278, ptr noundef @.str.113, i32 noundef %39, i32 noundef %42)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %43, i32 noundef 5, ptr noundef %44, ptr noundef null)
  br label %45

45:                                               ; preds = %32, %25
  store ptr null, ptr %5, align 8, !tbaa !5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.facetT, ptr %46, i32 0, i32 9
  %48 = load ptr, ptr %47, align 8, !tbaa !21
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %77

50:                                               ; preds = %45
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.facetT, ptr %51, i32 0, i32 9
  %53 = load ptr, ptr %52, align 8, !tbaa !21
  %54 = getelementptr inbounds %struct.setT, ptr %53, i32 0, i32 1
  %55 = getelementptr inbounds [1 x %union.setelemT], ptr %54, i64 0, i64 0
  store ptr %55, ptr %6, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %61, %50
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds ptr, ptr %57, i32 1
  store ptr %58, ptr %6, align 8, !tbaa !5
  %59 = load ptr, ptr %57, align 8, !tbaa !5
  store ptr %59, ptr %5, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %76

61:                                               ; preds = %56
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.qhT, ptr %62, i32 0, i32 217
  %64 = load i32, ptr %63, align 8, !tbaa !9
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ridgeT, ptr %65, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8, !tbaa !22
  %68 = getelementptr inbounds %struct.facetT, ptr %67, i32 0, i32 13
  store i32 %64, ptr %68, align 8, !tbaa !24
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.qhT, ptr %69, i32 0, i32 217
  %71 = load i32, ptr %70, align 8, !tbaa !9
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ridgeT, ptr %72, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !25
  %75 = getelementptr inbounds %struct.facetT, ptr %74, i32 0, i32 13
  store i32 %71, ptr %75, align 8, !tbaa !24
  br label %56, !llvm.loop !26

76:                                               ; preds = %56
  br label %77

77:                                               ; preds = %76, %45
  store ptr null, ptr %7, align 8, !tbaa !5
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.facetT, ptr %78, i32 0, i32 10
  %80 = load ptr, ptr %79, align 8, !tbaa !28
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %219

82:                                               ; preds = %77
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.facetT, ptr %83, i32 0, i32 10
  %85 = load ptr, ptr %84, align 8, !tbaa !28
  %86 = getelementptr inbounds %struct.setT, ptr %85, i32 0, i32 1
  %87 = getelementptr inbounds [1 x %union.setelemT], ptr %86, i64 0, i64 0
  store ptr %87, ptr %8, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %217, %82
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds ptr, ptr %89, i32 1
  store ptr %90, ptr %8, align 8, !tbaa !5
  %91 = load ptr, ptr %89, align 8, !tbaa !5
  store ptr %91, ptr %7, align 8, !tbaa !5
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %218

93:                                               ; preds = %88
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.facetT, ptr %94, i32 0, i32 15
  %96 = load i32, ptr %95, align 8
  %97 = lshr i32 %96, 11
  %98 = and i32 %97, 1
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %114

100:                                              ; preds = %93
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.qhT, ptr %102, i32 0, i32 158
  %104 = load ptr, ptr %103, align 8, !tbaa !17
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.facetT, ptr %105, i32 0, i32 14
  %107 = load i32, ptr %106, align 4, !tbaa !18
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.facetT, ptr %108, i32 0, i32 14
  %110 = load i32, ptr %109, align 4, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %101, ptr noundef %104, i32 noundef 6358, ptr noundef @.str.114, i32 noundef %107, i32 noundef %110)
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_errexit2(ptr noundef %111, i32 noundef 5, ptr noundef %112, ptr noundef %113)
  br label %114

114:                                              ; preds = %100, %93
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.facetT, ptr %115, i32 0, i32 13
  %117 = load i32, ptr %116, align 8, !tbaa !24
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.qhT, ptr %118, i32 0, i32 217
  %120 = load i32, ptr %119, align 8, !tbaa !9
  %121 = icmp ne i32 %117, %120
  br i1 %121, label %122, label %217

122:                                              ; preds = %114
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.qhT, ptr %123, i32 0, i32 29
  %125 = load i32, ptr %124, align 8, !tbaa !16
  %126 = icmp sge i32 %125, 2
  br i1 %126, label %127, label %141

127:                                              ; preds = %122
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.qhT, ptr %129, i32 0, i32 158
  %131 = load ptr, ptr %130, align 8, !tbaa !17
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.facetT, ptr %132, i32 0, i32 14
  %134 = load i32, ptr %133, align 4, !tbaa !18
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.facetT, ptr %135, i32 0, i32 14
  %137 = load i32, ptr %136, align 4, !tbaa !18
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.qhT, ptr %138, i32 0, i32 190
  %140 = load i32, ptr %139, align 4, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %128, ptr noundef %131, i32 noundef 2104, ptr noundef @.str.115, i32 noundef %134, i32 noundef %137, i32 noundef %140)
  br label %141

141:                                              ; preds = %127, %122
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.facetT, ptr %142, i32 0, i32 15
  %144 = load i32, ptr %143, align 8
  %145 = lshr i32 %144, 13
  %146 = and i32 %145, 1
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %165

148:                                              ; preds = %141
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.qhT, ptr %150, i32 0, i32 158
  %152 = load ptr, ptr %151, align 8, !tbaa !17
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.facetT, ptr %153, i32 0, i32 14
  %155 = load i32, ptr %154, align 4, !tbaa !18
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.facetT, ptr %156, i32 0, i32 14
  %158 = load i32, ptr %157, align 4, !tbaa !18
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.qhT, ptr %159, i32 0, i32 190
  %161 = load i32, ptr %160, align 4, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %149, ptr noundef %152, i32 noundef 6280, ptr noundef @.str.116, i32 noundef %155, i32 noundef %158, i32 noundef %161)
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_errexit2(ptr noundef %162, i32 noundef 5, ptr noundef %163, ptr noundef %164)
  br label %165

165:                                              ; preds = %148, %141
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.qhT, ptr %166, i32 0, i32 258
  %168 = getelementptr inbounds %struct.qhstatT, ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds [249 x %union.intrealT], ptr %168, i64 0, i64 78
  %170 = load i32, ptr %169, align 8, !tbaa !29
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %169, align 8, !tbaa !29
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.facetT, ptr %172, i32 0, i32 10
  %174 = load ptr, ptr %173, align 8, !tbaa !28
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = call ptr @qh_setdel(ptr noundef %174, ptr noundef %175)
  %177 = load ptr, ptr %3, align 8, !tbaa !5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.facetT, ptr %178, i32 0, i32 10
  %180 = load ptr, ptr %179, align 8, !tbaa !28
  %181 = call i32 @qh_setsize(ptr noundef %177, ptr noundef %180)
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.qhT, ptr %182, i32 0, i32 110
  %184 = load i32, ptr %183, align 8, !tbaa !30
  %185 = icmp slt i32 %181, %184
  br i1 %185, label %186, label %209

186:                                              ; preds = %165
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.qhT, ptr %187, i32 0, i32 258
  %189 = getelementptr inbounds %struct.qhstatT, ptr %188, i32 0, i32 0
  %190 = getelementptr inbounds [249 x %union.intrealT], ptr %189, i64 0, i64 77
  %191 = load i32, ptr %190, align 8, !tbaa !29
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %190, align 8, !tbaa !29
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_appendmergeset(ptr noundef %193, ptr noundef %194, ptr noundef %195, i32 noundef 10, double noundef 0.000000e+00, double noundef 2.000000e+00)
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.qhT, ptr %196, i32 0, i32 29
  %198 = load i32, ptr %197, align 8, !tbaa !16
  %199 = icmp sge i32 %198, 2
  br i1 %199, label %200, label %208

200:                                              ; preds = %186
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.qhT, ptr %202, i32 0, i32 158
  %204 = load ptr, ptr %203, align 8, !tbaa !17
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.facetT, ptr %205, i32 0, i32 14
  %207 = load i32, ptr %206, align 4, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %201, ptr noundef %204, i32 noundef 2023, ptr noundef @.str.117, i32 noundef %207)
  br label %208

208:                                              ; preds = %200, %186
  br label %209

209:                                              ; preds = %208, %165
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.facetT, ptr %210, i32 0, i32 10
  %212 = load ptr, ptr %211, align 8, !tbaa !28
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = call ptr @qh_setdel(ptr noundef %212, ptr noundef %213)
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds ptr, ptr %215, i32 -1
  store ptr %216, ptr %8, align 8, !tbaa !5
  br label %217

217:                                              ; preds = %209, %114
  br label %88, !llvm.loop !31

218:                                              ; preds = %88
  br label %219

219:                                              ; preds = %218, %77
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.facetT, ptr %221, i32 0, i32 10
  %223 = load ptr, ptr %222, align 8, !tbaa !28
  %224 = call i32 @qh_setsize(ptr noundef %220, ptr noundef %223)
  %225 = load ptr, ptr %3, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.qhT, ptr %225, i32 0, i32 110
  %227 = load i32, ptr %226, align 8, !tbaa !30
  %228 = icmp slt i32 %224, %227
  br i1 %228, label %229, label %252

229:                                              ; preds = %219
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.qhT, ptr %230, i32 0, i32 258
  %232 = getelementptr inbounds %struct.qhstatT, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds [249 x %union.intrealT], ptr %232, i64 0, i64 77
  %234 = load i32, ptr %233, align 8, !tbaa !29
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %233, align 8, !tbaa !29
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  call void @qh_appendmergeset(ptr noundef %236, ptr noundef %237, ptr noundef %238, i32 noundef 10, double noundef 0.000000e+00, double noundef 2.000000e+00)
  %239 = load ptr, ptr %3, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.qhT, ptr %239, i32 0, i32 29
  %241 = load i32, ptr %240, align 8, !tbaa !16
  %242 = icmp sge i32 %241, 2
  br i1 %242, label %243, label %251

243:                                              ; preds = %229
  %244 = load ptr, ptr %3, align 8, !tbaa !5
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.qhT, ptr %245, i32 0, i32 158
  %247 = load ptr, ptr %246, align 8, !tbaa !17
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.facetT, ptr %248, i32 0, i32 14
  %250 = load i32, ptr %249, align 4, !tbaa !18
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %244, ptr noundef %247, i32 noundef 2024, ptr noundef @.str.117, i32 noundef %250)
  br label %251

251:                                              ; preds = %243, %229
  br label %252

252:                                              ; preds = %251, %219
  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
}

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

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

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

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

; 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 #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_maydropneighbor(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 2784
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = add i32 %4, 1
  store i32 %5, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 136
  %7 = load i32, ptr %6, align 8, !tbaa !15
  %8 = icmp sgt i32 %7, 3
  br i1 %8, label %9, label %14

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 2424
  %11 = load ptr, ptr %10, align 8, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %1, i64 108
  %13 = load i32, ptr %12, align 4, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %11, i32 noundef 4029, ptr noundef nonnull @.str.112, i32 noundef %13) #2
  br label %14

14:                                               ; preds = %9, %2
  %15 = getelementptr inbounds i8, ptr %1, i64 112
  %16 = load i32, ptr %15, align 8
  %17 = and i32 %16, 8192
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %25, label %18

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %0, i64 2424
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %1, i64 108
  %22 = load i32, ptr %21, align 4, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %0, i64 2620
  %24 = load i32, ptr %23, align 4, !tbaa !19
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %20, i32 noundef 6278, ptr noundef nonnull @.str.113, i32 noundef %22, i32 noundef %24) #2
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 5, ptr noundef nonnull %1, ptr noundef null) #2
  br label %25

25:                                               ; preds = %18, %14
  %26 = getelementptr inbounds i8, ptr %1, i64 72
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %.not80 = icmp eq ptr %27, null
  br i1 %.not80, label %.loopexit87, label %.preheader

.preheader:                                       ; preds = %25
  %.07588 = getelementptr inbounds i8, ptr %27, i64 8
  %28 = load ptr, ptr %.07588, align 8, !tbaa !21
  %.not8189 = icmp eq ptr %28, null
  br i1 %.not8189, label %.loopexit87, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %29 = load i32, ptr %3, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %.lr.ph, %30
  %31 = phi ptr [ %28, %.lr.ph ], [ %38, %30 ]
  %.07590 = phi ptr [ %.07588, %.lr.ph ], [ %.075, %30 ]
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load ptr, ptr %32, align 8, !tbaa !22
  %34 = getelementptr inbounds i8, ptr %33, i64 104
  store i32 %29, ptr %34, align 8, !tbaa !24
  %35 = getelementptr inbounds i8, ptr %31, i64 16
  %36 = load ptr, ptr %35, align 8, !tbaa !25
  %37 = getelementptr inbounds i8, ptr %36, i64 104
  store i32 %29, ptr %37, align 8, !tbaa !24
  %.075 = getelementptr inbounds i8, ptr %.07590, i64 8
  %38 = load ptr, ptr %.075, align 8, !tbaa !21
  %.not81 = icmp eq ptr %38, null
  br i1 %.not81, label %.loopexit87, label %30, !llvm.loop !26

.loopexit87:                                      ; preds = %30, %.preheader, %25
  %39 = getelementptr inbounds i8, ptr %1, i64 80
  %40 = load ptr, ptr %39, align 8, !tbaa !28
  %.not82 = icmp eq ptr %40, null
  br i1 %.not82, label %.loopexit, label %41

41:                                               ; preds = %.loopexit87
  %42 = getelementptr inbounds i8, ptr %40, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !21
  %.not8391 = icmp eq ptr %43, null
  br i1 %.not8391, label %.loopexit, label %.lr.ph93

.lr.ph93:                                         ; preds = %41
  %44 = getelementptr inbounds i8, ptr %40, i64 16
  %45 = getelementptr inbounds i8, ptr %0, i64 2424
  %46 = getelementptr inbounds i8, ptr %1, i64 108
  %47 = getelementptr inbounds i8, ptr %0, i64 2620
  %48 = getelementptr inbounds i8, ptr %0, i64 4048
  %49 = getelementptr inbounds i8, ptr %0, i64 632
  %50 = getelementptr inbounds i8, ptr %0, i64 4040
  br label %51

51:                                               ; preds = %.lr.ph93, %106
  %52 = phi ptr [ %43, %.lr.ph93 ], [ %108, %106 ]
  %53 = phi ptr [ %44, %.lr.ph93 ], [ %107, %106 ]
  %.092 = phi ptr [ %42, %.lr.ph93 ], [ %.1, %106 ]
  %54 = getelementptr inbounds i8, ptr %52, i64 112
  %55 = load i32, ptr %54, align 8
  %56 = and i32 %55, 2048
  %.not84 = icmp eq i32 %56, 0
  br i1 %.not84, label %62, label %57

57:                                               ; preds = %51
  %58 = load ptr, ptr %45, align 8, !tbaa !16
  %59 = load i32, ptr %46, align 4, !tbaa !17
  %60 = getelementptr inbounds i8, ptr %52, i64 108
  %61 = load i32, ptr %60, align 4, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %58, i32 noundef 6358, ptr noundef nonnull @.str.114, i32 noundef %59, i32 noundef %61) #2
  tail call void @qh_errexit2(ptr noundef %0, i32 noundef 5, ptr noundef %1, ptr noundef nonnull %52) #2
  br label %62

62:                                               ; preds = %57, %51
  %63 = getelementptr inbounds i8, ptr %52, i64 104
  %64 = load i32, ptr %63, align 8, !tbaa !24
  %65 = load i32, ptr %3, align 8, !tbaa !5
  %.not85 = icmp eq i32 %64, %65
  br i1 %.not85, label %106, label %66

66:                                               ; preds = %62
  %67 = load i32, ptr %6, align 8, !tbaa !15
  %68 = icmp sgt i32 %67, 1
  br i1 %68, label %69, label %75

69:                                               ; preds = %66
  %70 = load ptr, ptr %45, align 8, !tbaa !16
  %71 = load i32, ptr %46, align 4, !tbaa !17
  %72 = getelementptr inbounds i8, ptr %52, i64 108
  %73 = load i32, ptr %72, align 4, !tbaa !17
  %74 = load i32, ptr %47, align 4, !tbaa !19
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %70, i32 noundef 2104, ptr noundef nonnull @.str.115, i32 noundef %71, i32 noundef %73, i32 noundef %74) #2
  br label %75

75:                                               ; preds = %69, %66
  %76 = load i32, ptr %54, align 8
  %77 = and i32 %76, 8192
  %.not86 = icmp eq i32 %77, 0
  br i1 %.not86, label %84, label %78

78:                                               ; preds = %75
  %79 = load ptr, ptr %45, align 8, !tbaa !16
  %80 = getelementptr inbounds i8, ptr %52, i64 108
  %81 = load i32, ptr %80, align 4, !tbaa !17
  %82 = load i32, ptr %46, align 4, !tbaa !17
  %83 = load i32, ptr %47, align 4, !tbaa !19
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %79, i32 noundef 6280, ptr noundef nonnull @.str.116, i32 noundef %81, i32 noundef %82, i32 noundef %83) #2
  tail call void @qh_errexit2(ptr noundef nonnull %0, i32 noundef 5, ptr noundef nonnull %52, ptr noundef %1) #2
  br label %84

84:                                               ; preds = %78, %75
  %85 = load i32, ptr %48, align 8, !tbaa !29
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %48, align 8, !tbaa !29
  %87 = getelementptr inbounds i8, ptr %52, i64 80
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  %89 = tail call ptr @qh_setdel(ptr noundef %88, ptr noundef %1) #2
  %90 = load ptr, ptr %87, align 8, !tbaa !28
  %91 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %90) #2
  %92 = load i32, ptr %49, align 8, !tbaa !30
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %94, label %103

94:                                               ; preds = %84
  %95 = load i32, ptr %50, align 8, !tbaa !29
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %50, align 8, !tbaa !29
  tail call void @qh_appendmergeset(ptr noundef nonnull %0, ptr noundef nonnull %52, ptr noundef nonnull %52, i32 noundef 10, double noundef 0.000000e+00, double noundef 2.000000e+00)
  %97 = load i32, ptr %6, align 8, !tbaa !15
  %98 = icmp sgt i32 %97, 1
  br i1 %98, label %99, label %103

99:                                               ; preds = %94
  %100 = load ptr, ptr %45, align 8, !tbaa !16
  %101 = getelementptr inbounds i8, ptr %52, i64 108
  %102 = load i32, ptr %101, align 4, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %100, i32 noundef 2023, ptr noundef nonnull @.str.117, i32 noundef %102) #2
  br label %103

103:                                              ; preds = %94, %99, %84
  %104 = load ptr, ptr %39, align 8, !tbaa !28
  %105 = tail call ptr @qh_setdel(ptr noundef %104, ptr noundef nonnull %52) #2
  br label %106

106:                                              ; preds = %103, %62
  %.1 = phi ptr [ %.092, %103 ], [ %53, %62 ]
  %107 = getelementptr inbounds i8, ptr %.1, i64 8
  %108 = load ptr, ptr %.1, align 8, !tbaa !21
  %.not83 = icmp eq ptr %108, null
  br i1 %.not83, label %.loopexit.loopexit, label %51, !llvm.loop !31

.loopexit.loopexit:                               ; preds = %106
  %.pre = load ptr, ptr %39, align 8, !tbaa !28
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %41, %.loopexit87
  %109 = phi ptr [ %.pre, %.loopexit.loopexit ], [ %40, %41 ], [ null, %.loopexit87 ]
  %110 = tail call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef %109) #2
  %111 = getelementptr inbounds i8, ptr %0, i64 632
  %112 = load i32, ptr %111, align 8, !tbaa !30
  %113 = icmp slt i32 %110, %112
  br i1 %113, label %114, label %125

114:                                              ; preds = %.loopexit
  %115 = getelementptr inbounds i8, ptr %0, i64 4040
  %116 = load i32, ptr %115, align 8, !tbaa !29
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %115, align 8, !tbaa !29
  tail call void @qh_appendmergeset(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %1, i32 noundef 10, double noundef 0.000000e+00, double noundef 2.000000e+00)
  %118 = load i32, ptr %6, align 8, !tbaa !15
  %119 = icmp sgt i32 %118, 1
  br i1 %119, label %120, label %125

120:                                              ; preds = %114
  %121 = getelementptr inbounds i8, ptr %0, i64 2424
  %122 = load ptr, ptr %121, align 8, !tbaa !16
  %123 = getelementptr inbounds i8, ptr %1, i64 108
  %124 = load i32, ptr %123, align 4, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %122, i32 noundef 2024, ptr noundef nonnull @.str.117, i32 noundef %124) #2
  br label %125

125:                                              ; preds = %114, %120, %.loopexit
  ret void
}

attributes #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 = { 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 #2 = { 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 2784}
!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 = !{!6, !7, i64 136}
!16 = !{!6, !11, i64 2424}
!17 = !{!18, !7, i64 108}
!18 = !{!"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}
!19 = !{!6, !7, i64 2620}
!20 = !{!18, !11, i64 72}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 8}
!23 = !{!"ridgeT", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28, !7, i64 28}
!24 = !{!18, !7, i64 104}
!25 = !{!23, !11, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!18, !11, i64 80}
!29 = !{!8, !8, i64 0}
!30 = !{!6, !7, i64 632}
!31 = distinct !{!31, !27}


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