; 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
@__const.qh_checkflags.chkkey = external hidden unnamed_addr constant [4 x i8], align 1
@__const.qh_checkflags.chkopt = external hidden unnamed_addr constant [5 x i8], align 1
@__const.qh_checkflags.chkopt2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [102 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

; Function Attrs: nounwind uwtable
define dso_local void @qh_checkflags(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca [4 x i8], align 1
  %12 = alloca [5 x i8], align 1
  %13 = alloca [6 x i8], align 1
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %15, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.qh_checkflags.chkkey, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 5, ptr %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.qh_checkflags.chkopt, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 6, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 @__const.qh_checkflags.chkopt2, i64 6, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = sext i8 %17 to i32
  %19 = icmp ne i32 %18, 32
  br i1 %19, label %29, label %20

20:                                               ; preds = %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call i64 @strlen(ptr noundef %22) #7
  %24 = sub i64 %23, 1
  %25 = getelementptr inbounds i8, ptr %21, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = sext i8 %26 to i32
  %28 = icmp ne i32 %27, 32
  br i1 %28, label %29, label %32

29:                                               ; preds = %20, %2
  %30 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !12
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %30, i32 noundef 6026, ptr noundef @.str, ptr noundef %31)
  call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %32

32:                                               ; preds = %29, %20
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = call ptr @strpbrk(ptr noundef %33, ptr noundef @.str.1) #7
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %39

36:                                               ; preds = %32
  %37 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !12
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %37, i32 noundef 6027, ptr noundef @.str.2, ptr noundef %38)
  call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %39

39:                                               ; preds = %36, %32
  br label %40

40:                                               ; preds = %60, %39
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load i8, ptr %41, align 1, !tbaa !11
  %43 = sext i8 %42 to i32
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %58

45:                                               ; preds = %40
  %46 = call ptr @__ctype_b_loc() #8
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load i8, ptr %48, align 1, !tbaa !11
  %50 = sext i8 %49 to i32
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i16, ptr %47, i64 %51
  %53 = load i16, ptr %52, align 2, !tbaa !16
  %54 = zext i16 %53 to i32
  %55 = and i32 %54, 8192
  %56 = icmp ne i32 %55, 0
  %57 = xor i1 %56, true
  br label %58

58:                                               ; preds = %45, %40
  %59 = phi i1 [ false, %40 ], [ %57, %45 ]
  br i1 %59, label %60, label %63

60:                                               ; preds = %58
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i32 1
  store ptr %62, ptr %5, align 8, !tbaa !5
  br label %40, !llvm.loop !18

63:                                               ; preds = %58
  br label %64

64:                                               ; preds = %311, %121, %63
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = load i8, ptr %65, align 1, !tbaa !11
  %67 = icmp ne i8 %66, 0
  br i1 %67, label %68, label %312

68:                                               ; preds = %64
  br label %69

69:                                               ; preds = %88, %68
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = load i8, ptr %70, align 1, !tbaa !11
  %72 = sext i8 %71 to i32
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %86

74:                                               ; preds = %69
  %75 = call ptr @__ctype_b_loc() #8
  %76 = load ptr, ptr %75, align 8, !tbaa !5
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load i8, ptr %77, align 1, !tbaa !11
  %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 !16
  %83 = zext i16 %82 to i32
  %84 = and i32 %83, 8192
  %85 = icmp ne i32 %84, 0
  br label %86

86:                                               ; preds = %74, %69
  %87 = phi i1 [ false, %69 ], [ %85, %74 ]
  br i1 %87, label %88, label %91

88:                                               ; preds = %86
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %89, i32 1
  store ptr %90, ptr %5, align 8, !tbaa !5
  br label %69, !llvm.loop !20

91:                                               ; preds = %86
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = load i8, ptr %92, align 1, !tbaa !11
  %94 = sext i8 %93 to i32
  %95 = icmp eq i32 %94, 45
  br i1 %95, label %96, label %99

96:                                               ; preds = %91
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i32 1
  store ptr %98, ptr %5, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %96, %91
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = load i8, ptr %100, align 1, !tbaa !11
  %102 = icmp ne i8 %101, 0
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  br label %312

104:                                              ; preds = %99
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i32 1
  store ptr %106, ptr %5, align 8, !tbaa !5
  %107 = load i8, ptr %105, align 1, !tbaa !11
  store i8 %107, ptr %8, align 1, !tbaa !11
  store ptr null, ptr %7, align 8, !tbaa !5
  %108 = load i8, ptr %8, align 1, !tbaa !11
  %109 = sext i8 %108 to i32
  %110 = icmp eq i32 %109, 84
  br i1 %110, label %111, label %125

111:                                              ; preds = %104
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = load i8, ptr %112, align 1, !tbaa !11
  %114 = sext i8 %113 to i32
  %115 = icmp eq i32 %114, 73
  br i1 %115, label %121, label %116

116:                                              ; preds = %111
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = load i8, ptr %117, align 1, !tbaa !11
  %119 = sext i8 %118 to i32
  %120 = icmp eq i32 %119, 79
  br i1 %120, label %121, label %125

121:                                              ; preds = %116, %111
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i32 1
  store ptr %123, ptr %5, align 8, !tbaa !5
  %124 = call ptr @qh_skipfilename(ptr noundef %123)
  store ptr %124, ptr %5, align 8, !tbaa !5
  br label %64, !llvm.loop !21

125:                                              ; preds = %116, %104
  %126 = load i8, ptr %8, align 1, !tbaa !11
  %127 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 1
  store i8 %126, ptr %127, align 1, !tbaa !11
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
  %130 = call ptr @strstr(ptr noundef %128, ptr noundef %129) #7
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %134

132:                                              ; preds = %125
  %133 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
  store ptr %133, ptr %7, align 8, !tbaa !5
  br label %299

134:                                              ; preds = %125
  %135 = call ptr @__ctype_b_loc() #8
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = load i8, ptr %8, align 1, !tbaa !11
  %138 = sext i8 %137 to i32
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds i16, ptr %136, i64 %139
  %141 = load i16, ptr %140, align 2, !tbaa !16
  %142 = zext i16 %141 to i32
  %143 = and i32 %142, 256
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %298

145:                                              ; preds = %134
  store i8 32, ptr %9, align 1, !tbaa !11
  store i8 32, ptr %10, align 1, !tbaa !11
  %146 = load i8, ptr %8, align 1, !tbaa !11
  %147 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 1
  store i8 %146, ptr %147, align 1, !tbaa !11
  %148 = load i8, ptr %8, align 1, !tbaa !11
  %149 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 1
  store i8 %148, ptr %149, align 1, !tbaa !11
  br label %150

150:                                              ; preds = %295, %145
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = icmp ne ptr %151, null
  br i1 %152, label %171, label %153

153:                                              ; preds = %150
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = load i8, ptr %154, align 1, !tbaa !11
  %156 = sext i8 %155 to i32
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %171

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

171:                                              ; preds = %158, %153, %150
  %172 = phi i1 [ false, %153 ], [ false, %150 ], [ %170, %158 ]
  br i1 %172, label %173, label %297

173:                                              ; preds = %171
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %174, i32 1
  store ptr %175, ptr %5, align 8, !tbaa !5
  %176 = load i8, ptr %174, align 1, !tbaa !11
  store i8 %176, ptr %9, align 1, !tbaa !11
  %177 = call ptr @__ctype_b_loc() #8
  %178 = load ptr, ptr %177, align 8, !tbaa !5
  %179 = load i8, ptr %9, align 1, !tbaa !11
  %180 = sext i8 %179 to i32
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i16, ptr %178, i64 %181
  %183 = load i16, ptr %182, align 2, !tbaa !16
  %184 = zext i16 %183 to i32
  %185 = and i32 %184, 1024
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %213

187:                                              ; preds = %173
  %188 = load i8, ptr %9, align 1, !tbaa !11
  %189 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 2
  store i8 %188, ptr %189, align 1, !tbaa !11
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 0
  %192 = call ptr @strstr(ptr noundef %190, ptr noundef %191) #7
  %193 = icmp ne ptr %192, null
  br i1 %193, label %194, label %196

194:                                              ; preds = %187
  %195 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 0
  store ptr %195, ptr %7, align 8, !tbaa !5
  br label %196

196:                                              ; preds = %194, %187
  %197 = load i8, ptr %10, align 1, !tbaa !11
  %198 = sext i8 %197 to i32
  %199 = icmp ne i32 %198, 32
  br i1 %199, label %200, label %212

200:                                              ; preds = %196
  %201 = load i8, ptr %10, align 1, !tbaa !11
  %202 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 2
  store i8 %201, ptr %202, align 1, !tbaa !11
  %203 = load i8, ptr %9, align 1, !tbaa !11
  %204 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 3
  store i8 %203, ptr %204, align 1, !tbaa !11
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 0
  %207 = call ptr @strstr(ptr noundef %205, ptr noundef %206) #7
  %208 = icmp ne ptr %207, null
  br i1 %208, label %209, label %211

209:                                              ; preds = %200
  %210 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 0
  store ptr %210, ptr %7, align 8, !tbaa !5
  br label %211

211:                                              ; preds = %209, %200
  br label %212

212:                                              ; preds = %211, %196
  br label %295

213:                                              ; preds = %173
  %214 = load i8, ptr %8, align 1, !tbaa !11
  %215 = sext i8 %214 to i32
  %216 = icmp eq i32 %215, 81
  br i1 %216, label %217, label %284

217:                                              ; preds = %213
  %218 = call ptr @__ctype_b_loc() #8
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = load i8, ptr %9, align 1, !tbaa !11
  %221 = sext i8 %220 to i32
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds i16, ptr %219, i64 %222
  %224 = load i16, ptr %223, align 2, !tbaa !16
  %225 = zext i16 %224 to i32
  %226 = and i32 %225, 2048
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %284

228:                                              ; preds = %217
  %229 = load i8, ptr %10, align 1, !tbaa !11
  %230 = sext i8 %229 to i32
  %231 = icmp ne i32 %230, 98
  br i1 %231, label %232, label %284

232:                                              ; preds = %228
  %233 = load i8, ptr %10, align 1, !tbaa !11
  %234 = sext i8 %233 to i32
  %235 = icmp eq i32 %234, 32
  br i1 %235, label %247, label %236

236:                                              ; preds = %232
  %237 = call ptr @__ctype_b_loc() #8
  %238 = load ptr, ptr %237, align 8, !tbaa !5
  %239 = load i8, ptr %10, align 1, !tbaa !11
  %240 = sext i8 %239 to i32
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds i16, ptr %238, i64 %241
  %243 = load i16, ptr %242, align 2, !tbaa !16
  %244 = zext i16 %243 to i32
  %245 = and i32 %244, 512
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %284

247:                                              ; preds = %236, %232
  %248 = call ptr @__ctype_b_loc() #8
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = load i8, ptr %250, align 1, !tbaa !11
  %252 = sext i8 %251 to i32
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds i16, ptr %249, i64 %253
  %255 = load i16, ptr %254, align 2, !tbaa !16
  %256 = zext i16 %255 to i32
  %257 = and i32 %256, 2048
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %273

259:                                              ; preds = %247
  %260 = load i8, ptr %9, align 1, !tbaa !11
  %261 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 2
  store i8 %260, ptr %261, align 1, !tbaa !11
  %262 = load ptr, ptr %5, align 8, !tbaa !5
  %263 = getelementptr inbounds i8, ptr %262, i32 1
  store ptr %263, ptr %5, align 8, !tbaa !5
  %264 = load i8, ptr %262, align 1, !tbaa !11
  %265 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 3
  store i8 %264, ptr %265, align 1, !tbaa !11
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 0
  %268 = call ptr @strstr(ptr noundef %266, ptr noundef %267) #7
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %272

270:                                              ; preds = %259
  %271 = getelementptr inbounds [6 x i8], ptr %13, i64 0, i64 0
  store ptr %271, ptr %7, align 8, !tbaa !5
  br label %272

272:                                              ; preds = %270, %259
  br label %283

273:                                              ; preds = %247
  %274 = load i8, ptr %9, align 1, !tbaa !11
  %275 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 2
  store i8 %274, ptr %275, align 1, !tbaa !11
  %276 = load ptr, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 0
  %278 = call ptr @strstr(ptr noundef %276, ptr noundef %277) #7
  %279 = icmp ne ptr %278, null
  br i1 %279, label %280, label %282

280:                                              ; preds = %273
  %281 = getelementptr inbounds [5 x i8], ptr %12, i64 0, i64 0
  store ptr %281, ptr %7, align 8, !tbaa !5
  br label %282

282:                                              ; preds = %280, %273
  br label %283

283:                                              ; preds = %282, %272
  br label %294

284:                                              ; preds = %236, %228, %217, %213
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = getelementptr inbounds i8, ptr %285, i64 -1
  %287 = call double @qh_strtod(ptr noundef %286, ptr noundef %6)
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = load ptr, ptr %6, align 8, !tbaa !5
  %290 = icmp ult ptr %288, %289
  br i1 %290, label %291, label %293

291:                                              ; preds = %284
  %292 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %292, ptr %5, align 8, !tbaa !5
  br label %293

293:                                              ; preds = %291, %284
  br label %294

294:                                              ; preds = %293, %283
  br label %295

295:                                              ; preds = %294, %212
  %296 = load i8, ptr %9, align 1, !tbaa !11
  store i8 %296, ptr %10, align 1, !tbaa !11
  br label %150, !llvm.loop !22

297:                                              ; preds = %171
  br label %298

298:                                              ; preds = %297, %134
  br label %299

299:                                              ; preds = %298, %132
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = icmp ne ptr %300, null
  br i1 %301, label %302, label %311

302:                                              ; preds = %299
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  store i8 39, ptr %303, align 1, !tbaa !11
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = call i64 @strlen(ptr noundef %305) #7
  %307 = sub i64 %306, 1
  %308 = getelementptr inbounds i8, ptr %304, i64 %307
  store i8 39, ptr %308, align 1, !tbaa !11
  %309 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !12
  %310 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %309, i32 noundef 6029, ptr noundef @.str.3, ptr noundef %310)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %311

311:                                              ; preds = %302, %299
  br label %64, !llvm.loop !21

312:                                              ; preds = %103, %64
  %313 = load i32, ptr %14, align 4, !tbaa !9
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %316

315:                                              ; preds = %312
  call void @qh_errexit(i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %316

316:                                              ; preds = %315, %312
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 6, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strpbrk(ptr noundef, ptr noundef) #3

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

declare ptr @qh_skipfilename(ptr noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strstr(ptr noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { "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 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 2424}
!13 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !14, 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, !14, i64 64, !14, 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, !14, i64 160, !14, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !14, i64 192, !14, i64 200, !10, i64 208, !10, i64 212, !14, 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, !14, i64 448, !14, i64 456, !14, 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, !14, 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, !14, 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, !14, i64 1760, !14, i64 1768, !14, i64 1776, !14, i64 1784, !14, i64 1792, !14, i64 1800, !14, i64 1808, !14, i64 1816, !14, i64 1824, !14, i64 1832, !14, i64 1840, !14, i64 1848, !14, i64 1856, !14, i64 1864, !6, i64 1872, !14, i64 1880, !14, i64 1888, !14, i64 1896, !14, i64 1904, !10, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !6, i64 2408, !6, i64 2416, !6, i64 2424, !6, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !10, i64 2496, !10, i64 2500, !6, i64 2504, !10, i64 2512, !6, i64 2520, !10, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !10, i64 2568, !10, i64 2572, !10, i64 2576, !10, i64 2580, !10, i64 2584, !10, i64 2588, !10, i64 2592, !10, i64 2596, !15, i64 2600, !10, i64 2608, !10, i64 2612, !10, i64 2616, !10, i64 2620, !10, i64 2624, !6, i64 2632, !6, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !14, i64 2664, !10, i64 2672, !14, i64 2680, !14, i64 2688, !14, i64 2696, !10, i64 2704, !10, i64 2708, !10, i64 2712, !10, i64 2716, !10, i64 2720, !14, i64 2728, !14, i64 2736, !10, i64 2744, !10, i64 2748, !10, i64 2752, !10, i64 2756, !10, i64 2760, !10, i64 2764, !14, i64 2768, !14, 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, !14, i64 2920, !14, i64 2928, !14, i64 2936, !14, i64 2944, !10, i64 2952, !10, i64 2956, !10, i64 2960, !10, i64 2964, !10, i64 2968, !10, i64 2972, !6, i64 2976, !6, i64 2984, !10, i64 2992}
!14 = !{!"double", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


; 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
@__const.qh_checkflags.chkkey = external hidden unnamed_addr constant [4 x i8], align 1
@__const.qh_checkflags.chkopt = external hidden unnamed_addr constant [5 x i8], align 1
@__const.qh_checkflags.chkopt2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [102 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

; Function Attrs: nounwind uwtable
define dso_local void @qh_checkflags(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca ptr, align 8
  %4 = alloca [4 x i8], align 4
  %5 = alloca [5 x i8], align 1
  %6 = alloca [6 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %7 = load i32, ptr @__const.qh_checkflags.chkkey, align 1
  store i32 %7, ptr %4, align 4
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %5, ptr noundef nonnull align 1 dereferenceable(5) @__const.qh_checkflags.chkopt, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %6, ptr noundef nonnull align 1 dereferenceable(6) @__const.qh_checkflags.chkopt2, i64 6, i1 false)
  %8 = load i8, ptr %1, align 1, !tbaa !5
  %.not = icmp eq i8 %8, 32
  br i1 %.not, label %9, label %14

9:                                                ; preds = %2
  %10 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #7
  %11 = getelementptr i8, ptr %1, i64 %10
  %12 = getelementptr i8, ptr %11, i64 -1
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %.not78 = icmp eq i8 %13, 32
  br i1 %.not78, label %16, label %14

14:                                               ; preds = %9, %2
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !8
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %15, i32 noundef 6026, ptr noundef nonnull @.str, ptr noundef nonnull %1) #6
  tail call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null) #6
  br label %16

16:                                               ; preds = %14, %9
  %17 = tail call ptr @strpbrk(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #7
  %.not79 = icmp eq ptr %17, null
  br i1 %.not79, label %20, label %18

18:                                               ; preds = %16
  %19 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !8
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %19, i32 noundef 6027, ptr noundef nonnull @.str.2, ptr noundef nonnull %1) #6
  tail call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null) #6
  br label %20

20:                                               ; preds = %18, %16
  %21 = load i8, ptr %0, align 1, !tbaa !5
  %.not80114 = icmp eq i8 %21, 0
  br i1 %.not80114, label %.outer._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %20
  %22 = tail call ptr @__ctype_b_loc() #8
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  br label %24

24:                                               ; preds = %.lr.ph, %30
  %25 = phi i8 [ %21, %.lr.ph ], [ %32, %30 ]
  %.064115 = phi ptr [ %0, %.lr.ph ], [ %31, %30 ]
  %26 = sext i8 %25 to i64
  %27 = getelementptr inbounds i16, ptr %23, i64 %26
  %28 = load i16, ptr %27, align 2, !tbaa !15
  %29 = and i16 %28, 8192
  %.not81 = icmp eq i16 %29, 0
  br i1 %.not81, label %30, label %.preheader.lr.ph.lr.ph

30:                                               ; preds = %24
  %31 = getelementptr inbounds i8, ptr %.064115, i64 1
  %32 = load i8, ptr %31, align 1, !tbaa !5
  %.not80 = icmp eq i8 %32, 0
  br i1 %.not80, label %.outer._crit_edge.thread, label %24, !llvm.loop !17

.preheader.lr.ph.lr.ph:                           ; preds = %24
  %33 = tail call ptr @__ctype_b_loc() #8
  %34 = getelementptr inbounds i8, ptr %4, i64 1
  %35 = getelementptr inbounds i8, ptr %5, i64 1
  %36 = getelementptr inbounds i8, ptr %6, i64 1
  %37 = getelementptr inbounds i8, ptr %5, i64 2
  %38 = getelementptr inbounds i8, ptr %6, i64 2
  %39 = getelementptr inbounds i8, ptr %6, i64 3
  br label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader.lr.ph.lr.ph, %.critedge4.thread
  %40 = phi i8 [ %25, %.preheader.lr.ph.lr.ph ], [ %.pr145, %.critedge4.thread ]
  %.0.ph128 = phi i32 [ 0, %.preheader.lr.ph.lr.ph ], [ %.1.ph, %.critedge4.thread ]
  %.165.ph127 = phi ptr [ %.064115, %.preheader.lr.ph.lr.ph ], [ %.6109.ph, %.critedge4.thread ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %58
  %41 = phi i8 [ %40, %.preheader.lr.ph ], [ %61, %58 ]
  %.165120 = phi ptr [ %.165.ph127, %.preheader.lr.ph ], [ %60, %58 ]
  %42 = load ptr, ptr %33, align 8, !tbaa !14
  br label %43

43:                                               ; preds = %.preheader, %49
  %.2118 = phi ptr [ %.165120, %.preheader ], [ %50, %49 ]
  %44 = phi i8 [ %41, %.preheader ], [ %.pr, %49 ]
  %45 = sext i8 %44 to i64
  %46 = getelementptr inbounds i16, ptr %42, i64 %45
  %47 = load i16, ptr %46, align 2, !tbaa !15
  %48 = and i16 %47, 8192
  %.not84 = icmp eq i16 %48, 0
  br i1 %.not84, label %.critedge2, label %49

49:                                               ; preds = %43
  %50 = getelementptr inbounds i8, ptr %.2118, i64 1
  %.pr = load i8, ptr %50, align 1, !tbaa !5
  %.not83 = icmp eq i8 %.pr, 0
  br i1 %.not83, label %.critedge2, label %43, !llvm.loop !19

.critedge2:                                       ; preds = %49, %43
  %.lcssa = phi i8 [ 0, %49 ], [ %44, %43 ]
  %.2.lcssa = phi ptr [ %50, %49 ], [ %.2118, %43 ]
  %51 = icmp eq i8 %.lcssa, 45
  %spec.select.idx = zext i1 %51 to i64
  %spec.select = getelementptr inbounds i8, ptr %.2.lcssa, i64 %spec.select.idx
  %52 = load i8, ptr %spec.select, align 1, !tbaa !5
  %.not85 = icmp eq i8 %52, 0
  br i1 %.not85, label %.outer._crit_edge, label %53

53:                                               ; preds = %.critedge2
  %54 = getelementptr inbounds i8, ptr %spec.select, i64 1
  %55 = icmp eq i8 %52, 84
  br i1 %55, label %56, label %62

56:                                               ; preds = %53
  %57 = load i8, ptr %54, align 1, !tbaa !5
  switch i8 %57, label %62 [
    i8 73, label %58
    i8 79, label %58
  ]

58:                                               ; preds = %56, %56
  %59 = getelementptr inbounds i8, ptr %spec.select, i64 2
  %60 = call ptr @qh_skipfilename(ptr noundef nonnull %59) #6
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %.not82 = icmp eq i8 %61, 0
  br i1 %.not82, label %.outer._crit_edge, label %.preheader, !llvm.loop !20

62:                                               ; preds = %56, %53
  store i8 %52, ptr %34, align 1, !tbaa !5
  %63 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %4) #7
  %.not87 = icmp eq ptr %63, null
  br i1 %.not87, label %64, label %.critedge4

64:                                               ; preds = %62
  %65 = sext i8 %52 to i64
  %66 = getelementptr inbounds i16, ptr %42, i64 %65
  %67 = load i16, ptr %66, align 2, !tbaa !15
  %68 = and i16 %67, 256
  %.not88 = icmp eq i16 %68, 0
  br i1 %.not88, label %.critedge4.thread, label %69

69:                                               ; preds = %64
  store i8 %52, ptr %35, align 1, !tbaa !5
  store i8 %52, ptr %36, align 1, !tbaa !5
  %70 = icmp eq i8 %52, 81
  br label %71

71:                                               ; preds = %69, %select.unfold
  %.063125 = phi i8 [ 32, %69 ], [ %72, %select.unfold ]
  %.4124 = phi ptr [ %54, %69 ], [ %.5, %select.unfold ]
  %72 = load i8, ptr %.4124, align 1, !tbaa !5
  %.not90 = icmp eq i8 %72, 0
  br i1 %.not90, label %.outer._crit_edge, label %73

73:                                               ; preds = %71
  %74 = load ptr, ptr %33, align 8, !tbaa !14
  %75 = sext i8 %72 to i64
  %76 = getelementptr inbounds i16, ptr %74, i64 %75
  %77 = load i16, ptr %76, align 2, !tbaa !15
  %78 = zext i16 %77 to i32
  %79 = and i32 %78, 8192
  %.not91 = icmp eq i32 %79, 0
  br i1 %.not91, label %80, label %.critedge4.thread

80:                                               ; preds = %73
  %81 = getelementptr inbounds i8, ptr %.4124, i64 1
  %82 = and i32 %78, 1024
  %.not92 = icmp eq i32 %82, 0
  br i1 %.not92, label %87, label %83

83:                                               ; preds = %80
  store i8 %72, ptr %37, align 1, !tbaa !5
  %84 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %5) #7
  %.not97 = icmp eq ptr %84, null
  %spec.select101 = select i1 %.not97, ptr null, ptr %5
  %.not98 = icmp eq i8 %.063125, 32
  br i1 %.not98, label %select.unfold, label %85

85:                                               ; preds = %83
  store i8 %.063125, ptr %38, align 1, !tbaa !5
  store i8 %72, ptr %39, align 1, !tbaa !5
  %86 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %6) #7
  %.not99 = icmp eq ptr %86, null
  br i1 %.not99, label %select.unfold, label %.critedge4

87:                                               ; preds = %80
  br i1 %70, label %88, label %111

88:                                               ; preds = %87
  %89 = and i32 %78, 2048
  %90 = icmp ne i32 %89, 0
  %91 = icmp ne i8 %.063125, 98
  %or.cond = and i1 %91, %90
  br i1 %or.cond, label %92, label %111

92:                                               ; preds = %88
  %93 = icmp eq i8 %.063125, 32
  br i1 %93, label %99, label %94

94:                                               ; preds = %92
  %95 = sext i8 %.063125 to i64
  %96 = getelementptr inbounds i16, ptr %74, i64 %95
  %97 = load i16, ptr %96, align 2, !tbaa !15
  %98 = and i16 %97, 512
  %.not93 = icmp eq i16 %98, 0
  br i1 %.not93, label %111, label %99

99:                                               ; preds = %94, %92
  %100 = load i8, ptr %81, align 1, !tbaa !5
  %101 = sext i8 %100 to i64
  %102 = getelementptr inbounds i16, ptr %74, i64 %101
  %103 = load i16, ptr %102, align 2, !tbaa !15
  %104 = and i16 %103, 2048
  %.not94 = icmp eq i16 %104, 0
  br i1 %.not94, label %109, label %105

105:                                              ; preds = %99
  store i8 %72, ptr %38, align 1, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %.4124, i64 2
  %107 = load i8, ptr %81, align 1, !tbaa !5
  store i8 %107, ptr %39, align 1, !tbaa !5
  %108 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %6) #7
  %.not96 = icmp eq ptr %108, null
  br i1 %.not96, label %select.unfold, label %.critedge4

109:                                              ; preds = %99
  store i8 %72, ptr %37, align 1, !tbaa !5
  %110 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %5) #7
  %.not95 = icmp eq ptr %110, null
  br i1 %.not95, label %select.unfold, label %.critedge4

111:                                              ; preds = %94, %88, %87
  %112 = call double @qh_strtod(ptr noundef nonnull %.4124, ptr noundef nonnull %3) #6
  %113 = load ptr, ptr %3, align 8, !tbaa !14
  %114 = icmp ult ptr %81, %113
  %spec.select105 = select i1 %114, ptr %113, ptr %81
  br label %select.unfold

select.unfold:                                    ; preds = %109, %105, %85, %111, %83
  %.268 = phi ptr [ %spec.select101, %83 ], [ null, %111 ], [ %spec.select101, %85 ], [ null, %105 ], [ null, %109 ]
  %.5 = phi ptr [ %81, %83 ], [ %spec.select105, %111 ], [ %81, %85 ], [ %106, %105 ], [ %81, %109 ]
  %.not89 = icmp eq ptr %.268, null
  br i1 %.not89, label %71, label %.critedge4, !llvm.loop !21

.critedge4:                                       ; preds = %109, %105, %85, %select.unfold, %62
  %.369 = phi ptr [ %4, %62 ], [ %6, %85 ], [ %6, %105 ], [ %5, %109 ], [ %.268, %select.unfold ]
  %.6 = phi ptr [ %54, %62 ], [ %81, %85 ], [ %106, %105 ], [ %81, %109 ], [ %.5, %select.unfold ]
  store i8 39, ptr %.369, align 1, !tbaa !5
  %115 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.369) #7
  %116 = add i64 %115, -1
  %117 = getelementptr inbounds i8, ptr %.369, i64 %116
  store i8 39, ptr %117, align 1, !tbaa !5
  %118 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !8
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %118, i32 noundef 6029, ptr noundef nonnull @.str.3, ptr noundef nonnull %.369) #6
  br label %.critedge4.thread

.critedge4.thread:                                ; preds = %73, %64, %.critedge4
  %.6109.ph = phi ptr [ %54, %64 ], [ %.6, %.critedge4 ], [ %.4124, %73 ]
  %.1.ph = phi i32 [ %.0.ph128, %64 ], [ 1, %.critedge4 ], [ %.0.ph128, %73 ]
  %.pr145 = load i8, ptr %.6109.ph, align 1, !tbaa !5
  %.not82119 = icmp eq i8 %.pr145, 0
  br i1 %.not82119, label %.outer._crit_edge, label %.preheader.lr.ph, !llvm.loop !20

.outer._crit_edge:                                ; preds = %.critedge4.thread, %58, %.critedge2, %71
  %.0.ph.lcssa = phi i32 [ %.0.ph128, %71 ], [ %.0.ph128, %.critedge2 ], [ %.0.ph128, %58 ], [ %.1.ph, %.critedge4.thread ]
  %.not86 = icmp eq i32 %.0.ph.lcssa, 0
  br i1 %.not86, label %.outer._crit_edge.thread, label %119

119:                                              ; preds = %.outer._crit_edge
  call void @qh_errexit(i32 noundef 1, ptr noundef null, ptr noundef null) #6
  br label %.outer._crit_edge.thread

.outer._crit_edge.thread:                         ; preds = %30, %20, %119, %.outer._crit_edge
  call void @llvm.lifetime.end.p0(i64 6, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strpbrk(ptr noundef, ptr nocapture noundef) local_unnamed_addr #3

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

declare ptr @qh_skipfilename(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !12, i64 2424}
!9 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, 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, !11, i64 64, !11, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !12, i64 104, !10, i64 112, !10, i64 116, !12, i64 120, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !11, i64 160, !11, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !11, i64 192, !11, i64 200, !10, i64 208, !10, i64 212, !11, 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, !6, 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, !11, i64 448, !11, i64 456, !11, 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, !11, 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, !11, i64 592, !10, i64 600, !12, i64 608, !12, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !12, i64 648, !10, i64 656, !12, i64 664, !10, i64 672, !6, i64 676, !10, i64 932, !6, i64 936, !6, i64 1192, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !10, i64 1720, !10, i64 1724, !12, i64 1728, !12, i64 1736, !12, i64 1744, !12, i64 1752, !11, i64 1760, !11, i64 1768, !11, i64 1776, !11, i64 1784, !11, i64 1792, !11, i64 1800, !11, i64 1808, !11, i64 1816, !11, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !12, i64 1872, !11, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !10, i64 1912, !6, i64 1916, !6, i64 1928, !6, i64 2128, !6, i64 2168, !6, i64 2368, !12, i64 2408, !12, i64 2416, !12, i64 2424, !12, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !12, i64 2456, !12, i64 2464, !12, i64 2472, !12, i64 2480, !12, i64 2488, !10, i64 2496, !10, i64 2500, !12, i64 2504, !10, i64 2512, !12, i64 2520, !10, i64 2528, !12, i64 2536, !12, i64 2544, !12, i64 2552, !12, 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, !13, i64 2600, !10, i64 2608, !10, i64 2612, !10, i64 2616, !10, i64 2620, !10, i64 2624, !12, i64 2632, !12, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !11, i64 2664, !10, i64 2672, !11, i64 2680, !11, i64 2688, !11, i64 2696, !10, i64 2704, !10, i64 2708, !10, i64 2712, !10, i64 2716, !10, i64 2720, !11, i64 2728, !11, i64 2736, !10, i64 2744, !10, i64 2748, !10, i64 2752, !10, i64 2756, !10, i64 2760, !10, i64 2764, !11, i64 2768, !11, i64 2776, !10, i64 2784, !10, i64 2788, !10, i64 2792, !10, i64 2796, !12, i64 2800, !12, i64 2808, !12, i64 2816, !12, i64 2824, !12, i64 2832, !12, i64 2840, !12, i64 2848, !12, i64 2856, !12, i64 2864, !10, i64 2872, !12, i64 2880, !12, i64 2888, !10, i64 2896, !10, i64 2900, !10, i64 2904, !12, i64 2912, !11, i64 2920, !11, i64 2928, !11, i64 2936, !11, i64 2944, !10, i64 2952, !10, i64 2956, !10, i64 2960, !10, i64 2964, !10, i64 2968, !10, i64 2972, !12, i64 2976, !12, i64 2984, !10, i64 2992}
!10 = !{!"int", !6, i64 0}
!11 = !{!"double", !6, i64 0}
!12 = !{!"any pointer", !6, i64 0}
!13 = !{!"long", !6, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"short", !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


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