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

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

%struct.clib_package_opts_t = type { i32, i32, i32, ptr, i32, ptr }

@__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 [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [75 x i8], align 1
@__assert_bail = external hidden global i32, align 4
@.str.10 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.126 = 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 %struct.clib_package_opts_t, align 8
  %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 ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  %25 = call i32 @curl_global_init(i64 noundef 3)
  call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 40, i1 false)
  %26 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 0
  store i32 1, ptr %26, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 1
  store i32 1, ptr %27, align 4, !tbaa !11
  %28 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 2
  %29 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 3
  %30 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 4
  %31 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 5
  call void @clib_package_set_opts(ptr noundef byval(%struct.clib_package_opts_t) align 8 %2)
  %32 = call i32 @clib_cache_init(i64 noundef 100)
  %33 = call ptr @clib_cache_dir()
  %34 = call i32 @rimraf(ptr noundef %33)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !12
  br label %35

35:                                               ; preds = %1121, %0
  %36 = load i32, ptr %3, align 4, !tbaa !12
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %3, align 4, !tbaa !12
  %38 = icmp eq i32 %36, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %35
  %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5)
  %41 = icmp ne i32 %40, 0
  br label %42

42:                                               ; preds = %39, %35
  %43 = phi i1 [ false, %35 ], [ %41, %39 ]
  br i1 %43, label %45, label %44

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

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %46 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %46, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !12
  br label %47

47:                                               ; preds = %68, %45
  %48 = load i32, ptr %6, align 4, !tbaa !12
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %6, align 4, !tbaa !12
  %50 = icmp eq i32 %48, 0
  br i1 %50, label %52, label %51

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

52:                                               ; preds = %47
  br label %53

53:                                               ; preds = %52
  %54 = call i32 @clib_package_install(ptr noundef null, ptr noundef @.str.6, i32 noundef 0)
  %55 = icmp eq i32 -1, %54
  br i1 %55, label %65, label %56

56:                                               ; preds = %53
  %57 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr @__assert_failures, align 4, !tbaa !12
  %59 = load ptr, ptr @stderr, align 8, !tbaa !13
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 21) #6
  %61 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %56
  call void @abort() #7
  unreachable

64:                                               ; preds = %56
  br label %65

65:                                               ; preds = %64, %53
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %5, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.10, i32 noundef %69)
  br label %47, !llvm.loop !14

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

72:                                               ; preds = %142, %70
  %73 = load i32, ptr %8, align 4, !tbaa !12
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %8, align 4, !tbaa !12
  %75 = icmp eq i32 %73, 0
  br i1 %75, label %77, label %76

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

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %78 = call ptr @clib_package_new_from_slug(ptr noundef @.str.11, i32 noundef 0)
  store ptr %78, ptr %9, align 8, !tbaa !13
  br label %79

79:                                               ; preds = %77
  %80 = load ptr, ptr %9, align 8, !tbaa !13
  %81 = icmp ne ptr %80, null
  br i1 %81, label %91, label %82

82:                                               ; preds = %79
  %83 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr @__assert_failures, align 4, !tbaa !12
  %85 = load ptr, ptr @stderr, align 8, !tbaa !13
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 27) #6
  %87 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %82
  call void @abort() #7
  unreachable

90:                                               ; preds = %82
  br label %91

91:                                               ; preds = %90, %79
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  %95 = load ptr, ptr %9, align 8, !tbaa !13
  %96 = call i32 @clib_package_install(ptr noundef %95, ptr noundef @.str.13, i32 noundef 0)
  %97 = icmp eq i32 0, %96
  br i1 %97, label %107, label %98

98:                                               ; preds = %94
  %99 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr @__assert_failures, align 4, !tbaa !12
  %101 = load ptr, ptr @stderr, align 8, !tbaa !13
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.7, ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 28) #6
  %103 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %98
  call void @abort() #7
  unreachable

106:                                              ; preds = %98
  br label %107

107:                                              ; preds = %106, %94
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  %111 = call i32 @fs_exists(ptr noundef @.str.13)
  %112 = icmp eq i32 0, %111
  br i1 %112, label %122, label %113

113:                                              ; preds = %110
  %114 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr @__assert_failures, align 4, !tbaa !12
  %116 = load ptr, ptr @stderr, align 8, !tbaa !13
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.7, ptr noundef @.str.15, ptr noundef @.str.9, i32 noundef 29) #6
  %118 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %113
  call void @abort() #7
  unreachable

121:                                              ; preds = %113
  br label %122

122:                                              ; preds = %121, %110
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  %126 = call i32 @fs_exists(ptr noundef @.str.16)
  %127 = icmp eq i32 0, %126
  br i1 %127, label %137, label %128

128:                                              ; preds = %125
  %129 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr @__assert_failures, align 4, !tbaa !12
  %131 = load ptr, ptr @stderr, align 8, !tbaa !13
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.7, ptr noundef @.str.17, ptr noundef @.str.9, i32 noundef 30) #6
  %133 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %128
  call void @abort() #7
  unreachable

136:                                              ; preds = %128
  br label %137

137:                                              ; preds = %136, %125
  br label %138

138:                                              ; preds = %137
  br label %139

139:                                              ; preds = %138
  %140 = load ptr, ptr %9, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %140)
  %141 = call i32 @rimraf(ptr noundef @.str.13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %142

142:                                              ; preds = %139
  %143 = load i32, ptr %7, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.18, i32 noundef %143)
  br label %72, !llvm.loop !16

144:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %145 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %145, ptr %10, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !12
  br label %146

146:                                              ; preds = %204, %144
  %147 = load i32, ptr %11, align 4, !tbaa !12
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %11, align 4, !tbaa !12
  %149 = icmp eq i32 %147, 0
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  store i32 21, ptr %4, 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 %206

151:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %152 = call ptr @clib_package_new_from_slug(ptr noundef @.str.11, i32 noundef 0)
  store ptr %152, ptr %12, align 8, !tbaa !13
  br label %153

153:                                              ; preds = %151
  %154 = load ptr, ptr %12, align 8, !tbaa !13
  %155 = icmp ne ptr %154, null
  br i1 %155, label %165, label %156

156:                                              ; preds = %153
  %157 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr @__assert_failures, align 4, !tbaa !12
  %159 = load ptr, ptr @stderr, align 8, !tbaa !13
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 38) #6
  %161 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %156
  call void @abort() #7
  unreachable

164:                                              ; preds = %156
  br label %165

165:                                              ; preds = %164, %153
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167
  %169 = load ptr, ptr %12, align 8, !tbaa !13
  %170 = call i32 @clib_package_install(ptr noundef %169, ptr noundef @.str.13, i32 noundef 1)
  %171 = icmp eq i32 0, %170
  br i1 %171, label %181, label %172

172:                                              ; preds = %168
  %173 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr @__assert_failures, align 4, !tbaa !12
  %175 = load ptr, ptr @stderr, align 8, !tbaa !13
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef @.str.7, ptr noundef @.str.19, ptr noundef @.str.9, i32 noundef 39) #6
  %177 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %180

179:                                              ; preds = %172
  call void @abort() #7
  unreachable

180:                                              ; preds = %172
  br label %181

181:                                              ; preds = %180, %168
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  %185 = call i32 @fs_exists(ptr noundef @.str.20)
  %186 = icmp eq i32 0, %185
  br i1 %186, label %199, label %187

187:                                              ; preds = %184
  %188 = call i32 @fs_exists(ptr noundef @.str.21)
  %189 = icmp eq i32 0, %188
  br i1 %189, label %199, label %190

190:                                              ; preds = %187
  %191 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr @__assert_failures, align 4, !tbaa !12
  %193 = load ptr, ptr @stderr, align 8, !tbaa !13
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.7, ptr noundef @.str.22, ptr noundef @.str.9, i32 noundef 41) #6
  %195 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %190
  call void @abort() #7
  unreachable

198:                                              ; preds = %190
  br label %199

199:                                              ; preds = %198, %187, %184
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  %202 = load ptr, ptr %12, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %202)
  %203 = call i32 @rimraf(ptr noundef @.str.13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %204

204:                                              ; preds = %201
  %205 = load i32, ptr %10, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.23, i32 noundef %205)
  br label %146, !llvm.loop !17

206:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %207 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %207, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %208

208:                                              ; preds = %278, %206
  %209 = load i32, ptr %14, align 4, !tbaa !12
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %14, align 4, !tbaa !12
  %211 = icmp eq i32 %209, 0
  br i1 %211, label %213, label %212

212:                                              ; preds = %208
  store i32 30, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %280

213:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %214 = call ptr @clib_package_new_from_slug(ptr noundef @.str.11, i32 noundef 0)
  store ptr %214, ptr %15, align 8, !tbaa !13
  br label %215

215:                                              ; preds = %213
  %216 = load ptr, ptr %15, align 8, !tbaa !13
  %217 = icmp ne ptr %216, null
  br i1 %217, label %227, label %218

218:                                              ; preds = %215
  %219 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr @__assert_failures, align 4, !tbaa !12
  %221 = load ptr, ptr @stderr, align 8, !tbaa !13
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 49) #6
  %223 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %226

225:                                              ; preds = %218
  call void @abort() #7
  unreachable

226:                                              ; preds = %218
  br label %227

227:                                              ; preds = %226, %215
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  %231 = load ptr, ptr %15, align 8, !tbaa !13
  %232 = call i32 @clib_package_install(ptr noundef %231, ptr noundef @.str.13, i32 noundef 0)
  %233 = icmp eq i32 0, %232
  br i1 %233, label %243, label %234

234:                                              ; preds = %230
  %235 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr @__assert_failures, align 4, !tbaa !12
  %237 = load ptr, ptr @stderr, align 8, !tbaa !13
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.7, ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 50) #6
  %239 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %242

241:                                              ; preds = %234
  call void @abort() #7
  unreachable

242:                                              ; preds = %234
  br label %243

243:                                              ; preds = %242, %230
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  br label %246

246:                                              ; preds = %245
  %247 = call i32 @fs_exists(ptr noundef @.str.24)
  %248 = icmp eq i32 0, %247
  br i1 %248, label %258, label %249

249:                                              ; preds = %246
  %250 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr @__assert_failures, align 4, !tbaa !12
  %252 = load ptr, ptr @stderr, align 8, !tbaa !13
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.7, ptr noundef @.str.25, ptr noundef @.str.9, i32 noundef 51) #6
  %254 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %256, label %257

256:                                              ; preds = %249
  call void @abort() #7
  unreachable

257:                                              ; preds = %249
  br label %258

258:                                              ; preds = %257, %246
  br label %259

259:                                              ; preds = %258
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  %262 = call i32 @fs_exists(ptr noundef @.str.26)
  %263 = icmp eq i32 0, %262
  br i1 %263, label %273, label %264

264:                                              ; preds = %261
  %265 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr @__assert_failures, align 4, !tbaa !12
  %267 = load ptr, ptr @stderr, align 8, !tbaa !13
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.7, ptr noundef @.str.27, ptr noundef @.str.9, i32 noundef 52) #6
  %269 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %264
  call void @abort() #7
  unreachable

272:                                              ; preds = %264
  br label %273

273:                                              ; preds = %272, %261
  br label %274

274:                                              ; preds = %273
  br label %275

275:                                              ; preds = %274
  %276 = load ptr, ptr %15, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %276)
  %277 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %278

278:                                              ; preds = %275
  %279 = load i32, ptr %13, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.29, i32 noundef %279)
  br label %208, !llvm.loop !18

280:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %281 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %281, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !12
  br label %282

282:                                              ; preds = %385, %280
  %283 = load i32, ptr %17, align 4, !tbaa !12
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %17, align 4, !tbaa !12
  %285 = icmp eq i32 %283, 0
  br i1 %285, label %287, label %286

286:                                              ; preds = %282
  store i32 41, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %387

287:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %288 = call ptr @clib_package_new_from_slug(ptr noundef @.str.30, i32 noundef 0)
  store ptr %288, ptr %18, align 8, !tbaa !13
  br label %289

289:                                              ; preds = %287
  %290 = load ptr, ptr %18, align 8, !tbaa !13
  %291 = icmp ne ptr %290, null
  br i1 %291, label %301, label %292

292:                                              ; preds = %289
  %293 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr @__assert_failures, align 4, !tbaa !12
  %295 = load ptr, ptr @stderr, align 8, !tbaa !13
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 60) #6
  %297 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %300

299:                                              ; preds = %292
  call void @abort() #7
  unreachable

300:                                              ; preds = %292
  br label %301

301:                                              ; preds = %300, %289
  br label %302

302:                                              ; preds = %301
  br label %303

303:                                              ; preds = %302
  br label %304

304:                                              ; preds = %303
  %305 = load ptr, ptr %18, align 8, !tbaa !13
  %306 = call i32 @clib_package_install(ptr noundef %305, ptr noundef @.str.13, i32 noundef 0)
  %307 = icmp eq i32 0, %306
  br i1 %307, label %317, label %308

308:                                              ; preds = %304
  %309 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr @__assert_failures, align 4, !tbaa !12
  %311 = load ptr, ptr @stderr, align 8, !tbaa !13
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.7, ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 61) #6
  %313 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %316

315:                                              ; preds = %308
  call void @abort() #7
  unreachable

316:                                              ; preds = %308
  br label %317

317:                                              ; preds = %316, %304
  br label %318

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  %321 = call i32 @fs_exists(ptr noundef @.str.31)
  %322 = icmp eq i32 0, %321
  br i1 %322, label %332, label %323

323:                                              ; preds = %320
  %324 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr @__assert_failures, align 4, !tbaa !12
  %326 = load ptr, ptr @stderr, align 8, !tbaa !13
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str.7, ptr noundef @.str.32, ptr noundef @.str.9, i32 noundef 62) #6
  %328 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %329 = icmp ne i32 %328, 0
  br i1 %329, label %330, label %331

330:                                              ; preds = %323
  call void @abort() #7
  unreachable

331:                                              ; preds = %323
  br label %332

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

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333
  br label %335

335:                                              ; preds = %334
  %336 = call i32 @fs_exists(ptr noundef @.str.33)
  %337 = icmp eq i32 0, %336
  br i1 %337, label %347, label %338

338:                                              ; preds = %335
  %339 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr @__assert_failures, align 4, !tbaa !12
  %341 = load ptr, ptr @stderr, align 8, !tbaa !13
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %341, ptr noundef @.str.7, ptr noundef @.str.34, ptr noundef @.str.9, i32 noundef 63) #6
  %343 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %344 = icmp ne i32 %343, 0
  br i1 %344, label %345, label %346

345:                                              ; preds = %338
  call void @abort() #7
  unreachable

346:                                              ; preds = %338
  br label %347

347:                                              ; preds = %346, %335
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  br label %350

350:                                              ; preds = %349
  %351 = call i32 @fs_exists(ptr noundef @.str.35)
  %352 = icmp eq i32 0, %351
  br i1 %352, label %362, label %353

353:                                              ; preds = %350
  %354 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr @__assert_failures, align 4, !tbaa !12
  %356 = load ptr, ptr @stderr, align 8, !tbaa !13
  %357 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %356, ptr noundef @.str.7, ptr noundef @.str.36, ptr noundef @.str.9, i32 noundef 64) #6
  %358 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %360, label %361

360:                                              ; preds = %353
  call void @abort() #7
  unreachable

361:                                              ; preds = %353
  br label %362

362:                                              ; preds = %361, %350
  br label %363

363:                                              ; preds = %362
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364
  %366 = call i32 @fs_exists(ptr noundef @.str.37)
  %367 = icmp eq i32 0, %366
  br i1 %367, label %380, label %368

368:                                              ; preds = %365
  %369 = call i32 @fs_exists(ptr noundef @.str.38)
  %370 = icmp eq i32 0, %369
  br i1 %370, label %380, label %371

371:                                              ; preds = %368
  %372 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %373 = add nsw i32 %372, 1
  store i32 %373, ptr @__assert_failures, align 4, !tbaa !12
  %374 = load ptr, ptr @stderr, align 8, !tbaa !13
  %375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %374, ptr noundef @.str.7, ptr noundef @.str.39, ptr noundef @.str.9, i32 noundef 66) #6
  %376 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %378, label %379

378:                                              ; preds = %371
  call void @abort() #7
  unreachable

379:                                              ; preds = %371
  br label %380

380:                                              ; preds = %379, %368, %365
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381
  %383 = load ptr, ptr %18, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %383)
  %384 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %385

385:                                              ; preds = %382
  %386 = load i32, ptr %16, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.40, i32 noundef %386)
  br label %282, !llvm.loop !19

387:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %388 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %388, ptr %19, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !12
  br label %389

389:                                              ; preds = %492, %387
  %390 = load i32, ptr %20, align 4, !tbaa !12
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr %20, align 4, !tbaa !12
  %392 = icmp eq i32 %390, 0
  br i1 %392, label %394, label %393

393:                                              ; preds = %389
  store i32 56, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %494

394:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %395 = call ptr @clib_package_new_from_slug(ptr noundef @.str.41, i32 noundef 0)
  store ptr %395, ptr %21, align 8, !tbaa !13
  br label %396

396:                                              ; preds = %394
  %397 = load ptr, ptr %21, align 8, !tbaa !13
  %398 = icmp ne ptr %397, null
  br i1 %398, label %408, label %399

399:                                              ; preds = %396
  %400 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr @__assert_failures, align 4, !tbaa !12
  %402 = load ptr, ptr @stderr, align 8, !tbaa !13
  %403 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %402, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 74) #6
  %404 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %405 = icmp ne i32 %404, 0
  br i1 %405, label %406, label %407

406:                                              ; preds = %399
  call void @abort() #7
  unreachable

407:                                              ; preds = %399
  br label %408

408:                                              ; preds = %407, %396
  br label %409

409:                                              ; preds = %408
  br label %410

410:                                              ; preds = %409
  br label %411

411:                                              ; preds = %410
  %412 = load ptr, ptr %21, align 8, !tbaa !13
  %413 = call i32 @clib_package_install(ptr noundef %412, ptr noundef @.str.13, i32 noundef 0)
  %414 = icmp eq i32 0, %413
  br i1 %414, label %424, label %415

415:                                              ; preds = %411
  %416 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %417 = add nsw i32 %416, 1
  store i32 %417, ptr @__assert_failures, align 4, !tbaa !12
  %418 = load ptr, ptr @stderr, align 8, !tbaa !13
  %419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %418, ptr noundef @.str.7, ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 75) #6
  %420 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %421 = icmp ne i32 %420, 0
  br i1 %421, label %422, label %423

422:                                              ; preds = %415
  call void @abort() #7
  unreachable

423:                                              ; preds = %415
  br label %424

424:                                              ; preds = %423, %411
  br label %425

425:                                              ; preds = %424
  br label %426

426:                                              ; preds = %425
  br label %427

427:                                              ; preds = %426
  %428 = call i32 @fs_exists(ptr noundef @.str.42)
  %429 = icmp eq i32 -1, %428
  br i1 %429, label %439, label %430

430:                                              ; preds = %427
  %431 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %432 = add nsw i32 %431, 1
  store i32 %432, ptr @__assert_failures, align 4, !tbaa !12
  %433 = load ptr, ptr @stderr, align 8, !tbaa !13
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef @.str.7, ptr noundef @.str.43, ptr noundef @.str.9, i32 noundef 76) #6
  %435 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %436 = icmp ne i32 %435, 0
  br i1 %436, label %437, label %438

437:                                              ; preds = %430
  call void @abort() #7
  unreachable

438:                                              ; preds = %430
  br label %439

439:                                              ; preds = %438, %427
  br label %440

440:                                              ; preds = %439
  br label %441

441:                                              ; preds = %440
  br label %442

442:                                              ; preds = %441
  %443 = call i32 @fs_exists(ptr noundef @.str.44)
  %444 = icmp eq i32 -1, %443
  br i1 %444, label %454, label %445

445:                                              ; preds = %442
  %446 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %447 = add nsw i32 %446, 1
  store i32 %447, ptr @__assert_failures, align 4, !tbaa !12
  %448 = load ptr, ptr @stderr, align 8, !tbaa !13
  %449 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %448, ptr noundef @.str.7, ptr noundef @.str.45, ptr noundef @.str.9, i32 noundef 77) #6
  %450 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %451 = icmp ne i32 %450, 0
  br i1 %451, label %452, label %453

452:                                              ; preds = %445
  call void @abort() #7
  unreachable

453:                                              ; preds = %445
  br label %454

454:                                              ; preds = %453, %442
  br label %455

455:                                              ; preds = %454
  br label %456

456:                                              ; preds = %455
  br label %457

457:                                              ; preds = %456
  %458 = call i32 @fs_exists(ptr noundef @.str.46)
  %459 = icmp eq i32 -1, %458
  br i1 %459, label %469, label %460

460:                                              ; preds = %457
  %461 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %462 = add nsw i32 %461, 1
  store i32 %462, ptr @__assert_failures, align 4, !tbaa !12
  %463 = load ptr, ptr @stderr, align 8, !tbaa !13
  %464 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %463, ptr noundef @.str.7, ptr noundef @.str.47, ptr noundef @.str.9, i32 noundef 78) #6
  %465 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %466 = icmp ne i32 %465, 0
  br i1 %466, label %467, label %468

467:                                              ; preds = %460
  call void @abort() #7
  unreachable

468:                                              ; preds = %460
  br label %469

469:                                              ; preds = %468, %457
  br label %470

470:                                              ; preds = %469
  br label %471

471:                                              ; preds = %470
  br label %472

472:                                              ; preds = %471
  %473 = call i32 @fs_exists(ptr noundef @.str.48)
  %474 = icmp eq i32 -1, %473
  br i1 %474, label %475, label %478

475:                                              ; preds = %472
  %476 = call i32 @fs_exists(ptr noundef @.str.49)
  %477 = icmp eq i32 -1, %476
  br i1 %477, label %487, label %478

478:                                              ; preds = %475, %472
  %479 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %480 = add nsw i32 %479, 1
  store i32 %480, ptr @__assert_failures, align 4, !tbaa !12
  %481 = load ptr, ptr @stderr, align 8, !tbaa !13
  %482 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.7, ptr noundef @.str.50, ptr noundef @.str.9, i32 noundef 80) #6
  %483 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %484 = icmp ne i32 %483, 0
  br i1 %484, label %485, label %486

485:                                              ; preds = %478
  call void @abort() #7
  unreachable

486:                                              ; preds = %478
  br label %487

487:                                              ; preds = %486, %475
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488
  %490 = load ptr, ptr %21, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %490)
  %491 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %492

492:                                              ; preds = %489
  %493 = load i32, ptr %19, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.51, i32 noundef %493)
  br label %389, !llvm.loop !20

494:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %495 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %495, ptr %22, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !12
  br label %496

496:                                              ; preds = %1118, %494
  %497 = load i32, ptr %23, align 4, !tbaa !12
  %498 = add nsw i32 %497, 1
  store i32 %498, ptr %23, align 4, !tbaa !12
  %499 = icmp eq i32 %497, 0
  br i1 %499, label %501, label %500

500:                                              ; preds = %496
  store i32 71, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %1120

501:                                              ; preds = %496
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %502 = call ptr @clib_package_new_from_slug(ptr noundef @.str.52, i32 noundef 0)
  store ptr %502, ptr %24, align 8, !tbaa !13
  br label %503

503:                                              ; preds = %501
  %504 = load ptr, ptr %24, align 8, !tbaa !13
  %505 = icmp ne ptr %504, null
  br i1 %505, label %515, label %506

506:                                              ; preds = %503
  %507 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %508 = add nsw i32 %507, 1
  store i32 %508, ptr @__assert_failures, align 4, !tbaa !12
  %509 = load ptr, ptr @stderr, align 8, !tbaa !13
  %510 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %509, ptr noundef @.str.7, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 88) #6
  %511 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %512 = icmp ne i32 %511, 0
  br i1 %512, label %513, label %514

513:                                              ; preds = %506
  call void @abort() #7
  unreachable

514:                                              ; preds = %506
  br label %515

515:                                              ; preds = %514, %503
  br label %516

516:                                              ; preds = %515
  br label %517

517:                                              ; preds = %516
  br label %518

518:                                              ; preds = %517
  %519 = load ptr, ptr %24, align 8, !tbaa !13
  %520 = call i32 @clib_package_install(ptr noundef %519, ptr noundef @.str.13, i32 noundef 0)
  %521 = icmp eq i32 0, %520
  br i1 %521, label %531, label %522

522:                                              ; preds = %518
  %523 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %524 = add nsw i32 %523, 1
  store i32 %524, ptr @__assert_failures, align 4, !tbaa !12
  %525 = load ptr, ptr @stderr, align 8, !tbaa !13
  %526 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %525, ptr noundef @.str.7, ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 89) #6
  %527 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %528 = icmp ne i32 %527, 0
  br i1 %528, label %529, label %530

529:                                              ; preds = %522
  call void @abort() #7
  unreachable

530:                                              ; preds = %522
  br label %531

531:                                              ; preds = %530, %518
  br label %532

532:                                              ; preds = %531
  br label %533

533:                                              ; preds = %532
  br label %534

534:                                              ; preds = %533
  %535 = call i32 @fs_exists(ptr noundef @.str.13)
  %536 = icmp eq i32 0, %535
  br i1 %536, label %546, label %537

537:                                              ; preds = %534
  %538 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %539 = add nsw i32 %538, 1
  store i32 %539, ptr @__assert_failures, align 4, !tbaa !12
  %540 = load ptr, ptr @stderr, align 8, !tbaa !13
  %541 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %540, ptr noundef @.str.7, ptr noundef @.str.15, ptr noundef @.str.9, i32 noundef 90) #6
  %542 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %543 = icmp ne i32 %542, 0
  br i1 %543, label %544, label %545

544:                                              ; preds = %537
  call void @abort() #7
  unreachable

545:                                              ; preds = %537
  br label %546

546:                                              ; preds = %545, %534
  br label %547

547:                                              ; preds = %546
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  %550 = call i32 @fs_exists(ptr noundef @.str.53)
  %551 = icmp eq i32 0, %550
  br i1 %551, label %561, label %552

552:                                              ; preds = %549
  %553 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %554 = add nsw i32 %553, 1
  store i32 %554, ptr @__assert_failures, align 4, !tbaa !12
  %555 = load ptr, ptr @stderr, align 8, !tbaa !13
  %556 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %555, ptr noundef @.str.7, ptr noundef @.str.54, ptr noundef @.str.9, i32 noundef 92) #6
  %557 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %558 = icmp ne i32 %557, 0
  br i1 %558, label %559, label %560

559:                                              ; preds = %552
  call void @abort() #7
  unreachable

560:                                              ; preds = %552
  br label %561

561:                                              ; preds = %560, %549
  br label %562

562:                                              ; preds = %561
  br label %563

563:                                              ; preds = %562
  br label %564

564:                                              ; preds = %563
  %565 = call i32 @fs_exists(ptr noundef @.str.55)
  %566 = icmp eq i32 0, %565
  br i1 %566, label %576, label %567

567:                                              ; preds = %564
  %568 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %569 = add nsw i32 %568, 1
  store i32 %569, ptr @__assert_failures, align 4, !tbaa !12
  %570 = load ptr, ptr @stderr, align 8, !tbaa !13
  %571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %570, ptr noundef @.str.7, ptr noundef @.str.56, ptr noundef @.str.9, i32 noundef 93) #6
  %572 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %573 = icmp ne i32 %572, 0
  br i1 %573, label %574, label %575

574:                                              ; preds = %567
  call void @abort() #7
  unreachable

575:                                              ; preds = %567
  br label %576

576:                                              ; preds = %575, %564
  br label %577

577:                                              ; preds = %576
  br label %578

578:                                              ; preds = %577
  br label %579

579:                                              ; preds = %578
  %580 = call i32 @fs_exists(ptr noundef @.str.57)
  %581 = icmp eq i32 0, %580
  br i1 %581, label %591, label %582

582:                                              ; preds = %579
  %583 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %584 = add nsw i32 %583, 1
  store i32 %584, ptr @__assert_failures, align 4, !tbaa !12
  %585 = load ptr, ptr @stderr, align 8, !tbaa !13
  %586 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %585, ptr noundef @.str.7, ptr noundef @.str.58, ptr noundef @.str.9, i32 noundef 94) #6
  %587 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %588 = icmp ne i32 %587, 0
  br i1 %588, label %589, label %590

589:                                              ; preds = %582
  call void @abort() #7
  unreachable

590:                                              ; preds = %582
  br label %591

591:                                              ; preds = %590, %579
  br label %592

592:                                              ; preds = %591
  br label %593

593:                                              ; preds = %592
  br label %594

594:                                              ; preds = %593
  %595 = call i32 @fs_exists(ptr noundef @.str.59)
  %596 = icmp eq i32 0, %595
  br i1 %596, label %609, label %597

597:                                              ; preds = %594
  %598 = call i32 @fs_exists(ptr noundef @.str.60)
  %599 = icmp eq i32 0, %598
  br i1 %599, label %609, label %600

600:                                              ; preds = %597
  %601 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %602 = add nsw i32 %601, 1
  store i32 %602, ptr @__assert_failures, align 4, !tbaa !12
  %603 = load ptr, ptr @stderr, align 8, !tbaa !13
  %604 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %603, ptr noundef @.str.7, ptr noundef @.str.61, ptr noundef @.str.9, i32 noundef 96) #6
  %605 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %606 = icmp ne i32 %605, 0
  br i1 %606, label %607, label %608

607:                                              ; preds = %600
  call void @abort() #7
  unreachable

608:                                              ; preds = %600
  br label %609

609:                                              ; preds = %608, %597, %594
  br label %610

610:                                              ; preds = %609
  br label %611

611:                                              ; preds = %610
  br label %612

612:                                              ; preds = %611
  %613 = call i32 @fs_exists(ptr noundef @.str.62)
  %614 = icmp eq i32 0, %613
  br i1 %614, label %624, label %615

615:                                              ; preds = %612
  %616 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %617 = add nsw i32 %616, 1
  store i32 %617, ptr @__assert_failures, align 4, !tbaa !12
  %618 = load ptr, ptr @stderr, align 8, !tbaa !13
  %619 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %618, ptr noundef @.str.7, ptr noundef @.str.63, ptr noundef @.str.9, i32 noundef 98) #6
  %620 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %621 = icmp ne i32 %620, 0
  br i1 %621, label %622, label %623

622:                                              ; preds = %615
  call void @abort() #7
  unreachable

623:                                              ; preds = %615
  br label %624

624:                                              ; preds = %623, %612
  br label %625

625:                                              ; preds = %624
  br label %626

626:                                              ; preds = %625
  br label %627

627:                                              ; preds = %626
  %628 = call i32 @fs_exists(ptr noundef @.str.64)
  %629 = icmp eq i32 0, %628
  br i1 %629, label %639, label %630

630:                                              ; preds = %627
  %631 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %632 = add nsw i32 %631, 1
  store i32 %632, ptr @__assert_failures, align 4, !tbaa !12
  %633 = load ptr, ptr @stderr, align 8, !tbaa !13
  %634 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %633, ptr noundef @.str.7, ptr noundef @.str.65, ptr noundef @.str.9, i32 noundef 99) #6
  %635 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %636 = icmp ne i32 %635, 0
  br i1 %636, label %637, label %638

637:                                              ; preds = %630
  call void @abort() #7
  unreachable

638:                                              ; preds = %630
  br label %639

639:                                              ; preds = %638, %627
  br label %640

640:                                              ; preds = %639
  br label %641

641:                                              ; preds = %640
  br label %642

642:                                              ; preds = %641
  %643 = call i32 @fs_exists(ptr noundef @.str.66)
  %644 = icmp eq i32 0, %643
  br i1 %644, label %654, label %645

645:                                              ; preds = %642
  %646 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %647 = add nsw i32 %646, 1
  store i32 %647, ptr @__assert_failures, align 4, !tbaa !12
  %648 = load ptr, ptr @stderr, align 8, !tbaa !13
  %649 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %648, ptr noundef @.str.7, ptr noundef @.str.67, ptr noundef @.str.9, i32 noundef 100) #6
  %650 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %651 = icmp ne i32 %650, 0
  br i1 %651, label %652, label %653

652:                                              ; preds = %645
  call void @abort() #7
  unreachable

653:                                              ; preds = %645
  br label %654

654:                                              ; preds = %653, %642
  br label %655

655:                                              ; preds = %654
  br label %656

656:                                              ; preds = %655
  br label %657

657:                                              ; preds = %656
  %658 = call i32 @fs_exists(ptr noundef @.str.68)
  %659 = icmp eq i32 0, %658
  br i1 %659, label %672, label %660

660:                                              ; preds = %657
  %661 = call i32 @fs_exists(ptr noundef @.str.69)
  %662 = icmp eq i32 0, %661
  br i1 %662, label %672, label %663

663:                                              ; preds = %660
  %664 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %665 = add nsw i32 %664, 1
  store i32 %665, ptr @__assert_failures, align 4, !tbaa !12
  %666 = load ptr, ptr @stderr, align 8, !tbaa !13
  %667 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %666, ptr noundef @.str.7, ptr noundef @.str.70, ptr noundef @.str.9, i32 noundef 102) #6
  %668 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %669 = icmp ne i32 %668, 0
  br i1 %669, label %670, label %671

670:                                              ; preds = %663
  call void @abort() #7
  unreachable

671:                                              ; preds = %663
  br label %672

672:                                              ; preds = %671, %660, %657
  br label %673

673:                                              ; preds = %672
  br label %674

674:                                              ; preds = %673
  br label %675

675:                                              ; preds = %674
  %676 = call i32 @fs_exists(ptr noundef @.str.71)
  %677 = icmp eq i32 0, %676
  br i1 %677, label %687, label %678

678:                                              ; preds = %675
  %679 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %680 = add nsw i32 %679, 1
  store i32 %680, ptr @__assert_failures, align 4, !tbaa !12
  %681 = load ptr, ptr @stderr, align 8, !tbaa !13
  %682 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %681, ptr noundef @.str.7, ptr noundef @.str.72, ptr noundef @.str.9, i32 noundef 104) #6
  %683 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %684 = icmp ne i32 %683, 0
  br i1 %684, label %685, label %686

685:                                              ; preds = %678
  call void @abort() #7
  unreachable

686:                                              ; preds = %678
  br label %687

687:                                              ; preds = %686, %675
  br label %688

688:                                              ; preds = %687
  br label %689

689:                                              ; preds = %688
  br label %690

690:                                              ; preds = %689
  %691 = call i32 @fs_exists(ptr noundef @.str.73)
  %692 = icmp eq i32 0, %691
  br i1 %692, label %702, label %693

693:                                              ; preds = %690
  %694 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %695 = add nsw i32 %694, 1
  store i32 %695, ptr @__assert_failures, align 4, !tbaa !12
  %696 = load ptr, ptr @stderr, align 8, !tbaa !13
  %697 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %696, ptr noundef @.str.7, ptr noundef @.str.74, ptr noundef @.str.9, i32 noundef 105) #6
  %698 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %699 = icmp ne i32 %698, 0
  br i1 %699, label %700, label %701

700:                                              ; preds = %693
  call void @abort() #7
  unreachable

701:                                              ; preds = %693
  br label %702

702:                                              ; preds = %701, %690
  br label %703

703:                                              ; preds = %702
  br label %704

704:                                              ; preds = %703
  br label %705

705:                                              ; preds = %704
  %706 = call i32 @fs_exists(ptr noundef @.str.75)
  %707 = icmp eq i32 0, %706
  br i1 %707, label %717, label %708

708:                                              ; preds = %705
  %709 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %710 = add nsw i32 %709, 1
  store i32 %710, ptr @__assert_failures, align 4, !tbaa !12
  %711 = load ptr, ptr @stderr, align 8, !tbaa !13
  %712 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %711, ptr noundef @.str.7, ptr noundef @.str.76, ptr noundef @.str.9, i32 noundef 106) #6
  %713 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %714 = icmp ne i32 %713, 0
  br i1 %714, label %715, label %716

715:                                              ; preds = %708
  call void @abort() #7
  unreachable

716:                                              ; preds = %708
  br label %717

717:                                              ; preds = %716, %705
  br label %718

718:                                              ; preds = %717
  br label %719

719:                                              ; preds = %718
  br label %720

720:                                              ; preds = %719
  %721 = call i32 @fs_exists(ptr noundef @.str.77)
  %722 = icmp eq i32 0, %721
  br i1 %722, label %735, label %723

723:                                              ; preds = %720
  %724 = call i32 @fs_exists(ptr noundef @.str.78)
  %725 = icmp eq i32 0, %724
  br i1 %725, label %735, label %726

726:                                              ; preds = %723
  %727 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %728 = add nsw i32 %727, 1
  store i32 %728, ptr @__assert_failures, align 4, !tbaa !12
  %729 = load ptr, ptr @stderr, align 8, !tbaa !13
  %730 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %729, ptr noundef @.str.7, ptr noundef @.str.79, ptr noundef @.str.9, i32 noundef 108) #6
  %731 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %732 = icmp ne i32 %731, 0
  br i1 %732, label %733, label %734

733:                                              ; preds = %726
  call void @abort() #7
  unreachable

734:                                              ; preds = %726
  br label %735

735:                                              ; preds = %734, %723, %720
  br label %736

736:                                              ; preds = %735
  br label %737

737:                                              ; preds = %736
  br label %738

738:                                              ; preds = %737
  %739 = call i32 @fs_exists(ptr noundef @.str.80)
  %740 = icmp eq i32 0, %739
  br i1 %740, label %750, label %741

741:                                              ; preds = %738
  %742 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %743 = add nsw i32 %742, 1
  store i32 %743, ptr @__assert_failures, align 4, !tbaa !12
  %744 = load ptr, ptr @stderr, align 8, !tbaa !13
  %745 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %744, ptr noundef @.str.7, ptr noundef @.str.81, ptr noundef @.str.9, i32 noundef 110) #6
  %746 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %747 = icmp ne i32 %746, 0
  br i1 %747, label %748, label %749

748:                                              ; preds = %741
  call void @abort() #7
  unreachable

749:                                              ; preds = %741
  br label %750

750:                                              ; preds = %749, %738
  br label %751

751:                                              ; preds = %750
  br label %752

752:                                              ; preds = %751
  br label %753

753:                                              ; preds = %752
  %754 = call i32 @fs_exists(ptr noundef @.str.82)
  %755 = icmp eq i32 0, %754
  br i1 %755, label %765, label %756

756:                                              ; preds = %753
  %757 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %758 = add nsw i32 %757, 1
  store i32 %758, ptr @__assert_failures, align 4, !tbaa !12
  %759 = load ptr, ptr @stderr, align 8, !tbaa !13
  %760 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %759, ptr noundef @.str.7, ptr noundef @.str.83, ptr noundef @.str.9, i32 noundef 111) #6
  %761 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %762 = icmp ne i32 %761, 0
  br i1 %762, label %763, label %764

763:                                              ; preds = %756
  call void @abort() #7
  unreachable

764:                                              ; preds = %756
  br label %765

765:                                              ; preds = %764, %753
  br label %766

766:                                              ; preds = %765
  br label %767

767:                                              ; preds = %766
  br label %768

768:                                              ; preds = %767
  %769 = call i32 @fs_exists(ptr noundef @.str.84)
  %770 = icmp eq i32 0, %769
  br i1 %770, label %780, label %771

771:                                              ; preds = %768
  %772 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %773 = add nsw i32 %772, 1
  store i32 %773, ptr @__assert_failures, align 4, !tbaa !12
  %774 = load ptr, ptr @stderr, align 8, !tbaa !13
  %775 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %774, ptr noundef @.str.7, ptr noundef @.str.85, ptr noundef @.str.9, i32 noundef 112) #6
  %776 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %777 = icmp ne i32 %776, 0
  br i1 %777, label %778, label %779

778:                                              ; preds = %771
  call void @abort() #7
  unreachable

779:                                              ; preds = %771
  br label %780

780:                                              ; preds = %779, %768
  br label %781

781:                                              ; preds = %780
  br label %782

782:                                              ; preds = %781
  br label %783

783:                                              ; preds = %782
  %784 = call i32 @fs_exists(ptr noundef @.str.86)
  %785 = icmp eq i32 0, %784
  br i1 %785, label %798, label %786

786:                                              ; preds = %783
  %787 = call i32 @fs_exists(ptr noundef @.str.87)
  %788 = icmp eq i32 0, %787
  br i1 %788, label %798, label %789

789:                                              ; preds = %786
  %790 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %791 = add nsw i32 %790, 1
  store i32 %791, ptr @__assert_failures, align 4, !tbaa !12
  %792 = load ptr, ptr @stderr, align 8, !tbaa !13
  %793 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %792, ptr noundef @.str.7, ptr noundef @.str.88, ptr noundef @.str.9, i32 noundef 114) #6
  %794 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %795 = icmp ne i32 %794, 0
  br i1 %795, label %796, label %797

796:                                              ; preds = %789
  call void @abort() #7
  unreachable

797:                                              ; preds = %789
  br label %798

798:                                              ; preds = %797, %786, %783
  br label %799

799:                                              ; preds = %798
  br label %800

800:                                              ; preds = %799
  br label %801

801:                                              ; preds = %800
  %802 = call i32 @fs_exists(ptr noundef @.str.89)
  %803 = icmp eq i32 0, %802
  br i1 %803, label %813, label %804

804:                                              ; preds = %801
  %805 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %806 = add nsw i32 %805, 1
  store i32 %806, ptr @__assert_failures, align 4, !tbaa !12
  %807 = load ptr, ptr @stderr, align 8, !tbaa !13
  %808 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %807, ptr noundef @.str.7, ptr noundef @.str.90, ptr noundef @.str.9, i32 noundef 116) #6
  %809 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %810 = icmp ne i32 %809, 0
  br i1 %810, label %811, label %812

811:                                              ; preds = %804
  call void @abort() #7
  unreachable

812:                                              ; preds = %804
  br label %813

813:                                              ; preds = %812, %801
  br label %814

814:                                              ; preds = %813
  br label %815

815:                                              ; preds = %814
  br label %816

816:                                              ; preds = %815
  %817 = call i32 @fs_exists(ptr noundef @.str.91)
  %818 = icmp eq i32 0, %817
  br i1 %818, label %828, label %819

819:                                              ; preds = %816
  %820 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %821 = add nsw i32 %820, 1
  store i32 %821, ptr @__assert_failures, align 4, !tbaa !12
  %822 = load ptr, ptr @stderr, align 8, !tbaa !13
  %823 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %822, ptr noundef @.str.7, ptr noundef @.str.92, ptr noundef @.str.9, i32 noundef 117) #6
  %824 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %825 = icmp ne i32 %824, 0
  br i1 %825, label %826, label %827

826:                                              ; preds = %819
  call void @abort() #7
  unreachable

827:                                              ; preds = %819
  br label %828

828:                                              ; preds = %827, %816
  br label %829

829:                                              ; preds = %828
  br label %830

830:                                              ; preds = %829
  br label %831

831:                                              ; preds = %830
  %832 = call i32 @fs_exists(ptr noundef @.str.93)
  %833 = icmp eq i32 0, %832
  br i1 %833, label %843, label %834

834:                                              ; preds = %831
  %835 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %836 = add nsw i32 %835, 1
  store i32 %836, ptr @__assert_failures, align 4, !tbaa !12
  %837 = load ptr, ptr @stderr, align 8, !tbaa !13
  %838 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %837, ptr noundef @.str.7, ptr noundef @.str.94, ptr noundef @.str.9, i32 noundef 118) #6
  %839 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %840 = icmp ne i32 %839, 0
  br i1 %840, label %841, label %842

841:                                              ; preds = %834
  call void @abort() #7
  unreachable

842:                                              ; preds = %834
  br label %843

843:                                              ; preds = %842, %831
  br label %844

844:                                              ; preds = %843
  br label %845

845:                                              ; preds = %844
  br label %846

846:                                              ; preds = %845
  %847 = call i32 @fs_exists(ptr noundef @.str.95)
  %848 = icmp eq i32 0, %847
  br i1 %848, label %861, label %849

849:                                              ; preds = %846
  %850 = call i32 @fs_exists(ptr noundef @.str.96)
  %851 = icmp eq i32 0, %850
  br i1 %851, label %861, label %852

852:                                              ; preds = %849
  %853 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %854 = add nsw i32 %853, 1
  store i32 %854, ptr @__assert_failures, align 4, !tbaa !12
  %855 = load ptr, ptr @stderr, align 8, !tbaa !13
  %856 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %855, ptr noundef @.str.7, ptr noundef @.str.97, ptr noundef @.str.9, i32 noundef 120) #6
  %857 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %858 = icmp ne i32 %857, 0
  br i1 %858, label %859, label %860

859:                                              ; preds = %852
  call void @abort() #7
  unreachable

860:                                              ; preds = %852
  br label %861

861:                                              ; preds = %860, %849, %846
  br label %862

862:                                              ; preds = %861
  br label %863

863:                                              ; preds = %862
  br label %864

864:                                              ; preds = %863
  %865 = call i32 @fs_exists(ptr noundef @.str.98)
  %866 = icmp eq i32 0, %865
  br i1 %866, label %876, label %867

867:                                              ; preds = %864
  %868 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %869 = add nsw i32 %868, 1
  store i32 %869, ptr @__assert_failures, align 4, !tbaa !12
  %870 = load ptr, ptr @stderr, align 8, !tbaa !13
  %871 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %870, ptr noundef @.str.7, ptr noundef @.str.99, ptr noundef @.str.9, i32 noundef 122) #6
  %872 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %873 = icmp ne i32 %872, 0
  br i1 %873, label %874, label %875

874:                                              ; preds = %867
  call void @abort() #7
  unreachable

875:                                              ; preds = %867
  br label %876

876:                                              ; preds = %875, %864
  br label %877

877:                                              ; preds = %876
  br label %878

878:                                              ; preds = %877
  br label %879

879:                                              ; preds = %878
  %880 = call i32 @fs_exists(ptr noundef @.str.100)
  %881 = icmp eq i32 0, %880
  br i1 %881, label %891, label %882

882:                                              ; preds = %879
  %883 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %884 = add nsw i32 %883, 1
  store i32 %884, ptr @__assert_failures, align 4, !tbaa !12
  %885 = load ptr, ptr @stderr, align 8, !tbaa !13
  %886 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %885, ptr noundef @.str.7, ptr noundef @.str.101, ptr noundef @.str.9, i32 noundef 123) #6
  %887 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %888 = icmp ne i32 %887, 0
  br i1 %888, label %889, label %890

889:                                              ; preds = %882
  call void @abort() #7
  unreachable

890:                                              ; preds = %882
  br label %891

891:                                              ; preds = %890, %879
  br label %892

892:                                              ; preds = %891
  br label %893

893:                                              ; preds = %892
  br label %894

894:                                              ; preds = %893
  %895 = call i32 @fs_exists(ptr noundef @.str.102)
  %896 = icmp eq i32 0, %895
  br i1 %896, label %906, label %897

897:                                              ; preds = %894
  %898 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %899 = add nsw i32 %898, 1
  store i32 %899, ptr @__assert_failures, align 4, !tbaa !12
  %900 = load ptr, ptr @stderr, align 8, !tbaa !13
  %901 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %900, ptr noundef @.str.7, ptr noundef @.str.103, ptr noundef @.str.9, i32 noundef 124) #6
  %902 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %903 = icmp ne i32 %902, 0
  br i1 %903, label %904, label %905

904:                                              ; preds = %897
  call void @abort() #7
  unreachable

905:                                              ; preds = %897
  br label %906

906:                                              ; preds = %905, %894
  br label %907

907:                                              ; preds = %906
  br label %908

908:                                              ; preds = %907
  br label %909

909:                                              ; preds = %908
  %910 = call i32 @fs_exists(ptr noundef @.str.104)
  %911 = icmp eq i32 0, %910
  br i1 %911, label %924, label %912

912:                                              ; preds = %909
  %913 = call i32 @fs_exists(ptr noundef @.str.105)
  %914 = icmp eq i32 0, %913
  br i1 %914, label %924, label %915

915:                                              ; preds = %912
  %916 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %917 = add nsw i32 %916, 1
  store i32 %917, ptr @__assert_failures, align 4, !tbaa !12
  %918 = load ptr, ptr @stderr, align 8, !tbaa !13
  %919 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %918, ptr noundef @.str.7, ptr noundef @.str.106, ptr noundef @.str.9, i32 noundef 126) #6
  %920 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %921 = icmp ne i32 %920, 0
  br i1 %921, label %922, label %923

922:                                              ; preds = %915
  call void @abort() #7
  unreachable

923:                                              ; preds = %915
  br label %924

924:                                              ; preds = %923, %912, %909
  br label %925

925:                                              ; preds = %924
  br label %926

926:                                              ; preds = %925
  br label %927

927:                                              ; preds = %926
  %928 = call i32 @fs_exists(ptr noundef @.str.31)
  %929 = icmp eq i32 0, %928
  br i1 %929, label %939, label %930

930:                                              ; preds = %927
  %931 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %932 = add nsw i32 %931, 1
  store i32 %932, ptr @__assert_failures, align 4, !tbaa !12
  %933 = load ptr, ptr @stderr, align 8, !tbaa !13
  %934 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %933, ptr noundef @.str.7, ptr noundef @.str.32, ptr noundef @.str.9, i32 noundef 128) #6
  %935 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %936 = icmp ne i32 %935, 0
  br i1 %936, label %937, label %938

937:                                              ; preds = %930
  call void @abort() #7
  unreachable

938:                                              ; preds = %930
  br label %939

939:                                              ; preds = %938, %927
  br label %940

940:                                              ; preds = %939
  br label %941

941:                                              ; preds = %940
  br label %942

942:                                              ; preds = %941
  %943 = call i32 @fs_exists(ptr noundef @.str.33)
  %944 = icmp eq i32 0, %943
  br i1 %944, label %954, label %945

945:                                              ; preds = %942
  %946 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %947 = add nsw i32 %946, 1
  store i32 %947, ptr @__assert_failures, align 4, !tbaa !12
  %948 = load ptr, ptr @stderr, align 8, !tbaa !13
  %949 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %948, ptr noundef @.str.7, ptr noundef @.str.34, ptr noundef @.str.9, i32 noundef 129) #6
  %950 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %951 = icmp ne i32 %950, 0
  br i1 %951, label %952, label %953

952:                                              ; preds = %945
  call void @abort() #7
  unreachable

953:                                              ; preds = %945
  br label %954

954:                                              ; preds = %953, %942
  br label %955

955:                                              ; preds = %954
  br label %956

956:                                              ; preds = %955
  br label %957

957:                                              ; preds = %956
  %958 = call i32 @fs_exists(ptr noundef @.str.35)
  %959 = icmp eq i32 0, %958
  br i1 %959, label %969, label %960

960:                                              ; preds = %957
  %961 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %962 = add nsw i32 %961, 1
  store i32 %962, ptr @__assert_failures, align 4, !tbaa !12
  %963 = load ptr, ptr @stderr, align 8, !tbaa !13
  %964 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %963, ptr noundef @.str.7, ptr noundef @.str.36, ptr noundef @.str.9, i32 noundef 130) #6
  %965 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %966 = icmp ne i32 %965, 0
  br i1 %966, label %967, label %968

967:                                              ; preds = %960
  call void @abort() #7
  unreachable

968:                                              ; preds = %960
  br label %969

969:                                              ; preds = %968, %957
  br label %970

970:                                              ; preds = %969
  br label %971

971:                                              ; preds = %970
  br label %972

972:                                              ; preds = %971
  %973 = call i32 @fs_exists(ptr noundef @.str.37)
  %974 = icmp eq i32 0, %973
  br i1 %974, label %987, label %975

975:                                              ; preds = %972
  %976 = call i32 @fs_exists(ptr noundef @.str.38)
  %977 = icmp eq i32 0, %976
  br i1 %977, label %987, label %978

978:                                              ; preds = %975
  %979 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %980 = add nsw i32 %979, 1
  store i32 %980, ptr @__assert_failures, align 4, !tbaa !12
  %981 = load ptr, ptr @stderr, align 8, !tbaa !13
  %982 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %981, ptr noundef @.str.7, ptr noundef @.str.39, ptr noundef @.str.9, i32 noundef 132) #6
  %983 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %984 = icmp ne i32 %983, 0
  br i1 %984, label %985, label %986

985:                                              ; preds = %978
  call void @abort() #7
  unreachable

986:                                              ; preds = %978
  br label %987

987:                                              ; preds = %986, %975, %972
  br label %988

988:                                              ; preds = %987
  br label %989

989:                                              ; preds = %988
  br label %990

990:                                              ; preds = %989
  %991 = call i32 @fs_exists(ptr noundef @.str.107)
  %992 = icmp eq i32 0, %991
  br i1 %992, label %1002, label %993

993:                                              ; preds = %990
  %994 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %995 = add nsw i32 %994, 1
  store i32 %995, ptr @__assert_failures, align 4, !tbaa !12
  %996 = load ptr, ptr @stderr, align 8, !tbaa !13
  %997 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %996, ptr noundef @.str.7, ptr noundef @.str.108, ptr noundef @.str.9, i32 noundef 134) #6
  %998 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %999 = icmp ne i32 %998, 0
  br i1 %999, label %1000, label %1001

1000:                                             ; preds = %993
  call void @abort() #7
  unreachable

1001:                                             ; preds = %993
  br label %1002

1002:                                             ; preds = %1001, %990
  br label %1003

1003:                                             ; preds = %1002
  br label %1004

1004:                                             ; preds = %1003
  br label %1005

1005:                                             ; preds = %1004
  %1006 = call i32 @fs_exists(ptr noundef @.str.109)
  %1007 = icmp eq i32 0, %1006
  br i1 %1007, label %1017, label %1008

1008:                                             ; preds = %1005
  %1009 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1010 = add nsw i32 %1009, 1
  store i32 %1010, ptr @__assert_failures, align 4, !tbaa !12
  %1011 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1012 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1011, ptr noundef @.str.7, ptr noundef @.str.110, ptr noundef @.str.9, i32 noundef 135) #6
  %1013 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1014 = icmp ne i32 %1013, 0
  br i1 %1014, label %1015, label %1016

1015:                                             ; preds = %1008
  call void @abort() #7
  unreachable

1016:                                             ; preds = %1008
  br label %1017

1017:                                             ; preds = %1016, %1005
  br label %1018

1018:                                             ; preds = %1017
  br label %1019

1019:                                             ; preds = %1018
  br label %1020

1020:                                             ; preds = %1019
  %1021 = call i32 @fs_exists(ptr noundef @.str.111)
  %1022 = icmp eq i32 0, %1021
  br i1 %1022, label %1032, label %1023

1023:                                             ; preds = %1020
  %1024 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1025 = add nsw i32 %1024, 1
  store i32 %1025, ptr @__assert_failures, align 4, !tbaa !12
  %1026 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1027 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1026, ptr noundef @.str.7, ptr noundef @.str.112, ptr noundef @.str.9, i32 noundef 136) #6
  %1028 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1029 = icmp ne i32 %1028, 0
  br i1 %1029, label %1030, label %1031

1030:                                             ; preds = %1023
  call void @abort() #7
  unreachable

1031:                                             ; preds = %1023
  br label %1032

1032:                                             ; preds = %1031, %1020
  br label %1033

1033:                                             ; preds = %1032
  br label %1034

1034:                                             ; preds = %1033
  br label %1035

1035:                                             ; preds = %1034
  %1036 = call i32 @fs_exists(ptr noundef @.str.113)
  %1037 = icmp eq i32 0, %1036
  br i1 %1037, label %1050, label %1038

1038:                                             ; preds = %1035
  %1039 = call i32 @fs_exists(ptr noundef @.str.114)
  %1040 = icmp eq i32 0, %1039
  br i1 %1040, label %1050, label %1041

1041:                                             ; preds = %1038
  %1042 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1043 = add nsw i32 %1042, 1
  store i32 %1043, ptr @__assert_failures, align 4, !tbaa !12
  %1044 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1045 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1044, ptr noundef @.str.7, ptr noundef @.str.115, ptr noundef @.str.9, i32 noundef 138) #6
  %1046 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1047 = icmp ne i32 %1046, 0
  br i1 %1047, label %1048, label %1049

1048:                                             ; preds = %1041
  call void @abort() #7
  unreachable

1049:                                             ; preds = %1041
  br label %1050

1050:                                             ; preds = %1049, %1038, %1035
  br label %1051

1051:                                             ; preds = %1050
  br label %1052

1052:                                             ; preds = %1051
  br label %1053

1053:                                             ; preds = %1052
  %1054 = call i32 @fs_exists(ptr noundef @.str.116)
  %1055 = icmp eq i32 0, %1054
  br i1 %1055, label %1065, label %1056

1056:                                             ; preds = %1053
  %1057 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1058 = add nsw i32 %1057, 1
  store i32 %1058, ptr @__assert_failures, align 4, !tbaa !12
  %1059 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1060 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1059, ptr noundef @.str.7, ptr noundef @.str.117, ptr noundef @.str.9, i32 noundef 140) #6
  %1061 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1062 = icmp ne i32 %1061, 0
  br i1 %1062, label %1063, label %1064

1063:                                             ; preds = %1056
  call void @abort() #7
  unreachable

1064:                                             ; preds = %1056
  br label %1065

1065:                                             ; preds = %1064, %1053
  br label %1066

1066:                                             ; preds = %1065
  br label %1067

1067:                                             ; preds = %1066
  br label %1068

1068:                                             ; preds = %1067
  %1069 = call i32 @fs_exists(ptr noundef @.str.118)
  %1070 = icmp eq i32 0, %1069
  br i1 %1070, label %1080, label %1071

1071:                                             ; preds = %1068
  %1072 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1073 = add nsw i32 %1072, 1
  store i32 %1073, ptr @__assert_failures, align 4, !tbaa !12
  %1074 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1075 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1074, ptr noundef @.str.7, ptr noundef @.str.119, ptr noundef @.str.9, i32 noundef 142) #6
  %1076 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1077 = icmp ne i32 %1076, 0
  br i1 %1077, label %1078, label %1079

1078:                                             ; preds = %1071
  call void @abort() #7
  unreachable

1079:                                             ; preds = %1071
  br label %1080

1080:                                             ; preds = %1079, %1068
  br label %1081

1081:                                             ; preds = %1080
  br label %1082

1082:                                             ; preds = %1081
  br label %1083

1083:                                             ; preds = %1082
  %1084 = call i32 @fs_exists(ptr noundef @.str.120)
  %1085 = icmp eq i32 0, %1084
  br i1 %1085, label %1095, label %1086

1086:                                             ; preds = %1083
  %1087 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1088 = add nsw i32 %1087, 1
  store i32 %1088, ptr @__assert_failures, align 4, !tbaa !12
  %1089 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1090 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1089, ptr noundef @.str.7, ptr noundef @.str.121, ptr noundef @.str.9, i32 noundef 144) #6
  %1091 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1092 = icmp ne i32 %1091, 0
  br i1 %1092, label %1093, label %1094

1093:                                             ; preds = %1086
  call void @abort() #7
  unreachable

1094:                                             ; preds = %1086
  br label %1095

1095:                                             ; preds = %1094, %1083
  br label %1096

1096:                                             ; preds = %1095
  br label %1097

1097:                                             ; preds = %1096
  br label %1098

1098:                                             ; preds = %1097
  %1099 = call i32 @fs_exists(ptr noundef @.str.122)
  %1100 = icmp eq i32 0, %1099
  br i1 %1100, label %1113, label %1101

1101:                                             ; preds = %1098
  %1102 = call i32 @fs_exists(ptr noundef @.str.123)
  %1103 = icmp eq i32 0, %1102
  br i1 %1103, label %1113, label %1104

1104:                                             ; preds = %1101
  %1105 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %1106 = add nsw i32 %1105, 1
  store i32 %1106, ptr @__assert_failures, align 4, !tbaa !12
  %1107 = load ptr, ptr @stderr, align 8, !tbaa !13
  %1108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1107, ptr noundef @.str.7, ptr noundef @.str.124, ptr noundef @.str.9, i32 noundef 146) #6
  %1109 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %1110 = icmp ne i32 %1109, 0
  br i1 %1110, label %1111, label %1112

1111:                                             ; preds = %1104
  call void @abort() #7
  unreachable

1112:                                             ; preds = %1104
  br label %1113

1113:                                             ; preds = %1112, %1101, %1098
  br label %1114

1114:                                             ; preds = %1113
  br label %1115

1115:                                             ; preds = %1114
  %1116 = load ptr, ptr %24, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %1116)
  %1117 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %1118

1118:                                             ; preds = %1115
  %1119 = load i32, ptr %22, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.125, i32 noundef %1119)
  br label %496, !llvm.loop !21

1120:                                             ; preds = %500
  br label %1121

1121:                                             ; preds = %1120
  %1122 = call i32 (ptr, ...) @printf(ptr noundef @.str.126)
  br label %35, !llvm.loop !22

1123:                                             ; preds = %44
  call void @curl_global_cleanup()
  call void (...) @clib_package_cleanup()
  %1124 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  ret i32 %1124
}

declare i32 @curl_global_init(i64 noundef) #1

declare void @clib_package_set_opts(ptr noundef byval(%struct.clib_package_opts_t) align 8) #1

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

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) #3

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

declare i32 @clib_package_install(ptr noundef, ptr noundef, i32 noundef) #1

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

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

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

declare ptr @clib_package_new_from_slug(ptr noundef, i32 noundef) #1

declare i32 @fs_exists(ptr noundef) #1

declare void @clib_package_free(ptr noundef) #1

declare void @curl_global_cleanup() #1

declare void @clib_package_cleanup(...) #1

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

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

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


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

%struct.clib_package_opts_t = type { i32, i32, i32, ptr, i32, ptr }

@__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 [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [75 x i8], align 1
@__assert_bail = external hidden local_unnamed_addr global i32, align 4
@.str.10 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [112 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.126 = 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 = alloca %struct.clib_package_opts_t, align 8
  %2 = tail call i32 @curl_global_init(i64 noundef 3) #5
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %3, i8 0, i64 32, i1 false)
  store i32 1, ptr %1, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 1, ptr %4, align 4, !tbaa !11
  tail call void @clib_package_set_opts(ptr noundef nonnull byval(%struct.clib_package_opts_t) align 8 %1) #5
  %5 = tail call i32 @clib_cache_init(i64 noundef 100) #5
  %6 = tail call ptr @clib_cache_dir() #5
  %7 = tail call i32 @rimraf(ptr noundef %6) #5
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.critedge, label %.critedge109

.critedge:                                        ; preds = %675, %0
  tail call void @curl_global_cleanup() #5
  tail call void (...) @clib_package_cleanup() #5
  %9 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  ret i32 %9

.critedge109:                                     ; preds = %0
  %10 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %11 = tail call i32 @clib_package_install(ptr noundef null, ptr noundef nonnull @.str.6, i32 noundef 0) #5
  %12 = icmp eq i32 %11, -1
  br i1 %12, label %.critedge111, label %13

13:                                               ; preds = %.critedge109
  %14 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @__assert_failures, align 4, !tbaa !12
  %16 = load ptr, ptr @stderr, align 8, !tbaa !13
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef 21) #6
  %18 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not107 = icmp eq i32 %18, 0
  br i1 %.not107, label %.critedge111, label %19

19:                                               ; preds = %13
  tail call void @abort() #7
  unreachable

.critedge111:                                     ; preds = %.critedge109, %13
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.10, i32 noundef %10)
  %20 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %21 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #5
  %.not102 = icmp eq ptr %21, null
  br i1 %.not102, label %22, label %29

22:                                               ; preds = %.critedge111
  %23 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @__assert_failures, align 4, !tbaa !12
  %25 = load ptr, ptr @stderr, align 8, !tbaa !13
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 27) #6
  %27 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not103 = icmp eq i32 %27, 0
  br i1 %.not103, label %29, label %28

28:                                               ; preds = %22
  tail call void @abort() #7
  unreachable

29:                                               ; preds = %.critedge111, %22
  %30 = tail call i32 @clib_package_install(ptr noundef %21, ptr noundef nonnull @.str.13, i32 noundef 0) #5
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %39, label %32

32:                                               ; preds = %29
  %33 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr @__assert_failures, align 4, !tbaa !12
  %35 = load ptr, ptr @stderr, align 8, !tbaa !13
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 28) #6
  %37 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not104 = icmp eq i32 %37, 0
  br i1 %.not104, label %39, label %38

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

39:                                               ; preds = %29, %32
  %40 = tail call i32 @fs_exists(ptr noundef nonnull @.str.13) #5
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %49, label %42

42:                                               ; preds = %39
  %43 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr @__assert_failures, align 4, !tbaa !12
  %45 = load ptr, ptr @stderr, align 8, !tbaa !13
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.9, i32 noundef 29) #6
  %47 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not105 = icmp eq i32 %47, 0
  br i1 %.not105, label %49, label %48

48:                                               ; preds = %42
  tail call void @abort() #7
  unreachable

49:                                               ; preds = %39, %42
  %50 = tail call i32 @fs_exists(ptr noundef nonnull @.str.16) #5
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %.critedge113, label %52

52:                                               ; preds = %49
  %53 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr @__assert_failures, align 4, !tbaa !12
  %55 = load ptr, ptr @stderr, align 8, !tbaa !13
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.9, i32 noundef 30) #6
  %57 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not106 = icmp eq i32 %57, 0
  br i1 %.not106, label %.critedge113, label %58

58:                                               ; preds = %52
  tail call void @abort() #7
  unreachable

.critedge113:                                     ; preds = %52, %49
  tail call void @clib_package_free(ptr noundef %21) #5
  %59 = tail call i32 @rimraf(ptr noundef nonnull @.str.13) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.18, i32 noundef %20)
  %60 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %61 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #5
  %.not98 = icmp eq ptr %61, null
  br i1 %.not98, label %62, label %69

62:                                               ; preds = %.critedge113
  %63 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr @__assert_failures, align 4, !tbaa !12
  %65 = load ptr, ptr @stderr, align 8, !tbaa !13
  %66 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 38) #6
  %67 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not99 = icmp eq i32 %67, 0
  br i1 %.not99, label %69, label %68

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

69:                                               ; preds = %.critedge113, %62
  %70 = tail call i32 @clib_package_install(ptr noundef %61, ptr noundef nonnull @.str.13, i32 noundef 1) #5
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %79, label %72

72:                                               ; preds = %69
  %73 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr @__assert_failures, align 4, !tbaa !12
  %75 = load ptr, ptr @stderr, align 8, !tbaa !13
  %76 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.9, i32 noundef 39) #6
  %77 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not100 = icmp eq i32 %77, 0
  br i1 %.not100, label %79, label %78

78:                                               ; preds = %72
  tail call void @abort() #7
  unreachable

79:                                               ; preds = %69, %72
  %80 = tail call i32 @fs_exists(ptr noundef nonnull @.str.20) #5
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %.critedge115, label %82

82:                                               ; preds = %79
  %83 = tail call i32 @fs_exists(ptr noundef nonnull @.str.21) #5
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %.critedge115, label %85

85:                                               ; preds = %82
  %86 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr @__assert_failures, align 4, !tbaa !12
  %88 = load ptr, ptr @stderr, align 8, !tbaa !13
  %89 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.9, i32 noundef 41) #6
  %90 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not101 = icmp eq i32 %90, 0
  br i1 %.not101, label %.critedge115, label %91

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

.critedge115:                                     ; preds = %85, %82, %79
  tail call void @clib_package_free(ptr noundef %61) #5
  %92 = tail call i32 @rimraf(ptr noundef nonnull @.str.13) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.23, i32 noundef %60)
  %93 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %94 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #5
  %.not93 = icmp eq ptr %94, null
  br i1 %.not93, label %95, label %102

95:                                               ; preds = %.critedge115
  %96 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr @__assert_failures, align 4, !tbaa !12
  %98 = load ptr, ptr @stderr, align 8, !tbaa !13
  %99 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 49) #6
  %100 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not94 = icmp eq i32 %100, 0
  br i1 %.not94, label %102, label %101

101:                                              ; preds = %95
  tail call void @abort() #7
  unreachable

102:                                              ; preds = %.critedge115, %95
  %103 = tail call i32 @clib_package_install(ptr noundef %94, ptr noundef nonnull @.str.13, i32 noundef 0) #5
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %112, label %105

105:                                              ; preds = %102
  %106 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr @__assert_failures, align 4, !tbaa !12
  %108 = load ptr, ptr @stderr, align 8, !tbaa !13
  %109 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 50) #6
  %110 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not95 = icmp eq i32 %110, 0
  br i1 %.not95, label %112, label %111

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

112:                                              ; preds = %102, %105
  %113 = tail call i32 @fs_exists(ptr noundef nonnull @.str.24) #5
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %122, label %115

115:                                              ; preds = %112
  %116 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr @__assert_failures, align 4, !tbaa !12
  %118 = load ptr, ptr @stderr, align 8, !tbaa !13
  %119 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.9, i32 noundef 51) #6
  %120 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not96 = icmp eq i32 %120, 0
  br i1 %.not96, label %122, label %121

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

122:                                              ; preds = %112, %115
  %123 = tail call i32 @fs_exists(ptr noundef nonnull @.str.26) #5
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %.critedge117, label %125

125:                                              ; preds = %122
  %126 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr @__assert_failures, align 4, !tbaa !12
  %128 = load ptr, ptr @stderr, align 8, !tbaa !13
  %129 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.9, i32 noundef 52) #6
  %130 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not97 = icmp eq i32 %130, 0
  br i1 %.not97, label %.critedge117, label %131

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

.critedge117:                                     ; preds = %125, %122
  tail call void @clib_package_free(ptr noundef %94) #5
  %132 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.29, i32 noundef %93)
  %133 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %134 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.30, i32 noundef 0) #5
  %.not86 = icmp eq ptr %134, null
  br i1 %.not86, label %135, label %142

135:                                              ; preds = %.critedge117
  %136 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr @__assert_failures, align 4, !tbaa !12
  %138 = load ptr, ptr @stderr, align 8, !tbaa !13
  %139 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 60) #6
  %140 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not87 = icmp eq i32 %140, 0
  br i1 %.not87, label %142, label %141

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

142:                                              ; preds = %.critedge117, %135
  %143 = tail call i32 @clib_package_install(ptr noundef %134, ptr noundef nonnull @.str.13, i32 noundef 0) #5
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %152, label %145

145:                                              ; preds = %142
  %146 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr @__assert_failures, align 4, !tbaa !12
  %148 = load ptr, ptr @stderr, align 8, !tbaa !13
  %149 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %148, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 61) #6
  %150 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not88 = icmp eq i32 %150, 0
  br i1 %.not88, label %152, label %151

151:                                              ; preds = %145
  tail call void @abort() #7
  unreachable

152:                                              ; preds = %142, %145
  %153 = tail call i32 @fs_exists(ptr noundef nonnull @.str.31) #5
  %154 = icmp eq i32 %153, 0
  br i1 %154, label %162, label %155

155:                                              ; preds = %152
  %156 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr @__assert_failures, align 4, !tbaa !12
  %158 = load ptr, ptr @stderr, align 8, !tbaa !13
  %159 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.9, i32 noundef 62) #6
  %160 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not89 = icmp eq i32 %160, 0
  br i1 %.not89, label %162, label %161

161:                                              ; preds = %155
  tail call void @abort() #7
  unreachable

162:                                              ; preds = %152, %155
  %163 = tail call i32 @fs_exists(ptr noundef nonnull @.str.33) #5
  %164 = icmp eq i32 %163, 0
  br i1 %164, label %172, label %165

165:                                              ; preds = %162
  %166 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr @__assert_failures, align 4, !tbaa !12
  %168 = load ptr, ptr @stderr, align 8, !tbaa !13
  %169 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.9, i32 noundef 63) #6
  %170 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not90 = icmp eq i32 %170, 0
  br i1 %.not90, label %172, label %171

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

172:                                              ; preds = %162, %165
  %173 = tail call i32 @fs_exists(ptr noundef nonnull @.str.35) #5
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %182, label %175

175:                                              ; preds = %172
  %176 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr @__assert_failures, align 4, !tbaa !12
  %178 = load ptr, ptr @stderr, align 8, !tbaa !13
  %179 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.9, i32 noundef 64) #6
  %180 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not91 = icmp eq i32 %180, 0
  br i1 %.not91, label %182, label %181

181:                                              ; preds = %175
  tail call void @abort() #7
  unreachable

182:                                              ; preds = %172, %175
  %183 = tail call i32 @fs_exists(ptr noundef nonnull @.str.37) #5
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %.critedge119, label %185

185:                                              ; preds = %182
  %186 = tail call i32 @fs_exists(ptr noundef nonnull @.str.38) #5
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %.critedge119, label %188

188:                                              ; preds = %185
  %189 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr @__assert_failures, align 4, !tbaa !12
  %191 = load ptr, ptr @stderr, align 8, !tbaa !13
  %192 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.9, i32 noundef 66) #6
  %193 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not92 = icmp eq i32 %193, 0
  br i1 %.not92, label %.critedge119, label %194

194:                                              ; preds = %188
  tail call void @abort() #7
  unreachable

.critedge119:                                     ; preds = %188, %185, %182
  tail call void @clib_package_free(ptr noundef %134) #5
  %195 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.40, i32 noundef %133)
  %196 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %197 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.41, i32 noundef 0) #5
  %.not79 = icmp eq ptr %197, null
  br i1 %.not79, label %198, label %205

198:                                              ; preds = %.critedge119
  %199 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr @__assert_failures, align 4, !tbaa !12
  %201 = load ptr, ptr @stderr, align 8, !tbaa !13
  %202 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 74) #6
  %203 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not80 = icmp eq i32 %203, 0
  br i1 %.not80, label %205, label %204

204:                                              ; preds = %198
  tail call void @abort() #7
  unreachable

205:                                              ; preds = %.critedge119, %198
  %206 = tail call i32 @clib_package_install(ptr noundef %197, ptr noundef nonnull @.str.13, i32 noundef 0) #5
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %215, label %208

208:                                              ; preds = %205
  %209 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr @__assert_failures, align 4, !tbaa !12
  %211 = load ptr, ptr @stderr, align 8, !tbaa !13
  %212 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 75) #6
  %213 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not81 = icmp eq i32 %213, 0
  br i1 %.not81, label %215, label %214

214:                                              ; preds = %208
  tail call void @abort() #7
  unreachable

215:                                              ; preds = %205, %208
  %216 = tail call i32 @fs_exists(ptr noundef nonnull @.str.42) #5
  %217 = icmp eq i32 %216, -1
  br i1 %217, label %225, label %218

218:                                              ; preds = %215
  %219 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr @__assert_failures, align 4, !tbaa !12
  %221 = load ptr, ptr @stderr, align 8, !tbaa !13
  %222 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.9, i32 noundef 76) #6
  %223 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not82 = icmp eq i32 %223, 0
  br i1 %.not82, label %225, label %224

224:                                              ; preds = %218
  tail call void @abort() #7
  unreachable

225:                                              ; preds = %215, %218
  %226 = tail call i32 @fs_exists(ptr noundef nonnull @.str.44) #5
  %227 = icmp eq i32 %226, -1
  br i1 %227, label %235, label %228

228:                                              ; preds = %225
  %229 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr @__assert_failures, align 4, !tbaa !12
  %231 = load ptr, ptr @stderr, align 8, !tbaa !13
  %232 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.9, i32 noundef 77) #6
  %233 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not83 = icmp eq i32 %233, 0
  br i1 %.not83, label %235, label %234

234:                                              ; preds = %228
  tail call void @abort() #7
  unreachable

235:                                              ; preds = %225, %228
  %236 = tail call i32 @fs_exists(ptr noundef nonnull @.str.46) #5
  %237 = icmp eq i32 %236, -1
  br i1 %237, label %245, label %238

238:                                              ; preds = %235
  %239 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr @__assert_failures, align 4, !tbaa !12
  %241 = load ptr, ptr @stderr, align 8, !tbaa !13
  %242 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.9, i32 noundef 78) #6
  %243 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not84 = icmp eq i32 %243, 0
  br i1 %.not84, label %245, label %244

244:                                              ; preds = %238
  tail call void @abort() #7
  unreachable

245:                                              ; preds = %235, %238
  %246 = tail call i32 @fs_exists(ptr noundef nonnull @.str.48) #5
  %247 = icmp eq i32 %246, -1
  br i1 %247, label %248, label %251

248:                                              ; preds = %245
  %249 = tail call i32 @fs_exists(ptr noundef nonnull @.str.49) #5
  %250 = icmp eq i32 %249, -1
  br i1 %250, label %.critedge121, label %251

251:                                              ; preds = %248, %245
  %252 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr @__assert_failures, align 4, !tbaa !12
  %254 = load ptr, ptr @stderr, align 8, !tbaa !13
  %255 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %254, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.9, i32 noundef 80) #6
  %256 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not85 = icmp eq i32 %256, 0
  br i1 %.not85, label %.critedge121, label %257

257:                                              ; preds = %251
  tail call void @abort() #7
  unreachable

.critedge121:                                     ; preds = %251, %248
  tail call void @clib_package_free(ptr noundef %197) #5
  %258 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.51, i32 noundef %196)
  %259 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %260 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.52, i32 noundef 0) #5
  %.not39 = icmp eq ptr %260, null
  br i1 %.not39, label %261, label %268

261:                                              ; preds = %.critedge121
  %262 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr @__assert_failures, align 4, !tbaa !12
  %264 = load ptr, ptr @stderr, align 8, !tbaa !13
  %265 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %264, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 88) #6
  %266 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not40 = icmp eq i32 %266, 0
  br i1 %.not40, label %268, label %267

267:                                              ; preds = %261
  tail call void @abort() #7
  unreachable

268:                                              ; preds = %.critedge121, %261
  %269 = tail call i32 @clib_package_install(ptr noundef %260, ptr noundef nonnull @.str.13, i32 noundef 0) #5
  %270 = icmp eq i32 %269, 0
  br i1 %270, label %278, label %271

271:                                              ; preds = %268
  %272 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr @__assert_failures, align 4, !tbaa !12
  %274 = load ptr, ptr @stderr, align 8, !tbaa !13
  %275 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %274, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.9, i32 noundef 89) #6
  %276 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not41 = icmp eq i32 %276, 0
  br i1 %.not41, label %278, label %277

277:                                              ; preds = %271
  tail call void @abort() #7
  unreachable

278:                                              ; preds = %268, %271
  %279 = tail call i32 @fs_exists(ptr noundef nonnull @.str.13) #5
  %280 = icmp eq i32 %279, 0
  br i1 %280, label %288, label %281

281:                                              ; preds = %278
  %282 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr @__assert_failures, align 4, !tbaa !12
  %284 = load ptr, ptr @stderr, align 8, !tbaa !13
  %285 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.9, i32 noundef 90) #6
  %286 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not42 = icmp eq i32 %286, 0
  br i1 %.not42, label %288, label %287

287:                                              ; preds = %281
  tail call void @abort() #7
  unreachable

288:                                              ; preds = %278, %281
  %289 = tail call i32 @fs_exists(ptr noundef nonnull @.str.53) #5
  %290 = icmp eq i32 %289, 0
  br i1 %290, label %298, label %291

291:                                              ; preds = %288
  %292 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %293 = add nsw i32 %292, 1
  store i32 %293, ptr @__assert_failures, align 4, !tbaa !12
  %294 = load ptr, ptr @stderr, align 8, !tbaa !13
  %295 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.9, i32 noundef 92) #6
  %296 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not43 = icmp eq i32 %296, 0
  br i1 %.not43, label %298, label %297

297:                                              ; preds = %291
  tail call void @abort() #7
  unreachable

298:                                              ; preds = %288, %291
  %299 = tail call i32 @fs_exists(ptr noundef nonnull @.str.55) #5
  %300 = icmp eq i32 %299, 0
  br i1 %300, label %308, label %301

301:                                              ; preds = %298
  %302 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr @__assert_failures, align 4, !tbaa !12
  %304 = load ptr, ptr @stderr, align 8, !tbaa !13
  %305 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %304, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.9, i32 noundef 93) #6
  %306 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not44 = icmp eq i32 %306, 0
  br i1 %.not44, label %308, label %307

307:                                              ; preds = %301
  tail call void @abort() #7
  unreachable

308:                                              ; preds = %298, %301
  %309 = tail call i32 @fs_exists(ptr noundef nonnull @.str.57) #5
  %310 = icmp eq i32 %309, 0
  br i1 %310, label %318, label %311

311:                                              ; preds = %308
  %312 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr @__assert_failures, align 4, !tbaa !12
  %314 = load ptr, ptr @stderr, align 8, !tbaa !13
  %315 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %314, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.9, i32 noundef 94) #6
  %316 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not45 = icmp eq i32 %316, 0
  br i1 %.not45, label %318, label %317

317:                                              ; preds = %311
  tail call void @abort() #7
  unreachable

318:                                              ; preds = %308, %311
  %319 = tail call i32 @fs_exists(ptr noundef nonnull @.str.59) #5
  %320 = icmp eq i32 %319, 0
  br i1 %320, label %331, label %321

321:                                              ; preds = %318
  %322 = tail call i32 @fs_exists(ptr noundef nonnull @.str.60) #5
  %323 = icmp eq i32 %322, 0
  br i1 %323, label %331, label %324

324:                                              ; preds = %321
  %325 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %326 = add nsw i32 %325, 1
  store i32 %326, ptr @__assert_failures, align 4, !tbaa !12
  %327 = load ptr, ptr @stderr, align 8, !tbaa !13
  %328 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.9, i32 noundef 96) #6
  %329 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not46 = icmp eq i32 %329, 0
  br i1 %.not46, label %331, label %330

330:                                              ; preds = %324
  tail call void @abort() #7
  unreachable

331:                                              ; preds = %318, %321, %324
  %332 = tail call i32 @fs_exists(ptr noundef nonnull @.str.62) #5
  %333 = icmp eq i32 %332, 0
  br i1 %333, label %341, label %334

334:                                              ; preds = %331
  %335 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr @__assert_failures, align 4, !tbaa !12
  %337 = load ptr, ptr @stderr, align 8, !tbaa !13
  %338 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.9, i32 noundef 98) #6
  %339 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not47 = icmp eq i32 %339, 0
  br i1 %.not47, label %341, label %340

340:                                              ; preds = %334
  tail call void @abort() #7
  unreachable

341:                                              ; preds = %331, %334
  %342 = tail call i32 @fs_exists(ptr noundef nonnull @.str.64) #5
  %343 = icmp eq i32 %342, 0
  br i1 %343, label %351, label %344

344:                                              ; preds = %341
  %345 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr @__assert_failures, align 4, !tbaa !12
  %347 = load ptr, ptr @stderr, align 8, !tbaa !13
  %348 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %347, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.65, ptr noundef nonnull @.str.9, i32 noundef 99) #6
  %349 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not48 = icmp eq i32 %349, 0
  br i1 %.not48, label %351, label %350

350:                                              ; preds = %344
  tail call void @abort() #7
  unreachable

351:                                              ; preds = %341, %344
  %352 = tail call i32 @fs_exists(ptr noundef nonnull @.str.66) #5
  %353 = icmp eq i32 %352, 0
  br i1 %353, label %361, label %354

354:                                              ; preds = %351
  %355 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr @__assert_failures, align 4, !tbaa !12
  %357 = load ptr, ptr @stderr, align 8, !tbaa !13
  %358 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.67, ptr noundef nonnull @.str.9, i32 noundef 100) #6
  %359 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not49 = icmp eq i32 %359, 0
  br i1 %.not49, label %361, label %360

360:                                              ; preds = %354
  tail call void @abort() #7
  unreachable

361:                                              ; preds = %351, %354
  %362 = tail call i32 @fs_exists(ptr noundef nonnull @.str.68) #5
  %363 = icmp eq i32 %362, 0
  br i1 %363, label %374, label %364

364:                                              ; preds = %361
  %365 = tail call i32 @fs_exists(ptr noundef nonnull @.str.69) #5
  %366 = icmp eq i32 %365, 0
  br i1 %366, label %374, label %367

367:                                              ; preds = %364
  %368 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %369 = add nsw i32 %368, 1
  store i32 %369, ptr @__assert_failures, align 4, !tbaa !12
  %370 = load ptr, ptr @stderr, align 8, !tbaa !13
  %371 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %370, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.9, i32 noundef 102) #6
  %372 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not50 = icmp eq i32 %372, 0
  br i1 %.not50, label %374, label %373

373:                                              ; preds = %367
  tail call void @abort() #7
  unreachable

374:                                              ; preds = %361, %364, %367
  %375 = tail call i32 @fs_exists(ptr noundef nonnull @.str.71) #5
  %376 = icmp eq i32 %375, 0
  br i1 %376, label %384, label %377

377:                                              ; preds = %374
  %378 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %379 = add nsw i32 %378, 1
  store i32 %379, ptr @__assert_failures, align 4, !tbaa !12
  %380 = load ptr, ptr @stderr, align 8, !tbaa !13
  %381 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %380, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.72, ptr noundef nonnull @.str.9, i32 noundef 104) #6
  %382 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not51 = icmp eq i32 %382, 0
  br i1 %.not51, label %384, label %383

383:                                              ; preds = %377
  tail call void @abort() #7
  unreachable

384:                                              ; preds = %374, %377
  %385 = tail call i32 @fs_exists(ptr noundef nonnull @.str.73) #5
  %386 = icmp eq i32 %385, 0
  br i1 %386, label %394, label %387

387:                                              ; preds = %384
  %388 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr @__assert_failures, align 4, !tbaa !12
  %390 = load ptr, ptr @stderr, align 8, !tbaa !13
  %391 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %390, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.74, ptr noundef nonnull @.str.9, i32 noundef 105) #6
  %392 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not52 = icmp eq i32 %392, 0
  br i1 %.not52, label %394, label %393

393:                                              ; preds = %387
  tail call void @abort() #7
  unreachable

394:                                              ; preds = %384, %387
  %395 = tail call i32 @fs_exists(ptr noundef nonnull @.str.75) #5
  %396 = icmp eq i32 %395, 0
  br i1 %396, label %404, label %397

397:                                              ; preds = %394
  %398 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %399 = add nsw i32 %398, 1
  store i32 %399, ptr @__assert_failures, align 4, !tbaa !12
  %400 = load ptr, ptr @stderr, align 8, !tbaa !13
  %401 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %400, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.76, ptr noundef nonnull @.str.9, i32 noundef 106) #6
  %402 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not53 = icmp eq i32 %402, 0
  br i1 %.not53, label %404, label %403

403:                                              ; preds = %397
  tail call void @abort() #7
  unreachable

404:                                              ; preds = %394, %397
  %405 = tail call i32 @fs_exists(ptr noundef nonnull @.str.77) #5
  %406 = icmp eq i32 %405, 0
  br i1 %406, label %417, label %407

407:                                              ; preds = %404
  %408 = tail call i32 @fs_exists(ptr noundef nonnull @.str.78) #5
  %409 = icmp eq i32 %408, 0
  br i1 %409, label %417, label %410

410:                                              ; preds = %407
  %411 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %412 = add nsw i32 %411, 1
  store i32 %412, ptr @__assert_failures, align 4, !tbaa !12
  %413 = load ptr, ptr @stderr, align 8, !tbaa !13
  %414 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %413, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.9, i32 noundef 108) #6
  %415 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not54 = icmp eq i32 %415, 0
  br i1 %.not54, label %417, label %416

416:                                              ; preds = %410
  tail call void @abort() #7
  unreachable

417:                                              ; preds = %404, %407, %410
  %418 = tail call i32 @fs_exists(ptr noundef nonnull @.str.80) #5
  %419 = icmp eq i32 %418, 0
  br i1 %419, label %427, label %420

420:                                              ; preds = %417
  %421 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %422 = add nsw i32 %421, 1
  store i32 %422, ptr @__assert_failures, align 4, !tbaa !12
  %423 = load ptr, ptr @stderr, align 8, !tbaa !13
  %424 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %423, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.9, i32 noundef 110) #6
  %425 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not55 = icmp eq i32 %425, 0
  br i1 %.not55, label %427, label %426

426:                                              ; preds = %420
  tail call void @abort() #7
  unreachable

427:                                              ; preds = %417, %420
  %428 = tail call i32 @fs_exists(ptr noundef nonnull @.str.82) #5
  %429 = icmp eq i32 %428, 0
  br i1 %429, label %437, label %430

430:                                              ; preds = %427
  %431 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %432 = add nsw i32 %431, 1
  store i32 %432, ptr @__assert_failures, align 4, !tbaa !12
  %433 = load ptr, ptr @stderr, align 8, !tbaa !13
  %434 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.9, i32 noundef 111) #6
  %435 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not56 = icmp eq i32 %435, 0
  br i1 %.not56, label %437, label %436

436:                                              ; preds = %430
  tail call void @abort() #7
  unreachable

437:                                              ; preds = %427, %430
  %438 = tail call i32 @fs_exists(ptr noundef nonnull @.str.84) #5
  %439 = icmp eq i32 %438, 0
  br i1 %439, label %447, label %440

440:                                              ; preds = %437
  %441 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %442 = add nsw i32 %441, 1
  store i32 %442, ptr @__assert_failures, align 4, !tbaa !12
  %443 = load ptr, ptr @stderr, align 8, !tbaa !13
  %444 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.9, i32 noundef 112) #6
  %445 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not57 = icmp eq i32 %445, 0
  br i1 %.not57, label %447, label %446

446:                                              ; preds = %440
  tail call void @abort() #7
  unreachable

447:                                              ; preds = %437, %440
  %448 = tail call i32 @fs_exists(ptr noundef nonnull @.str.86) #5
  %449 = icmp eq i32 %448, 0
  br i1 %449, label %460, label %450

450:                                              ; preds = %447
  %451 = tail call i32 @fs_exists(ptr noundef nonnull @.str.87) #5
  %452 = icmp eq i32 %451, 0
  br i1 %452, label %460, label %453

453:                                              ; preds = %450
  %454 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %455 = add nsw i32 %454, 1
  store i32 %455, ptr @__assert_failures, align 4, !tbaa !12
  %456 = load ptr, ptr @stderr, align 8, !tbaa !13
  %457 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %456, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.9, i32 noundef 114) #6
  %458 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not58 = icmp eq i32 %458, 0
  br i1 %.not58, label %460, label %459

459:                                              ; preds = %453
  tail call void @abort() #7
  unreachable

460:                                              ; preds = %447, %450, %453
  %461 = tail call i32 @fs_exists(ptr noundef nonnull @.str.89) #5
  %462 = icmp eq i32 %461, 0
  br i1 %462, label %470, label %463

463:                                              ; preds = %460
  %464 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %465 = add nsw i32 %464, 1
  store i32 %465, ptr @__assert_failures, align 4, !tbaa !12
  %466 = load ptr, ptr @stderr, align 8, !tbaa !13
  %467 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %466, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.90, ptr noundef nonnull @.str.9, i32 noundef 116) #6
  %468 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not59 = icmp eq i32 %468, 0
  br i1 %.not59, label %470, label %469

469:                                              ; preds = %463
  tail call void @abort() #7
  unreachable

470:                                              ; preds = %460, %463
  %471 = tail call i32 @fs_exists(ptr noundef nonnull @.str.91) #5
  %472 = icmp eq i32 %471, 0
  br i1 %472, label %480, label %473

473:                                              ; preds = %470
  %474 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr @__assert_failures, align 4, !tbaa !12
  %476 = load ptr, ptr @stderr, align 8, !tbaa !13
  %477 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %476, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.92, ptr noundef nonnull @.str.9, i32 noundef 117) #6
  %478 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not60 = icmp eq i32 %478, 0
  br i1 %.not60, label %480, label %479

479:                                              ; preds = %473
  tail call void @abort() #7
  unreachable

480:                                              ; preds = %470, %473
  %481 = tail call i32 @fs_exists(ptr noundef nonnull @.str.93) #5
  %482 = icmp eq i32 %481, 0
  br i1 %482, label %490, label %483

483:                                              ; preds = %480
  %484 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr @__assert_failures, align 4, !tbaa !12
  %486 = load ptr, ptr @stderr, align 8, !tbaa !13
  %487 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %486, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.94, ptr noundef nonnull @.str.9, i32 noundef 118) #6
  %488 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not61 = icmp eq i32 %488, 0
  br i1 %.not61, label %490, label %489

489:                                              ; preds = %483
  tail call void @abort() #7
  unreachable

490:                                              ; preds = %480, %483
  %491 = tail call i32 @fs_exists(ptr noundef nonnull @.str.95) #5
  %492 = icmp eq i32 %491, 0
  br i1 %492, label %503, label %493

493:                                              ; preds = %490
  %494 = tail call i32 @fs_exists(ptr noundef nonnull @.str.96) #5
  %495 = icmp eq i32 %494, 0
  br i1 %495, label %503, label %496

496:                                              ; preds = %493
  %497 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %498 = add nsw i32 %497, 1
  store i32 %498, ptr @__assert_failures, align 4, !tbaa !12
  %499 = load ptr, ptr @stderr, align 8, !tbaa !13
  %500 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %499, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.97, ptr noundef nonnull @.str.9, i32 noundef 120) #6
  %501 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not62 = icmp eq i32 %501, 0
  br i1 %.not62, label %503, label %502

502:                                              ; preds = %496
  tail call void @abort() #7
  unreachable

503:                                              ; preds = %490, %493, %496
  %504 = tail call i32 @fs_exists(ptr noundef nonnull @.str.98) #5
  %505 = icmp eq i32 %504, 0
  br i1 %505, label %513, label %506

506:                                              ; preds = %503
  %507 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %508 = add nsw i32 %507, 1
  store i32 %508, ptr @__assert_failures, align 4, !tbaa !12
  %509 = load ptr, ptr @stderr, align 8, !tbaa !13
  %510 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %509, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.99, ptr noundef nonnull @.str.9, i32 noundef 122) #6
  %511 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not63 = icmp eq i32 %511, 0
  br i1 %.not63, label %513, label %512

512:                                              ; preds = %506
  tail call void @abort() #7
  unreachable

513:                                              ; preds = %503, %506
  %514 = tail call i32 @fs_exists(ptr noundef nonnull @.str.100) #5
  %515 = icmp eq i32 %514, 0
  br i1 %515, label %523, label %516

516:                                              ; preds = %513
  %517 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %518 = add nsw i32 %517, 1
  store i32 %518, ptr @__assert_failures, align 4, !tbaa !12
  %519 = load ptr, ptr @stderr, align 8, !tbaa !13
  %520 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %519, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.9, i32 noundef 123) #6
  %521 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not64 = icmp eq i32 %521, 0
  br i1 %.not64, label %523, label %522

522:                                              ; preds = %516
  tail call void @abort() #7
  unreachable

523:                                              ; preds = %513, %516
  %524 = tail call i32 @fs_exists(ptr noundef nonnull @.str.102) #5
  %525 = icmp eq i32 %524, 0
  br i1 %525, label %533, label %526

526:                                              ; preds = %523
  %527 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %528 = add nsw i32 %527, 1
  store i32 %528, ptr @__assert_failures, align 4, !tbaa !12
  %529 = load ptr, ptr @stderr, align 8, !tbaa !13
  %530 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %529, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.103, ptr noundef nonnull @.str.9, i32 noundef 124) #6
  %531 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not65 = icmp eq i32 %531, 0
  br i1 %.not65, label %533, label %532

532:                                              ; preds = %526
  tail call void @abort() #7
  unreachable

533:                                              ; preds = %523, %526
  %534 = tail call i32 @fs_exists(ptr noundef nonnull @.str.104) #5
  %535 = icmp eq i32 %534, 0
  br i1 %535, label %546, label %536

536:                                              ; preds = %533
  %537 = tail call i32 @fs_exists(ptr noundef nonnull @.str.105) #5
  %538 = icmp eq i32 %537, 0
  br i1 %538, label %546, label %539

539:                                              ; preds = %536
  %540 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %541 = add nsw i32 %540, 1
  store i32 %541, ptr @__assert_failures, align 4, !tbaa !12
  %542 = load ptr, ptr @stderr, align 8, !tbaa !13
  %543 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %542, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.106, ptr noundef nonnull @.str.9, i32 noundef 126) #6
  %544 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not66 = icmp eq i32 %544, 0
  br i1 %.not66, label %546, label %545

545:                                              ; preds = %539
  tail call void @abort() #7
  unreachable

546:                                              ; preds = %533, %536, %539
  %547 = tail call i32 @fs_exists(ptr noundef nonnull @.str.31) #5
  %548 = icmp eq i32 %547, 0
  br i1 %548, label %556, label %549

549:                                              ; preds = %546
  %550 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %551 = add nsw i32 %550, 1
  store i32 %551, ptr @__assert_failures, align 4, !tbaa !12
  %552 = load ptr, ptr @stderr, align 8, !tbaa !13
  %553 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %552, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.9, i32 noundef 128) #6
  %554 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not67 = icmp eq i32 %554, 0
  br i1 %.not67, label %556, label %555

555:                                              ; preds = %549
  tail call void @abort() #7
  unreachable

556:                                              ; preds = %546, %549
  %557 = tail call i32 @fs_exists(ptr noundef nonnull @.str.33) #5
  %558 = icmp eq i32 %557, 0
  br i1 %558, label %566, label %559

559:                                              ; preds = %556
  %560 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %561 = add nsw i32 %560, 1
  store i32 %561, ptr @__assert_failures, align 4, !tbaa !12
  %562 = load ptr, ptr @stderr, align 8, !tbaa !13
  %563 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %562, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.9, i32 noundef 129) #6
  %564 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not68 = icmp eq i32 %564, 0
  br i1 %.not68, label %566, label %565

565:                                              ; preds = %559
  tail call void @abort() #7
  unreachable

566:                                              ; preds = %556, %559
  %567 = tail call i32 @fs_exists(ptr noundef nonnull @.str.35) #5
  %568 = icmp eq i32 %567, 0
  br i1 %568, label %576, label %569

569:                                              ; preds = %566
  %570 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %571 = add nsw i32 %570, 1
  store i32 %571, ptr @__assert_failures, align 4, !tbaa !12
  %572 = load ptr, ptr @stderr, align 8, !tbaa !13
  %573 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %572, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.9, i32 noundef 130) #6
  %574 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not69 = icmp eq i32 %574, 0
  br i1 %.not69, label %576, label %575

575:                                              ; preds = %569
  tail call void @abort() #7
  unreachable

576:                                              ; preds = %566, %569
  %577 = tail call i32 @fs_exists(ptr noundef nonnull @.str.37) #5
  %578 = icmp eq i32 %577, 0
  br i1 %578, label %589, label %579

579:                                              ; preds = %576
  %580 = tail call i32 @fs_exists(ptr noundef nonnull @.str.38) #5
  %581 = icmp eq i32 %580, 0
  br i1 %581, label %589, label %582

582:                                              ; preds = %579
  %583 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %584 = add nsw i32 %583, 1
  store i32 %584, ptr @__assert_failures, align 4, !tbaa !12
  %585 = load ptr, ptr @stderr, align 8, !tbaa !13
  %586 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %585, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.9, i32 noundef 132) #6
  %587 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not70 = icmp eq i32 %587, 0
  br i1 %.not70, label %589, label %588

588:                                              ; preds = %582
  tail call void @abort() #7
  unreachable

589:                                              ; preds = %576, %579, %582
  %590 = tail call i32 @fs_exists(ptr noundef nonnull @.str.107) #5
  %591 = icmp eq i32 %590, 0
  br i1 %591, label %599, label %592

592:                                              ; preds = %589
  %593 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %594 = add nsw i32 %593, 1
  store i32 %594, ptr @__assert_failures, align 4, !tbaa !12
  %595 = load ptr, ptr @stderr, align 8, !tbaa !13
  %596 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %595, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.9, i32 noundef 134) #6
  %597 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not71 = icmp eq i32 %597, 0
  br i1 %.not71, label %599, label %598

598:                                              ; preds = %592
  tail call void @abort() #7
  unreachable

599:                                              ; preds = %589, %592
  %600 = tail call i32 @fs_exists(ptr noundef nonnull @.str.109) #5
  %601 = icmp eq i32 %600, 0
  br i1 %601, label %609, label %602

602:                                              ; preds = %599
  %603 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %604 = add nsw i32 %603, 1
  store i32 %604, ptr @__assert_failures, align 4, !tbaa !12
  %605 = load ptr, ptr @stderr, align 8, !tbaa !13
  %606 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %605, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.110, ptr noundef nonnull @.str.9, i32 noundef 135) #6
  %607 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not72 = icmp eq i32 %607, 0
  br i1 %.not72, label %609, label %608

608:                                              ; preds = %602
  tail call void @abort() #7
  unreachable

609:                                              ; preds = %599, %602
  %610 = tail call i32 @fs_exists(ptr noundef nonnull @.str.111) #5
  %611 = icmp eq i32 %610, 0
  br i1 %611, label %619, label %612

612:                                              ; preds = %609
  %613 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %614 = add nsw i32 %613, 1
  store i32 %614, ptr @__assert_failures, align 4, !tbaa !12
  %615 = load ptr, ptr @stderr, align 8, !tbaa !13
  %616 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %615, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.112, ptr noundef nonnull @.str.9, i32 noundef 136) #6
  %617 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not73 = icmp eq i32 %617, 0
  br i1 %.not73, label %619, label %618

618:                                              ; preds = %612
  tail call void @abort() #7
  unreachable

619:                                              ; preds = %609, %612
  %620 = tail call i32 @fs_exists(ptr noundef nonnull @.str.113) #5
  %621 = icmp eq i32 %620, 0
  br i1 %621, label %632, label %622

622:                                              ; preds = %619
  %623 = tail call i32 @fs_exists(ptr noundef nonnull @.str.114) #5
  %624 = icmp eq i32 %623, 0
  br i1 %624, label %632, label %625

625:                                              ; preds = %622
  %626 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %627 = add nsw i32 %626, 1
  store i32 %627, ptr @__assert_failures, align 4, !tbaa !12
  %628 = load ptr, ptr @stderr, align 8, !tbaa !13
  %629 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %628, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.115, ptr noundef nonnull @.str.9, i32 noundef 138) #6
  %630 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not74 = icmp eq i32 %630, 0
  br i1 %.not74, label %632, label %631

631:                                              ; preds = %625
  tail call void @abort() #7
  unreachable

632:                                              ; preds = %619, %622, %625
  %633 = tail call i32 @fs_exists(ptr noundef nonnull @.str.116) #5
  %634 = icmp eq i32 %633, 0
  br i1 %634, label %642, label %635

635:                                              ; preds = %632
  %636 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %637 = add nsw i32 %636, 1
  store i32 %637, ptr @__assert_failures, align 4, !tbaa !12
  %638 = load ptr, ptr @stderr, align 8, !tbaa !13
  %639 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %638, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.117, ptr noundef nonnull @.str.9, i32 noundef 140) #6
  %640 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not75 = icmp eq i32 %640, 0
  br i1 %.not75, label %642, label %641

641:                                              ; preds = %635
  tail call void @abort() #7
  unreachable

642:                                              ; preds = %632, %635
  %643 = tail call i32 @fs_exists(ptr noundef nonnull @.str.118) #5
  %644 = icmp eq i32 %643, 0
  br i1 %644, label %652, label %645

645:                                              ; preds = %642
  %646 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %647 = add nsw i32 %646, 1
  store i32 %647, ptr @__assert_failures, align 4, !tbaa !12
  %648 = load ptr, ptr @stderr, align 8, !tbaa !13
  %649 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %648, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.119, ptr noundef nonnull @.str.9, i32 noundef 142) #6
  %650 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not76 = icmp eq i32 %650, 0
  br i1 %.not76, label %652, label %651

651:                                              ; preds = %645
  tail call void @abort() #7
  unreachable

652:                                              ; preds = %642, %645
  %653 = tail call i32 @fs_exists(ptr noundef nonnull @.str.120) #5
  %654 = icmp eq i32 %653, 0
  br i1 %654, label %662, label %655

655:                                              ; preds = %652
  %656 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %657 = add nsw i32 %656, 1
  store i32 %657, ptr @__assert_failures, align 4, !tbaa !12
  %658 = load ptr, ptr @stderr, align 8, !tbaa !13
  %659 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %658, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.121, ptr noundef nonnull @.str.9, i32 noundef 144) #6
  %660 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not77 = icmp eq i32 %660, 0
  br i1 %.not77, label %662, label %661

661:                                              ; preds = %655
  tail call void @abort() #7
  unreachable

662:                                              ; preds = %652, %655
  %663 = tail call i32 @fs_exists(ptr noundef nonnull @.str.122) #5
  %664 = icmp eq i32 %663, 0
  br i1 %664, label %675, label %665

665:                                              ; preds = %662
  %666 = tail call i32 @fs_exists(ptr noundef nonnull @.str.123) #5
  %667 = icmp eq i32 %666, 0
  br i1 %667, label %675, label %668

668:                                              ; preds = %665
  %669 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %670 = add nsw i32 %669, 1
  store i32 %670, ptr @__assert_failures, align 4, !tbaa !12
  %671 = load ptr, ptr @stderr, align 8, !tbaa !13
  %672 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %671, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.124, ptr noundef nonnull @.str.9, i32 noundef 146) #6
  %673 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not78 = icmp eq i32 %673, 0
  br i1 %.not78, label %675, label %674

674:                                              ; preds = %668
  tail call void @abort() #7
  unreachable

675:                                              ; preds = %668, %665, %662
  tail call void @clib_package_free(ptr noundef %260) #5
  %676 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #5
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.125, i32 noundef %259)
  %677 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.126)
  br label %.critedge
}

declare i32 @curl_global_init(i64 noundef) local_unnamed_addr #1

declare void @clib_package_set_opts(ptr noundef byval(%struct.clib_package_opts_t) align 8) local_unnamed_addr #1

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

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 #3

declare i32 @clib_package_install(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

declare ptr @clib_package_new_from_slug(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @fs_exists(ptr noundef) local_unnamed_addr #1

declare void @clib_package_free(ptr noundef) local_unnamed_addr #1

declare void @curl_global_cleanup() local_unnamed_addr #1

declare void @clib_package_cleanup(...) local_unnamed_addr #1

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

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

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


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