; LLVM IR from bkaradzic/bgfx :: 3rdparty/fcpp (cpp2)

; 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.Global = type { i32, i32, ptr, ptr, i32, i32, i32, ptr, i32, i32, i32, i32, [513 x i8], ptr, i8, i8, i8, i8, i8, [32 x i8], ptr, [20 x ptr], ptr, [20 x ptr], [20 x i8], i32, [5 x ptr], [5 x ptr], i8, ptr, [1025 x i8], ptr, [31 x ptr], i32, ptr, [64 x ptr], i32, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, i8, ptr, i64, i8, i8, i8, i8, i8, i8, ptr, [20 x ptr], i32, i8, i8, i8, ptr }
%struct.fileinfo = type { ptr, i32, ptr, ptr, ptr, ptr, i32, [1 x i8] }

@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 x i8], align 1

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

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #1

declare void @fpp_cerror(ptr noundef, i32 noundef, ...) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @fpp_openinclude(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca [512 x i8], align 16
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 512, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 0
  %14 = load i8, ptr %13, align 1, !tbaa !11
  %15 = sext i8 %14 to i32
  %16 = icmp eq i32 %15, 47
  br i1 %16, label %17, label %24

17:                                               ; preds = %3
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = call i32 @fpp_openfile(ptr noundef %18, ptr noundef %19)
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %23, label %22

22:                                               ; preds = %17
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %111

23:                                               ; preds = %17
  br label %24

24:                                               ; preds = %23, %3
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %57

27:                                               ; preds = %24
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.Global, ptr %28, i32 0, i32 64
  %30 = load i8, ptr %29, align 2, !tbaa !12
  %31 = sext i8 %30 to i32
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %57

33:                                               ; preds = %27
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Global, ptr %34, i32 0, i32 7
  %36 = load ptr, ptr %35, align 8, !tbaa !15
  %37 = getelementptr inbounds %struct.fileinfo, ptr %36, i32 0, i32 4
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  %39 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %40 = call i32 @fpp_hasdirectory(ptr noundef %38, ptr noundef %39)
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %46

42:                                               ; preds = %33
  %43 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = call ptr @strcat(ptr noundef %43, ptr noundef %44) #5
  br label %50

46:                                               ; preds = %33
  %47 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = call ptr @strcpy(ptr noundef %47, ptr noundef %48) #5
  br label %50

50:                                               ; preds = %46, %42
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %53 = call i32 @fpp_openfile(ptr noundef %51, ptr noundef %52)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %111

56:                                               ; preds = %50
  br label %57

57:                                               ; preds = %56, %27, %24
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.Global, ptr %58, i32 0, i32 21
  %60 = getelementptr inbounds [20 x ptr], ptr %59, i64 0, i64 0
  store ptr %60, ptr %8, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %107, %57
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.Global, ptr %63, i32 0, i32 22
  %65 = load ptr, ptr %64, align 8, !tbaa !18
  %66 = icmp ult ptr %62, %65
  br i1 %66, label %67, label %110

67:                                               ; preds = %61
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = call i64 @strlen(ptr noundef %69) #6
  store i64 %70, ptr %10, align 8, !tbaa !19
  %71 = load i64, ptr %10, align 8, !tbaa !19
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = call i64 @strlen(ptr noundef %72) #6
  %74 = add i64 %71, %73
  %75 = icmp uge i64 %74, 512
  br i1 %75, label %76, label %78

76:                                               ; preds = %67
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, i32, ...) @fpp_cerror(ptr noundef %77, i32 noundef 55)
  store i32 3, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %111

78:                                               ; preds = %67
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = load i64, ptr %10, align 8, !tbaa !19
  %82 = sub i64 %81, 1
  %83 = getelementptr inbounds i8, ptr %80, i64 %82
  %84 = load i8, ptr %83, align 1, !tbaa !11
  %85 = sext i8 %84 to i32
  %86 = icmp ne i32 %85, 47
  br i1 %86, label %87, label %93

87:                                               ; preds = %78
  %88 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %88, ptr noundef @.str.15, ptr noundef %90, ptr noundef %91) #5
  br label %99

93:                                               ; preds = %78
  %94 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.16, ptr noundef %96, ptr noundef %97) #5
  br label %99

99:                                               ; preds = %93, %87
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0
  %102 = call i32 @fpp_openfile(ptr noundef %100, ptr noundef %101)
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %105, label %104

104:                                              ; preds = %99
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %111

105:                                              ; preds = %99
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds ptr, ptr %108, i32 1
  store ptr %109, ptr %8, align 8, !tbaa !5
  br label %61, !llvm.loop !20

110:                                              ; preds = %61
  store i32 4, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %111

111:                                              ; preds = %110, %104, %76, %55, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 512, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %112 = load i32, ptr %4, align 4
  ret i32 %112
}

declare i32 @fpp_openfile(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @fpp_hasdirectory(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 3166}
!13 = !{!"Global", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !7, i64 64, !6, i64 584, !7, i64 592, !7, i64 593, !7, i64 594, !7, i64 595, !7, i64 596, !7, i64 597, !6, i64 632, !7, i64 640, !6, i64 800, !7, i64 808, !7, i64 968, !10, i64 988, !7, i64 992, !7, i64 1032, !7, i64 1072, !6, i64 1080, !7, i64 1088, !6, i64 2120, !7, i64 2128, !10, i64 2376, !6, i64 2384, !7, i64 2392, !10, i64 2904, !6, i64 2912, !6, i64 2920, !6, i64 2928, !6, i64 2936, !6, i64 2944, !6, i64 2952, !7, i64 2960, !7, i64 2961, !7, i64 2962, !7, i64 2963, !7, i64 2964, !7, i64 2965, !7, i64 2966, !7, i64 2967, !6, i64 2968, !14, i64 2976, !7, i64 2984, !7, i64 2985, !7, i64 2986, !7, i64 2987, !7, i64 2988, !7, i64 2989, !6, i64 2992, !7, i64 3000, !10, i64 3160, !7, i64 3164, !7, i64 3165, !7, i64 3166, !6, i64 3168}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !6, i64 40}
!16 = !{!17, !6, i64 32}
!17 = !{!"fileinfo", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !7, i64 52}
!18 = !{!13, !6, i64 800}
!19 = !{!14, !14, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


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

@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare void @fpp_cerror(ptr noundef, i32 noundef, ...) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 5) i32 @fpp_openinclude(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = alloca [512 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %4) #6
  %5 = load i8, ptr %1, align 1, !tbaa !5
  %6 = icmp eq i8 %5, 47
  br i1 %6, label %7, label %9

7:                                                ; preds = %3
  %8 = tail call i32 @fpp_openfile(ptr noundef %0, ptr noundef nonnull %1) #6
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.loopexit, label %9

9:                                                ; preds = %7, %3
  %.not25 = icmp eq i32 %2, 0
  br i1 %.not25, label %25, label %10

10:                                               ; preds = %9
  %11 = getelementptr inbounds i8, ptr %0, i64 3166
  %12 = load i8, ptr %11, align 2, !tbaa !8
  %.not26 = icmp eq i8 %12, 0
  br i1 %.not26, label %25, label %13

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %15, i64 32
  %17 = load ptr, ptr %16, align 8, !tbaa !14
  %18 = call i32 @fpp_hasdirectory(ptr noundef %17, ptr noundef nonnull %4)
  %.not27 = icmp eq i32 %18, 0
  br i1 %.not27, label %21, label %19

19:                                               ; preds = %13
  %20 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %1) #6
  br label %23

21:                                               ; preds = %13
  %22 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %1) #6
  br label %23

23:                                               ; preds = %21, %19
  %24 = call i32 @fpp_openfile(ptr noundef nonnull %0, ptr noundef nonnull %4) #6
  %.not28 = icmp eq i32 %24, 0
  br i1 %.not28, label %.loopexit, label %25

25:                                               ; preds = %23, %10, %9
  %26 = getelementptr inbounds i8, ptr %0, i64 640
  %27 = getelementptr inbounds i8, ptr %0, i64 800
  %28 = load ptr, ptr %27, align 8, !tbaa !16
  %29 = icmp ult ptr %26, %28
  br i1 %29, label %.lr.ph, label %.loopexit

30:                                               ; preds = %40
  %31 = getelementptr inbounds i8, ptr %.02431, i64 8
  %32 = load ptr, ptr %27, align 8, !tbaa !16
  %33 = icmp ult ptr %31, %32
  br i1 %33, label %.lr.ph, label %.loopexit, !llvm.loop !17

.lr.ph:                                           ; preds = %25, %30
  %.02431 = phi ptr [ %31, %30 ], [ %26, %25 ]
  %34 = load ptr, ptr %.02431, align 8, !tbaa !19
  %35 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %34) #7
  %36 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #7
  %37 = add i64 %36, %35
  %38 = icmp ugt i64 %37, 511
  br i1 %38, label %39, label %40

39:                                               ; preds = %.lr.ph
  call void (ptr, i32, ...) @fpp_cerror(ptr noundef nonnull %0, i32 noundef 55) #6
  br label %.loopexit

40:                                               ; preds = %.lr.ph
  %41 = getelementptr i8, ptr %34, i64 %35
  %42 = getelementptr i8, ptr %41, i64 -1
  %43 = load i8, ptr %42, align 1, !tbaa !5
  %.not29 = icmp eq i8 %43, 47
  %.str.16..str.15 = select i1 %.not29, ptr @.str.16, ptr @.str.15
  %44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %.str.16..str.15, ptr noundef nonnull %34, ptr noundef nonnull %1) #6
  %45 = call i32 @fpp_openfile(ptr noundef nonnull %0, ptr noundef nonnull %4) #6
  %.not30 = icmp eq i32 %45, 0
  br i1 %.not30, label %.loopexit, label %30

.loopexit:                                        ; preds = %40, %30, %25, %23, %7, %39
  %.0 = phi i32 [ 3, %39 ], [ 0, %7 ], [ 0, %23 ], [ 4, %25 ], [ 0, %40 ], [ 4, %30 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #6
  ret i32 %.0
}

declare i32 @fpp_openfile(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @fpp_hasdirectory(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; 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 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !6, i64 3166}
!9 = !{!"Global", !10, i64 0, !10, i64 4, !11, i64 8, !11, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !6, i64 64, !11, i64 584, !6, i64 592, !6, i64 593, !6, i64 594, !6, i64 595, !6, i64 596, !6, i64 597, !11, i64 632, !6, i64 640, !11, i64 800, !6, i64 808, !6, i64 968, !10, i64 988, !6, i64 992, !6, i64 1032, !6, i64 1072, !11, i64 1080, !6, i64 1088, !11, i64 2120, !6, i64 2128, !10, i64 2376, !11, i64 2384, !6, i64 2392, !10, i64 2904, !11, i64 2912, !11, i64 2920, !11, i64 2928, !11, i64 2936, !11, i64 2944, !11, i64 2952, !6, i64 2960, !6, i64 2961, !6, i64 2962, !6, i64 2963, !6, i64 2964, !6, i64 2965, !6, i64 2966, !6, i64 2967, !11, i64 2968, !12, i64 2976, !6, i64 2984, !6, i64 2985, !6, i64 2986, !6, i64 2987, !6, i64 2988, !6, i64 2989, !11, i64 2992, !6, i64 3000, !10, i64 3160, !6, i64 3164, !6, i64 3165, !6, i64 3166, !11, i64 3168}
!10 = !{!"int", !6, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!"long", !6, i64 0}
!13 = !{!9, !11, i64 40}
!14 = !{!15, !11, i64 32}
!15 = !{!"fileinfo", !11, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !10, i64 48, !6, i64 52}
!16 = !{!9, !11, i64 800}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!11, !11, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass