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

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

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

@qh_qh = external dso_local global %struct.qhT, align 8
@.str.185 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [78 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

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

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

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() #2

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_initthresholds(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %11, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  %12 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 111), align 4, !tbaa !9
  store i32 %12, ptr %5, align 4, !tbaa !14
  %13 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 17), align 8, !tbaa !15
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %24

15:                                               ; preds = %1
  %16 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 70), align 4, !tbaa !16
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %21, label %18

18:                                               ; preds = %15
  %19 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 71), align 8, !tbaa !17
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %18, %15
  %22 = load i32, ptr %5, align 4, !tbaa !14
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %5, align 4, !tbaa !14
  br label %24

24:                                               ; preds = %21, %18, %1
  br label %25

25:                                               ; preds = %332, %24
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load i8, ptr %26, align 1, !tbaa !18
  %28 = icmp ne i8 %27, 0
  br i1 %28, label %29, label %333

29:                                               ; preds = %25
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load i8, ptr %30, align 1, !tbaa !18
  %32 = sext i8 %31 to i32
  %33 = icmp eq i32 %32, 45
  br i1 %33, label %34, label %37

34:                                               ; preds = %29
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i32 1
  store ptr %36, ptr %7, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %34, %29
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load i8, ptr %38, align 1, !tbaa !18
  %40 = sext i8 %39 to i32
  %41 = icmp eq i32 %40, 80
  br i1 %41, label %42, label %146

42:                                               ; preds = %37
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i32 1
  store ptr %44, ptr %7, align 8, !tbaa !5
  store ptr %43, ptr %8, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %144, %119, %99, %86, %42
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i8, ptr %46, align 1, !tbaa !18
  %48 = sext i8 %47 to i32
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %64

50:                                               ; preds = %45
  %51 = call ptr @__ctype_b_loc() #6
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i32 1
  store ptr %54, ptr %7, align 8, !tbaa !5
  %55 = load i8, ptr %53, align 1, !tbaa !18
  store i8 %55, ptr %10, align 1, !tbaa !18
  %56 = sext i8 %55 to i32
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i16, ptr %52, i64 %57
  %59 = load i16, ptr %58, align 2, !tbaa !19
  %60 = zext i16 %59 to i32
  %61 = and i32 %60, 8192
  %62 = icmp ne i32 %61, 0
  %63 = xor i1 %62, true
  br label %64

64:                                               ; preds = %50, %45
  %65 = phi i1 [ false, %45 ], [ %63, %50 ]
  br i1 %65, label %66, label %145

66:                                               ; preds = %64
  %67 = load i8, ptr %10, align 1, !tbaa !18
  %68 = sext i8 %67 to i32
  %69 = icmp eq i32 %68, 100
  br i1 %69, label %74, label %70

70:                                               ; preds = %66
  %71 = load i8, ptr %10, align 1, !tbaa !18
  %72 = sext i8 %71 to i32
  %73 = icmp eq i32 %72, 68
  br i1 %73, label %74, label %144

74:                                               ; preds = %70, %66
  %75 = call ptr @__ctype_b_loc() #6
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load i8, ptr %77, align 1, !tbaa !18
  %79 = sext i8 %78 to i32
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds i16, ptr %76, i64 %80
  %82 = load i16, ptr %81, align 2, !tbaa !19
  %83 = zext i16 %82 to i32
  %84 = and i32 %83, 2048
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %93, label %86

86:                                               ; preds = %74
  %87 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %88 = load i8, ptr %10, align 1, !tbaa !18
  %89 = sext i8 %88 to i32
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 -1
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %87, i32 noundef 7044, ptr noundef @.str.230, i32 noundef %89, ptr noundef %91)
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %92, ptr %9, align 8, !tbaa !5
  br label %45, !llvm.loop !22

93:                                               ; preds = %74
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = call i32 @qh_strtol(ptr noundef %94, ptr noundef %7)
  store i32 %95, ptr %4, align 4, !tbaa !14
  %96 = load i32, ptr %4, align 4, !tbaa !14
  %97 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !24
  %98 = icmp sge i32 %96, %97
  br i1 %98, label %99, label %106

99:                                               ; preds = %93
  %100 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %101 = load i32, ptr %4, align 4, !tbaa !14
  %102 = load i8, ptr %10, align 1, !tbaa !18
  %103 = sext i8 %102 to i32
  %104 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !24
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %100, i32 noundef 7045, ptr noundef @.str.231, i32 noundef %101, i32 noundef %103, i32 noundef %104)
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %105, ptr %9, align 8, !tbaa !5
  br label %45, !llvm.loop !22

106:                                              ; preds = %93
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = load i8, ptr %107, align 1, !tbaa !18
  %109 = sext i8 %108 to i32
  %110 = icmp eq i32 %109, 58
  br i1 %110, label %111, label %126

111:                                              ; preds = %106
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i32 1
  store ptr %113, ptr %7, align 8, !tbaa !5
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = call double @qh_strtod(ptr noundef %114, ptr noundef %7)
  store double %115, ptr %3, align 8, !tbaa !25
  %116 = load double, ptr %3, align 8, !tbaa !25
  %117 = call double @llvm.fabs.f64(double %116)
  %118 = fcmp ogt double %117, 1.000000e+00
  br i1 %118, label %119, label %125

119:                                              ; preds = %111
  %120 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %121 = load double, ptr %3, align 8, !tbaa !25
  %122 = load i8, ptr %10, align 1, !tbaa !18
  %123 = sext i8 %122 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %120, i32 noundef 7046, ptr noundef @.str.232, double noundef %121, i32 noundef %123)
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %124, ptr %9, align 8, !tbaa !5
  br label %45, !llvm.loop !22

125:                                              ; preds = %111
  br label %127

126:                                              ; preds = %106
  store double 0.000000e+00, ptr %3, align 8, !tbaa !25
  br label %127

127:                                              ; preds = %126, %125
  %128 = load i8, ptr %10, align 1, !tbaa !18
  %129 = sext i8 %128 to i32
  %130 = icmp eq i32 %129, 100
  br i1 %130, label %131, label %137

131:                                              ; preds = %127
  %132 = load double, ptr %3, align 8, !tbaa !25
  %133 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 128), align 8, !tbaa !26
  %134 = load i32, ptr %4, align 4, !tbaa !14
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %133, i64 %135
  store double %132, ptr %136, align 8, !tbaa !25
  br label %143

137:                                              ; preds = %127
  %138 = load double, ptr %3, align 8, !tbaa !25
  %139 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 127), align 8, !tbaa !27
  %140 = load i32, ptr %4, align 4, !tbaa !14
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds double, ptr %139, i64 %141
  store double %138, ptr %142, align 8, !tbaa !25
  br label %143

143:                                              ; preds = %137, %131
  br label %144

144:                                              ; preds = %143, %70
  br label %45, !llvm.loop !22

145:                                              ; preds = %64
  br label %316

146:                                              ; preds = %37
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load i8, ptr %147, align 1, !tbaa !18
  %149 = sext i8 %148 to i32
  %150 = icmp eq i32 %149, 81
  br i1 %150, label %151, label %290

151:                                              ; preds = %146
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %152, i32 1
  store ptr %153, ptr %7, align 8, !tbaa !5
  store ptr %152, ptr %8, align 8, !tbaa !5
  br label %154

154:                                              ; preds = %288, %245, %234, %151
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = load i8, ptr %155, align 1, !tbaa !18
  %157 = sext i8 %156 to i32
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %173

159:                                              ; preds = %154
  %160 = call ptr @__ctype_b_loc() #6
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i32 1
  store ptr %163, ptr %7, align 8, !tbaa !5
  %164 = load i8, ptr %162, align 1, !tbaa !18
  store i8 %164, ptr %10, align 1, !tbaa !18
  %165 = sext i8 %164 to i32
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds i16, ptr %161, i64 %166
  %168 = load i16, ptr %167, align 2, !tbaa !19
  %169 = zext i16 %168 to i32
  %170 = and i32 %169, 8192
  %171 = icmp ne i32 %170, 0
  %172 = xor i1 %171, true
  br label %173

173:                                              ; preds = %159, %154
  %174 = phi i1 [ false, %154 ], [ %172, %159 ]
  br i1 %174, label %175, label %289

175:                                              ; preds = %173
  %176 = load i8, ptr %10, align 1, !tbaa !18
  %177 = sext i8 %176 to i32
  %178 = icmp eq i32 %177, 98
  br i1 %178, label %179, label %202

179:                                              ; preds = %175
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = load i8, ptr %180, align 1, !tbaa !18
  %182 = sext i8 %181 to i32
  %183 = icmp eq i32 %182, 66
  br i1 %183, label %184, label %202

184:                                              ; preds = %179
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %185, i32 1
  store ptr %186, ptr %7, align 8, !tbaa !5
  %187 = load i32, ptr %5, align 4, !tbaa !14
  store i32 %187, ptr %6, align 4, !tbaa !14
  br label %188

188:                                              ; preds = %192, %184
  %189 = load i32, ptr %6, align 4, !tbaa !14
  %190 = add nsw i32 %189, -1
  store i32 %190, ptr %6, align 4, !tbaa !14
  %191 = icmp ne i32 %189, 0
  br i1 %191, label %192, label %201

192:                                              ; preds = %188
  %193 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 130), align 8, !tbaa !28
  %194 = load i32, ptr %6, align 4, !tbaa !14
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds double, ptr %193, i64 %195
  store double -5.000000e-01, ptr %196, align 8, !tbaa !25
  %197 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 129), align 8, !tbaa !29
  %198 = load i32, ptr %6, align 4, !tbaa !14
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds double, ptr %197, i64 %199
  store double 5.000000e-01, ptr %200, align 8, !tbaa !25
  br label %188, !llvm.loop !30

201:                                              ; preds = %188
  br label %288

202:                                              ; preds = %179, %175
  %203 = load i8, ptr %10, align 1, !tbaa !18
  %204 = sext i8 %203 to i32
  %205 = icmp eq i32 %204, 98
  br i1 %205, label %206, label %214

206:                                              ; preds = %202
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  %208 = load i8, ptr %207, align 1, !tbaa !18
  %209 = sext i8 %208 to i32
  %210 = icmp eq i32 %209, 98
  br i1 %210, label %211, label %214

211:                                              ; preds = %206
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds i8, ptr %212, i32 1
  store ptr %213, ptr %7, align 8, !tbaa !5
  br label %287

214:                                              ; preds = %206, %202
  %215 = load i8, ptr %10, align 1, !tbaa !18
  %216 = sext i8 %215 to i32
  %217 = icmp eq i32 %216, 98
  br i1 %217, label %222, label %218

218:                                              ; preds = %214
  %219 = load i8, ptr %10, align 1, !tbaa !18
  %220 = sext i8 %219 to i32
  %221 = icmp eq i32 %220, 66
  br i1 %221, label %222, label %286

222:                                              ; preds = %218, %214
  %223 = call ptr @__ctype_b_loc() #6
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load i8, ptr %225, align 1, !tbaa !18
  %227 = sext i8 %226 to i32
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds i16, ptr %224, i64 %228
  %230 = load i16, ptr %229, align 2, !tbaa !19
  %231 = zext i16 %230 to i32
  %232 = and i32 %231, 2048
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %239, label %234

234:                                              ; preds = %222
  %235 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %236 = load i8, ptr %10, align 1, !tbaa !18
  %237 = sext i8 %236 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %235, i32 noundef 7047, ptr noundef @.str.233, i32 noundef %237)
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %238, ptr %9, align 8, !tbaa !5
  br label %154, !llvm.loop !31

239:                                              ; preds = %222
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = call i32 @qh_strtol(ptr noundef %240, ptr noundef %7)
  store i32 %241, ptr %4, align 4, !tbaa !14
  %242 = load i32, ptr %4, align 4, !tbaa !14
  %243 = load i32, ptr %5, align 4, !tbaa !14
  %244 = icmp sge i32 %242, %243
  br i1 %244, label %245, label %252

245:                                              ; preds = %239
  %246 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %247 = load i32, ptr %4, align 4, !tbaa !14
  %248 = load i8, ptr %10, align 1, !tbaa !18
  %249 = sext i8 %248 to i32
  %250 = load i32, ptr %5, align 4, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %246, i32 noundef 7048, ptr noundef @.str.234, i32 noundef %247, i32 noundef %249, i32 noundef %250)
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %251, ptr %9, align 8, !tbaa !5
  br label %154, !llvm.loop !31

252:                                              ; preds = %239
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  %254 = load i8, ptr %253, align 1, !tbaa !18
  %255 = sext i8 %254 to i32
  %256 = icmp eq i32 %255, 58
  br i1 %256, label %257, label %262

257:                                              ; preds = %252
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds i8, ptr %258, i32 1
  store ptr %259, ptr %7, align 8, !tbaa !5
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = call double @qh_strtod(ptr noundef %260, ptr noundef %7)
  store double %261, ptr %3, align 8, !tbaa !25
  br label %269

262:                                              ; preds = %252
  %263 = load i8, ptr %10, align 1, !tbaa !18
  %264 = sext i8 %263 to i32
  %265 = icmp eq i32 %264, 98
  br i1 %265, label %266, label %267

266:                                              ; preds = %262
  store double -5.000000e-01, ptr %3, align 8, !tbaa !25
  br label %268

267:                                              ; preds = %262
  store double 5.000000e-01, ptr %3, align 8, !tbaa !25
  br label %268

268:                                              ; preds = %267, %266
  br label %269

269:                                              ; preds = %268, %257
  %270 = load i8, ptr %10, align 1, !tbaa !18
  %271 = sext i8 %270 to i32
  %272 = icmp eq i32 %271, 98
  br i1 %272, label %273, label %279

273:                                              ; preds = %269
  %274 = load double, ptr %3, align 8, !tbaa !25
  %275 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 130), align 8, !tbaa !28
  %276 = load i32, ptr %4, align 4, !tbaa !14
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds double, ptr %275, i64 %277
  store double %274, ptr %278, align 8, !tbaa !25
  br label %285

279:                                              ; preds = %269
  %280 = load double, ptr %3, align 8, !tbaa !25
  %281 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 129), align 8, !tbaa !29
  %282 = load i32, ptr %4, align 4, !tbaa !14
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds double, ptr %281, i64 %283
  store double %280, ptr %284, align 8, !tbaa !25
  br label %285

285:                                              ; preds = %279, %273
  br label %286

286:                                              ; preds = %285, %218
  br label %287

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

288:                                              ; preds = %287, %201
  br label %154, !llvm.loop !31

289:                                              ; preds = %173
  br label %315

290:                                              ; preds = %146
  br label %291

291:                                              ; preds = %311, %290
  %292 = load ptr, ptr %7, align 8, !tbaa !5
  %293 = load i8, ptr %292, align 1, !tbaa !18
  %294 = sext i8 %293 to i32
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %309

296:                                              ; preds = %291
  %297 = call ptr @__ctype_b_loc() #6
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  %300 = load i8, ptr %299, align 1, !tbaa !18
  %301 = sext i8 %300 to i32
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds i16, ptr %298, i64 %302
  %304 = load i16, ptr %303, align 2, !tbaa !19
  %305 = zext i16 %304 to i32
  %306 = and i32 %305, 8192
  %307 = icmp ne i32 %306, 0
  %308 = xor i1 %307, true
  br label %309

309:                                              ; preds = %296, %291
  %310 = phi i1 [ false, %291 ], [ %308, %296 ]
  br i1 %310, label %311, label %314

311:                                              ; preds = %309
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = getelementptr inbounds i8, ptr %312, i32 1
  store ptr %313, ptr %7, align 8, !tbaa !5
  br label %291, !llvm.loop !32

314:                                              ; preds = %309
  br label %315

315:                                              ; preds = %314, %289
  br label %316

316:                                              ; preds = %315, %145
  br label %317

317:                                              ; preds = %329, %316
  %318 = call ptr @__ctype_b_loc() #6
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = load i8, ptr %320, align 1, !tbaa !18
  %322 = sext i8 %321 to i32
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds i16, ptr %319, i64 %323
  %325 = load i16, ptr %324, align 2, !tbaa !19
  %326 = zext i16 %325 to i32
  %327 = and i32 %326, 8192
  %328 = icmp ne i32 %327, 0
  br i1 %328, label %329, label %332

329:                                              ; preds = %317
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds i8, ptr %330, i32 1
  store ptr %331, ptr %7, align 8, !tbaa !5
  br label %317, !llvm.loop !33

332:                                              ; preds = %317
  br label %25, !llvm.loop !34

333:                                              ; preds = %25
  %334 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !24
  store i32 %334, ptr %6, align 4, !tbaa !14
  br label %335

335:                                              ; preds = %364, %333
  %336 = load i32, ptr %6, align 4, !tbaa !14
  %337 = add nsw i32 %336, -1
  store i32 %337, ptr %6, align 4, !tbaa !14
  %338 = icmp ne i32 %336, 0
  br i1 %338, label %339, label %365

339:                                              ; preds = %335
  %340 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 128), align 8, !tbaa !26
  %341 = load i32, ptr %6, align 4, !tbaa !14
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds double, ptr %340, i64 %342
  %344 = load double, ptr %343, align 8, !tbaa !25
  %345 = fcmp ogt double %344, 0xFFDFFFFFFFFFFFFF
  br i1 %345, label %346, label %355

346:                                              ; preds = %339
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 24), align 8, !tbaa !35
  %347 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 127), align 8, !tbaa !27
  %348 = load i32, ptr %6, align 4, !tbaa !14
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds double, ptr %347, i64 %349
  %351 = load double, ptr %350, align 8, !tbaa !25
  %352 = fcmp olt double %351, 0x7FDFFFFFFFFFFFFF
  br i1 %352, label %353, label %354

353:                                              ; preds = %346
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 86), align 8, !tbaa !36
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 24), align 8, !tbaa !35
  br label %365

354:                                              ; preds = %346
  br label %364

355:                                              ; preds = %339
  %356 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 127), align 8, !tbaa !27
  %357 = load i32, ptr %6, align 4, !tbaa !14
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds double, ptr %356, i64 %358
  %360 = load double, ptr %359, align 8, !tbaa !25
  %361 = fcmp olt double %360, 0x7FDFFFFFFFFFFFFF
  br i1 %361, label %362, label %363

362:                                              ; preds = %355
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 24), align 8, !tbaa !35
  br label %363

363:                                              ; preds = %362, %355
  br label %364

364:                                              ; preds = %363, %354
  br label %335, !llvm.loop !37

365:                                              ; preds = %353, %335
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = icmp ne ptr %366, null
  br i1 %367, label %368, label %380

368:                                              ; preds = %365
  %369 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 2), align 8, !tbaa !38
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %380, label %371

371:                                              ; preds = %368
  %372 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %373 = load ptr, ptr %2, align 8, !tbaa !5
  %374 = load ptr, ptr %9, align 8, !tbaa !5
  %375 = load ptr, ptr %2, align 8, !tbaa !5
  %376 = ptrtoint ptr %374 to i64
  %377 = ptrtoint ptr %375 to i64
  %378 = sub i64 %376, %377
  %379 = trunc i64 %378 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %372, i32 noundef 6036, ptr noundef @.str.185, ptr noundef %373, i32 noundef %379)
  call void @qh_errexit(i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %380

380:                                              ; preds = %371, %368, %365
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

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 willreturn memory(none) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }

@qh_qh = external dso_local local_unnamed_addr global %struct.qhT, align 8
@.str.185 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [78 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_initthresholds(ptr noundef %0) local_unnamed_addr #3 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 636), align 4, !tbaa !9
  %4 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 80), align 8, !tbaa !14
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %11, label %5

5:                                                ; preds = %1
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 436), align 4, !tbaa !15
  %7 = icmp ne i32 %6, 0
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 440), align 8
  %9 = icmp ne i32 %8, 0
  %or.cond = select i1 %7, i1 true, i1 %9
  %10 = zext i1 %or.cond to i32
  %spec.select = add nsw i32 %3, %10
  br label %11

11:                                               ; preds = %5, %1
  %.063 = phi i32 [ %3, %1 ], [ %spec.select, %5 ]
  %.not82109 = icmp eq i32 %.063, 0
  %12 = sext i32 %.063 to i64
  %.pre = load i8, ptr %0, align 1, !tbaa !16
  %min.iters.check = icmp ult i32 %.063, 4
  %n.vec = and i64 %12, -4
  %ind.end = and i64 %12, 3
  %cmp.n = icmp eq i64 %n.vec, %12
  br label %15

.loopexit91:                                      ; preds = %.lr.ph136, %.critedge
  %13 = phi ptr [ %169, %.critedge ], [ %178, %.lr.ph136 ]
  %14 = phi i8 [ %172, %.critedge ], [ %180, %.lr.ph136 ]
  br label %15, !llvm.loop !17

15:                                               ; preds = %.loopexit91, %11
  %16 = phi ptr [ %0, %11 ], [ %13, %.loopexit91 ]
  %17 = phi i8 [ %.pre, %11 ], [ %14, %.loopexit91 ]
  %.0 = phi ptr [ null, %11 ], [ %.3, %.loopexit91 ]
  switch i8 %17, label %20 [
    i8 0, label %185
    i8 45, label %18
  ]

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %16, i64 1
  store ptr %19, ptr %2, align 8, !tbaa !5
  %.pre165 = load i8, ptr %19, align 1, !tbaa !16
  br label %20

20:                                               ; preds = %15, %18
  %21 = phi ptr [ %16, %15 ], [ %19, %18 ]
  %22 = phi i8 [ %17, %15 ], [ %.pre165, %18 ]
  switch i8 %22, label %.lr.ph133 [
    i8 80, label %24
    i8 81, label %76
    i8 0, label %.critedge
  ]

.lr.ph133:                                        ; preds = %20
  %23 = tail call ptr @__ctype_b_loc() #6
  br label %158

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %21, i64 1
  store ptr %25, ptr %2, align 8, !tbaa !5
  %26 = load i8, ptr %25, align 1, !tbaa !16
  %.not83123129 = icmp eq i8 %26, 0
  br i1 %.not83123129, label %.critedge, label %.lr.ph124.lr.ph

.lr.ph124.lr.ph:                                  ; preds = %24
  %27 = tail call ptr @__ctype_b_loc() #6
  br label %.lr.ph124

.lr.ph124:                                        ; preds = %.lr.ph124.lr.ph, %.outer.backedge
  %28 = phi ptr [ %25, %.lr.ph124.lr.ph ], [ %56, %.outer.backedge ]
  %.1.ph130 = phi ptr [ %.0, %.lr.ph124.lr.ph ], [ %21, %.outer.backedge ]
  br label %29

29:                                               ; preds = %.lr.ph124, %73
  %30 = phi ptr [ %28, %.lr.ph124 ], [ %74, %73 ]
  %31 = load ptr, ptr %27, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %30, i64 1
  store ptr %32, ptr %2, align 8, !tbaa !5
  %33 = load i8, ptr %30, align 1, !tbaa !16
  %34 = sext i8 %33 to i64
  %35 = getelementptr inbounds i16, ptr %31, i64 %34
  %36 = load i16, ptr %35, align 2, !tbaa !19
  %37 = and i16 %36, 8192
  %.not84 = icmp eq i16 %37, 0
  br i1 %.not84, label %38, label %.critedge

38:                                               ; preds = %29
  %39 = icmp eq i8 %33, 100
  switch i8 %33, label %73 [
    i8 100, label %40
    i8 68, label %40
  ]

40:                                               ; preds = %38, %38
  %41 = load ptr, ptr %27, align 8, !tbaa !5
  %42 = load i8, ptr %32, align 1, !tbaa !16
  %43 = sext i8 %42 to i64
  %44 = getelementptr inbounds i16, ptr %41, i64 %43
  %45 = load i16, ptr %44, align 2, !tbaa !19
  %46 = and i16 %45, 2048
  %.not86 = icmp eq i16 %46, 0
  br i1 %.not86, label %47, label %50

47:                                               ; preds = %40
  %48 = zext nneg i8 %33 to i32
  %49 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %49, i32 noundef 7044, ptr noundef nonnull @.str.230, i32 noundef %48, ptr noundef nonnull %30) #5
  br label %.outer.backedge

50:                                               ; preds = %40
  %51 = call i32 @qh_strtol(ptr noundef nonnull %32, ptr noundef nonnull %2) #5
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %.not87 = icmp slt i32 %51, %52
  br i1 %.not87, label %58, label %53

53:                                               ; preds = %50
  %54 = zext nneg i8 %33 to i32
  %55 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %55, i32 noundef 7045, ptr noundef nonnull @.str.231, i32 noundef %51, i32 noundef %54, i32 noundef %52) #5
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %53, %67, %47
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = load i8, ptr %56, align 1, !tbaa !16
  %.not83123 = icmp eq i8 %57, 0
  br i1 %.not83123, label %.critedge, label %.lr.ph124, !llvm.loop !23

58:                                               ; preds = %50
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = load i8, ptr %59, align 1, !tbaa !16
  %61 = icmp eq i8 %60, 58
  br i1 %61, label %62, label %.sink.split

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %59, i64 1
  store ptr %63, ptr %2, align 8, !tbaa !5
  %64 = call double @qh_strtod(ptr noundef nonnull %63, ptr noundef nonnull %2) #5
  %65 = call double @llvm.fabs.f64(double %64)
  %66 = fcmp ogt double %65, 1.000000e+00
  br i1 %66, label %67, label %.sink.split

67:                                               ; preds = %62
  %68 = zext nneg i8 %33 to i32
  %69 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %69, i32 noundef 7046, ptr noundef nonnull @.str.232, double noundef %64, i32 noundef %68) #5
  br label %.outer.backedge

.sink.split:                                      ; preds = %58, %62
  %.064 = phi double [ %64, %62 ], [ 0.000000e+00, %58 ]
  %70 = sext i32 %51 to i64
  %.val = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1736), align 8
  %.val197 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1728), align 8
  %71 = select i1 %39, ptr %.val, ptr %.val197
  %72 = getelementptr inbounds double, ptr %71, i64 %70
  store double %.064, ptr %72, align 8, !tbaa !24
  br label %73

73:                                               ; preds = %.sink.split, %38
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = load i8, ptr %74, align 1, !tbaa !16
  %.not83 = icmp eq i8 %75, 0
  br i1 %.not83, label %.critedge, label %29, !llvm.loop !23

76:                                               ; preds = %20
  %77 = getelementptr inbounds i8, ptr %21, i64 1
  store ptr %77, ptr %2, align 8, !tbaa !5
  %78 = load i8, ptr %77, align 1, !tbaa !16
  %.not78113118 = icmp eq i8 %78, 0
  br i1 %.not78113118, label %.critedge, label %.lr.ph114.lr.ph

.lr.ph114.lr.ph:                                  ; preds = %76
  %79 = tail call ptr @__ctype_b_loc() #6
  br label %.lr.ph114

.lr.ph114:                                        ; preds = %.lr.ph114.lr.ph, %.outer94.backedge
  %80 = phi ptr [ %77, %.lr.ph114.lr.ph ], [ %138, %.outer94.backedge ]
  %.2.ph119 = phi ptr [ %.0, %.lr.ph114.lr.ph ], [ %21, %.outer94.backedge ]
  br label %81

81:                                               ; preds = %.lr.ph114, %.loopexit90
  %82 = phi ptr [ %80, %.lr.ph114 ], [ %156, %.loopexit90 ]
  %83 = load ptr, ptr %79, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %82, i64 1
  store ptr %84, ptr %2, align 8, !tbaa !5
  %85 = load i8, ptr %82, align 1, !tbaa !16
  %86 = sext i8 %85 to i64
  %87 = getelementptr inbounds i16, ptr %83, i64 %86
  %88 = load i16, ptr %87, align 2, !tbaa !19
  %89 = and i16 %88, 8192
  %.not79 = icmp eq i16 %89, 0
  br i1 %.not79, label %90, label %.critedge

90:                                               ; preds = %81
  %91 = icmp eq i8 %85, 98
  br i1 %91, label %92, label %.critedge89

92:                                               ; preds = %90
  %93 = load i8, ptr %84, align 1, !tbaa !16
  switch i8 %93, label %.critedge89.thread [
    i8 66, label %94
    i8 98, label %122
  ]

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %82, i64 2
  store ptr %95, ptr %2, align 8, !tbaa !5
  br i1 %.not82109, label %.loopexit90, label %.lr.ph

.lr.ph:                                           ; preds = %94
  %96 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1752), align 8, !tbaa !25
  %97 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1744), align 8, !tbaa !26
  %98 = ptrtoint ptr %97 to i64
  %99 = ptrtoint ptr %96 to i64
  %100 = sub i64 %99, %98
  %diff.check = icmp ult i64 %100, 32
  %or.cond228 = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond228, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.lr.ph, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.lr.ph ]
  %101 = xor i64 %index, -1
  %102 = add i64 %101, %12
  %103 = getelementptr inbounds double, ptr %96, i64 %102
  %104 = getelementptr inbounds i8, ptr %103, i64 -8
  %105 = getelementptr inbounds i8, ptr %103, i64 -24
  store <2 x double> <double -5.000000e-01, double -5.000000e-01>, ptr %104, align 8, !tbaa !24
  store <2 x double> <double -5.000000e-01, double -5.000000e-01>, ptr %105, align 8, !tbaa !24
  %106 = getelementptr inbounds double, ptr %97, i64 %102
  %107 = getelementptr inbounds i8, ptr %106, i64 -8
  %108 = getelementptr inbounds i8, ptr %106, i64 -24
  store <2 x double> <double 5.000000e-01, double 5.000000e-01>, ptr %107, align 8, !tbaa !24
  store <2 x double> <double 5.000000e-01, double 5.000000e-01>, ptr %108, align 8, !tbaa !24
  %index.next = add nuw i64 %index, 4
  %109 = icmp eq i64 %index.next, %n.vec
  br i1 %109, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %.loopexit90, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ %12, %.lr.ph ], [ %ind.end, %middle.block ]
  %110 = add nsw i64 %indvars.iv.ph, -1
  %xtraiter = and i64 %indvars.iv.ph, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %indvars.iv.next.prol = add nsw i64 %indvars.iv.prol, -1
  %111 = getelementptr inbounds double, ptr %96, i64 %indvars.iv.next.prol
  store double -5.000000e-01, ptr %111, align 8, !tbaa !24
  %112 = getelementptr inbounds double, ptr %97, i64 %indvars.iv.next.prol
  store double 5.000000e-01, ptr %112, align 8, !tbaa !24
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !30

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %113 = icmp ult i64 %110, 3
  br i1 %113, label %.loopexit90, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %114 = getelementptr inbounds double, ptr %96, i64 %indvars.iv.next
  store double -5.000000e-01, ptr %114, align 8, !tbaa !24
  %115 = getelementptr inbounds double, ptr %97, i64 %indvars.iv.next
  store double 5.000000e-01, ptr %115, align 8, !tbaa !24
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, -2
  %116 = getelementptr inbounds double, ptr %96, i64 %indvars.iv.next.1
  store double -5.000000e-01, ptr %116, align 8, !tbaa !24
  %117 = getelementptr inbounds double, ptr %97, i64 %indvars.iv.next.1
  store double 5.000000e-01, ptr %117, align 8, !tbaa !24
  %indvars.iv.next.2 = add nsw i64 %indvars.iv, -3
  %118 = getelementptr inbounds double, ptr %96, i64 %indvars.iv.next.2
  store double -5.000000e-01, ptr %118, align 8, !tbaa !24
  %119 = getelementptr inbounds double, ptr %97, i64 %indvars.iv.next.2
  store double 5.000000e-01, ptr %119, align 8, !tbaa !24
  %indvars.iv.next.3 = add nsw i64 %indvars.iv, -4
  %120 = getelementptr inbounds double, ptr %96, i64 %indvars.iv.next.3
  store double -5.000000e-01, ptr %120, align 8, !tbaa !24
  %121 = getelementptr inbounds double, ptr %97, i64 %indvars.iv.next.3
  store double 5.000000e-01, ptr %121, align 8, !tbaa !24
  %.not82.3 = icmp eq i64 %indvars.iv.next.3, 0
  br i1 %.not82.3, label %.loopexit90, label %scalar.ph, !llvm.loop !32

122:                                              ; preds = %92
  %123 = getelementptr inbounds i8, ptr %82, i64 2
  store ptr %123, ptr %2, align 8, !tbaa !5
  br label %.loopexit90

.critedge89:                                      ; preds = %90
  %cond = icmp eq i8 %85, 66
  br i1 %cond, label %.critedge89..critedge89.thread_crit_edge, label %.loopexit90

.critedge89..critedge89.thread_crit_edge:         ; preds = %.critedge89
  %.pre166 = load i8, ptr %84, align 1, !tbaa !16
  br label %.critedge89.thread

.critedge89.thread:                               ; preds = %.critedge89..critedge89.thread_crit_edge, %92
  %124 = phi i8 [ %.pre166, %.critedge89..critedge89.thread_crit_edge ], [ %93, %92 ]
  %125 = load ptr, ptr %79, align 8, !tbaa !5
  %126 = sext i8 %124 to i64
  %127 = getelementptr inbounds i16, ptr %125, i64 %126
  %128 = load i16, ptr %127, align 2, !tbaa !19
  %129 = and i16 %128, 2048
  %.not80 = icmp eq i16 %129, 0
  br i1 %.not80, label %130, label %133

130:                                              ; preds = %.critedge89.thread
  %131 = zext nneg i8 %85 to i32
  %132 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %132, i32 noundef 7047, ptr noundef nonnull @.str.233, i32 noundef %131) #5
  br label %.outer94.backedge

133:                                              ; preds = %.critedge89.thread
  %134 = call i32 @qh_strtol(ptr noundef nonnull %84, ptr noundef nonnull %2) #5
  %.not81 = icmp slt i32 %134, %.063
  br i1 %.not81, label %140, label %135

135:                                              ; preds = %133
  %136 = zext nneg i8 %85 to i32
  %137 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %137, i32 noundef 7048, ptr noundef nonnull @.str.234, i32 noundef %134, i32 noundef %136, i32 noundef %.063) #5
  br label %.outer94.backedge

.outer94.backedge:                                ; preds = %135, %130
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = load i8, ptr %138, align 1, !tbaa !16
  %.not78113 = icmp eq i8 %139, 0
  br i1 %.not78113, label %.critedge, label %.lr.ph114, !llvm.loop !33

140:                                              ; preds = %133
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = load i8, ptr %141, align 1, !tbaa !16
  %143 = icmp eq i8 %142, 58
  br i1 %143, label %144, label %147

144:                                              ; preds = %140
  %145 = getelementptr inbounds i8, ptr %141, i64 1
  store ptr %145, ptr %2, align 8, !tbaa !5
  %146 = call double @qh_strtod(ptr noundef nonnull %145, ptr noundef nonnull %2) #5
  br label %148

147:                                              ; preds = %140
  %. = select i1 %91, double -5.000000e-01, double 5.000000e-01
  br label %148

148:                                              ; preds = %147, %144
  %.165 = phi double [ %146, %144 ], [ %., %147 ]
  %149 = sext i32 %134 to i64
  br i1 %91, label %150, label %153

150:                                              ; preds = %148
  %151 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1752), align 8, !tbaa !25
  %152 = getelementptr inbounds double, ptr %151, i64 %149
  store double %.165, ptr %152, align 8, !tbaa !24
  br label %.loopexit90

153:                                              ; preds = %148
  %154 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1744), align 8, !tbaa !26
  %155 = getelementptr inbounds double, ptr %154, i64 %149
  store double %.165, ptr %155, align 8, !tbaa !24
  br label %.loopexit90

.loopexit90:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %94, %.critedge89, %122, %150, %153
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = load i8, ptr %156, align 1, !tbaa !16
  %.not78 = icmp eq i8 %157, 0
  br i1 %.not78, label %.critedge, label %81, !llvm.loop !33

158:                                              ; preds = %.lr.ph133, %166
  %159 = phi ptr [ %21, %.lr.ph133 ], [ %167, %166 ]
  %160 = phi i8 [ %22, %.lr.ph133 ], [ %168, %166 ]
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = sext i8 %160 to i64
  %163 = getelementptr inbounds i16, ptr %161, i64 %162
  %164 = load i16, ptr %163, align 2, !tbaa !19
  %165 = and i16 %164, 8192
  %.not77 = icmp eq i16 %165, 0
  br i1 %.not77, label %166, label %.critedge

166:                                              ; preds = %158
  %167 = getelementptr inbounds i8, ptr %159, i64 1
  store ptr %167, ptr %2, align 8, !tbaa !5
  %168 = load i8, ptr %167, align 1, !tbaa !16
  %.not76 = icmp eq i8 %168, 0
  br i1 %.not76, label %.critedge, label %158, !llvm.loop !34

.critedge:                                        ; preds = %.outer94.backedge, %.outer.backedge, %158, %166, %81, %.loopexit90, %73, %29, %20, %76, %24
  %169 = phi ptr [ %25, %24 ], [ %77, %76 ], [ %21, %20 ], [ %74, %73 ], [ %32, %29 ], [ %84, %81 ], [ %156, %.loopexit90 ], [ %159, %158 ], [ %167, %166 ], [ %56, %.outer.backedge ], [ %138, %.outer94.backedge ]
  %.3 = phi ptr [ %.0, %24 ], [ %.0, %76 ], [ %.0, %20 ], [ %.1.ph130, %29 ], [ %.1.ph130, %73 ], [ %.2.ph119, %.loopexit90 ], [ %.2.ph119, %81 ], [ %.0, %166 ], [ %.0, %158 ], [ %21, %.outer.backedge ], [ %21, %.outer94.backedge ]
  %170 = tail call ptr @__ctype_b_loc() #6
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = load i8, ptr %169, align 1, !tbaa !16
  %173 = sext i8 %172 to i64
  %174 = getelementptr inbounds i16, ptr %171, i64 %173
  %175 = load i16, ptr %174, align 2, !tbaa !19
  %176 = and i16 %175, 8192
  %.not85135 = icmp eq i16 %176, 0
  br i1 %.not85135, label %.loopexit91, label %.lr.ph136

.lr.ph136:                                        ; preds = %.critedge, %.lr.ph136
  %177 = phi ptr [ %178, %.lr.ph136 ], [ %169, %.critedge ]
  %178 = getelementptr inbounds i8, ptr %177, i64 1
  store ptr %178, ptr %2, align 8, !tbaa !5
  %179 = load ptr, ptr %170, align 8, !tbaa !5
  %180 = load i8, ptr %178, align 1, !tbaa !16
  %181 = sext i8 %180 to i64
  %182 = getelementptr inbounds i16, ptr %179, i64 %181
  %183 = load i16, ptr %182, align 2, !tbaa !19
  %184 = and i16 %183, 8192
  %.not85 = icmp eq i16 %184, 0
  br i1 %.not85, label %.loopexit91, label %.lr.ph136, !llvm.loop !35

185:                                              ; preds = %15
  %186 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !22
  %.not75137 = icmp eq i32 %186, 0
  br i1 %.not75137, label %.loopexit, label %.lr.ph138

.lr.ph138:                                        ; preds = %185
  %187 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1736), align 8, !tbaa !36
  %188 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 1728), align 8
  %189 = sext i32 %186 to i64
  br label %190

190:                                              ; preds = %.lr.ph138, %204
  %indvars.iv162 = phi i64 [ %189, %.lr.ph138 ], [ %indvars.iv.next163, %204 ]
  %indvars.iv.next163 = add nsw i64 %indvars.iv162, -1
  %191 = getelementptr inbounds double, ptr %187, i64 %indvars.iv.next163
  %192 = load double, ptr %191, align 8, !tbaa !24
  %193 = fcmp ogt double %192, 0xFFDFFFFFFFFFFFFF
  br i1 %193, label %194, label %199

194:                                              ; preds = %190
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 112), align 8, !tbaa !37
  %195 = getelementptr inbounds double, ptr %188, i64 %indvars.iv.next163
  %196 = load double, ptr %195, align 8, !tbaa !24
  %197 = fcmp olt double %196, 0x7FDFFFFFFFFFFFFF
  br i1 %197, label %198, label %204

198:                                              ; preds = %194
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 512), align 8, !tbaa !38
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 112), align 8, !tbaa !37
  br label %.loopexit

199:                                              ; preds = %190
  %200 = getelementptr inbounds double, ptr %188, i64 %indvars.iv.next163
  %201 = load double, ptr %200, align 8, !tbaa !24
  %202 = fcmp olt double %201, 0x7FDFFFFFFFFFFFFF
  br i1 %202, label %203, label %204

203:                                              ; preds = %199
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 112), align 8, !tbaa !37
  br label %204

204:                                              ; preds = %199, %203, %194
  %.not75 = icmp eq i64 %indvars.iv.next163, 0
  br i1 %.not75, label %.loopexit, label %190, !llvm.loop !39

.loopexit:                                        ; preds = %204, %185, %198
  %205 = icmp eq ptr %.0, null
  %206 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 8), align 8
  %207 = icmp ne i32 %206, 0
  %or.cond13 = select i1 %205, i1 true, i1 %207
  br i1 %or.cond13, label %214, label %208

208:                                              ; preds = %.loopexit
  %209 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !21
  %210 = ptrtoint ptr %.0 to i64
  %211 = ptrtoint ptr %0 to i64
  %212 = sub i64 %210, %211
  %213 = trunc i64 %212 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %209, i32 noundef 6036, ptr noundef nonnull @.str.185, ptr noundef nonnull %0, i32 noundef %213) #5
  call void @qh_errexit(i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %214

214:                                              ; preds = %208, %.loopexit
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

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

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


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