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

@.str.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [155 x i8], align 1

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

declare void @qh_produce_output(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @qh_errexit(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.qhT, ptr %9, i32 0, i32 170
  store ptr null, ptr %10, align 8, !tbaa !11
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.qhT, ptr %11, i32 0, i32 172
  store ptr null, ptr %12, align 8, !tbaa !17
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.qhT, ptr %13, i32 0, i32 174
  store ptr null, ptr %14, align 8, !tbaa !18
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.qhT, ptr %15, i32 0, i32 233
  %17 = load i32, ptr %16, align 8, !tbaa !19
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %24

19:                                               ; preds = %4
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.qhT, ptr %21, i32 0, i32 158
  %23 = load ptr, ptr %22, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %20, ptr noundef %23, i32 noundef 8126, ptr noundef @.str.5)
  call void @qh_exit(i32 noundef 6)
  br label %24

24:                                               ; preds = %19, %4
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.qhT, ptr %25, i32 0, i32 233
  store i32 1, ptr %26, align 8, !tbaa !19
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.qhT, ptr %27, i32 0, i32 214
  %29 = load i32, ptr %28, align 4, !tbaa !21
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %39, label %31

31:                                               ; preds = %24
  %32 = call i64 @clock() #4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.qhT, ptr %33, i32 0, i32 186
  %35 = load i64, ptr %34, align 8, !tbaa !22
  %36 = sub i64 %32, %35
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.qhT, ptr %37, i32 0, i32 186
  store i64 %36, ptr %38, align 8, !tbaa !22
  br label %39

39:                                               ; preds = %31, %24
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_errprint(ptr noundef %40, ptr noundef @.str.6, ptr noundef %41, ptr noundef null, ptr noundef %42, ptr noundef null)
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.qhT, ptr %44, i32 0, i32 137
  call void @qh_option(ptr noundef %43, ptr noundef @.str.7, ptr noundef null, ptr noundef %45)
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.qhT, ptr %47, i32 0, i32 158
  %49 = load ptr, ptr %48, align 8, !tbaa !20
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.qhT, ptr %50, i32 0, i32 119
  %52 = getelementptr inbounds [256 x i8], ptr %51, i64 0, i64 0
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.qhT, ptr %53, i32 0, i32 117
  %55 = getelementptr inbounds [256 x i8], ptr %54, i64 0, i64 0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %46, ptr noundef %49, i32 noundef 8127, ptr noundef @.str.8, ptr noundef %52, ptr noundef %55)
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.qhT, ptr %57, i32 0, i32 158
  %59 = load ptr, ptr %58, align 8, !tbaa !20
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.qhT, ptr %60, i32 0, i32 120
  %62 = getelementptr inbounds [512 x i8], ptr %61, i64 0, i64 0
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %56, ptr noundef %59, i32 noundef 8128, ptr noundef @.str.9, ptr noundef @qh_version, ptr noundef %62)
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.qhT, ptr %63, i32 0, i32 190
  %65 = load i32, ptr %64, align 4, !tbaa !23
  %66 = icmp sge i32 %65, 0
  br i1 %66, label %67, label %117

67:                                               ; preds = %39
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.qhT, ptr %69, i32 0, i32 158
  %71 = load ptr, ptr %70, align 8, !tbaa !20
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.qhT, ptr %72, i32 0, i32 190
  %74 = load i32, ptr %73, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %68, ptr noundef %71, i32 noundef 8129, ptr noundef @.str.10, i32 noundef %74)
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.qhT, ptr %75, i32 0, i32 258
  %77 = getelementptr inbounds %struct.qhstatT, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds [249 x %union.intrealT], ptr %77, i64 0, i64 216
  %79 = load i32, ptr %78, align 8, !tbaa !24
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %91

81:                                               ; preds = %67
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.qhT, ptr %83, i32 0, i32 158
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.qhT, ptr %86, i32 0, i32 258
  %88 = getelementptr inbounds %struct.qhstatT, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds [249 x %union.intrealT], ptr %88, i64 0, i64 216
  %90 = load i32, ptr %89, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %82, ptr noundef %85, i32 noundef 8130, ptr noundef @.str.11, i32 noundef %90)
  br label %91

91:                                               ; preds = %81, %67
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.qhT, ptr %92, i32 0, i32 214
  %94 = load i32, ptr %93, align 4, !tbaa !21
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %101

96:                                               ; preds = %91
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.qhT, ptr %98, i32 0, i32 158
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %97, ptr noundef %100, i32 noundef 8131, ptr noundef @.str.12)
  br label %112

101:                                              ; preds = %91
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.qhT, ptr %102, i32 0, i32 209
  %104 = load i32, ptr %103, align 8, !tbaa !25
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %111

106:                                              ; preds = %101
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.qhT, ptr %108, i32 0, i32 158
  %110 = load ptr, ptr %109, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %107, ptr noundef %110, i32 noundef 8132, ptr noundef @.str.13)
  br label %111

111:                                              ; preds = %106, %101
  br label %112

112:                                              ; preds = %111, %96
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.qhT, ptr %114, i32 0, i32 158
  %116 = load ptr, ptr %115, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %113, ptr noundef %116, i32 noundef 8133, ptr noundef @.str.14)
  br label %117

117:                                              ; preds = %112, %39
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.qhT, ptr %118, i32 0, i32 21
  %120 = load i32, ptr %119, align 8, !tbaa !26
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %135

122:                                              ; preds = %117
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.qhT, ptr %123, i32 0, i32 214
  %125 = load i32, ptr %124, align 4, !tbaa !21
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %133, label %127

127:                                              ; preds = %122
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = icmp ne ptr %128, null
  br i1 %129, label %135, label %130

130:                                              ; preds = %127
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = icmp ne ptr %131, null
  br i1 %132, label %135, label %133

133:                                              ; preds = %130, %122
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_produce_output(ptr noundef %134)
  br label %193

135:                                              ; preds = %130, %127, %117
  %136 = load i32, ptr %6, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 1
  br i1 %137, label %138, label %192

138:                                              ; preds = %135
  %139 = load i32, ptr %6, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 2
  br i1 %140, label %141, label %177

141:                                              ; preds = %138
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.qhT, ptr %142, i32 0, i32 258
  %144 = getelementptr inbounds %struct.qhstatT, ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds [249 x %union.intrealT], ptr %144, i64 0, i64 212
  %146 = load i32, ptr %145, align 8, !tbaa !24
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.qhT, ptr %147, i32 0, i32 110
  %149 = load i32, ptr %148, align 8, !tbaa !27
  %150 = add nsw i32 %149, 1
  %151 = icmp sgt i32 %146, %150
  br i1 %151, label %152, label %177

152:                                              ; preds = %141
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.qhT, ptr %154, i32 0, i32 158
  %156 = load ptr, ptr %155, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %153, ptr noundef %156, i32 noundef 8134, ptr noundef @.str.15)
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.qhT, ptr %158, i32 0, i32 158
  %160 = load ptr, ptr %159, align 8, !tbaa !20
  call void @qh_printsummary(ptr noundef %157, ptr noundef %160)
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.qhT, ptr %161, i32 0, i32 67
  %163 = load i32, ptr %162, align 8, !tbaa !28
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %176

165:                                              ; preds = %152
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_collectstatistics(ptr noundef %166)
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_allstatistics(ptr noundef %167)
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.qhT, ptr %169, i32 0, i32 158
  %171 = load ptr, ptr %170, align 8, !tbaa !20
  call void @qh_printstatistics(ptr noundef %168, ptr noundef %171, ptr noundef @.str.16)
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.qhT, ptr %173, i32 0, i32 158
  %175 = load ptr, ptr %174, align 8, !tbaa !20
  call void @qh_memstatistics(ptr noundef %172, ptr noundef %175)
  br label %176

176:                                              ; preds = %165, %152
  br label %177

177:                                              ; preds = %176, %141, %138
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.qhT, ptr %178, i32 0, i32 63
  %180 = load i32, ptr %179, align 8, !tbaa !29
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %191

182:                                              ; preds = %177
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.qhT, ptr %184, i32 0, i32 158
  %186 = load ptr, ptr %185, align 8, !tbaa !20
  %187 = load ptr, ptr %5, 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 8
  %190 = load i32, ptr %189, align 4, !tbaa !30
  call void @qh_printstats(ptr noundef %183, ptr noundef %186, i32 noundef %190, ptr noundef null)
  br label %191

191:                                              ; preds = %182, %177
  br label %192

192:                                              ; preds = %191, %135
  br label %193

193:                                              ; preds = %192, %133
  %194 = load i32, ptr %6, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %197, label %196

196:                                              ; preds = %193
  store i32 6, ptr %6, align 4, !tbaa !9
  br label %292

197:                                              ; preds = %193
  %198 = load i32, ptr %6, align 4, !tbaa !9
  %199 = icmp eq i32 %198, 3
  br i1 %199, label %200, label %210

200:                                              ; preds = %197
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.qhT, ptr %201, i32 0, i32 52
  %203 = load i32, ptr %202, align 4, !tbaa !31
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %210, label %205

205:                                              ; preds = %200
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.qhT, ptr %207, i32 0, i32 158
  %209 = load ptr, ptr %208, align 8, !tbaa !20
  call void @qh_printhelp_degenerate(ptr noundef %206, ptr noundef %209)
  br label %291

210:                                              ; preds = %200, %197
  %211 = load i32, ptr %6, align 4, !tbaa !9
  %212 = icmp eq i32 %211, 5
  br i1 %212, label %213, label %218

213:                                              ; preds = %210
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.qhT, ptr %215, i32 0, i32 158
  %217 = load ptr, ptr %216, align 8, !tbaa !20
  call void @qh_printhelp_internal(ptr noundef %214, ptr noundef %217)
  br label %290

218:                                              ; preds = %210
  %219 = load i32, ptr %6, align 4, !tbaa !9
  %220 = icmp eq i32 %219, 2
  br i1 %220, label %221, label %226

221:                                              ; preds = %218
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.qhT, ptr %223, i32 0, i32 158
  %225 = load ptr, ptr %224, align 8, !tbaa !20
  call void @qh_printhelp_singular(ptr noundef %222, ptr noundef %225)
  br label %289

226:                                              ; preds = %218
  %227 = load i32, ptr %6, align 4, !tbaa !9
  %228 = icmp eq i32 %227, 9
  br i1 %228, label %229, label %234

229:                                              ; preds = %226
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.qhT, ptr %231, i32 0, i32 158
  %233 = load ptr, ptr %232, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %230, ptr noundef %233, i32 noundef 8016, ptr noundef @.str.17)
  br label %288

234:                                              ; preds = %226
  %235 = load i32, ptr %6, align 4, !tbaa !9
  %236 = icmp eq i32 %235, 7
  br i1 %236, label %243, label %237

237:                                              ; preds = %234
  %238 = load i32, ptr %6, align 4, !tbaa !9
  %239 = icmp eq i32 %238, 8
  br i1 %239, label %243, label %240

240:                                              ; preds = %237
  %241 = load i32, ptr %6, align 4, !tbaa !9
  %242 = icmp eq i32 %241, 3
  br i1 %242, label %243, label %277

243:                                              ; preds = %240, %237, %234
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.qhT, ptr %244, i32 0, i32 47
  %246 = load i32, ptr %245, align 8, !tbaa !32
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %248, label %258

248:                                              ; preds = %243
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.qhT, ptr %249, i32 0, i32 39
  %251 = load i32, ptr %250, align 4, !tbaa !33
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %258, label %253

253:                                              ; preds = %248
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.qhT, ptr %255, i32 0, i32 158
  %257 = load ptr, ptr %256, align 8, !tbaa !20
  call void @qh_printhelp_degenerate(ptr noundef %254, ptr noundef %257)
  br label %276

258:                                              ; preds = %248, %243
  %259 = load i32, ptr %6, align 4, !tbaa !9
  %260 = icmp eq i32 %259, 7
  br i1 %260, label %261, label %266

261:                                              ; preds = %258
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.qhT, ptr %263, i32 0, i32 158
  %265 = load ptr, ptr %264, align 8, !tbaa !20
  call void @qh_printhelp_topology(ptr noundef %262, ptr noundef %265)
  br label %275

266:                                              ; preds = %258
  %267 = load i32, ptr %6, align 4, !tbaa !9
  %268 = icmp eq i32 %267, 8
  br i1 %268, label %269, label %274

269:                                              ; preds = %266
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.qhT, ptr %271, i32 0, i32 158
  %273 = load ptr, ptr %272, align 8, !tbaa !20
  call void @qh_printhelp_wide(ptr noundef %270, ptr noundef %273)
  br label %274

274:                                              ; preds = %269, %266
  br label %275

275:                                              ; preds = %274, %261
  br label %276

276:                                              ; preds = %275, %253
  br label %287

277:                                              ; preds = %240
  %278 = load i32, ptr %6, align 4, !tbaa !9
  %279 = icmp sgt i32 %278, 255
  br i1 %279, label %280, label %286

280:                                              ; preds = %277
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.qhT, ptr %282, i32 0, i32 158
  %284 = load ptr, ptr %283, align 8, !tbaa !20
  %285 = load i32, ptr %6, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %281, ptr noundef %284, i32 noundef 6426, ptr noundef @.str.18, i32 noundef %285)
  store i32 255, ptr %6, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %280, %277
  br label %287

287:                                              ; preds = %286, %276
  br label %288

288:                                              ; preds = %287, %229
  br label %289

289:                                              ; preds = %288, %221
  br label %290

290:                                              ; preds = %289, %213
  br label %291

291:                                              ; preds = %290, %205
  br label %292

292:                                              ; preds = %291, %196
  %293 = load ptr, ptr %5, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.qhT, ptr %293, i32 0, i32 206
  %295 = load i32, ptr %294, align 8, !tbaa !34
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %307

297:                                              ; preds = %292
  %298 = load ptr, ptr %5, align 8, !tbaa !5
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.qhT, ptr %299, i32 0, i32 158
  %301 = load ptr, ptr %300, align 8, !tbaa !20
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.qhT, ptr %302, i32 0, i32 191
  %304 = load i32, ptr %303, align 8, !tbaa !35
  %305 = load i32, ptr %6, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %298, ptr noundef %301, i32 noundef 6187, ptr noundef @.str.19, i32 noundef %304, i32 noundef %305)
  %306 = load i32, ptr %6, align 4, !tbaa !9
  call void @qh_exit(i32 noundef %306)
  br label %307

307:                                              ; preds = %297, %292
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.qhT, ptr %308, i32 0, i32 233
  store i32 0, ptr %309, align 8, !tbaa !19
  %310 = load ptr, ptr %5, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.qhT, ptr %310, i32 0, i32 206
  store i32 1, ptr %311, align 8, !tbaa !34
  %312 = load ptr, ptr %5, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.qhT, ptr %312, i32 0, i32 187
  store i32 0, ptr %313, align 8, !tbaa !36
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.qhT, ptr %314, i32 0, i32 152
  %316 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %315, i64 0, i64 0
  %317 = load i32, ptr %6, align 4, !tbaa !9
  call void @longjmp(ptr noundef %316, i32 noundef %317) #5
  unreachable
}

declare void @qh_exit(i32 noundef) #0

; Function Attrs: nounwind
declare i64 @clock() #2

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

declare void @qh_option(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare void @qh_printsummary(ptr noundef, ptr noundef) #0

declare void @qh_collectstatistics(ptr noundef) #0

declare void @qh_allstatistics(ptr noundef) #0

declare void @qh_printstatistics(ptr noundef, ptr noundef, ptr noundef) #0

declare void @qh_memstatistics(ptr noundef, ptr noundef) #0

declare void @qh_printstats(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @longjmp(ptr noundef, i32 noundef) #3

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 "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 = { noreturn nounwind "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 #4 = { nounwind }
attributes #5 = { noreturn 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, !6, i64 2504}
!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 = !{!12, !6, i64 2520}
!18 = !{!12, !6, i64 2536}
!19 = !{!12, !10, i64 2896}
!20 = !{!12, !6, i64 2424}
!21 = !{!12, !10, i64 2764}
!22 = !{!12, !14, i64 2600}
!23 = !{!12, !10, i64 2620}
!24 = !{!7, !7, i64 0}
!25 = !{!12, !10, i64 2744}
!26 = !{!12, !10, i64 96}
!27 = !{!12, !10, i64 632}
!28 = !{!12, !10, i64 424}
!29 = !{!12, !10, i64 296}
!30 = !{!12, !10, i64 8748}
!31 = !{!12, !10, i64 252}
!32 = !{!12, !10, i64 232}
!33 = !{!12, !10, i64 188}
!34 = !{!12, !10, i64 2720}
!35 = !{!12, !10, i64 2624}
!36 = !{!12, !10, i64 2608}


; 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.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [155 x i8], align 1

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

declare void @qh_produce_output(ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind uwtable
define dso_local void @qh_errexit(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 2504
  store ptr null, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 2520
  store ptr null, ptr %6, align 8, !tbaa !15
  %7 = getelementptr inbounds i8, ptr %0, i64 2536
  store ptr null, ptr %7, align 8, !tbaa !16
  %8 = getelementptr inbounds i8, ptr %0, i64 2896
  %9 = load i32, ptr %8, align 8, !tbaa !17
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %13, label %10

10:                                               ; preds = %4
  %11 = getelementptr inbounds i8, ptr %0, i64 2424
  %12 = load ptr, ptr %11, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %12, i32 noundef 8126, ptr noundef nonnull @.str.5) #5
  tail call void @qh_exit(i32 noundef 6) #5
  br label %13

13:                                               ; preds = %10, %4
  store i32 1, ptr %8, align 8, !tbaa !17
  %14 = getelementptr inbounds i8, ptr %0, i64 2764
  %15 = load i32, ptr %14, align 4, !tbaa !19
  %.not111 = icmp eq i32 %15, 0
  br i1 %.not111, label %16, label %21

16:                                               ; preds = %13
  %17 = tail call i64 @clock() #5
  %18 = getelementptr inbounds i8, ptr %0, i64 2600
  %19 = load i64, ptr %18, align 8, !tbaa !20
  %20 = sub i64 %17, %19
  store i64 %20, ptr %18, align 8, !tbaa !20
  br label %21

21:                                               ; preds = %16, %13
  tail call void @qh_errprint(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, ptr noundef %2, ptr noundef null, ptr noundef %3, ptr noundef null)
  %22 = getelementptr inbounds i8, ptr %0, i64 1808
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef null, ptr noundef nonnull %22) #5
  %23 = getelementptr inbounds i8, ptr %0, i64 2424
  %24 = load ptr, ptr %23, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %0, i64 936
  %26 = getelementptr inbounds i8, ptr %0, i64 676
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %24, i32 noundef 8127, ptr noundef nonnull @.str.8, ptr noundef nonnull %25, ptr noundef nonnull %26) #5
  %27 = load ptr, ptr %23, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %0, i64 1192
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %27, i32 noundef 8128, ptr noundef nonnull @.str.9, ptr noundef nonnull @qh_version, ptr noundef nonnull %28) #5
  %29 = getelementptr inbounds i8, ptr %0, i64 2620
  %30 = load i32, ptr %29, align 4, !tbaa !21
  %31 = icmp sgt i32 %30, -1
  br i1 %31, label %32, label %49

32:                                               ; preds = %21
  %33 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %33, i32 noundef 8129, ptr noundef nonnull @.str.10, i32 noundef %30) #5
  %34 = getelementptr inbounds i8, ptr %0, i64 5152
  %35 = load i32, ptr %34, align 8, !tbaa !22
  %.not112 = icmp eq i32 %35, 0
  br i1 %.not112, label %38, label %36

36:                                               ; preds = %32
  %37 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %37, i32 noundef 8130, ptr noundef nonnull @.str.11, i32 noundef %35) #5
  br label %38

38:                                               ; preds = %36, %32
  %39 = load i32, ptr %14, align 4, !tbaa !19
  %.not113 = icmp eq i32 %39, 0
  br i1 %.not113, label %42, label %40

40:                                               ; preds = %38
  %41 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %41, i32 noundef 8131, ptr noundef nonnull @.str.12) #5
  br label %47

42:                                               ; preds = %38
  %43 = getelementptr inbounds i8, ptr %0, i64 2744
  %44 = load i32, ptr %43, align 8, !tbaa !23
  %.not114 = icmp eq i32 %44, 0
  br i1 %.not114, label %47, label %45

45:                                               ; preds = %42
  %46 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %46, i32 noundef 8132, ptr noundef nonnull @.str.13) #5
  br label %47

47:                                               ; preds = %42, %45, %40
  %48 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %48, i32 noundef 8133, ptr noundef nonnull @.str.14) #5
  br label %49

49:                                               ; preds = %47, %21
  %50 = getelementptr inbounds i8, ptr %0, i64 96
  %51 = load i32, ptr %50, align 8, !tbaa !24
  %.not115 = icmp eq i32 %51, 0
  br i1 %.not115, label %58, label %52

52:                                               ; preds = %49
  %53 = load i32, ptr %14, align 4, !tbaa !19
  %.not116 = icmp eq i32 %53, 0
  br i1 %.not116, label %54, label %57

54:                                               ; preds = %52
  %55 = icmp ne ptr %2, null
  %56 = icmp ne ptr %3, null
  %or.cond = or i1 %55, %56
  br i1 %or.cond, label %58, label %57

57:                                               ; preds = %54, %52
  tail call void @qh_produce_output(ptr noundef nonnull %0) #5
  br label %81

58:                                               ; preds = %54, %49
  switch i32 %1, label %59 [
    i32 2, label %74
    i32 1, label %.thread127
  ]

59:                                               ; preds = %58
  %60 = getelementptr inbounds i8, ptr %0, i64 5120
  %61 = load i32, ptr %60, align 8, !tbaa !22
  %62 = getelementptr inbounds i8, ptr %0, i64 632
  %63 = load i32, ptr %62, align 8, !tbaa !25
  %64 = add nsw i32 %63, 1
  %65 = icmp sgt i32 %61, %64
  br i1 %65, label %66, label %74

66:                                               ; preds = %59
  %67 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %67, i32 noundef 8134, ptr noundef nonnull @.str.15) #5
  %68 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printsummary(ptr noundef nonnull %0, ptr noundef %68) #5
  %69 = getelementptr inbounds i8, ptr %0, i64 424
  %70 = load i32, ptr %69, align 8, !tbaa !26
  %.not119 = icmp eq i32 %70, 0
  br i1 %.not119, label %74, label %71

71:                                               ; preds = %66
  tail call void @qh_collectstatistics(ptr noundef nonnull %0) #5
  tail call void @qh_allstatistics(ptr noundef nonnull %0) #5
  %72 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printstatistics(ptr noundef nonnull %0, ptr noundef %72, ptr noundef nonnull @.str.16) #5
  %73 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_memstatistics(ptr noundef nonnull %0, ptr noundef %73) #5
  br label %74

74:                                               ; preds = %58, %66, %71, %59
  %75 = getelementptr inbounds i8, ptr %0, i64 296
  %76 = load i32, ptr %75, align 8, !tbaa !27
  %.not120 = icmp eq i32 %76, 0
  br i1 %.not120, label %81, label %77

77:                                               ; preds = %74
  %78 = load ptr, ptr %23, align 8, !tbaa !18
  %79 = getelementptr inbounds i8, ptr %0, i64 8748
  %80 = load i32, ptr %79, align 4, !tbaa !28
  tail call void @qh_printstats(ptr noundef nonnull %0, ptr noundef %78, i32 noundef %80, ptr noundef null) #5
  br label %81

81:                                               ; preds = %77, %74, %57
  switch i32 %1, label %105 [
    i32 0, label %.thread127
    i32 3, label %82
    i32 5, label %87
    i32 2, label %89
    i32 9, label %91
    i32 8, label %.thread126
    i32 7, label %.thread126
  ]

82:                                               ; preds = %81
  %83 = getelementptr inbounds i8, ptr %0, i64 252
  %84 = load i32, ptr %83, align 4, !tbaa !29
  %.not122 = icmp eq i32 %84, 0
  br i1 %.not122, label %85, label %.thread126

85:                                               ; preds = %82
  %86 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_degenerate(ptr noundef nonnull %0, ptr noundef %86)
  br label %.thread127

87:                                               ; preds = %81
  %88 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_internal(ptr noundef nonnull %0, ptr noundef %88)
  br label %.thread127

89:                                               ; preds = %81
  %90 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_singular(ptr noundef nonnull %0, ptr noundef %90)
  br label %.thread127

91:                                               ; preds = %81
  %92 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %92, i32 noundef 8016, ptr noundef nonnull @.str.17) #5
  br label %.thread127

.thread126:                                       ; preds = %81, %81, %82
  %93 = getelementptr inbounds i8, ptr %0, i64 232
  %94 = load i32, ptr %93, align 8, !tbaa !30
  %.not123 = icmp eq i32 %94, 0
  br i1 %.not123, label %100, label %95

95:                                               ; preds = %.thread126
  %96 = getelementptr inbounds i8, ptr %0, i64 188
  %97 = load i32, ptr %96, align 4, !tbaa !31
  %.not124 = icmp eq i32 %97, 0
  br i1 %.not124, label %98, label %100

98:                                               ; preds = %95
  %99 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_degenerate(ptr noundef nonnull %0, ptr noundef %99)
  br label %.thread127

100:                                              ; preds = %95, %.thread126
  switch i32 %1, label %.thread127 [
    i32 7, label %101
    i32 8, label %103
  ]

101:                                              ; preds = %100
  %102 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_topology(ptr noundef nonnull %0, ptr noundef %102)
  br label %.thread127

103:                                              ; preds = %100
  %104 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void @qh_printhelp_wide(ptr noundef nonnull %0, ptr noundef %104)
  br label %.thread127

105:                                              ; preds = %81
  %106 = icmp sgt i32 %1, 255
  br i1 %106, label %107, label %.thread127

107:                                              ; preds = %105
  %108 = load ptr, ptr %23, align 8, !tbaa !18
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %108, i32 noundef 6426, ptr noundef nonnull @.str.18, i32 noundef %1) #5
  br label %.thread127

.thread127:                                       ; preds = %81, %58, %100, %85, %89, %101, %103, %98, %107, %105, %91, %87
  %.0 = phi i32 [ 5, %87 ], [ 2, %89 ], [ 9, %91 ], [ 7, %101 ], [ 8, %103 ], [ %1, %98 ], [ 255, %107 ], [ %1, %105 ], [ 3, %85 ], [ 6, %81 ], [ %1, %100 ], [ %1, %58 ]
  %109 = getelementptr inbounds i8, ptr %0, i64 2720
  %110 = load i32, ptr %109, align 8, !tbaa !32
  %.not125 = icmp eq i32 %110, 0
  br i1 %.not125, label %115, label %111

111:                                              ; preds = %.thread127
  %112 = load ptr, ptr %23, align 8, !tbaa !18
  %113 = getelementptr inbounds i8, ptr %0, i64 2624
  %114 = load i32, ptr %113, align 8, !tbaa !33
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %112, i32 noundef 6187, ptr noundef nonnull @.str.19, i32 noundef %114, i32 noundef %.0) #5
  tail call void @qh_exit(i32 noundef %.0) #5
  br label %115

115:                                              ; preds = %111, %.thread127
  store i32 0, ptr %8, align 8, !tbaa !17
  store i32 1, ptr %109, align 8, !tbaa !32
  %116 = getelementptr inbounds i8, ptr %0, i64 2608
  store i32 0, ptr %116, align 8, !tbaa !34
  %117 = getelementptr inbounds i8, ptr %0, i64 1928
  tail call void @longjmp(ptr noundef nonnull %117, i32 noundef %.0) #6
  unreachable
}

declare void @qh_exit(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #2

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

declare void @qh_option(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_printsummary(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_collectstatistics(ptr noundef) local_unnamed_addr #0

declare void @qh_allstatistics(ptr noundef) local_unnamed_addr #0

declare void @qh_printstatistics(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_memstatistics(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @longjmp(ptr noundef, i32 noundef) local_unnamed_addr #4

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 = { noreturn 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 "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 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 #4 = { noreturn nounwind "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 #5 = { nounwind }
attributes #6 = { noreturn 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, !11, i64 2504}
!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, !11, i64 2520}
!16 = !{!6, !11, i64 2536}
!17 = !{!6, !7, i64 2896}
!18 = !{!6, !11, i64 2424}
!19 = !{!6, !7, i64 2764}
!20 = !{!6, !12, i64 2600}
!21 = !{!6, !7, i64 2620}
!22 = !{!8, !8, i64 0}
!23 = !{!6, !7, i64 2744}
!24 = !{!6, !7, i64 96}
!25 = !{!6, !7, i64 632}
!26 = !{!6, !7, i64 424}
!27 = !{!6, !7, i64 296}
!28 = !{!6, !7, i64 8748}
!29 = !{!6, !7, i64 252}
!30 = !{!6, !7, i64 232}
!31 = !{!6, !7, i64 188}
!32 = !{!6, !7, i64 2720}
!33 = !{!6, !7, i64 2624}
!34 = !{!6, !7, i64 2608}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass