; LLVM IR from Lakhankumawat/LearnCPP :: S-SortingAlgorithms (SelectionSort)

; 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_ostream" = type { ptr, %"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 }

@__const.main.arr = external hidden unnamed_addr constant [9 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

13:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %6, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %39, %13
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = icmp sle i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %42

21:                                               ; preds = %16
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = icmp slt i32 %25, %29
  br i1 %30, label %31, label %38

31:                                               ; preds = %21
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %33
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %36
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %37) #6
  br label %38

38:                                               ; preds = %31, %21
  br label %39

39:                                               ; preds = %38
  %40 = load i32, ptr %6, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %6, align 4, !tbaa !5
  br label %16, !llvm.loop !9

42:                                               ; preds = %20
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %4, align 4, !tbaa !5
  br label %8, !llvm.loop !11

46:                                               ; preds = %12
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %60, %46
  %49 = load i32, ptr %7, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %63

53:                                               ; preds = %48
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %57)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @.str.1)
  br label %60

60:                                               ; preds = %53
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %7, align 4, !tbaa !5
  br label %48, !llvm.loop !12

63:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %2) #6
  %64 = load i32, ptr %1, align 4
  ret i32 %64
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; 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_ostream" = type { ptr, %"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 }

@__const.main.arr = external hidden unnamed_addr constant [9 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.lr.ph:
  %0 = alloca [9 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %0) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %0, ptr noundef nonnull align 16 dereferenceable(36) @__const.main.arr, i64 36, i1 false)
  %1 = getelementptr inbounds i8, ptr %0, i64 4
  %2 = load i32, ptr %1, align 4, !tbaa !5
  %3 = load i32, ptr %0, align 16, !tbaa !5
  %4 = icmp slt i32 %2, %3
  br i1 %4, label %257, label %258

.lr.ph.1:                                         ; preds = %305, %300
  %5 = getelementptr inbounds i8, ptr %0, i64 4
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = load i32, ptr %5, align 4, !tbaa !5
  %9 = icmp slt i32 %7, %8
  br i1 %9, label %10, label %11

10:                                               ; preds = %.lr.ph.1
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6) #6
  %.pre36 = load i32, ptr %5, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %10, %.lr.ph.1
  %12 = phi i32 [ %.pre36, %10 ], [ %8, %.lr.ph.1 ]
  %13 = getelementptr inbounds i8, ptr %0, i64 12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = icmp slt i32 %14, %12
  br i1 %15, label %16, label %17

16:                                               ; preds = %11
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %13) #6
  %.pre37 = load i32, ptr %5, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %16, %11
  %18 = phi i32 [ %.pre37, %16 ], [ %12, %11 ]
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = load i32, ptr %19, align 16, !tbaa !5
  %21 = icmp slt i32 %20, %18
  br i1 %21, label %22, label %23

22:                                               ; preds = %17
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %19) #6
  %.pre38 = load i32, ptr %5, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %22, %17
  %24 = phi i32 [ %.pre38, %22 ], [ %18, %17 ]
  %25 = getelementptr inbounds i8, ptr %0, i64 20
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = icmp slt i32 %26, %24
  br i1 %27, label %28, label %29

28:                                               ; preds = %23
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %25) #6
  %.pre39 = load i32, ptr %5, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %28, %23
  %30 = phi i32 [ %.pre39, %28 ], [ %24, %23 ]
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load i32, ptr %31, align 8, !tbaa !5
  %33 = icmp slt i32 %32, %30
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %31) #6
  %.pre40 = load i32, ptr %5, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %34, %29
  %36 = phi i32 [ %.pre40, %34 ], [ %30, %29 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 28
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = icmp slt i32 %38, %36
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %37) #6
  %.pre41 = load i32, ptr %5, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %40, %35
  %42 = phi i32 [ %.pre41, %40 ], [ %36, %35 ]
  %43 = getelementptr inbounds i8, ptr %0, i64 32
  %44 = load i32, ptr %43, align 16, !tbaa !5
  %45 = icmp slt i32 %44, %42
  br i1 %45, label %46, label %47

46:                                               ; preds = %41
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %43) #6
  %.pre42 = load i32, ptr %5, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %46, %41
  %48 = phi i32 [ %.pre42, %46 ], [ %42, %41 ]
  %49 = getelementptr inbounds i8, ptr %0, i64 36
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = icmp slt i32 %50, %48
  br i1 %51, label %52, label %.lr.ph.2

52:                                               ; preds = %47
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %49) #6
  br label %.lr.ph.2

.lr.ph.2:                                         ; preds = %52, %47
  %53 = getelementptr inbounds i8, ptr %0, i64 8
  %54 = getelementptr inbounds i8, ptr %0, i64 12
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = load i32, ptr %53, align 8, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %.lr.ph.2
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54) #6
  %.pre43 = load i32, ptr %53, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %58, %.lr.ph.2
  %60 = phi i32 [ %.pre43, %58 ], [ %56, %.lr.ph.2 ]
  %61 = getelementptr inbounds i8, ptr %0, i64 16
  %62 = load i32, ptr %61, align 16, !tbaa !5
  %63 = icmp slt i32 %62, %60
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %61) #6
  %.pre44 = load i32, ptr %53, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %64, %59
  %66 = phi i32 [ %.pre44, %64 ], [ %60, %59 ]
  %67 = getelementptr inbounds i8, ptr %0, i64 20
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp slt i32 %68, %66
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %67) #6
  %.pre45 = load i32, ptr %53, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %70, %65
  %72 = phi i32 [ %.pre45, %70 ], [ %66, %65 ]
  %73 = getelementptr inbounds i8, ptr %0, i64 24
  %74 = load i32, ptr %73, align 8, !tbaa !5
  %75 = icmp slt i32 %74, %72
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %73) #6
  %.pre46 = load i32, ptr %53, align 8, !tbaa !5
  br label %77

77:                                               ; preds = %76, %71
  %78 = phi i32 [ %.pre46, %76 ], [ %72, %71 ]
  %79 = getelementptr inbounds i8, ptr %0, i64 28
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = icmp slt i32 %80, %78
  br i1 %81, label %82, label %83

82:                                               ; preds = %77
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %79) #6
  %.pre47 = load i32, ptr %53, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %82, %77
  %84 = phi i32 [ %.pre47, %82 ], [ %78, %77 ]
  %85 = getelementptr inbounds i8, ptr %0, i64 32
  %86 = load i32, ptr %85, align 16, !tbaa !5
  %87 = icmp slt i32 %86, %84
  br i1 %87, label %88, label %89

88:                                               ; preds = %83
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %85) #6
  %.pre48 = load i32, ptr %53, align 8, !tbaa !5
  br label %89

89:                                               ; preds = %88, %83
  %90 = phi i32 [ %.pre48, %88 ], [ %84, %83 ]
  %91 = getelementptr inbounds i8, ptr %0, i64 36
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = icmp slt i32 %92, %90
  br i1 %93, label %94, label %.lr.ph.3

94:                                               ; preds = %89
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %91) #6
  br label %.lr.ph.3

.lr.ph.3:                                         ; preds = %94, %89
  %95 = getelementptr inbounds i8, ptr %0, i64 12
  %96 = getelementptr inbounds i8, ptr %0, i64 16
  %97 = load i32, ptr %96, align 16, !tbaa !5
  %98 = load i32, ptr %95, align 4, !tbaa !5
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %.lr.ph.3
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %96) #6
  %.pre49 = load i32, ptr %95, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %100, %.lr.ph.3
  %102 = phi i32 [ %.pre49, %100 ], [ %98, %.lr.ph.3 ]
  %103 = getelementptr inbounds i8, ptr %0, i64 20
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp slt i32 %104, %102
  br i1 %105, label %106, label %107

106:                                              ; preds = %101
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %103) #6
  %.pre50 = load i32, ptr %95, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %106, %101
  %108 = phi i32 [ %.pre50, %106 ], [ %102, %101 ]
  %109 = getelementptr inbounds i8, ptr %0, i64 24
  %110 = load i32, ptr %109, align 8, !tbaa !5
  %111 = icmp slt i32 %110, %108
  br i1 %111, label %112, label %113

112:                                              ; preds = %107
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %109) #6
  %.pre51 = load i32, ptr %95, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %112, %107
  %114 = phi i32 [ %.pre51, %112 ], [ %108, %107 ]
  %115 = getelementptr inbounds i8, ptr %0, i64 28
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = icmp slt i32 %116, %114
  br i1 %117, label %118, label %119

118:                                              ; preds = %113
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %115) #6
  %.pre52 = load i32, ptr %95, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %118, %113
  %120 = phi i32 [ %.pre52, %118 ], [ %114, %113 ]
  %121 = getelementptr inbounds i8, ptr %0, i64 32
  %122 = load i32, ptr %121, align 16, !tbaa !5
  %123 = icmp slt i32 %122, %120
  br i1 %123, label %124, label %125

124:                                              ; preds = %119
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %121) #6
  %.pre53 = load i32, ptr %95, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %124, %119
  %126 = phi i32 [ %.pre53, %124 ], [ %120, %119 ]
  %127 = getelementptr inbounds i8, ptr %0, i64 36
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = icmp slt i32 %128, %126
  br i1 %129, label %130, label %.lr.ph.4

130:                                              ; preds = %125
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %127) #6
  br label %.lr.ph.4

.lr.ph.4:                                         ; preds = %130, %125
  %131 = getelementptr inbounds i8, ptr %0, i64 16
  %132 = getelementptr inbounds i8, ptr %0, i64 20
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = load i32, ptr %131, align 16, !tbaa !5
  %135 = icmp slt i32 %133, %134
  br i1 %135, label %136, label %137

136:                                              ; preds = %.lr.ph.4
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 4 dereferenceable(4) %132) #6
  %.pre54 = load i32, ptr %131, align 16, !tbaa !5
  br label %137

137:                                              ; preds = %136, %.lr.ph.4
  %138 = phi i32 [ %.pre54, %136 ], [ %134, %.lr.ph.4 ]
  %139 = getelementptr inbounds i8, ptr %0, i64 24
  %140 = load i32, ptr %139, align 8, !tbaa !5
  %141 = icmp slt i32 %140, %138
  br i1 %141, label %142, label %143

142:                                              ; preds = %137
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 4 dereferenceable(4) %139) #6
  %.pre55 = load i32, ptr %131, align 16, !tbaa !5
  br label %143

143:                                              ; preds = %142, %137
  %144 = phi i32 [ %.pre55, %142 ], [ %138, %137 ]
  %145 = getelementptr inbounds i8, ptr %0, i64 28
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = icmp slt i32 %146, %144
  br i1 %147, label %148, label %149

148:                                              ; preds = %143
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 4 dereferenceable(4) %145) #6
  %.pre56 = load i32, ptr %131, align 16, !tbaa !5
  br label %149

149:                                              ; preds = %148, %143
  %150 = phi i32 [ %.pre56, %148 ], [ %144, %143 ]
  %151 = getelementptr inbounds i8, ptr %0, i64 32
  %152 = load i32, ptr %151, align 16, !tbaa !5
  %153 = icmp slt i32 %152, %150
  br i1 %153, label %154, label %155

154:                                              ; preds = %149
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 4 dereferenceable(4) %151) #6
  %.pre57 = load i32, ptr %131, align 16, !tbaa !5
  br label %155

155:                                              ; preds = %154, %149
  %156 = phi i32 [ %.pre57, %154 ], [ %150, %149 ]
  %157 = getelementptr inbounds i8, ptr %0, i64 36
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = icmp slt i32 %158, %156
  br i1 %159, label %160, label %.lr.ph.5

160:                                              ; preds = %155
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %131, ptr noundef nonnull align 4 dereferenceable(4) %157) #6
  br label %.lr.ph.5

.lr.ph.5:                                         ; preds = %160, %155
  %161 = getelementptr inbounds i8, ptr %0, i64 20
  %162 = getelementptr inbounds i8, ptr %0, i64 24
  %163 = load i32, ptr %162, align 8, !tbaa !5
  %164 = load i32, ptr %161, align 4, !tbaa !5
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %166, label %167

166:                                              ; preds = %.lr.ph.5
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %161, ptr noundef nonnull align 4 dereferenceable(4) %162) #6
  %.pre58 = load i32, ptr %161, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %166, %.lr.ph.5
  %168 = phi i32 [ %.pre58, %166 ], [ %164, %.lr.ph.5 ]
  %169 = getelementptr inbounds i8, ptr %0, i64 28
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = icmp slt i32 %170, %168
  br i1 %171, label %172, label %173

172:                                              ; preds = %167
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %161, ptr noundef nonnull align 4 dereferenceable(4) %169) #6
  %.pre59 = load i32, ptr %161, align 4, !tbaa !5
  br label %173

173:                                              ; preds = %172, %167
  %174 = phi i32 [ %.pre59, %172 ], [ %168, %167 ]
  %175 = getelementptr inbounds i8, ptr %0, i64 32
  %176 = load i32, ptr %175, align 16, !tbaa !5
  %177 = icmp slt i32 %176, %174
  br i1 %177, label %178, label %179

178:                                              ; preds = %173
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %161, ptr noundef nonnull align 4 dereferenceable(4) %175) #6
  %.pre60 = load i32, ptr %161, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %178, %173
  %180 = phi i32 [ %.pre60, %178 ], [ %174, %173 ]
  %181 = getelementptr inbounds i8, ptr %0, i64 36
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = icmp slt i32 %182, %180
  br i1 %183, label %184, label %.lr.ph.6

184:                                              ; preds = %179
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %161, ptr noundef nonnull align 4 dereferenceable(4) %181) #6
  br label %.lr.ph.6

.lr.ph.6:                                         ; preds = %184, %179
  %185 = getelementptr inbounds i8, ptr %0, i64 24
  %186 = getelementptr inbounds i8, ptr %0, i64 28
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = load i32, ptr %185, align 8, !tbaa !5
  %189 = icmp slt i32 %187, %188
  br i1 %189, label %190, label %191

190:                                              ; preds = %.lr.ph.6
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %186) #6
  %.pre61 = load i32, ptr %185, align 8, !tbaa !5
  br label %191

191:                                              ; preds = %190, %.lr.ph.6
  %192 = phi i32 [ %.pre61, %190 ], [ %188, %.lr.ph.6 ]
  %193 = getelementptr inbounds i8, ptr %0, i64 32
  %194 = load i32, ptr %193, align 16, !tbaa !5
  %195 = icmp slt i32 %194, %192
  br i1 %195, label %196, label %197

196:                                              ; preds = %191
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %193) #6
  %.pre62 = load i32, ptr %185, align 8, !tbaa !5
  br label %197

197:                                              ; preds = %196, %191
  %198 = phi i32 [ %.pre62, %196 ], [ %192, %191 ]
  %199 = getelementptr inbounds i8, ptr %0, i64 36
  %200 = load i32, ptr %199, align 4, !tbaa !5
  %201 = icmp slt i32 %200, %198
  br i1 %201, label %202, label %.lr.ph.7

202:                                              ; preds = %197
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %199) #6
  br label %.lr.ph.7

.lr.ph.7:                                         ; preds = %202, %197
  %203 = getelementptr inbounds i8, ptr %0, i64 28
  %204 = getelementptr inbounds i8, ptr %0, i64 32
  %205 = load i32, ptr %204, align 16, !tbaa !5
  %206 = load i32, ptr %203, align 4, !tbaa !5
  %207 = icmp slt i32 %205, %206
  br i1 %207, label %208, label %209

208:                                              ; preds = %.lr.ph.7
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %203, ptr noundef nonnull align 4 dereferenceable(4) %204) #6
  %.pre63 = load i32, ptr %203, align 4, !tbaa !5
  br label %209

209:                                              ; preds = %208, %.lr.ph.7
  %210 = phi i32 [ %.pre63, %208 ], [ %206, %.lr.ph.7 ]
  %211 = getelementptr inbounds i8, ptr %0, i64 36
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = icmp slt i32 %212, %210
  br i1 %213, label %214, label %.lr.ph.8

214:                                              ; preds = %209
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %203, ptr noundef nonnull align 4 dereferenceable(4) %211) #6
  br label %.lr.ph.8

.lr.ph.8:                                         ; preds = %214, %209
  %215 = getelementptr inbounds i8, ptr %0, i64 32
  %216 = getelementptr inbounds i8, ptr %0, i64 36
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = load i32, ptr %215, align 16, !tbaa !5
  %219 = icmp slt i32 %217, %218
  br i1 %219, label %220, label %.loopexit.8

220:                                              ; preds = %.lr.ph.8
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %215, ptr noundef nonnull align 4 dereferenceable(4) %216) #6
  br label %.loopexit.8

.loopexit.8:                                      ; preds = %.lr.ph.8, %220
  %221 = 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)
  %222 = load i32, ptr %0, align 16, !tbaa !5
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %222)
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull @.str.1)
  %225 = getelementptr inbounds i8, ptr %0, i64 4
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %226)
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull @.str.1)
  %229 = getelementptr inbounds i8, ptr %0, i64 8
  %230 = load i32, ptr %229, align 8, !tbaa !5
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %230)
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull @.str.1)
  %233 = getelementptr inbounds i8, ptr %0, i64 12
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %234)
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull @.str.1)
  %237 = getelementptr inbounds i8, ptr %0, i64 16
  %238 = load i32, ptr %237, align 16, !tbaa !5
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %238)
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull @.str.1)
  %241 = getelementptr inbounds i8, ptr %0, i64 20
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %242)
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull @.str.1)
  %245 = getelementptr inbounds i8, ptr %0, i64 24
  %246 = load i32, ptr %245, align 8, !tbaa !5
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %246)
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef nonnull @.str.1)
  %249 = getelementptr inbounds i8, ptr %0, i64 28
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %250)
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @.str.1)
  %253 = getelementptr inbounds i8, ptr %0, i64 32
  %254 = load i32, ptr %253, align 16, !tbaa !5
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %254)
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %0) #6
  ret i32 0

257:                                              ; preds = %.lr.ph
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %1) #6
  %.pre = load i32, ptr %0, align 16, !tbaa !5
  br label %258

258:                                              ; preds = %.lr.ph, %257
  %259 = phi i32 [ %3, %.lr.ph ], [ %.pre, %257 ]
  %260 = getelementptr inbounds i8, ptr %0, i64 8
  %261 = load i32, ptr %260, align 8, !tbaa !5
  %262 = icmp slt i32 %261, %259
  br i1 %262, label %263, label %264

263:                                              ; preds = %258
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %260) #6
  %.pre29 = load i32, ptr %0, align 16, !tbaa !5
  br label %264

264:                                              ; preds = %263, %258
  %265 = phi i32 [ %.pre29, %263 ], [ %259, %258 ]
  %266 = getelementptr inbounds i8, ptr %0, i64 12
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = icmp slt i32 %267, %265
  br i1 %268, label %269, label %270

269:                                              ; preds = %264
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %266) #6
  %.pre30 = load i32, ptr %0, align 16, !tbaa !5
  br label %270

270:                                              ; preds = %269, %264
  %271 = phi i32 [ %.pre30, %269 ], [ %265, %264 ]
  %272 = getelementptr inbounds i8, ptr %0, i64 16
  %273 = load i32, ptr %272, align 16, !tbaa !5
  %274 = icmp slt i32 %273, %271
  br i1 %274, label %275, label %276

275:                                              ; preds = %270
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %272) #6
  %.pre31 = load i32, ptr %0, align 16, !tbaa !5
  br label %276

276:                                              ; preds = %275, %270
  %277 = phi i32 [ %.pre31, %275 ], [ %271, %270 ]
  %278 = getelementptr inbounds i8, ptr %0, i64 20
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = icmp slt i32 %279, %277
  br i1 %280, label %281, label %282

281:                                              ; preds = %276
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %278) #6
  %.pre32 = load i32, ptr %0, align 16, !tbaa !5
  br label %282

282:                                              ; preds = %281, %276
  %283 = phi i32 [ %.pre32, %281 ], [ %277, %276 ]
  %284 = getelementptr inbounds i8, ptr %0, i64 24
  %285 = load i32, ptr %284, align 8, !tbaa !5
  %286 = icmp slt i32 %285, %283
  br i1 %286, label %287, label %288

287:                                              ; preds = %282
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %284) #6
  %.pre33 = load i32, ptr %0, align 16, !tbaa !5
  br label %288

288:                                              ; preds = %287, %282
  %289 = phi i32 [ %.pre33, %287 ], [ %283, %282 ]
  %290 = getelementptr inbounds i8, ptr %0, i64 28
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = icmp slt i32 %291, %289
  br i1 %292, label %293, label %294

293:                                              ; preds = %288
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %290) #6
  %.pre34 = load i32, ptr %0, align 16, !tbaa !5
  br label %294

294:                                              ; preds = %293, %288
  %295 = phi i32 [ %.pre34, %293 ], [ %289, %288 ]
  %296 = getelementptr inbounds i8, ptr %0, i64 32
  %297 = load i32, ptr %296, align 16, !tbaa !5
  %298 = icmp slt i32 %297, %295
  br i1 %298, label %299, label %300

299:                                              ; preds = %294
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %296) #6
  %.pre35 = load i32, ptr %0, align 16, !tbaa !5
  br label %300

300:                                              ; preds = %299, %294
  %301 = phi i32 [ %.pre35, %299 ], [ %295, %294 ]
  %302 = getelementptr inbounds i8, ptr %0, i64 36
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = icmp slt i32 %303, %301
  br i1 %304, label %305, label %.lr.ph.1

305:                                              ; preds = %300
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %0, ptr noundef nonnull align 4 dereferenceable(4) %302) #6
  br label %.lr.ph.1
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "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"}


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