; LLVM IR from AdarshGaur/Competitive-Programming :: SPOJ (WILLITST - Will it ever stop)

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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 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 {
  %1 = alloca i32, align 4
  %2 = alloca [60 x i64], align 16
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %8 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %9 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %10 = getelementptr i8, ptr %9, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %11
  %13 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %12, ptr noundef null)
  %14 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %16
  %18 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %17, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 480, ptr %2) #6
  %19 = getelementptr inbounds [60 x i64], ptr %2, i64 0, i64 0
  store i64 2, ptr %19, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 1, ptr %3, align 4, !tbaa !11
  br label %20

20:                                               ; preds = %34, %0
  %21 = load i32, ptr %3, align 4, !tbaa !11
  %22 = icmp slt i32 %21, 60
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %37

24:                                               ; preds = %20
  %25 = load i32, ptr %3, align 4, !tbaa !11
  %26 = sub nsw i32 %25, 1
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [60 x i64], ptr %2, i64 0, i64 %27
  %29 = load i64, ptr %28, align 8, !tbaa !8
  %30 = mul i64 %29, 2
  %31 = load i32, ptr %3, align 4, !tbaa !11
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [60 x i64], ptr %2, i64 0, i64 %32
  store i64 %30, ptr %33, align 8, !tbaa !8
  br label %34

34:                                               ; preds = %24
  %35 = load i32, ptr %3, align 4, !tbaa !11
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %3, align 4, !tbaa !11
  br label %20, !llvm.loop !13

37:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  store i8 0, ptr %5, align 1, !tbaa !15
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %39 = load i64, ptr %4, align 8, !tbaa !8
  %40 = icmp eq i64 %39, 1
  br i1 %40, label %41, label %43

41:                                               ; preds = %37
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %71

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

44:                                               ; preds = %57, %43
  %45 = load i32, ptr %7, align 4, !tbaa !11
  %46 = icmp slt i32 %45, 60
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 5, ptr %6, align 4
  br label %60

48:                                               ; preds = %44
  %49 = load i64, ptr %4, align 8, !tbaa !8
  %50 = load i32, ptr %7, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [60 x i64], ptr %2, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !8
  %54 = icmp eq i64 %49, %53
  br i1 %54, label %55, label %56

55:                                               ; preds = %48
  store i8 1, ptr %5, align 1, !tbaa !15
  store i32 5, ptr %6, align 4
  br label %60

56:                                               ; preds = %48
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %7, align 4, !tbaa !11
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %7, align 4, !tbaa !11
  br label %44, !llvm.loop !17

60:                                               ; preds = %55, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %61

61:                                               ; preds = %60
  %62 = load i8, ptr %5, align 1, !tbaa !15, !range !18, !noundef !19
  %63 = trunc i8 %62 to i1
  %64 = zext i1 %63 to i32
  %65 = icmp eq i32 %64, 1
  br i1 %65, label %66, label %68

66:                                               ; preds = %61
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  br label %70

68:                                               ; preds = %61
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  br label %70

70:                                               ; preds = %68, %66
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %71

71:                                               ; preds = %70, %41
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 480, ptr %2) #6
  %72 = load i32, ptr %1, align 4
  ret i32 %72
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 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) #5

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !10, i64 0}
!17 = distinct !{!17, !14}
!18 = !{i8 0, i8 2}
!19 = !{}


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

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 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 {
  %1 = alloca i64, align 8
  %2 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %3 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %10
  %12 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %14 = load i64, ptr %1, align 8, !tbaa !8
  %15 = icmp eq i64 %14, 1
  br i1 %15, label %76, label %.preheader.preheader

.preheader.preheader:                             ; preds = %0
  %16 = icmp eq i64 %14, 2
  %17 = icmp eq i64 %14, 4
  %or.cond = or i1 %16, %17
  %18 = icmp eq i64 %14, 8
  %or.cond23 = or i1 %or.cond, %18
  %19 = icmp eq i64 %14, 16
  %or.cond26 = or i1 %or.cond23, %19
  %20 = icmp eq i64 %14, 32
  %or.cond29 = or i1 %or.cond26, %20
  %21 = icmp eq i64 %14, 64
  %or.cond32 = or i1 %or.cond29, %21
  %22 = icmp eq i64 %14, 128
  %or.cond35 = or i1 %or.cond32, %22
  %23 = icmp eq i64 %14, 256
  %or.cond38 = or i1 %or.cond35, %23
  %24 = icmp eq i64 %14, 512
  %or.cond41 = or i1 %or.cond38, %24
  %25 = icmp eq i64 %14, 1024
  %or.cond44 = or i1 %or.cond41, %25
  %26 = icmp eq i64 %14, 2048
  %or.cond47 = or i1 %or.cond44, %26
  %27 = icmp eq i64 %14, 4096
  %or.cond50 = or i1 %or.cond47, %27
  %28 = icmp eq i64 %14, 8192
  %or.cond53 = or i1 %or.cond50, %28
  %29 = icmp eq i64 %14, 16384
  %or.cond56 = or i1 %or.cond53, %29
  %30 = icmp eq i64 %14, 32768
  %or.cond59 = or i1 %or.cond56, %30
  %31 = icmp eq i64 %14, 65536
  %or.cond62 = or i1 %or.cond59, %31
  %32 = icmp eq i64 %14, 131072
  %or.cond65 = or i1 %or.cond62, %32
  %33 = icmp eq i64 %14, 262144
  %or.cond68 = or i1 %or.cond65, %33
  %34 = icmp eq i64 %14, 524288
  %or.cond71 = or i1 %or.cond68, %34
  %35 = icmp eq i64 %14, 1048576
  %or.cond74 = or i1 %or.cond71, %35
  %36 = icmp eq i64 %14, 2097152
  %or.cond77 = or i1 %or.cond74, %36
  %37 = icmp eq i64 %14, 4194304
  %or.cond80 = or i1 %or.cond77, %37
  %38 = icmp eq i64 %14, 8388608
  %or.cond83 = or i1 %or.cond80, %38
  %39 = icmp eq i64 %14, 16777216
  %or.cond86 = or i1 %or.cond83, %39
  %40 = icmp eq i64 %14, 33554432
  %or.cond89 = or i1 %or.cond86, %40
  %41 = icmp eq i64 %14, 67108864
  %or.cond92 = or i1 %or.cond89, %41
  %42 = icmp eq i64 %14, 134217728
  %or.cond95 = or i1 %or.cond92, %42
  %43 = icmp eq i64 %14, 268435456
  %or.cond98 = or i1 %or.cond95, %43
  %44 = icmp eq i64 %14, 536870912
  %or.cond101 = or i1 %or.cond98, %44
  %45 = icmp eq i64 %14, 1073741824
  %or.cond104 = or i1 %or.cond101, %45
  %46 = icmp eq i64 %14, 2147483648
  %or.cond107 = or i1 %or.cond104, %46
  %47 = icmp eq i64 %14, 4294967296
  %or.cond110 = or i1 %or.cond107, %47
  %48 = icmp eq i64 %14, 8589934592
  %or.cond113 = or i1 %or.cond110, %48
  %49 = icmp eq i64 %14, 17179869184
  %or.cond116 = or i1 %or.cond113, %49
  %50 = icmp eq i64 %14, 34359738368
  %or.cond119 = or i1 %or.cond116, %50
  %51 = icmp eq i64 %14, 68719476736
  %or.cond122 = or i1 %or.cond119, %51
  %52 = icmp eq i64 %14, 137438953472
  %or.cond125 = or i1 %or.cond122, %52
  %53 = icmp eq i64 %14, 274877906944
  %or.cond128 = or i1 %or.cond125, %53
  %54 = icmp eq i64 %14, 549755813888
  %or.cond131 = or i1 %or.cond128, %54
  %55 = icmp eq i64 %14, 1099511627776
  %or.cond134 = or i1 %or.cond131, %55
  %56 = icmp eq i64 %14, 2199023255552
  %or.cond137 = or i1 %or.cond134, %56
  %57 = icmp eq i64 %14, 4398046511104
  %or.cond140 = or i1 %or.cond137, %57
  %58 = icmp eq i64 %14, 8796093022208
  %or.cond143 = or i1 %or.cond140, %58
  %59 = icmp eq i64 %14, 17592186044416
  %or.cond146 = or i1 %or.cond143, %59
  %60 = icmp eq i64 %14, 35184372088832
  %or.cond149 = or i1 %or.cond146, %60
  %61 = icmp eq i64 %14, 70368744177664
  %or.cond152 = or i1 %or.cond149, %61
  %62 = icmp eq i64 %14, 140737488355328
  %or.cond155 = or i1 %or.cond152, %62
  %63 = icmp eq i64 %14, 281474976710656
  %or.cond158 = or i1 %or.cond155, %63
  %64 = icmp eq i64 %14, 562949953421312
  %or.cond161 = or i1 %or.cond158, %64
  %65 = icmp eq i64 %14, 1125899906842624
  %or.cond164 = or i1 %or.cond161, %65
  %66 = icmp eq i64 %14, 2251799813685248
  %or.cond167 = or i1 %or.cond164, %66
  %67 = icmp eq i64 %14, 4503599627370496
  %or.cond170 = or i1 %or.cond167, %67
  %68 = icmp eq i64 %14, 9007199254740992
  %or.cond173 = or i1 %or.cond170, %68
  %69 = icmp eq i64 %14, 18014398509481984
  %or.cond176 = or i1 %or.cond173, %69
  %70 = icmp eq i64 %14, 36028797018963968
  %or.cond179 = or i1 %or.cond176, %70
  %71 = icmp eq i64 %14, 72057594037927936
  %or.cond182 = or i1 %or.cond179, %71
  %72 = icmp eq i64 %14, 144115188075855872
  %or.cond185 = or i1 %or.cond182, %72
  %73 = icmp eq i64 %14, 288230376151711744
  %or.cond188 = or i1 %or.cond185, %73
  %74 = icmp eq i64 %14, 576460752303423488
  %or.cond191 = or i1 %or.cond188, %74
  %75 = icmp eq i64 %14, 1152921504606846976
  %or.cond194 = or i1 %or.cond191, %75
  %.str..str.1 = select i1 %or.cond194, ptr @.str, ptr @.str.1
  br label %76

76:                                               ; preds = %0, %.preheader.preheader
  %.str.sink = phi ptr [ %.str..str.1, %.preheader.preheader ], [ @.str, %0 ]
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.sink)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 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 #5

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass