; LLVM IR from eyangch/competitive-programming :: Codeforces/1355 (c)

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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %16 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %17 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %19
  %21 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %20, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  store i64 0, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %26 = load i64, ptr %3, align 8, !tbaa !8
  %27 = load i64, ptr %4, align 8, !tbaa !8
  %28 = add nsw i64 %26, %27
  %29 = load i64, ptr %5, align 8, !tbaa !8
  %30 = add nsw i64 %28, %29
  store i64 %30, ptr %7, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %31 = load i64, ptr %7, align 8, !tbaa !8
  %32 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %31, i64 8)
  %33 = extractvalue { i64, i1 } %32, 1
  %34 = extractvalue { i64, i1 } %32, 0
  %35 = select i1 %33, i64 -1, i64 %34
  %36 = call noalias noundef nonnull ptr @_Znam(i64 noundef %35) #10
  store ptr %36, ptr %8, align 8, !tbaa !11
  %37 = load ptr, ptr %8, align 8, !tbaa !11
  %38 = load ptr, ptr %8, align 8, !tbaa !11
  %39 = load i64, ptr %7, align 8, !tbaa !8
  %40 = getelementptr inbounds i64, ptr %38, i64 %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef %37, ptr noundef %40, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %41 = load i64, ptr %2, align 8, !tbaa !8
  store i64 %41, ptr %10, align 8, !tbaa !8
  br label %42

42:                                               ; preds = %63, %0
  %43 = load i64, ptr %10, align 8, !tbaa !8
  %44 = load i64, ptr %3, align 8, !tbaa !8
  %45 = icmp sle i64 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %66

47:                                               ; preds = %42
  %48 = load ptr, ptr %8, align 8, !tbaa !11
  %49 = load i64, ptr %10, align 8, !tbaa !8
  %50 = load i64, ptr %3, align 8, !tbaa !8
  %51 = add nsw i64 %49, %50
  %52 = getelementptr inbounds i64, ptr %48, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !8
  %54 = add nsw i64 %53, 1
  store i64 %54, ptr %52, align 8, !tbaa !8
  %55 = load ptr, ptr %8, align 8, !tbaa !11
  %56 = load i64, ptr %10, align 8, !tbaa !8
  %57 = load i64, ptr %4, align 8, !tbaa !8
  %58 = add nsw i64 %56, %57
  %59 = add nsw i64 %58, 1
  %60 = getelementptr inbounds i64, ptr %55, i64 %59
  %61 = load i64, ptr %60, align 8, !tbaa !8
  %62 = add nsw i64 %61, -1
  store i64 %62, ptr %60, align 8, !tbaa !8
  br label %63

63:                                               ; preds = %47
  %64 = load i64, ptr %10, align 8, !tbaa !8
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %10, align 8, !tbaa !8
  br label %42, !llvm.loop !15

66:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %67 = load i64, ptr %7, align 8, !tbaa !8
  %68 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %67, i64 8)
  %69 = extractvalue { i64, i1 } %68, 1
  %70 = extractvalue { i64, i1 } %68, 0
  %71 = select i1 %69, i64 -1, i64 %70
  %72 = call noalias noundef nonnull ptr @_Znam(i64 noundef %71) #10
  store ptr %72, ptr %11, align 8, !tbaa !11
  %73 = load ptr, ptr %8, align 8, !tbaa !11
  %74 = getelementptr inbounds i64, ptr %73, i64 0
  %75 = load i64, ptr %74, align 8, !tbaa !8
  %76 = load ptr, ptr %11, align 8, !tbaa !11
  %77 = getelementptr inbounds i64, ptr %76, i64 0
  store i64 %75, ptr %77, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  store i64 1, ptr %12, align 8, !tbaa !8
  br label %78

78:                                               ; preds = %97, %66
  %79 = load i64, ptr %12, align 8, !tbaa !8
  %80 = load i64, ptr %7, align 8, !tbaa !8
  %81 = icmp slt i64 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %100

83:                                               ; preds = %78
  %84 = load ptr, ptr %11, align 8, !tbaa !11
  %85 = load i64, ptr %12, align 8, !tbaa !8
  %86 = sub nsw i64 %85, 1
  %87 = getelementptr inbounds i64, ptr %84, i64 %86
  %88 = load i64, ptr %87, align 8, !tbaa !8
  %89 = load ptr, ptr %8, align 8, !tbaa !11
  %90 = load i64, ptr %12, align 8, !tbaa !8
  %91 = getelementptr inbounds i64, ptr %89, i64 %90
  %92 = load i64, ptr %91, align 8, !tbaa !8
  %93 = add nsw i64 %88, %92
  %94 = load ptr, ptr %11, align 8, !tbaa !11
  %95 = load i64, ptr %12, align 8, !tbaa !8
  %96 = getelementptr inbounds i64, ptr %94, i64 %95
  store i64 %93, ptr %96, align 8, !tbaa !8
  br label %97

97:                                               ; preds = %83
  %98 = load i64, ptr %12, align 8, !tbaa !8
  %99 = add nsw i64 %98, 1
  store i64 %99, ptr %12, align 8, !tbaa !8
  br label %78, !llvm.loop !17

100:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 0, ptr %13, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %101 = load i64, ptr %4, align 8, !tbaa !8
  store i64 %101, ptr %14, align 8, !tbaa !8
  br label %102

102:                                              ; preds = %114, %100
  %103 = load i64, ptr %14, align 8, !tbaa !8
  %104 = load i64, ptr %7, align 8, !tbaa !8
  %105 = icmp slt i64 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %117

107:                                              ; preds = %102
  %108 = load ptr, ptr %11, align 8, !tbaa !11
  %109 = load i64, ptr %14, align 8, !tbaa !8
  %110 = getelementptr inbounds i64, ptr %108, i64 %109
  %111 = load i64, ptr %110, align 8, !tbaa !8
  %112 = load i64, ptr %13, align 8, !tbaa !8
  %113 = add nsw i64 %112, %111
  store i64 %113, ptr %13, align 8, !tbaa !8
  br label %114

114:                                              ; preds = %107
  %115 = load i64, ptr %14, align 8, !tbaa !8
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %14, align 8, !tbaa !8
  br label %102, !llvm.loop !18

117:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %118 = load i64, ptr %4, align 8, !tbaa !8
  store i64 %118, ptr %15, align 8, !tbaa !8
  br label %119

119:                                              ; preds = %134, %117
  %120 = load i64, ptr %15, align 8, !tbaa !8
  %121 = load i64, ptr %5, align 8, !tbaa !8
  %122 = icmp sle i64 %120, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %137

124:                                              ; preds = %119
  %125 = load ptr, ptr %11, align 8, !tbaa !11
  %126 = load i64, ptr %15, align 8, !tbaa !8
  %127 = getelementptr inbounds i64, ptr %125, i64 %126
  %128 = load i64, ptr %127, align 8, !tbaa !8
  %129 = load i64, ptr %13, align 8, !tbaa !8
  %130 = sub nsw i64 %129, %128
  store i64 %130, ptr %13, align 8, !tbaa !8
  %131 = load i64, ptr %13, align 8, !tbaa !8
  %132 = load i64, ptr %6, align 8, !tbaa !8
  %133 = add nsw i64 %132, %131
  store i64 %133, ptr %6, align 8, !tbaa !8
  br label %134

134:                                              ; preds = %124
  %135 = load i64, ptr %15, align 8, !tbaa !8
  %136 = add nsw i64 %135, 1
  store i64 %136, ptr %15, align 8, !tbaa !8
  br label %119, !llvm.loop !19

137:                                              ; preds = %123
  %138 = load i64, ptr %6, align 8, !tbaa !8
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %138)
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %141 = load ptr, ptr %8, align 8, !tbaa !11
  %142 = icmp eq ptr %141, null
  br i1 %142, label %144, label %143

143:                                              ; preds = %137
  call void @_ZdaPv(ptr noundef %141) #11
  br label %144

144:                                              ; preds = %143, %137
  %145 = load ptr, ptr %11, align 8, !tbaa !11
  %146 = icmp eq ptr %145, null
  br i1 %146, label %148, label %147

147:                                              ; preds = %144
  call void @_ZdaPv(ptr noundef %145) #11
  br label %148

148:                                              ; preds = %147, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

; 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)) #4 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #6

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 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) #4 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)) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #8

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


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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %7 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %9
  %11 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %16 = load i64, ptr %2, align 8, !tbaa !8
  %17 = load i64, ptr %3, align 8, !tbaa !8
  %18 = add nsw i64 %17, %16
  %19 = load i64, ptr %4, align 8, !tbaa !8
  %20 = add nsw i64 %18, %19
  %21 = icmp ugt i64 %20, 2305843009213693951
  %22 = shl i64 %20, 3
  %23 = select i1 %21, i64 -1, i64 %22
  %24 = call noalias noundef nonnull ptr @_Znam(i64 noundef %23) #10
  %25 = getelementptr inbounds i64, ptr %24, i64 %20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 0, ptr %5, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull %24, ptr noundef nonnull %25, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %26 = load i64, ptr %1, align 8, !tbaa !8
  %27 = load i64, ptr %2, align 8, !tbaa !8
  %.not45 = icmp sgt i64 %26, %27
  br i1 %.not45, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0
  %28 = load i64, ptr %3, align 8, !tbaa !8
  %29 = add i64 %27, 1
  %30 = sub i64 %29, %26
  %min.iters.check = icmp ult i64 %30, 18
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %.04146.ph = phi i64 [ %26, %vector.memcheck ], [ %26, %.lr.ph ], [ %ind.end, %middle.block ]
  %31 = add i64 %27, %.04146.ph
  %32 = and i64 %31, 1
  %lcmp.mod.not.not = icmp eq i64 %32, 0
  br i1 %lcmp.mod.not.not, label %scalar.ph.prol, label %scalar.ph.prol.loopexit

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %33 = getelementptr i64, ptr %24, i64 %.04146.ph
  %34 = getelementptr i64, ptr %33, i64 %27
  %35 = load i64, ptr %34, align 8, !tbaa !8
  %36 = add nsw i64 %35, 1
  store i64 %36, ptr %34, align 8, !tbaa !8
  %37 = getelementptr i64, ptr %33, i64 %28
  %38 = getelementptr i8, ptr %37, i64 8
  %39 = load i64, ptr %38, align 8, !tbaa !8
  %40 = add nsw i64 %39, -1
  store i64 %40, ptr %38, align 8, !tbaa !8
  %41 = add i64 %.04146.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.04146.unr = phi i64 [ %.04146.ph, %scalar.ph.preheader ], [ %41, %scalar.ph.prol ]
  %42 = icmp eq i64 %27, %.04146.ph
  br i1 %42, label %._crit_edge, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %43 = add i64 %27, %26
  %44 = shl i64 %43, 3
  %scevgep = getelementptr i8, ptr %24, i64 %44
  %45 = shl i64 %27, 4
  %46 = or disjoint i64 %45, 8
  %scevgep67 = getelementptr i8, ptr %24, i64 %46
  %47 = add i64 %28, %26
  %48 = shl i64 %47, 3
  %49 = getelementptr i8, ptr %24, i64 %48
  %scevgep68 = getelementptr i8, ptr %49, i64 8
  %50 = add i64 %28, %27
  %51 = shl i64 %50, 3
  %52 = getelementptr i8, ptr %24, i64 %51
  %scevgep69 = getelementptr i8, ptr %52, i64 16
  %bound0 = icmp ult ptr %scevgep, %scevgep69
  %bound1 = icmp ult ptr %scevgep68, %scevgep67
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %30, -4
  %ind.end = add i64 %26, %n.vec
  %53 = getelementptr i64, ptr %24, i64 %26
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %54 = getelementptr i64, ptr %53, i64 %index
  %55 = getelementptr i64, ptr %54, i64 %27
  %56 = getelementptr i8, ptr %55, i64 16
  %wide.load = load <2 x i64>, ptr %55, align 8, !tbaa !8, !alias.scope !13, !noalias !16
  %wide.load70 = load <2 x i64>, ptr %56, align 8, !tbaa !8, !alias.scope !13, !noalias !16
  %57 = add nsw <2 x i64> %wide.load, <i64 1, i64 1>
  %58 = add nsw <2 x i64> %wide.load70, <i64 1, i64 1>
  store <2 x i64> %57, ptr %55, align 8, !tbaa !8, !alias.scope !13, !noalias !16
  store <2 x i64> %58, ptr %56, align 8, !tbaa !8, !alias.scope !13, !noalias !16
  %59 = getelementptr i64, ptr %54, i64 %28
  %60 = getelementptr i8, ptr %59, i64 8
  %61 = getelementptr i8, ptr %59, i64 24
  %wide.load71 = load <2 x i64>, ptr %60, align 8, !tbaa !8, !alias.scope !16
  %wide.load72 = load <2 x i64>, ptr %61, align 8, !tbaa !8, !alias.scope !16
  %62 = add nsw <2 x i64> %wide.load71, <i64 -1, i64 -1>
  %63 = add nsw <2 x i64> %wide.load72, <i64 -1, i64 -1>
  store <2 x i64> %62, ptr %60, align 8, !tbaa !8, !alias.scope !16
  store <2 x i64> %63, ptr %61, align 8, !tbaa !8, !alias.scope !16
  %index.next = add nuw i64 %index, 4
  %64 = icmp eq i64 %index.next, %n.vec
  br i1 %64, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %30, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %0
  %65 = call noalias noundef nonnull ptr @_Znam(i64 noundef %23) #10
  %66 = load i64, ptr %24, align 8, !tbaa !8
  store i64 %66, ptr %65, align 8, !tbaa !8
  %67 = icmp sgt i64 %20, 1
  br i1 %67, label %.lr.ph49.preheader, label %._crit_edge50

.lr.ph49.preheader:                               ; preds = %._crit_edge
  %load_initial = load i64, ptr %65, align 8
  %68 = add i64 %16, %17
  %69 = add i64 %68, %19
  %70 = add i64 %69, -1
  %71 = add i64 %69, -2
  %xtraiter93 = and i64 %70, 3
  %72 = icmp ult i64 %71, 3
  br i1 %72, label %._crit_edge50.loopexit.unr-lcssa, label %.lr.ph49.preheader.new

.lr.ph49.preheader.new:                           ; preds = %.lr.ph49.preheader
  %unroll_iter = and i64 %70, -4
  br label %.lr.ph49

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.04146 = phi i64 [ %90, %scalar.ph ], [ %.04146.unr, %scalar.ph.prol.loopexit ]
  %73 = getelementptr i64, ptr %24, i64 %.04146
  %74 = getelementptr i64, ptr %73, i64 %27
  %75 = load i64, ptr %74, align 8, !tbaa !8
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %74, align 8, !tbaa !8
  %77 = getelementptr i64, ptr %73, i64 %28
  %78 = getelementptr i8, ptr %77, i64 8
  %79 = load i64, ptr %78, align 8, !tbaa !8
  %80 = add nsw i64 %79, -1
  store i64 %80, ptr %78, align 8, !tbaa !8
  %81 = add i64 %.04146, 1
  %82 = getelementptr i64, ptr %24, i64 %81
  %83 = getelementptr i64, ptr %82, i64 %27
  %84 = load i64, ptr %83, align 8, !tbaa !8
  %85 = add nsw i64 %84, 1
  store i64 %85, ptr %83, align 8, !tbaa !8
  %86 = getelementptr i64, ptr %82, i64 %28
  %87 = getelementptr i8, ptr %86, i64 8
  %88 = load i64, ptr %87, align 8, !tbaa !8
  %89 = add nsw i64 %88, -1
  store i64 %89, ptr %87, align 8, !tbaa !8
  %90 = add i64 %.04146, 2
  %exitcond.not.1 = icmp eq i64 %81, %27
  br i1 %exitcond.not.1, label %._crit_edge, label %scalar.ph, !llvm.loop !22

._crit_edge50.loopexit.unr-lcssa:                 ; preds = %.lr.ph49, %.lr.ph49.preheader
  %store_forwarded.unr = phi i64 [ %load_initial, %.lr.ph49.preheader ], [ %126, %.lr.ph49 ]
  %.03947.unr = phi i64 [ 1, %.lr.ph49.preheader ], [ %127, %.lr.ph49 ]
  %lcmp.mod94.not = icmp eq i64 %xtraiter93, 0
  br i1 %lcmp.mod94.not, label %._crit_edge50, label %.lr.ph49.epil

.lr.ph49.epil:                                    ; preds = %._crit_edge50.loopexit.unr-lcssa, %.lr.ph49.epil
  %store_forwarded.epil = phi i64 [ %94, %.lr.ph49.epil ], [ %store_forwarded.unr, %._crit_edge50.loopexit.unr-lcssa ]
  %.03947.epil = phi i64 [ %95, %.lr.ph49.epil ], [ %.03947.unr, %._crit_edge50.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph49.epil ], [ 0, %._crit_edge50.loopexit.unr-lcssa ]
  %91 = getelementptr i64, ptr %65, i64 %.03947.epil
  %92 = getelementptr inbounds i64, ptr %24, i64 %.03947.epil
  %93 = load i64, ptr %92, align 8, !tbaa !8
  %94 = add nsw i64 %93, %store_forwarded.epil
  store i64 %94, ptr %91, align 8, !tbaa !8
  %95 = add nuw nsw i64 %.03947.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter93
  br i1 %epil.iter.cmp.not, label %._crit_edge50, label %.lr.ph49.epil, !llvm.loop !23

._crit_edge50:                                    ; preds = %._crit_edge50.loopexit.unr-lcssa, %.lr.ph49.epil, %._crit_edge
  %96 = load i64, ptr %3, align 8, !tbaa !8
  %97 = icmp slt i64 %96, %20
  br i1 %97, label %.lr.ph54.preheader, label %.preheader

.lr.ph54.preheader:                               ; preds = %._crit_edge50
  %98 = add i64 %16, %17
  %99 = add i64 %98, %19
  %100 = sub i64 %99, %96
  %min.iters.check75 = icmp ult i64 %100, 4
  br i1 %min.iters.check75, label %.lr.ph54.preheader89, label %vector.ph76

.lr.ph54.preheader89:                             ; preds = %middle.block73, %.lr.ph54.preheader
  %.03752.ph = phi i64 [ %96, %.lr.ph54.preheader ], [ %ind.end79, %middle.block73 ]
  %.03851.ph = phi i64 [ 0, %.lr.ph54.preheader ], [ %107, %middle.block73 ]
  br label %.lr.ph54

vector.ph76:                                      ; preds = %.lr.ph54.preheader
  %n.vec78 = and i64 %100, -4
  %ind.end79 = add i64 %96, %n.vec78
  %101 = getelementptr i64, ptr %65, i64 %96
  br label %vector.body81

vector.body81:                                    ; preds = %vector.body81, %vector.ph76
  %index82 = phi i64 [ 0, %vector.ph76 ], [ %index.next87, %vector.body81 ]
  %vec.phi = phi <2 x i64> [ zeroinitializer, %vector.ph76 ], [ %104, %vector.body81 ]
  %vec.phi83 = phi <2 x i64> [ zeroinitializer, %vector.ph76 ], [ %105, %vector.body81 ]
  %102 = getelementptr i64, ptr %101, i64 %index82
  %103 = getelementptr inbounds i8, ptr %102, i64 16
  %wide.load85 = load <2 x i64>, ptr %102, align 8, !tbaa !8
  %wide.load86 = load <2 x i64>, ptr %103, align 8, !tbaa !8
  %104 = add <2 x i64> %wide.load85, %vec.phi
  %105 = add <2 x i64> %wide.load86, %vec.phi83
  %index.next87 = add nuw i64 %index82, 4
  %106 = icmp eq i64 %index.next87, %n.vec78
  br i1 %106, label %middle.block73, label %vector.body81, !llvm.loop !25

middle.block73:                                   ; preds = %vector.body81
  %bin.rdx = add <2 x i64> %105, %104
  %107 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n88 = icmp eq i64 %100, %n.vec78
  br i1 %cmp.n88, label %.preheader, label %.lr.ph54.preheader89

.lr.ph49:                                         ; preds = %.lr.ph49, %.lr.ph49.preheader.new
  %store_forwarded = phi i64 [ %load_initial, %.lr.ph49.preheader.new ], [ %126, %.lr.ph49 ]
  %.03947 = phi i64 [ 1, %.lr.ph49.preheader.new ], [ %127, %.lr.ph49 ]
  %niter = phi i64 [ 0, %.lr.ph49.preheader.new ], [ %niter.next.3, %.lr.ph49 ]
  %108 = getelementptr i64, ptr %65, i64 %.03947
  %109 = getelementptr inbounds i64, ptr %24, i64 %.03947
  %110 = load i64, ptr %109, align 8, !tbaa !8
  %111 = add nsw i64 %110, %store_forwarded
  store i64 %111, ptr %108, align 8, !tbaa !8
  %112 = add nuw nsw i64 %.03947, 1
  %113 = getelementptr i64, ptr %65, i64 %112
  %114 = getelementptr inbounds i64, ptr %24, i64 %112
  %115 = load i64, ptr %114, align 8, !tbaa !8
  %116 = add nsw i64 %115, %111
  store i64 %116, ptr %113, align 8, !tbaa !8
  %117 = add nuw nsw i64 %.03947, 2
  %118 = getelementptr i64, ptr %65, i64 %117
  %119 = getelementptr inbounds i64, ptr %24, i64 %117
  %120 = load i64, ptr %119, align 8, !tbaa !8
  %121 = add nsw i64 %120, %116
  store i64 %121, ptr %118, align 8, !tbaa !8
  %122 = add nuw nsw i64 %.03947, 3
  %123 = getelementptr i64, ptr %65, i64 %122
  %124 = getelementptr inbounds i64, ptr %24, i64 %122
  %125 = load i64, ptr %124, align 8, !tbaa !8
  %126 = add nsw i64 %125, %121
  store i64 %126, ptr %123, align 8, !tbaa !8
  %127 = add nuw nsw i64 %.03947, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge50.loopexit.unr-lcssa, label %.lr.ph49, !llvm.loop !26

.preheader:                                       ; preds = %.lr.ph54, %middle.block73, %._crit_edge50
  %.038.lcssa = phi i64 [ 0, %._crit_edge50 ], [ %107, %middle.block73 ], [ %135, %.lr.ph54 ]
  %128 = load i64, ptr %4, align 8, !tbaa !8
  %.not4455 = icmp sgt i64 %96, %128
  br i1 %.not4455, label %._crit_edge60, label %.lr.ph59.preheader

.lr.ph59.preheader:                               ; preds = %.preheader
  %129 = add i64 %128, 1
  %130 = sub i64 %129, %96
  %131 = sub i64 %128, %96
  %xtraiter95 = and i64 %130, 3
  %132 = icmp ult i64 %131, 3
  br i1 %132, label %._crit_edge60.loopexit.unr-lcssa, label %.lr.ph59.preheader.new

.lr.ph59.preheader.new:                           ; preds = %.lr.ph59.preheader
  %unroll_iter99 = and i64 %130, -4
  %invariant.gep = getelementptr i8, ptr %65, i64 8
  %invariant.gep110 = getelementptr i8, ptr %65, i64 16
  %invariant.gep112 = getelementptr i8, ptr %65, i64 24
  br label %.lr.ph59

.lr.ph54:                                         ; preds = %.lr.ph54.preheader89, %.lr.ph54
  %.03752 = phi i64 [ %136, %.lr.ph54 ], [ %.03752.ph, %.lr.ph54.preheader89 ]
  %.03851 = phi i64 [ %135, %.lr.ph54 ], [ %.03851.ph, %.lr.ph54.preheader89 ]
  %133 = getelementptr inbounds i64, ptr %65, i64 %.03752
  %134 = load i64, ptr %133, align 8, !tbaa !8
  %135 = add nsw i64 %134, %.03851
  %136 = add nsw i64 %.03752, 1
  %137 = icmp slt i64 %136, %20
  br i1 %137, label %.lr.ph54, label %.preheader, !llvm.loop !27

._crit_edge60.loopexit.unr-lcssa:                 ; preds = %.lr.ph59, %.lr.ph59.preheader
  %.lcssa.ph = phi i64 [ poison, %.lr.ph59.preheader ], [ %157, %.lr.ph59 ]
  %.058.unr = phi i64 [ %96, %.lr.ph59.preheader ], [ %158, %.lr.ph59 ]
  %.157.unr = phi i64 [ %.038.lcssa, %.lr.ph59.preheader ], [ %156, %.lr.ph59 ]
  %.04056.unr = phi i64 [ 0, %.lr.ph59.preheader ], [ %157, %.lr.ph59 ]
  %lcmp.mod97.not = icmp eq i64 %xtraiter95, 0
  br i1 %lcmp.mod97.not, label %._crit_edge60, label %.lr.ph59.epil

.lr.ph59.epil:                                    ; preds = %._crit_edge60.loopexit.unr-lcssa, %.lr.ph59.epil
  %.058.epil = phi i64 [ %142, %.lr.ph59.epil ], [ %.058.unr, %._crit_edge60.loopexit.unr-lcssa ]
  %.157.epil = phi i64 [ %140, %.lr.ph59.epil ], [ %.157.unr, %._crit_edge60.loopexit.unr-lcssa ]
  %.04056.epil = phi i64 [ %141, %.lr.ph59.epil ], [ %.04056.unr, %._crit_edge60.loopexit.unr-lcssa ]
  %epil.iter96 = phi i64 [ %epil.iter96.next, %.lr.ph59.epil ], [ 0, %._crit_edge60.loopexit.unr-lcssa ]
  %138 = getelementptr inbounds i64, ptr %65, i64 %.058.epil
  %139 = load i64, ptr %138, align 8, !tbaa !8
  %140 = sub nsw i64 %.157.epil, %139
  %141 = add nsw i64 %140, %.04056.epil
  %142 = add i64 %.058.epil, 1
  %epil.iter96.next = add i64 %epil.iter96, 1
  %epil.iter96.cmp.not = icmp eq i64 %epil.iter96.next, %xtraiter95
  br i1 %epil.iter96.cmp.not, label %._crit_edge60, label %.lr.ph59.epil, !llvm.loop !28

._crit_edge60:                                    ; preds = %._crit_edge60.loopexit.unr-lcssa, %.lr.ph59.epil, %.preheader
  %.040.lcssa = phi i64 [ 0, %.preheader ], [ %.lcssa.ph, %._crit_edge60.loopexit.unr-lcssa ], [ %141, %.lr.ph59.epil ]
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.040.lcssa)
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @_ZdaPv(ptr noundef nonnull %24) #11
  call void @_ZdaPv(ptr noundef nonnull %65) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #9
  ret i32 0

.lr.ph59:                                         ; preds = %.lr.ph59, %.lr.ph59.preheader.new
  %.058 = phi i64 [ %96, %.lr.ph59.preheader.new ], [ %158, %.lr.ph59 ]
  %.157 = phi i64 [ %.038.lcssa, %.lr.ph59.preheader.new ], [ %156, %.lr.ph59 ]
  %.04056 = phi i64 [ 0, %.lr.ph59.preheader.new ], [ %157, %.lr.ph59 ]
  %niter100 = phi i64 [ 0, %.lr.ph59.preheader.new ], [ %niter100.next.3, %.lr.ph59 ]
  %145 = getelementptr inbounds i64, ptr %65, i64 %.058
  %146 = load i64, ptr %145, align 8, !tbaa !8
  %147 = sub nsw i64 %.157, %146
  %148 = add nsw i64 %147, %.04056
  %gep = getelementptr i64, ptr %invariant.gep, i64 %.058
  %149 = load i64, ptr %gep, align 8, !tbaa !8
  %150 = sub nsw i64 %147, %149
  %151 = add nsw i64 %150, %148
  %gep111 = getelementptr i64, ptr %invariant.gep110, i64 %.058
  %152 = load i64, ptr %gep111, align 8, !tbaa !8
  %153 = sub nsw i64 %150, %152
  %154 = add nsw i64 %153, %151
  %gep113 = getelementptr i64, ptr %invariant.gep112, i64 %.058
  %155 = load i64, ptr %gep113, align 8, !tbaa !8
  %156 = sub nsw i64 %153, %155
  %157 = add nsw i64 %156, %154
  %158 = add i64 %.058, 4
  %niter100.next.3 = add i64 %niter100, 4
  %niter100.ncmp.3 = icmp eq i64 %niter100.next.3, %unroll_iter99
  br i1 %niter100.ncmp.3, label %._crit_edge60.loopexit.unr-lcssa, label %.lr.ph59, !llvm.loop !29
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

; 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 #4 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

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

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

; 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 #4 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 #4 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)) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #8

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 = { "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 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nobuiltin 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = !{!14}
!14 = distinct !{!14, !15}
!15 = distinct !{!15, !"LVerDomain"}
!16 = !{!17}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !19, !20}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}
!25 = distinct !{!25, !19, !20, !21}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19, !21, !20}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !19}


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