; LLVM IR from clibs/clib :: src/common (clib-validate)

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

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@stdout = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @clib_validate(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store ptr null, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = call i32 @fs_exists(ptr noundef %42)
  %44 = icmp eq i32 -1, %43
  br i1 %44, label %45, label %56

45:                                               ; preds = %1
  store i32 1, ptr %6, align 4, !tbaa !9
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %46, ptr noundef @.str, ptr noundef @.str.1)
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.2) #4
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %50, ptr noundef @.str.3, ptr noundef %51)
  %53 = load ptr, ptr @stderr, align 8, !tbaa !5
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.4) #4
  store i32 %54, ptr %10, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  br label %262

56:                                               ; preds = %1
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = call ptr @json_parse_file(ptr noundef %57)
  store ptr %58, ptr %7, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %71, label %60

60:                                               ; preds = %56
  store i32 1, ptr %6, align 4, !tbaa !9
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %61, ptr noundef @.str, ptr noundef @.str.1)
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.2) #4
  %65 = load ptr, ptr @stderr, align 8, !tbaa !5
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %65, ptr noundef @.str.5, ptr noundef %66)
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.4) #4
  store i32 %69, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %11, align 4, !tbaa !9
  br label %262

71:                                               ; preds = %56
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = call ptr @json_value_get_object(ptr noundef %72)
  store ptr %73, ptr %8, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %86, label %75

75:                                               ; preds = %71
  store i32 1, ptr %6, align 4, !tbaa !9
  %76 = load ptr, ptr @stderr, align 8, !tbaa !5
  %77 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %76, ptr noundef @.str, ptr noundef @.str.1)
  %78 = load ptr, ptr @stderr, align 8, !tbaa !5
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.2) #4
  %80 = load ptr, ptr @stderr, align 8, !tbaa !5
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %80, ptr noundef @.str.5, ptr noundef %81)
  %83 = load ptr, ptr @stderr, align 8, !tbaa !5
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.4) #4
  store i32 %84, ptr %12, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  br label %262

86:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = call ptr @json_object_get_string(ptr noundef %87, ptr noundef @.str.6)
  store ptr %88, ptr %13, align 8, !tbaa !5
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = icmp ne ptr %89, null
  br i1 %90, label %104, label %91

91:                                               ; preds = %86
  %92 = load ptr, ptr @stdout, align 8, !tbaa !5
  %93 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %92, ptr noundef @.str, ptr noundef @.str.7)
  %94 = load ptr, ptr @stdout, align 8, !tbaa !5
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.2) #4
  %96 = load ptr, ptr @stdout, align 8, !tbaa !5
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %96, ptr noundef @.str.8, ptr noundef %97)
  %99 = load ptr, ptr @stdout, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.4) #4
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %102, ptr %14, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %91, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = call ptr @json_object_get_string(ptr noundef %105, ptr noundef @.str.9)
  store ptr %106, ptr %17, align 8, !tbaa !5
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %122, label %109

109:                                              ; preds = %104
  %110 = load ptr, ptr @stdout, align 8, !tbaa !5
  %111 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %110, ptr noundef @.str, ptr noundef @.str.7)
  %112 = load ptr, ptr @stdout, align 8, !tbaa !5
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.2) #4
  %114 = load ptr, ptr @stdout, align 8, !tbaa !5
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %114, ptr noundef @.str.10, ptr noundef %115)
  %117 = load ptr, ptr @stdout, align 8, !tbaa !5
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.4) #4
  store i32 %118, ptr %20, align 4, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %119, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %120, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %18, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %109, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = call ptr @json_object_get_string(ptr noundef %123, ptr noundef @.str.11)
  store ptr %124, ptr %3, align 8, !tbaa !5
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = icmp ne ptr %125, null
  br i1 %126, label %140, label %127

127:                                              ; preds = %122
  %128 = load ptr, ptr @stdout, align 8, !tbaa !5
  %129 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %128, ptr noundef @.str, ptr noundef @.str.7)
  %130 = load ptr, ptr @stdout, align 8, !tbaa !5
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.2) #4
  %132 = load ptr, ptr @stdout, align 8, !tbaa !5
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %132, ptr noundef @.str.12, ptr noundef %133)
  %135 = load ptr, ptr @stdout, align 8, !tbaa !5
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef @.str.4) #4
  store i32 %136, ptr %23, align 4, !tbaa !9
  %137 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %137, ptr %22, align 4, !tbaa !9
  %138 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %138, ptr %21, align 4, !tbaa !9
  %139 = load i32, ptr %21, align 4, !tbaa !9
  br label %171

140:                                              ; preds = %122
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = call ptr @parse_repo_name(ptr noundef %141)
  store ptr %142, ptr %5, align 8, !tbaa !5
  %143 = icmp ne ptr %142, null
  br i1 %143, label %155, label %144

144:                                              ; preds = %140
  %145 = load ptr, ptr @stdout, align 8, !tbaa !5
  %146 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %145, ptr noundef @.str, ptr noundef @.str.7)
  %147 = load ptr, ptr @stdout, align 8, !tbaa !5
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.2) #4
  %149 = load ptr, ptr @stdout, align 8, !tbaa !5
  %150 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %149, ptr noundef @.str.13)
  %151 = load ptr, ptr @stdout, align 8, !tbaa !5
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef @.str.4) #4
  store i32 %152, ptr %25, align 4, !tbaa !9
  %153 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %153, ptr %24, align 4, !tbaa !9
  %154 = load i32, ptr %24, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %144, %140
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = call ptr @parse_repo_owner(ptr noundef %156, ptr noundef null)
  store ptr %157, ptr %4, align 8, !tbaa !5
  %158 = icmp ne ptr %157, null
  br i1 %158, label %170, label %159

159:                                              ; preds = %155
  %160 = load ptr, ptr @stdout, align 8, !tbaa !5
  %161 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %160, ptr noundef @.str, ptr noundef @.str.7)
  %162 = load ptr, ptr @stdout, align 8, !tbaa !5
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.2) #4
  %164 = load ptr, ptr @stdout, align 8, !tbaa !5
  %165 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %164, ptr noundef @.str.13)
  %166 = load ptr, ptr @stdout, align 8, !tbaa !5
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef @.str.4) #4
  store i32 %167, ptr %27, align 4, !tbaa !9
  %168 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %168, ptr %26, align 4, !tbaa !9
  %169 = load i32, ptr %26, align 4, !tbaa !9
  br label %170

170:                                              ; preds = %159, %155
  br label %171

171:                                              ; preds = %170, %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = call ptr @json_object_get_string(ptr noundef %172, ptr noundef @.str.14)
  store ptr %173, ptr %28, align 8, !tbaa !5
  %174 = load ptr, ptr %28, align 8, !tbaa !5
  %175 = icmp ne ptr %174, null
  br i1 %175, label %189, label %176

176:                                              ; preds = %171
  %177 = load ptr, ptr @stdout, align 8, !tbaa !5
  %178 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %177, ptr noundef @.str, ptr noundef @.str.7)
  %179 = load ptr, ptr @stdout, align 8, !tbaa !5
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.2) #4
  %181 = load ptr, ptr @stdout, align 8, !tbaa !5
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %181, ptr noundef @.str.15, ptr noundef %182)
  %184 = load ptr, ptr @stdout, align 8, !tbaa !5
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.4) #4
  store i32 %185, ptr %31, align 4, !tbaa !9
  %186 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %186, ptr %30, align 4, !tbaa !9
  %187 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %187, ptr %29, align 4, !tbaa !9
  %188 = load i32, ptr %29, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %176, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = call ptr @json_object_get_string(ptr noundef %190, ptr noundef @.str.16)
  store ptr %191, ptr %32, align 8, !tbaa !5
  %192 = load ptr, ptr %32, align 8, !tbaa !5
  %193 = icmp ne ptr %192, null
  br i1 %193, label %207, label %194

194:                                              ; preds = %189
  %195 = load ptr, ptr @stdout, align 8, !tbaa !5
  %196 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %195, ptr noundef @.str, ptr noundef @.str.7)
  %197 = load ptr, ptr @stdout, align 8, !tbaa !5
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.2) #4
  %199 = load ptr, ptr @stdout, align 8, !tbaa !5
  %200 = load ptr, ptr %2, align 8, !tbaa !5
  %201 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %199, ptr noundef @.str.17, ptr noundef %200)
  %202 = load ptr, ptr @stdout, align 8, !tbaa !5
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.4) #4
  store i32 %203, ptr %35, align 4, !tbaa !9
  %204 = load i32, ptr %35, align 4, !tbaa !9
  store i32 %204, ptr %34, align 4, !tbaa !9
  %205 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %205, ptr %33, align 4, !tbaa !9
  %206 = load i32, ptr %33, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %194, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  %208 = load ptr, ptr %8, align 8, !tbaa !5
  %209 = call ptr @json_object_get_array(ptr noundef %208, ptr noundef @.str.18)
  %210 = icmp ne ptr %209, null
  br i1 %210, label %224, label %211

211:                                              ; preds = %207
  %212 = load ptr, ptr @stdout, align 8, !tbaa !5
  %213 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %212, ptr noundef @.str, ptr noundef @.str.7)
  %214 = load ptr, ptr @stdout, align 8, !tbaa !5
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.2) #4
  %216 = load ptr, ptr @stdout, align 8, !tbaa !5
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  %218 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %216, ptr noundef @.str.19, ptr noundef %217)
  %219 = load ptr, ptr @stdout, align 8, !tbaa !5
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef @.str.4) #4
  store i32 %220, ptr %38, align 4, !tbaa !9
  %221 = load i32, ptr %38, align 4, !tbaa !9
  store i32 %221, ptr %37, align 4, !tbaa !9
  %222 = load i32, ptr %37, align 4, !tbaa !9
  store i32 %222, ptr %36, align 4, !tbaa !9
  %223 = load i32, ptr %36, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %211, %207
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = call ptr @json_object_get_value(ptr noundef %225, ptr noundef @.str.20)
  store ptr %226, ptr %9, align 8, !tbaa !5
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = icmp ne ptr %227, null
  br i1 %228, label %245, label %229

229:                                              ; preds = %224
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = call ptr @json_object_get_string(ptr noundef %230, ptr noundef @.str.21)
  %232 = icmp ne ptr %231, null
  br i1 %232, label %244, label %233

233:                                              ; preds = %229
  store i32 1, ptr %6, align 4, !tbaa !9
  %234 = load ptr, ptr @stderr, align 8, !tbaa !5
  %235 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %234, ptr noundef @.str, ptr noundef @.str.1)
  %236 = load ptr, ptr @stderr, align 8, !tbaa !5
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef @.str.2) #4
  %238 = load ptr, ptr @stderr, align 8, !tbaa !5
  %239 = load ptr, ptr %2, align 8, !tbaa !5
  %240 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %238, ptr noundef @.str.22, ptr noundef %239)
  %241 = load ptr, ptr @stderr, align 8, !tbaa !5
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.4) #4
  store i32 %242, ptr %39, align 4, !tbaa !9
  %243 = load i32, ptr %39, align 4, !tbaa !9
  br label %262

244:                                              ; preds = %229
  br label %261

245:                                              ; preds = %224
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = call i32 @json_value_get_type(ptr noundef %246)
  %248 = icmp ne i32 %247, 5
  br i1 %248, label %249, label %260

249:                                              ; preds = %245
  %250 = load ptr, ptr @stdout, align 8, !tbaa !5
  %251 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %250, ptr noundef @.str, ptr noundef @.str.7)
  %252 = load ptr, ptr @stdout, align 8, !tbaa !5
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.2) #4
  %254 = load ptr, ptr @stdout, align 8, !tbaa !5
  %255 = call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %254, ptr noundef @.str.23)
  %256 = load ptr, ptr @stdout, align 8, !tbaa !5
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef @.str.4) #4
  store i32 %257, ptr %41, align 4, !tbaa !9
  %258 = load i32, ptr %41, align 4, !tbaa !9
  store i32 %258, ptr %40, align 4, !tbaa !9
  %259 = load i32, ptr %40, align 4, !tbaa !9
  br label %260

260:                                              ; preds = %249, %245
  br label %261

261:                                              ; preds = %260, %244
  br label %262

262:                                              ; preds = %261, %233, %75, %60, %45
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %267

265:                                              ; preds = %262
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  call void @json_value_free(ptr noundef %266)
  br label %267

267:                                              ; preds = %265, %262
  %268 = load i32, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret i32 %268
}

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

declare i32 @fs_exists(ptr noundef) #2

declare i32 @cc_fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #2

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

declare ptr @json_parse_file(ptr noundef) #2

declare ptr @json_value_get_object(ptr noundef) #2

declare ptr @json_object_get_string(ptr noundef, ptr noundef) #2

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

declare ptr @parse_repo_name(ptr noundef) #2

declare ptr @parse_repo_owner(ptr noundef, ptr noundef) #2

declare ptr @json_object_get_array(ptr noundef, ptr noundef) #2

declare ptr @json_object_get_value(ptr noundef, ptr noundef) #2

declare i32 @json_value_get_type(ptr noundef) #2

declare void @json_value_free(ptr noundef) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @clib_validate(ptr noundef %0) local_unnamed_addr #0 {
  %2 = tail call i32 @fs_exists(ptr noundef %0) #3
  %3 = icmp eq i32 %2, -1
  br i1 %3, label %4, label %13

4:                                                ; preds = %1
  %5 = load ptr, ptr @stderr, align 8, !tbaa !5
  %6 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
  %7 = load ptr, ptr @stderr, align 8, !tbaa !5
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str.2) #4
  %9 = load ptr, ptr @stderr, align 8, !tbaa !5
  %10 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %9, ptr noundef nonnull @.str.3, ptr noundef %0) #3
  %11 = load ptr, ptr @stderr, align 8, !tbaa !5
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.4) #4
  br label %146

13:                                               ; preds = %1
  %14 = tail call ptr @json_parse_file(ptr noundef %0) #3
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %15, label %24

15:                                               ; preds = %13
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str.2) #4
  %20 = load ptr, ptr @stderr, align 8, !tbaa !5
  %21 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %20, ptr noundef nonnull @.str.5, ptr noundef %0) #3
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.4) #4
  br label %146

24:                                               ; preds = %13
  %25 = tail call ptr @json_value_get_object(ptr noundef nonnull %14) #3
  %.not65 = icmp eq ptr %25, null
  br i1 %.not65, label %26, label %35

26:                                               ; preds = %24
  %27 = load ptr, ptr @stderr, align 8, !tbaa !5
  %28 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %27, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.2) #4
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %31, ptr noundef nonnull @.str.5, ptr noundef %0) #3
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.4) #4
  br label %145

35:                                               ; preds = %24
  %36 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.6) #3
  %.not66 = icmp eq ptr %36, null
  br i1 %.not66, label %37, label %46

37:                                               ; preds = %35
  %38 = load ptr, ptr @stdout, align 8, !tbaa !5
  %39 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %38, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %40 = load ptr, ptr @stdout, align 8, !tbaa !5
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef nonnull @.str.2) #3
  %42 = load ptr, ptr @stdout, align 8, !tbaa !5
  %43 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %42, ptr noundef nonnull @.str.8, ptr noundef %0) #3
  %44 = load ptr, ptr @stdout, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.4) #3
  br label %46

46:                                               ; preds = %37, %35
  %47 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.9) #3
  %.not67 = icmp eq ptr %47, null
  br i1 %.not67, label %48, label %57

48:                                               ; preds = %46
  %49 = load ptr, ptr @stdout, align 8, !tbaa !5
  %50 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %49, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %51 = load ptr, ptr @stdout, align 8, !tbaa !5
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.2) #3
  %53 = load ptr, ptr @stdout, align 8, !tbaa !5
  %54 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %53, ptr noundef nonnull @.str.10, ptr noundef %0) #3
  %55 = load ptr, ptr @stdout, align 8, !tbaa !5
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.4) #3
  br label %57

57:                                               ; preds = %48, %46
  %58 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.11) #3
  %.not68 = icmp eq ptr %58, null
  br i1 %.not68, label %59, label %66

59:                                               ; preds = %57
  %60 = load ptr, ptr @stdout, align 8, !tbaa !5
  %61 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %60, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %62 = load ptr, ptr @stdout, align 8, !tbaa !5
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.2) #3
  %64 = load ptr, ptr @stdout, align 8, !tbaa !5
  %65 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %64, ptr noundef nonnull @.str.12, ptr noundef %0) #3
  br label %.sink.split

66:                                               ; preds = %57
  %67 = tail call ptr @parse_repo_name(ptr noundef nonnull %58) #3
  %.not69 = icmp eq ptr %67, null
  br i1 %.not69, label %68, label %77

68:                                               ; preds = %66
  %69 = load ptr, ptr @stdout, align 8, !tbaa !5
  %70 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %69, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %71 = load ptr, ptr @stdout, align 8, !tbaa !5
  %72 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef nonnull @.str.2) #3
  %73 = load ptr, ptr @stdout, align 8, !tbaa !5
  %74 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %73, ptr noundef nonnull @.str.13) #3
  %75 = load ptr, ptr @stdout, align 8, !tbaa !5
  %76 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str.4) #3
  br label %77

77:                                               ; preds = %68, %66
  %78 = tail call ptr @parse_repo_owner(ptr noundef nonnull %58, ptr noundef null) #3
  %.not70 = icmp eq ptr %78, null
  br i1 %.not70, label %79, label %88

79:                                               ; preds = %77
  %80 = load ptr, ptr @stdout, align 8, !tbaa !5
  %81 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %80, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %82 = load ptr, ptr @stdout, align 8, !tbaa !5
  %83 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef nonnull @.str.2) #3
  %84 = load ptr, ptr @stdout, align 8, !tbaa !5
  %85 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %84, ptr noundef nonnull @.str.13) #3
  br label %.sink.split

.sink.split:                                      ; preds = %59, %79
  %86 = load ptr, ptr @stdout, align 8, !tbaa !5
  %87 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef nonnull @.str.4) #3
  br label %88

88:                                               ; preds = %.sink.split, %77
  %89 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.14) #3
  %.not71 = icmp eq ptr %89, null
  br i1 %.not71, label %90, label %99

90:                                               ; preds = %88
  %91 = load ptr, ptr @stdout, align 8, !tbaa !5
  %92 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %91, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %93 = load ptr, ptr @stdout, align 8, !tbaa !5
  %94 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.2) #3
  %95 = load ptr, ptr @stdout, align 8, !tbaa !5
  %96 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %95, ptr noundef nonnull @.str.15, ptr noundef %0) #3
  %97 = load ptr, ptr @stdout, align 8, !tbaa !5
  %98 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str.4) #3
  br label %99

99:                                               ; preds = %90, %88
  %100 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.16) #3
  %.not72 = icmp eq ptr %100, null
  br i1 %.not72, label %101, label %110

101:                                              ; preds = %99
  %102 = load ptr, ptr @stdout, align 8, !tbaa !5
  %103 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %102, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %104 = load ptr, ptr @stdout, align 8, !tbaa !5
  %105 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str.2) #3
  %106 = load ptr, ptr @stdout, align 8, !tbaa !5
  %107 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %106, ptr noundef nonnull @.str.17, ptr noundef %0) #3
  %108 = load ptr, ptr @stdout, align 8, !tbaa !5
  %109 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.4) #3
  br label %110

110:                                              ; preds = %101, %99
  %111 = tail call ptr @json_object_get_array(ptr noundef nonnull %25, ptr noundef nonnull @.str.18) #3
  %.not73 = icmp eq ptr %111, null
  br i1 %.not73, label %112, label %121

112:                                              ; preds = %110
  %113 = load ptr, ptr @stdout, align 8, !tbaa !5
  %114 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %113, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %115 = load ptr, ptr @stdout, align 8, !tbaa !5
  %116 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef nonnull @.str.2) #3
  %117 = load ptr, ptr @stdout, align 8, !tbaa !5
  %118 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %117, ptr noundef nonnull @.str.19, ptr noundef %0) #3
  %119 = load ptr, ptr @stdout, align 8, !tbaa !5
  %120 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef nonnull @.str.4) #3
  br label %121

121:                                              ; preds = %112, %110
  %122 = tail call ptr @json_object_get_value(ptr noundef nonnull %25, ptr noundef nonnull @.str.20) #3
  %.not74 = icmp eq ptr %122, null
  br i1 %.not74, label %123, label %134

123:                                              ; preds = %121
  %124 = tail call ptr @json_object_get_string(ptr noundef nonnull %25, ptr noundef nonnull @.str.21) #3
  %.not75 = icmp eq ptr %124, null
  br i1 %.not75, label %125, label %145

125:                                              ; preds = %123
  %126 = load ptr, ptr @stderr, align 8, !tbaa !5
  %127 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 2, ptr noundef %126, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.2) #4
  %130 = load ptr, ptr @stderr, align 8, !tbaa !5
  %131 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %130, ptr noundef nonnull @.str.22, ptr noundef %0) #3
  %132 = load ptr, ptr @stderr, align 8, !tbaa !5
  %133 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef nonnull @.str.4) #4
  br label %145

134:                                              ; preds = %121
  %135 = tail call i32 @json_value_get_type(ptr noundef nonnull %122) #3
  %.not76 = icmp eq i32 %135, 5
  br i1 %.not76, label %145, label %136

136:                                              ; preds = %134
  %137 = load ptr, ptr @stdout, align 8, !tbaa !5
  %138 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 4, ptr noundef %137, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7) #3
  %139 = load ptr, ptr @stdout, align 8, !tbaa !5
  %140 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef nonnull @.str.2) #3
  %141 = load ptr, ptr @stdout, align 8, !tbaa !5
  %142 = tail call i32 (i32, ptr, ptr, ...) @cc_fprintf(i32 noundef 9, ptr noundef %141, ptr noundef nonnull @.str.23) #3
  %143 = load ptr, ptr @stdout, align 8, !tbaa !5
  %144 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef nonnull @.str.4) #3
  br label %145

145:                                              ; preds = %136, %134, %123, %125, %26
  %.0.ph = phi i32 [ 1, %26 ], [ 1, %125 ], [ 0, %123 ], [ 0, %134 ], [ 0, %136 ]
  tail call void @json_value_free(ptr noundef nonnull %14) #3
  br label %146

146:                                              ; preds = %4, %15, %145
  %.083 = phi i32 [ %.0.ph, %145 ], [ 1, %4 ], [ 1, %15 ]
  ret i32 %.083
}

declare i32 @fs_exists(ptr noundef) local_unnamed_addr #1

declare i32 @cc_fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare ptr @json_parse_file(ptr noundef) local_unnamed_addr #1

declare ptr @json_value_get_object(ptr noundef) local_unnamed_addr #1

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

declare ptr @parse_repo_name(ptr noundef) local_unnamed_addr #1

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

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

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

declare i32 @json_value_get_type(ptr noundef) local_unnamed_addr #1

declare void @json_value_free(ptr noundef) 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { cold 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass