; LLVM IR from smv1999/CompetitiveProgrammingQuestionBank :: Passwords (2d_password)

; 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.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@_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(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca [100 x i32], align 16
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %24 unwind label %41

24:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  %25 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %26 unwind label %45

26:                                               ; preds = %24
  %27 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %28 unwind label %45

28:                                               ; preds = %26
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = load i32, ptr %7, align 4, !tbaa !5
  %32 = zext i32 %31 to i64
  %33 = call ptr @llvm.stacksave.p0()
  store ptr %33, ptr %12, align 8
  %34 = mul nuw i64 %30, %32
  %35 = alloca i32, i64 %34, align 16
  store i64 %30, ptr %13, align 8
  store i64 %32, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %73, %28
  %37 = load i32, ptr %15, align 4, !tbaa !5
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %49, label %40

40:                                               ; preds = %36
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %76

41:                                               ; preds = %2
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %10, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  br label %157

45:                                               ; preds = %26, %24
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %10, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %11, align 4
  br label %156

49:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %65, %49
  %51 = load i32, ptr %17, align 4, !tbaa !5
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %72

55:                                               ; preds = %50
  %56 = load i32, ptr %15, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = mul nsw i64 %57, %32
  %59 = getelementptr inbounds i32, ptr %35, i64 %58
  %60 = load i32, ptr %17, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i32, ptr %59, i64 %61
  %63 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %64 unwind label %68

64:                                               ; preds = %55
  br label %65

65:                                               ; preds = %64
  %66 = load i32, ptr %17, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %17, align 4, !tbaa !5
  br label %50, !llvm.loop !11

68:                                               ; preds = %55
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %10, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %156

72:                                               ; preds = %54
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %15, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %15, align 4, !tbaa !5
  br label %36, !llvm.loop !13

76:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = sub nsw i32 %77, 1
  store i32 %78, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 400, ptr %21) #7
  br label %79

79:                                               ; preds = %84, %76
  %80 = load i32, ptr %18, align 4, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = sdiv i32 %81, 2
  %83 = icmp sle i32 %80, %82
  br i1 %83, label %84, label %101

84:                                               ; preds = %79
  %85 = load i32, ptr %19, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = mul nsw i64 %86, %32
  %88 = getelementptr inbounds i32, ptr %35, i64 %87
  %89 = load i32, ptr %18, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %88, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %20, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %20, align 4, !tbaa !5
  %95 = sext i32 %93 to i64
  %96 = getelementptr inbounds [100 x i32], ptr %21, i64 0, i64 %95
  store i32 %92, ptr %96, align 4, !tbaa !5
  %97 = load i32, ptr %18, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %18, align 4, !tbaa !5
  %99 = load i32, ptr %19, align 4, !tbaa !5
  %100 = sub nsw i32 %99, 2
  store i32 %100, ptr %19, align 4, !tbaa !5
  br label %79, !llvm.loop !14

101:                                              ; preds = %79
  store i32 2, ptr %19, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %106, %101
  %103 = load i32, ptr %18, align 4, !tbaa !5
  %104 = load i32, ptr %6, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %106, label %123

106:                                              ; preds = %102
  %107 = load i32, ptr %19, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = mul nsw i64 %108, %32
  %110 = getelementptr inbounds i32, ptr %35, i64 %109
  %111 = load i32, ptr %18, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %110, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = load i32, ptr %20, align 4, !tbaa !5
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %20, align 4, !tbaa !5
  %117 = sext i32 %115 to i64
  %118 = getelementptr inbounds [100 x i32], ptr %21, i64 0, i64 %117
  store i32 %114, ptr %118, align 4, !tbaa !5
  %119 = load i32, ptr %18, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %18, align 4, !tbaa !5
  %121 = load i32, ptr %19, align 4, !tbaa !5
  %122 = add nsw i32 %121, 2
  store i32 %122, ptr %19, align 4, !tbaa !5
  br label %102, !llvm.loop !15

123:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %146, %123
  %125 = load i32, ptr %23, align 4, !tbaa !5
  %126 = load i32, ptr %20, align 4, !tbaa !5
  %127 = icmp slt i32 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  store i32 12, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %153

129:                                              ; preds = %124
  %130 = load i32, ptr %23, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [100 x i32], ptr %21, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = srem i32 %133, 26
  store i32 %134, ptr %22, align 4, !tbaa !5
  %135 = load i32, ptr %22, align 4, !tbaa !5
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %129
  store i32 26, ptr %22, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %137, %129
  %139 = load i32, ptr %22, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %140)
          to label %142 unwind label %149

142:                                              ; preds = %138
  %143 = load i8, ptr %141, align 1, !tbaa !16
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %143)
          to label %145 unwind label %149

145:                                              ; preds = %142
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %23, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %23, align 4, !tbaa !5
  br label %124, !llvm.loop !17

149:                                              ; preds = %142, %138
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %10, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 400, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %156

153:                                              ; preds = %128
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 400, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %154 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %154)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %155 = load i32, ptr %3, align 4
  ret i32 %155

156:                                              ; preds = %149, %68, %45
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %157

157:                                              ; preds = %156, %41
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %158

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

; 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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 nosync nounwind willreturn }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !12}


; 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.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@_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(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca [100 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %8 unwind label %63

8:                                                ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  %9 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %10 unwind label %65

10:                                               ; preds = %8
  %11 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %12 unwind label %65

12:                                               ; preds = %10
  %13 = load i32, ptr %3, align 4, !tbaa !5
  %14 = zext i32 %13 to i64
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = zext i32 %15 to i64
  %17 = call ptr @llvm.stacksave.p0()
  %18 = mul nuw i64 %16, %14
  %19 = alloca i32, i64 %18, align 16
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.preheader42.lr.ph, label %._crit_edge46

.preheader42.lr.ph:                               ; preds = %12
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.preheader42, label %._crit_edge46.thread

._crit_edge46.thread:                             ; preds = %.preheader42.lr.ph
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %7) #7
  br label %.lr.ph52.preheader

.preheader42:                                     ; preds = %.preheader42.lr.ph, %._crit_edge
  %24 = phi i32 [ %67, %._crit_edge ], [ %20, %.preheader42.lr.ph ]
  %25 = phi i32 [ %68, %._crit_edge ], [ %22, %.preheader42.lr.ph ]
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %._crit_edge ], [ 0, %.preheader42.lr.ph ]
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader42
  %27 = mul nuw nsw i64 %indvars.iv69, %16
  %28 = getelementptr inbounds i32, ptr %19, i64 %27
  br label %71

._crit_edge46:                                    ; preds = %._crit_edge, %12
  %.lcssa = phi i32 [ %20, %12 ], [ %67, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %7) #7
  %.not47 = icmp slt i32 %.lcssa, -1
  br i1 %.not47, label %.preheader41, label %.lr.ph52.preheader

.lr.ph52.preheader:                               ; preds = %._crit_edge46.thread, %._crit_edge46
  %.lcssa101 = phi i32 [ %20, %._crit_edge46.thread ], [ %.lcssa, %._crit_edge46 ]
  %29 = sdiv i32 %.lcssa101, 2
  %30 = add nsw i32 %.lcssa101, -1
  %31 = sext i32 %30 to i64
  %32 = add nuw nsw i32 %29, 1
  %wide.trip.count = zext nneg i32 %32 to i64
  %min.iters.check = icmp ult i32 %29, 3
  br i1 %min.iters.check, label %.lr.ph52.preheader132, label %vector.ph

.lr.ph52.preheader132:                            ; preds = %middle.block, %.lr.ph52.preheader
  %indvars.iv74.ph = phi i64 [ %31, %.lr.ph52.preheader ], [ %ind.end, %middle.block ]
  %indvars.iv72.ph = phi i64 [ 0, %.lr.ph52.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph52

vector.ph:                                        ; preds = %.lr.ph52.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  %33 = shl nuw nsw i64 %n.vec, 1
  %ind.end = sub nsw i64 %31, %33
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %34 = shl i64 %index, 1
  %offset.idx = sub i64 %31, %34
  %35 = add i64 %offset.idx, -2
  %36 = add i64 %offset.idx, -4
  %37 = add i64 %offset.idx, -6
  %38 = or disjoint i64 %index, 1
  %39 = or disjoint i64 %index, 2
  %40 = or disjoint i64 %index, 3
  %41 = mul nsw i64 %offset.idx, %16
  %42 = mul nsw i64 %35, %16
  %43 = mul nsw i64 %36, %16
  %44 = mul nsw i64 %37, %16
  %45 = getelementptr inbounds i32, ptr %19, i64 %41
  %46 = getelementptr inbounds i32, ptr %19, i64 %42
  %47 = getelementptr inbounds i32, ptr %19, i64 %43
  %48 = getelementptr inbounds i32, ptr %19, i64 %44
  %49 = getelementptr inbounds i32, ptr %45, i64 %index
  %50 = getelementptr inbounds i32, ptr %46, i64 %38
  %51 = getelementptr inbounds i32, ptr %47, i64 %39
  %52 = getelementptr inbounds i32, ptr %48, i64 %40
  %53 = load i32, ptr %49, align 4, !tbaa !5
  %54 = load i32, ptr %50, align 4, !tbaa !5
  %55 = load i32, ptr %51, align 4, !tbaa !5
  %56 = load i32, ptr %52, align 4, !tbaa !5
  %57 = insertelement <4 x i32> poison, i32 %53, i64 0
  %58 = insertelement <4 x i32> %57, i32 %54, i64 1
  %59 = insertelement <4 x i32> %58, i32 %55, i64 2
  %60 = insertelement <4 x i32> %59, i32 %56, i64 3
  %61 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %index
  store <4 x i32> %60, ptr %61, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %62 = icmp eq i64 %index.next, %n.vec
  br i1 %62, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader41, label %.lr.ph52.preheader132

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %136

65:                                               ; preds = %10, %8
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %135

._crit_edge.loopexit:                             ; preds = %74
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader42
  %67 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %24, %.preheader42 ]
  %68 = phi i32 [ %75, %._crit_edge.loopexit ], [ %25, %.preheader42 ]
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %69 = sext i32 %67 to i64
  %70 = icmp slt i64 %indvars.iv.next70, %69
  br i1 %70, label %.preheader42, label %._crit_edge46, !llvm.loop !13

71:                                               ; preds = %.lr.ph, %74
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %74 ]
  %72 = getelementptr inbounds i32, ptr %28, i64 %indvars.iv
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %74 unwind label %78

74:                                               ; preds = %71
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %75 = load i32, ptr %4, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = icmp slt i64 %indvars.iv.next, %76
  br i1 %77, label %71, label %._crit_edge.loopexit, !llvm.loop !15

78:                                               ; preds = %71
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %135

.preheader41:                                     ; preds = %.lr.ph52, %middle.block, %._crit_edge46
  %.lcssa102 = phi i32 [ %.lcssa, %._crit_edge46 ], [ %.lcssa101, %middle.block ], [ %.lcssa101, %.lr.ph52 ]
  %.030.lcssa = phi i32 [ 0, %._crit_edge46 ], [ %32, %middle.block ], [ %32, %.lr.ph52 ]
  %80 = icmp slt i32 %.030.lcssa, %.lcssa102
  br i1 %80, label %.lr.ph58.preheader, label %.preheader

.lr.ph58.preheader:                               ; preds = %.preheader41
  %81 = zext i32 %.030.lcssa to i64
  %wide.trip.count92 = zext i32 %.lcssa102 to i64
  %82 = sub nsw i64 %wide.trip.count92, %81
  %min.iters.check113 = icmp ult i64 %82, 4
  br i1 %min.iters.check113, label %.lr.ph58.preheader130, label %vector.ph114

.lr.ph58.preheader130:                            ; preds = %middle.block111, %.lr.ph58.preheader
  %indvars.iv85.ph = phi i64 [ %81, %.lr.ph58.preheader ], [ %ind.end117, %middle.block111 ]
  %indvars.iv83.ph = phi i64 [ 2, %.lr.ph58.preheader ], [ %ind.end119, %middle.block111 ]
  %indvars.iv81.ph = phi i64 [ %81, %.lr.ph58.preheader ], [ %ind.end121, %middle.block111 ]
  br label %.lr.ph58

vector.ph114:                                     ; preds = %.lr.ph58.preheader
  %n.vec116 = and i64 %82, -4
  %ind.end117 = add nsw i64 %n.vec116, %81
  %83 = shl nsw i64 %n.vec116, 1
  %ind.end119 = or disjoint i64 %83, 2
  %ind.end121 = add nsw i64 %n.vec116, %81
  br label %vector.body123

vector.body123:                                   ; preds = %vector.body123, %vector.ph114
  %index124 = phi i64 [ 0, %vector.ph114 ], [ %index.next128, %vector.body123 ]
  %offset.idx125 = add i64 %index124, %81
  %84 = shl i64 %index124, 1
  %offset.idx126 = or disjoint i64 %84, 2
  %85 = or disjoint i64 %84, 4
  %86 = or disjoint i64 %84, 6
  %87 = add i64 %84, 8
  %offset.idx127 = add i64 %index124, %81
  %88 = mul nuw nsw i64 %offset.idx126, %16
  %89 = mul nuw nsw i64 %85, %16
  %90 = mul nuw nsw i64 %86, %16
  %91 = mul nuw nsw i64 %87, %16
  %92 = getelementptr inbounds i32, ptr %19, i64 %88
  %93 = getelementptr inbounds i32, ptr %19, i64 %89
  %94 = getelementptr inbounds i32, ptr %19, i64 %90
  %95 = getelementptr inbounds i32, ptr %19, i64 %91
  %96 = getelementptr inbounds i32, ptr %92, i64 %offset.idx125
  %97 = getelementptr i32, ptr %93, i64 %offset.idx125
  %98 = getelementptr i8, ptr %97, i64 4
  %99 = getelementptr i32, ptr %94, i64 %offset.idx125
  %100 = getelementptr i8, ptr %99, i64 8
  %101 = getelementptr i32, ptr %95, i64 %offset.idx125
  %102 = getelementptr i8, ptr %101, i64 12
  %103 = load i32, ptr %96, align 4, !tbaa !5
  %104 = load i32, ptr %98, align 4, !tbaa !5
  %105 = load i32, ptr %100, align 4, !tbaa !5
  %106 = load i32, ptr %102, align 4, !tbaa !5
  %107 = insertelement <4 x i32> poison, i32 %103, i64 0
  %108 = insertelement <4 x i32> %107, i32 %104, i64 1
  %109 = insertelement <4 x i32> %108, i32 %105, i64 2
  %110 = insertelement <4 x i32> %109, i32 %106, i64 3
  %111 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %offset.idx127
  store <4 x i32> %110, ptr %111, align 4, !tbaa !5
  %index.next128 = add nuw i64 %index124, 4
  %112 = icmp eq i64 %index.next128, %n.vec116
  br i1 %112, label %middle.block111, label %vector.body123, !llvm.loop !16

middle.block111:                                  ; preds = %vector.body123
  %cmp.n129 = icmp eq i64 %82, %n.vec116
  br i1 %cmp.n129, label %.preheader.thread, label %.lr.ph58.preheader130

.lr.ph52:                                         ; preds = %.lr.ph52.preheader132, %.lr.ph52
  %indvars.iv74 = phi i64 [ %indvars.iv.next75, %.lr.ph52 ], [ %indvars.iv74.ph, %.lr.ph52.preheader132 ]
  %indvars.iv72 = phi i64 [ %indvars.iv.next73, %.lr.ph52 ], [ %indvars.iv72.ph, %.lr.ph52.preheader132 ]
  %113 = mul nsw i64 %indvars.iv74, %16
  %114 = getelementptr inbounds i32, ptr %19, i64 %113
  %115 = getelementptr inbounds i32, ptr %114, i64 %indvars.iv72
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %117 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %indvars.iv72
  store i32 %116, ptr %117, align 4, !tbaa !5
  %indvars.iv.next75 = add nsw i64 %indvars.iv74, -2
  %exitcond.not = icmp eq i64 %indvars.iv.next73, %wide.trip.count
  br i1 %exitcond.not, label %.preheader41, label %.lr.ph52, !llvm.loop !17

.preheader.thread:                                ; preds = %.lr.ph58, %middle.block111
  %indvars.iv.next82.lcssa = phi i64 [ %ind.end121, %middle.block111 ], [ %indvars.iv.next82, %.lr.ph58 ]
  %118 = trunc nuw i64 %indvars.iv.next82.lcssa to i32
  br label %.lr.ph61.preheader

.preheader:                                       ; preds = %.preheader41
  %.not = icmp eq i32 %.030.lcssa, 0
  br i1 %.not, label %._crit_edge62, label %.lr.ph61.preheader

.lr.ph61.preheader:                               ; preds = %.preheader.thread, %.preheader
  %.1.lcssa105 = phi i32 [ %118, %.preheader.thread ], [ %.030.lcssa, %.preheader ]
  %wide.trip.count97 = zext i32 %.1.lcssa105 to i64
  br label %.lr.ph61

.lr.ph58:                                         ; preds = %.lr.ph58.preheader130, %.lr.ph58
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %.lr.ph58 ], [ %indvars.iv85.ph, %.lr.ph58.preheader130 ]
  %indvars.iv83 = phi i64 [ %indvars.iv.next84, %.lr.ph58 ], [ %indvars.iv83.ph, %.lr.ph58.preheader130 ]
  %indvars.iv81 = phi i64 [ %indvars.iv.next82, %.lr.ph58 ], [ %indvars.iv81.ph, %.lr.ph58.preheader130 ]
  %119 = mul nuw nsw i64 %indvars.iv83, %16
  %120 = getelementptr inbounds i32, ptr %19, i64 %119
  %121 = getelementptr inbounds i32, ptr %120, i64 %indvars.iv85
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %123 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %indvars.iv81
  store i32 %122, ptr %123, align 4, !tbaa !5
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 2
  %exitcond93.not = icmp eq i64 %indvars.iv.next86, %wide.trip.count92
  br i1 %exitcond93.not, label %.preheader.thread, label %.lr.ph58, !llvm.loop !18

._crit_edge62:                                    ; preds = %132, %.preheader
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %7) #7
  call void @llvm.stackrestore.p0(ptr %17)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  ret i32 0

.lr.ph61:                                         ; preds = %.lr.ph61.preheader, %132
  %indvars.iv94 = phi i64 [ 0, %.lr.ph61.preheader ], [ %indvars.iv.next95, %132 ]
  %124 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %indvars.iv94
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = srem i32 %125, 26
  %127 = icmp eq i32 %126, 0
  %spec.store.select = select i1 %127, i32 26, i32 %126
  %128 = sext i32 %spec.store.select to i64
  %129 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %128)
  %130 = load i8, ptr %129, align 1, !tbaa !19
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %130)
          to label %132 unwind label %133

132:                                              ; preds = %.lr.ph61
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next95, %wide.trip.count97
  br i1 %exitcond98.not, label %._crit_edge62, label %.lr.ph61, !llvm.loop !20

133:                                              ; preds = %.lr.ph61
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %7) #7
  br label %135

135:                                              ; preds = %133, %78, %65
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %134, %133 ], [ %66, %65 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %136

136:                                              ; preds = %135, %63
  %.pn.pn = phi { ptr, i32 } [ %.pn, %135 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn.pn
}

; 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

; 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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 nosync nounwind willreturn }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !11, !12}
!17 = distinct !{!17, !10, !12, !11}
!18 = distinct !{!18, !10, !12, !11}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !10}


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