; LLVM IR from gildor2/fast_zlib :: Test (test)

; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@_Z8fileListB5cxx11 = external dso_local global %"class.std::vector", align 8
@_Z11fileExcludeB5cxx11 = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [374 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@__const.main.initString = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL6buffer = external hidden global [268435456 x i8], align 16
@_ZL13bytesInBuffer = external hidden global i32, align 4
@_ZL16compressedBuffer = external hidden global [268451840 x i8], align 16
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca [4 x i8], align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i32, align 4
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca i64, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = icmp sle i32 %40, 1
  br i1 %41, label %42, label %45

42:                                               ; preds = %2
  br label %43

43:                                               ; preds = %358, %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 1, ptr %3, align 4
  br label %360

45:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 9, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #9
  store i8 0, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #9
  store i8 0, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #9
  store i8 0, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #9
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %142, %45
  %47 = load i32, ptr %12, align 4, !tbaa !5
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  store i32 3, ptr %13, align 4
  br label %145

51:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = load i32, ptr %12, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %52, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  store ptr %56, ptr %14, align 8, !tbaa !9
  %57 = load ptr, ptr %14, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %57, i64 0
  %59 = load i8, ptr %58, align 1, !tbaa !13
  %60 = sext i8 %59 to i32
  %61 = icmp eq i32 %60, 45
  br i1 %61, label %62, label %132

62:                                               ; preds = %51
  %63 = load ptr, ptr %14, align 8, !tbaa !9
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  %65 = load i8, ptr %64, align 1, !tbaa !13
  %66 = sext i8 %65 to i32
  %67 = icmp eq i32 %66, 45
  br i1 %67, label %68, label %132

68:                                               ; preds = %62
  %69 = load ptr, ptr %14, align 8, !tbaa !9
  %70 = getelementptr inbounds i8, ptr %69, i64 2
  store ptr %70, ptr %14, align 8, !tbaa !9
  %71 = load ptr, ptr %14, align 8, !tbaa !9
  %72 = call i32 @strncasecmp(ptr noundef %71, ptr noundef @.str.2, i64 noundef 6) #10
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %87, label %74

74:                                               ; preds = %68
  %75 = load i32, ptr %7, align 4, !tbaa !5
  %76 = icmp slt i32 %75, 48
  br i1 %76, label %81, label %77

77:                                               ; preds = %74
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = icmp sgt i32 %78, 57
  br i1 %79, label %81, label %80

80:                                               ; preds = %77
  store i32 2, ptr %13, align 4
  br label %139

81:                                               ; preds = %77, %74
  %82 = load ptr, ptr %14, align 8, !tbaa !9
  %83 = getelementptr inbounds i8, ptr %82, i64 6
  %84 = load i8, ptr %83, align 1, !tbaa !13
  %85 = sext i8 %84 to i32
  %86 = sub nsw i32 %85, 48
  store i32 %86, ptr %7, align 4, !tbaa !5
  br label %131

87:                                               ; preds = %68
  %88 = load ptr, ptr %14, align 8, !tbaa !9
  %89 = call i32 @strncasecmp(ptr noundef %88, ptr noundef @.str.3, i64 noundef 8) #10
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %105, label %91

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %92 = load ptr, ptr %14, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %92, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %93, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %94 unwind label %96

94:                                               ; preds = %91
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) @_Z11fileExcludeB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %95 unwind label %100

95:                                               ; preds = %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %130

96:                                               ; preds = %91
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %17, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %18, align 4
  br label %104

100:                                              ; preds = %94
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %17, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %104

104:                                              ; preds = %100, %96
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %362

105:                                              ; preds = %87
  %106 = load ptr, ptr %14, align 8, !tbaa !9
  %107 = call i32 @strcasecmp(ptr noundef %106, ptr noundef @.str.4) #10
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %110, label %109

109:                                              ; preds = %105
  store i8 1, ptr %8, align 1, !tbaa !11
  br label %129

110:                                              ; preds = %105
  %111 = load ptr, ptr %14, align 8, !tbaa !9
  %112 = call i32 @strcasecmp(ptr noundef %111, ptr noundef @.str.5) #10
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i8 1, ptr %9, align 1, !tbaa !11
  br label %128

115:                                              ; preds = %110
  %116 = load ptr, ptr %14, align 8, !tbaa !9
  %117 = call i32 @strcasecmp(ptr noundef %116, ptr noundef @.str.6) #10
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %127

120:                                              ; preds = %115
  %121 = load ptr, ptr %14, align 8, !tbaa !9
  %122 = call i32 @strcasecmp(ptr noundef %121, ptr noundef @.str.7) #10
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %126

125:                                              ; preds = %120
  store i32 2, ptr %13, align 4
  br label %139

126:                                              ; preds = %124
  br label %127

127:                                              ; preds = %126, %119
  br label %128

128:                                              ; preds = %127, %114
  br label %129

129:                                              ; preds = %128, %109
  br label %130

130:                                              ; preds = %129, %95
  br label %131

131:                                              ; preds = %130, %81
  br label %138

132:                                              ; preds = %62, %51
  %133 = load ptr, ptr %6, align 8, !tbaa !9
  %134 = icmp ne ptr %133, null
  br i1 %134, label %135, label %136

135:                                              ; preds = %132
  store i32 2, ptr %13, align 4
  br label %139

136:                                              ; preds = %132
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %137, ptr %6, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %136, %131
  store i32 0, ptr %13, align 4
  br label %139

139:                                              ; preds = %138, %135, %125, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %140 = load i32, ptr %13, align 4
  switch i32 %140, label %145 [
    i32 0, label %141
  ]

141:                                              ; preds = %139
  br label %142

142:                                              ; preds = %141
  %143 = load i32, ptr %12, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %12, align 4, !tbaa !5
  br label %46, !llvm.loop !14

145:                                              ; preds = %139, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  %146 = load i32, ptr %13, align 4
  switch i32 %146, label %358 [
    i32 3, label %147
  ]

147:                                              ; preds = %145
  %148 = load ptr, ptr %6, align 8, !tbaa !9
  %149 = icmp ne ptr %148, null
  br i1 %149, label %152, label %150

150:                                              ; preds = %147
  %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @exit(i32 noundef 1) #11
  unreachable

152:                                              ; preds = %147
  %153 = load ptr, ptr %6, align 8, !tbaa !9
  %154 = call noundef zeroext i1 @_ZL13ScanDirectoryPKcbi(ptr noundef %153, i1 noundef zeroext true, i32 noundef -1)
  %155 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z8fileListB5cxx11) #9
  %156 = icmp eq i64 %155, 0
  br i1 %156, label %157, label %159

157:                                              ; preds = %152
  %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  call void @exit(i32 noundef 1) #11
  unreachable

159:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  store i64 0, ptr %19, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  store i64 0, ptr %20, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  store ptr @.str.10, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  store ptr null, ptr %22, align 8, !tbaa !9
  %160 = load i8, ptr %11, align 1, !tbaa !11, !range !18, !noundef !19
  %161 = trunc i8 %160 to i1
  br i1 %161, label %170, label %162

162:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %23, ptr align 1 @__const.main.initString, i64 4, i1 false)
  %163 = load i32, ptr %7, align 4, !tbaa !5
  %164 = add nsw i32 %163, 48
  %165 = trunc i32 %164 to i8
  %166 = getelementptr inbounds [4 x i8], ptr %23, i64 0, i64 2
  store i8 %165, ptr %166, align 1, !tbaa !13
  %167 = load ptr, ptr %21, align 8, !tbaa !9
  %168 = getelementptr inbounds [4 x i8], ptr %23, i64 0, i64 0
  %169 = call ptr @gzopen(ptr noundef %167, ptr noundef %168)
  store ptr %169, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %170

170:                                              ; preds = %162, %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %171

171:                                              ; preds = %231, %170
  %172 = call noundef zeroext i1 @_ZL10FillBufferv()
  br i1 %172, label %173, label %176

173:                                              ; preds = %171
  %174 = load i32, ptr %24, align 4, !tbaa !5
  %175 = icmp slt i32 %174, 1
  br label %176

176:                                              ; preds = %173, %171
  %177 = phi i1 [ false, %171 ], [ %175, %173 ]
  br i1 %177, label %178, label %237

178:                                              ; preds = %176
  %179 = load i8, ptr %11, align 1, !tbaa !11, !range !18, !noundef !19
  %180 = trunc i8 %179 to i1
  br i1 %180, label %191, label %181

181:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %182 = call i64 @clock() #9
  store i64 %182, ptr %27, align 8, !tbaa !16
  %183 = load ptr, ptr %22, align 8, !tbaa !9
  %184 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !5
  %185 = call i32 @gzwrite(ptr noundef %183, ptr noundef @_ZL6buffer, i32 noundef %184)
  %186 = call i64 @clock() #9
  %187 = load i64, ptr %27, align 8, !tbaa !16
  %188 = sub nsw i64 %186, %187
  %189 = load i64, ptr %19, align 8, !tbaa !16
  %190 = add nsw i64 %189, %188
  store i64 %190, ptr %19, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %231

191:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %192 = call i64 @clock() #9
  store i64 %192, ptr %28, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  store i64 268451840, ptr %29, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %193 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = load i32, ptr %7, align 4, !tbaa !5
  %196 = call i32 @compress2(ptr noundef @_ZL16compressedBuffer, ptr noundef %29, ptr noundef @_ZL6buffer, i64 noundef %194, i32 noundef %195)
  store i32 %196, ptr %30, align 4, !tbaa !5
  %197 = load i32, ptr %30, align 4, !tbaa !5
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %202

199:                                              ; preds = %191
  %200 = load i32, ptr %30, align 4, !tbaa !5
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %200)
  call void @exit(i32 noundef 1) #11
  unreachable

202:                                              ; preds = %191
  %203 = call i64 @clock() #9
  %204 = load i64, ptr %28, align 8, !tbaa !16
  %205 = sub nsw i64 %203, %204
  %206 = load i64, ptr %19, align 8, !tbaa !16
  %207 = add nsw i64 %206, %205
  store i64 %207, ptr %19, align 8, !tbaa !16
  %208 = load i64, ptr %29, align 8, !tbaa !16
  %209 = load i32, ptr %26, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = add i64 %210, %208
  %212 = trunc i64 %211 to i32
  store i32 %212, ptr %26, align 4, !tbaa !5
  %213 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %214 = trunc i8 %213 to i1
  br i1 %214, label %215, label %230

215:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %216 = call i64 @clock() #9
  store i64 %216, ptr %31, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store i64 268435456, ptr %32, align 8, !tbaa !16
  %217 = load i64, ptr %29, align 8, !tbaa !16
  %218 = call i32 @uncompress(ptr noundef @_ZL6buffer, ptr noundef %32, ptr noundef @_ZL16compressedBuffer, i64 noundef %217)
  store i32 %218, ptr %30, align 4, !tbaa !5
  %219 = load i32, ptr %30, align 4, !tbaa !5
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %224

221:                                              ; preds = %215
  %222 = load i32, ptr %30, align 4, !tbaa !5
  %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %222)
  call void @exit(i32 noundef 1) #11
  unreachable

224:                                              ; preds = %215
  %225 = call i64 @clock() #9
  %226 = load i64, ptr %31, align 8, !tbaa !16
  %227 = sub nsw i64 %225, %226
  %228 = load i64, ptr %20, align 8, !tbaa !16
  %229 = add nsw i64 %228, %227
  store i64 %229, ptr %20, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %230

230:                                              ; preds = %224, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %231

231:                                              ; preds = %230, %181
  %232 = load i32, ptr %24, align 4, !tbaa !5
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %24, align 4, !tbaa !5
  %234 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !5
  %235 = load i32, ptr %25, align 4, !tbaa !5
  %236 = add nsw i32 %235, %234
  store i32 %236, ptr %25, align 4, !tbaa !5
  br label %171, !llvm.loop !20

237:                                              ; preds = %176
  %238 = load i8, ptr %11, align 1, !tbaa !11, !range !18, !noundef !19
  %239 = trunc i8 %238 to i1
  br i1 %239, label %243, label %240

240:                                              ; preds = %237
  %241 = load ptr, ptr %22, align 8, !tbaa !9
  %242 = call i32 @gzclose(ptr noundef %241)
  br label %243

243:                                              ; preds = %240, %237
  %244 = load i8, ptr %11, align 1, !tbaa !11, !range !18, !noundef !19
  %245 = trunc i8 %244 to i1
  br i1 %245, label %256, label %246

246:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %247 = load ptr, ptr %21, align 8, !tbaa !9
  %248 = call noalias ptr @fopen(ptr noundef %247, ptr noundef @.str.13)
  store ptr %248, ptr %33, align 8, !tbaa !9
  %249 = load ptr, ptr %33, align 8, !tbaa !9
  %250 = call i32 @fseek(ptr noundef %249, i64 noundef 0, i32 noundef 2)
  %251 = load ptr, ptr %33, align 8, !tbaa !9
  %252 = call i64 @ftell(ptr noundef %251)
  %253 = trunc i64 %252 to i32
  store i32 %253, ptr %26, align 4, !tbaa !5
  %254 = load ptr, ptr %33, align 8, !tbaa !9
  %255 = call i32 @fclose(ptr noundef %254)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %256

256:                                              ; preds = %246, %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  store ptr @.str.14, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %257 = load i64, ptr %19, align 8, !tbaa !16
  %258 = sitofp i64 %257 to float
  %259 = fdiv float %258, 1.000000e+06
  store float %259, ptr %35, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %260 = load i32, ptr %25, align 4, !tbaa !5
  %261 = sitofp i32 %260 to double
  %262 = fdiv double %261, 0x4130000000000000
  %263 = fptrunc double %262 to float
  store float %263, ptr %36, align 4, !tbaa !21
  %264 = load i8, ptr %8, align 1, !tbaa !11, !range !18, !noundef !19
  %265 = trunc i8 %264 to i1
  br i1 %265, label %273, label %266

266:                                              ; preds = %256
  %267 = load float, ptr %36, align 4, !tbaa !21
  %268 = fpext float %267 to double
  %269 = load ptr, ptr %34, align 8, !tbaa !9
  %270 = load i32, ptr %7, align 4, !tbaa !5
  %271 = load ptr, ptr %6, align 8, !tbaa !9
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %268, ptr noundef %269, i32 noundef %270, ptr noundef %271)
  br label %279

273:                                              ; preds = %256
  %274 = load ptr, ptr %34, align 8, !tbaa !9
  %275 = load i32, ptr %7, align 4, !tbaa !5
  %276 = load float, ptr %36, align 4, !tbaa !21
  %277 = fpext float %276 to double
  %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %274, i32 noundef %275, double noundef %277)
  br label %279

279:                                              ; preds = %273, %266
  %280 = load float, ptr %35, align 4, !tbaa !21
  %281 = fpext float %280 to double
  %282 = load i32, ptr %26, align 4, !tbaa !5
  %283 = load i32, ptr %25, align 4, !tbaa !5
  %284 = sitofp i32 %283 to double
  %285 = fdiv double %284, 0x4130000000000000
  %286 = load float, ptr %35, align 4, !tbaa !21
  %287 = fpext float %286 to double
  %288 = fdiv double %285, %287
  %289 = load i32, ptr %25, align 4, !tbaa !5
  %290 = sitofp i32 %289 to double
  %291 = load i32, ptr %26, align 4, !tbaa !5
  %292 = sitofp i32 %291 to double
  %293 = fdiv double %290, %292
  %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %281, i32 noundef %282, double noundef %288, double noundef %293)
  %295 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %296 = trunc i8 %295 to i1
  br i1 %296, label %297, label %336

297:                                              ; preds = %279
  %298 = load i8, ptr %11, align 1, !tbaa !11, !range !18, !noundef !19
  %299 = trunc i8 %298 to i1
  br i1 %299, label %336, label %300

300:                                              ; preds = %297
  %301 = load ptr, ptr %21, align 8, !tbaa !9
  %302 = call ptr @gzopen(ptr noundef %301, ptr noundef @.str.13)
  store ptr %302, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %303 = call i64 @clock() #9
  store i64 %303, ptr %37, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %304

304:                                              ; preds = %315, %300
  %305 = load i32, ptr %39, align 4, !tbaa !5
  %306 = load i32, ptr %25, align 4, !tbaa !5
  %307 = icmp slt i32 %305, %306
  br i1 %307, label %309, label %308

308:                                              ; preds = %304
  store i32 8, ptr %13, align 4
  br label %319

309:                                              ; preds = %304
  %310 = load ptr, ptr %22, align 8, !tbaa !9
  %311 = call i32 @gzread(ptr noundef %310, ptr noundef @_ZL6buffer, i32 noundef 268435456)
  store i32 %311, ptr %38, align 4, !tbaa !5
  %312 = load i32, ptr %38, align 4, !tbaa !5
  %313 = icmp slt i32 %312, 0
  br i1 %313, label %314, label %315

314:                                              ; preds = %309
  store i32 10, ptr %13, align 4
  br label %319

315:                                              ; preds = %309
  %316 = load i32, ptr %38, align 4, !tbaa !5
  %317 = load i32, ptr %39, align 4, !tbaa !5
  %318 = add nsw i32 %317, %316
  store i32 %318, ptr %39, align 4, !tbaa !5
  br label %304, !llvm.loop !23

319:                                              ; preds = %314, %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  %320 = load i32, ptr %13, align 4
  switch i32 %320, label %367 [
    i32 8, label %321
    i32 10, label %327
  ]

321:                                              ; preds = %319
  %322 = load ptr, ptr %22, align 8, !tbaa !9
  %323 = call i32 @gzclose(ptr noundef %322)
  store i32 %323, ptr %38, align 4, !tbaa !5
  %324 = load i32, ptr %38, align 4, !tbaa !5
  %325 = icmp ne i32 %324, 0
  br i1 %325, label %326, label %330

326:                                              ; preds = %321
  br label %327

327:                                              ; preds = %326, %319
  %328 = load i32, ptr %38, align 4, !tbaa !5
  %329 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %328)
  call void @exit(i32 noundef 1) #11
  unreachable

330:                                              ; preds = %321
  %331 = call i64 @clock() #9
  %332 = load i64, ptr %37, align 8, !tbaa !16
  %333 = sub nsw i64 %331, %332
  %334 = load i64, ptr %20, align 8, !tbaa !16
  %335 = add nsw i64 %334, %333
  store i64 %335, ptr %20, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %336

336:                                              ; preds = %330, %297, %279
  %337 = load i8, ptr %9, align 1, !tbaa !11, !range !18, !noundef !19
  %338 = trunc i8 %337 to i1
  br i1 %338, label %339, label %350

339:                                              ; preds = %336
  %340 = load i64, ptr %20, align 8, !tbaa !16
  %341 = sitofp i64 %340 to float
  %342 = fdiv float %341, 1.000000e+06
  store float %342, ptr %35, align 4, !tbaa !21
  %343 = load i32, ptr %25, align 4, !tbaa !5
  %344 = sitofp i32 %343 to double
  %345 = fdiv double %344, 0x4130000000000000
  %346 = load float, ptr %35, align 4, !tbaa !21
  %347 = fpext float %346 to double
  %348 = fdiv double %345, %347
  %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %348)
  br label %350

350:                                              ; preds = %339, %336
  %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  %352 = load i8, ptr %10, align 1, !tbaa !11, !range !18, !noundef !19
  %353 = trunc i8 %352 to i1
  br i1 %353, label %354, label %357

354:                                              ; preds = %350
  %355 = load ptr, ptr %21, align 8, !tbaa !9
  %356 = call i32 @remove(ptr noundef %355) #9
  br label %357

357:                                              ; preds = %354, %350
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %358

358:                                              ; preds = %357, %145
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  %359 = load i32, ptr %13, align 4
  switch i32 %359, label %367 [
    i32 2, label %43
    i32 1, label %360
  ]

360:                                              ; preds = %358, %43
  %361 = load i32, ptr %3, align 4
  ret i32 %361

362:                                              ; preds = %104
  %363 = load ptr, ptr %17, align 8
  %364 = load i32, ptr %18, align 4
  %365 = insertvalue { ptr, i32 } poison, ptr %363, 0
  %366 = insertvalue { ptr, i32 } %365, i32 %364, 1
  resume { ptr, i32 } %366

367:                                              ; preds = %358, %319
  unreachable
}

declare i32 @printf(ptr noundef, ...) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL13ScanDirectoryPKcbi(ptr noundef, i1 noundef zeroext, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL10FillBufferv() #4

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

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

declare i32 @compress2(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1

declare i32 @uncompress(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1

declare i32 @gzclose(ptr noundef) #1

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1

declare i64 @ftell(ptr noundef) #1

declare i32 @fclose(ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @remove(ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !15}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = distinct !{!23, !15}


; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@_Z8fileListB5cxx11 = external dso_local global %"class.std::vector", align 8
@_Z11fileExcludeB5cxx11 = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [374 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@__const.main.initString = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL6buffer = external hidden global [268435456 x i8], align 16
@_ZL13bytesInBuffer = external hidden local_unnamed_addr global i32, align 4
@_ZL16compressedBuffer = external hidden global [268451840 x i8], align 16
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca [4 x i8], align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = icmp slt i32 %0, 2
  br i1 %8, label %.thread178, label %.preheader.preheader

.preheader.preheader:                             ; preds = %2
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %.preheader

.thread178:                                       ; preds = %47, %45, %21, %2
  %9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %142

.preheader:                                       ; preds = %.preheader.preheader, %48
  %indvars.iv = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next, %48 ]
  %.098218 = phi ptr [ null, %.preheader.preheader ], [ %.199, %48 ]
  %.0101217 = phi i32 [ 9, %.preheader.preheader ], [ %.1102, %48 ]
  %.0105216 = phi i1 [ false, %.preheader.preheader ], [ %.1106, %48 ]
  %.0109215 = phi i8 [ 0, %.preheader.preheader ], [ %.1110, %48 ]
  %.0113214 = phi i1 [ false, %.preheader.preheader ], [ %.1114, %48 ]
  %.0117213 = phi i1 [ false, %.preheader.preheader ], [ %.1118, %48 ]
  %10 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = load i8, ptr %11, align 1, !tbaa !9
  %13 = icmp eq i8 %12, 45
  br i1 %13, label %14, label %47

14:                                               ; preds = %.preheader
  %15 = getelementptr inbounds i8, ptr %11, i64 1
  %16 = load i8, ptr %15, align 1, !tbaa !9
  %17 = icmp eq i8 %16, 45
  br i1 %17, label %18, label %47

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %11, i64 2
  %20 = call i32 @strncasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.2, i64 noundef 6) #9
  %.not146 = icmp eq i32 %20, 0
  br i1 %.not146, label %21, label %28

21:                                               ; preds = %18
  %22 = add nsw i32 %.0101217, -58
  %or.cond = icmp ult i32 %22, -10
  br i1 %or.cond, label %23, label %.thread178

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %11, i64 8
  %25 = load i8, ptr %24, align 1, !tbaa !9
  %26 = sext i8 %25 to i32
  %27 = add nsw i32 %26, -48
  br label %48

28:                                               ; preds = %18
  %29 = call i32 @strncasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.3, i64 noundef 8) #9
  %.not147 = icmp eq i32 %29, 0
  br i1 %.not147, label %30, label %39

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #10
  %31 = getelementptr inbounds i8, ptr %11, i64 10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull %31, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %32 unwind label %34

32:                                               ; preds = %30
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) @_Z11fileExcludeB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %33 unwind label %36

33:                                               ; preds = %32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #10
  br label %48

34:                                               ; preds = %30
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %32
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #10
  br label %38

38:                                               ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn

39:                                               ; preds = %28
  %40 = call i32 @strcasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.4) #9
  %.not149 = icmp eq i32 %40, 0
  br i1 %.not149, label %48, label %41

41:                                               ; preds = %39
  %42 = call i32 @strcasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.5) #9
  %.not150 = icmp eq i32 %42, 0
  br i1 %.not150, label %48, label %43

43:                                               ; preds = %41
  %44 = call i32 @strcasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.6) #9
  %.not151 = icmp eq i32 %44, 0
  br i1 %.not151, label %48, label %45

45:                                               ; preds = %43
  %46 = call i32 @strcasecmp(ptr noundef nonnull %19, ptr noundef nonnull @.str.7) #9
  %.not152 = icmp eq i32 %46, 0
  br i1 %.not152, label %48, label %.thread178

47:                                               ; preds = %14, %.preheader
  %.not = icmp eq ptr %.098218, null
  br i1 %.not, label %48, label %.thread178

48:                                               ; preds = %47, %45, %43, %41, %39, %23, %33
  %.1118 = phi i1 [ %.0117213, %33 ], [ %.0117213, %23 ], [ %.0117213, %39 ], [ %.0117213, %41 ], [ %.0117213, %43 ], [ true, %45 ], [ %.0117213, %47 ]
  %.1114 = phi i1 [ %.0113214, %33 ], [ %.0113214, %23 ], [ %.0113214, %39 ], [ %.0113214, %41 ], [ true, %43 ], [ %.0113214, %45 ], [ %.0113214, %47 ]
  %.1110 = phi i8 [ %.0109215, %33 ], [ %.0109215, %23 ], [ %.0109215, %39 ], [ 1, %41 ], [ %.0109215, %43 ], [ %.0109215, %45 ], [ %.0109215, %47 ]
  %.1106 = phi i1 [ %.0105216, %33 ], [ %.0105216, %23 ], [ true, %39 ], [ %.0105216, %41 ], [ %.0105216, %43 ], [ %.0105216, %45 ], [ %.0105216, %47 ]
  %.1102 = phi i32 [ %.0101217, %33 ], [ %27, %23 ], [ %.0101217, %39 ], [ %.0101217, %41 ], [ %.0101217, %43 ], [ %.0101217, %45 ], [ %.0101217, %47 ]
  %.199 = phi ptr [ %.098218, %33 ], [ %.098218, %23 ], [ %.098218, %39 ], [ %.098218, %41 ], [ %.098218, %43 ], [ %.098218, %45 ], [ %11, %47 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %49, label %.preheader, !llvm.loop !10

49:                                               ; preds = %48
  %.not153 = icmp eq ptr %.199, null
  br i1 %.not153, label %50, label %52

50:                                               ; preds = %49
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  call void @exit(i32 noundef 1) #11
  unreachable

52:                                               ; preds = %49
  %53 = call noundef zeroext i1 @_ZL13ScanDirectoryPKcbi(ptr noundef nonnull %.199, i1 noundef zeroext true, i32 noundef -1)
  %54 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z8fileListB5cxx11) #10
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %52
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @exit(i32 noundef 1) #11
  unreachable

58:                                               ; preds = %52
  br i1 %.1118, label %59, label %.thread

59:                                               ; preds = %58
  %60 = call noundef zeroext i1 @_ZL10FillBufferv()
  br i1 %60, label %.lr.ph.split.us, label %._crit_edge

.thread:                                          ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #10
  %61 = load i32, ptr @__const.main.initString, align 1
  store i32 %61, ptr %5, align 4
  %62 = trunc i32 %.1102 to i8
  %63 = add i8 %62, 48
  %64 = getelementptr inbounds i8, ptr %5, i64 2
  store i8 %63, ptr %64, align 2, !tbaa !9
  %65 = call ptr @gzopen(ptr noundef nonnull @.str.10, ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #10
  %66 = call noundef zeroext i1 @_ZL10FillBufferv()
  br i1 %66, label %.lr.ph.split, label %._crit_edge.thread

.lr.ph.split.us:                                  ; preds = %59
  %67 = trunc nuw i8 %.1110 to i1
  %68 = call i64 @clock() #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  store i64 268451840, ptr %6, align 8, !tbaa !12
  %69 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !14
  %70 = sext i32 %69 to i64
  %71 = call i32 @compress2(ptr noundef nonnull @_ZL16compressedBuffer, ptr noundef nonnull %6, ptr noundef nonnull @_ZL6buffer, i64 noundef %70, i32 noundef %.1102)
  %.not155.us.us = icmp eq i32 %71, 0
  br i1 %67, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us
  br i1 %.not155.us.us, label %72, label %.split.us

72:                                               ; preds = %.lr.ph.split.us.split.us
  %73 = call i64 @clock() #10
  %74 = load i64, ptr %6, align 8, !tbaa !12
  %75 = call i64 @clock() #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  store i64 268435456, ptr %7, align 8, !tbaa !12
  %76 = load i64, ptr %6, align 8, !tbaa !12
  %77 = call i32 @uncompress(ptr noundef nonnull @_ZL6buffer, ptr noundef nonnull %7, ptr noundef nonnull @_ZL16compressedBuffer, i64 noundef %76)
  %.not156.us.us = icmp eq i32 %77, 0
  br i1 %.not156.us.us, label %._crit_edge.split.us.split.us, label %.split227.us

._crit_edge.split.us.split.us:                    ; preds = %72
  %78 = call i64 @clock() #10
  %79 = sub i64 %78, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %._crit_edge.sink.split

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us
  br i1 %.not155.us.us, label %._crit_edge.split.us.split, label %.split.us

._crit_edge.split.us.split:                       ; preds = %.lr.ph.split.us.split
  %80 = call i64 @clock() #10
  %81 = load i64, ptr %6, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %._crit_edge.sink.split

.lr.ph.split:                                     ; preds = %.thread
  %82 = call i64 @clock() #10
  %83 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !14
  %84 = call i32 @gzwrite(ptr noundef %65, ptr noundef nonnull @_ZL6buffer, i32 noundef %83)
  %85 = call i64 @clock() #10
  %86 = sub nsw i64 %85, %82
  %87 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !14
  %88 = call noundef zeroext i1 @_ZL10FillBufferv()
  br label %._crit_edge.thread

.split.us:                                        ; preds = %.lr.ph.split.us.split.us, %.lr.ph.split.us.split
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %71)
  call void @exit(i32 noundef 1) #11
  unreachable

.split227.us:                                     ; preds = %72
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %77)
  call void @exit(i32 noundef 1) #11
  unreachable

._crit_edge.sink.split:                           ; preds = %._crit_edge.split.us.split, %._crit_edge.split.us.split.us
  %.pn261 = phi i64 [ %73, %._crit_edge.split.us.split.us ], [ %80, %._crit_edge.split.us.split ]
  %.0128.lcssa.ph = phi i64 [ %79, %._crit_edge.split.us.split.us ], [ 0, %._crit_edge.split.us.split ]
  %.0121.lcssa.ph.in = phi i64 [ %74, %._crit_edge.split.us.split.us ], [ %81, %._crit_edge.split.us.split ]
  %.0121.lcssa.ph = trunc i64 %.0121.lcssa.ph.in to i32
  %.0132.lcssa.ph = sub nsw i64 %.pn261, %68
  %91 = load i32, ptr @_ZL13bytesInBuffer, align 4, !tbaa !14
  %92 = call noundef zeroext i1 @_ZL10FillBufferv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.sink.split, %59
  %.0132.lcssa = phi i64 [ 0, %59 ], [ %.0132.lcssa.ph, %._crit_edge.sink.split ]
  %.0128.lcssa = phi i64 [ 0, %59 ], [ %.0128.lcssa.ph, %._crit_edge.sink.split ]
  %.0124.lcssa = phi i32 [ 0, %59 ], [ %91, %._crit_edge.sink.split ]
  %.0121.lcssa = phi i32 [ 0, %59 ], [ %.0121.lcssa.ph, %._crit_edge.sink.split ]
  br i1 %.1118, label %.critedge, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.lr.ph.split, %.thread, %._crit_edge
  %.0124.lcssa258 = phi i32 [ %.0124.lcssa, %._crit_edge ], [ 0, %.thread ], [ %87, %.lr.ph.split ]
  %.0128.lcssa256 = phi i64 [ %.0128.lcssa, %._crit_edge ], [ 0, %.thread ], [ 0, %.lr.ph.split ]
  %.0132.lcssa254 = phi i64 [ %.0132.lcssa, %._crit_edge ], [ 0, %.thread ], [ %86, %.lr.ph.split ]
  %.0126245253 = phi ptr [ null, %._crit_edge ], [ %65, %.thread ], [ %65, %.lr.ph.split ]
  %93 = call i32 @gzclose(ptr noundef %.0126245253)
  %94 = call noalias ptr @fopen(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.13)
  %95 = call i32 @fseek(ptr noundef %94, i64 noundef 0, i32 noundef 2)
  %96 = call i64 @ftell(ptr noundef %94)
  %97 = trunc i64 %96 to i32
  %98 = call i32 @fclose(ptr noundef %94)
  br label %.critedge

.critedge:                                        ; preds = %._crit_edge, %._crit_edge.thread
  %.0124.lcssa259 = phi i32 [ %.0124.lcssa258, %._crit_edge.thread ], [ %.0124.lcssa, %._crit_edge ]
  %.0128.lcssa257 = phi i64 [ %.0128.lcssa256, %._crit_edge.thread ], [ %.0128.lcssa, %._crit_edge ]
  %.0132.lcssa255 = phi i64 [ %.0132.lcssa254, %._crit_edge.thread ], [ %.0132.lcssa, %._crit_edge ]
  %.2123 = phi i32 [ %97, %._crit_edge.thread ], [ %.0121.lcssa, %._crit_edge ]
  %99 = sitofp i64 %.0132.lcssa255 to float
  %100 = fdiv float %99, 1.000000e+06
  %101 = sitofp i32 %.0124.lcssa259 to double
  %102 = fmul double %101, 0x3EB0000000000000
  %103 = fptrunc double %102 to float
  %104 = fpext float %103 to double
  br i1 %.1106, label %107, label %105

105:                                              ; preds = %.critedge
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %104, ptr noundef nonnull @.str.14, i32 noundef %.1102, ptr noundef nonnull %.199)
  br label %109

107:                                              ; preds = %.critedge
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, ptr noundef nonnull @.str.14, i32 noundef %.1102, double noundef %104)
  br label %109

109:                                              ; preds = %107, %105
  %110 = fpext float %100 to double
  %111 = fdiv double %102, %110
  %112 = sitofp i32 %.2123 to double
  %113 = fdiv double %101, %112
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, double noundef %110, i32 noundef %.2123, double noundef %111, double noundef %113)
  %115 = trunc nuw i8 %.1110 to i1
  %.not158 = xor i1 %115, true
  %brmerge = or i1 %.1118, %.not158
  br i1 %brmerge, label %131, label %116

116:                                              ; preds = %109
  %117 = call ptr @gzopen(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.13)
  %118 = call i64 @clock() #10
  %119 = icmp sgt i32 %.0124.lcssa259, 0
  br i1 %119, label %.lr.ph240, label %._crit_edge241

.lr.ph240:                                        ; preds = %116, %122
  %.0238 = phi i32 [ %123, %122 ], [ 0, %116 ]
  %120 = call i32 @gzread(ptr noundef %117, ptr noundef nonnull @_ZL6buffer, i32 noundef 268435456)
  %121 = icmp slt i32 %120, 0
  br i1 %121, label %.loopexit, label %122

122:                                              ; preds = %.lr.ph240
  %123 = add nuw nsw i32 %120, %.0238
  %124 = icmp slt i32 %123, %.0124.lcssa259
  br i1 %124, label %.lr.ph240, label %._crit_edge241, !llvm.loop !16

._crit_edge241:                                   ; preds = %122, %116
  %125 = call i32 @gzclose(ptr noundef %117)
  %.not154 = icmp eq i32 %125, 0
  br i1 %.not154, label %127, label %.loopexit

.loopexit:                                        ; preds = %.lr.ph240, %._crit_edge241
  %.2 = phi i32 [ %125, %._crit_edge241 ], [ %120, %.lr.ph240 ]
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %.2)
  call void @exit(i32 noundef 1) #11
  unreachable

127:                                              ; preds = %._crit_edge241
  %128 = call i64 @clock() #10
  %129 = sub i64 %.0128.lcssa257, %118
  %130 = add i64 %129, %128
  br label %131

131:                                              ; preds = %109, %127
  %.3131 = phi i64 [ %130, %127 ], [ %.0128.lcssa257, %109 ]
  br i1 %115, label %132, label %138

132:                                              ; preds = %131
  %133 = sitofp i64 %.3131 to float
  %134 = fdiv float %133, 1.000000e+06
  %135 = fpext float %134 to double
  %136 = fdiv double %102, %135
  %137 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %136)
  br label %138

138:                                              ; preds = %132, %131
  %139 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19)
  br i1 %.1114, label %140, label %142

140:                                              ; preds = %138
  %141 = call i32 @remove(ptr noundef nonnull @.str.10) #10
  br label %142

142:                                              ; preds = %140, %138, %.thread178
  %.197 = phi i32 [ 1, %.thread178 ], [ 0, %138 ], [ 0, %140 ]
  ret i32 %.197
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL13ScanDirectoryPKcbi(ptr noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

declare ptr @gzopen(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL10FillBufferv() local_unnamed_addr #4

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

declare i32 @gzwrite(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

declare i32 @compress2(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #7

declare i32 @uncompress(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #7

declare i32 @gzclose(ptr noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

declare i32 @gzread(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = distinct !{!16, !11}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass