; LLVM IR from Leet-Us-Code/DSA-A-Z-Practice :: Sid's Contests/Codechef contests/Basic Problems (Lapindromes)

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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = 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 i64, align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca [26 x i64], align 16
  %8 = alloca [26 x i64], align 16
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  %11 = 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)
  br label %12

12:                                               ; preds = %152, %0
  %13 = load i64, ptr %2, align 8, !tbaa !5
  %14 = add nsw i64 %13, -1
  store i64 %14, ptr %2, align 8, !tbaa !5
  %15 = icmp ne i64 %13, 0
  br i1 %15, label %16, label %155

16:                                               ; preds = %12
  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
  %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) %3)
          to label %18 unwind label %44

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 208, ptr %7) #7
  call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 208, i1 false)
  call void @llvm.lifetime.start.p0(i64 208, ptr %8) #7
  call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 208, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %19 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  store i64 %19, ptr %9, align 8, !tbaa !5
  %20 = load i64, ptr %9, align 8, !tbaa !5
  %21 = srem i64 %20, 2
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %74

23:                                               ; preds = %18
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %41, %23
  %25 = load i64, ptr %6, align 8, !tbaa !5
  %26 = load i64, ptr %9, align 8, !tbaa !5
  %27 = sdiv i64 %26, 2
  %28 = sub nsw i64 %27, 1
  %29 = icmp sle i64 %25, %28
  br i1 %29, label %30, label %52

30:                                               ; preds = %24
  %31 = load i64, ptr %6, align 8, !tbaa !5
  %32 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %31)
          to label %33 unwind label %48

33:                                               ; preds = %30
  %34 = load i8, ptr %32, align 1, !tbaa !9
  %35 = sext i8 %34 to i32
  %36 = sub nsw i32 %35, 97
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [26 x i64], ptr %7, i64 0, i64 %37
  %39 = load i64, ptr %38, align 8, !tbaa !5
  %40 = add nsw i64 %39, 1
  store i64 %40, ptr %38, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %33
  %42 = load i64, ptr %6, align 8, !tbaa !5
  %43 = add nsw i64 %42, 1
  store i64 %43, ptr %6, align 8, !tbaa !5
  br label %24, !llvm.loop !10

44:                                               ; preds = %16
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  br label %154

48:                                               ; preds = %103, %81, %59, %30
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  br label %153

52:                                               ; preds = %24
  %53 = load i64, ptr %9, align 8, !tbaa !5
  %54 = sdiv i64 %53, 2
  store i64 %54, ptr %6, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %70, %52
  %56 = load i64, ptr %6, align 8, !tbaa !5
  %57 = load i64, ptr %9, align 8, !tbaa !5
  %58 = icmp slt i64 %56, %57
  br i1 %58, label %59, label %73

59:                                               ; preds = %55
  %60 = load i64, ptr %6, align 8, !tbaa !5
  %61 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %60)
          to label %62 unwind label %48

62:                                               ; preds = %59
  %63 = load i8, ptr %61, align 1, !tbaa !9
  %64 = sext i8 %63 to i32
  %65 = sub nsw i32 %64, 97
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [26 x i64], ptr %8, i64 0, i64 %66
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = add nsw i64 %68, 1
  store i64 %69, ptr %67, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %62
  %71 = load i64, ptr %6, align 8, !tbaa !5
  %72 = add nsw i64 %71, 1
  store i64 %72, ptr %6, align 8, !tbaa !5
  br label %55, !llvm.loop !12

73:                                               ; preds = %55
  br label %118

74:                                               ; preds = %18
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %92, %74
  %76 = load i64, ptr %6, align 8, !tbaa !5
  %77 = load i64, ptr %9, align 8, !tbaa !5
  %78 = sdiv i64 %77, 2
  %79 = sub nsw i64 %78, 1
  %80 = icmp sle i64 %76, %79
  br i1 %80, label %81, label %95

81:                                               ; preds = %75
  %82 = load i64, ptr %6, align 8, !tbaa !5
  %83 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %82)
          to label %84 unwind label %48

84:                                               ; preds = %81
  %85 = load i8, ptr %83, align 1, !tbaa !9
  %86 = sext i8 %85 to i32
  %87 = sub nsw i32 %86, 97
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [26 x i64], ptr %7, i64 0, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !5
  %91 = add nsw i64 %90, 1
  store i64 %91, ptr %89, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %84
  %93 = load i64, ptr %6, align 8, !tbaa !5
  %94 = add nsw i64 %93, 1
  store i64 %94, ptr %6, align 8, !tbaa !5
  br label %75, !llvm.loop !13

95:                                               ; preds = %75
  %96 = load i64, ptr %9, align 8, !tbaa !5
  %97 = sdiv i64 %96, 2
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %6, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %114, %95
  %100 = load i64, ptr %6, align 8, !tbaa !5
  %101 = load i64, ptr %9, align 8, !tbaa !5
  %102 = icmp slt i64 %100, %101
  br i1 %102, label %103, label %117

103:                                              ; preds = %99
  %104 = load i64, ptr %6, align 8, !tbaa !5
  %105 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %104)
          to label %106 unwind label %48

106:                                              ; preds = %103
  %107 = load i8, ptr %105, align 1, !tbaa !9
  %108 = sext i8 %107 to i32
  %109 = sub nsw i32 %108, 97
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [26 x i64], ptr %8, i64 0, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !5
  %113 = add nsw i64 %112, 1
  store i64 %113, ptr %111, align 8, !tbaa !5
  br label %114

114:                                              ; preds = %106
  %115 = load i64, ptr %6, align 8, !tbaa !5
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %6, align 8, !tbaa !5
  br label %99, !llvm.loop !14

117:                                              ; preds = %99
  br label %118

118:                                              ; preds = %117, %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !15
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %132, %118
  %120 = load i64, ptr %6, align 8, !tbaa !5
  %121 = icmp slt i64 %120, 26
  br i1 %121, label %122, label %135

122:                                              ; preds = %119
  %123 = load i64, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds [26 x i64], ptr %7, i64 0, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !5
  %126 = load i64, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds [26 x i64], ptr %8, i64 0, i64 %126
  %128 = load i64, ptr %127, align 8, !tbaa !5
  %129 = icmp ne i64 %125, %128
  br i1 %129, label %130, label %131

130:                                              ; preds = %122
  store i32 1, ptr %10, align 4, !tbaa !15
  br label %135

131:                                              ; preds = %122
  br label %132

132:                                              ; preds = %131
  %133 = load i64, ptr %6, align 8, !tbaa !5
  %134 = add nsw i64 %133, 1
  store i64 %134, ptr %6, align 8, !tbaa !5
  br label %119, !llvm.loop !17

135:                                              ; preds = %130, %119
  %136 = load i32, ptr %10, align 4, !tbaa !15
  %137 = icmp eq i32 %136, 1
  br i1 %137, label %138, label %147

138:                                              ; preds = %135
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %140 unwind label %143

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %142 unwind label %143

142:                                              ; preds = %140
  br label %152

143:                                              ; preds = %149, %147, %140, %138
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %4, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %153

147:                                              ; preds = %135
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %149 unwind label %143

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %151 unwind label %143

151:                                              ; preds = %149
  br label %152

152:                                              ; preds = %151, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 208, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 208, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #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
  br label %12, !llvm.loop !18

153:                                              ; preds = %143, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 208, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 208, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %154

154:                                              ; preds = %153, %44
  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 8, ptr %2) #7
  br label %157

155:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %156 = load i32, ptr %1, align 4
  ret i32 %156

157:                                              ; preds = %154
  %158 = load ptr, ptr %4, align 8
  %159 = load i32, ptr %5, align 4
  %160 = insertvalue { ptr, i32 } poison, ptr %158, 0
  %161 = insertvalue { ptr, i32 } %160, i32 %159, 1
  resume { ptr, i32 } %161
}

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

; 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)) #2 align 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

; 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}


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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = 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 i64, align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca [26 x i64], align 16
  %4 = alloca [26 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %5 = 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)
  %6 = load i64, ptr %1, align 8, !tbaa !5
  %7 = add nsw i64 %6, -1
  store i64 %7, ptr %1, align 8, !tbaa !5
  %.not50 = icmp eq i64 %6, 0
  br i1 %.not50, label %._crit_edge, label %.lr.ph51.preheader

.lr.ph51.preheader:                               ; preds = %0
  %8 = getelementptr inbounds i8, ptr %3, i64 8
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  %10 = getelementptr inbounds i8, ptr %3, i64 16
  %11 = getelementptr inbounds i8, ptr %4, i64 16
  %12 = getelementptr inbounds i8, ptr %3, i64 24
  %13 = getelementptr inbounds i8, ptr %4, i64 24
  %14 = getelementptr inbounds i8, ptr %3, i64 32
  %15 = getelementptr inbounds i8, ptr %4, i64 32
  %16 = getelementptr inbounds i8, ptr %3, i64 40
  %17 = getelementptr inbounds i8, ptr %4, i64 40
  %18 = getelementptr inbounds i8, ptr %3, i64 48
  %19 = getelementptr inbounds i8, ptr %4, i64 48
  %20 = getelementptr inbounds i8, ptr %3, i64 56
  %21 = getelementptr inbounds i8, ptr %4, i64 56
  %22 = getelementptr inbounds i8, ptr %3, i64 64
  %23 = getelementptr inbounds i8, ptr %4, i64 64
  %24 = getelementptr inbounds i8, ptr %3, i64 72
  %25 = getelementptr inbounds i8, ptr %4, i64 72
  %26 = getelementptr inbounds i8, ptr %3, i64 80
  %27 = getelementptr inbounds i8, ptr %4, i64 80
  %28 = getelementptr inbounds i8, ptr %3, i64 88
  %29 = getelementptr inbounds i8, ptr %4, i64 88
  %30 = getelementptr inbounds i8, ptr %3, i64 96
  %31 = getelementptr inbounds i8, ptr %4, i64 96
  %32 = getelementptr inbounds i8, ptr %3, i64 104
  %33 = getelementptr inbounds i8, ptr %4, i64 104
  %34 = getelementptr inbounds i8, ptr %3, i64 112
  %35 = getelementptr inbounds i8, ptr %4, i64 112
  %36 = getelementptr inbounds i8, ptr %3, i64 120
  %37 = getelementptr inbounds i8, ptr %4, i64 120
  %38 = getelementptr inbounds i8, ptr %3, i64 128
  %39 = getelementptr inbounds i8, ptr %4, i64 128
  %40 = getelementptr inbounds i8, ptr %3, i64 136
  %41 = getelementptr inbounds i8, ptr %4, i64 136
  %42 = getelementptr inbounds i8, ptr %3, i64 144
  %43 = getelementptr inbounds i8, ptr %4, i64 144
  %44 = getelementptr inbounds i8, ptr %3, i64 152
  %45 = getelementptr inbounds i8, ptr %4, i64 152
  %46 = getelementptr inbounds i8, ptr %3, i64 160
  %47 = getelementptr inbounds i8, ptr %4, i64 160
  %48 = getelementptr inbounds i8, ptr %3, i64 168
  %49 = getelementptr inbounds i8, ptr %4, i64 168
  %50 = getelementptr inbounds i8, ptr %3, i64 176
  %51 = getelementptr inbounds i8, ptr %4, i64 176
  %52 = getelementptr inbounds i8, ptr %3, i64 184
  %53 = getelementptr inbounds i8, ptr %4, i64 184
  %54 = getelementptr inbounds i8, ptr %3, i64 192
  %55 = getelementptr inbounds i8, ptr %4, i64 192
  %56 = getelementptr inbounds i8, ptr %3, i64 200
  %57 = getelementptr inbounds i8, ptr %4, i64 200
  br label %.lr.ph51

.lr.ph51:                                         ; preds = %.lr.ph51.preheader, %184
  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
  %58 = 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 %59 unwind label %74

59:                                               ; preds = %.lr.ph51
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %3) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) %3, i8 0, i64 208, i1 false)
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %4) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) %4, i8 0, i64 208, i1 false)
  %60 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %61 = and i64 %60, 1
  %62 = icmp eq i64 %61, 0
  br i1 %62, label %.preheader33, label %.preheader36

.preheader36:                                     ; preds = %59
  %63 = sdiv i64 %60, 2
  %.not29.not38 = icmp sgt i64 %60, 1
  br i1 %.not29.not38, label %.lr.ph, label %.preheader34

.preheader33:                                     ; preds = %59
  %64 = ashr exact i64 %60, 1
  %.not30.not43 = icmp sgt i64 %64, 0
  br i1 %.not30.not43, label %.lr.ph45, label %.preheader

.preheader:                                       ; preds = %.lr.ph45, %.preheader33
  %65 = icmp sgt i64 %60, 0
  br i1 %65, label %.lr.ph48, label %.loopexit

.lr.ph45:                                         ; preds = %.preheader33, %.lr.ph45
  %.02744 = phi i64 [ %73, %.lr.ph45 ], [ 0, %.preheader33 ]
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.02744)
  %67 = load i8, ptr %66, align 1, !tbaa !9
  %68 = sext i8 %67 to i64
  %69 = add nsw i64 %68, -97
  %70 = getelementptr inbounds [26 x i64], ptr %3, i64 0, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = add nsw i64 %71, 1
  store i64 %72, ptr %70, align 8, !tbaa !5
  %73 = add nuw nsw i64 %.02744, 1
  %exitcond54.not = icmp eq i64 %73, %64
  br i1 %exitcond54.not, label %.preheader, label %.lr.ph45, !llvm.loop !10

74:                                               ; preds = %.lr.ph51
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %187

.lr.ph48:                                         ; preds = %.preheader, %.lr.ph48
  %.147 = phi i64 [ %83, %.lr.ph48 ], [ %64, %.preheader ]
  %76 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.147)
  %77 = load i8, ptr %76, align 1, !tbaa !9
  %78 = sext i8 %77 to i64
  %79 = add nsw i64 %78, -97
  %80 = getelementptr inbounds [26 x i64], ptr %4, i64 0, i64 %79
  %81 = load i64, ptr %80, align 8, !tbaa !5
  %82 = add nsw i64 %81, 1
  store i64 %82, ptr %80, align 8, !tbaa !5
  %83 = add nuw nsw i64 %.147, 1
  %84 = icmp slt i64 %83, %60
  br i1 %84, label %.lr.ph48, label %.loopexit, !llvm.loop !12

.preheader34:                                     ; preds = %.lr.ph, %.preheader36
  %.340 = add nsw i64 %63, 1
  %85 = icmp slt i64 %.340, %60
  br i1 %85, label %.lr.ph42, label %.loopexit

.lr.ph:                                           ; preds = %.preheader36, %.lr.ph
  %.239 = phi i64 [ %93, %.lr.ph ], [ 0, %.preheader36 ]
  %86 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.239)
  %87 = load i8, ptr %86, align 1, !tbaa !9
  %88 = sext i8 %87 to i64
  %89 = add nsw i64 %88, -97
  %90 = getelementptr inbounds [26 x i64], ptr %3, i64 0, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !5
  %92 = add nsw i64 %91, 1
  store i64 %92, ptr %90, align 8, !tbaa !5
  %93 = add nuw nsw i64 %.239, 1
  %exitcond.not = icmp eq i64 %93, %63
  br i1 %exitcond.not, label %.preheader34, label %.lr.ph, !llvm.loop !13

.lr.ph42:                                         ; preds = %.preheader34, %.lr.ph42
  %.341 = phi i64 [ %.3, %.lr.ph42 ], [ %.340, %.preheader34 ]
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.341)
  %95 = load i8, ptr %94, align 1, !tbaa !9
  %96 = sext i8 %95 to i64
  %97 = add nsw i64 %96, -97
  %98 = getelementptr inbounds [26 x i64], ptr %4, i64 0, i64 %97
  %99 = load i64, ptr %98, align 8, !tbaa !5
  %100 = add nsw i64 %99, 1
  store i64 %100, ptr %98, align 8, !tbaa !5
  %.3 = add i64 %.341, 1
  %exitcond53.not = icmp eq i64 %.3, %60
  br i1 %exitcond53.not, label %.loopexit, label %.lr.ph42, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph42, %.lr.ph48, %.preheader34, %.preheader
  %101 = load i64, ptr %3, align 16, !tbaa !5
  %102 = load i64, ptr %4, align 16, !tbaa !5
  %.not31 = icmp eq i64 %101, %102
  br i1 %.not31, label %103, label %180

103:                                              ; preds = %.loopexit
  %104 = load i64, ptr %8, align 8, !tbaa !5
  %105 = load i64, ptr %9, align 8, !tbaa !5
  %.not31.1 = icmp eq i64 %104, %105
  br i1 %.not31.1, label %106, label %180

106:                                              ; preds = %103
  %107 = load i64, ptr %10, align 16, !tbaa !5
  %108 = load i64, ptr %11, align 16, !tbaa !5
  %.not31.2 = icmp eq i64 %107, %108
  br i1 %.not31.2, label %109, label %180

109:                                              ; preds = %106
  %110 = load i64, ptr %12, align 8, !tbaa !5
  %111 = load i64, ptr %13, align 8, !tbaa !5
  %.not31.3 = icmp eq i64 %110, %111
  br i1 %.not31.3, label %112, label %180

112:                                              ; preds = %109
  %113 = load i64, ptr %14, align 16, !tbaa !5
  %114 = load i64, ptr %15, align 16, !tbaa !5
  %.not31.4 = icmp eq i64 %113, %114
  br i1 %.not31.4, label %115, label %180

115:                                              ; preds = %112
  %116 = load i64, ptr %16, align 8, !tbaa !5
  %117 = load i64, ptr %17, align 8, !tbaa !5
  %.not31.5 = icmp eq i64 %116, %117
  br i1 %.not31.5, label %118, label %180

118:                                              ; preds = %115
  %119 = load i64, ptr %18, align 16, !tbaa !5
  %120 = load i64, ptr %19, align 16, !tbaa !5
  %.not31.6 = icmp eq i64 %119, %120
  br i1 %.not31.6, label %121, label %180

121:                                              ; preds = %118
  %122 = load i64, ptr %20, align 8, !tbaa !5
  %123 = load i64, ptr %21, align 8, !tbaa !5
  %.not31.7 = icmp eq i64 %122, %123
  br i1 %.not31.7, label %124, label %180

124:                                              ; preds = %121
  %125 = load i64, ptr %22, align 16, !tbaa !5
  %126 = load i64, ptr %23, align 16, !tbaa !5
  %.not31.8 = icmp eq i64 %125, %126
  br i1 %.not31.8, label %127, label %180

127:                                              ; preds = %124
  %128 = load i64, ptr %24, align 8, !tbaa !5
  %129 = load i64, ptr %25, align 8, !tbaa !5
  %.not31.9 = icmp eq i64 %128, %129
  br i1 %.not31.9, label %130, label %180

130:                                              ; preds = %127
  %131 = load i64, ptr %26, align 16, !tbaa !5
  %132 = load i64, ptr %27, align 16, !tbaa !5
  %.not31.10 = icmp eq i64 %131, %132
  br i1 %.not31.10, label %133, label %180

133:                                              ; preds = %130
  %134 = load i64, ptr %28, align 8, !tbaa !5
  %135 = load i64, ptr %29, align 8, !tbaa !5
  %.not31.11 = icmp eq i64 %134, %135
  br i1 %.not31.11, label %136, label %180

136:                                              ; preds = %133
  %137 = load i64, ptr %30, align 16, !tbaa !5
  %138 = load i64, ptr %31, align 16, !tbaa !5
  %.not31.12 = icmp eq i64 %137, %138
  br i1 %.not31.12, label %139, label %180

139:                                              ; preds = %136
  %140 = load i64, ptr %32, align 8, !tbaa !5
  %141 = load i64, ptr %33, align 8, !tbaa !5
  %.not31.13 = icmp eq i64 %140, %141
  br i1 %.not31.13, label %142, label %180

142:                                              ; preds = %139
  %143 = load i64, ptr %34, align 16, !tbaa !5
  %144 = load i64, ptr %35, align 16, !tbaa !5
  %.not31.14 = icmp eq i64 %143, %144
  br i1 %.not31.14, label %145, label %180

145:                                              ; preds = %142
  %146 = load i64, ptr %36, align 8, !tbaa !5
  %147 = load i64, ptr %37, align 8, !tbaa !5
  %.not31.15 = icmp eq i64 %146, %147
  br i1 %.not31.15, label %148, label %180

148:                                              ; preds = %145
  %149 = load i64, ptr %38, align 16, !tbaa !5
  %150 = load i64, ptr %39, align 16, !tbaa !5
  %.not31.16 = icmp eq i64 %149, %150
  br i1 %.not31.16, label %151, label %180

151:                                              ; preds = %148
  %152 = load i64, ptr %40, align 8, !tbaa !5
  %153 = load i64, ptr %41, align 8, !tbaa !5
  %.not31.17 = icmp eq i64 %152, %153
  br i1 %.not31.17, label %154, label %180

154:                                              ; preds = %151
  %155 = load i64, ptr %42, align 16, !tbaa !5
  %156 = load i64, ptr %43, align 16, !tbaa !5
  %.not31.18 = icmp eq i64 %155, %156
  br i1 %.not31.18, label %157, label %180

157:                                              ; preds = %154
  %158 = load i64, ptr %44, align 8, !tbaa !5
  %159 = load i64, ptr %45, align 8, !tbaa !5
  %.not31.19 = icmp eq i64 %158, %159
  br i1 %.not31.19, label %160, label %180

160:                                              ; preds = %157
  %161 = load i64, ptr %46, align 16, !tbaa !5
  %162 = load i64, ptr %47, align 16, !tbaa !5
  %.not31.20 = icmp eq i64 %161, %162
  br i1 %.not31.20, label %163, label %180

163:                                              ; preds = %160
  %164 = load i64, ptr %48, align 8, !tbaa !5
  %165 = load i64, ptr %49, align 8, !tbaa !5
  %.not31.21 = icmp eq i64 %164, %165
  br i1 %.not31.21, label %166, label %180

166:                                              ; preds = %163
  %167 = load i64, ptr %50, align 16, !tbaa !5
  %168 = load i64, ptr %51, align 16, !tbaa !5
  %.not31.22 = icmp eq i64 %167, %168
  br i1 %.not31.22, label %169, label %180

169:                                              ; preds = %166
  %170 = load i64, ptr %52, align 8, !tbaa !5
  %171 = load i64, ptr %53, align 8, !tbaa !5
  %.not31.23 = icmp eq i64 %170, %171
  br i1 %.not31.23, label %172, label %180

172:                                              ; preds = %169
  %173 = load i64, ptr %54, align 16, !tbaa !5
  %174 = load i64, ptr %55, align 16, !tbaa !5
  %.not31.24 = icmp eq i64 %173, %174
  br i1 %.not31.24, label %175, label %180

175:                                              ; preds = %172
  %176 = load i64, ptr %56, align 8, !tbaa !5
  %177 = load i64, ptr %57, align 8, !tbaa !5
  %.not31.25 = icmp eq i64 %176, %177
  br i1 %.not31.25, label %.critedge.invoke, label %180

.critedge.invoke:                                 ; preds = %175, %180
  %178 = phi ptr [ @.str, %180 ], [ @.str.1, %175 ]
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %178)
          to label %.invoke unwind label %181

180:                                              ; preds = %175, %172, %169, %166, %163, %160, %157, %154, %151, %148, %145, %142, %139, %136, %133, %130, %127, %124, %121, %118, %115, %112, %109, %106, %103, %.loopexit
  br label %.critedge.invoke

181:                                              ; preds = %.critedge.invoke, %.invoke
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %3) #7
  br label %187

.invoke:                                          ; preds = %.critedge.invoke
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %184 unwind label %181

184:                                              ; preds = %.invoke
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 208, 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
  %185 = load i64, ptr %1, align 8, !tbaa !5
  %186 = add nsw i64 %185, -1
  store i64 %186, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %185, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph51, !llvm.loop !15

187:                                              ; preds = %181, %74
  %.pn = phi { ptr, i32 } [ %182, %181 ], [ %75, %74 ]
  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 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn

._crit_edge:                                      ; preds = %184, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0
}

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

; Function Attrs: mustprogress 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 #2 align 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; 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 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

; 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 #2 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass