; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/49 Beta Division 2/Problem B (B)

; 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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@h = external dso_local global i64, align 8
@w = external dso_local global i64, align 8
@tmp = external dso_local global i64, align 8
@h_max = external dso_local global i64, align 8
@w_max = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

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

8:                                                ; preds = %52, %0
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = load i64, ptr @w, align 8, !tbaa !5
  %11 = icmp sle i64 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %55

13:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = sitofp i64 %14 to double
  %16 = fmul double %15, 1.250000e+00
  %17 = fptosi double %16 to i64
  store i64 %17, ptr %3, align 8, !tbaa !5
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @h, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %19 = load i64, ptr %18, align 8, !tbaa !5
  store i64 %19, ptr @tmp, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %20 = load i64, ptr @tmp, align 8, !tbaa !5
  %21 = sitofp i64 %20 to double
  %22 = load i64, ptr %2, align 8, !tbaa !5
  %23 = sitofp i64 %22 to double
  %24 = fmul double 8.000000e-01, %23
  %25 = fcmp olt double %21, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %13
  br label %52

27:                                               ; preds = %13
  %28 = load i64, ptr %2, align 8, !tbaa !5
  %29 = load i64, ptr @tmp, align 8, !tbaa !5
  %30 = mul nsw i64 %28, %29
  %31 = load i64, ptr @h_max, align 8, !tbaa !5
  %32 = load i64, ptr @w_max, align 8, !tbaa !5
  %33 = mul nsw i64 %31, %32
  %34 = icmp sgt i64 %30, %33
  br i1 %34, label %47, label %35

35:                                               ; preds = %27
  %36 = load i64, ptr %2, align 8, !tbaa !5
  %37 = load i64, ptr @tmp, align 8, !tbaa !5
  %38 = mul nsw i64 %36, %37
  %39 = load i64, ptr @h_max, align 8, !tbaa !5
  %40 = load i64, ptr @w_max, align 8, !tbaa !5
  %41 = mul nsw i64 %39, %40
  %42 = icmp eq i64 %38, %41
  br i1 %42, label %43, label %50

43:                                               ; preds = %35
  %44 = load i64, ptr %2, align 8, !tbaa !5
  %45 = load i64, ptr @h_max, align 8, !tbaa !5
  %46 = icmp sgt i64 %44, %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %43, %27
  %48 = load i64, ptr %2, align 8, !tbaa !5
  store i64 %48, ptr @h_max, align 8, !tbaa !5
  %49 = load i64, ptr @tmp, align 8, !tbaa !5
  store i64 %49, ptr @w_max, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %47, %43, %35
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51, %26
  %53 = load i64, ptr %2, align 8, !tbaa !5
  %54 = shl i64 %53, 1
  store i64 %54, ptr %2, align 8, !tbaa !5
  br label %8, !llvm.loop !9

55:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 1, ptr %4, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %100, %55
  %57 = load i64, ptr %4, align 8, !tbaa !5
  %58 = load i64, ptr @h, align 8, !tbaa !5
  %59 = icmp sle i64 %57, %58
  br i1 %59, label %61, label %60

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

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %62 = load i64, ptr %4, align 8, !tbaa !5
  %63 = sitofp i64 %62 to double
  %64 = fmul double %63, 1.250000e+00
  %65 = fptosi double %64 to i64
  store i64 %65, ptr %5, align 8, !tbaa !5
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @w, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %67 = load i64, ptr %66, align 8, !tbaa !5
  store i64 %67, ptr @tmp, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %68 = load i64, ptr @tmp, align 8, !tbaa !5
  %69 = sitofp i64 %68 to double
  %70 = load i64, ptr %4, align 8, !tbaa !5
  %71 = sitofp i64 %70 to double
  %72 = fmul double 8.000000e-01, %71
  %73 = fcmp olt double %69, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %61
  br label %100

75:                                               ; preds = %61
  %76 = load i64, ptr %4, align 8, !tbaa !5
  %77 = load i64, ptr @tmp, align 8, !tbaa !5
  %78 = mul nsw i64 %76, %77
  %79 = load i64, ptr @h_max, align 8, !tbaa !5
  %80 = load i64, ptr @w_max, align 8, !tbaa !5
  %81 = mul nsw i64 %79, %80
  %82 = icmp sgt i64 %78, %81
  br i1 %82, label %95, label %83

83:                                               ; preds = %75
  %84 = load i64, ptr %4, align 8, !tbaa !5
  %85 = load i64, ptr @tmp, align 8, !tbaa !5
  %86 = mul nsw i64 %84, %85
  %87 = load i64, ptr @h_max, align 8, !tbaa !5
  %88 = load i64, ptr @w_max, align 8, !tbaa !5
  %89 = mul nsw i64 %87, %88
  %90 = icmp eq i64 %86, %89
  br i1 %90, label %91, label %98

91:                                               ; preds = %83
  %92 = load i64, ptr @tmp, align 8, !tbaa !5
  %93 = load i64, ptr @h_max, align 8, !tbaa !5
  %94 = icmp sgt i64 %92, %93
  br i1 %94, label %95, label %98

95:                                               ; preds = %91, %75
  %96 = load i64, ptr @tmp, align 8, !tbaa !5
  store i64 %96, ptr @h_max, align 8, !tbaa !5
  %97 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %97, ptr @w_max, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %95, %91, %83
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99, %74
  %101 = load i64, ptr %4, align 8, !tbaa !5
  %102 = shl i64 %101, 1
  store i64 %102, ptr %4, align 8, !tbaa !5
  br label %56, !llvm.loop !11

103:                                              ; preds = %60
  %104 = load i64, ptr @h_max, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %104)
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @.str)
  %107 = load i64, ptr @w_max, align 8, !tbaa !5
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %106, i64 noundef %107)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

attributes #0 = { 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 #1 = { mustprogress 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress 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 = !{!"long long", !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}


; 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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@h = external dso_local global i64, align 8
@w = external dso_local global i64, align 8
@tmp = external dso_local local_unnamed_addr global i64, align 8
@h_max = external dso_local local_unnamed_addr global i64, align 8
@w_max = external dso_local local_unnamed_addr global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @w)
  %4 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) @h)
  %5 = load i64, ptr @w, align 8, !tbaa !5
  %.not22 = icmp slt i64 %5, 1
  br i1 %.not22, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %25, %0
  %6 = load i64, ptr @h, align 8, !tbaa !5
  %.not2025 = icmp slt i64 %6, 1
  br i1 %.not2025, label %._crit_edge, label %.lr.ph27

.lr.ph:                                           ; preds = %0, %25
  %.01523 = phi i64 [ %26, %25 ], [ 1, %0 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %7 = sitofp i64 %.01523 to double
  %8 = fmul double %7, 1.250000e+00
  %9 = fptosi double %8 to i64
  store i64 %9, ptr %1, align 8, !tbaa !5
  %10 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @h, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %11 = load i64, ptr %10, align 8, !tbaa !5
  store i64 %11, ptr @tmp, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  %12 = sitofp i64 %11 to double
  %13 = fmul double %7, 8.000000e-01
  %14 = fcmp ogt double %13, %12
  br i1 %14, label %25, label %15

15:                                               ; preds = %.lr.ph
  %16 = mul nsw i64 %11, %.01523
  %17 = load i64, ptr @h_max, align 8, !tbaa !5
  %18 = load i64, ptr @w_max, align 8, !tbaa !5
  %19 = mul nsw i64 %18, %17
  %20 = icmp sgt i64 %16, %19
  br i1 %20, label %24, label %21

21:                                               ; preds = %15
  %22 = icmp eq i64 %16, %19
  %23 = icmp sgt i64 %.01523, %17
  %or.cond = and i1 %23, %22
  br i1 %or.cond, label %24, label %25

24:                                               ; preds = %21, %15
  store i64 %.01523, ptr @h_max, align 8, !tbaa !5
  store i64 %11, ptr @w_max, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %24, %21, %.lr.ph
  %26 = shl i64 %.01523, 1
  %27 = load i64, ptr @w, align 8, !tbaa !5
  %.not = icmp sgt i64 %26, %27
  br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %52, %.preheader
  %28 = load i64, ptr @h_max, align 8, !tbaa !5
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %28)
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str)
  %31 = load i64, ptr @w_max, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %30, i64 noundef %31)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

.lr.ph27:                                         ; preds = %.preheader, %52
  %.026 = phi i64 [ %53, %52 ], [ 1, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %34 = sitofp i64 %.026 to double
  %35 = fmul double %34, 1.250000e+00
  %36 = fptosi double %35 to i64
  store i64 %36, ptr %2, align 8, !tbaa !5
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @w, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %38 = load i64, ptr %37, align 8, !tbaa !5
  store i64 %38, ptr @tmp, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %39 = sitofp i64 %38 to double
  %40 = fmul double %34, 8.000000e-01
  %41 = fcmp ogt double %40, %39
  br i1 %41, label %52, label %42

42:                                               ; preds = %.lr.ph27
  %43 = mul nsw i64 %38, %.026
  %44 = load i64, ptr @h_max, align 8, !tbaa !5
  %45 = load i64, ptr @w_max, align 8, !tbaa !5
  %46 = mul nsw i64 %45, %44
  %47 = icmp sgt i64 %43, %46
  br i1 %47, label %51, label %48

48:                                               ; preds = %42
  %49 = icmp eq i64 %43, %46
  %50 = icmp sgt i64 %38, %44
  %or.cond21 = and i1 %50, %49
  br i1 %or.cond21, label %51, label %52

51:                                               ; preds = %48, %42
  store i64 %38, ptr @h_max, align 8, !tbaa !5
  store i64 %.026, ptr @w_max, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %51, %48, %.lr.ph27
  %53 = shl i64 %.026, 1
  %54 = load i64, ptr @h, align 8, !tbaa !5
  %.not20 = icmp sgt i64 %53, %54
  br i1 %.not20, label %._crit_edge, label %.lr.ph27, !llvm.loop !11
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) 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) #2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

attributes #0 = { 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 #1 = { mustprogress 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress 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 = !{!"long long", !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,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass