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

; 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

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

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 uwtable
declare dso_local void @par_filecache_evict_all() #0

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

; 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 = %350, %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 %352

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 = %249, %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 %251

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, 1
  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 1, ptr noundef @.str.24, i32 noundef 60) #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
  %248 = load ptr, ptr %21, align 8, !tbaa !11
  call void @free(ptr noundef %248) #8
  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 %249

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

251:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %252 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %252, 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 %253

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

257:                                              ; preds = %253
  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 %276

258:                                              ; preds = %253
  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
  %259 = call zeroext i1 @par_filecache_load(ptr noundef @.str.34, ptr noundef %27, ptr noundef %28, ptr noundef null, i32 noundef 0)
  %260 = zext i1 %259 to i32
  store i32 %260, ptr %29, align 4, !tbaa !5
  %261 = load i32, ptr %29, align 4, !tbaa !5
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %263, label %273

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

271:                                              ; preds = %263
  call void @abort() #9
  unreachable

272:                                              ; preds = %263
  br label %273

273:                                              ; preds = %272, %258
  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 %274

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

276:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %277 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %277, 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 %278

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

282:                                              ; preds = %278
  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 %349

283:                                              ; preds = %278
  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
  %284 = load ptr, ptr %32, align 8, !tbaa !11
  %285 = load ptr, ptr %32, align 8, !tbaa !11
  %286 = call i64 @strlen(ptr noundef %285) #10
  %287 = trunc i64 %286 to i32
  %288 = load ptr, ptr %33, align 8, !tbaa !11
  call void @par_filecache_save(ptr noundef @.str.38, ptr noundef %284, i32 noundef %287, ptr noundef %288, 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
  %289 = getelementptr inbounds [5 x i8], ptr %35, i64 0, i64 0
  %290 = call zeroext i1 @par_filecache_load(ptr noundef @.str.38, ptr noundef %34, ptr noundef %36, ptr noundef %289, i32 noundef 5)
  %291 = zext i1 %290 to i32
  store i32 %291, ptr %37, align 4, !tbaa !5
  %292 = load i32, ptr %37, align 4, !tbaa !5
  %293 = icmp ne i32 %292, 1
  br i1 %293, label %294, label %304

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

302:                                              ; preds = %294
  call void @abort() #9
  unreachable

303:                                              ; preds = %294
  br label %304

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

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

315:                                              ; preds = %307
  call void @abort() #9
  unreachable

316:                                              ; preds = %307
  br label %317

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

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

329:                                              ; preds = %322
  call void @abort() #9
  unreachable

330:                                              ; preds = %322
  br label %331

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

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

343:                                              ; preds = %336
  call void @abort() #9
  unreachable

344:                                              ; preds = %336
  br label %345

345:                                              ; preds = %344, %331
  %346 = load ptr, ptr %34, align 8, !tbaa !11
  call void @free(ptr noundef %346) #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 %347

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

349:                                              ; preds = %282
  br label %350

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

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

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

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

360:                                              ; preds = %357, %353
  %361 = phi i1 [ false, %353 ], [ %359, %357 ]
  br i1 %361, label %363, label %362

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

363:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %364 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %364, 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 %365

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

369:                                              ; preds = %365
  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 %403

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

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

382:                                              ; preds = %374
  call void @abort() #9
  unreachable

383:                                              ; preds = %374
  br label %384

384:                                              ; preds = %383, %370
  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
  %385 = getelementptr inbounds [5 x i8], ptr %43, i64 0, i64 0
  %386 = call zeroext i1 @par_filecache_load(ptr noundef @.str.38, ptr noundef %42, ptr noundef %44, ptr noundef %385, i32 noundef 5)
  %387 = zext i1 %386 to i32
  store i32 %387, ptr %45, align 4, !tbaa !5
  %388 = load i32, ptr %45, align 4, !tbaa !5
  %389 = icmp ne i32 %388, 0
  br i1 %389, label %390, label %400

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

398:                                              ; preds = %390
  call void @abort() #9
  unreachable

399:                                              ; preds = %390
  br label %400

400:                                              ; preds = %399, %384
  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 %401

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

403:                                              ; preds = %369
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %404 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %404, 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 %405

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

409:                                              ; preds = %405
  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 %446

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

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

422:                                              ; preds = %414
  call void @abort() #9
  unreachable

423:                                              ; preds = %414
  br label %424

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

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

441:                                              ; preds = %433
  call void @abort() #9
  unreachable

442:                                              ; preds = %433
  br label %443

443:                                              ; preds = %442, %424
  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 %444

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

446:                                              ; preds = %409
  br label %447

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

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

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

; 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 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: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; 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: nounwind uwtable
declare dso_local void @par_filecache_evict_all() local_unnamed_addr #0

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

; 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 %.critedge102

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

.critedge102:                                     ; 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 = %.critedge102
  %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
  %.not93 = icmp eq i32 %28, 0
  br i1 %.not93, label %30, label %29

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

30:                                               ; preds = %23, %.critedge102
  %31 = load ptr, ptr %1, align 8, !tbaa !9
  %.not94 = icmp eq ptr %31, null
  br i1 %.not94, 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
  %.not95 = icmp eq i32 %37, 0
  br i1 %.not95, 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
  %.not96 = icmp eq i32 %40, 5
  br i1 %.not96, 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
  %.not97 = icmp eq i32 %46, 0
  br i1 %.not97, 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
  %bcmp98 = call i32 @bcmp(ptr noundef nonnull dereferenceable(5) %49, ptr noundef nonnull dereferenceable(5) @.str.20, i64 5)
  %.not99 = icmp eq i32 %bcmp98, 0
  br i1 %.not99, 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
  %.not100 = icmp eq i32 %55, 0
  br i1 %.not100, 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
  %.not85 = icmp eq i32 %72, 0
  br i1 %.not85, 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
  %.not86 = icmp eq ptr %75, null
  br i1 %.not86, 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
  %.not87 = icmp eq i32 %81, 0
  br i1 %.not87, 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
  %.not88 = icmp eq i32 %84, 1024
  br i1 %.not88, 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
  %.not89 = icmp eq i32 %90, 0
  br i1 %.not89, 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
  %bcmp90 = call i32 @bcmp(ptr noundef nonnull dereferenceable(1024) %93, ptr noundef nonnull dereferenceable(1024) %60, i64 1024)
  %.not91 = icmp eq i32 %bcmp90, 0
  br i1 %.not91, label %.critedge106, 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
  %.not92 = icmp eq i32 %99, 0
  br i1 %.not92, label %..critedge106_crit_edge, label %100

..critedge106_crit_edge:                          ; preds = %94
  %.pre117 = load ptr, ptr %3, align 8, !tbaa !9
  br label %.critedge106

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

.critedge106:                                     ; preds = %..critedge106_crit_edge, %92
  %101 = phi ptr [ %.pre117, %..critedge106_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 %.critedge108, label %105

105:                                              ; preds = %.critedge106
  %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 0, i32 noundef 1, ptr noundef nonnull @.str.24, i32 noundef 60) #11
  %110 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not84 = icmp eq i32 %110, 0
  br i1 %.not84, label %.critedge108, label %111

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

.critedge108:                                     ; preds = %105, %.critedge106
  %112 = load ptr, ptr %5, align 8, !tbaa !9
  call void @free(ptr noundef %112) #10
  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)
  %113 = 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
  %114 = 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 %114, label %115, label %.critedge110

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

121:                                              ; preds = %115
  call void @abort() #12
  unreachable

.critedge110:                                     ; preds = %115, %.critedge108
  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 %113)
  %122 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %123 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) @.str.36) #14
  %124 = trunc i64 %123 to i32
  call void @par_filecache_save(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.36, i32 noundef %124, 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
  %125 = 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 %125, label %133, label %126

126:                                              ; preds = %.critedge110
  %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 !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str.26, i32 noundef 0, i32 noundef 1, ptr noundef nonnull @.str.24, i32 noundef 83) #11
  %131 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not74 = icmp eq i32 %131, 0
  br i1 %.not74, label %133, label %132

132:                                              ; preds = %126
  call void @abort() #12
  unreachable

133:                                              ; preds = %126, %.critedge110
  %134 = load i32, ptr %11, align 4, !tbaa !5
  %.not75 = icmp eq i32 %134, 6
  br i1 %.not75, label %142, label %135

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

141:                                              ; preds = %135
  call void @abort() #12
  unreachable

142:                                              ; preds = %135, %133
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(5) %10, ptr noundef nonnull dereferenceable(5) @.str.37, i64 5)
  %.not77 = icmp eq i32 %bcmp, 0
  br i1 %.not77, label %150, label %143

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

149:                                              ; preds = %143
  call void @abort() #12
  unreachable

150:                                              ; preds = %143, %142
  %151 = load ptr, ptr %9, align 8, !tbaa !9
  %bcmp79 = call i32 @bcmp(ptr noundef nonnull dereferenceable(6) %151, ptr noundef nonnull dereferenceable(6) @.str.36, i64 6)
  %.not80 = icmp eq i32 %bcmp79, 0
  br i1 %.not80, label %159, label %152

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

._crit_edge118:                                   ; preds = %152
  %.pre119 = load ptr, ptr %9, align 8, !tbaa !9
  br label %159

158:                                              ; preds = %152
  call void @abort() #12
  unreachable

159:                                              ; preds = %._crit_edge118, %150
  %160 = phi ptr [ %.pre119, %._crit_edge118 ], [ %151, %150 ]
  call void @free(ptr noundef %160) #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 %122)
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  br label %.critedge

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

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

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

171:                                              ; preds = %165
  call void @abort() #12
  unreachable

172:                                              ; preds = %165, %.critedge112
  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
  %173 = 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 %173, label %174, label %.critedge114

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

180:                                              ; preds = %174
  call void @abort() #12
  unreachable

.critedge114:                                     ; preds = %174, %172
  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 %163)
  %181 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %182 = call i32 @remove(ptr noundef nonnull @.str.46) #10
  %.not67 = icmp eq i32 %182, 0
  br i1 %.not67, label %190, label %183

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

189:                                              ; preds = %183
  call void @abort() #12
  unreachable

190:                                              ; preds = %183, %.critedge114
  %191 = call noalias ptr @fopen(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.47)
  %192 = call i32 @fclose(ptr noundef %191)
  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
  %193 = 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 %193, label %194, label %201

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

200:                                              ; preds = %194
  call void @abort() #12
  unreachable

201:                                              ; preds = %194, %190
  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 %181)
  %202 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  br label %.critedge2
}

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

; 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 #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 = { 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 #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 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