; LLVM IR from GuillaumeHolley/BloomFilterTrie :: src (xxhsum)

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

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 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 [10 x i8], align 1
@stderr = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@g_lename = external hidden constant [14 x i8], align 1
@g_bename = external hidden constant [11 x i8], align 1
@author = external hidden constant [12 x i8], align 1
@g_nbIterations = external hidden global i32, align 4
@g_sampleSize = external hidden global i64, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = getelementptr inbounds ptr, ptr %19, i64 0
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  store ptr %21, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 1, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !5
  %22 = load ptr, ptr %8, align 8, !tbaa !9
  %23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str) #5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %2
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %25, %2
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %187, %26
  %28 = load i32, ptr %6, align 4, !tbaa !5
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = icmp slt i32 %28, %29
  br i1 %30, label %31, label %190

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %32 = load ptr, ptr %5, align 8, !tbaa !9
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds ptr, ptr %32, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  store ptr %36, ptr %17, align 8, !tbaa !9
  %37 = load ptr, ptr %17, align 8, !tbaa !9
  %38 = icmp ne ptr %37, null
  br i1 %38, label %40, label %39

39:                                               ; preds = %31
  store i32 4, ptr %18, align 4
  br label %184

40:                                               ; preds = %31
  %41 = load ptr, ptr %17, align 8, !tbaa !9
  %42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.1) #5
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 1, ptr %16, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

45:                                               ; preds = %40
  %46 = load ptr, ptr %17, align 8, !tbaa !9
  %47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.2) #5
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  store i32 1, ptr %10, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

50:                                               ; preds = %45
  %51 = load ptr, ptr %17, align 8, !tbaa !9
  %52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.3) #5
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

55:                                               ; preds = %50
  %56 = load ptr, ptr %17, align 8, !tbaa !9
  %57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.4) #5
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 1, ptr %12, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

60:                                               ; preds = %55
  %61 = load ptr, ptr %17, align 8, !tbaa !9
  %62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.5) #5
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  store i32 1, ptr %14, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

65:                                               ; preds = %60
  %66 = load ptr, ptr %17, align 8, !tbaa !9
  %67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.6) #5
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 1, ptr %13, align 4, !tbaa !5
  store i32 4, ptr %18, align 4
  br label %184

70:                                               ; preds = %65
  %71 = load ptr, ptr %17, align 8, !tbaa !9
  %72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.7) #5
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %77, label %74

74:                                               ; preds = %70
  %75 = load ptr, ptr %8, align 8, !tbaa !9
  %76 = call i32 @usage_advanced(ptr noundef %75)
  store i32 %76, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %184

77:                                               ; preds = %70
  %78 = load ptr, ptr %17, align 8, !tbaa !9
  %79 = call i32 @strcmp(ptr noundef %78, ptr noundef @.str.8) #5
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %89, label %81

81:                                               ; preds = %77
  %82 = load ptr, ptr @stderr, align 8, !tbaa !9
  %83 = load ptr, ptr %8, align 8, !tbaa !9
  %84 = call i32 @BMK_isLittleEndian()
  %85 = icmp ne i32 %84, 0
  %86 = zext i1 %85 to i64
  %87 = select i1 %85, ptr @g_lename, ptr @g_bename
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.9, ptr noundef %83, ptr noundef @.str.10, i32 noundef 64, ptr noundef %87, ptr noundef @author) #4
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %184

89:                                               ; preds = %77
  %90 = load ptr, ptr %17, align 8, !tbaa !9
  %91 = load i8, ptr %90, align 1, !tbaa !11
  %92 = sext i8 %91 to i32
  %93 = icmp ne i32 %92, 45
  br i1 %93, label %94, label %100

94:                                               ; preds = %89
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %94
  %98 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %98, ptr %7, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %97, %94
  store i32 4, ptr %18, align 4
  br label %184

100:                                              ; preds = %89
  %101 = load ptr, ptr %17, align 8, !tbaa !9
  %102 = getelementptr inbounds i8, ptr %101, i32 1
  store ptr %102, ptr %17, align 8, !tbaa !9
  br label %103

103:                                              ; preds = %182, %100
  %104 = load ptr, ptr %17, align 8, !tbaa !9
  %105 = load i8, ptr %104, align 1, !tbaa !11
  %106 = sext i8 %105 to i32
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %183

108:                                              ; preds = %103
  %109 = load ptr, ptr %17, align 8, !tbaa !9
  %110 = load i8, ptr %109, align 1, !tbaa !11
  %111 = sext i8 %110 to i32
  switch i32 %111, label %179 [
    i32 86, label %112
    i32 104, label %120
    i32 72, label %123
    i32 99, label %131
    i32 119, label %134
    i32 98, label %137
    i32 105, label %140
    i32 66, label %148
  ]

112:                                              ; preds = %108
  %113 = load ptr, ptr @stderr, align 8, !tbaa !9
  %114 = load ptr, ptr %8, align 8, !tbaa !9
  %115 = call i32 @BMK_isLittleEndian()
  %116 = icmp ne i32 %115, 0
  %117 = zext i1 %116 to i64
  %118 = select i1 %116, ptr @g_lename, ptr @g_bename
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.9, ptr noundef %114, ptr noundef @.str.10, i32 noundef 64, ptr noundef %118, ptr noundef @author) #4
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %184

120:                                              ; preds = %108
  %121 = load ptr, ptr %8, align 8, !tbaa !9
  %122 = call i32 @usage_advanced(ptr noundef %121)
  store i32 %122, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %184

123:                                              ; preds = %108
  %124 = load ptr, ptr %17, align 8, !tbaa !9
  %125 = getelementptr inbounds i8, ptr %124, i64 1
  %126 = load i8, ptr %125, align 1, !tbaa !11
  %127 = sext i8 %126 to i32
  %128 = sub nsw i32 %127, 48
  store i32 %128, ptr %15, align 4, !tbaa !5
  %129 = load ptr, ptr %17, align 8, !tbaa !9
  %130 = getelementptr inbounds i8, ptr %129, i64 2
  store ptr %130, ptr %17, align 8, !tbaa !9
  br label %182

131:                                              ; preds = %108
  store i32 1, ptr %10, align 4, !tbaa !5
  %132 = load ptr, ptr %17, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %132, i32 1
  store ptr %133, ptr %17, align 8, !tbaa !9
  br label %182

134:                                              ; preds = %108
  store i32 1, ptr %13, align 4, !tbaa !5
  %135 = load ptr, ptr %17, align 8, !tbaa !9
  %136 = getelementptr inbounds i8, ptr %135, i32 1
  store ptr %136, ptr %17, align 8, !tbaa !9
  br label %182

137:                                              ; preds = %108
  %138 = load ptr, ptr %17, align 8, !tbaa !9
  %139 = getelementptr inbounds i8, ptr %138, i32 1
  store ptr %139, ptr %17, align 8, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %182

140:                                              ; preds = %108
  %141 = load ptr, ptr %17, align 8, !tbaa !9
  %142 = getelementptr inbounds i8, ptr %141, i64 1
  %143 = load i8, ptr %142, align 1, !tbaa !11
  %144 = sext i8 %143 to i32
  %145 = sub nsw i32 %144, 48
  store i32 %145, ptr @g_nbIterations, align 4, !tbaa !5
  %146 = load ptr, ptr %17, align 8, !tbaa !9
  %147 = getelementptr inbounds i8, ptr %146, i64 2
  store ptr %147, ptr %17, align 8, !tbaa !9
  br label %182

148:                                              ; preds = %108
  %149 = load ptr, ptr %17, align 8, !tbaa !9
  %150 = getelementptr inbounds i8, ptr %149, i32 1
  store ptr %150, ptr %17, align 8, !tbaa !9
  store i64 0, ptr @g_sampleSize, align 8, !tbaa !12
  br label %151

151:                                              ; preds = %165, %148
  %152 = load ptr, ptr %17, align 8, !tbaa !9
  %153 = getelementptr inbounds i8, ptr %152, i64 0
  %154 = load i8, ptr %153, align 1, !tbaa !11
  %155 = sext i8 %154 to i32
  %156 = icmp sge i32 %155, 48
  br i1 %156, label %157, label %163

157:                                              ; preds = %151
  %158 = load ptr, ptr %17, align 8, !tbaa !9
  %159 = getelementptr inbounds i8, ptr %158, i64 0
  %160 = load i8, ptr %159, align 1, !tbaa !11
  %161 = sext i8 %160 to i32
  %162 = icmp sle i32 %161, 57
  br label %163

163:                                              ; preds = %157, %151
  %164 = phi i1 [ false, %151 ], [ %162, %157 ]
  br i1 %164, label %165, label %178

165:                                              ; preds = %163
  %166 = load i64, ptr @g_sampleSize, align 8, !tbaa !12
  %167 = mul i64 %166, 10
  store i64 %167, ptr @g_sampleSize, align 8, !tbaa !12
  %168 = load ptr, ptr %17, align 8, !tbaa !9
  %169 = getelementptr inbounds i8, ptr %168, i64 0
  %170 = load i8, ptr %169, align 1, !tbaa !11
  %171 = sext i8 %170 to i32
  %172 = sub nsw i32 %171, 48
  %173 = sext i32 %172 to i64
  %174 = load i64, ptr @g_sampleSize, align 8, !tbaa !12
  %175 = add i64 %174, %173
  store i64 %175, ptr @g_sampleSize, align 8, !tbaa !12
  %176 = load ptr, ptr %17, align 8, !tbaa !9
  %177 = getelementptr inbounds i8, ptr %176, i32 1
  store ptr %177, ptr %17, align 8, !tbaa !9
  br label %151, !llvm.loop !14

178:                                              ; preds = %163
  br label %182

179:                                              ; preds = %108
  %180 = load ptr, ptr %8, align 8, !tbaa !9
  %181 = call i32 @badusage(ptr noundef %180)
  store i32 %181, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %184

182:                                              ; preds = %178, %140, %137, %134, %131, %123
  br label %103, !llvm.loop !16

183:                                              ; preds = %103
  store i32 0, ptr %18, align 4
  br label %184

184:                                              ; preds = %183, %179, %120, %112, %99, %81, %74, %69, %64, %59, %54, %49, %44, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  %185 = load i32, ptr %18, align 4
  switch i32 %185, label %256 [
    i32 0, label %186
    i32 4, label %187
  ]

186:                                              ; preds = %184
  br label %187

187:                                              ; preds = %186, %184
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %6, align 4, !tbaa !5
  br label %27, !llvm.loop !17

190:                                              ; preds = %27
  %191 = load i32, ptr %9, align 4, !tbaa !5
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %214

193:                                              ; preds = %190
  %194 = load ptr, ptr @stderr, align 8, !tbaa !9
  %195 = load ptr, ptr %8, align 8, !tbaa !9
  %196 = call i32 @BMK_isLittleEndian()
  %197 = icmp ne i32 %196, 0
  %198 = zext i1 %197 to i64
  %199 = select i1 %197, ptr @g_lename, ptr @g_bename
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.9, ptr noundef %195, ptr noundef @.str.10, i32 noundef 64, ptr noundef %199, ptr noundef @author) #4
  call void @BMK_sanityCheck()
  %201 = load i32, ptr %7, align 4, !tbaa !5
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %203, label %205

203:                                              ; preds = %193
  %204 = call i32 @BMK_benchInternal()
  store i32 %204, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %256

205:                                              ; preds = %193
  %206 = load ptr, ptr %5, align 8, !tbaa !9
  %207 = load i32, ptr %7, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds ptr, ptr %206, i64 %208
  %210 = load i32, ptr %4, align 4, !tbaa !5
  %211 = load i32, ptr %7, align 4, !tbaa !5
  %212 = sub nsw i32 %210, %211
  %213 = call i32 @BMK_benchFiles(ptr noundef %209, i32 noundef %212)
  store i32 %213, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %256

214:                                              ; preds = %190
  %215 = load i32, ptr %7, align 4, !tbaa !5
  %216 = icmp eq i32 %215, 0
  br i1 %216, label %217, label %223

217:                                              ; preds = %214
  %218 = call i32 @isatty(i32 noundef 0) #4
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %223

220:                                              ; preds = %217
  %221 = load ptr, ptr %8, align 8, !tbaa !9
  %222 = call i32 @badusage(ptr noundef %221)
  store i32 %222, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %256

223:                                              ; preds = %217, %214
  %224 = load i32, ptr %7, align 4, !tbaa !5
  %225 = icmp eq i32 %224, 0
  br i1 %225, label %226, label %228

226:                                              ; preds = %223
  %227 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %227, ptr %7, align 4, !tbaa !5
  br label %228

228:                                              ; preds = %226, %223
  %229 = load i32, ptr %10, align 4, !tbaa !5
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %245

231:                                              ; preds = %228
  %232 = load ptr, ptr %5, align 8, !tbaa !9
  %233 = load i32, ptr %7, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds ptr, ptr %232, i64 %234
  %236 = load i32, ptr %4, align 4, !tbaa !5
  %237 = load i32, ptr %7, align 4, !tbaa !5
  %238 = sub nsw i32 %236, %237
  %239 = load i32, ptr %16, align 4, !tbaa !5
  %240 = load i32, ptr %11, align 4, !tbaa !5
  %241 = load i32, ptr %12, align 4, !tbaa !5
  %242 = load i32, ptr %13, align 4, !tbaa !5
  %243 = load i32, ptr %14, align 4, !tbaa !5
  %244 = call i32 @checkFiles(ptr noundef %235, i32 noundef %238, i32 noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242, i32 noundef %243)
  store i32 %244, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %256

245:                                              ; preds = %228
  %246 = load ptr, ptr %5, align 8, !tbaa !9
  %247 = load i32, ptr %7, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds ptr, ptr %246, i64 %248
  %250 = load i32, ptr %4, align 4, !tbaa !5
  %251 = load i32, ptr %7, align 4, !tbaa !5
  %252 = sub nsw i32 %250, %251
  %253 = load i32, ptr %15, align 4, !tbaa !5
  %254 = load i32, ptr %16, align 4, !tbaa !5
  %255 = call i32 @BMK_hashFiles(ptr noundef %249, i32 noundef %252, i32 noundef %253, i32 noundef %254)
  store i32 %255, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %256

256:                                              ; preds = %245, %231, %220, %205, %203, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %257 = load i32, ptr %3, align 4
  ret i32 %257
}

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

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @usage_advanced(ptr noundef) #0

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_isLittleEndian() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @badusage(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare hidden void @BMK_sanityCheck() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_benchInternal() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_benchFiles(ptr noundef, i32 noundef) #0

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @checkFiles(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_hashFiles(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !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"

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 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 [10 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@g_lename = external hidden constant [14 x i8], align 1
@g_bename = external hidden constant [11 x i8], align 1
@author = external hidden constant [12 x i8], align 1
@g_nbIterations = external hidden local_unnamed_addr global i32, align 4
@g_sampleSize = external hidden local_unnamed_addr global i64, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = load ptr, ptr %1, align 8, !tbaa !5
  %4 = tail call ptr @strstr(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str) #4
  %.not = icmp eq ptr %4, null
  %spec.select = zext i1 %.not to i32
  %5 = icmp sgt i32 %0, 1
  br i1 %5, label %.lr.ph214.preheader, label %.thread

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

.lr.ph214:                                        ; preds = %.lr.ph214.preheader, %.loopexit
  %indvars.iv = phi i64 [ 1, %.lr.ph214.preheader ], [ %indvars.iv.next, %.loopexit ]
  %.068213 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.169.ph, %.loopexit ]
  %.171212 = phi i32 [ %spec.select, %.lr.ph214.preheader ], [ %.4.ph, %.loopexit ]
  %.073211 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.174.ph, %.loopexit ]
  %.075210 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.378.ph, %.loopexit ]
  %.079209 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.180.ph, %.loopexit ]
  %.081208 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.182.ph, %.loopexit ]
  %.083207 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.386.ph, %.loopexit ]
  %.087206 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.390.ph, %.loopexit ]
  %.094205 = phi i32 [ 0, %.lr.ph214.preheader ], [ %.296.ph, %.loopexit ]
  %6 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not107 = icmp eq ptr %7, null
  br i1 %.not107, label %.loopexit, label %8

8:                                                ; preds = %.lr.ph214
  %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.1) #4
  %.not108 = icmp eq i32 %9, 0
  br i1 %.not108, label %.loopexit, label %10

10:                                               ; preds = %8
  %11 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.2) #4
  %.not109 = icmp eq i32 %11, 0
  br i1 %.not109, label %.loopexit, label %12

12:                                               ; preds = %10
  %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.3) #4
  %.not110 = icmp eq i32 %13, 0
  br i1 %.not110, label %.loopexit, label %14

14:                                               ; preds = %12
  %15 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.4) #4
  %.not111 = icmp eq i32 %15, 0
  br i1 %.not111, label %.loopexit, label %16

16:                                               ; preds = %14
  %17 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.5) #4
  %.not112 = icmp eq i32 %17, 0
  br i1 %.not112, label %.loopexit, label %18

18:                                               ; preds = %16
  %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.6) #4
  %.not113 = icmp eq i32 %19, 0
  br i1 %.not113, label %.loopexit, label %20

20:                                               ; preds = %18
  %21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.7) #4
  %.not114 = icmp eq i32 %21, 0
  br i1 %.not114, label %22, label %24

22:                                               ; preds = %20
  %23 = tail call i32 @usage_advanced(ptr noundef %3)
  br label %104

24:                                               ; preds = %20
  %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.8) #4
  %.not115 = icmp eq i32 %25, 0
  br i1 %.not115, label %26, label %31

26:                                               ; preds = %24
  %27 = load ptr, ptr @stderr, align 8, !tbaa !5
  %28 = tail call i32 @BMK_isLittleEndian()
  %.not116 = icmp eq i32 %28, 0
  %29 = select i1 %.not116, ptr @g_bename, ptr @g_lename
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str.9, ptr noundef %3, ptr noundef nonnull @.str.10, i32 noundef 64, ptr noundef nonnull %29, ptr noundef nonnull @author) #5
  br label %104

31:                                               ; preds = %24
  %32 = load i8, ptr %7, align 1, !tbaa !9
  %.not117 = icmp eq i8 %32, 45
  br i1 %.not117, label %36, label %33

33:                                               ; preds = %31
  %34 = icmp eq i32 %.094205, 0
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  %spec.select120 = select i1 %34, i32 %35, i32 %.094205
  br label %.loopexit

36:                                               ; preds = %31
  %37 = getelementptr inbounds i8, ptr %7, i64 1
  br label %38

38:                                               ; preds = %.critedge, %36
  %.188 = phi i32 [ %.087206, %36 ], [ %.289, %.critedge ]
  %.184 = phi i32 [ %.083207, %36 ], [ %.285, %.critedge ]
  %.176 = phi i32 [ %.075210, %36 ], [ %.277, %.critedge ]
  %.272 = phi i32 [ %.171212, %36 ], [ %.3, %.critedge ]
  %.067 = phi ptr [ %37, %36 ], [ %.2, %.critedge ]
  %39 = load i8, ptr %.067, align 1, !tbaa !9
  switch i8 %39, label %74 [
    i8 0, label %.loopexit
    i8 86, label %42
    i8 104, label %47
    i8 72, label %49
    i8 99, label %55
    i8 119, label %57
    i8 98, label %59
    i8 105, label %61
    i8 66, label %.preheader
  ]

.preheader:                                       ; preds = %38
  store i64 0, ptr @g_sampleSize, align 8, !tbaa !10
  %.1200 = getelementptr inbounds i8, ptr %.067, i64 1
  %40 = load i8, ptr %.1200, align 1, !tbaa !9
  %41 = add i8 %40, -48
  %or.cond201 = icmp ult i8 %41, 10
  br i1 %or.cond201, label %.lr.ph, label %.critedge

42:                                               ; preds = %38
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = tail call i32 @BMK_isLittleEndian()
  %.not119 = icmp eq i32 %44, 0
  %45 = select i1 %.not119, ptr @g_bename, ptr @g_lename
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.9, ptr noundef %3, ptr noundef nonnull @.str.10, i32 noundef 64, ptr noundef nonnull %45, ptr noundef nonnull @author) #5
  br label %104

47:                                               ; preds = %38
  %48 = tail call i32 @usage_advanced(ptr noundef %3)
  br label %104

49:                                               ; preds = %38
  %50 = getelementptr inbounds i8, ptr %.067, i64 1
  %51 = load i8, ptr %50, align 1, !tbaa !9
  %52 = sext i8 %51 to i32
  %53 = add nsw i32 %52, -48
  %54 = getelementptr inbounds i8, ptr %.067, i64 2
  br label %.critedge

55:                                               ; preds = %38
  %56 = getelementptr inbounds i8, ptr %.067, i64 1
  br label %.critedge

57:                                               ; preds = %38
  %58 = getelementptr inbounds i8, ptr %.067, i64 1
  br label %.critedge

59:                                               ; preds = %38
  %60 = getelementptr inbounds i8, ptr %.067, i64 1
  br label %.critedge

61:                                               ; preds = %38
  %62 = getelementptr inbounds i8, ptr %.067, i64 1
  %63 = load i8, ptr %62, align 1, !tbaa !9
  %64 = sext i8 %63 to i32
  %65 = add nsw i32 %64, -48
  store i32 %65, ptr @g_nbIterations, align 4, !tbaa !12
  %66 = getelementptr inbounds i8, ptr %.067, i64 2
  br label %.critedge

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.1203 = phi ptr [ %.1, %.lr.ph ], [ %.1200, %.preheader ]
  %storemerge202 = phi i64 [ %71, %.lr.ph ], [ 0, %.preheader ]
  %67 = mul i64 %storemerge202, 10
  store i64 %67, ptr @g_sampleSize, align 8, !tbaa !10
  %68 = load i8, ptr %.1203, align 1, !tbaa !9
  %69 = sext i8 %68 to i64
  %70 = add i64 %67, -48
  %71 = add i64 %70, %69
  store i64 %71, ptr @g_sampleSize, align 8, !tbaa !10
  %.1 = getelementptr inbounds i8, ptr %.1203, i64 1
  %72 = load i8, ptr %.1, align 1, !tbaa !9
  %73 = add i8 %72, -48
  %or.cond = icmp ult i8 %73, 10
  br i1 %or.cond, label %.lr.ph, label %.critedge, !llvm.loop !14

74:                                               ; preds = %38
  %75 = tail call i32 @badusage(ptr noundef %3)
  br label %104

.critedge:                                        ; preds = %.lr.ph, %.preheader, %61, %59, %57, %55, %49
  %.289 = phi i32 [ %.188, %61 ], [ 1, %59 ], [ %.188, %57 ], [ %.188, %55 ], [ %.188, %49 ], [ %.188, %.preheader ], [ %.188, %.lr.ph ]
  %.285 = phi i32 [ %.184, %61 ], [ %.184, %59 ], [ %.184, %57 ], [ 1, %55 ], [ %.184, %49 ], [ %.184, %.preheader ], [ %.184, %.lr.ph ]
  %.277 = phi i32 [ %.176, %61 ], [ %.176, %59 ], [ 1, %57 ], [ %.176, %55 ], [ %.176, %49 ], [ %.176, %.preheader ], [ %.176, %.lr.ph ]
  %.3 = phi i32 [ %.272, %61 ], [ %.272, %59 ], [ %.272, %57 ], [ %.272, %55 ], [ %53, %49 ], [ %.272, %.preheader ], [ %.272, %.lr.ph ]
  %.2 = phi ptr [ %66, %61 ], [ %60, %59 ], [ %58, %57 ], [ %56, %55 ], [ %54, %49 ], [ %.1200, %.preheader ], [ %.1, %.lr.ph ]
  br label %38, !llvm.loop !16

.loopexit:                                        ; preds = %38, %33, %.lr.ph214, %8, %10, %12, %14, %16, %18
  %.296.ph = phi i32 [ %.094205, %18 ], [ %.094205, %16 ], [ %.094205, %14 ], [ %.094205, %12 ], [ %.094205, %10 ], [ %.094205, %8 ], [ %.094205, %.lr.ph214 ], [ %spec.select120, %33 ], [ %.094205, %38 ]
  %.390.ph = phi i32 [ %.087206, %18 ], [ %.087206, %16 ], [ %.087206, %14 ], [ %.087206, %12 ], [ %.087206, %10 ], [ %.087206, %8 ], [ %.087206, %.lr.ph214 ], [ %.087206, %33 ], [ %.188, %38 ]
  %.386.ph = phi i32 [ %.083207, %18 ], [ %.083207, %16 ], [ %.083207, %14 ], [ %.083207, %12 ], [ 1, %10 ], [ %.083207, %8 ], [ %.083207, %.lr.ph214 ], [ %.083207, %33 ], [ %.184, %38 ]
  %.182.ph = phi i32 [ %.081208, %18 ], [ %.081208, %16 ], [ %.081208, %14 ], [ 1, %12 ], [ %.081208, %10 ], [ %.081208, %8 ], [ %.081208, %.lr.ph214 ], [ %.081208, %33 ], [ %.081208, %38 ]
  %.180.ph = phi i32 [ %.079209, %18 ], [ %.079209, %16 ], [ 1, %14 ], [ %.079209, %12 ], [ %.079209, %10 ], [ %.079209, %8 ], [ %.079209, %.lr.ph214 ], [ %.079209, %33 ], [ %.079209, %38 ]
  %.378.ph = phi i32 [ 1, %18 ], [ %.075210, %16 ], [ %.075210, %14 ], [ %.075210, %12 ], [ %.075210, %10 ], [ %.075210, %8 ], [ %.075210, %.lr.ph214 ], [ %.075210, %33 ], [ %.176, %38 ]
  %.174.ph = phi i32 [ %.073211, %18 ], [ 1, %16 ], [ %.073211, %14 ], [ %.073211, %12 ], [ %.073211, %10 ], [ %.073211, %8 ], [ %.073211, %.lr.ph214 ], [ %.073211, %33 ], [ %.073211, %38 ]
  %.4.ph = phi i32 [ %.171212, %18 ], [ %.171212, %16 ], [ %.171212, %14 ], [ %.171212, %12 ], [ %.171212, %10 ], [ %.171212, %8 ], [ %.171212, %.lr.ph214 ], [ %.171212, %33 ], [ %.272, %38 ]
  %.169.ph = phi i32 [ %.068213, %18 ], [ %.068213, %16 ], [ %.068213, %14 ], [ %.068213, %12 ], [ %.068213, %10 ], [ 1, %8 ], [ %.068213, %.lr.ph214 ], [ %.068213, %33 ], [ %.068213, %38 ]
  %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 %._crit_edge, label %.lr.ph214, !llvm.loop !17

._crit_edge:                                      ; preds = %.loopexit
  %76 = icmp eq i32 %.390.ph, 0
  br i1 %76, label %90, label %77

77:                                               ; preds = %._crit_edge
  %78 = load ptr, ptr @stderr, align 8, !tbaa !5
  %79 = tail call i32 @BMK_isLittleEndian()
  %.not106 = icmp eq i32 %79, 0
  %80 = select i1 %.not106, ptr @g_bename, ptr @g_lename
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.9, ptr noundef %3, ptr noundef nonnull @.str.10, i32 noundef 64, ptr noundef nonnull %80, ptr noundef nonnull @author) #5
  tail call void @BMK_sanityCheck()
  %82 = icmp eq i32 %.296.ph, 0
  br i1 %82, label %83, label %85

83:                                               ; preds = %77
  %84 = tail call i32 @BMK_benchInternal()
  br label %104

85:                                               ; preds = %77
  %86 = sext i32 %.296.ph to i64
  %87 = getelementptr inbounds ptr, ptr %1, i64 %86
  %88 = sub nsw i32 %0, %.296.ph
  %89 = tail call i32 @BMK_benchFiles(ptr noundef nonnull %87, i32 noundef %88)
  br label %104

90:                                               ; preds = %._crit_edge
  %91 = icmp eq i32 %.386.ph, 0
  %92 = icmp eq i32 %.296.ph, 0
  br i1 %92, label %.thread, label %96

.thread:                                          ; preds = %2, %90
  %.083.lcssa247275 = phi i1 [ %91, %90 ], [ true, %2 ]
  %.081.lcssa248273 = phi i32 [ %.182.ph, %90 ], [ 0, %2 ]
  %.079.lcssa249271 = phi i32 [ %.180.ph, %90 ], [ 0, %2 ]
  %.075.lcssa250269 = phi i32 [ %.378.ph, %90 ], [ 0, %2 ]
  %.073.lcssa251267 = phi i32 [ %.174.ph, %90 ], [ 0, %2 ]
  %.171.lcssa252265 = phi i32 [ %.4.ph, %90 ], [ %spec.select, %2 ]
  %.068.lcssa253263 = phi i32 [ %.169.ph, %90 ], [ 0, %2 ]
  %93 = tail call i32 @isatty(i32 noundef 0) #6
  %.not104 = icmp eq i32 %93, 0
  br i1 %.not104, label %96, label %94

94:                                               ; preds = %.thread
  %95 = tail call i32 @badusage(ptr noundef %3)
  br label %104

96:                                               ; preds = %.thread, %90
  %.083.lcssa247274 = phi i1 [ %.083.lcssa247275, %.thread ], [ %91, %90 ]
  %.081.lcssa248272 = phi i32 [ %.081.lcssa248273, %.thread ], [ %.182.ph, %90 ]
  %.079.lcssa249270 = phi i32 [ %.079.lcssa249271, %.thread ], [ %.180.ph, %90 ]
  %.075.lcssa250268 = phi i32 [ %.075.lcssa250269, %.thread ], [ %.378.ph, %90 ]
  %.073.lcssa251266 = phi i32 [ %.073.lcssa251267, %.thread ], [ %.174.ph, %90 ]
  %.171.lcssa252264 = phi i32 [ %.171.lcssa252265, %.thread ], [ %.4.ph, %90 ]
  %.068.lcssa253262 = phi i32 [ %.068.lcssa253263, %.thread ], [ %.169.ph, %90 ]
  %spec.select121 = phi i32 [ %0, %.thread ], [ %.296.ph, %90 ]
  %97 = sext i32 %spec.select121 to i64
  %98 = getelementptr inbounds ptr, ptr %1, i64 %97
  %99 = sub nsw i32 %0, %spec.select121
  br i1 %.083.lcssa247274, label %102, label %100

100:                                              ; preds = %96
  %101 = tail call i32 @checkFiles(ptr noundef nonnull %98, i32 noundef %99, i32 noundef %.068.lcssa253262, i32 noundef %.081.lcssa248272, i32 noundef %.079.lcssa249270, i32 noundef %.075.lcssa250268, i32 noundef %.073.lcssa251266)
  br label %104

102:                                              ; preds = %96
  %103 = tail call i32 @BMK_hashFiles(ptr noundef nonnull %98, i32 noundef %99, i32 noundef %.171.lcssa252264, i32 noundef %.068.lcssa253262)
  br label %104

104:                                              ; preds = %22, %26, %42, %47, %74, %102, %100, %94, %85, %83
  %.293 = phi i32 [ %84, %83 ], [ %89, %85 ], [ %95, %94 ], [ %101, %100 ], [ %103, %102 ], [ %75, %74 ], [ %48, %47 ], [ 0, %42 ], [ 0, %26 ], [ %23, %22 ]
  ret i32 %.293
}

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @usage_advanced(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_isLittleEndian() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @badusage(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @BMK_sanityCheck() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_benchInternal() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_benchFiles(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @checkFiles(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @BMK_hashFiles(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(read) }
attributes #5 = { cold nounwind }
attributes #6 = { nounwind }

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

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


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