; LLVM IR from wumo/vkg :: src/par/test (test_filecache)

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

@__assert_failures = external hidden global i32, align 4
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@stderr = external global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [72 x i8], align 1
@__assert_bail = external hidden global i32, align 4
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @__describe_after_spec(ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_init(ptr noundef, i32 noundef) #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 willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; 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 dso_local zeroext i1 @par_filecache_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #0

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

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_save(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_evict_all() #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca [5 x i8], align 1
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca [5 x i8], align 1
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca [5 x i8], align 1
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %349, %0
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %2, align 4, !tbaa !5
  %57 = icmp eq i32 %55, 0
  br i1 %57, label %58, label %61

58:                                               ; preds = %54
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef @.str.17)
  %60 = icmp ne i32 %59, 0
  br label %61

61:                                               ; preds = %58, %54
  %62 = phi i1 [ false, %54 ], [ %60, %58 ]
  br i1 %62, label %64, label %63

63:                                               ; preds = %61
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %351

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %65 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %65, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %72, %64
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %5, align 4, !tbaa !5
  %69 = icmp eq i32 %67, 0
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %74

71:                                               ; preds = %66
  call void @par_filecache_init(ptr noundef @.str.18, i32 noundef 1200)
  call void @par_filecache_evict_all()
  call void @par_filecache_evict_all()
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %4, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.19, i32 noundef %73)
  br label %66, !llvm.loop !9

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %75 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %75, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %137, %74
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %7, align 4, !tbaa !5
  %79 = icmp eq i32 %77, 0
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %139

81:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store ptr @.str.20, ptr %8, align 8, !tbaa !11
  %82 = load ptr, ptr %8, align 8, !tbaa !11
  call void @par_filecache_save(ptr noundef @.str.21, ptr noundef %82, i32 noundef 5, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store ptr null, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %83 = call zeroext i1 @par_filecache_load(ptr noundef @.str.21, ptr noundef %9, ptr noundef %10, ptr noundef null, i32 noundef 0)
  %84 = zext i1 %83 to i32
  store i32 %84, ptr %11, align 4, !tbaa !5
  %85 = load i32, ptr %11, align 4, !tbaa !5
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %96, label %87

87:                                               ; preds = %81
  %88 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr @__assert_failures, align 4, !tbaa !5
  %90 = load ptr, ptr @stderr, align 8, !tbaa !11
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, i32 noundef 29) #8
  %92 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %87
  call void @abort() #9
  unreachable

95:                                               ; preds = %87
  br label %96

96:                                               ; preds = %95, %81
  %97 = load ptr, ptr %9, align 8, !tbaa !11
  %98 = icmp ne ptr %97, null
  br i1 %98, label %108, label %99

99:                                               ; preds = %96
  %100 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr @__assert_failures, align 4, !tbaa !5
  %102 = load ptr, ptr @stderr, align 8, !tbaa !11
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.22, ptr noundef @.str.25, ptr noundef @.str.24, i32 noundef 30) #8
  %104 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %99
  call void @abort() #9
  unreachable

107:                                              ; preds = %99
  br label %108

108:                                              ; preds = %107, %96
  %109 = load i32, ptr %10, align 4, !tbaa !5
  %110 = icmp ne i32 %109, 5
  br i1 %110, label %111, label %121

111:                                              ; preds = %108
  %112 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr @__assert_failures, align 4, !tbaa !5
  %114 = load ptr, ptr @stderr, align 8, !tbaa !11
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.26, i32 noundef %115, i32 noundef 5, ptr noundef @.str.24, i32 noundef 31) #8
  %117 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %111
  call void @abort() #9
  unreachable

120:                                              ; preds = %111
  br label %121

121:                                              ; preds = %120, %108
  %122 = load ptr, ptr %9, align 8, !tbaa !11
  %123 = load ptr, ptr %8, align 8, !tbaa !11
  %124 = call i32 @memcmp(ptr noundef %122, ptr noundef %123, i64 noundef 5) #10
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %135

126:                                              ; preds = %121
  %127 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr @__assert_failures, align 4, !tbaa !5
  %129 = load ptr, ptr @stderr, align 8, !tbaa !11
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.22, ptr noundef @.str.27, ptr noundef @.str.24, i32 noundef 32) #8
  %131 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %126
  call void @abort() #9
  unreachable

134:                                              ; preds = %126
  br label %135

135:                                              ; preds = %134, %121
  %136 = load ptr, ptr %9, align 8, !tbaa !11
  call void @free(ptr noundef %136) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %137

137:                                              ; preds = %135
  %138 = load i32, ptr %6, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.28, i32 noundef %138)
  br label %76, !llvm.loop !13

139:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %140 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %140, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %141

141:                                              ; preds = %220, %139
  %142 = load i32, ptr %13, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %13, align 4, !tbaa !5
  %144 = icmp eq i32 %142, 0
  br i1 %144, label %146, label %145

145:                                              ; preds = %141
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %222

146:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %147 = call noalias ptr @calloc(i64 noundef 1024, i64 noundef 1) #11
  store ptr %147, ptr %14, align 8, !tbaa !11
  call void @srand(i32 noundef 1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %160, %146
  %149 = load i32, ptr %15, align 4, !tbaa !5
  %150 = icmp slt i32 %149, 512
  br i1 %150, label %152, label %151

151:                                              ; preds = %148
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %163

152:                                              ; preds = %148
  %153 = call i32 @rand() #8
  %154 = srem i32 %153, 256
  %155 = trunc i32 %154 to i8
  %156 = load ptr, ptr %14, align 8, !tbaa !11
  %157 = load i32, ptr %15, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i8, ptr %156, i64 %158
  store i8 %155, ptr %159, align 1, !tbaa !14
  br label %160

160:                                              ; preds = %152
  %161 = load i32, ptr %15, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %15, align 4, !tbaa !5
  br label %148, !llvm.loop !15

163:                                              ; preds = %151
  %164 = load ptr, ptr %14, align 8, !tbaa !11
  call void @par_filecache_save(ptr noundef @.str.29, ptr noundef %164, i32 noundef 1024, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store ptr null, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %165 = call zeroext i1 @par_filecache_load(ptr noundef @.str.29, ptr noundef %16, ptr noundef %17, ptr noundef null, i32 noundef 0)
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %18, align 4, !tbaa !5
  %167 = load i32, ptr %18, align 4, !tbaa !5
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %178, label %169

169:                                              ; preds = %163
  %170 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr @__assert_failures, align 4, !tbaa !5
  %172 = load ptr, ptr @stderr, align 8, !tbaa !11
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.22, ptr noundef @.str.23, ptr noundef @.str.24, i32 noundef 45) #8
  %174 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %177

176:                                              ; preds = %169
  call void @abort() #9
  unreachable

177:                                              ; preds = %169
  br label %178

178:                                              ; preds = %177, %163
  %179 = load ptr, ptr %16, align 8, !tbaa !11
  %180 = icmp ne ptr %179, null
  br i1 %180, label %190, label %181

181:                                              ; preds = %178
  %182 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr @__assert_failures, align 4, !tbaa !5
  %184 = load ptr, ptr @stderr, align 8, !tbaa !11
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.22, ptr noundef @.str.25, ptr noundef @.str.24, i32 noundef 46) #8
  %186 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %188, label %189

188:                                              ; preds = %181
  call void @abort() #9
  unreachable

189:                                              ; preds = %181
  br label %190

190:                                              ; preds = %189, %178
  %191 = load i32, ptr %17, align 4, !tbaa !5
  %192 = icmp ne i32 %191, 1024
  br i1 %192, label %193, label %203

193:                                              ; preds = %190
  %194 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr @__assert_failures, align 4, !tbaa !5
  %196 = load ptr, ptr @stderr, align 8, !tbaa !11
  %197 = load i32, ptr %17, align 4, !tbaa !5
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.26, i32 noundef %197, i32 noundef 1024, ptr noundef @.str.24, i32 noundef 47) #8
  %199 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %193
  call void @abort() #9
  unreachable

202:                                              ; preds = %193
  br label %203

203:                                              ; preds = %202, %190
  %204 = load ptr, ptr %16, align 8, !tbaa !11
  %205 = load ptr, ptr %14, align 8, !tbaa !11
  %206 = call i32 @memcmp(ptr noundef %204, ptr noundef %205, i64 noundef 1024) #10
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %217

208:                                              ; preds = %203
  %209 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr @__assert_failures, align 4, !tbaa !5
  %211 = load ptr, ptr @stderr, align 8, !tbaa !11
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.22, ptr noundef @.str.30, ptr noundef @.str.24, i32 noundef 48) #8
  %213 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %216

215:                                              ; preds = %208
  call void @abort() #9
  unreachable

216:                                              ; preds = %208
  br label %217

217:                                              ; preds = %216, %203
  %218 = load ptr, ptr %16, align 8, !tbaa !11
  call void @free(ptr noundef %218) #8
  %219 = load ptr, ptr %14, align 8, !tbaa !11
  call void @free(ptr noundef %219) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %220

220:                                              ; preds = %217
  %221 = load i32, ptr %12, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.31, i32 noundef %221)
  br label %141, !llvm.loop !16

222:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %223 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %223, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %224

224:                                              ; preds = %248, %222
  %225 = load i32, ptr %20, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %20, align 4, !tbaa !5
  %227 = icmp eq i32 %225, 0
  br i1 %227, label %229, label %228

228:                                              ; preds = %224
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %250

229:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store ptr null, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %230 = call noalias ptr @calloc(i64 noundef 1024, i64 noundef 1) #11
  store ptr %230, ptr %23, align 8, !tbaa !11
  %231 = load ptr, ptr %23, align 8, !tbaa !11
  call void @par_filecache_save(ptr noundef @.str.32, ptr noundef %231, i32 noundef 1024, ptr noundef null, i32 noundef 0)
  %232 = load ptr, ptr %23, align 8, !tbaa !11
  call void @free(ptr noundef %232) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %233 = call zeroext i1 @par_filecache_load(ptr noundef @.str.29, ptr noundef %21, ptr noundef %22, ptr noundef null, i32 noundef 0)
  %234 = zext i1 %233 to i32
  store i32 %234, ptr %24, align 4, !tbaa !5
  %235 = load i32, ptr %24, align 4, !tbaa !5
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %247

237:                                              ; preds = %229
  %238 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr @__assert_failures, align 4, !tbaa !5
  %240 = load ptr, ptr @stderr, align 8, !tbaa !11
  %241 = load i32, ptr %24, align 4, !tbaa !5
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %240, ptr noundef @.str.26, i32 noundef %241, i32 noundef 0, ptr noundef @.str.24, i32 noundef 63) #8
  %243 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %246

245:                                              ; preds = %237
  call void @abort() #9
  unreachable

246:                                              ; preds = %237
  br label %247

247:                                              ; preds = %246, %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %19, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.33, i32 noundef %249)
  br label %224, !llvm.loop !17

250:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %251 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %251, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %252

252:                                              ; preds = %273, %250
  %253 = load i32, ptr %26, align 4, !tbaa !5
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %26, align 4, !tbaa !5
  %255 = icmp eq i32 %253, 0
  br i1 %255, label %257, label %256

256:                                              ; preds = %252
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %275

257:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store ptr null, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %258 = call zeroext i1 @par_filecache_load(ptr noundef @.str.34, ptr noundef %27, ptr noundef %28, ptr noundef null, i32 noundef 0)
  %259 = zext i1 %258 to i32
  store i32 %259, ptr %29, align 4, !tbaa !5
  %260 = load i32, ptr %29, align 4, !tbaa !5
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %272

262:                                              ; preds = %257
  %263 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr @__assert_failures, align 4, !tbaa !5
  %265 = load ptr, ptr @stderr, align 8, !tbaa !11
  %266 = load i32, ptr %29, align 4, !tbaa !5
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.26, i32 noundef %266, i32 noundef 0, ptr noundef @.str.24, i32 noundef 70) #8
  %268 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %269 = icmp ne i32 %268, 0
  br i1 %269, label %270, label %271

270:                                              ; preds = %262
  call void @abort() #9
  unreachable

271:                                              ; preds = %262
  br label %272

272:                                              ; preds = %271, %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %273

273:                                              ; preds = %272
  %274 = load i32, ptr %25, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.35, i32 noundef %274)
  br label %252, !llvm.loop !18

275:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %276 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %276, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %277

277:                                              ; preds = %346, %275
  %278 = load i32, ptr %31, align 4, !tbaa !5
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %31, align 4, !tbaa !5
  %280 = icmp eq i32 %278, 0
  br i1 %280, label %282, label %281

281:                                              ; preds = %277
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %348

282:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  store ptr @.str.36, ptr %32, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr @.str.37, ptr %33, align 8, !tbaa !11
  %283 = load ptr, ptr %32, align 8, !tbaa !11
  %284 = load ptr, ptr %32, align 8, !tbaa !11
  %285 = call i64 @strlen(ptr noundef %284) #10
  %286 = trunc i64 %285 to i32
  %287 = load ptr, ptr %33, align 8, !tbaa !11
  call void @par_filecache_save(ptr noundef @.str.38, ptr noundef %283, i32 noundef %286, ptr noundef %287, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr %35) #8
  call void @llvm.memset.p0.i64(ptr align 1 %35, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %288 = getelementptr inbounds [5 x i8], ptr %35, i64 0, i64 0
  %289 = call zeroext i1 @par_filecache_load(ptr noundef @.str.38, ptr noundef %34, ptr noundef %36, ptr noundef %288, i32 noundef 5)
  %290 = zext i1 %289 to i32
  store i32 %290, ptr %37, align 4, !tbaa !5
  %291 = load i32, ptr %37, align 4, !tbaa !5
  %292 = icmp ne i32 %291, 1
  br i1 %292, label %293, label %303

293:                                              ; preds = %282
  %294 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr @__assert_failures, align 4, !tbaa !5
  %296 = load ptr, ptr @stderr, align 8, !tbaa !11
  %297 = load i32, ptr %37, align 4, !tbaa !5
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.26, i32 noundef %297, i32 noundef 1, ptr noundef @.str.24, i32 noundef 83) #8
  %299 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %302

301:                                              ; preds = %293
  call void @abort() #9
  unreachable

302:                                              ; preds = %293
  br label %303

303:                                              ; preds = %302, %282
  %304 = load i32, ptr %36, align 4, !tbaa !5
  %305 = icmp ne i32 %304, 6
  br i1 %305, label %306, label %316

306:                                              ; preds = %303
  %307 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr @__assert_failures, align 4, !tbaa !5
  %309 = load ptr, ptr @stderr, align 8, !tbaa !11
  %310 = load i32, ptr %36, align 4, !tbaa !5
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.26, i32 noundef %310, i32 noundef 6, ptr noundef @.str.24, i32 noundef 84) #8
  %312 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %313 = icmp ne i32 %312, 0
  br i1 %313, label %314, label %315

314:                                              ; preds = %306
  call void @abort() #9
  unreachable

315:                                              ; preds = %306
  br label %316

316:                                              ; preds = %315, %303
  %317 = getelementptr inbounds [5 x i8], ptr %35, i64 0, i64 0
  %318 = load ptr, ptr %33, align 8, !tbaa !11
  %319 = call i32 @memcmp(ptr noundef %317, ptr noundef %318, i64 noundef 5) #10
  %320 = icmp ne i32 %319, 0
  br i1 %320, label %321, label %330

321:                                              ; preds = %316
  %322 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr @__assert_failures, align 4, !tbaa !5
  %324 = load ptr, ptr @stderr, align 8, !tbaa !11
  %325 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %324, ptr noundef @.str.22, ptr noundef @.str.39, ptr noundef @.str.24, i32 noundef 85) #8
  %326 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %328, label %329

328:                                              ; preds = %321
  call void @abort() #9
  unreachable

329:                                              ; preds = %321
  br label %330

330:                                              ; preds = %329, %316
  %331 = load ptr, ptr %34, align 8, !tbaa !11
  %332 = load ptr, ptr %32, align 8, !tbaa !11
  %333 = call i32 @memcmp(ptr noundef %331, ptr noundef %332, i64 noundef 6) #10
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %344

335:                                              ; preds = %330
  %336 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr @__assert_failures, align 4, !tbaa !5
  %338 = load ptr, ptr @stderr, align 8, !tbaa !11
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %338, ptr noundef @.str.22, ptr noundef @.str.40, ptr noundef @.str.24, i32 noundef 86) #8
  %340 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %343

342:                                              ; preds = %335
  call void @abort() #9
  unreachable

343:                                              ; preds = %335
  br label %344

344:                                              ; preds = %343, %330
  %345 = load ptr, ptr %34, align 8, !tbaa !11
  call void @free(ptr noundef %345) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 5, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %346

346:                                              ; preds = %344
  %347 = load i32, ptr %30, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.41, i32 noundef %347)
  br label %277, !llvm.loop !19

348:                                              ; preds = %281
  br label %349

349:                                              ; preds = %348
  %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
  br label %54, !llvm.loop !20

351:                                              ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %352

352:                                              ; preds = %446, %351
  %353 = load i32, ptr %38, align 4, !tbaa !5
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %38, align 4, !tbaa !5
  %355 = icmp eq i32 %353, 0
  br i1 %355, label %356, label %359

356:                                              ; preds = %352
  %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef @.str.43)
  %358 = icmp ne i32 %357, 0
  br label %359

359:                                              ; preds = %356, %352
  %360 = phi i1 [ false, %352 ], [ %358, %356 ]
  br i1 %360, label %362, label %361

361:                                              ; preds = %359
  store i32 26, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %448

362:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %363 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %363, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %364

364:                                              ; preds = %400, %362
  %365 = load i32, ptr %40, align 4, !tbaa !5
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %40, align 4, !tbaa !5
  %367 = icmp eq i32 %365, 0
  br i1 %367, label %369, label %368

368:                                              ; preds = %364
  store i32 29, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %402

369:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %370 = call i32 @remove(ptr noundef @.str.44) #8
  store i32 %370, ptr %41, align 4, !tbaa !5
  %371 = load i32, ptr %41, align 4, !tbaa !5
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %373, label %383

373:                                              ; preds = %369
  %374 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr @__assert_failures, align 4, !tbaa !5
  %376 = load ptr, ptr @stderr, align 8, !tbaa !11
  %377 = load i32, ptr %41, align 4, !tbaa !5
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %376, ptr noundef @.str.26, i32 noundef %377, i32 noundef 0, ptr noundef @.str.24, i32 noundef 94) #8
  %379 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %382

381:                                              ; preds = %373
  call void @abort() #9
  unreachable

382:                                              ; preds = %373
  br label %383

383:                                              ; preds = %382, %369
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr %43) #8
  call void @llvm.memset.p0.i64(ptr align 1 %43, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 0, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %384 = getelementptr inbounds [5 x i8], ptr %43, i64 0, i64 0
  %385 = call zeroext i1 @par_filecache_load(ptr noundef @.str.38, ptr noundef %42, ptr noundef %44, ptr noundef %384, i32 noundef 5)
  %386 = zext i1 %385 to i32
  store i32 %386, ptr %45, align 4, !tbaa !5
  %387 = load i32, ptr %45, align 4, !tbaa !5
  %388 = icmp ne i32 %387, 0
  br i1 %388, label %389, label %399

389:                                              ; preds = %383
  %390 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr @__assert_failures, align 4, !tbaa !5
  %392 = load ptr, ptr @stderr, align 8, !tbaa !11
  %393 = load i32, ptr %45, align 4, !tbaa !5
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %392, ptr noundef @.str.26, i32 noundef %393, i32 noundef 0, ptr noundef @.str.24, i32 noundef 101) #8
  %395 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %396 = icmp ne i32 %395, 0
  br i1 %396, label %397, label %398

397:                                              ; preds = %389
  call void @abort() #9
  unreachable

398:                                              ; preds = %389
  br label %399

399:                                              ; preds = %398, %383
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 5, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %400

400:                                              ; preds = %399
  %401 = load i32, ptr %39, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.45, i32 noundef %401)
  br label %364, !llvm.loop !21

402:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %403 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %403, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %404

404:                                              ; preds = %443, %402
  %405 = load i32, ptr %47, align 4, !tbaa !5
  %406 = add nsw i32 %405, 1
  store i32 %406, ptr %47, align 4, !tbaa !5
  %407 = icmp eq i32 %405, 0
  br i1 %407, label %409, label %408

408:                                              ; preds = %404
  store i32 32, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %445

409:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  %410 = call i32 @remove(ptr noundef @.str.46) #8
  store i32 %410, ptr %48, align 4, !tbaa !5
  %411 = load i32, ptr %48, align 4, !tbaa !5
  %412 = icmp ne i32 %411, 0
  br i1 %412, label %413, label %423

413:                                              ; preds = %409
  %414 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %415 = add nsw i32 %414, 1
  store i32 %415, ptr @__assert_failures, align 4, !tbaa !5
  %416 = load ptr, ptr @stderr, align 8, !tbaa !11
  %417 = load i32, ptr %48, align 4, !tbaa !5
  %418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %416, ptr noundef @.str.26, i32 noundef %417, i32 noundef 0, ptr noundef @.str.24, i32 noundef 105) #8
  %419 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %420 = icmp ne i32 %419, 0
  br i1 %420, label %421, label %422

421:                                              ; preds = %413
  call void @abort() #9
  unreachable

422:                                              ; preds = %413
  br label %423

423:                                              ; preds = %422, %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %424 = call noalias ptr @fopen(ptr noundef @.str.46, ptr noundef @.str.47)
  store ptr %424, ptr %49, align 8, !tbaa !11
  %425 = load ptr, ptr %49, align 8, !tbaa !11
  %426 = call i32 @fclose(ptr noundef %425)
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr %51) #8
  call void @llvm.memset.p0.i64(ptr align 1 %51, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  store i32 0, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #8
  %427 = getelementptr inbounds [5 x i8], ptr %51, i64 0, i64 0
  %428 = call zeroext i1 @par_filecache_load(ptr noundef @.str.32, ptr noundef %50, ptr noundef %52, ptr noundef %427, i32 noundef 5)
  %429 = zext i1 %428 to i32
  store i32 %429, ptr %53, align 4, !tbaa !5
  %430 = load i32, ptr %53, align 4, !tbaa !5
  %431 = icmp ne i32 %430, 0
  br i1 %431, label %432, label %442

432:                                              ; preds = %423
  %433 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr @__assert_failures, align 4, !tbaa !5
  %435 = load ptr, ptr @stderr, align 8, !tbaa !11
  %436 = load i32, ptr %53, align 4, !tbaa !5
  %437 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %435, ptr noundef @.str.26, i32 noundef %436, i32 noundef 0, ptr noundef @.str.24, i32 noundef 114) #8
  %438 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %439 = icmp ne i32 %438, 0
  br i1 %439, label %440, label %441

440:                                              ; preds = %432
  call void @abort() #9
  unreachable

441:                                              ; preds = %432
  br label %442

442:                                              ; preds = %441, %423
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 5, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %443

443:                                              ; preds = %442
  %444 = load i32, ptr %46, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.48, i32 noundef %444)
  br label %404, !llvm.loop !22

445:                                              ; preds = %408
  br label %446

446:                                              ; preds = %445
  %447 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
  br label %352, !llvm.loop !23

448:                                              ; preds = %361
  %449 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  ret i32 %449
}

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

; Function Attrs: noreturn nounwind
declare void @abort() #5

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #6

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

; Function Attrs: nounwind
declare i32 @rand() #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


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

@__assert_failures = external hidden local_unnamed_addr global i32, align 4
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [72 x i8], align 1
@__assert_bail = external hidden local_unnamed_addr global i32, align 4
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @__describe_after_spec(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_init(ptr noundef, i32 noundef) local_unnamed_addr #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: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @par_filecache_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_save(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @par_filecache_evict_all() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca [5 x i8], align 1
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca [5 x i8], align 1
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca [5 x i8], align 1
  %17 = alloca i32, align 4
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, ptr noundef nonnull @.str.17)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %.critedge, label %.critedge100

.critedge:                                        ; preds = %158, %0
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, ptr noundef nonnull @.str.43)
  %.not65 = icmp eq i32 %19, 0
  br i1 %.not65, label %.critedge2, label %.critedge110

.critedge100:                                     ; preds = %0
  %20 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  tail call void @par_filecache_init(ptr noundef nonnull @.str.18, i32 noundef 1200)
  tail call void @par_filecache_evict_all()
  tail call void @par_filecache_evict_all()
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.19, i32 noundef %20)
  %21 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  tail call void @par_filecache_save(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.20, i32 noundef 5, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  store ptr null, ptr %1, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #10
  store i32 0, ptr %2, align 4, !tbaa !5
  %22 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.21, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0)
  br i1 %22, label %30, label %23

23:                                               ; preds = %.critedge100
  %24 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr @__assert_failures, align 4, !tbaa !5
  %26 = load ptr, ptr @stderr, align 8, !tbaa !9
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24, i32 noundef 29) #11
  %28 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not91 = icmp eq i32 %28, 0
  br i1 %.not91, label %30, label %29

29:                                               ; preds = %23
  call void @abort() #12
  unreachable

30:                                               ; preds = %23, %.critedge100
  %31 = load ptr, ptr %1, align 8, !tbaa !9
  %.not92 = icmp eq ptr %31, null
  br i1 %.not92, label %32, label %39

32:                                               ; preds = %30
  %33 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr @__assert_failures, align 4, !tbaa !5
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.24, i32 noundef 30) #11
  %37 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not93 = icmp eq i32 %37, 0
  br i1 %.not93, label %39, label %38

38:                                               ; preds = %32
  call void @abort() #12
  unreachable

39:                                               ; preds = %32, %30
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %.not94 = icmp eq i32 %40, 5
  br i1 %.not94, label %48, label %41

41:                                               ; preds = %39
  %42 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr @__assert_failures, align 4, !tbaa !5
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.26, i32 noundef %40, i32 noundef 5, ptr noundef nonnull @.str.24, i32 noundef 31) #11
  %46 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not95 = icmp eq i32 %46, 0
  br i1 %.not95, label %48, label %47

47:                                               ; preds = %41
  call void @abort() #12
  unreachable

48:                                               ; preds = %41, %39
  %49 = load ptr, ptr %1, align 8, !tbaa !9
  %bcmp96 = call i32 @bcmp(ptr noundef nonnull dereferenceable(5) %49, ptr noundef nonnull dereferenceable(5) @.str.20, i64 5)
  %.not97 = icmp eq i32 %bcmp96, 0
  br i1 %.not97, label %57, label %50

50:                                               ; preds = %48
  %51 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr @__assert_failures, align 4, !tbaa !5
  %53 = load ptr, ptr @stderr, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.24, i32 noundef 32) #11
  %55 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not98 = icmp eq i32 %55, 0
  br i1 %.not98, label %._crit_edge, label %56

._crit_edge:                                      ; preds = %50
  %.pre = load ptr, ptr %1, align 8, !tbaa !9
  br label %57

56:                                               ; preds = %50
  call void @abort() #12
  unreachable

57:                                               ; preds = %._crit_edge, %48
  %58 = phi ptr [ %.pre, %._crit_edge ], [ %49, %48 ]
  call void @free(ptr noundef %58) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.28, i32 noundef %21)
  %59 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %60 = call noalias dereferenceable_or_null(1024) ptr @calloc(i64 noundef 1024, i64 noundef 1) #13
  call void @srand(i32 noundef 1) #10
  br label %63

61:                                               ; preds = %63
  call void @par_filecache_save(ptr noundef nonnull @.str.29, ptr noundef nonnull %60, i32 noundef 1024, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  store ptr null, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  store i32 0, ptr %4, align 4, !tbaa !5
  %62 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.29, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0)
  br i1 %62, label %74, label %67

63:                                               ; preds = %57, %63
  %indvars.iv = phi i64 [ 0, %57 ], [ %indvars.iv.next, %63 ]
  %64 = call i32 @rand() #10
  %65 = trunc i32 %64 to i8
  %66 = getelementptr inbounds i8, ptr %60, i64 %indvars.iv
  store i8 %65, ptr %66, align 1, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 512
  br i1 %exitcond.not, label %61, label %63, !llvm.loop !12

67:                                               ; preds = %61
  %68 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr @__assert_failures, align 4, !tbaa !5
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24, i32 noundef 45) #11
  %72 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not83 = icmp eq i32 %72, 0
  br i1 %.not83, label %74, label %73

73:                                               ; preds = %67
  call void @abort() #12
  unreachable

74:                                               ; preds = %67, %61
  %75 = load ptr, ptr %3, align 8, !tbaa !9
  %.not84 = icmp eq ptr %75, null
  br i1 %.not84, label %76, label %83

76:                                               ; preds = %74
  %77 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr @__assert_failures, align 4, !tbaa !5
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.24, i32 noundef 46) #11
  %81 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not85 = icmp eq i32 %81, 0
  br i1 %.not85, label %83, label %82

82:                                               ; preds = %76
  call void @abort() #12
  unreachable

83:                                               ; preds = %76, %74
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %.not86 = icmp eq i32 %84, 1024
  br i1 %.not86, label %92, label %85

85:                                               ; preds = %83
  %86 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr @__assert_failures, align 4, !tbaa !5
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef nonnull @.str.26, i32 noundef %84, i32 noundef 1024, ptr noundef nonnull @.str.24, i32 noundef 47) #11
  %90 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not87 = icmp eq i32 %90, 0
  br i1 %.not87, label %92, label %91

91:                                               ; preds = %85
  call void @abort() #12
  unreachable

92:                                               ; preds = %85, %83
  %93 = load ptr, ptr %3, align 8, !tbaa !9
  %bcmp88 = call i32 @bcmp(ptr noundef nonnull dereferenceable(1024) %93, ptr noundef nonnull dereferenceable(1024) %60, i64 1024)
  %.not89 = icmp eq i32 %bcmp88, 0
  br i1 %.not89, label %.critedge104, label %94

94:                                               ; preds = %92
  %95 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr @__assert_failures, align 4, !tbaa !5
  %97 = load ptr, ptr @stderr, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.24, i32 noundef 48) #11
  %99 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not90 = icmp eq i32 %99, 0
  br i1 %.not90, label %..critedge104_crit_edge, label %100

..critedge104_crit_edge:                          ; preds = %94
  %.pre115 = load ptr, ptr %3, align 8, !tbaa !9
  br label %.critedge104

100:                                              ; preds = %94
  call void @abort() #12
  unreachable

.critedge104:                                     ; preds = %..critedge104_crit_edge, %92
  %101 = phi ptr [ %.pre115, %..critedge104_crit_edge ], [ %93, %92 ]
  call void @free(ptr noundef %101) #10
  call void @free(ptr noundef nonnull %60) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.31, i32 noundef %59)
  %102 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  store ptr null, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #10
  store i32 0, ptr %6, align 4, !tbaa !5
  %103 = call noalias dereferenceable_or_null(1024) ptr @calloc(i64 noundef 1024, i64 noundef 1) #13
  call void @par_filecache_save(ptr noundef nonnull @.str.32, ptr noundef %103, i32 noundef 1024, ptr noundef null, i32 noundef 0)
  call void @free(ptr noundef %103) #10
  %104 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.29, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0)
  br i1 %104, label %105, label %.critedge106

105:                                              ; preds = %.critedge104
  %106 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr @__assert_failures, align 4, !tbaa !5
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.26, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 63) #11
  %110 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not82 = icmp eq i32 %110, 0
  br i1 %.not82, label %.critedge106, label %111

111:                                              ; preds = %105
  call void @abort() #12
  unreachable

.critedge106:                                     ; preds = %105, %.critedge104
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.33, i32 noundef %102)
  %112 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #10
  store i32 0, ptr %8, align 4, !tbaa !5
  %113 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.34, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef null, i32 noundef 0)
  br i1 %113, label %114, label %.critedge108

114:                                              ; preds = %.critedge106
  %115 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr @__assert_failures, align 4, !tbaa !5
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull @.str.26, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 70) #11
  %119 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not81 = icmp eq i32 %119, 0
  br i1 %.not81, label %.critedge108, label %120

120:                                              ; preds = %114
  call void @abort() #12
  unreachable

.critedge108:                                     ; preds = %114, %.critedge106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.35, i32 noundef %112)
  %121 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %122 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.36) #14
  %123 = trunc i64 %122 to i32
  call void @par_filecache_save(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.36, i32 noundef %123, ptr noundef nonnull @.str.37, i32 noundef 5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %10) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %10, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #10
  store i32 0, ptr %11, align 4, !tbaa !5
  %124 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.38, ptr noundef nonnull %9, ptr noundef nonnull %11, ptr noundef nonnull %10, i32 noundef 5)
  br i1 %124, label %132, label %125

125:                                              ; preds = %.critedge108
  %126 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr @__assert_failures, align 4, !tbaa !5
  %128 = load ptr, ptr @stderr, align 8, !tbaa !9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.26, i32 noundef 0, i32 noundef 1, ptr noundef nonnull @.str.24, i32 noundef 83) #11
  %130 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not73 = icmp eq i32 %130, 0
  br i1 %.not73, label %132, label %131

131:                                              ; preds = %125
  call void @abort() #12
  unreachable

132:                                              ; preds = %125, %.critedge108
  %133 = load i32, ptr %11, align 4, !tbaa !5
  %.not74 = icmp eq i32 %133, 6
  br i1 %.not74, label %141, label %134

134:                                              ; preds = %132
  %135 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr @__assert_failures, align 4, !tbaa !5
  %137 = load ptr, ptr @stderr, align 8, !tbaa !9
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef nonnull @.str.26, i32 noundef %133, i32 noundef 6, ptr noundef nonnull @.str.24, i32 noundef 84) #11
  %139 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not75 = icmp eq i32 %139, 0
  br i1 %.not75, label %141, label %140

140:                                              ; preds = %134
  call void @abort() #12
  unreachable

141:                                              ; preds = %134, %132
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(5) %10, ptr noundef nonnull dereferenceable(5) @.str.37, i64 5)
  %.not76 = icmp eq i32 %bcmp, 0
  br i1 %.not76, label %149, label %142

142:                                              ; preds = %141
  %143 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr @__assert_failures, align 4, !tbaa !5
  %145 = load ptr, ptr @stderr, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.24, i32 noundef 85) #11
  %147 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not77 = icmp eq i32 %147, 0
  br i1 %.not77, label %149, label %148

148:                                              ; preds = %142
  call void @abort() #12
  unreachable

149:                                              ; preds = %142, %141
  %150 = load ptr, ptr %9, align 8, !tbaa !9
  %bcmp78 = call i32 @bcmp(ptr noundef nonnull dereferenceable(6) %150, ptr noundef nonnull dereferenceable(6) @.str.36, i64 6)
  %.not79 = icmp eq i32 %bcmp78, 0
  br i1 %.not79, label %158, label %151

151:                                              ; preds = %149
  %152 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr @__assert_failures, align 4, !tbaa !5
  %154 = load ptr, ptr @stderr, align 8, !tbaa !9
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.24, i32 noundef 86) #11
  %156 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not80 = icmp eq i32 %156, 0
  br i1 %.not80, label %._crit_edge116, label %157

._crit_edge116:                                   ; preds = %151
  %.pre117 = load ptr, ptr %9, align 8, !tbaa !9
  br label %158

157:                                              ; preds = %151
  call void @abort() #12
  unreachable

158:                                              ; preds = %._crit_edge116, %149
  %159 = phi ptr [ %.pre117, %._crit_edge116 ], [ %150, %149 ]
  call void @free(ptr noundef %159) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.41, i32 noundef %121)
  %160 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  br label %.critedge

.critedge2:                                       ; preds = %200, %.critedge
  %161 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  ret i32 %161

.critedge110:                                     ; preds = %.critedge
  %162 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %163 = call i32 @remove(ptr noundef nonnull @.str.44) #10
  %.not69 = icmp eq i32 %163, 0
  br i1 %.not69, label %171, label %164

164:                                              ; preds = %.critedge110
  %165 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr @__assert_failures, align 4, !tbaa !5
  %167 = load ptr, ptr @stderr, align 8, !tbaa !9
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef nonnull @.str.26, i32 noundef %163, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 94) #11
  %169 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not70 = icmp eq i32 %169, 0
  br i1 %.not70, label %171, label %170

170:                                              ; preds = %164
  call void @abort() #12
  unreachable

171:                                              ; preds = %164, %.critedge110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %13) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %13, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #10
  store i32 0, ptr %14, align 4, !tbaa !5
  %172 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.38, ptr noundef nonnull %12, ptr noundef nonnull %14, ptr noundef nonnull %13, i32 noundef 5)
  br i1 %172, label %173, label %.critedge112

173:                                              ; preds = %171
  %174 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr @__assert_failures, align 4, !tbaa !5
  %176 = load ptr, ptr @stderr, align 8, !tbaa !9
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.26, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 101) #11
  %178 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not71 = icmp eq i32 %178, 0
  br i1 %.not71, label %.critedge112, label %179

179:                                              ; preds = %173
  call void @abort() #12
  unreachable

.critedge112:                                     ; preds = %173, %171
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.45, i32 noundef %162)
  %180 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %181 = call i32 @remove(ptr noundef nonnull @.str.46) #10
  %.not66 = icmp eq i32 %181, 0
  br i1 %.not66, label %189, label %182

182:                                              ; preds = %.critedge112
  %183 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr @__assert_failures, align 4, !tbaa !5
  %185 = load ptr, ptr @stderr, align 8, !tbaa !9
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef nonnull @.str.26, i32 noundef %181, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 105) #11
  %187 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not67 = icmp eq i32 %187, 0
  br i1 %.not67, label %189, label %188

188:                                              ; preds = %182
  call void @abort() #12
  unreachable

189:                                              ; preds = %182, %.critedge112
  %190 = call noalias ptr @fopen(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.47)
  %191 = call i32 @fclose(ptr noundef %190)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %16) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %16, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #10
  store i32 0, ptr %17, align 4, !tbaa !5
  %192 = call zeroext i1 @par_filecache_load(ptr noundef nonnull @.str.32, ptr noundef nonnull %15, ptr noundef nonnull %17, ptr noundef nonnull %16, i32 noundef 5)
  br i1 %192, label %193, label %200

193:                                              ; preds = %189
  %194 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr @__assert_failures, align 4, !tbaa !5
  %196 = load ptr, ptr @stderr, align 8, !tbaa !9
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef nonnull @.str.26, i32 noundef 1, i32 noundef 0, ptr noundef nonnull @.str.24, i32 noundef 114) #11
  %198 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not68 = icmp eq i32 %198, 0
  br i1 %.not68, label %200, label %199

199:                                              ; preds = %193
  call void @abort() #12
  unreachable

200:                                              ; preds = %193, %189
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @__describe_after_spec(ptr noundef nonnull @.str.48, i32 noundef %180)
  %201 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  br label %.critedge2
}

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #7

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #9

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 = { 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 #3 = { 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 #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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nofree nounwind willreturn memory(argmem: read) }
attributes #10 = { nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind allocsize(0,1) }
attributes #14 = { 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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopInstSimplifyPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass