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

; 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 [34 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 [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [88 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 [26 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 [67 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [45 x i8], align 1
@__const.main.json = external hidden unnamed_addr constant [119 x i8], align 16
@.str.56 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.64 = 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 [119 x i8], align 16
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %24 = call i32 @curl_global_init(i64 noundef 3)
  call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 40, i1 false)
  %25 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 0
  store i32 1, ptr %25, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 1
  store i32 1, ptr %26, align 4, !tbaa !11
  %27 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 2
  %28 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 3
  %29 = getelementptr inbounds %struct.clib_package_opts_t, ptr %2, i32 0, i32 4
  %30 = 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)
  %31 = call i32 @clib_cache_init(i64 noundef 100)
  %32 = call ptr @clib_cache_dir()
  %33 = call i32 @rimraf(ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !12
  br label %34

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

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

41:                                               ; preds = %38, %34
  %42 = phi i1 [ false, %34 ], [ %40, %38 ]
  br i1 %42, label %44, label %43

43:                                               ; preds = %41
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %594

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

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

50:                                               ; preds = %46
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %69

51:                                               ; preds = %46
  br label %52

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

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

62:                                               ; preds = %55
  call void @abort() #8
  unreachable

63:                                               ; preds = %55
  br label %64

64:                                               ; preds = %63, %52
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  br label %67

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

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

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

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

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

78:                                               ; preds = %76
  %79 = load ptr, ptr %9, align 8, !tbaa !13
  %80 = icmp ne ptr %79, null
  br i1 %80, label %90, label %81

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

88:                                               ; preds = %81
  call void @abort() #8
  unreachable

89:                                               ; preds = %81
  br label %90

90:                                               ; preds = %89, %78
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  br label %93

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

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

104:                                              ; preds = %97
  call void @abort() #8
  unreachable

105:                                              ; preds = %97
  br label %106

106:                                              ; preds = %105, %93
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  br label %109

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

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

119:                                              ; preds = %112
  call void @abort() #8
  unreachable

120:                                              ; preds = %112
  br label %121

121:                                              ; preds = %120, %109
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  br label %124

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

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

134:                                              ; preds = %127
  call void @abort() #8
  unreachable

135:                                              ; preds = %127
  br label %136

136:                                              ; preds = %135, %124
  br label %137

137:                                              ; preds = %136
  br label %138

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

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

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

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

149:                                              ; preds = %145
  store i32 21, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %202

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

152:                                              ; preds = %150
  %153 = load ptr, ptr %12, align 8, !tbaa !13
  %154 = icmp ne ptr %153, null
  br i1 %154, label %164, 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 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str.7, ptr noundef @.str.19, ptr noundef @.str.9, i32 noundef 38) #7
  %160 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %155
  call void @abort() #8
  unreachable

163:                                              ; preds = %155
  br label %164

164:                                              ; preds = %163, %152
  br label %165

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165
  br label %167

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

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

178:                                              ; preds = %171
  call void @abort() #8
  unreachable

179:                                              ; preds = %171
  br label %180

180:                                              ; preds = %179, %167
  br label %181

181:                                              ; preds = %180
  br label %182

182:                                              ; preds = %181
  br label %183

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

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

193:                                              ; preds = %186
  call void @abort() #8
  unreachable

194:                                              ; preds = %186
  br label %195

195:                                              ; preds = %194, %183
  br label %196

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196
  %198 = load ptr, ptr %12, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %198)
  %199 = call i32 @rimraf(ptr noundef @.str.13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %200

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

202:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %203 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %203, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %204

204:                                              ; preds = %274, %202
  %205 = load i32, ptr %14, align 4, !tbaa !12
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %14, align 4, !tbaa !12
  %207 = icmp eq i32 %205, 0
  br i1 %207, label %209, label %208

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

209:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %210 = call ptr @clib_package_new_from_slug(ptr noundef @.str.11, i32 noundef 0)
  store ptr %210, ptr %15, align 8, !tbaa !13
  br label %211

211:                                              ; preds = %209
  %212 = load ptr, ptr %15, align 8, !tbaa !13
  %213 = icmp ne ptr %212, null
  br i1 %213, label %223, label %214

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

221:                                              ; preds = %214
  call void @abort() #8
  unreachable

222:                                              ; preds = %214
  br label %223

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

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  br label %226

226:                                              ; preds = %225
  %227 = load ptr, ptr %15, align 8, !tbaa !13
  %228 = call i32 @clib_package_install_dependencies(ptr noundef %227, ptr noundef @.str.13, i32 noundef 0)
  %229 = icmp eq i32 0, %228
  br i1 %229, label %239, label %230

230:                                              ; preds = %226
  %231 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr @__assert_failures, align 4, !tbaa !12
  %233 = load ptr, ptr @stderr, align 8, !tbaa !13
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.7, ptr noundef @.str.20, ptr noundef @.str.9, i32 noundef 51) #7
  %235 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %238

237:                                              ; preds = %230
  call void @abort() #8
  unreachable

238:                                              ; preds = %230
  br label %239

239:                                              ; preds = %238, %226
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  br label %242

242:                                              ; preds = %241
  %243 = call i32 @fs_exists(ptr noundef @.str.24)
  %244 = icmp eq i32 0, %243
  br i1 %244, label %254, label %245

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

252:                                              ; preds = %245
  call void @abort() #8
  unreachable

253:                                              ; preds = %245
  br label %254

254:                                              ; preds = %253, %242
  br label %255

255:                                              ; preds = %254
  br label %256

256:                                              ; preds = %255
  br label %257

257:                                              ; preds = %256
  %258 = call i32 @fs_exists(ptr noundef @.str.26)
  %259 = icmp eq i32 0, %258
  br i1 %259, label %269, label %260

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

267:                                              ; preds = %260
  call void @abort() #8
  unreachable

268:                                              ; preds = %260
  br label %269

269:                                              ; preds = %268, %257
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  %272 = load ptr, ptr %15, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %272)
  %273 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %274

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

276:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %277 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %277, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !12
  br label %278

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

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

283:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %284 = call ptr @clib_package_new_from_slug(ptr noundef @.str.30, i32 noundef 0)
  store ptr %284, ptr %18, align 8, !tbaa !13
  br label %285

285:                                              ; preds = %283
  %286 = load ptr, ptr %18, align 8, !tbaa !13
  %287 = icmp ne ptr %286, null
  br i1 %287, label %297, label %288

288:                                              ; preds = %285
  %289 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr @__assert_failures, align 4, !tbaa !12
  %291 = load ptr, ptr @stderr, align 8, !tbaa !13
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.7, ptr noundef @.str.19, ptr noundef @.str.9, i32 noundef 61) #7
  %293 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %288
  call void @abort() #8
  unreachable

296:                                              ; preds = %288
  br label %297

297:                                              ; preds = %296, %285
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299
  %301 = load ptr, ptr %18, align 8, !tbaa !13
  %302 = call i32 @clib_package_install_dependencies(ptr noundef %301, ptr noundef @.str.13, i32 noundef 0)
  %303 = icmp eq i32 0, %302
  br i1 %303, label %313, label %304

304:                                              ; preds = %300
  %305 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr @__assert_failures, align 4, !tbaa !12
  %307 = load ptr, ptr @stderr, align 8, !tbaa !13
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.7, ptr noundef @.str.20, ptr noundef @.str.9, i32 noundef 63) #7
  %309 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %310 = icmp ne i32 %309, 0
  br i1 %310, label %311, label %312

311:                                              ; preds = %304
  call void @abort() #8
  unreachable

312:                                              ; preds = %304
  br label %313

313:                                              ; preds = %312, %300
  br label %314

314:                                              ; preds = %313
  br label %315

315:                                              ; preds = %314
  br label %316

316:                                              ; preds = %315
  %317 = call i32 @fs_exists(ptr noundef @.str.31)
  %318 = icmp eq i32 0, %317
  br i1 %318, label %328, label %319

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

326:                                              ; preds = %319
  call void @abort() #8
  unreachable

327:                                              ; preds = %319
  br label %328

328:                                              ; preds = %327, %316
  br label %329

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  %332 = call i32 @fs_exists(ptr noundef @.str.33)
  %333 = icmp eq i32 0, %332
  br i1 %333, label %343, 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 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.7, ptr noundef @.str.34, ptr noundef @.str.9, i32 noundef 66) #7
  %339 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %342

341:                                              ; preds = %334
  call void @abort() #8
  unreachable

342:                                              ; preds = %334
  br label %343

343:                                              ; preds = %342, %331
  br label %344

344:                                              ; preds = %343
  br label %345

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  %347 = call i32 @fs_exists(ptr noundef @.str.35)
  %348 = icmp eq i32 0, %347
  br i1 %348, label %358, label %349

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

356:                                              ; preds = %349
  call void @abort() #8
  unreachable

357:                                              ; preds = %349
  br label %358

358:                                              ; preds = %357, %346
  br label %359

359:                                              ; preds = %358
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %360
  %362 = call i32 @fs_exists(ptr noundef @.str.37)
  %363 = icmp eq i32 0, %362
  br i1 %363, label %373, label %364

364:                                              ; preds = %361
  %365 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr @__assert_failures, align 4, !tbaa !12
  %367 = load ptr, ptr @stderr, align 8, !tbaa !13
  %368 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %367, ptr noundef @.str.7, ptr noundef @.str.38, ptr noundef @.str.9, i32 noundef 68) #7
  %369 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %371, label %372

371:                                              ; preds = %364
  call void @abort() #8
  unreachable

372:                                              ; preds = %364
  br label %373

373:                                              ; preds = %372, %361
  br label %374

374:                                              ; preds = %373
  br label %375

375:                                              ; preds = %374
  br label %376

376:                                              ; preds = %375
  %377 = call i32 @fs_exists(ptr noundef @.str.39)
  %378 = icmp eq i32 0, %377
  br i1 %378, label %388, label %379

379:                                              ; preds = %376
  %380 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %381 = add nsw i32 %380, 1
  store i32 %381, ptr @__assert_failures, align 4, !tbaa !12
  %382 = load ptr, ptr @stderr, align 8, !tbaa !13
  %383 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %382, ptr noundef @.str.7, ptr noundef @.str.40, ptr noundef @.str.9, i32 noundef 70) #7
  %384 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %385 = icmp ne i32 %384, 0
  br i1 %385, label %386, label %387

386:                                              ; preds = %379
  call void @abort() #8
  unreachable

387:                                              ; preds = %379
  br label %388

388:                                              ; preds = %387, %376
  br label %389

389:                                              ; preds = %388
  br label %390

390:                                              ; preds = %389
  br label %391

391:                                              ; preds = %390
  %392 = call i32 @fs_exists(ptr noundef @.str.41)
  %393 = icmp eq i32 0, %392
  br i1 %393, label %403, label %394

394:                                              ; preds = %391
  %395 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr @__assert_failures, align 4, !tbaa !12
  %397 = load ptr, ptr @stderr, align 8, !tbaa !13
  %398 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %397, ptr noundef @.str.7, ptr noundef @.str.42, ptr noundef @.str.9, i32 noundef 71) #7
  %399 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %400 = icmp ne i32 %399, 0
  br i1 %400, label %401, label %402

401:                                              ; preds = %394
  call void @abort() #8
  unreachable

402:                                              ; preds = %394
  br label %403

403:                                              ; preds = %402, %391
  br label %404

404:                                              ; preds = %403
  br label %405

405:                                              ; preds = %404
  br label %406

406:                                              ; preds = %405
  %407 = call i32 @fs_exists(ptr noundef @.str.43)
  %408 = icmp eq i32 0, %407
  br i1 %408, label %418, label %409

409:                                              ; preds = %406
  %410 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %411 = add nsw i32 %410, 1
  store i32 %411, ptr @__assert_failures, align 4, !tbaa !12
  %412 = load ptr, ptr @stderr, align 8, !tbaa !13
  %413 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %412, ptr noundef @.str.7, ptr noundef @.str.44, ptr noundef @.str.9, i32 noundef 72) #7
  %414 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %415 = icmp ne i32 %414, 0
  br i1 %415, label %416, label %417

416:                                              ; preds = %409
  call void @abort() #8
  unreachable

417:                                              ; preds = %409
  br label %418

418:                                              ; preds = %417, %406
  br label %419

419:                                              ; preds = %418
  br label %420

420:                                              ; preds = %419
  br label %421

421:                                              ; preds = %420
  %422 = call i32 @fs_exists(ptr noundef @.str.45)
  %423 = icmp eq i32 0, %422
  br i1 %423, label %433, label %424

424:                                              ; preds = %421
  %425 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr @__assert_failures, align 4, !tbaa !12
  %427 = load ptr, ptr @stderr, align 8, !tbaa !13
  %428 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %427, ptr noundef @.str.7, ptr noundef @.str.46, ptr noundef @.str.9, i32 noundef 73) #7
  %429 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %430 = icmp ne i32 %429, 0
  br i1 %430, label %431, label %432

431:                                              ; preds = %424
  call void @abort() #8
  unreachable

432:                                              ; preds = %424
  br label %433

433:                                              ; preds = %432, %421
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434
  br label %436

436:                                              ; preds = %435
  %437 = call i32 @fs_exists(ptr noundef @.str.47)
  %438 = icmp eq i32 0, %437
  br i1 %438, label %448, label %439

439:                                              ; preds = %436
  %440 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %441 = add nsw i32 %440, 1
  store i32 %441, ptr @__assert_failures, align 4, !tbaa !12
  %442 = load ptr, ptr @stderr, align 8, !tbaa !13
  %443 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %442, ptr noundef @.str.7, ptr noundef @.str.48, ptr noundef @.str.9, i32 noundef 74) #7
  %444 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %445 = icmp ne i32 %444, 0
  br i1 %445, label %446, label %447

446:                                              ; preds = %439
  call void @abort() #8
  unreachable

447:                                              ; preds = %439
  br label %448

448:                                              ; preds = %447, %436
  br label %449

449:                                              ; preds = %448
  br label %450

450:                                              ; preds = %449
  br label %451

451:                                              ; preds = %450
  %452 = call i32 @fs_exists(ptr noundef @.str.49)
  %453 = icmp eq i32 0, %452
  br i1 %453, label %463, label %454

454:                                              ; preds = %451
  %455 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr @__assert_failures, align 4, !tbaa !12
  %457 = load ptr, ptr @stderr, align 8, !tbaa !13
  %458 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %457, ptr noundef @.str.7, ptr noundef @.str.50, ptr noundef @.str.9, i32 noundef 75) #7
  %459 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %460 = icmp ne i32 %459, 0
  br i1 %460, label %461, label %462

461:                                              ; preds = %454
  call void @abort() #8
  unreachable

462:                                              ; preds = %454
  br label %463

463:                                              ; preds = %462, %451
  br label %464

464:                                              ; preds = %463
  br label %465

465:                                              ; preds = %464
  br label %466

466:                                              ; preds = %465
  %467 = call i32 @fs_exists(ptr noundef @.str.51)
  %468 = icmp eq i32 0, %467
  br i1 %468, label %478, label %469

469:                                              ; preds = %466
  %470 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %471 = add nsw i32 %470, 1
  store i32 %471, ptr @__assert_failures, align 4, !tbaa !12
  %472 = load ptr, ptr @stderr, align 8, !tbaa !13
  %473 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %472, ptr noundef @.str.7, ptr noundef @.str.52, ptr noundef @.str.9, i32 noundef 77) #7
  %474 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %475 = icmp ne i32 %474, 0
  br i1 %475, label %476, label %477

476:                                              ; preds = %469
  call void @abort() #8
  unreachable

477:                                              ; preds = %469
  br label %478

478:                                              ; preds = %477, %466
  br label %479

479:                                              ; preds = %478
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  %482 = call i32 @fs_exists(ptr noundef @.str.53)
  %483 = icmp eq i32 0, %482
  br i1 %483, label %493, label %484

484:                                              ; preds = %481
  %485 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr @__assert_failures, align 4, !tbaa !12
  %487 = load ptr, ptr @stderr, align 8, !tbaa !13
  %488 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %487, ptr noundef @.str.7, ptr noundef @.str.54, ptr noundef @.str.9, i32 noundef 79) #7
  %489 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %490 = icmp ne i32 %489, 0
  br i1 %490, label %491, label %492

491:                                              ; preds = %484
  call void @abort() #8
  unreachable

492:                                              ; preds = %484
  br label %493

493:                                              ; preds = %492, %481
  br label %494

494:                                              ; preds = %493
  br label %495

495:                                              ; preds = %494
  %496 = load ptr, ptr %18, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %496)
  %497 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %498

498:                                              ; preds = %495
  %499 = load i32, ptr %16, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.55, i32 noundef %499)
  br label %278, !llvm.loop !19

500:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %501 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  store i32 %501, ptr %19, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !12
  br label %502

502:                                              ; preds = %589, %500
  %503 = load i32, ptr %20, align 4, !tbaa !12
  %504 = add nsw i32 %503, 1
  store i32 %504, ptr %20, align 4, !tbaa !12
  %505 = icmp eq i32 %503, 0
  br i1 %505, label %507, label %506

506:                                              ; preds = %502
  store i32 72, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %591

507:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 119, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 @__const.main.json, i64 119, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %508 = getelementptr inbounds [119 x i8], ptr %21, i64 0, i64 0
  %509 = call ptr @clib_package_new(ptr noundef %508, i32 noundef 0)
  store ptr %509, ptr %22, align 8, !tbaa !13
  br label %510

510:                                              ; preds = %507
  %511 = load ptr, ptr %22, align 8, !tbaa !13
  %512 = icmp ne ptr %511, null
  br i1 %512, label %522, label %513

513:                                              ; preds = %510
  %514 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %515 = add nsw i32 %514, 1
  store i32 %515, ptr @__assert_failures, align 4, !tbaa !12
  %516 = load ptr, ptr @stderr, align 8, !tbaa !13
  %517 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %516, ptr noundef @.str.7, ptr noundef @.str.19, ptr noundef @.str.9, i32 noundef 94) #7
  %518 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %519 = icmp ne i32 %518, 0
  br i1 %519, label %520, label %521

520:                                              ; preds = %513
  call void @abort() #8
  unreachable

521:                                              ; preds = %513
  br label %522

522:                                              ; preds = %521, %510
  br label %523

523:                                              ; preds = %522
  br label %524

524:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %525 = load ptr, ptr %22, align 8, !tbaa !13
  %526 = call i32 @clib_package_install_dependencies(ptr noundef %525, ptr noundef @.str.13, i32 noundef 0)
  store i32 %526, ptr %23, align 4, !tbaa !12
  br label %527

527:                                              ; preds = %524
  %528 = load i32, ptr %23, align 4, !tbaa !12
  %529 = icmp eq i32 -1, %528
  br i1 %529, label %539, label %530

530:                                              ; preds = %527
  %531 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %532 = add nsw i32 %531, 1
  store i32 %532, ptr @__assert_failures, align 4, !tbaa !12
  %533 = load ptr, ptr @stderr, align 8, !tbaa !13
  %534 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %533, ptr noundef @.str.7, ptr noundef @.str.56, ptr noundef @.str.9, i32 noundef 98) #7
  %535 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %536 = icmp ne i32 %535, 0
  br i1 %536, label %537, label %538

537:                                              ; preds = %530
  call void @abort() #8
  unreachable

538:                                              ; preds = %530
  br label %539

539:                                              ; preds = %538, %527
  br label %540

540:                                              ; preds = %539
  br label %541

541:                                              ; preds = %540
  br label %542

542:                                              ; preds = %541
  %543 = call i32 @fs_exists(ptr noundef @.str.57)
  %544 = icmp eq i32 0, %543
  br i1 %544, label %554, label %545

545:                                              ; preds = %542
  %546 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %547 = add nsw i32 %546, 1
  store i32 %547, ptr @__assert_failures, align 4, !tbaa !12
  %548 = load ptr, ptr @stderr, align 8, !tbaa !13
  %549 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %548, ptr noundef @.str.7, ptr noundef @.str.58, ptr noundef @.str.9, i32 noundef 100) #7
  %550 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %551 = icmp ne i32 %550, 0
  br i1 %551, label %552, label %553

552:                                              ; preds = %545
  call void @abort() #8
  unreachable

553:                                              ; preds = %545
  br label %554

554:                                              ; preds = %553, %542
  br label %555

555:                                              ; preds = %554
  br label %556

556:                                              ; preds = %555
  br label %557

557:                                              ; preds = %556
  %558 = call i32 @fs_exists(ptr noundef @.str.59)
  %559 = icmp eq i32 0, %558
  br i1 %559, label %569, label %560

560:                                              ; preds = %557
  %561 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %562 = add nsw i32 %561, 1
  store i32 %562, ptr @__assert_failures, align 4, !tbaa !12
  %563 = load ptr, ptr @stderr, align 8, !tbaa !13
  %564 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %563, ptr noundef @.str.7, ptr noundef @.str.60, ptr noundef @.str.9, i32 noundef 101) #7
  %565 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %566 = icmp ne i32 %565, 0
  br i1 %566, label %567, label %568

567:                                              ; preds = %560
  call void @abort() #8
  unreachable

568:                                              ; preds = %560
  br label %569

569:                                              ; preds = %568, %557
  br label %570

570:                                              ; preds = %569
  br label %571

571:                                              ; preds = %570
  br label %572

572:                                              ; preds = %571
  %573 = call i32 @fs_exists(ptr noundef @.str.61)
  %574 = icmp eq i32 -1, %573
  br i1 %574, label %584, label %575

575:                                              ; preds = %572
  %576 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %577 = add nsw i32 %576, 1
  store i32 %577, ptr @__assert_failures, align 4, !tbaa !12
  %578 = load ptr, ptr @stderr, align 8, !tbaa !13
  %579 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %578, ptr noundef @.str.7, ptr noundef @.str.62, ptr noundef @.str.9, i32 noundef 102) #7
  %580 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %581 = icmp ne i32 %580, 0
  br i1 %581, label %582, label %583

582:                                              ; preds = %575
  call void @abort() #8
  unreachable

583:                                              ; preds = %575
  br label %584

584:                                              ; preds = %583, %572
  br label %585

585:                                              ; preds = %584
  br label %586

586:                                              ; preds = %585
  %587 = load ptr, ptr %22, align 8, !tbaa !13
  call void @clib_package_free(ptr noundef %587)
  %588 = call i32 @rimraf(ptr noundef @.str.28)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 119, ptr %21) #7
  br label %589

589:                                              ; preds = %586
  %590 = load i32, ptr %19, align 4, !tbaa !12
  call void @__describe_after_spec(ptr noundef @.str.63, i32 noundef %590)
  br label %502, !llvm.loop !20

591:                                              ; preds = %506
  br label %592

592:                                              ; preds = %591
  %593 = call i32 (ptr, ...) @printf(ptr noundef @.str.64)
  br label %34, !llvm.loop !21

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

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_dependencies(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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

declare ptr @clib_package_new(ptr noundef, i32 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { 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}


; 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 [34 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 [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [88 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 [26 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 [67 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [45 x i8], align 1
@__const.main.json = external hidden unnamed_addr constant [119 x i8], align 16
@.str.56 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.64 = 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 = alloca [119 x i8], align 16
  %3 = tail call i32 @curl_global_init(i64 noundef 3) #7
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %4, i8 0, i64 32, i1 false)
  store i32 1, ptr %1, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 1, ptr %5, align 4, !tbaa !11
  tail call void @clib_package_set_opts(ptr noundef nonnull byval(%struct.clib_package_opts_t) align 8 %1) #7
  %6 = tail call i32 @clib_cache_init(i64 noundef 100) #7
  %7 = tail call ptr @clib_cache_dir() #7
  %8 = tail call i32 @rimraf(ptr noundef %7) #7
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5)
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %.critedge, label %.critedge71

.critedge:                                        ; preds = %320, %0
  call void @curl_global_cleanup() #7
  call void (...) @clib_package_cleanup() #7
  %10 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  ret i32 %10

.critedge71:                                      ; preds = %0
  %11 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %12 = tail call i32 @clib_package_install_dependencies(ptr noundef null, ptr noundef nonnull @.str.6, i32 noundef 0) #7
  %13 = icmp eq i32 %12, -1
  br i1 %13, label %.critedge73, label %14

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

20:                                               ; preds = %14
  tail call void @abort() #9
  unreachable

.critedge73:                                      ; preds = %.critedge71, %14
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.10, i32 noundef %11)
  %21 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %22 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #7
  %.not64 = icmp eq ptr %22, null
  br i1 %.not64, label %23, label %30

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

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

30:                                               ; preds = %.critedge73, %23
  %31 = tail call i32 @clib_package_install_dependencies(ptr noundef %22, ptr noundef nonnull @.str.13, i32 noundef 0) #7
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %40, label %33

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

39:                                               ; preds = %33
  tail call void @abort() #9
  unreachable

40:                                               ; preds = %30, %33
  %41 = tail call i32 @fs_exists(ptr noundef nonnull @.str.13) #7
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %50, label %43

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

49:                                               ; preds = %43
  tail call void @abort() #9
  unreachable

50:                                               ; preds = %40, %43
  %51 = tail call i32 @fs_exists(ptr noundef nonnull @.str.16) #7
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %.critedge75, label %53

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

59:                                               ; preds = %53
  tail call void @abort() #9
  unreachable

.critedge75:                                      ; preds = %53, %50
  tail call void @clib_package_free(ptr noundef %22) #7
  %60 = tail call i32 @rimraf(ptr noundef nonnull @.str.13) #7
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.18, i32 noundef %21)
  %61 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %62 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #7
  %.not60 = icmp eq ptr %62, null
  br i1 %.not60, label %63, label %70

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

69:                                               ; preds = %63
  tail call void @abort() #9
  unreachable

70:                                               ; preds = %.critedge75, %63
  %71 = tail call i32 @clib_package_install_dependencies(ptr noundef %62, ptr noundef nonnull @.str.13, i32 noundef 0) #7
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %80, label %73

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

79:                                               ; preds = %73
  tail call void @abort() #9
  unreachable

80:                                               ; preds = %70, %73
  %81 = tail call i32 @fs_exists(ptr noundef nonnull @.str.21) #7
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %.critedge77, label %83

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

89:                                               ; preds = %83
  tail call void @abort() #9
  unreachable

.critedge77:                                      ; preds = %83, %80
  tail call void @clib_package_free(ptr noundef %62) #7
  %90 = tail call i32 @rimraf(ptr noundef nonnull @.str.13) #7
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.23, i32 noundef %61)
  %91 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %92 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.11, i32 noundef 0) #7
  %.not55 = icmp eq ptr %92, null
  br i1 %.not55, label %93, label %100

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

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

100:                                              ; preds = %.critedge77, %93
  %101 = tail call i32 @clib_package_install_dependencies(ptr noundef %92, ptr noundef nonnull @.str.13, i32 noundef 0) #7
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %110, label %103

103:                                              ; preds = %100
  %104 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr @__assert_failures, align 4, !tbaa !12
  %106 = load ptr, ptr @stderr, align 8, !tbaa !13
  %107 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.9, i32 noundef 51) #8
  %108 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not57 = icmp eq i32 %108, 0
  br i1 %.not57, label %110, label %109

109:                                              ; preds = %103
  tail call void @abort() #9
  unreachable

110:                                              ; preds = %100, %103
  %111 = tail call i32 @fs_exists(ptr noundef nonnull @.str.24) #7
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %120, 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 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.9, i32 noundef 52) #8
  %118 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not58 = icmp eq i32 %118, 0
  br i1 %.not58, label %120, label %119

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

120:                                              ; preds = %110, %113
  %121 = tail call i32 @fs_exists(ptr noundef nonnull @.str.26) #7
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %.critedge79, label %123

123:                                              ; preds = %120
  %124 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr @__assert_failures, align 4, !tbaa !12
  %126 = load ptr, ptr @stderr, align 8, !tbaa !13
  %127 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.9, i32 noundef 53) #8
  %128 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not59 = icmp eq i32 %128, 0
  br i1 %.not59, label %.critedge79, label %129

129:                                              ; preds = %123
  tail call void @abort() #9
  unreachable

.critedge79:                                      ; preds = %123, %120
  tail call void @clib_package_free(ptr noundef %92) #7
  %130 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #7
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.29, i32 noundef %91)
  %131 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %132 = tail call ptr @clib_package_new_from_slug(ptr noundef nonnull @.str.30, i32 noundef 0) #7
  %.not40 = icmp eq ptr %132, null
  br i1 %.not40, label %133, label %140

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

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

140:                                              ; preds = %.critedge79, %133
  %141 = tail call i32 @clib_package_install_dependencies(ptr noundef %132, ptr noundef nonnull @.str.13, i32 noundef 0) #7
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %150, label %143

143:                                              ; preds = %140
  %144 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr @__assert_failures, align 4, !tbaa !12
  %146 = load ptr, ptr @stderr, align 8, !tbaa !13
  %147 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.9, i32 noundef 63) #8
  %148 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not42 = icmp eq i32 %148, 0
  br i1 %.not42, label %150, label %149

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

150:                                              ; preds = %140, %143
  %151 = tail call i32 @fs_exists(ptr noundef nonnull @.str.31) #7
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %160, label %153

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

159:                                              ; preds = %153
  tail call void @abort() #9
  unreachable

160:                                              ; preds = %150, %153
  %161 = tail call i32 @fs_exists(ptr noundef nonnull @.str.33) #7
  %162 = icmp eq i32 %161, 0
  br i1 %162, label %170, label %163

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

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

170:                                              ; preds = %160, %163
  %171 = tail call i32 @fs_exists(ptr noundef nonnull @.str.35) #7
  %172 = icmp eq i32 %171, 0
  br i1 %172, label %180, label %173

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

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

180:                                              ; preds = %170, %173
  %181 = tail call i32 @fs_exists(ptr noundef nonnull @.str.37) #7
  %182 = icmp eq i32 %181, 0
  br i1 %182, label %190, label %183

183:                                              ; preds = %180
  %184 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr @__assert_failures, align 4, !tbaa !12
  %186 = load ptr, ptr @stderr, align 8, !tbaa !13
  %187 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.9, i32 noundef 68) #8
  %188 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not46 = icmp eq i32 %188, 0
  br i1 %.not46, label %190, label %189

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

190:                                              ; preds = %180, %183
  %191 = tail call i32 @fs_exists(ptr noundef nonnull @.str.39) #7
  %192 = icmp eq i32 %191, 0
  br i1 %192, label %200, label %193

193:                                              ; preds = %190
  %194 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr @__assert_failures, align 4, !tbaa !12
  %196 = load ptr, ptr @stderr, align 8, !tbaa !13
  %197 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.9, i32 noundef 70) #8
  %198 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not47 = icmp eq i32 %198, 0
  br i1 %.not47, label %200, label %199

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

200:                                              ; preds = %190, %193
  %201 = tail call i32 @fs_exists(ptr noundef nonnull @.str.41) #7
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %210, label %203

203:                                              ; preds = %200
  %204 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr @__assert_failures, align 4, !tbaa !12
  %206 = load ptr, ptr @stderr, align 8, !tbaa !13
  %207 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.9, i32 noundef 71) #8
  %208 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not48 = icmp eq i32 %208, 0
  br i1 %.not48, label %210, label %209

209:                                              ; preds = %203
  tail call void @abort() #9
  unreachable

210:                                              ; preds = %200, %203
  %211 = tail call i32 @fs_exists(ptr noundef nonnull @.str.43) #7
  %212 = icmp eq i32 %211, 0
  br i1 %212, label %220, label %213

213:                                              ; preds = %210
  %214 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr @__assert_failures, align 4, !tbaa !12
  %216 = load ptr, ptr @stderr, align 8, !tbaa !13
  %217 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.9, i32 noundef 72) #8
  %218 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not49 = icmp eq i32 %218, 0
  br i1 %.not49, label %220, label %219

219:                                              ; preds = %213
  tail call void @abort() #9
  unreachable

220:                                              ; preds = %210, %213
  %221 = tail call i32 @fs_exists(ptr noundef nonnull @.str.45) #7
  %222 = icmp eq i32 %221, 0
  br i1 %222, label %230, label %223

223:                                              ; preds = %220
  %224 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr @__assert_failures, align 4, !tbaa !12
  %226 = load ptr, ptr @stderr, align 8, !tbaa !13
  %227 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.9, i32 noundef 73) #8
  %228 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not50 = icmp eq i32 %228, 0
  br i1 %.not50, label %230, label %229

229:                                              ; preds = %223
  tail call void @abort() #9
  unreachable

230:                                              ; preds = %220, %223
  %231 = tail call i32 @fs_exists(ptr noundef nonnull @.str.47) #7
  %232 = icmp eq i32 %231, 0
  br i1 %232, label %240, label %233

233:                                              ; preds = %230
  %234 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr @__assert_failures, align 4, !tbaa !12
  %236 = load ptr, ptr @stderr, align 8, !tbaa !13
  %237 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.9, i32 noundef 74) #8
  %238 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not51 = icmp eq i32 %238, 0
  br i1 %.not51, label %240, label %239

239:                                              ; preds = %233
  tail call void @abort() #9
  unreachable

240:                                              ; preds = %230, %233
  %241 = tail call i32 @fs_exists(ptr noundef nonnull @.str.49) #7
  %242 = icmp eq i32 %241, 0
  br i1 %242, label %250, label %243

243:                                              ; preds = %240
  %244 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr @__assert_failures, align 4, !tbaa !12
  %246 = load ptr, ptr @stderr, align 8, !tbaa !13
  %247 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.9, i32 noundef 75) #8
  %248 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not52 = icmp eq i32 %248, 0
  br i1 %.not52, label %250, label %249

249:                                              ; preds = %243
  tail call void @abort() #9
  unreachable

250:                                              ; preds = %240, %243
  %251 = tail call i32 @fs_exists(ptr noundef nonnull @.str.51) #7
  %252 = icmp eq i32 %251, 0
  br i1 %252, label %260, label %253

253:                                              ; preds = %250
  %254 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr @__assert_failures, align 4, !tbaa !12
  %256 = load ptr, ptr @stderr, align 8, !tbaa !13
  %257 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.9, i32 noundef 77) #8
  %258 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not53 = icmp eq i32 %258, 0
  br i1 %.not53, label %260, label %259

259:                                              ; preds = %253
  tail call void @abort() #9
  unreachable

260:                                              ; preds = %250, %253
  %261 = tail call i32 @fs_exists(ptr noundef nonnull @.str.53) #7
  %262 = icmp eq i32 %261, 0
  br i1 %262, label %.critedge81, label %263

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

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

.critedge81:                                      ; preds = %263, %260
  tail call void @clib_package_free(ptr noundef %132) #7
  %270 = tail call i32 @rimraf(ptr noundef nonnull @.str.28) #7
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.55, i32 noundef %131)
  %271 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 119, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(119) %2, ptr noundef nonnull align 16 dereferenceable(119) @__const.main.json, i64 119, i1 false)
  %272 = call ptr @clib_package_new(ptr noundef nonnull %2, i32 noundef 0) #7
  %.not34 = icmp eq ptr %272, null
  br i1 %.not34, label %273, label %280

273:                                              ; preds = %.critedge81
  %274 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr @__assert_failures, align 4, !tbaa !12
  %276 = load ptr, ptr @stderr, align 8, !tbaa !13
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %276, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.9, i32 noundef 94) #8
  %278 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not35 = icmp eq i32 %278, 0
  br i1 %.not35, label %280, label %279

279:                                              ; preds = %273
  call void @abort() #9
  unreachable

280:                                              ; preds = %273, %.critedge81
  %281 = call i32 @clib_package_install_dependencies(ptr noundef %272, ptr noundef nonnull @.str.13, i32 noundef 0) #7
  %282 = icmp eq i32 %281, -1
  br i1 %282, label %290, label %283

283:                                              ; preds = %280
  %284 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr @__assert_failures, align 4, !tbaa !12
  %286 = load ptr, ptr @stderr, align 8, !tbaa !13
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.9, i32 noundef 98) #8
  %288 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not36 = icmp eq i32 %288, 0
  br i1 %.not36, label %290, label %289

289:                                              ; preds = %283
  call void @abort() #9
  unreachable

290:                                              ; preds = %280, %283
  %291 = call i32 @fs_exists(ptr noundef nonnull @.str.57) #7
  %292 = icmp eq i32 %291, 0
  br i1 %292, label %300, label %293

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

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

300:                                              ; preds = %290, %293
  %301 = call i32 @fs_exists(ptr noundef nonnull @.str.59) #7
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %310, label %303

303:                                              ; preds = %300
  %304 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr @__assert_failures, align 4, !tbaa !12
  %306 = load ptr, ptr @stderr, align 8, !tbaa !13
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %306, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.9, i32 noundef 101) #8
  %308 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not38 = icmp eq i32 %308, 0
  br i1 %.not38, label %310, label %309

309:                                              ; preds = %303
  call void @abort() #9
  unreachable

310:                                              ; preds = %300, %303
  %311 = call i32 @fs_exists(ptr noundef nonnull @.str.61) #7
  %312 = icmp eq i32 %311, -1
  br i1 %312, label %320, label %313

313:                                              ; preds = %310
  %314 = load i32, ptr @__assert_failures, align 4, !tbaa !12
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr @__assert_failures, align 4, !tbaa !12
  %316 = load ptr, ptr @stderr, align 8, !tbaa !13
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.9, i32 noundef 102) #8
  %318 = load i32, ptr @__assert_bail, align 4, !tbaa !12
  %.not39 = icmp eq i32 %318, 0
  br i1 %.not39, label %320, label %319

319:                                              ; preds = %313
  call void @abort() #9
  unreachable

320:                                              ; preds = %313, %310
  call void @clib_package_free(ptr noundef %272) #7
  %321 = call i32 @rimraf(ptr noundef nonnull @.str.28) #7
  call void @llvm.lifetime.end.p0(i64 119, ptr nonnull %2) #7
  call void @__describe_after_spec(ptr noundef nonnull @.str.63, i32 noundef %271)
  %322 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.64)
  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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

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

declare i32 @clib_package_install_dependencies(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 #4

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

; Function Attrs: mustprogress 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) 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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

declare ptr @clib_package_new(ptr noundef, i32 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { cold nounwind }
attributes #9 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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