; LLVM IR from clibs/clib :: test/package (package-url)

; 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.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [71 x i8], align 1
@__assert_bail = external hidden global i32, align 4
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @__describe_after_spec(ptr noundef, i32 noundef) #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 i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  %13 = call i32 @clib_cache_init(i64 noundef 100)
  %14 = call ptr @clib_cache_dir()
  %15 = call i32 @rimraf(ptr noundef %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %131, %0
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = add nsw i32 %17, 1
  store i32 %18, ptr %2, align 4, !tbaa !5
  %19 = icmp eq i32 %17, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %16
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5)
  %22 = icmp ne i32 %21, 0
  br label %23

23:                                               ; preds = %20, %16
  %24 = phi i1 [ false, %16 ], [ %22, %20 ]
  br i1 %24, label %26, label %25

25:                                               ; preds = %23
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %133

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %27 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %27, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %49, %26
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %5, align 4, !tbaa !5
  %31 = icmp eq i32 %29, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %51

33:                                               ; preds = %28
  br label %34

34:                                               ; preds = %33
  %35 = call ptr @clib_package_url(ptr noundef null, ptr noundef @.str.6, ptr noundef @.str.7)
  %36 = icmp eq ptr null, %35
  br i1 %36, label %46, label %37

37:                                               ; preds = %34
  %38 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr @__assert_failures, align 4, !tbaa !5
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 12) #6
  %42 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %37
  call void @abort() #7
  unreachable

45:                                               ; preds = %37
  br label %46

46:                                               ; preds = %45, %34
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %4, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.11, i32 noundef %50)
  br label %28, !llvm.loop !11

51:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %52 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %52, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %53

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

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

58:                                               ; preds = %53
  br label %59

59:                                               ; preds = %58
  %60 = call ptr @clib_package_url(ptr noundef @.str.12, ptr noundef null, ptr noundef @.str.7)
  %61 = icmp eq ptr null, %60
  br i1 %61, label %71, label %62

62:                                               ; preds = %59
  %63 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr @__assert_failures, align 4, !tbaa !5
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.8, ptr noundef @.str.13, ptr noundef @.str.10, i32 noundef 16) #6
  %67 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %62
  call void @abort() #7
  unreachable

70:                                               ; preds = %62
  br label %71

71:                                               ; preds = %70, %59
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %6, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.14, i32 noundef %75)
  br label %53, !llvm.loop !13

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

78:                                               ; preds = %99, %76
  %79 = load i32, ptr %9, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %9, align 4, !tbaa !5
  %81 = icmp eq i32 %79, 0
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  store i32 15, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %101

83:                                               ; preds = %78
  br label %84

84:                                               ; preds = %83
  %85 = call ptr @clib_package_url(ptr noundef @.str.12, ptr noundef @.str.6, ptr noundef null)
  %86 = icmp eq ptr null, %85
  br i1 %86, label %96, label %87

87:                                               ; preds = %84
  %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 !9
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.8, ptr noundef @.str.15, ptr noundef @.str.10, i32 noundef 20) #6
  %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() #7
  unreachable

95:                                               ; preds = %87
  br label %96

96:                                               ; preds = %95, %84
  br label %97

97:                                               ; preds = %96
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  %100 = load i32, ptr %8, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.16, i32 noundef %100)
  br label %78, !llvm.loop !14

101:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %102 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  store i32 %102, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %128, %101
  %104 = load i32, ptr %11, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %11, align 4, !tbaa !5
  %106 = icmp eq i32 %104, 0
  br i1 %106, label %108, label %107

107:                                              ; preds = %103
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %130

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %109 = call ptr @clib_package_url(ptr noundef @.str.12, ptr noundef @.str.6, ptr noundef @.str.7)
  store ptr %109, ptr %12, align 8, !tbaa !9
  br label %110

110:                                              ; preds = %108
  %111 = load ptr, ptr %12, align 8, !tbaa !9
  %112 = call i32 @strcmp(ptr noundef @.str.17, ptr noundef %111) #8
  %113 = icmp ne i32 0, %112
  br i1 %113, label %114, label %124

114:                                              ; preds = %110
  %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 = load ptr, ptr %12, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.18, ptr noundef @.str.17, ptr noundef %118, ptr noundef @.str.10, i32 noundef 26) #6
  %120 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %114
  call void @abort() #7
  unreachable

123:                                              ; preds = %114
  br label %124

124:                                              ; preds = %123, %110
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %127) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %128

128:                                              ; preds = %126
  %129 = load i32, ptr %10, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.19, i32 noundef %129)
  br label %103, !llvm.loop !15

130:                                              ; preds = %107
  br label %131

131:                                              ; preds = %130
  %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  br label %16, !llvm.loop !16

133:                                              ; preds = %25
  %134 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  ret i32 %134
}

declare i32 @clib_cache_init(i64 noundef) #1

declare i32 @rimraf(ptr noundef) #1

declare ptr @clib_cache_dir() #1

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

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

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

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

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

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

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

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@__assert_failures = external hidden local_unnamed_addr global i32, align 4
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [71 x i8], align 1
@__assert_bail = external hidden local_unnamed_addr global i32, align 4
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 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
define dso_local i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 @clib_cache_init(i64 noundef 100) #6
  %2 = tail call ptr @clib_cache_dir() #6
  %3 = tail call i32 @rimraf(ptr noundef %2) #6
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %.critedge, label %.critedge21

.critedge:                                        ; preds = %46, %0
  %5 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  ret i32 %5

.critedge21:                                      ; preds = %0
  %6 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %7 = tail call ptr @clib_package_url(ptr noundef null, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7) #6
  %8 = icmp eq ptr %7, null
  br i1 %8, label %.critedge23, label %9

9:                                                ; preds = %.critedge21
  %10 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr @__assert_failures, align 4, !tbaa !5
  %12 = load ptr, ptr @stderr, align 8, !tbaa !9
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 12) #7
  %14 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not19 = icmp eq i32 %14, 0
  br i1 %.not19, label %.critedge23, label %15

15:                                               ; preds = %9
  tail call void @abort() #8
  unreachable

.critedge23:                                      ; preds = %.critedge21, %9
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.11, i32 noundef %6)
  %16 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %17 = tail call ptr @clib_package_url(ptr noundef nonnull @.str.12, ptr noundef null, ptr noundef nonnull @.str.7) #6
  %18 = icmp eq ptr %17, null
  br i1 %18, label %.critedge25, label %19

19:                                               ; preds = %.critedge23
  %20 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr @__assert_failures, align 4, !tbaa !5
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.10, i32 noundef 16) #7
  %24 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not18 = icmp eq i32 %24, 0
  br i1 %.not18, label %.critedge25, label %25

25:                                               ; preds = %19
  tail call void @abort() #8
  unreachable

.critedge25:                                      ; preds = %.critedge23, %19
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.14, i32 noundef %16)
  %26 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %27 = tail call ptr @clib_package_url(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.6, ptr noundef null) #6
  %28 = icmp eq ptr %27, null
  br i1 %28, label %.critedge27, label %29

29:                                               ; preds = %.critedge25
  %30 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @__assert_failures, align 4, !tbaa !5
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.10, i32 noundef 20) #7
  %34 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not17 = icmp eq i32 %34, 0
  br i1 %.not17, label %.critedge27, label %35

35:                                               ; preds = %29
  tail call void @abort() #8
  unreachable

.critedge27:                                      ; preds = %.critedge25, %29
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.16, i32 noundef %26)
  %36 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %37 = tail call ptr @clib_package_url(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7) #6
  %38 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.17, ptr noundef nonnull dereferenceable(1) %37) #9
  %.not15 = icmp eq i32 %38, 0
  br i1 %.not15, label %46, label %39

39:                                               ; preds = %.critedge27
  %40 = load i32, ptr @__assert_failures, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr @__assert_failures, align 4, !tbaa !5
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.17, ptr noundef %37, ptr noundef nonnull @.str.10, i32 noundef 26) #7
  %44 = load i32, ptr @__assert_bail, align 4, !tbaa !5
  %.not16 = icmp eq i32 %44, 0
  br i1 %.not16, label %46, label %45

45:                                               ; preds = %39
  tail call void @abort() #8
  unreachable

46:                                               ; preds = %39, %.critedge27
  tail call void @free(ptr noundef %37) #6
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.19, i32 noundef %36)
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  br label %.critedge
}

declare i32 @clib_cache_init(i64 noundef) local_unnamed_addr #1

declare i32 @rimraf(ptr noundef) local_unnamed_addr #1

declare ptr @clib_cache_dir() local_unnamed_addr #1

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

declare ptr @clib_package_url(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) 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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #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 = { nounwind }
attributes #7 = { cold nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { 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}


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass