; LLVM IR from lzyrapx/Competitive-Programming :: LibreOJ (6161（二分）)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@c = external dso_local global [123456 x i32], align 16
@t = external dso_local global [123456 x i32], align 16
@mx = external dso_local global i32, align 4
@mn = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@T = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z4calcd(double noundef) #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  store i32 0, ptr %1, align 4
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @T)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %36, %0
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = load i32, ptr @n, align 4, !tbaa !5
  %14 = sub nsw i32 %13, 1
  %15 = icmp sle i32 %12, %14
  br i1 %15, label %17, label %16

16:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %39

17:                                               ; preds = %11
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [123456 x i32], ptr @t, i64 0, i64 %19
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [123456 x i32], ptr @c, i64 0, i64 %23
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [123456 x i32], ptr @t, i64 0, i64 %27
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) @mx)
  %30 = load i32, ptr %29, align 4, !tbaa !5
  store i32 %30, ptr @mx, align 4, !tbaa !5
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [123456 x i32], ptr @t, i64 0, i64 %32
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) @mn)
  %35 = load i32, ptr %34, align 4, !tbaa !5
  store i32 %35, ptr @mn, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %17
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %3, align 4, !tbaa !5
  br label %11, !llvm.loop !9

39:                                               ; preds = %16
  %40 = load i32, ptr @mn, align 4, !tbaa !5
  %41 = load i32, ptr @mx, align 4, !tbaa !5
  %42 = icmp eq i32 %40, %41
  br i1 %42, label %43, label %47

43:                                               ; preds = %39
  %44 = load i32, ptr @mn, align 4, !tbaa !5
  %45 = sitofp i32 %44 to double
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %45)
  br label %112

47:                                               ; preds = %39
  %48 = load i32, ptr @T, align 4, !tbaa !5
  %49 = load i32, ptr @mx, align 4, !tbaa !5
  %50 = icmp sgt i32 %48, %49
  br i1 %50, label %51, label %90

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %52 = load i32, ptr @mx, align 4, !tbaa !5
  %53 = sitofp i32 %52 to double
  store double %53, ptr %4, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %54 = load i32, ptr @T, align 4, !tbaa !5
  %55 = sitofp i32 %54 to double
  store double %55, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %75, %51
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = icmp slt i32 %57, 300
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %78

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %61 = load double, ptr %4, align 8, !tbaa !11
  %62 = load double, ptr %5, align 8, !tbaa !11
  %63 = fadd double %61, %62
  %64 = fdiv double %63, 2.000000e+00
  store double %64, ptr %7, align 8, !tbaa !11
  %65 = load double, ptr %7, align 8, !tbaa !11
  %66 = call noundef double @_Z4calcd(double noundef %65)
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = sitofp i32 %67 to double
  %69 = fcmp ole double %66, %68
  br i1 %69, label %70, label %72

70:                                               ; preds = %60
  %71 = load double, ptr %7, align 8, !tbaa !11
  store double %71, ptr %4, align 8, !tbaa !11
  br label %74

72:                                               ; preds = %60
  %73 = load double, ptr %7, align 8, !tbaa !11
  store double %73, ptr %5, align 8, !tbaa !11
  br label %74

74:                                               ; preds = %72, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %6, align 4, !tbaa !5
  br label %56, !llvm.loop !13

78:                                               ; preds = %59
  %79 = load double, ptr %4, align 8, !tbaa !11
  %80 = call noundef double @_Z4calcd(double noundef %79)
  %81 = load i32, ptr %2, align 4, !tbaa !5
  %82 = sitofp i32 %81 to double
  %83 = fcmp ole double %80, %82
  br i1 %83, label %84, label %87

84:                                               ; preds = %78
  %85 = load double, ptr %4, align 8, !tbaa !11
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %85)
  br label %89

87:                                               ; preds = %78
  %88 = call i32 @puts(ptr noundef @.str.1)
  br label %89

89:                                               ; preds = %87, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %111

90:                                               ; preds = %47
  %91 = load i32, ptr @T, align 4, !tbaa !5
  %92 = load i32, ptr @mn, align 4, !tbaa !5
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %94, label %108

94:                                               ; preds = %90
  %95 = load i32, ptr @mn, align 4, !tbaa !5
  %96 = sitofp i32 %95 to double
  %97 = call noundef double @_Z4calcd(double noundef %96)
  %98 = load i32, ptr %2, align 4, !tbaa !5
  %99 = sitofp i32 %98 to double
  %100 = fcmp ole double %97, %99
  br i1 %100, label %101, label %105

101:                                              ; preds = %94
  %102 = load i32, ptr @mn, align 4, !tbaa !5
  %103 = sitofp i32 %102 to double
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %103)
  br label %107

105:                                              ; preds = %94
  %106 = call i32 @puts(ptr noundef @.str.1)
  br label %107

107:                                              ; preds = %105, %101
  br label %110

108:                                              ; preds = %90
  %109 = call i32 @puts(ptr noundef @.str.1)
  br label %110

110:                                              ; preds = %108, %107
  br label %111

111:                                              ; preds = %110, %89
  br label %112

112:                                              ; preds = %111, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  ret i32 0
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

declare i32 @puts(ptr noundef) #3

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 #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 = { inlinehint mustprogress 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 #5 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !10}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@c = external dso_local global [123456 x i32], align 16
@t = external dso_local global [123456 x i32], align 16
@mx = external dso_local global i32, align 4
@mn = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@T = external dso_local global i32, align 4
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z4calcd(double noundef) local_unnamed_addr #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @T)
  %4 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %.not.not23 = icmp sgt i32 %5, 0
  br i1 %.not.not23, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre = load i32, ptr @mn, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %6 = phi i32 [ %.pre, %.._crit_edge_crit_edge ], [ %16, %.lr.ph ]
  %7 = load i32, ptr @mx, align 4, !tbaa !5
  %8 = icmp eq i32 %6, %7
  br i1 %8, label %19, label %22

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %9 = getelementptr inbounds [123456 x i32], ptr @t, i64 0, i64 %indvars.iv
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %11 = getelementptr inbounds [123456 x i32], ptr @c, i64 0, i64 %indvars.iv
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %13 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) @mx)
  %14 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %14, ptr @mx, align 4, !tbaa !5
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) @mn)
  %16 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %16, ptr @mn, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %.not.not = icmp slt i64 %indvars.iv.next, %18
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

19:                                               ; preds = %._crit_edge
  %20 = sitofp i32 %6 to double
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %20)
  br label %61

22:                                               ; preds = %._crit_edge
  %23 = load i32, ptr @T, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, %7
  br i1 %24, label %25, label %45

25:                                               ; preds = %22
  %26 = sitofp i32 %7 to double
  %27 = sitofp i32 %23 to double
  br label %33

28:                                               ; preds = %33
  %29 = call noundef double @_Z4calcd(double noundef %.016.)
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = sitofp i32 %30 to double
  %32 = fcmp ugt double %29, %31
  br i1 %32, label %43, label %41

33:                                               ; preds = %25, %33
  %.01427 = phi i32 [ 0, %25 ], [ %40, %33 ]
  %.01526 = phi double [ %27, %25 ], [ %..015, %33 ]
  %.01625 = phi double [ %26, %25 ], [ %.016., %33 ]
  %34 = fadd double %.01625, %.01526
  %35 = fmul double %34, 5.000000e-01
  %36 = call noundef double @_Z4calcd(double noundef %35)
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = sitofp i32 %37 to double
  %39 = fcmp ugt double %36, %38
  %.016. = select i1 %39, double %.01625, double %35
  %..015 = select i1 %39, double %35, double %.01526
  %40 = add nuw nsw i32 %.01427, 1
  %exitcond.not = icmp eq i32 %40, 300
  br i1 %exitcond.not, label %28, label %33, !llvm.loop !11

41:                                               ; preds = %28
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %.016.)
  br label %61

43:                                               ; preds = %28
  %44 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %61

45:                                               ; preds = %22
  %46 = icmp slt i32 %23, %6
  br i1 %46, label %47, label %59

47:                                               ; preds = %45
  %48 = sitofp i32 %6 to double
  %49 = call noundef double @_Z4calcd(double noundef %48)
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = sitofp i32 %50 to double
  %52 = fcmp ugt double %49, %51
  br i1 %52, label %57, label %53

53:                                               ; preds = %47
  %54 = load i32, ptr @mn, align 4, !tbaa !5
  %55 = sitofp i32 %54 to double
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %55)
  br label %61

57:                                               ; preds = %47
  %58 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %61

59:                                               ; preds = %45
  %60 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %61

61:                                               ; preds = %41, %43, %53, %57, %59, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress 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 norecurse 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 #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 = { inlinehint mustprogress 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 #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 }

!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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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