; LLVM IR from yellow-footed-honeyguide/facad :: src (dir_analytics)

; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.dirent = type { i64, i64, i16, i8, [256 x i8] }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @print_dir_analytics(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.stat, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca [4096 x i8], align 16
  %14 = alloca [4096 x i8], align 16
  %15 = alloca [4096 x i8], align 16
  %16 = alloca [1024 x [256 x i8]], align 16
  %17 = alloca [4096 x i8], align 16
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca [4096 x i8], align 16
  %21 = alloca [4096 x i8], align 16
  %22 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %23 = call i64 @time(ptr noundef null) #6
  store i64 %23, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4096, ptr %13) #6
  call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 4096, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 4096, ptr %15) #6
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 262144, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4096, ptr %17) #6
  call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 4096, i1 false)
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = call ptr @opendir(ptr noundef %24)
  store ptr %25, ptr %3, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %29, label %28

28:                                               ; preds = %1
  call void @perror(ptr noundef @.str)
  store i32 1, ptr %18, align 4
  br label %205

29:                                               ; preds = %1
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
  call void @find_largest_file(ptr noundef %30, ptr noundef %6, ptr noundef %31, i64 noundef 4096)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = call i64 @calculate_total_size(ptr noundef %32)
  store i64 %33, ptr %19, align 8, !tbaa !9
  br label %34

34:                                               ; preds = %144, %142, %29
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = call ptr @readdir(ptr noundef %35)
  store ptr %36, ptr %4, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %145

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4096, ptr %20) #6
  %39 = getelementptr inbounds [4096 x i8], ptr %20, i64 0, i64 0
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.dirent, ptr %41, i32 0, i32 4
  %43 = getelementptr inbounds [256 x i8], ptr %42, i64 0, i64 0
  %44 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %39, i64 noundef 4096, ptr noundef @.str.1, ptr noundef %40, ptr noundef %43) #6
  %45 = getelementptr inbounds [4096 x i8], ptr %20, i64 0, i64 0
  %46 = call i32 @lstat(ptr noundef %45, ptr noundef %5) #6
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %38
  store i32 2, ptr %18, align 4
  br label %142, !llvm.loop !13

49:                                               ; preds = %38
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.dirent, ptr %50, i32 0, i32 4
  %52 = getelementptr inbounds [256 x i8], ptr %51, i64 0, i64 0
  %53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.2) #7
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %61, label %55

55:                                               ; preds = %49
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 4
  %58 = getelementptr inbounds [256 x i8], ptr %57, i64 0, i64 0
  %59 = call i32 @strcmp(ptr noundef %58, ptr noundef @.str.3) #7
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %55, %49
  store i32 2, ptr %18, align 4
  br label %142, !llvm.loop !13

62:                                               ; preds = %55
  %63 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 3
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = and i32 %64, 61440
  %66 = icmp eq i32 %65, 16384
  br i1 %66, label %67, label %70

67:                                               ; preds = %62
  %68 = load i32, ptr %8, align 4, !tbaa !11
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %8, align 4, !tbaa !11
  br label %141

70:                                               ; preds = %62
  %71 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !15
  %73 = and i32 %72, 61440
  %74 = icmp eq i32 %73, 32768
  br i1 %74, label %75, label %140

75:                                               ; preds = %70
  %76 = load i32, ptr %7, align 4, !tbaa !11
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %7, align 4, !tbaa !11
  %78 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 8
  %79 = load i64, ptr %78, align 8, !tbaa !18
  %80 = load i64, ptr %6, align 8, !tbaa !9
  %81 = icmp sgt i64 %79, %80
  br i1 %81, label %82, label %90

82:                                               ; preds = %75
  %83 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 8
  %84 = load i64, ptr %83, align 8, !tbaa !18
  store i64 %84, ptr %6, align 8, !tbaa !9
  %85 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.dirent, ptr %86, i32 0, i32 4
  %88 = getelementptr inbounds [256 x i8], ptr %87, i64 0, i64 0
  %89 = call ptr @strncpy(ptr noundef %85, ptr noundef %88, i64 noundef 4095) #6
  br label %90

90:                                               ; preds = %82, %75
  %91 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 12
  %92 = getelementptr inbounds %struct.timespec, ptr %91, i32 0, i32 0
  %93 = load i64, ptr %92, align 8, !tbaa !19
  %94 = load i64, ptr %11, align 8, !tbaa !9
  %95 = icmp sgt i64 %93, %94
  br i1 %95, label %96, label %105

96:                                               ; preds = %90
  %97 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 12
  %98 = getelementptr inbounds %struct.timespec, ptr %97, i32 0, i32 0
  %99 = load i64, ptr %98, align 8, !tbaa !19
  store i64 %99, ptr %11, align 8, !tbaa !9
  %100 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.dirent, ptr %101, i32 0, i32 4
  %103 = getelementptr inbounds [256 x i8], ptr %102, i64 0, i64 0
  %104 = call ptr @strncpy(ptr noundef %100, ptr noundef %103, i64 noundef 4095) #6
  br label %105

105:                                              ; preds = %96, %90
  %106 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 12
  %107 = getelementptr inbounds %struct.timespec, ptr %106, i32 0, i32 0
  %108 = load i64, ptr %107, align 8, !tbaa !19
  %109 = load i64, ptr %12, align 8, !tbaa !9
  %110 = icmp slt i64 %108, %109
  br i1 %110, label %111, label %120

111:                                              ; preds = %105
  %112 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 12
  %113 = getelementptr inbounds %struct.timespec, ptr %112, i32 0, i32 0
  %114 = load i64, ptr %113, align 8, !tbaa !19
  store i64 %114, ptr %12, align 8, !tbaa !9
  %115 = getelementptr inbounds [4096 x i8], ptr %15, i64 0, i64 0
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.dirent, ptr %116, i32 0, i32 4
  %118 = getelementptr inbounds [256 x i8], ptr %117, i64 0, i64 0
  %119 = call ptr @strncpy(ptr noundef %115, ptr noundef %118, i64 noundef 4095) #6
  br label %120

120:                                              ; preds = %111, %105
  %121 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 8
  %122 = load i64, ptr %121, align 8, !tbaa !18
  %123 = icmp eq i64 %122, 0
  br i1 %123, label %124, label %139

124:                                              ; preds = %120
  %125 = load i32, ptr %9, align 4, !tbaa !11
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [1024 x [256 x i8]], ptr %16, i64 0, i64 %126
  %128 = getelementptr inbounds [256 x i8], ptr %127, i64 0, i64 0
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.dirent, ptr %129, i32 0, i32 4
  %131 = getelementptr inbounds [256 x i8], ptr %130, i64 0, i64 0
  %132 = call ptr @strncpy(ptr noundef %128, ptr noundef %131, i64 noundef 255) #6
  %133 = load i32, ptr %9, align 4, !tbaa !11
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [1024 x [256 x i8]], ptr %16, i64 0, i64 %134
  %136 = getelementptr inbounds [256 x i8], ptr %135, i64 0, i64 255
  store i8 0, ptr %136, align 1, !tbaa !20
  %137 = load i32, ptr %9, align 4, !tbaa !11
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %9, align 4, !tbaa !11
  br label %139

139:                                              ; preds = %124, %120
  br label %140

140:                                              ; preds = %139, %70
  br label %141

141:                                              ; preds = %140, %67
  store i32 0, ptr %18, align 4
  br label %142

142:                                              ; preds = %141, %61, %48
  call void @llvm.lifetime.end.p0(i64 4096, ptr %20) #6
  %143 = load i32, ptr %18, align 4
  switch i32 %143, label %208 [
    i32 0, label %144
    i32 2, label %34
  ]

144:                                              ; preds = %142
  br label %34, !llvm.loop !13

145:                                              ; preds = %34
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = call i32 @closedir(ptr noundef %146)
  %148 = load ptr, ptr %2, align 8, !tbaa !5
  %149 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0
  call void @recursive_dir_scan(ptr noundef %148, ptr noundef %10, i32 noundef 0, ptr noundef %149)
  call void @llvm.lifetime.start.p0(i64 4096, ptr %21) #6
  %150 = getelementptr inbounds [4096 x i8], ptr %21, i64 0, i64 0
  %151 = call ptr @getcwd(ptr noundef %150, i64 noundef 4096) #6
  %152 = icmp eq ptr %151, null
  br i1 %152, label %153, label %154

153:                                              ; preds = %145
  call void @perror(ptr noundef @.str.4)
  store i32 1, ptr %18, align 4
  br label %204

154:                                              ; preds = %145
  %155 = getelementptr inbounds [4096 x i8], ptr %21, i64 0, i64 0
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %155, ptr noundef @.str.7)
  %157 = load i64, ptr %19, align 8, !tbaa !9
  %158 = call ptr @format_size(i64 noundef %157)
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %158)
  %160 = load i32, ptr %8, align 4, !tbaa !11
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %160)
  %162 = load i32, ptr %10, align 4, !tbaa !11
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %162)
  %164 = getelementptr inbounds [4096 x i8], ptr %17, i64 0, i64 0
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %164)
  %166 = load i32, ptr %7, align 4, !tbaa !11
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %166)
  %168 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
  %169 = load i64, ptr %6, align 8, !tbaa !9
  %170 = call ptr @format_size(i64 noundef %169)
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %168, ptr noundef %170)
  %172 = getelementptr inbounds [4096 x i8], ptr %15, i64 0, i64 0
  %173 = load i64, ptr %12, align 8, !tbaa !9
  %174 = call ptr @format_time(i64 noundef %173)
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %172, ptr noundef %174)
  %176 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
  %177 = load i64, ptr %11, align 8, !tbaa !9
  %178 = call ptr @format_time(i64 noundef %177)
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %176, ptr noundef %178)
  %180 = load i32, ptr %9, align 4, !tbaa !11
  %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %180)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %182

182:                                              ; preds = %199, %154
  %183 = load i32, ptr %22, align 4, !tbaa !11
  %184 = load i32, ptr %9, align 4, !tbaa !11
  %185 = icmp slt i32 %183, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %182
  store i32 4, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %202

187:                                              ; preds = %182
  %188 = load i32, ptr %22, align 4, !tbaa !11
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [1024 x [256 x i8]], ptr %16, i64 0, i64 %189
  %191 = getelementptr inbounds [256 x i8], ptr %190, i64 0, i64 0
  %192 = load i32, ptr %22, align 4, !tbaa !11
  %193 = add nsw i32 %192, 1
  %194 = load i32, ptr %9, align 4, !tbaa !11
  %195 = icmp slt i32 %193, %194
  %196 = zext i1 %195 to i64
  %197 = select i1 %195, ptr @.str.18, ptr @.str.19
  %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %191, ptr noundef %197)
  br label %199

199:                                              ; preds = %187
  %200 = load i32, ptr %22, align 4, !tbaa !11
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %22, align 4, !tbaa !11
  br label %182, !llvm.loop !21

202:                                              ; preds = %186
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  store i32 0, ptr %18, align 4
  br label %204

204:                                              ; preds = %202, %153
  call void @llvm.lifetime.end.p0(i64 4096, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %205

205:                                              ; preds = %204, %28
  call void @llvm.lifetime.end.p0(i64 4096, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 262144, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4096, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4096, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4096, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %206 = load i32, ptr %18, align 4
  switch i32 %206, label %208 [
    i32 0, label %207
    i32 1, label %207
  ]

207:                                              ; preds = %205, %205
  ret void

208:                                              ; preds = %205, %142
  unreachable
}

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

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

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

declare ptr @opendir(ptr noundef) #4

declare void @perror(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare hidden i64 @calculate_total_size(ptr noundef) #0

declare ptr @readdir(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind
declare i32 @lstat(ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #2

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

declare i32 @closedir(ptr noundef) #4

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

; Function Attrs: nounwind
declare ptr @getcwd(ptr noundef, i64 noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden ptr @format_size(i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden ptr @format_time(i64 noundef) #0

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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 }
attributes #7 = { nounwind willreturn memory(read) }

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

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


; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }

@.str = external hidden unnamed_addr constant [24 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @print_dir_analytics(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.stat, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca [4096 x i8], align 16
  %6 = alloca [4096 x i8], align 16
  %7 = alloca [4096 x i8], align 16
  %8 = alloca [1024 x [256 x i8]], align 16
  %9 = alloca [4096 x i8], align 16
  %10 = alloca [4096 x i8], align 16
  %11 = alloca [4096 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 0, ptr %4, align 4, !tbaa !9
  %12 = tail call i64 @time(ptr noundef null) #8
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %5) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %5, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %6) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %6, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %7) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %7, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 262144, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %9) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %9, i8 0, i64 4096, i1 false)
  %13 = tail call ptr @opendir(ptr noundef %0)
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %14, label %15

14:                                               ; preds = %1
  tail call void @perror(ptr noundef nonnull @.str) #9
  br label %92

15:                                               ; preds = %1
  call void @find_largest_file(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i64 noundef 4096)
  %16 = call i64 @calculate_total_size(ptr noundef %0)
  %17 = call ptr @readdir(ptr noundef nonnull %13) #8
  %.not5355 = icmp eq ptr %17, null
  br i1 %.not5355, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %15
  %18 = getelementptr inbounds i8, ptr %2, i64 24
  %19 = getelementptr inbounds i8, ptr %2, i64 48
  %20 = getelementptr inbounds i8, ptr %2, i64 88
  br label %21

21:                                               ; preds = %.lr.ph, %61
  %22 = phi ptr [ %17, %.lr.ph ], [ %62, %61 ]
  %.03360 = phi i32 [ 0, %.lr.ph ], [ %.2, %61 ]
  %.03459 = phi i64 [ %12, %.lr.ph ], [ %.3, %61 ]
  %.03758 = phi i64 [ 0, %.lr.ph ], [ %.340, %61 ]
  %.04157 = phi i32 [ 0, %.lr.ph ], [ %.243, %61 ]
  %.04456 = phi i32 [ 0, %.lr.ph ], [ %.246, %61 ]
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %10) #8
  %23 = getelementptr inbounds i8, ptr %22, i64 19
  %24 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %10, i64 noundef 4096, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %23) #8
  %25 = call i32 @lstat(ptr noundef nonnull %10, ptr noundef nonnull %2) #8
  %.not54 = icmp eq i32 %25, 0
  br i1 %.not54, label %26, label %61, !llvm.loop !11

26:                                               ; preds = %21
  %27 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @.str.2) #10
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %61, label %29, !llvm.loop !11

29:                                               ; preds = %26
  %30 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @.str.3) #10
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %61, label %32, !llvm.loop !11

32:                                               ; preds = %29
  %33 = load i32, ptr %18, align 8, !tbaa !13
  %34 = trunc i32 %33 to i16
  %trunc = and i16 %34, -4096
  switch i16 %trunc, label %61 [
    i16 16384, label %35
    i16 -32768, label %37
  ]

35:                                               ; preds = %32
  %36 = add nsw i32 %.04456, 1
  br label %61

37:                                               ; preds = %32
  %38 = add nsw i32 %.03360, 1
  %39 = load i64, ptr %19, align 8, !tbaa !16
  %40 = load i64, ptr %3, align 8, !tbaa !5
  %41 = icmp sgt i64 %39, %40
  br i1 %41, label %42, label %44

42:                                               ; preds = %37
  store i64 %39, ptr %3, align 8, !tbaa !5
  %43 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %23, i64 noundef 4095) #8
  br label %44

44:                                               ; preds = %42, %37
  %45 = load i64, ptr %20, align 8, !tbaa !17
  %46 = icmp sgt i64 %45, %.03758
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %23, i64 noundef 4095) #8
  br label %49

49:                                               ; preds = %47, %44
  %.138 = phi i64 [ %45, %47 ], [ %.03758, %44 ]
  %50 = icmp slt i64 %45, %.03459
  br i1 %50, label %51, label %53

51:                                               ; preds = %49
  %52 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) %23, i64 noundef 4095) #8
  br label %53

53:                                               ; preds = %51, %49
  %.135 = phi i64 [ %45, %51 ], [ %.03459, %49 ]
  %54 = icmp eq i64 %39, 0
  br i1 %54, label %55, label %61

55:                                               ; preds = %53
  %56 = sext i32 %.04157 to i64
  %57 = getelementptr inbounds [1024 x [256 x i8]], ptr %8, i64 0, i64 %56
  %58 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %57, ptr noundef nonnull dereferenceable(1) %23, i64 noundef 255) #8
  %59 = getelementptr inbounds i8, ptr %57, i64 255
  store i8 0, ptr %59, align 1, !tbaa !18
  %60 = add nsw i32 %.04157, 1
  br label %61

61:                                               ; preds = %35, %53, %55, %32, %26, %29, %21
  %.246 = phi i32 [ %.04456, %21 ], [ %.04456, %29 ], [ %.04456, %26 ], [ %36, %35 ], [ %.04456, %55 ], [ %.04456, %53 ], [ %.04456, %32 ]
  %.243 = phi i32 [ %.04157, %21 ], [ %.04157, %29 ], [ %.04157, %26 ], [ %.04157, %35 ], [ %60, %55 ], [ %.04157, %53 ], [ %.04157, %32 ]
  %.340 = phi i64 [ %.03758, %21 ], [ %.03758, %29 ], [ %.03758, %26 ], [ %.03758, %35 ], [ %.138, %55 ], [ %.138, %53 ], [ %.03758, %32 ]
  %.3 = phi i64 [ %.03459, %21 ], [ %.03459, %29 ], [ %.03459, %26 ], [ %.03459, %35 ], [ %.135, %55 ], [ %.135, %53 ], [ %.03459, %32 ]
  %.2 = phi i32 [ %.03360, %21 ], [ %.03360, %29 ], [ %.03360, %26 ], [ %.03360, %35 ], [ %38, %55 ], [ %38, %53 ], [ %.03360, %32 ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %10) #8
  %62 = call ptr @readdir(ptr noundef nonnull %13) #8
  %.not53 = icmp eq ptr %62, null
  br i1 %.not53, label %._crit_edge, label %21

._crit_edge:                                      ; preds = %61, %15
  %.044.lcssa = phi i32 [ 0, %15 ], [ %.246, %61 ]
  %.041.lcssa = phi i32 [ 0, %15 ], [ %.243, %61 ]
  %.037.lcssa = phi i64 [ 0, %15 ], [ %.340, %61 ]
  %.034.lcssa = phi i64 [ %12, %15 ], [ %.3, %61 ]
  %.033.lcssa = phi i32 [ 0, %15 ], [ %.2, %61 ]
  %63 = call i32 @closedir(ptr noundef nonnull %13)
  call void @recursive_dir_scan(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %11) #8
  %64 = call ptr @getcwd(ptr noundef nonnull %11, i64 noundef 4096) #8
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %67

66:                                               ; preds = %._crit_edge
  call void @perror(ptr noundef nonnull @.str.4) #9
  br label %91

67:                                               ; preds = %._crit_edge
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull %11, ptr noundef nonnull @.str.7)
  %69 = call ptr @format_size(i64 noundef %16)
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %69)
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %.044.lcssa)
  %72 = load i32, ptr %4, align 4, !tbaa !9
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %72)
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %9)
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %.033.lcssa)
  %76 = load i64, ptr %3, align 8, !tbaa !5
  %77 = call ptr @format_size(i64 noundef %76)
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %5, ptr noundef %77)
  %79 = call ptr @format_time(i64 noundef %.034.lcssa)
  %80 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull %7, ptr noundef %79)
  %81 = call ptr @format_time(i64 noundef %.037.lcssa)
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, ptr noundef nonnull %6, ptr noundef %81)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %.041.lcssa)
  %84 = icmp sgt i32 %.041.lcssa, 0
  br i1 %84, label %.lr.ph67.preheader, label %._crit_edge68

.lr.ph67.preheader:                               ; preds = %67
  %85 = zext nneg i32 %.041.lcssa to i64
  %wide.trip.count = zext nneg i32 %.041.lcssa to i64
  br label %.lr.ph67

._crit_edge68:                                    ; preds = %.lr.ph67, %67
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  br label %91

.lr.ph67:                                         ; preds = %.lr.ph67.preheader, %.lr.ph67
  %indvars.iv = phi i64 [ 0, %.lr.ph67.preheader ], [ %indvars.iv.next, %.lr.ph67 ]
  %87 = getelementptr inbounds [1024 x [256 x i8]], ptr %8, i64 0, i64 %indvars.iv
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %88 = icmp ult i64 %indvars.iv.next, %85
  %89 = select i1 %88, ptr @.str.18, ptr @.str.19
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, ptr noundef nonnull %87, ptr noundef nonnull %89)
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge68, label %.lr.ph67, !llvm.loop !19

91:                                               ; preds = %._crit_edge68, %66
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %11) #8
  br label %92

92:                                               ; preds = %91, %14
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #8
  ret void
}

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

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @opendir(ptr nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #4

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

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

declare ptr @readdir(ptr noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #7

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

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

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

; Function Attrs: nounwind
declare ptr @getcwd(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { "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 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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 }
attributes #9 = { cold }
attributes #10 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 24}
!14 = !{!"stat", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !15, i64 72, !15, i64 88, !15, i64 104, !7, i64 120}
!15 = !{!"timespec", !6, i64 0, !6, i64 8}
!16 = !{!14, !6, i64 48}
!17 = !{!14, !6, i64 88}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !12}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass