; LLVM IR from openappsec/openappsec :: external/yajl/test/parsing (yajl_test)

; 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.yajl_alloc_funcs = type { ptr, ptr, ptr, ptr }
%struct.yajl_callbacks = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.yajlTestMemoryContext = type { i32, i32 }

@main.fileData = external hidden global ptr, align 8
@__const.main.allocFuncs = external hidden unnamed_addr constant %struct.yajl_alloc_funcs, align 8
@callbacks = external hidden global %struct.yajl_callbacks, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@stdout = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.yajlTestMemoryContext, align 4
  %15 = alloca %struct.yajl_alloc_funcs, align 8
  %16 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store i64 2048, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  call void @llvm.memset.p0.i64(ptr align 4 %14, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 @__const.main.allocFuncs, i64 32, i1 false)
  %17 = getelementptr inbounds %struct.yajl_alloc_funcs, ptr %15, i32 0, i32 3
  store ptr %14, ptr %17, align 8, !tbaa !13
  %18 = call ptr @yajl_alloc(ptr noundef @callbacks, ptr noundef %15, ptr noundef null)
  store ptr %18, ptr %6, align 8, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %160, %2
  %20 = load i32, ptr %12, align 4, !tbaa !5
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %23, label %163

23:                                               ; preds = %19
  %24 = load ptr, ptr %5, align 8, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds ptr, ptr %24, i64 %26
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call i32 @strcmp(ptr noundef @.str, ptr noundef %28) #11
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %34, label %31

31:                                               ; preds = %23
  %32 = load ptr, ptr %6, align 8, !tbaa !9
  %33 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %32, i32 noundef 1, i32 noundef 1)
  br label %159

34:                                               ; preds = %23
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = load i32, ptr %12, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %39) #11
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %116, label %42

42:                                               ; preds = %34
  %43 = load i32, ptr %12, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %12, align 4, !tbaa !5
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = icmp sge i32 %44, %45
  br i1 %46, label %47, label %51

47:                                               ; preds = %42
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  %49 = getelementptr inbounds ptr, ptr %48, i64 0
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  call void @usage(ptr noundef %50)
  br label %51

51:                                               ; preds = %47, %42
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %98, %51
  %53 = load i32, ptr %13, align 4, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = load i32, ptr %12, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds ptr, ptr %54, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = call i64 @strlen(ptr noundef %58) #11
  %60 = trunc i64 %59 to i32
  %61 = icmp slt i32 %53, %60
  br i1 %61, label %62, label %101

62:                                               ; preds = %52
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = load i32, ptr %13, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %67, i64 %69
  %71 = load i8, ptr %70, align 1, !tbaa !15
  %72 = sext i8 %71 to i32
  %73 = icmp sle i32 %72, 57
  br i1 %73, label %74, label %87

74:                                               ; preds = %62
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds i8, ptr %79, i64 %81
  %83 = load i8, ptr %82, align 1, !tbaa !15
  %84 = sext i8 %83 to i32
  %85 = icmp sge i32 %84, 48
  br i1 %85, label %86, label %87

86:                                               ; preds = %74
  br label %98

87:                                               ; preds = %74, %62
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !9
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds ptr, ptr %89, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.2, ptr noundef %93) #10
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %95, i64 0
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  call void @usage(ptr noundef %97)
  br label %98

98:                                               ; preds = %87, %86
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %13, align 4, !tbaa !5
  br label %52, !llvm.loop !16

101:                                              ; preds = %52
  %102 = load ptr, ptr %5, align 8, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds ptr, ptr %102, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = call i32 @atoi(ptr noundef %106) #11
  %108 = sext i32 %107 to i64
  store i64 %108, ptr %9, align 8, !tbaa !11
  %109 = load i64, ptr %9, align 8, !tbaa !11
  %110 = icmp ne i64 %109, 0
  br i1 %110, label %115, label %111

111:                                              ; preds = %101
  %112 = load ptr, ptr @stderr, align 8, !tbaa !9
  %113 = load i64, ptr %9, align 8, !tbaa !11
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.3, i64 noundef %113) #10
  br label %115

115:                                              ; preds = %111, %101
  br label %158

116:                                              ; preds = %34
  %117 = load ptr, ptr %5, align 8, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds ptr, ptr %117, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !9
  %122 = call i32 @strcmp(ptr noundef @.str.4, ptr noundef %121) #11
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %127, label %124

124:                                              ; preds = %116
  %125 = load ptr, ptr %6, align 8, !tbaa !9
  %126 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %125, i32 noundef 4, i32 noundef 1)
  br label %157

127:                                              ; preds = %116
  %128 = load ptr, ptr %5, align 8, !tbaa !9
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds ptr, ptr %128, i64 %130
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef %132) #11
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %138, label %135

135:                                              ; preds = %127
  %136 = load ptr, ptr %6, align 8, !tbaa !9
  %137 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %136, i32 noundef 8, i32 noundef 1)
  br label %156

138:                                              ; preds = %127
  %139 = load ptr, ptr %5, align 8, !tbaa !9
  %140 = load i32, ptr %12, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !9
  %144 = call i32 @strcmp(ptr noundef @.str.6, ptr noundef %143) #11
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %149, label %146

146:                                              ; preds = %138
  %147 = load ptr, ptr %6, align 8, !tbaa !9
  %148 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %147, i32 noundef 16, i32 noundef 1)
  br label %155

149:                                              ; preds = %138
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds ptr, ptr %150, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  store ptr %154, ptr %7, align 8, !tbaa !9
  br label %163

155:                                              ; preds = %146
  br label %156

156:                                              ; preds = %155, %135
  br label %157

157:                                              ; preds = %156, %124
  br label %158

158:                                              ; preds = %157, %115
  br label %159

159:                                              ; preds = %158, %31
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %12, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %12, align 4, !tbaa !5
  br label %19, !llvm.loop !18

163:                                              ; preds = %149, %19
  %164 = load i64, ptr %9, align 8, !tbaa !11
  %165 = call noalias ptr @malloc(i64 noundef %164) #12
  store ptr %165, ptr @main.fileData, align 8, !tbaa !9
  %166 = load ptr, ptr @main.fileData, align 8, !tbaa !9
  %167 = icmp eq ptr %166, null
  br i1 %167, label %168, label %173

168:                                              ; preds = %163
  %169 = load ptr, ptr @stderr, align 8, !tbaa !9
  %170 = load i64, ptr %9, align 8, !tbaa !11
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.7, i64 noundef %170) #10
  %172 = load ptr, ptr %6, align 8, !tbaa !9
  call void @yajl_free(ptr noundef %172)
  call void @exit(i32 noundef 2) #13
  unreachable

173:                                              ; preds = %163
  %174 = load ptr, ptr %7, align 8, !tbaa !9
  %175 = icmp ne ptr %174, null
  br i1 %175, label %176, label %179

176:                                              ; preds = %173
  %177 = load ptr, ptr %7, align 8, !tbaa !9
  %178 = call noalias ptr @fopen(ptr noundef %177, ptr noundef @.str.8)
  store ptr %178, ptr %8, align 8, !tbaa !9
  br label %181

179:                                              ; preds = %173
  %180 = load ptr, ptr @stdin, align 8, !tbaa !9
  store ptr %180, ptr %8, align 8, !tbaa !9
  br label %181

181:                                              ; preds = %179, %176
  br label %182

182:                                              ; preds = %206, %181
  %183 = load ptr, ptr @main.fileData, align 8, !tbaa !9
  %184 = load i64, ptr %9, align 8, !tbaa !11
  %185 = load ptr, ptr %8, align 8, !tbaa !9
  %186 = call i64 @fread(ptr noundef %183, i64 noundef 1, i64 noundef %184, ptr noundef %185)
  store i64 %186, ptr %11, align 8, !tbaa !11
  %187 = load i64, ptr %11, align 8, !tbaa !11
  %188 = icmp eq i64 %187, 0
  br i1 %188, label %189, label %198

189:                                              ; preds = %182
  %190 = load ptr, ptr @stdin, align 8, !tbaa !9
  %191 = call i32 @feof(ptr noundef %190) #10
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %197, label %193

193:                                              ; preds = %189
  %194 = load ptr, ptr @stderr, align 8, !tbaa !9
  %195 = load ptr, ptr %7, align 8, !tbaa !9
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.9, ptr noundef %195) #10
  br label %197

197:                                              ; preds = %193, %189
  br label %207

198:                                              ; preds = %182
  %199 = load ptr, ptr %6, align 8, !tbaa !9
  %200 = load ptr, ptr @main.fileData, align 8, !tbaa !9
  %201 = load i64, ptr %11, align 8, !tbaa !11
  %202 = call i32 @yajl_parse(ptr noundef %199, ptr noundef %200, i64 noundef %201)
  store i32 %202, ptr %10, align 4, !tbaa !5
  %203 = load i32, ptr %10, align 4, !tbaa !5
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %206

205:                                              ; preds = %198
  br label %207

206:                                              ; preds = %198
  br label %182

207:                                              ; preds = %205, %197
  %208 = load ptr, ptr %6, align 8, !tbaa !9
  %209 = call i32 @yajl_complete_parse(ptr noundef %208)
  store i32 %209, ptr %10, align 4, !tbaa !5
  %210 = load i32, ptr %10, align 4, !tbaa !5
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %224

212:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %213 = load ptr, ptr %6, align 8, !tbaa !9
  %214 = load ptr, ptr @main.fileData, align 8, !tbaa !9
  %215 = load i64, ptr %11, align 8, !tbaa !11
  %216 = call ptr @yajl_get_error(ptr noundef %213, i32 noundef 0, ptr noundef %214, i64 noundef %215)
  store ptr %216, ptr %16, align 8, !tbaa !9
  %217 = load ptr, ptr @stdout, align 8, !tbaa !9
  %218 = call i32 @fflush(ptr noundef %217)
  %219 = load ptr, ptr @stderr, align 8, !tbaa !9
  %220 = load ptr, ptr %16, align 8, !tbaa !9
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef @.str.10, ptr noundef %220) #10
  %222 = load ptr, ptr %6, align 8, !tbaa !9
  %223 = load ptr, ptr %16, align 8, !tbaa !9
  call void @yajl_free_error(ptr noundef %222, ptr noundef %223)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %224

224:                                              ; preds = %212, %207
  %225 = load ptr, ptr %6, align 8, !tbaa !9
  call void @yajl_free(ptr noundef %225)
  %226 = load ptr, ptr @main.fileData, align 8, !tbaa !9
  call void @free(ptr noundef %226) #10
  %227 = load ptr, ptr %7, align 8, !tbaa !9
  %228 = icmp ne ptr %227, null
  br i1 %228, label %229, label %232

229:                                              ; preds = %224
  %230 = load ptr, ptr %8, align 8, !tbaa !9
  %231 = call i32 @fclose(ptr noundef %230)
  br label %232

232:                                              ; preds = %229, %224
  %233 = load ptr, ptr @stderr, align 8, !tbaa !9
  %234 = call i32 @fflush(ptr noundef %233)
  %235 = load ptr, ptr @stdout, align 8, !tbaa !9
  %236 = call i32 @fflush(ptr noundef %235)
  %237 = getelementptr inbounds %struct.yajlTestMemoryContext, ptr %14, i32 0, i32 1
  %238 = load i32, ptr %237, align 4, !tbaa !19
  %239 = getelementptr inbounds %struct.yajlTestMemoryContext, ptr %14, i32 0, i32 0
  %240 = load i32, ptr %239, align 4, !tbaa !21
  %241 = sub i32 %238, %240
  %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %241)
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  ret i32 0
}

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

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

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

declare ptr @yajl_alloc(ptr noundef, ptr noundef, ptr noundef) #4

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

declare i32 @yajl_config(ptr noundef, i32 noundef, ...) #4

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #5

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #7

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #8

declare void @yajl_free(ptr noundef) #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #9

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @feof(ptr noundef) #6

declare i32 @yajl_parse(ptr noundef, ptr noundef, i64 noundef) #4

declare i32 @yajl_complete_parse(ptr noundef) #4

declare ptr @yajl_get_error(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #4

declare i32 @fflush(ptr noundef) #4

declare void @yajl_free_error(ptr noundef, ptr noundef) #4

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

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

declare i32 @fclose(ptr noundef) #4

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint nounwind willreturn memory(read) 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 #8 = { nounwind allocsize(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 #9 = { 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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { nounwind allocsize(0) }
attributes #13 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!20, !6, i64 4}
!20 = !{!"", !6, i64 0, !6, i64 4}
!21 = !{!20, !6, 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"

%struct.yajl_alloc_funcs = type { ptr, ptr, ptr, ptr }
%struct.yajl_callbacks = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.yajlTestMemoryContext = type { i32, i32 }

@main.fileData = external hidden local_unnamed_addr global ptr, align 8
@__const.main.allocFuncs = external hidden unnamed_addr constant %struct.yajl_alloc_funcs, align 8
@callbacks = external hidden global %struct.yajl_callbacks, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.yajlTestMemoryContext, align 8
  %4 = alloca %struct.yajl_alloc_funcs, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  store i64 0, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) @__const.main.allocFuncs, i64 24, i1 false)
  %5 = getelementptr inbounds i8, ptr %4, i64 24
  store ptr %3, ptr %5, align 8, !tbaa !5
  %6 = call ptr @yajl_alloc(ptr noundef nonnull @callbacks, ptr noundef nonnull %4, ptr noundef null) #10
  %7 = icmp sgt i32 %0, 1
  br i1 %7, label %.lr.ph86, label %._crit_edge87

.lr.ph86:                                         ; preds = %2, %57
  %.06184 = phi i32 [ %58, %57 ], [ 1, %2 ]
  %.06383 = phi i64 [ %.164, %57 ], [ 2048, %2 ]
  %8 = sext i32 %.06184 to i64
  %9 = getelementptr inbounds ptr, ptr %1, i64 %8
  %10 = load ptr, ptr %9, align 8, !tbaa !10
  %11 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull dereferenceable(1) %10) #11
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %12, label %14

12:                                               ; preds = %.lr.ph86
  %13 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %6, i32 noundef 1, i32 noundef 1) #10
  br label %57

14:                                               ; preds = %.lr.ph86
  %15 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull dereferenceable(1) %10) #11
  %.not70 = icmp eq i32 %15, 0
  br i1 %.not70, label %16, label %45

16:                                               ; preds = %14
  %17 = add nsw i32 %.06184, 1
  %.not71 = icmp slt i32 %17, %0
  br i1 %.not71, label %20, label %18

18:                                               ; preds = %16
  %19 = load ptr, ptr %1, align 8, !tbaa !10
  call void @usage(ptr noundef %19)
  br label %20

20:                                               ; preds = %18, %16
  %21 = sext i32 %17 to i64
  %22 = getelementptr inbounds ptr, ptr %1, i64 %21
  %23 = load ptr, ptr %22, align 8, !tbaa !10
  %24 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %23) #11
  %25 = trunc i64 %24 to i32
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %20, %35
  %27 = phi ptr [ %36, %35 ], [ %23, %20 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %35 ], [ 0, %20 ]
  %28 = getelementptr inbounds i8, ptr %27, i64 %indvars.iv
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = add i8 %29, -48
  %or.cond = icmp ult i8 %30, 10
  br i1 %or.cond, label %35, label %31

31:                                               ; preds = %.lr.ph
  %32 = load ptr, ptr @stderr, align 8, !tbaa !10
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.2, ptr noundef nonnull %27) #12
  %34 = load ptr, ptr %1, align 8, !tbaa !10
  call void @usage(ptr noundef %34)
  %.pre = load ptr, ptr %22, align 8, !tbaa !10
  br label %35

35:                                               ; preds = %.lr.ph, %31
  %36 = phi ptr [ %27, %.lr.ph ], [ %.pre, %31 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %36) #11
  %sext = shl i64 %37, 32
  %38 = ashr exact i64 %sext, 32
  %39 = icmp slt i64 %indvars.iv.next, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %35, %20
  %.lcssa81 = phi ptr [ %23, %20 ], [ %36, %35 ]
  %40 = call i32 @atoi(ptr nocapture noundef %.lcssa81) #11
  %41 = sext i32 %40 to i64
  %.not72 = icmp eq i32 %40, 0
  br i1 %.not72, label %42, label %57

42:                                               ; preds = %._crit_edge
  %43 = load ptr, ptr @stderr, align 8, !tbaa !10
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.3, i64 noundef 0) #12
  br label %57

45:                                               ; preds = %14
  %46 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull dereferenceable(1) %10) #11
  %.not73 = icmp eq i32 %46, 0
  br i1 %.not73, label %47, label %49

47:                                               ; preds = %45
  %48 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %6, i32 noundef 4, i32 noundef 1) #10
  br label %57

49:                                               ; preds = %45
  %50 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull dereferenceable(1) %10) #11
  %.not74 = icmp eq i32 %50, 0
  br i1 %.not74, label %51, label %53

51:                                               ; preds = %49
  %52 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %6, i32 noundef 8, i32 noundef 1) #10
  br label %57

53:                                               ; preds = %49
  %54 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef nonnull dereferenceable(1) %10) #11
  %.not75 = icmp eq i32 %54, 0
  br i1 %.not75, label %55, label %._crit_edge87

55:                                               ; preds = %53
  %56 = call i32 (ptr, i32, ...) @yajl_config(ptr noundef %6, i32 noundef 16, i32 noundef 1) #10
  br label %57

57:                                               ; preds = %12, %47, %55, %51, %._crit_edge, %42
  %.164 = phi i64 [ %.06383, %55 ], [ %.06383, %51 ], [ %.06383, %47 ], [ %41, %._crit_edge ], [ 0, %42 ], [ %.06383, %12 ]
  %.1 = phi i32 [ %.06184, %55 ], [ %.06184, %51 ], [ %.06184, %47 ], [ %17, %._crit_edge ], [ %17, %42 ], [ %.06184, %12 ]
  %58 = add nsw i32 %.1, 1
  %59 = icmp slt i32 %58, %0
  br i1 %59, label %.lr.ph86, label %._crit_edge87, !llvm.loop !14

._crit_edge87:                                    ; preds = %57, %53, %2
  %.063.lcssa = phi i64 [ 2048, %2 ], [ %.06383, %53 ], [ %.164, %57 ]
  %.0 = phi ptr [ null, %2 ], [ %10, %53 ], [ null, %57 ]
  %60 = call noalias ptr @malloc(i64 noundef %.063.lcssa) #13
  store ptr %60, ptr @main.fileData, align 8, !tbaa !10
  %61 = icmp eq ptr %60, null
  br i1 %61, label %62, label %65

62:                                               ; preds = %._crit_edge87
  %63 = load ptr, ptr @stderr, align 8, !tbaa !10
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.7, i64 noundef %.063.lcssa) #12
  call void @yajl_free(ptr noundef %6) #10
  call void @exit(i32 noundef 2) #14
  unreachable

65:                                               ; preds = %._crit_edge87
  %.not76 = icmp eq ptr %.0, null
  br i1 %.not76, label %68, label %66

66:                                               ; preds = %65
  %67 = call noalias ptr @fopen(ptr noundef nonnull %.0, ptr noundef nonnull @.str.8)
  br label %70

68:                                               ; preds = %65
  %69 = load ptr, ptr @stdin, align 8, !tbaa !10
  br label %70

70:                                               ; preds = %68, %66
  %.062 = phi ptr [ %67, %66 ], [ %69, %68 ]
  br label %71

71:                                               ; preds = %81, %70
  %72 = load ptr, ptr @main.fileData, align 8, !tbaa !10
  %73 = call i64 @fread(ptr noundef %72, i64 noundef 1, i64 noundef %.063.lcssa, ptr noundef %.062)
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %75, label %81

75:                                               ; preds = %71
  %76 = load ptr, ptr @stdin, align 8, !tbaa !10
  %77 = call i32 @feof(ptr noundef %76) #10
  %.not78 = icmp eq i32 %77, 0
  br i1 %.not78, label %78, label %.loopexit

78:                                               ; preds = %75
  %79 = load ptr, ptr @stderr, align 8, !tbaa !10
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull @.str.9, ptr noundef %.0) #12
  br label %.loopexit

81:                                               ; preds = %71
  %82 = load ptr, ptr @main.fileData, align 8, !tbaa !10
  %83 = call i32 @yajl_parse(ptr noundef %6, ptr noundef %82, i64 noundef %73) #10
  %.not77 = icmp eq i32 %83, 0
  br i1 %.not77, label %71, label %.loopexit

.loopexit:                                        ; preds = %81, %75, %78
  %84 = call i32 @yajl_complete_parse(ptr noundef %6) #10
  %.not79 = icmp eq i32 %84, 0
  br i1 %.not79, label %92, label %85

85:                                               ; preds = %.loopexit
  %86 = load ptr, ptr @main.fileData, align 8, !tbaa !10
  %87 = call ptr @yajl_get_error(ptr noundef %6, i32 noundef 0, ptr noundef %86, i64 noundef %73) #10
  %88 = load ptr, ptr @stdout, align 8, !tbaa !10
  %89 = call i32 @fflush(ptr noundef %88)
  %90 = load ptr, ptr @stderr, align 8, !tbaa !10
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.10, ptr noundef %87) #12
  call void @yajl_free_error(ptr noundef %6, ptr noundef %87) #10
  br label %92

92:                                               ; preds = %85, %.loopexit
  call void @yajl_free(ptr noundef %6) #10
  %93 = load ptr, ptr @main.fileData, align 8, !tbaa !10
  call void @free(ptr noundef %93) #10
  br i1 %.not76, label %96, label %94

94:                                               ; preds = %92
  %95 = call i32 @fclose(ptr noundef %.062)
  br label %96

96:                                               ; preds = %94, %92
  %97 = load ptr, ptr @stderr, align 8, !tbaa !10
  %98 = call i32 @fflush(ptr noundef %97)
  %99 = load ptr, ptr @stdout, align 8, !tbaa !10
  %100 = call i32 @fflush(ptr noundef %99)
  %101 = getelementptr inbounds i8, ptr %3, i64 4
  %102 = load i32, ptr %101, align 4, !tbaa !15
  %103 = load i32, ptr %3, align 8, !tbaa !18
  %104 = sub i32 %102, %103
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %104)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  ret i32 0
}

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

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

declare ptr @yajl_alloc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

declare i32 @yajl_config(ptr noundef, i32 noundef, ...) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #7

declare void @yajl_free(ptr noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #8

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @feof(ptr nocapture noundef) local_unnamed_addr #5

declare i32 @yajl_parse(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare i32 @yajl_complete_parse(ptr noundef) local_unnamed_addr #3

declare ptr @yajl_get_error(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5

declare void @yajl_free_error(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #7 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { cold nounwind }
attributes #13 = { nounwind allocsize(0) }
attributes #14 = { 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 24}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !17, i64 4}
!16 = !{!"", !17, i64 0, !17, i64 4}
!17 = !{!"int", !8, i64 0}
!18 = !{!16, !17, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass