; LLVM IR from manishbisht/Competitive-Programming :: Spoj/Practice/CPP (FCTRL2)

; 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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca [200 x i64], align 16
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 1600, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %12

12:                                               ; preds = %107, %0
  %13 = load i64, ptr %4, align 8, !tbaa !5
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = icmp slt i64 %13, %14
  br i1 %15, label %16, label %110

16:                                               ; preds = %12
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
  store i64 0, ptr %5, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %24, %16
  %19 = load i64, ptr %5, align 8, !tbaa !5
  %20 = icmp slt i64 %19, 200
  br i1 %20, label %21, label %27

21:                                               ; preds = %18
  %22 = load i64, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %22
  store i64 0, ptr %23, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %21
  %25 = load i64, ptr %5, align 8, !tbaa !5
  %26 = add nsw i64 %25, 1
  store i64 %26, ptr %5, align 8, !tbaa !5
  br label %18, !llvm.loop !9

27:                                               ; preds = %18
  %28 = load i64, ptr %3, align 8, !tbaa !5
  store i64 %28, ptr %7, align 8, !tbaa !5
  store i64 0, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %9, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %32, %27
  %30 = load i64, ptr %7, align 8, !tbaa !5
  %31 = icmp sgt i64 %30, 9
  br i1 %31, label %32, label %43

32:                                               ; preds = %29
  %33 = load i64, ptr %7, align 8, !tbaa !5
  %34 = srem i64 %33, 10
  %35 = load i64, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %35
  store i64 %34, ptr %36, align 8, !tbaa !5
  %37 = load i64, ptr %7, align 8, !tbaa !5
  %38 = sdiv i64 %37, 10
  store i64 %38, ptr %7, align 8, !tbaa !5
  %39 = load i64, ptr %5, align 8, !tbaa !5
  %40 = add nsw i64 %39, 1
  store i64 %40, ptr %5, align 8, !tbaa !5
  %41 = load i64, ptr %9, align 8, !tbaa !5
  %42 = add nsw i64 %41, 1
  store i64 %42, ptr %9, align 8, !tbaa !5
  br label %29, !llvm.loop !11

43:                                               ; preds = %29
  %44 = load i64, ptr %7, align 8, !tbaa !5
  %45 = load i64, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %45
  store i64 %44, ptr %46, align 8, !tbaa !5
  store i64 0, ptr %8, align 8, !tbaa !5
  store i64 2, ptr %5, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %89, %43
  %48 = load i64, ptr %5, align 8, !tbaa !5
  %49 = load i64, ptr %3, align 8, !tbaa !5
  %50 = icmp slt i64 %48, %49
  br i1 %50, label %51, label %92

51:                                               ; preds = %47
  store i64 0, ptr %7, align 8, !tbaa !5
  store i64 0, ptr %10, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %70, %51
  %53 = load i64, ptr %10, align 8, !tbaa !5
  %54 = load i64, ptr %9, align 8, !tbaa !5
  %55 = icmp sle i64 %53, %54
  br i1 %55, label %56, label %73

56:                                               ; preds = %52
  %57 = load i64, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %60 = load i64, ptr %5, align 8, !tbaa !5
  %61 = mul nsw i64 %59, %60
  %62 = load i64, ptr %7, align 8, !tbaa !5
  %63 = add nsw i64 %61, %62
  store i64 %63, ptr %8, align 8, !tbaa !5
  %64 = load i64, ptr %8, align 8, !tbaa !5
  %65 = srem i64 %64, 10
  %66 = load i64, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %66
  store i64 %65, ptr %67, align 8, !tbaa !5
  %68 = load i64, ptr %8, align 8, !tbaa !5
  %69 = sdiv i64 %68, 10
  store i64 %69, ptr %7, align 8, !tbaa !5
  br label %70

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

73:                                               ; preds = %52
  br label %74

74:                                               ; preds = %77, %73
  %75 = load i64, ptr %7, align 8, !tbaa !5
  %76 = icmp ne i64 %75, 0
  br i1 %76, label %77, label %88

77:                                               ; preds = %74
  %78 = load i64, ptr %7, align 8, !tbaa !5
  %79 = srem i64 %78, 10
  %80 = load i64, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %80
  store i64 %79, ptr %81, align 8, !tbaa !5
  %82 = load i64, ptr %7, align 8, !tbaa !5
  %83 = sdiv i64 %82, 10
  store i64 %83, ptr %7, align 8, !tbaa !5
  %84 = load i64, ptr %10, align 8, !tbaa !5
  %85 = add nsw i64 %84, 1
  store i64 %85, ptr %10, align 8, !tbaa !5
  %86 = load i64, ptr %9, align 8, !tbaa !5
  %87 = add nsw i64 %86, 1
  store i64 %87, ptr %9, align 8, !tbaa !5
  br label %74, !llvm.loop !13

88:                                               ; preds = %74
  br label %89

89:                                               ; preds = %88
  %90 = load i64, ptr %5, align 8, !tbaa !5
  %91 = add nsw i64 %90, 1
  store i64 %91, ptr %5, align 8, !tbaa !5
  br label %47, !llvm.loop !14

92:                                               ; preds = %47
  %93 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %93, ptr %5, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %102, %92
  %95 = load i64, ptr %5, align 8, !tbaa !5
  %96 = icmp sge i64 %95, 0
  br i1 %96, label %97, label %105

97:                                               ; preds = %94
  %98 = load i64, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds [200 x i64], ptr %6, i64 0, i64 %98
  %100 = load i64, ptr %99, align 8, !tbaa !5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %100)
  br label %102

102:                                              ; preds = %97
  %103 = load i64, ptr %5, align 8, !tbaa !5
  %104 = add nsw i64 %103, -1
  store i64 %104, ptr %5, align 8, !tbaa !5
  br label %94, !llvm.loop !15

105:                                              ; preds = %94
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %107

107:                                              ; preds = %105
  %108 = load i64, ptr %4, align 8, !tbaa !5
  %109 = add nsw i64 %108, 1
  store i64 %109, ptr %4, align 8, !tbaa !5
  br label %12, !llvm.loop !16

110:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 1600, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  ret i32 0
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !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_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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca [200 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 1600, ptr nonnull %3) #5
  %4 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %5 = load i64, ptr %1, align 8, !tbaa !5
  %6 = icmp sgt i64 %5, 0
  br i1 %6, label %.lr.ph73, label %._crit_edge74

.lr.ph73:                                         ; preds = %0, %._crit_edge70
  %.04271 = phi i64 [ %35, %._crit_edge70 ], [ 0, %0 ]
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1600) %3, i8 0, i64 1600, i1 false), !tbaa !5
  %8 = load i64, ptr %2, align 8, !tbaa !5
  %9 = icmp sgt i64 %8, 9
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph73, %.lr.ph
  %.03449 = phi i64 [ %13, %.lr.ph ], [ 0, %.lr.ph73 ]
  %.03648 = phi i64 [ %12, %.lr.ph ], [ %8, %.lr.ph73 ]
  %10 = urem i64 %.03648, 10
  %11 = getelementptr inbounds [200 x i64], ptr %3, i64 0, i64 %.03449
  store i64 %10, ptr %11, align 8, !tbaa !5
  %12 = udiv i64 %.03648, 10
  %13 = add nuw nsw i64 %.03449, 1
  %14 = icmp ugt i64 %.03648, 99
  br i1 %14, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph73
  %.140.lcssa = phi i64 [ 0, %.lr.ph73 ], [ %13, %.lr.ph ]
  %.036.lcssa = phi i64 [ %8, %.lr.ph73 ], [ %12, %.lr.ph ]
  %15 = getelementptr inbounds [200 x i64], ptr %3, i64 0, i64 %.140.lcssa
  store i64 %.036.lcssa, ptr %15, align 8, !tbaa !5
  %16 = icmp sgt i64 %8, 2
  br i1 %16, label %.preheader44, label %.preheader45

.preheader45:                                     ; preds = %._crit_edge63, %._crit_edge
  %.135.lcssa = phi i64 [ %.140.lcssa, %._crit_edge ], [ %.2.lcssa, %._crit_edge63 ]
  %17 = icmp sgt i64 %.135.lcssa, -1
  br i1 %17, label %.lr.ph69, label %._crit_edge70

.preheader44:                                     ; preds = %._crit_edge, %._crit_edge63
  %.13566 = phi i64 [ %.2.lcssa, %._crit_edge63 ], [ %.140.lcssa, %._crit_edge ]
  %.24165 = phi i64 [ %29, %._crit_edge63 ], [ 2, %._crit_edge ]
  %.not52 = icmp slt i64 %.13566, 0
  br i1 %.not52, label %._crit_edge63, label %.lr.ph55

.preheader:                                       ; preds = %.lr.ph55
  %.off = add i64 %21, 9
  %.not4358 = icmp ult i64 %.off, 19
  br i1 %.not4358, label %._crit_edge63, label %.lr.ph62

.lr.ph55:                                         ; preds = %.preheader44, %.lr.ph55
  %.054 = phi i64 [ %24, %.lr.ph55 ], [ 0, %.preheader44 ]
  %.13753 = phi i64 [ %23, %.lr.ph55 ], [ 0, %.preheader44 ]
  %18 = getelementptr inbounds [200 x i64], ptr %3, i64 0, i64 %.054
  %19 = load i64, ptr %18, align 8, !tbaa !5
  %20 = mul nsw i64 %19, %.24165
  %21 = add nsw i64 %20, %.13753
  %22 = srem i64 %21, 10
  store i64 %22, ptr %18, align 8, !tbaa !5
  %23 = sdiv i64 %21, 10
  %24 = add nuw i64 %.054, 1
  %exitcond.not = icmp eq i64 %.054, %.13566
  br i1 %exitcond.not, label %.preheader, label %.lr.ph55, !llvm.loop !11

.lr.ph62:                                         ; preds = %.preheader, %.lr.ph62
  %.161.in = phi i64 [ %.161, %.lr.ph62 ], [ %.13566, %.preheader ]
  %.260 = phi i64 [ %28, %.lr.ph62 ], [ %.13566, %.preheader ]
  %.23859 = phi i64 [ %27, %.lr.ph62 ], [ %23, %.preheader ]
  %.161 = add nuw i64 %.161.in, 1
  %25 = srem i64 %.23859, 10
  %26 = getelementptr inbounds [200 x i64], ptr %3, i64 0, i64 %.161
  store i64 %25, ptr %26, align 8, !tbaa !5
  %27 = sdiv i64 %.23859, 10
  %28 = add nuw nsw i64 %.260, 1
  %.23859.off = add nsw i64 %.23859, 9
  %.not43 = icmp ult i64 %.23859.off, 19
  br i1 %.not43, label %._crit_edge63, label %.lr.ph62, !llvm.loop !12

._crit_edge63:                                    ; preds = %.lr.ph62, %.preheader44, %.preheader
  %.2.lcssa = phi i64 [ %.13566, %.preheader ], [ %.13566, %.preheader44 ], [ %28, %.lr.ph62 ]
  %29 = add nuw nsw i64 %.24165, 1
  %exitcond80.not = icmp eq i64 %29, %8
  br i1 %exitcond80.not, label %.preheader45, label %.preheader44, !llvm.loop !13

.lr.ph69:                                         ; preds = %.preheader45, %.lr.ph69
  %.368 = phi i64 [ %33, %.lr.ph69 ], [ %.135.lcssa, %.preheader45 ]
  %30 = getelementptr inbounds [200 x i64], ptr %3, i64 0, i64 %.368
  %31 = load i64, ptr %30, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %31)
  %33 = add nsw i64 %.368, -1
  %.not = icmp eq i64 %.368, 0
  br i1 %.not, label %._crit_edge70, label %.lr.ph69, !llvm.loop !14

._crit_edge70:                                    ; preds = %.lr.ph69, %.preheader45
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %35 = add nuw nsw i64 %.04271, 1
  %36 = load i64, ptr %1, align 8, !tbaa !5
  %37 = icmp slt i64 %35, %36
  br i1 %37, label %.lr.ph73, label %._crit_edge74, !llvm.loop !15

._crit_edge74:                                    ; preds = %._crit_edge70, %0
  call void @llvm.lifetime.end.p0(i64 1600, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret i32 0
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass