; LLVM IR from seikhchilli/codeforces-solution :: 1551B1 (main)

; 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" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca [26 x i32], align 16
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %17 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %18 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %19 = getelementptr i8, ptr %18, i64 -24
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %20
  %22 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %21, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.start.p0(i64 104, ptr %4) #7
  br label %24

24:                                               ; preds = %95, %0
  %25 = load i32, ptr %2, align 4, !tbaa !8
  %26 = add nsw i32 %25, -1
  store i32 %26, ptr %2, align 4, !tbaa !8
  %27 = icmp ne i32 %25, 0
  br i1 %27, label %28, label %100

28:                                               ; preds = %24
  %29 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %30 unwind label %41

30:                                               ; preds = %28
  %31 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %31, i8 0, i64 104, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store ptr %3, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %32 = load ptr, ptr %7, align 8, !tbaa !11
  %33 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %35 = load ptr, ptr %7, align 8, !tbaa !11
  %36 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  br label %38

38:                                               ; preds = %55, %30
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %39, label %45, label %40

40:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %57

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %5, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %6, align 4
  br label %102

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  %46 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %47 = load i8, ptr %46, align 1, !tbaa !13
  store i8 %47, ptr %10, align 1, !tbaa !13
  %48 = load i8, ptr %10, align 1, !tbaa !13
  %49 = sext i8 %48 to i32
  %50 = sub nsw i32 %49, 97
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [26 x i32], ptr %4, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !8
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %52, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %55

55:                                               ; preds = %45
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %38

57:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr %4, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %58 = load ptr, ptr %13, align 8, !tbaa !11
  %59 = getelementptr inbounds [26 x i32], ptr %58, i64 0, i64 0
  store ptr %59, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %60 = load ptr, ptr %13, align 8, !tbaa !11
  %61 = getelementptr inbounds [26 x i32], ptr %60, i64 0, i64 0
  %62 = getelementptr inbounds i32, ptr %61, i64 26
  store ptr %62, ptr %15, align 8, !tbaa !11
  br label %63

63:                                               ; preds = %84, %57
  %64 = load ptr, ptr %14, align 8, !tbaa !11
  %65 = load ptr, ptr %15, align 8, !tbaa !11
  %66 = icmp ne ptr %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %87

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %69 = load ptr, ptr %14, align 8, !tbaa !11
  %70 = load i32, ptr %69, align 4, !tbaa !8
  store i32 %70, ptr %16, align 4, !tbaa !8
  %71 = load i32, ptr %16, align 4, !tbaa !8
  %72 = icmp eq i32 %71, 1
  br i1 %72, label %73, label %76

73:                                               ; preds = %68
  %74 = load i32, ptr %11, align 4, !tbaa !8
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %11, align 4, !tbaa !8
  br label %83

76:                                               ; preds = %68
  %77 = load i32, ptr %16, align 4, !tbaa !8
  %78 = icmp sgt i32 %77, 1
  br i1 %78, label %79, label %82

79:                                               ; preds = %76
  %80 = load i32, ptr %12, align 4, !tbaa !8
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %12, align 4, !tbaa !8
  br label %82

82:                                               ; preds = %79, %76
  br label %83

83:                                               ; preds = %82, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %84

84:                                               ; preds = %83
  %85 = load ptr, ptr %14, align 8, !tbaa !11
  %86 = getelementptr inbounds i32, ptr %85, i32 1
  store ptr %86, ptr %14, align 8, !tbaa !11
  br label %63

87:                                               ; preds = %67
  %88 = load i32, ptr %12, align 4, !tbaa !8
  %89 = load i32, ptr %11, align 4, !tbaa !8
  %90 = sdiv i32 %89, 2
  %91 = add nsw i32 %88, %90
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %91)
          to label %93 unwind label %96

93:                                               ; preds = %87
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %92, i8 noundef signext 10)
          to label %95 unwind label %96

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %24, !llvm.loop !14

96:                                               ; preds = %93, %87
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %5, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %102

100:                                              ; preds = %24
  call void @llvm.lifetime.end.p0(i64 104, ptr %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %101 = load i32, ptr %1, align 4
  ret i32 %101

102:                                              ; preds = %96, %41
  call void @llvm.lifetime.end.p0(i64 104, ptr %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %103

103:                                              ; preds = %102
  %104 = load ptr, ptr %5, align 8
  %105 = load i32, ptr %6, align 4
  %106 = insertvalue { ptr, i32 } poison, ptr %104, 0
  %107 = insertvalue { ptr, i32 } %106, i32 %105, 1
  resume { ptr, i32 } %107
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #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 = { 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!10, !10, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

%"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" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca [26 x i32], align 16
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %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 4, ptr nonnull %1) #7
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %3) #7
  %.018.ptr.1.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 4
  %.018.ptr.2.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 8
  %.018.ptr.3.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 12
  %.018.ptr.4.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 16
  %.018.ptr.5.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 20
  %.018.ptr.6.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 24
  %.018.ptr.7.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 28
  %.018.ptr.8.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 32
  %.018.ptr.9.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 36
  %.018.ptr.10.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 40
  %.018.ptr.11.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 44
  %.018.ptr.12.phi.trans.insert = getelementptr inbounds i8, ptr %3, i64 48
  %.018.ptr.13 = getelementptr inbounds i8, ptr %3, i64 52
  %.018.ptr.14 = getelementptr inbounds i8, ptr %3, i64 56
  %.018.ptr.15 = getelementptr inbounds i8, ptr %3, i64 60
  %.018.ptr.16 = getelementptr inbounds i8, ptr %3, i64 64
  %.018.ptr.17 = getelementptr inbounds i8, ptr %3, i64 68
  %.018.ptr.18 = getelementptr inbounds i8, ptr %3, i64 72
  %.018.ptr.19 = getelementptr inbounds i8, ptr %3, i64 76
  %.018.ptr.20 = getelementptr inbounds i8, ptr %3, i64 80
  %.018.ptr.21 = getelementptr inbounds i8, ptr %3, i64 84
  %.018.ptr.22 = getelementptr inbounds i8, ptr %3, i64 88
  %.018.ptr.23 = getelementptr inbounds i8, ptr %3, i64 92
  %.018.ptr.24 = getelementptr inbounds i8, ptr %3, i64 96
  %.018.ptr.25 = getelementptr inbounds i8, ptr %3, i64 100
  br label %13

13:                                               ; preds = %166, %0
  %14 = load i32, ptr %1, align 4, !tbaa !8
  %15 = add nsw i32 %14, -1
  store i32 %15, ptr %1, align 4, !tbaa !8
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %170, label %16

16:                                               ; preds = %13
  %17 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %18 unwind label %155

18:                                               ; preds = %16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(104) %3, i8 0, i64 104, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %19 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  store ptr %19, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %20 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  store ptr %20, ptr %5, align 8
  %21 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr %3, align 16, !tbaa !8
  %.pre28 = load i32, ptr %.018.ptr.1.phi.trans.insert, align 4, !tbaa !8
  %.pre29 = load i32, ptr %.018.ptr.2.phi.trans.insert, align 8, !tbaa !8
  %.pre30 = load i32, ptr %.018.ptr.3.phi.trans.insert, align 4, !tbaa !8
  %.pre31 = load i32, ptr %.018.ptr.4.phi.trans.insert, align 16, !tbaa !8
  %.pre32 = load i32, ptr %.018.ptr.5.phi.trans.insert, align 4, !tbaa !8
  %.pre33 = load i32, ptr %.018.ptr.6.phi.trans.insert, align 8, !tbaa !8
  %.pre34 = load i32, ptr %.018.ptr.7.phi.trans.insert, align 4, !tbaa !8
  %.pre35 = load i32, ptr %.018.ptr.8.phi.trans.insert, align 16, !tbaa !8
  %.pre36 = load i32, ptr %.018.ptr.9.phi.trans.insert, align 4, !tbaa !8
  %.pre37 = load i32, ptr %.018.ptr.10.phi.trans.insert, align 8, !tbaa !8
  %.pre38 = load i32, ptr %.018.ptr.11.phi.trans.insert, align 4, !tbaa !8
  %.pre39 = load i32, ptr %.018.ptr.12.phi.trans.insert, align 16, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %18
  %22 = phi i32 [ %.pre39, %._crit_edge.loopexit ], [ 0, %18 ]
  %23 = phi i32 [ %.pre38, %._crit_edge.loopexit ], [ 0, %18 ]
  %24 = phi i32 [ %.pre37, %._crit_edge.loopexit ], [ 0, %18 ]
  %25 = phi i32 [ %.pre36, %._crit_edge.loopexit ], [ 0, %18 ]
  %26 = phi i32 [ %.pre35, %._crit_edge.loopexit ], [ 0, %18 ]
  %27 = phi i32 [ %.pre34, %._crit_edge.loopexit ], [ 0, %18 ]
  %28 = phi i32 [ %.pre33, %._crit_edge.loopexit ], [ 0, %18 ]
  %29 = phi i32 [ %.pre32, %._crit_edge.loopexit ], [ 0, %18 ]
  %30 = phi i32 [ %.pre31, %._crit_edge.loopexit ], [ 0, %18 ]
  %31 = phi i32 [ %.pre30, %._crit_edge.loopexit ], [ 0, %18 ]
  %32 = phi i32 [ %.pre29, %._crit_edge.loopexit ], [ 0, %18 ]
  %33 = phi i32 [ %.pre28, %._crit_edge.loopexit ], [ 0, %18 ]
  %34 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ 0, %18 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %35 = icmp eq i32 %34, 1
  %36 = icmp sgt i32 %34, 1
  %37 = zext i1 %36 to i32
  %38 = zext i1 %35 to i32
  %39 = icmp eq i32 %33, 1
  %40 = icmp sgt i32 %33, 1
  %41 = zext i1 %40 to i32
  %spec.select.1 = add nuw nsw i32 %37, %41
  %42 = zext i1 %39 to i32
  %.1.1 = add nuw nsw i32 %38, %42
  %43 = icmp eq i32 %32, 1
  %44 = icmp sgt i32 %32, 1
  %45 = zext i1 %44 to i32
  %spec.select.2 = add nuw nsw i32 %spec.select.1, %45
  %46 = zext i1 %43 to i32
  %.1.2 = add nuw nsw i32 %.1.1, %46
  %47 = icmp eq i32 %31, 1
  %48 = icmp sgt i32 %31, 1
  %49 = zext i1 %48 to i32
  %spec.select.3 = add nuw nsw i32 %spec.select.2, %49
  %50 = zext i1 %47 to i32
  %.1.3 = add nuw nsw i32 %.1.2, %50
  %51 = icmp eq i32 %30, 1
  %52 = icmp sgt i32 %30, 1
  %53 = zext i1 %52 to i32
  %spec.select.4 = add nuw nsw i32 %spec.select.3, %53
  %54 = zext i1 %51 to i32
  %.1.4 = add nuw nsw i32 %.1.3, %54
  %55 = icmp eq i32 %29, 1
  %56 = icmp sgt i32 %29, 1
  %57 = zext i1 %56 to i32
  %spec.select.5 = add nuw nsw i32 %spec.select.4, %57
  %58 = zext i1 %55 to i32
  %.1.5 = add nuw nsw i32 %.1.4, %58
  %59 = icmp eq i32 %28, 1
  %60 = icmp sgt i32 %28, 1
  %61 = zext i1 %60 to i32
  %spec.select.6 = add nuw nsw i32 %spec.select.5, %61
  %62 = zext i1 %59 to i32
  %.1.6 = add nuw nsw i32 %.1.5, %62
  %63 = icmp eq i32 %27, 1
  %64 = icmp sgt i32 %27, 1
  %65 = zext i1 %64 to i32
  %spec.select.7 = add nuw nsw i32 %spec.select.6, %65
  %66 = zext i1 %63 to i32
  %.1.7 = add nuw nsw i32 %.1.6, %66
  %67 = icmp eq i32 %26, 1
  %68 = icmp sgt i32 %26, 1
  %69 = zext i1 %68 to i32
  %spec.select.8 = add nuw nsw i32 %spec.select.7, %69
  %70 = zext i1 %67 to i32
  %.1.8 = add nuw nsw i32 %.1.7, %70
  %71 = icmp eq i32 %25, 1
  %72 = icmp sgt i32 %25, 1
  %73 = zext i1 %72 to i32
  %spec.select.9 = add nuw nsw i32 %spec.select.8, %73
  %74 = zext i1 %71 to i32
  %.1.9 = add nuw nsw i32 %.1.8, %74
  %75 = icmp eq i32 %24, 1
  %76 = icmp sgt i32 %24, 1
  %77 = zext i1 %76 to i32
  %spec.select.10 = add nuw nsw i32 %spec.select.9, %77
  %78 = zext i1 %75 to i32
  %.1.10 = add nuw nsw i32 %.1.9, %78
  %79 = icmp eq i32 %23, 1
  %80 = icmp sgt i32 %23, 1
  %81 = zext i1 %80 to i32
  %spec.select.11 = add nuw nsw i32 %spec.select.10, %81
  %82 = zext i1 %79 to i32
  %.1.11 = add nuw nsw i32 %.1.10, %82
  %83 = icmp eq i32 %22, 1
  %84 = icmp sgt i32 %22, 1
  %85 = zext i1 %84 to i32
  %spec.select.12 = add nuw nsw i32 %spec.select.11, %85
  %86 = zext i1 %83 to i32
  %.1.12 = add nuw nsw i32 %.1.11, %86
  %87 = load i32, ptr %.018.ptr.13, align 4, !tbaa !8
  %88 = icmp eq i32 %87, 1
  %89 = icmp sgt i32 %87, 1
  %90 = zext i1 %89 to i32
  %spec.select.13 = add nuw nsw i32 %spec.select.12, %90
  %91 = zext i1 %88 to i32
  %.1.13 = add nuw nsw i32 %.1.12, %91
  %92 = load i32, ptr %.018.ptr.14, align 8, !tbaa !8
  %93 = icmp eq i32 %92, 1
  %94 = icmp sgt i32 %92, 1
  %95 = zext i1 %94 to i32
  %spec.select.14 = add nuw nsw i32 %spec.select.13, %95
  %96 = zext i1 %93 to i32
  %.1.14 = add nuw nsw i32 %.1.13, %96
  %97 = load i32, ptr %.018.ptr.15, align 4, !tbaa !8
  %98 = icmp eq i32 %97, 1
  %99 = icmp sgt i32 %97, 1
  %100 = zext i1 %99 to i32
  %spec.select.15 = add nuw nsw i32 %spec.select.14, %100
  %101 = zext i1 %98 to i32
  %.1.15 = add nuw nsw i32 %.1.14, %101
  %102 = load i32, ptr %.018.ptr.16, align 16, !tbaa !8
  %103 = icmp eq i32 %102, 1
  %104 = icmp sgt i32 %102, 1
  %105 = zext i1 %104 to i32
  %spec.select.16 = add nuw nsw i32 %spec.select.15, %105
  %106 = zext i1 %103 to i32
  %.1.16 = add nuw nsw i32 %.1.15, %106
  %107 = load i32, ptr %.018.ptr.17, align 4, !tbaa !8
  %108 = icmp eq i32 %107, 1
  %109 = icmp sgt i32 %107, 1
  %110 = zext i1 %109 to i32
  %spec.select.17 = add nuw nsw i32 %spec.select.16, %110
  %111 = zext i1 %108 to i32
  %.1.17 = add nuw nsw i32 %.1.16, %111
  %112 = load i32, ptr %.018.ptr.18, align 8, !tbaa !8
  %113 = icmp eq i32 %112, 1
  %114 = icmp sgt i32 %112, 1
  %115 = zext i1 %114 to i32
  %spec.select.18 = add nuw nsw i32 %spec.select.17, %115
  %116 = zext i1 %113 to i32
  %.1.18 = add nuw nsw i32 %.1.17, %116
  %117 = load i32, ptr %.018.ptr.19, align 4, !tbaa !8
  %118 = icmp eq i32 %117, 1
  %119 = icmp sgt i32 %117, 1
  %120 = zext i1 %119 to i32
  %spec.select.19 = add nuw nsw i32 %spec.select.18, %120
  %121 = zext i1 %118 to i32
  %.1.19 = add nuw nsw i32 %.1.18, %121
  %122 = load i32, ptr %.018.ptr.20, align 16, !tbaa !8
  %123 = icmp eq i32 %122, 1
  %124 = icmp sgt i32 %122, 1
  %125 = zext i1 %124 to i32
  %spec.select.20 = add nuw nsw i32 %spec.select.19, %125
  %126 = zext i1 %123 to i32
  %.1.20 = add nuw nsw i32 %.1.19, %126
  %127 = load i32, ptr %.018.ptr.21, align 4, !tbaa !8
  %128 = icmp eq i32 %127, 1
  %129 = icmp sgt i32 %127, 1
  %130 = zext i1 %129 to i32
  %spec.select.21 = add nuw nsw i32 %spec.select.20, %130
  %131 = zext i1 %128 to i32
  %.1.21 = add nuw nsw i32 %.1.20, %131
  %132 = load i32, ptr %.018.ptr.22, align 8, !tbaa !8
  %133 = icmp eq i32 %132, 1
  %134 = icmp sgt i32 %132, 1
  %135 = zext i1 %134 to i32
  %spec.select.22 = add nuw nsw i32 %spec.select.21, %135
  %136 = zext i1 %133 to i32
  %.1.22 = add nuw nsw i32 %.1.21, %136
  %137 = load i32, ptr %.018.ptr.23, align 4, !tbaa !8
  %138 = icmp eq i32 %137, 1
  %139 = icmp sgt i32 %137, 1
  %140 = zext i1 %139 to i32
  %spec.select.23 = add nuw nsw i32 %spec.select.22, %140
  %141 = zext i1 %138 to i32
  %.1.23 = add nuw nsw i32 %.1.22, %141
  %142 = load i32, ptr %.018.ptr.24, align 16, !tbaa !8
  %143 = icmp eq i32 %142, 1
  %144 = icmp sgt i32 %142, 1
  %145 = zext i1 %144 to i32
  %spec.select.24 = add nuw nsw i32 %spec.select.23, %145
  %146 = zext i1 %143 to i32
  %.1.24 = add nuw nsw i32 %.1.23, %146
  %147 = load i32, ptr %.018.ptr.25, align 4, !tbaa !8
  %148 = icmp eq i32 %147, 1
  %149 = icmp sgt i32 %147, 1
  %150 = zext i1 %149 to i32
  %spec.select.25 = add nuw nsw i32 %spec.select.24, %150
  %151 = zext i1 %148 to i32
  %.1.25 = add nuw nsw i32 %.1.24, %151
  %152 = lshr i32 %.1.25, 1
  %153 = add nuw nsw i32 %152, %spec.select.25
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %153)
          to label %166 unwind label %168

155:                                              ; preds = %16
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %171

.lr.ph:                                           ; preds = %18, %.lr.ph
  %157 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %158 = load i8, ptr %157, align 1, !tbaa !11
  %159 = sext i8 %158 to i64
  %160 = add nsw i64 %159, -97
  %161 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !8
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %161, align 4, !tbaa !8
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %165 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br i1 %165, label %.lr.ph, label %._crit_edge.loopexit

166:                                              ; preds = %._crit_edge
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %154, i8 noundef signext 10)
          to label %13 unwind label %168, !llvm.loop !12

168:                                              ; preds = %166, %._crit_edge
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %171

170:                                              ; preds = %13
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

171:                                              ; preds = %168, %155
  %.pn = phi { ptr, i32 } [ %169, %168 ], [ %156, %155 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn
}

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

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 #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #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 = { 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 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!10, !10, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass