; LLVM IR from intuitive-robots/mdt_policy :: pyhash-0.9.3/src/fnv (fnv64)

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

@program = external hidden global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@usage = external hidden global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@optind = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1

; 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 [32769 x i8], align 16
  %7 = alloca i32, align 4
  %8 = alloca i64, 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 i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = 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 32769, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 64, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 -1, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %20 = load ptr, ptr %5, align 8, !tbaa !9
  %21 = getelementptr inbounds ptr, ptr %20, i64 0
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  store ptr %22, ptr @program, align 8, !tbaa !9
  br label %23

23:                                               ; preds = %58, %2
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str) #7
  store i32 %26, ptr %18, align 4, !tbaa !5
  %27 = icmp ne i32 %26, -1
  br i1 %27, label %28, label %59

28:                                               ; preds = %23
  %29 = load i32, ptr %18, align 4, !tbaa !5
  switch i32 %29, label %53 [
    i32 98, label %30
    i32 109, label %33
    i32 115, label %34
    i32 116, label %35
    i32 118, label %52
  ]

30:                                               ; preds = %28
  %31 = load ptr, ptr @optarg, align 8, !tbaa !9
  %32 = call i32 @atoi(ptr noundef %31) #8
  store i32 %32, ptr %12, align 4, !tbaa !5
  br label %58

33:                                               ; preds = %28
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %58

34:                                               ; preds = %28
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %58

35:                                               ; preds = %28
  %36 = load ptr, ptr @optarg, align 8, !tbaa !9
  %37 = call i32 @atoi(ptr noundef %36) #8
  store i32 %37, ptr %13, align 4, !tbaa !5
  %38 = load i32, ptr %13, align 4, !tbaa !5
  %39 = icmp slt i32 %38, 0
  br i1 %39, label %43, label %40

40:                                               ; preds = %35
  %41 = load i32, ptr %13, align 4, !tbaa !5
  %42 = icmp sgt i32 %41, 1
  br i1 %42, label %43, label %51

43:                                               ; preds = %40, %35
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = load ptr, ptr @program, align 8, !tbaa !9
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.1, ptr noundef %45) #7
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = load ptr, ptr @usage, align 8, !tbaa !9
  %49 = load ptr, ptr @program, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef @.str.2) #7
  call void @exit(i32 noundef 1) #9
  unreachable

51:                                               ; preds = %40
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %58

52:                                               ; preds = %28
  store i32 1, ptr %10, align 4, !tbaa !5
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %58

53:                                               ; preds = %28
  %54 = load ptr, ptr @stderr, align 8, !tbaa !9
  %55 = load ptr, ptr @usage, align 8, !tbaa !9
  %56 = load ptr, ptr @program, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef @.str.2) #7
  call void @exit(i32 noundef 1) #9
  unreachable

58:                                               ; preds = %52, %51, %34, %33, %30
  br label %23, !llvm.loop !11

59:                                               ; preds = %23
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = icmp sge i32 %60, 0
  br i1 %61, label %62, label %85

62:                                               ; preds = %59
  %63 = load i32, ptr %12, align 4, !tbaa !5
  %64 = icmp ne i32 %63, 64
  br i1 %64, label %65, label %69

65:                                               ; preds = %62
  %66 = load ptr, ptr @stderr, align 8, !tbaa !9
  %67 = load ptr, ptr @program, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.3, ptr noundef %67) #7
  call void @exit(i32 noundef 2) #9
  unreachable

69:                                               ; preds = %62
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %76

72:                                               ; preds = %69
  %73 = load ptr, ptr @stderr, align 8, !tbaa !9
  %74 = load ptr, ptr @program, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.4, ptr noundef %74) #7
  call void @exit(i32 noundef 3) #9
  unreachable

76:                                               ; preds = %69
  %77 = load i32, ptr @optind, align 4, !tbaa !5
  %78 = load i32, ptr %4, align 4, !tbaa !5
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %80, label %84

80:                                               ; preds = %76
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = load ptr, ptr @program, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.5, ptr noundef %82) #7
  call void @exit(i32 noundef 4) #9
  unreachable

84:                                               ; preds = %76
  br label %85

85:                                               ; preds = %84, %59
  %86 = load i32, ptr %9, align 4, !tbaa !5
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %97

88:                                               ; preds = %85
  %89 = load i32, ptr @optind, align 4, !tbaa !5
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = icmp sge i32 %89, %90
  br i1 %91, label %92, label %97

92:                                               ; preds = %88
  %93 = load ptr, ptr @stderr, align 8, !tbaa !9
  %94 = load ptr, ptr @usage, align 8, !tbaa !9
  %95 = load ptr, ptr @program, align 8, !tbaa !9
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef @.str.2) #7
  call void @exit(i32 noundef 5) #9
  unreachable

97:                                               ; preds = %88, %85
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = icmp slt i32 %98, 0
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = icmp sgt i32 %101, 64
  br i1 %102, label %103, label %108

103:                                              ; preds = %100, %97
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = load ptr, ptr @program, align 8, !tbaa !9
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.6, ptr noundef %105, i32 noundef %106, i32 noundef 64) #7
  call void @exit(i32 noundef 6) #9
  unreachable

108:                                              ; preds = %100
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = icmp eq i32 %109, 64
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  store i64 -1, ptr %15, align 8, !tbaa !13
  br label %117

112:                                              ; preds = %108
  %113 = load i32, ptr %12, align 4, !tbaa !5
  %114 = zext i32 %113 to i64
  %115 = shl i64 1, %114
  %116 = sub i64 %115, 1
  store i64 %116, ptr %15, align 8, !tbaa !13
  br label %117

117:                                              ; preds = %112, %111
  %118 = load ptr, ptr @program, align 8, !tbaa !9
  %119 = call ptr @strrchr(ptr noundef %118, i32 noundef 47) #8
  store ptr %119, ptr %17, align 8, !tbaa !9
  %120 = load ptr, ptr %17, align 8, !tbaa !9
  %121 = icmp eq ptr %120, null
  br i1 %121, label %122, label %124

122:                                              ; preds = %117
  %123 = load ptr, ptr @program, align 8, !tbaa !9
  store ptr %123, ptr %17, align 8, !tbaa !9
  br label %127

124:                                              ; preds = %117
  %125 = load ptr, ptr %17, align 8, !tbaa !9
  %126 = getelementptr inbounds i8, ptr %125, i32 1
  store ptr %126, ptr %17, align 8, !tbaa !9
  br label %127

127:                                              ; preds = %124, %122
  %128 = load ptr, ptr %17, align 8, !tbaa !9
  %129 = call i32 @strcmp(ptr noundef %128, ptr noundef @.str.7) #8
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %135, label %131

131:                                              ; preds = %127
  %132 = load ptr, ptr %17, align 8, !tbaa !9
  %133 = call i32 @strcmp(ptr noundef %132, ptr noundef @.str.8) #8
  %134 = icmp eq i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %131, %127
  store i64 0, ptr %8, align 8, !tbaa !13
  store i32 4, ptr %14, align 4, !tbaa !5
  br label %160

136:                                              ; preds = %131
  %137 = load ptr, ptr %17, align 8, !tbaa !9
  %138 = call i32 @strcmp(ptr noundef %137, ptr noundef @.str.9) #8
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %144, label %140

140:                                              ; preds = %136
  %141 = load ptr, ptr %17, align 8, !tbaa !9
  %142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str.10) #8
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %140, %136
  store i64 -3750763034362895579, ptr %8, align 8, !tbaa !13
  store i32 5, ptr %14, align 4, !tbaa !5
  br label %159

145:                                              ; preds = %140
  %146 = load ptr, ptr %17, align 8, !tbaa !9
  %147 = call i32 @strcmp(ptr noundef %146, ptr noundef @.str.11) #8
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %153, label %149

149:                                              ; preds = %145
  %150 = load ptr, ptr %17, align 8, !tbaa !9
  %151 = call i32 @strcmp(ptr noundef %150, ptr noundef @.str.12) #8
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %149, %145
  store i64 -3750763034362895579, ptr %8, align 8, !tbaa !13
  store i32 6, ptr %14, align 4, !tbaa !5
  br label %158

154:                                              ; preds = %149
  %155 = load ptr, ptr @stderr, align 8, !tbaa !9
  %156 = load ptr, ptr @program, align 8, !tbaa !9
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.13, ptr noundef %156) #7
  call void @exit(i32 noundef 7) #9
  unreachable

158:                                              ; preds = %153
  br label %159

159:                                              ; preds = %158, %144
  br label %160

160:                                              ; preds = %159, %135
  %161 = load i32, ptr %13, align 4, !tbaa !5
  %162 = icmp sge i32 %161, 0
  br i1 %162, label %163, label %181

163:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %164 = load i32, ptr %14, align 4, !tbaa !5
  %165 = load i64, ptr %8, align 8, !tbaa !13
  %166 = load i64, ptr %15, align 8, !tbaa !13
  %167 = load i32, ptr %11, align 4, !tbaa !5
  %168 = load i32, ptr %13, align 4, !tbaa !5
  %169 = call i32 @test_fnv64(i32 noundef %164, i64 noundef %165, i64 noundef %166, i32 noundef %167, i32 noundef %168)
  store i32 %169, ptr %19, align 4, !tbaa !5
  %170 = load i32, ptr %19, align 4, !tbaa !5
  %171 = icmp eq i32 %170, 0
  br i1 %171, label %172, label %178

172:                                              ; preds = %163
  %173 = load i32, ptr %11, align 4, !tbaa !5
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %177

175:                                              ; preds = %172
  %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  br label %177

177:                                              ; preds = %175, %172
  call void @exit(i32 noundef 0) #9
  unreachable

178:                                              ; preds = %163
  %179 = load i32, ptr %19, align 4, !tbaa !5
  %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %179)
  call void @exit(i32 noundef 8) #9
  unreachable

181:                                              ; preds = %160
  %182 = load i32, ptr %9, align 4, !tbaa !5
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %228

184:                                              ; preds = %181
  %185 = load i32, ptr @optind, align 4, !tbaa !5
  store i32 %185, ptr %18, align 4, !tbaa !5
  br label %186

186:                                              ; preds = %224, %184
  %187 = load i32, ptr %18, align 4, !tbaa !5
  %188 = load i32, ptr %4, align 4, !tbaa !5
  %189 = icmp slt i32 %187, %188
  br i1 %189, label %190, label %227

190:                                              ; preds = %186
  %191 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %191, label %208 [
    i32 4, label %192
    i32 5, label %192
    i32 6, label %200
  ]

192:                                              ; preds = %190, %190
  %193 = load ptr, ptr %5, align 8, !tbaa !9
  %194 = load i32, ptr %18, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds ptr, ptr %193, i64 %195
  %197 = load ptr, ptr %196, align 8, !tbaa !9
  %198 = load i64, ptr %8, align 8, !tbaa !13
  %199 = call i64 @fnv_64_str(ptr noundef %197, i64 noundef %198)
  store i64 %199, ptr %8, align 8, !tbaa !13
  br label %211

200:                                              ; preds = %190
  %201 = load ptr, ptr %5, align 8, !tbaa !9
  %202 = load i32, ptr %18, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %201, i64 %203
  %205 = load ptr, ptr %204, align 8, !tbaa !9
  %206 = load i64, ptr %8, align 8, !tbaa !13
  %207 = call i64 @fnv_64a_str(ptr noundef %205, i64 noundef %206)
  store i64 %207, ptr %8, align 8, !tbaa !13
  br label %211

208:                                              ; preds = %190
  %209 = load ptr, ptr @program, align 8, !tbaa !9
  %210 = load i32, ptr %14, align 4, !tbaa !5
  call void @unknown_hash_type(ptr noundef %209, i32 noundef %210, i32 noundef 9)
  br label %211

211:                                              ; preds = %208, %200, %192
  %212 = load i32, ptr %10, align 4, !tbaa !5
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %223

214:                                              ; preds = %211
  %215 = load i64, ptr %8, align 8, !tbaa !13
  %216 = load i64, ptr %15, align 8, !tbaa !13
  %217 = load i32, ptr %11, align 4, !tbaa !5
  %218 = load ptr, ptr %5, align 8, !tbaa !9
  %219 = load i32, ptr %18, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds ptr, ptr %218, i64 %220
  %222 = load ptr, ptr %221, align 8, !tbaa !9
  call void @print_fnv64(i64 noundef %215, i64 noundef %216, i32 noundef %217, ptr noundef %222)
  br label %223

223:                                              ; preds = %214, %211
  br label %224

224:                                              ; preds = %223
  %225 = load i32, ptr %18, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %18, align 4, !tbaa !5
  br label %186, !llvm.loop !15

227:                                              ; preds = %186
  br label %333

228:                                              ; preds = %181
  %229 = load i32, ptr @optind, align 4, !tbaa !5
  %230 = load i32, ptr %4, align 4, !tbaa !5
  %231 = icmp sge i32 %229, %230
  br i1 %231, label %232, label %264

232:                                              ; preds = %228
  br label %233

233:                                              ; preds = %255, %232
  %234 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %235 = call i64 @read(i32 noundef 0, ptr noundef %234, i64 noundef 32768)
  %236 = trunc i64 %235 to i32
  store i32 %236, ptr %7, align 4, !tbaa !5
  %237 = icmp sgt i32 %236, 0
  br i1 %237, label %238, label %256

238:                                              ; preds = %233
  %239 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %239, label %252 [
    i32 4, label %240
    i32 5, label %240
    i32 6, label %246
  ]

240:                                              ; preds = %238, %238
  %241 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %242 = load i32, ptr %7, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = load i64, ptr %8, align 8, !tbaa !13
  %245 = call i64 @fnv_64_buf(ptr noundef %241, i64 noundef %243, i64 noundef %244)
  store i64 %245, ptr %8, align 8, !tbaa !13
  br label %255

246:                                              ; preds = %238
  %247 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %248 = load i32, ptr %7, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = load i64, ptr %8, align 8, !tbaa !13
  %251 = call i64 @fnv_64a_buf(ptr noundef %247, i64 noundef %249, i64 noundef %250)
  store i64 %251, ptr %8, align 8, !tbaa !13
  br label %252

252:                                              ; preds = %246, %238
  %253 = load ptr, ptr @program, align 8, !tbaa !9
  %254 = load i32, ptr %14, align 4, !tbaa !5
  call void @unknown_hash_type(ptr noundef %253, i32 noundef %254, i32 noundef 10)
  br label %255

255:                                              ; preds = %252, %240
  br label %233, !llvm.loop !16

256:                                              ; preds = %233
  %257 = load i32, ptr %10, align 4, !tbaa !5
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %263

259:                                              ; preds = %256
  %260 = load i64, ptr %8, align 8, !tbaa !13
  %261 = load i64, ptr %15, align 8, !tbaa !13
  %262 = load i32, ptr %11, align 4, !tbaa !5
  call void @print_fnv64(i64 noundef %260, i64 noundef %261, i32 noundef %262, ptr noundef @.str.16)
  br label %263

263:                                              ; preds = %259, %256
  br label %332

264:                                              ; preds = %228
  %265 = load i32, ptr @optind, align 4, !tbaa !5
  store i32 %265, ptr %18, align 4, !tbaa !5
  br label %266

266:                                              ; preds = %328, %264
  %267 = load i32, ptr %18, align 4, !tbaa !5
  %268 = load i32, ptr %4, align 4, !tbaa !5
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %270, label %331

270:                                              ; preds = %266
  %271 = load ptr, ptr %5, align 8, !tbaa !9
  %272 = load i32, ptr %18, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds ptr, ptr %271, i64 %273
  %275 = load ptr, ptr %274, align 8, !tbaa !9
  %276 = call i32 (ptr, i32, ...) @open(ptr noundef %275, i32 noundef 0)
  store i32 %276, ptr %16, align 4, !tbaa !5
  %277 = load i32, ptr %16, align 4, !tbaa !5
  %278 = icmp slt i32 %277, 0
  br i1 %278, label %279, label %288

279:                                              ; preds = %270
  %280 = load ptr, ptr @stderr, align 8, !tbaa !9
  %281 = load ptr, ptr @program, align 8, !tbaa !9
  %282 = load ptr, ptr %5, align 8, !tbaa !9
  %283 = load i32, ptr %18, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds ptr, ptr %282, i64 %284
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.17, ptr noundef %281, ptr noundef %286) #7
  call void @exit(i32 noundef 4) #9
  unreachable

288:                                              ; preds = %270
  br label %289

289:                                              ; preds = %312, %288
  %290 = load i32, ptr %16, align 4, !tbaa !5
  %291 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %292 = call i64 @read(i32 noundef %290, ptr noundef %291, i64 noundef 32768)
  %293 = trunc i64 %292 to i32
  store i32 %293, ptr %7, align 4, !tbaa !5
  %294 = icmp sgt i32 %293, 0
  br i1 %294, label %295, label %313

295:                                              ; preds = %289
  %296 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %296, label %309 [
    i32 4, label %297
    i32 5, label %297
    i32 6, label %303
  ]

297:                                              ; preds = %295, %295
  %298 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %299 = load i32, ptr %7, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = load i64, ptr %8, align 8, !tbaa !13
  %302 = call i64 @fnv_64_buf(ptr noundef %298, i64 noundef %300, i64 noundef %301)
  store i64 %302, ptr %8, align 8, !tbaa !13
  br label %312

303:                                              ; preds = %295
  %304 = getelementptr inbounds [32769 x i8], ptr %6, i64 0, i64 0
  %305 = load i32, ptr %7, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = load i64, ptr %8, align 8, !tbaa !13
  %308 = call i64 @fnv_64a_buf(ptr noundef %304, i64 noundef %306, i64 noundef %307)
  store i64 %308, ptr %8, align 8, !tbaa !13
  br label %309

309:                                              ; preds = %303, %295
  %310 = load ptr, ptr @program, align 8, !tbaa !9
  %311 = load i32, ptr %14, align 4, !tbaa !5
  call void @unknown_hash_type(ptr noundef %310, i32 noundef %311, i32 noundef 11)
  br label %312

312:                                              ; preds = %309, %297
  br label %289, !llvm.loop !17

313:                                              ; preds = %289
  %314 = load i32, ptr %10, align 4, !tbaa !5
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %316, label %325

316:                                              ; preds = %313
  %317 = load i64, ptr %8, align 8, !tbaa !13
  %318 = load i64, ptr %15, align 8, !tbaa !13
  %319 = load i32, ptr %11, align 4, !tbaa !5
  %320 = load ptr, ptr %5, align 8, !tbaa !9
  %321 = load i32, ptr %18, align 4, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds ptr, ptr %320, i64 %322
  %324 = load ptr, ptr %323, align 8, !tbaa !9
  call void @print_fnv64(i64 noundef %317, i64 noundef %318, i32 noundef %319, ptr noundef %324)
  br label %325

325:                                              ; preds = %316, %313
  %326 = load i32, ptr %16, align 4, !tbaa !5
  %327 = call i32 @close(i32 noundef %326)
  br label %328

328:                                              ; preds = %325
  %329 = load i32, ptr %18, align 4, !tbaa !5
  %330 = add nsw i32 %329, 1
  store i32 %330, ptr %18, align 4, !tbaa !5
  br label %266, !llvm.loop !18

331:                                              ; preds = %266
  br label %332

332:                                              ; preds = %331, %263
  br label %333

333:                                              ; preds = %332, %227
  %334 = load i32, ptr %10, align 4, !tbaa !5
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %340, label %336

336:                                              ; preds = %333
  %337 = load i64, ptr %8, align 8, !tbaa !13
  %338 = load i64, ptr %15, align 8, !tbaa !13
  %339 = load i32, ptr %11, align 4, !tbaa !5
  call void @print_fnv64(i64 noundef %337, i64 noundef %338, i32 noundef %339, ptr noundef @.str.18)
  br label %340

340:                                              ; preds = %336, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 32769, ptr %6) #7
  ret i32 0
}

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

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

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

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

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

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

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

declare i64 @fnv_64_str(ptr noundef, i64 noundef) #6

declare i64 @fnv_64a_str(ptr noundef, i64 noundef) #6

declare void @unknown_hash_type(ptr noundef, i32 noundef, i32 noundef) #6

declare void @print_fnv64(i64 noundef, i64 noundef, i32 noundef, ptr noundef) #6

declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #6

declare i64 @fnv_64_buf(ptr noundef, i64 noundef, i64 noundef) #6

declare i64 @fnv_64a_buf(ptr noundef, i64 noundef, i64 noundef) #6

declare i32 @open(ptr noundef, i32 noundef, ...) #6

declare i32 @close(i32 noundef) #6

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

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 "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 = { inlinehint nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind 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 #6 = { "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 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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

@program = external hidden local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@usage = external hidden local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@optind = external local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [32769 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 32769, ptr nonnull %3) #9
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  store ptr %4, ptr @program, align 8, !tbaa !5
  br label %.outer

.outer:                                           ; preds = %10, %2
  %.not116 = phi i1 [ false, %10 ], [ true, %2 ]
  %.0102.ph = phi i32 [ %.0102.ph297, %10 ], [ 0, %2 ]
  %.0100.ph = phi i32 [ %.0100.ph298.ph, %10 ], [ 0, %2 ]
  %.098.ph = phi i32 [ %.098, %10 ], [ 64, %2 ]
  %.096.ph = phi i32 [ %.096.ph300.ph304, %10 ], [ -1, %2 ]
  br label %.outer296.outer

.outer296.outer:                                  ; preds = %22, %.outer
  %.0102.ph297.ph = phi i32 [ 1, %22 ], [ %.0102.ph, %.outer ]
  %.0100.ph298.ph = phi i32 [ 1, %22 ], [ %.0100.ph, %.outer ]
  %.098.ph299.ph = phi i32 [ %.098, %22 ], [ %.098.ph, %.outer ]
  %.096.ph300.ph = phi i32 [ %.096.ph300.ph304, %22 ], [ %.096.ph, %.outer ]
  br label %.outer296.outer301

.outer296.outer301:                               ; preds = %.outer296.outer, %11
  %.0102.ph297.ph302 = phi i32 [ %.0102.ph297.ph, %.outer296.outer ], [ 1, %11 ]
  %.098.ph299.ph303 = phi i32 [ %.098.ph299.ph, %.outer296.outer ], [ %.098, %11 ]
  %.096.ph300.ph304 = phi i32 [ %.096.ph300.ph, %.outer296.outer ], [ %13, %11 ]
  br label %.outer296

.outer296:                                        ; preds = %5, %.outer296.outer301
  %.0102.ph297 = phi i32 [ %.0102.ph297.ph302, %.outer296.outer301 ], [ 1, %5 ]
  %.098.ph299 = phi i32 [ %.098.ph299.ph303, %.outer296.outer301 ], [ %.098, %5 ]
  br label %5

5:                                                ; preds = %.outer296, %7
  %.098 = phi i32 [ %9, %7 ], [ %.098.ph299, %.outer296 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #9
  switch i32 %6, label %23 [
    i32 -1, label %28
    i32 98, label %7
    i32 109, label %.outer296
    i32 115, label %10
    i32 116, label %11
    i32 118, label %22
  ], !llvm.loop !9

7:                                                ; preds = %5
  %8 = load ptr, ptr @optarg, align 8, !tbaa !5
  %9 = tail call i32 @atoi(ptr nocapture noundef %8) #10
  br label %5, !llvm.loop !9

10:                                               ; preds = %5
  br label %.outer, !llvm.loop !9

11:                                               ; preds = %5
  %12 = load ptr, ptr @optarg, align 8, !tbaa !5
  %13 = tail call i32 @atoi(ptr nocapture noundef %12) #10
  %or.cond = icmp ugt i32 %13, 1
  br i1 %or.cond, label %14, label %.outer296.outer301, !llvm.loop !9

14:                                               ; preds = %11
  %15 = load ptr, ptr @stderr, align 8, !tbaa !5
  %16 = load ptr, ptr @program, align 8, !tbaa !5
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef nonnull @.str.1, ptr noundef %16) #11
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = load ptr, ptr @usage, align 8, !tbaa !5
  %20 = load ptr, ptr @program, align 8, !tbaa !5
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef nonnull @.str.2) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

22:                                               ; preds = %5
  br label %.outer296.outer, !llvm.loop !9

23:                                               ; preds = %5
  %24 = load ptr, ptr @stderr, align 8, !tbaa !5
  %25 = load ptr, ptr @usage, align 8, !tbaa !5
  %26 = load ptr, ptr @program, align 8, !tbaa !5
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef nonnull @.str.2) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

28:                                               ; preds = %5
  %29 = icmp sgt i32 %.096.ph300.ph304, -1
  br i1 %29, label %30, label %47

30:                                               ; preds = %28
  %.not114 = icmp eq i32 %.098, 64
  br i1 %.not114, label %35, label %31

31:                                               ; preds = %30
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = load ptr, ptr @program, align 8, !tbaa !5
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.3, ptr noundef %33) #11
  tail call void @exit(i32 noundef 2) #12
  unreachable

35:                                               ; preds = %30
  br i1 %.not116, label %40, label %36

36:                                               ; preds = %35
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = load ptr, ptr @program, align 8, !tbaa !5
  %39 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.4, ptr noundef %38) #11
  tail call void @exit(i32 noundef 3) #12
  unreachable

40:                                               ; preds = %35
  %41 = load i32, ptr @optind, align 4
  %42 = icmp slt i32 %41, %0
  br i1 %42, label %43, label %.thread135

43:                                               ; preds = %40
  %44 = load ptr, ptr @stderr, align 8, !tbaa !5
  %45 = load ptr, ptr @program, align 8, !tbaa !5
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.5, ptr noundef %45) #11
  tail call void @exit(i32 noundef 4) #12
  unreachable

47:                                               ; preds = %28
  %48 = load i32, ptr @optind, align 4
  %.not117 = icmp slt i32 %48, %0
  %or.cond124 = select i1 %.not116, i1 true, i1 %.not117
  br i1 %or.cond124, label %54, label %49

49:                                               ; preds = %47
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = load ptr, ptr @usage, align 8, !tbaa !5
  %52 = load ptr, ptr @program, align 8, !tbaa !5
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef nonnull @.str.2) #11
  tail call void @exit(i32 noundef 5) #12
  unreachable

54:                                               ; preds = %47
  %or.cond3 = icmp ugt i32 %.098, 64
  br i1 %or.cond3, label %55, label %.thread135

55:                                               ; preds = %54
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  %57 = load ptr, ptr @program, align 8, !tbaa !5
  %58 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.6, ptr noundef %57, i32 noundef %.098, i32 noundef 64) #11
  tail call void @exit(i32 noundef 6) #12
  unreachable

.thread135:                                       ; preds = %40, %54
  %.not116133140 = phi i1 [ %.not116, %54 ], [ true, %40 ]
  %59 = phi i32 [ %48, %54 ], [ %41, %40 ]
  %.not117134139 = phi i1 [ %.not117, %54 ], [ false, %40 ]
  %60 = icmp eq i32 %.098, 64
  %61 = zext nneg i32 %.098 to i64
  %notmask = shl nsw i64 -1, %61
  %62 = xor i64 %notmask, -1
  %.094 = select i1 %60, i64 -1, i64 %62
  %63 = load ptr, ptr @program, align 8, !tbaa !5
  %64 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %63, i32 noundef 47) #10
  %65 = icmp eq ptr %64, null
  %66 = getelementptr inbounds i8, ptr %64, i64 1
  %.091 = select i1 %65, ptr %63, ptr %66
  %67 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.7) #10
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %87, label %69

69:                                               ; preds = %.thread135
  %70 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.8) #10
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %87, label %72

72:                                               ; preds = %69
  %73 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.9) #10
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %87, label %75

75:                                               ; preds = %72
  %76 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.10) #10
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %87, label %78

78:                                               ; preds = %75
  %79 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.11) #10
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %87, label %81

81:                                               ; preds = %78
  %82 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.091, ptr noundef nonnull dereferenceable(1) @.str.12) #10
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %87, label %84

84:                                               ; preds = %81
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.13, ptr noundef %63) #11
  tail call void @exit(i32 noundef 7) #12
  unreachable

87:                                               ; preds = %78, %81, %72, %75, %.thread135, %69
  %.095 = phi i32 [ 4, %69 ], [ 4, %.thread135 ], [ 5, %75 ], [ 5, %72 ], [ 6, %81 ], [ 6, %78 ]
  %.092 = phi i64 [ 0, %69 ], [ 0, %.thread135 ], [ -3750763034362895579, %75 ], [ -3750763034362895579, %72 ], [ -3750763034362895579, %81 ], [ -3750763034362895579, %78 ]
  br i1 %29, label %88, label %97

88:                                               ; preds = %87
  %89 = tail call i32 @test_fnv64(i32 noundef %.095, i64 noundef %.092, i64 noundef %.094, i32 noundef %.0100.ph298.ph, i32 noundef %.096.ph300.ph304)
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %95

91:                                               ; preds = %88
  %.not123 = icmp eq i32 %.0100.ph298.ph, 0
  br i1 %.not123, label %94, label %92

92:                                               ; preds = %91
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  br label %94

94:                                               ; preds = %92, %91
  tail call void @exit(i32 noundef 0) #12
  unreachable

95:                                               ; preds = %88
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %89)
  tail call void @exit(i32 noundef 8) #12
  unreachable

97:                                               ; preds = %87
  br i1 %.not116133140, label %115, label %.preheader150

.preheader150:                                    ; preds = %97
  %98 = icmp slt i32 %59, %0
  br i1 %98, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader150
  %99 = and i32 %.095, 6
  %switch = icmp eq i32 %99, 4
  %.not122 = icmp eq i32 %.0102.ph297, 0
  %100 = sext i32 %59 to i64
  br i1 %switch, label %.lr.ph.split.us, label %.lr.ph.split

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

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %.lr.ph.split.us.split.us
  %indvars.iv221 = phi i64 [ %indvars.iv.next222, %.lr.ph.split.us.split.us ], [ %100, %.lr.ph.split.us ]
  %.193164.us.us = phi i64 [ %103, %.lr.ph.split.us.split.us ], [ %.092, %.lr.ph.split.us ]
  %101 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv221
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = tail call i64 @fnv_64_str(ptr noundef %102, i64 noundef %.193164.us.us) #9
  %indvars.iv.next222 = add nsw i64 %indvars.iv221, 1
  %lftr.wideiv224 = trunc i64 %indvars.iv.next222 to i32
  %exitcond225.not = icmp eq i32 %lftr.wideiv224, %0
  br i1 %exitcond225.not, label %.loopexit, label %.lr.ph.split.us.split.us, !llvm.loop !11

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %.lr.ph.split.us.split
  %indvars.iv216 = phi i64 [ %indvars.iv.next217, %.lr.ph.split.us.split ], [ %100, %.lr.ph.split.us ]
  %.193164.us = phi i64 [ %106, %.lr.ph.split.us.split ], [ %.092, %.lr.ph.split.us ]
  %104 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv216
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = tail call i64 @fnv_64_str(ptr noundef %105, i64 noundef %.193164.us) #9
  %107 = load ptr, ptr %104, align 8, !tbaa !5
  tail call void @print_fnv64(i64 noundef %106, i64 noundef %.094, i32 noundef %.0100.ph298.ph, ptr noundef %107) #9
  %indvars.iv.next217 = add nsw i64 %indvars.iv216, 1
  %lftr.wideiv219 = trunc i64 %indvars.iv.next217 to i32
  %exitcond220.not = icmp eq i32 %lftr.wideiv219, %0
  br i1 %exitcond220.not, label %.loopexit, label %.lr.ph.split.us.split, !llvm.loop !11

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

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %.lr.ph.split.split.us
  %indvars.iv211 = phi i64 [ %indvars.iv.next212, %.lr.ph.split.split.us ], [ %100, %.lr.ph.split ]
  %.193164.us167 = phi i64 [ %110, %.lr.ph.split.split.us ], [ %.092, %.lr.ph.split ]
  %108 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv211
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = tail call i64 @fnv_64a_str(ptr noundef %109, i64 noundef %.193164.us167) #9
  %indvars.iv.next212 = add nsw i64 %indvars.iv211, 1
  %lftr.wideiv214 = trunc i64 %indvars.iv.next212 to i32
  %exitcond215.not = icmp eq i32 %lftr.wideiv214, %0
  br i1 %exitcond215.not, label %.loopexit, label %.lr.ph.split.split.us, !llvm.loop !11

.lr.ph.split.split:                               ; preds = %.lr.ph.split, %.lr.ph.split.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.split.split ], [ %100, %.lr.ph.split ]
  %.193164 = phi i64 [ %113, %.lr.ph.split.split ], [ %.092, %.lr.ph.split ]
  %111 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = tail call i64 @fnv_64a_str(ptr noundef %112, i64 noundef %.193164) #9
  %114 = load ptr, ptr %111, align 8, !tbaa !5
  tail call void @print_fnv64(i64 noundef %113, i64 noundef %.094, i32 noundef %.0100.ph298.ph, ptr noundef %114) #9
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %lftr.wideiv, %0
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph.split.split, !llvm.loop !11

115:                                              ; preds = %97
  br i1 %.not117134139, label %.preheader148, label %.preheader149

.preheader149:                                    ; preds = %115
  %116 = call i64 @read(i32 noundef 0, ptr noundef nonnull %3, i64 noundef 32768) #9
  %117 = trunc i64 %116 to i32
  %118 = icmp sgt i32 %117, 0
  br i1 %118, label %.lr.ph173, label %._crit_edge

.lr.ph173:                                        ; preds = %.preheader149
  %119 = and i32 %.095, 6
  %switch126 = icmp eq i32 %119, 4
  br i1 %switch126, label %.lr.ph173.split.us, label %.lr.ph173.split

.lr.ph173.split.us:                               ; preds = %.lr.ph173, %.lr.ph173.split.us
  %120 = phi i64 [ %123, %.lr.ph173.split.us ], [ %116, %.lr.ph173 ]
  %.3172.us = phi i64 [ %122, %.lr.ph173.split.us ], [ %.092, %.lr.ph173 ]
  %121 = and i64 %120, 2147483647
  %122 = call i64 @fnv_64_buf(ptr noundef nonnull %3, i64 noundef %121, i64 noundef %.3172.us) #9
  %123 = call i64 @read(i32 noundef 0, ptr noundef nonnull %3, i64 noundef 32768) #9
  %124 = trunc i64 %123 to i32
  %125 = icmp sgt i32 %124, 0
  br i1 %125, label %.lr.ph173.split.us, label %._crit_edge, !llvm.loop !12

.preheader148:                                    ; preds = %115
  %126 = icmp slt i32 %59, %0
  br i1 %126, label %.lr.ph183, label %.loopexit

.lr.ph183:                                        ; preds = %.preheader148
  %127 = and i32 %.095, 6
  %switch128 = icmp eq i32 %127, 4
  %.not119 = icmp eq i32 %.0102.ph297, 0
  %128 = sext i32 %59 to i64
  br label %136

.lr.ph173.split:                                  ; preds = %.lr.ph173, %.lr.ph173.split
  %129 = phi i64 [ %133, %.lr.ph173.split ], [ %116, %.lr.ph173 ]
  %.3172 = phi i64 [ %131, %.lr.ph173.split ], [ %.092, %.lr.ph173 ]
  %130 = and i64 %129, 2147483647
  %131 = call i64 @fnv_64a_buf(ptr noundef nonnull %3, i64 noundef %130, i64 noundef %.3172) #9
  %132 = load ptr, ptr @program, align 8, !tbaa !5
  call void @unknown_hash_type(ptr noundef %132, i32 noundef %.095, i32 noundef 10) #9
  %133 = call i64 @read(i32 noundef 0, ptr noundef nonnull %3, i64 noundef 32768) #9
  %134 = trunc i64 %133 to i32
  %135 = icmp sgt i32 %134, 0
  br i1 %135, label %.lr.ph173.split, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph173.split, %.lr.ph173.split.us, %.preheader149
  %.3.lcssa = phi i64 [ %.092, %.preheader149 ], [ %122, %.lr.ph173.split.us ], [ %131, %.lr.ph173.split ]
  %.not120 = icmp eq i32 %.0102.ph297, 0
  br i1 %.not120, label %.thread141, label %.thread145

.thread145:                                       ; preds = %._crit_edge
  call void @print_fnv64(i64 noundef %.3.lcssa, i64 noundef %.094, i32 noundef %.0100.ph298.ph, ptr noundef nonnull @.str.16) #9
  br label %166

136:                                              ; preds = %.lr.ph183, %164
  %indvars.iv226 = phi i64 [ %128, %.lr.ph183 ], [ %indvars.iv.next227, %164 ]
  %.6181 = phi i64 [ %.092, %.lr.ph183 ], [ %.7.lcssa, %164 ]
  %137 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv226
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = call i32 (ptr, i32, ...) @open(ptr noundef %138, i32 noundef 0) #9
  %140 = icmp slt i32 %139, 0
  br i1 %140, label %150, label %.preheader

.preheader:                                       ; preds = %136
  %141 = call i64 @read(i32 noundef %139, ptr noundef nonnull %3, i64 noundef 32768) #9
  %142 = trunc i64 %141 to i32
  %143 = icmp sgt i32 %142, 0
  br i1 %143, label %.lr.ph177, label %._crit_edge178

.lr.ph177:                                        ; preds = %.preheader
  br i1 %switch128, label %.lr.ph177.split.us, label %.lr.ph177.split

.lr.ph177.split.us:                               ; preds = %.lr.ph177, %.lr.ph177.split.us
  %144 = phi i64 [ %147, %.lr.ph177.split.us ], [ %141, %.lr.ph177 ]
  %.7176.us = phi i64 [ %146, %.lr.ph177.split.us ], [ %.6181, %.lr.ph177 ]
  %145 = and i64 %144, 2147483647
  %146 = call i64 @fnv_64_buf(ptr noundef nonnull %3, i64 noundef %145, i64 noundef %.7176.us) #9
  %147 = call i64 @read(i32 noundef %139, ptr noundef nonnull %3, i64 noundef 32768) #9
  %148 = trunc i64 %147 to i32
  %149 = icmp sgt i32 %148, 0
  br i1 %149, label %.lr.ph177.split.us, label %._crit_edge178, !llvm.loop !13

150:                                              ; preds = %136
  %151 = load ptr, ptr @stderr, align 8, !tbaa !5
  %152 = load ptr, ptr @program, align 8, !tbaa !5
  %153 = load ptr, ptr %137, align 8, !tbaa !5
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef nonnull @.str.17, ptr noundef %152, ptr noundef %153) #11
  call void @exit(i32 noundef 4) #12
  unreachable

.lr.ph177.split:                                  ; preds = %.lr.ph177, %.lr.ph177.split
  %155 = phi i64 [ %159, %.lr.ph177.split ], [ %141, %.lr.ph177 ]
  %.7176 = phi i64 [ %157, %.lr.ph177.split ], [ %.6181, %.lr.ph177 ]
  %156 = and i64 %155, 2147483647
  %157 = call i64 @fnv_64a_buf(ptr noundef nonnull %3, i64 noundef %156, i64 noundef %.7176) #9
  %158 = load ptr, ptr @program, align 8, !tbaa !5
  call void @unknown_hash_type(ptr noundef %158, i32 noundef %.095, i32 noundef 11) #9
  %159 = call i64 @read(i32 noundef %139, ptr noundef nonnull %3, i64 noundef 32768) #9
  %160 = trunc i64 %159 to i32
  %161 = icmp sgt i32 %160, 0
  br i1 %161, label %.lr.ph177.split, label %._crit_edge178, !llvm.loop !13

._crit_edge178:                                   ; preds = %.lr.ph177.split, %.lr.ph177.split.us, %.preheader
  %.7.lcssa = phi i64 [ %.6181, %.preheader ], [ %146, %.lr.ph177.split.us ], [ %157, %.lr.ph177.split ]
  br i1 %.not119, label %164, label %162

162:                                              ; preds = %._crit_edge178
  %163 = load ptr, ptr %137, align 8, !tbaa !5
  call void @print_fnv64(i64 noundef %.7.lcssa, i64 noundef %.094, i32 noundef %.0100.ph298.ph, ptr noundef %163) #9
  br label %164

164:                                              ; preds = %162, %._crit_edge178
  %165 = call i32 @close(i32 noundef %139) #9
  %indvars.iv.next227 = add nsw i64 %indvars.iv226, 1
  %lftr.wideiv229 = trunc i64 %indvars.iv.next227 to i32
  %exitcond230.not = icmp eq i32 %lftr.wideiv229, %0
  br i1 %exitcond230.not, label %.loopexit, label %136, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph.split.split, %.lr.ph.split.split.us, %.lr.ph.split.us.split, %.lr.ph.split.us.split.us, %164, %.preheader150, %.preheader148
  %.10 = phi i64 [ %.092, %.preheader148 ], [ %.092, %.preheader150 ], [ %.7.lcssa, %164 ], [ %103, %.lr.ph.split.us.split.us ], [ %106, %.lr.ph.split.us.split ], [ %110, %.lr.ph.split.split.us ], [ %113, %.lr.ph.split.split ]
  %.not121 = icmp eq i32 %.0102.ph297, 0
  br i1 %.not121, label %.thread141, label %166

.thread141:                                       ; preds = %._crit_edge, %.loopexit
  %.10144 = phi i64 [ %.10, %.loopexit ], [ %.3.lcssa, %._crit_edge ]
  call void @print_fnv64(i64 noundef %.10144, i64 noundef %.094, i32 noundef %.0100.ph298.ph, ptr noundef nonnull @.str.18) #9
  br label %166

166:                                              ; preds = %.thread145, %.thread141, %.loopexit
  call void @llvm.lifetime.end.p0(i64 32769, ptr nonnull %3) #9
  ret i32 0
}

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

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

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

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

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

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

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

declare i64 @fnv_64_str(ptr noundef, i64 noundef) local_unnamed_addr #7

declare i64 @fnv_64a_str(ptr noundef, i64 noundef) local_unnamed_addr #7

declare void @unknown_hash_type(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

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

; Function Attrs: nofree
declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #8

declare i64 @fnv_64_buf(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #7

declare i64 @fnv_64a_buf(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #8

declare i32 @close(i32 noundef) local_unnamed_addr #7

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

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

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

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


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