; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/Educational 14/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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<char, std::pair<const char, char>, std::_Select1st<std::pair<const char, char>>, std::less<char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<char, std::pair<const char, char>, std::_Select1st<std::pair<const char, char>>, std::less<char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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::__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] }

@f = external dso_local global %"class.std::map", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i8, align 1
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #5
  store i8 65, ptr %2, align 1, !tbaa !5
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %2)
  store i8 65, ptr %27, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #5
  store i8 72, ptr %3, align 1, !tbaa !5
  %28 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %3)
  store i8 72, ptr %28, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  store i8 73, ptr %4, align 1, !tbaa !5
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %4)
  store i8 73, ptr %29, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 77, ptr %5, align 1, !tbaa !5
  %30 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %5)
  store i8 77, ptr %30, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 79, ptr %6, align 1, !tbaa !5
  %31 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %6)
  store i8 79, ptr %31, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 84, ptr %7, align 1, !tbaa !5
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %7)
  store i8 84, ptr %32, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 85, ptr %8, align 1, !tbaa !5
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %8)
  store i8 85, ptr %33, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 86, ptr %9, align 1, !tbaa !5
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %9)
  store i8 86, ptr %34, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 87, ptr %10, align 1, !tbaa !5
  %35 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %10)
  store i8 87, ptr %35, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 88, ptr %11, align 1, !tbaa !5
  %36 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %11)
  store i8 88, ptr %36, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  store i8 89, ptr %12, align 1, !tbaa !5
  %37 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %12)
  store i8 89, ptr %37, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 98, ptr %13, align 1, !tbaa !5
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %13)
  store i8 100, ptr %38, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  store i8 100, ptr %14, align 1, !tbaa !5
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %14)
  store i8 98, ptr %39, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  store i8 111, ptr %15, align 1, !tbaa !5
  %40 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %15)
  store i8 111, ptr %40, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 112, ptr %16, align 1, !tbaa !5
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %16)
  store i8 113, ptr %41, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  store i8 113, ptr %17, align 1, !tbaa !5
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %17)
  store i8 112, ptr %42, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  store i8 118, ptr %18, align 1, !tbaa !5
  %43 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %18)
  store i8 118, ptr %43, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 119, ptr %19, align 1, !tbaa !5
  %44 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %19)
  store i8 119, ptr %44, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  store i8 120, ptr %20, align 1, !tbaa !5
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %20)
  store i8 120, ptr %45, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  %46 = 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) %21)
          to label %47 unwind label %56

47:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 0, ptr %24, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %48 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  %49 = sub i64 %48, 1
  %50 = trunc i64 %49 to i32
  store i32 %50, ptr %25, align 4, !tbaa !8
  br label %51

51:                                               ; preds = %95, %47
  %52 = load i32, ptr %24, align 4, !tbaa !8
  %53 = load i32, ptr %25, align 4, !tbaa !8
  %54 = icmp sle i32 %52, %53
  br i1 %54, label %60, label %55

55:                                               ; preds = %51
  store i32 2, ptr %26, align 4
  br label %100

56:                                               ; preds = %102, %0
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %22, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %23, align 4
  br label %107

60:                                               ; preds = %51
  %61 = load i32, ptr %24, align 4, !tbaa !8
  %62 = sext i32 %61 to i64
  %63 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %21, i64 noundef %62)
          to label %64 unwind label %71

64:                                               ; preds = %60
  %65 = invoke noundef i64 @_ZNKSt3mapIccSt4lessIcESaISt4pairIKccEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %63)
          to label %66 unwind label %71

66:                                               ; preds = %64
  %67 = icmp ne i64 %65, 0
  br i1 %67, label %75, label %68

68:                                               ; preds = %66
  %69 = invoke i32 @puts(ptr noundef @.str)
          to label %70 unwind label %71

70:                                               ; preds = %68
  store i32 0, ptr %1, align 4
  store i32 1, ptr %26, align 4
  br label %100

71:                                               ; preds = %91, %81, %79, %75, %68, %64, %60
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %22, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %107

75:                                               ; preds = %66
  %76 = load i32, ptr %24, align 4, !tbaa !8
  %77 = sext i32 %76 to i64
  %78 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %21, i64 noundef %77)
          to label %79 unwind label %71

79:                                               ; preds = %75
  %80 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %81 unwind label %71

81:                                               ; preds = %79
  %82 = load i8, ptr %80, align 1, !tbaa !5
  %83 = sext i8 %82 to i32
  %84 = load i32, ptr %25, align 4, !tbaa !8
  %85 = sext i32 %84 to i64
  %86 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %21, i64 noundef %85)
          to label %87 unwind label %71

87:                                               ; preds = %81
  %88 = load i8, ptr %86, align 1, !tbaa !5
  %89 = sext i8 %88 to i32
  %90 = icmp ne i32 %83, %89
  br i1 %90, label %91, label %94

91:                                               ; preds = %87
  %92 = invoke i32 @puts(ptr noundef @.str)
          to label %93 unwind label %71

93:                                               ; preds = %91
  store i32 0, ptr %1, align 4
  store i32 1, ptr %26, align 4
  br label %100

94:                                               ; preds = %87
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %24, align 4, !tbaa !8
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %24, align 4, !tbaa !8
  %98 = load i32, ptr %25, align 4, !tbaa !8
  %99 = add nsw i32 %98, -1
  store i32 %99, ptr %25, align 4, !tbaa !8
  br label %51, !llvm.loop !10

100:                                              ; preds = %93, %70, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  %101 = load i32, ptr %26, align 4
  switch i32 %101, label %105 [
    i32 2, label %102
  ]

102:                                              ; preds = %100
  %103 = invoke i32 @puts(ptr noundef @.str.2)
          to label %104 unwind label %56

104:                                              ; preds = %102
  store i32 0, ptr %1, align 4
  store i32 1, ptr %26, align 4
  br label %105

105:                                              ; preds = %104, %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  %106 = load i32, ptr %1, align 4
  ret i32 %106

107:                                              ; preds = %71, %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %22, align 8
  %110 = load i32, ptr %23, align 4
  %111 = insertvalue { ptr, i32 } poison, ptr %109, 0
  %112 = insertvalue { ptr, i32 } %111, i32 %110, 1
  resume { ptr, i32 } %112
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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)) #4

declare i32 @__gxx_personality_v0(...)

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

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

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

declare i32 @puts(ptr noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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 = { 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 = { 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 = { "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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<char, std::pair<const char, char>, std::_Select1st<std::pair<const char, char>>, std::less<char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<char, std::pair<const char, char>, std::_Select1st<std::pair<const char, char>>, std::less<char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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::__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] }

@f = external dso_local global %"class.std::map", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i8, align 1
  %2 = alloca i8, align 1
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #6
  store i8 65, ptr %1, align 1, !tbaa !5
  %21 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %1)
  store i8 65, ptr %21, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  store i8 72, ptr %2, align 1, !tbaa !5
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %2)
  store i8 72, ptr %22, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  store i8 73, ptr %3, align 1, !tbaa !5
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %3)
  store i8 73, ptr %23, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  store i8 77, ptr %4, align 1, !tbaa !5
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %4)
  store i8 77, ptr %24, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  store i8 79, ptr %5, align 1, !tbaa !5
  %25 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %5)
  store i8 79, ptr %25, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  store i8 84, ptr %6, align 1, !tbaa !5
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %6)
  store i8 84, ptr %26, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  store i8 85, ptr %7, align 1, !tbaa !5
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %7)
  store i8 85, ptr %27, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  store i8 86, ptr %8, align 1, !tbaa !5
  %28 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %8)
  store i8 86, ptr %28, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  store i8 87, ptr %9, align 1, !tbaa !5
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %9)
  store i8 87, ptr %29, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  store i8 88, ptr %10, align 1, !tbaa !5
  %30 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %10)
  store i8 88, ptr %30, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  store i8 89, ptr %11, align 1, !tbaa !5
  %31 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %11)
  store i8 89, ptr %31, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  store i8 98, ptr %12, align 1, !tbaa !5
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %12)
  store i8 100, ptr %32, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  store i8 100, ptr %13, align 1, !tbaa !5
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %13)
  store i8 98, ptr %33, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  store i8 111, ptr %14, align 1, !tbaa !5
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %14)
  store i8 111, ptr %34, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  store i8 112, ptr %15, align 1, !tbaa !5
  %35 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %15)
  store i8 113, ptr %35, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  store i8 113, ptr %16, align 1, !tbaa !5
  %36 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %16)
  store i8 112, ptr %36, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  store i8 118, ptr %17, align 1, !tbaa !5
  %37 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %17)
  store i8 118, ptr %37, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  store i8 119, ptr %18, align 1, !tbaa !5
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %18)
  store i8 119, ptr %38, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  store i8 120, ptr %19, align 1, !tbaa !5
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %19)
  store i8 120, ptr %39, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  %40 = 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) %20)
          to label %41 unwind label %46

41:                                               ; preds = %0
  %42 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  %43 = trunc i64 %42 to i32
  %.01018 = add i32 %43, -1
  %.not19 = icmp slt i32 %.01018, 0
  br i1 %.not19, label %.critedge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %41
  %44 = zext nneg i32 %.01018 to i64
  br label %.lr.ph

45:                                               ; preds = %56
  %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22, 1
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not.not = icmp slt i64 %indvars.iv22, %indvars.iv.next
  br i1 %.not.not, label %.lr.ph, label %.critedge, !llvm.loop !8

46:                                               ; preds = %0
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %61

.lr.ph:                                           ; preds = %.lr.ph.preheader, %45
  %indvars.iv22 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next23, %45 ]
  %indvars.iv = phi i64 [ %44, %.lr.ph.preheader ], [ %indvars.iv.next, %45 ]
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %indvars.iv22)
  %49 = invoke noundef i64 @_ZNKSt3mapIccSt4lessIcESaISt4pairIKccEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %50 unwind label %51

50:                                               ; preds = %.lr.ph
  %.not15 = icmp eq i64 %49, 0
  br i1 %.not15, label %.critedge, label %53

51:                                               ; preds = %53, %.lr.ph
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %61

53:                                               ; preds = %50
  %54 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %indvars.iv22)
  %55 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %56 unwind label %51

56:                                               ; preds = %53
  %57 = load i8, ptr %55, align 1, !tbaa !5
  %58 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %indvars.iv)
  %59 = load i8, ptr %58, align 1, !tbaa !5
  %.not17 = icmp eq i8 %57, %59
  br i1 %.not17, label %45, label %.critedge

.critedge:                                        ; preds = %45, %56, %50, %41
  %.str.sink = phi ptr [ @.str.2, %41 ], [ @.str, %50 ], [ @.str, %56 ], [ @.str.2, %45 ]
  %60 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %.str.sink)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  ret i32 0

61:                                               ; preds = %51, %46
  %.pn = phi { ptr, i32 } [ %52, %51 ], [ %47, %46 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt3mapIccSt4lessIcESaISt4pairIKccEEEixEOc(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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 #4

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 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 = { 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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