; LLVM IR from bqi343/cp-notebook :: Contests/USACO Training/Ch 6/6.4 wissqu (main)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__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::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" }

@cur = external dso_local global [4 x [4 x i32]], align 16
@tot = external dso_local global i32, align 4
@_Z3ansB5cxx11 = external dso_local global [16 x %"class.std::__cxx11::basic_string"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4posiiii(i32 noundef, i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z3dfsiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %33, %0
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = icmp slt i32 %10, 4
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %36

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %29, %13
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 4
  br i1 %16, label %18, label %17

17:                                               ; preds = %14
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %32

18:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %5)
  %20 = load i8, ptr %5, align 1, !tbaa !9
  %21 = sext i8 %20 to i32
  %22 = sub nsw i32 %21, 65
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [4 x [4 x i32]], ptr @cur, i64 0, i64 %24
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 %27
  store i32 %22, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  br label %29

29:                                               ; preds = %18
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %4, align 4, !tbaa !5
  br label %14, !llvm.loop !10

32:                                               ; preds = %17
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !12

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

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

40:                                               ; preds = %37
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %62

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %55, %41
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 4
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %58

46:                                               ; preds = %42
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = call noundef zeroext i1 @_Z4posiiii(i32 noundef %47, i32 noundef %48, i32 noundef 3)
  br i1 %49, label %50, label %54

50:                                               ; preds = %46
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef %51, i32 noundef %52)
  br label %54

54:                                               ; preds = %50, %46
  br label %55

55:                                               ; preds = %54
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %7, align 4, !tbaa !5
  br label %42, !llvm.loop !13

58:                                               ; preds = %45
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %6, align 4, !tbaa !5
  br label %37, !llvm.loop !14

62:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %73, %62
  %64 = load i32, ptr %8, align 4, !tbaa !5
  %65 = icmp slt i32 %64, 16
  br i1 %65, label %67, label %66

66:                                               ; preds = %63
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %76

67:                                               ; preds = %63
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [16 x %"class.std::__cxx11::basic_string"], ptr @_Z3ansB5cxx11, i64 0, i64 %69
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %70)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str.3)
  br label %73

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

76:                                               ; preds = %66
  %77 = load i32, ptr @tot, align 4, !tbaa !5
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %77)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.3)
  %80 = load i32, ptr %1, align 4
  ret i32 %80
}

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

; 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) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #5

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

attributes #0 = { 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 #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 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 #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 = { 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 #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 = !{!"int", !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}


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

@cur = external dso_local local_unnamed_addr global [4 x [4 x i32]], align 16
@tot = external dso_local local_unnamed_addr global i32, align 4
@_Z3ansB5cxx11 = external dso_local global [16 x %"class.std::__cxx11::basic_string"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4posiiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z3dfsiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
.preheader24:
  %0 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %1 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %2 = load i8, ptr %0, align 1, !tbaa !5
  %3 = sext i8 %2 to i32
  %4 = add nsw i32 %3, -65
  store i32 %4, ptr @cur, align 16, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %6 = load i8, ptr %0, align 1, !tbaa !5
  %7 = sext i8 %6 to i32
  %8 = add nsw i32 %7, -65
  store i32 %8, ptr getelementptr inbounds (i8, ptr @cur, i64 4), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %10 = load i8, ptr %0, align 1, !tbaa !5
  %11 = sext i8 %10 to i32
  %12 = add nsw i32 %11, -65
  store i32 %12, ptr getelementptr inbounds (i8, ptr @cur, i64 8), align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %14 = load i8, ptr %0, align 1, !tbaa !5
  %15 = sext i8 %14 to i32
  %16 = add nsw i32 %15, -65
  store i32 %16, ptr getelementptr inbounds (i8, ptr @cur, i64 12), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %18 = load i8, ptr %0, align 1, !tbaa !5
  %19 = sext i8 %18 to i32
  %20 = add nsw i32 %19, -65
  store i32 %20, ptr getelementptr inbounds (i8, ptr @cur, i64 16), align 16, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %22 = load i8, ptr %0, align 1, !tbaa !5
  %23 = sext i8 %22 to i32
  %24 = add nsw i32 %23, -65
  store i32 %24, ptr getelementptr inbounds (i8, ptr @cur, i64 20), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %26 = load i8, ptr %0, align 1, !tbaa !5
  %27 = sext i8 %26 to i32
  %28 = add nsw i32 %27, -65
  store i32 %28, ptr getelementptr inbounds (i8, ptr @cur, i64 24), align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %30 = load i8, ptr %0, align 1, !tbaa !5
  %31 = sext i8 %30 to i32
  %32 = add nsw i32 %31, -65
  store i32 %32, ptr getelementptr inbounds (i8, ptr @cur, i64 28), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %34 = load i8, ptr %0, align 1, !tbaa !5
  %35 = sext i8 %34 to i32
  %36 = add nsw i32 %35, -65
  store i32 %36, ptr getelementptr inbounds (i8, ptr @cur, i64 32), align 16, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %38 = load i8, ptr %0, align 1, !tbaa !5
  %39 = sext i8 %38 to i32
  %40 = add nsw i32 %39, -65
  store i32 %40, ptr getelementptr inbounds (i8, ptr @cur, i64 36), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %42 = load i8, ptr %0, align 1, !tbaa !5
  %43 = sext i8 %42 to i32
  %44 = add nsw i32 %43, -65
  store i32 %44, ptr getelementptr inbounds (i8, ptr @cur, i64 40), align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %46 = load i8, ptr %0, align 1, !tbaa !5
  %47 = sext i8 %46 to i32
  %48 = add nsw i32 %47, -65
  store i32 %48, ptr getelementptr inbounds (i8, ptr @cur, i64 44), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %50 = load i8, ptr %0, align 1, !tbaa !5
  %51 = sext i8 %50 to i32
  %52 = add nsw i32 %51, -65
  store i32 %52, ptr getelementptr inbounds (i8, ptr @cur, i64 48), align 16, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %54 = load i8, ptr %0, align 1, !tbaa !5
  %55 = sext i8 %54 to i32
  %56 = add nsw i32 %55, -65
  store i32 %56, ptr getelementptr inbounds (i8, ptr @cur, i64 52), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %58 = load i8, ptr %0, align 1, !tbaa !5
  %59 = sext i8 %58 to i32
  %60 = add nsw i32 %59, -65
  store i32 %60, ptr getelementptr inbounds (i8, ptr @cur, i64 56), align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %0) #6
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %0)
  %62 = load i8, ptr %0, align 1, !tbaa !5
  %63 = sext i8 %62 to i32
  %64 = add nsw i32 %63, -65
  store i32 %64, ptr getelementptr inbounds (i8, ptr @cur, i64 60), align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %0) #6
  %65 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 0, i32 noundef 0, i32 noundef 3)
  br i1 %65, label %66, label %68

66:                                               ; preds = %.preheader24
  %67 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 0)
  br label %68

68:                                               ; preds = %.preheader24, %66
  %69 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 0, i32 noundef 1, i32 noundef 3)
  br i1 %69, label %70, label %72

70:                                               ; preds = %68
  %71 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 1)
  br label %72

72:                                               ; preds = %70, %68
  %73 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 0, i32 noundef 2, i32 noundef 3)
  br i1 %73, label %74, label %76

74:                                               ; preds = %72
  %75 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 2)
  br label %76

76:                                               ; preds = %74, %72
  %77 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 0, i32 noundef 3, i32 noundef 3)
  br i1 %77, label %78, label %.preheader22.1

78:                                               ; preds = %76
  %79 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 0, i32 noundef 3)
  br label %.preheader22.1

.preheader22.1:                                   ; preds = %78, %76
  %80 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 1, i32 noundef 0, i32 noundef 3)
  br i1 %80, label %81, label %83

81:                                               ; preds = %.preheader22.1
  %82 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 0)
  br label %83

83:                                               ; preds = %81, %.preheader22.1
  %84 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 1, i32 noundef 1, i32 noundef 3)
  br i1 %84, label %85, label %87

85:                                               ; preds = %83
  %86 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 1)
  br label %87

87:                                               ; preds = %85, %83
  %88 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 1, i32 noundef 2, i32 noundef 3)
  br i1 %88, label %89, label %91

89:                                               ; preds = %87
  %90 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 2)
  br label %91

91:                                               ; preds = %89, %87
  %92 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 1, i32 noundef 3, i32 noundef 3)
  br i1 %92, label %93, label %.preheader22.2

93:                                               ; preds = %91
  %94 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 1, i32 noundef 3)
  br label %.preheader22.2

.preheader22.2:                                   ; preds = %93, %91
  %95 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 2, i32 noundef 0, i32 noundef 3)
  br i1 %95, label %96, label %98

96:                                               ; preds = %.preheader22.2
  %97 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 0)
  br label %98

98:                                               ; preds = %96, %.preheader22.2
  %99 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 2, i32 noundef 1, i32 noundef 3)
  br i1 %99, label %100, label %102

100:                                              ; preds = %98
  %101 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 1)
  br label %102

102:                                              ; preds = %100, %98
  %103 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 2, i32 noundef 2, i32 noundef 3)
  br i1 %103, label %104, label %106

104:                                              ; preds = %102
  %105 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 2)
  br label %106

106:                                              ; preds = %104, %102
  %107 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 2, i32 noundef 3, i32 noundef 3)
  br i1 %107, label %108, label %.preheader22.3

108:                                              ; preds = %106
  %109 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 2, i32 noundef 3)
  br label %.preheader22.3

.preheader22.3:                                   ; preds = %108, %106
  %110 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 3, i32 noundef 0, i32 noundef 3)
  br i1 %110, label %111, label %113

111:                                              ; preds = %.preheader22.3
  %112 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 3, i32 noundef 0)
  br label %113

113:                                              ; preds = %111, %.preheader22.3
  %114 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 3, i32 noundef 1, i32 noundef 3)
  br i1 %114, label %115, label %117

115:                                              ; preds = %113
  %116 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 3, i32 noundef 1)
  br label %117

117:                                              ; preds = %115, %113
  %118 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 3, i32 noundef 2, i32 noundef 3)
  br i1 %118, label %119, label %121

119:                                              ; preds = %117
  %120 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 3, i32 noundef 2)
  br label %121

121:                                              ; preds = %119, %117
  %122 = call noundef zeroext i1 @_Z4posiiii(i32 noundef 3, i32 noundef 3, i32 noundef 3)
  br i1 %122, label %123, label %.preheader.preheader

123:                                              ; preds = %121
  %124 = call noundef zeroext i1 @_Z3dfsiiii(i32 noundef 0, i32 noundef 3, i32 noundef 3, i32 noundef 3)
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %123, %121
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) @_Z3ansB5cxx11)
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull @.str.3)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 32))
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull @.str.3)
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 64))
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @.str.3)
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 96))
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @.str.3)
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 128))
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull @.str.3)
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 160))
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @.str.3)
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 192))
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @.str.3)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 224))
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull @.str.3)
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 256))
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @.str.3)
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 288))
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @.str.3)
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 320))
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef nonnull @.str.3)
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 352))
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull @.str.3)
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 384))
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @.str.3)
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 416))
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @.str.3)
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 448))
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @.str.3)
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) getelementptr inbounds (i8, ptr @_Z3ansB5cxx11, i64 480))
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @.str.3)
  %157 = load i32, ptr @tot, align 4, !tbaa !8
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %157)
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull @.str.3)
  ret i32 0
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

attributes #0 = { 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 #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 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 #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 = { 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 #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 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass