; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/80 Beta Division 1/Problem C (C)

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

@n = external dso_local global i64, align 8
@k = external dso_local global i64, align 8
@p = external dso_local global i64, align 8
@x = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", 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
  store i32 0, ptr %1, align 4
  %2 = 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 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = load ptr, ptr @_ZSt4cerr, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt4cerr, i64 %10
  %12 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @n)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) @k)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) @p)
  br label %16

16:                                               ; preds = %118, %24, %0
  %17 = load i64, ptr @p, align 8, !tbaa !8
  %18 = add nsw i64 %17, -1
  store i64 %18, ptr @p, align 8, !tbaa !8
  %19 = icmp ne i64 %17, 0
  br i1 %19, label %20, label %119

20:                                               ; preds = %16
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @x)
  %22 = load i64, ptr @k, align 8, !tbaa !8
  %23 = icmp eq i64 %22, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %20
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 46)
  br label %16, !llvm.loop !11

26:                                               ; preds = %20
  %27 = load i64, ptr @n, align 8, !tbaa !8
  %28 = srem i64 %27, 2
  %29 = icmp eq i64 %28, 0
  br i1 %29, label %30, label %69

30:                                               ; preds = %26
  %31 = load i64, ptr @k, align 8, !tbaa !8
  %32 = load i64, ptr @n, align 8, !tbaa !8
  %33 = sdiv i64 %32, 2
  %34 = icmp sle i64 %31, %33
  br i1 %34, label %35, label %51

35:                                               ; preds = %30
  %36 = load i64, ptr @x, align 8, !tbaa !8
  %37 = srem i64 %36, 2
  %38 = icmp eq i64 %37, 1
  br i1 %38, label %46, label %39

39:                                               ; preds = %35
  %40 = load i64, ptr @n, align 8, !tbaa !8
  %41 = load i64, ptr @x, align 8, !tbaa !8
  %42 = sub nsw i64 %40, %41
  %43 = sdiv i64 %42, 2
  %44 = load i64, ptr @k, align 8, !tbaa !8
  %45 = icmp sge i64 %43, %44
  br i1 %45, label %46, label %48

46:                                               ; preds = %39, %35
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 46)
  br label %50

48:                                               ; preds = %39
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 88)
  br label %50

50:                                               ; preds = %48, %46
  br label %68

51:                                               ; preds = %30
  %52 = load i64, ptr @x, align 8, !tbaa !8
  %53 = srem i64 %52, 2
  %54 = icmp eq i64 %53, 1
  br i1 %54, label %55, label %65

55:                                               ; preds = %51
  %56 = load i64, ptr @x, align 8, !tbaa !8
  %57 = load i64, ptr @n, align 8, !tbaa !8
  %58 = load i64, ptr @k, align 8, !tbaa !8
  %59 = sub nsw i64 %57, %58
  %60 = mul nsw i64 2, %59
  %61 = sub nsw i64 %60, 1
  %62 = icmp sle i64 %56, %61
  br i1 %62, label %63, label %65

63:                                               ; preds = %55
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 46)
  br label %67

65:                                               ; preds = %55, %51
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 88)
  br label %67

67:                                               ; preds = %65, %63
  br label %68

68:                                               ; preds = %67, %50
  br label %118

69:                                               ; preds = %26
  %70 = load i64, ptr @x, align 8, !tbaa !8
  %71 = load i64, ptr @n, align 8, !tbaa !8
  %72 = icmp eq i64 %70, %71
  br i1 %72, label %73, label %75

73:                                               ; preds = %69
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 88)
  br label %117

75:                                               ; preds = %69
  %76 = load i64, ptr @k, align 8, !tbaa !8
  %77 = sub nsw i64 %76, 1
  %78 = load i64, ptr @n, align 8, !tbaa !8
  %79 = sdiv i64 %78, 2
  %80 = icmp sle i64 %77, %79
  br i1 %80, label %81, label %99

81:                                               ; preds = %75
  %82 = load i64, ptr @x, align 8, !tbaa !8
  %83 = srem i64 %82, 2
  %84 = icmp eq i64 %83, 1
  br i1 %84, label %94, label %85

85:                                               ; preds = %81
  %86 = load i64, ptr @n, align 8, !tbaa !8
  %87 = sub nsw i64 %86, 1
  %88 = load i64, ptr @x, align 8, !tbaa !8
  %89 = sub nsw i64 %87, %88
  %90 = sdiv i64 %89, 2
  %91 = load i64, ptr @k, align 8, !tbaa !8
  %92 = sub nsw i64 %91, 1
  %93 = icmp sge i64 %90, %92
  br i1 %93, label %94, label %96

94:                                               ; preds = %85, %81
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 46)
  br label %98

96:                                               ; preds = %85
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 88)
  br label %98

98:                                               ; preds = %96, %94
  br label %116

99:                                               ; preds = %75
  %100 = load i64, ptr @x, align 8, !tbaa !8
  %101 = srem i64 %100, 2
  %102 = icmp eq i64 %101, 1
  br i1 %102, label %103, label %113

103:                                              ; preds = %99
  %104 = load i64, ptr @x, align 8, !tbaa !8
  %105 = load i64, ptr @n, align 8, !tbaa !8
  %106 = load i64, ptr @k, align 8, !tbaa !8
  %107 = sub nsw i64 %105, %106
  %108 = mul nsw i64 2, %107
  %109 = sub nsw i64 %108, 1
  %110 = icmp sle i64 %104, %109
  br i1 %110, label %111, label %113

111:                                              ; preds = %103
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 46)
  br label %115

113:                                              ; preds = %103, %99
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 88)
  br label %115

115:                                              ; preds = %113, %111
  br label %116

116:                                              ; preds = %115, %98
  br label %117

117:                                              ; preds = %116, %73
  br label %118

118:                                              ; preds = %117, %68
  br label %16, !llvm.loop !11

119:                                              ; preds = %16
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #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 = { "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 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" }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

@n = external dso_local global i64, align 8
@k = external dso_local global i64, align 8
@p = external dso_local global i64, align 8
@x = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", 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 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = load ptr, ptr @_ZSt4cerr, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt4cerr, i64 %9
  %11 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @n)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) @k)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) @p)
  %15 = load i64, ptr @p, align 8, !tbaa !8
  %16 = add nsw i64 %15, -1
  store i64 %16, ptr @p, align 8, !tbaa !8
  %.not10 = icmp eq i64 %15, 0
  br i1 %.not10, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %.backedge
  %17 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @x)
  %18 = load i64, ptr @k, align 8, !tbaa !8
  %19 = icmp eq i64 %18, 0
  br i1 %19, label %.backedge, label %23

.backedge:                                        ; preds = %50, %33, %.lr.ph, %55, %49, %41, %37, %32, %40, %58
  %.sink = phi i8 [ 88, %40 ], [ 88, %58 ], [ 46, %32 ], [ 46, %37 ], [ 88, %41 ], [ 46, %49 ], [ 46, %55 ], [ 46, %.lr.ph ], [ %spec.select, %33 ], [ %spec.select11, %50 ]
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %.sink)
  %21 = load i64, ptr @p, align 8, !tbaa !8
  %22 = add nsw i64 %21, -1
  store i64 %22, ptr @p, align 8, !tbaa !8
  %.not = icmp eq i64 %21, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

23:                                               ; preds = %.lr.ph
  %24 = load i64, ptr @n, align 8, !tbaa !8
  %25 = and i64 %24, 1
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %27, label %41

27:                                               ; preds = %23
  %28 = ashr exact i64 %24, 1
  %.not7 = icmp sgt i64 %18, %28
  %29 = load i64, ptr @x, align 8, !tbaa !8
  %30 = and i64 %29, -9223372036854775807
  %31 = icmp eq i64 %30, 1
  br i1 %.not7, label %36, label %32

32:                                               ; preds = %27
  br i1 %31, label %.backedge, label %33

33:                                               ; preds = %32
  %34 = sub nsw i64 %24, %29
  %35 = sdiv i64 %34, 2
  %.not9 = icmp slt i64 %35, %18
  %spec.select = select i1 %.not9, i8 88, i8 46
  br label %.backedge

36:                                               ; preds = %27
  br i1 %31, label %37, label %40

37:                                               ; preds = %36
  %38 = sub nsw i64 %24, %18
  %39 = shl nsw i64 %38, 1
  %.not8.not = icmp slt i64 %29, %39
  br i1 %.not8.not, label %.backedge, label %40

40:                                               ; preds = %37, %36
  br label %.backedge

41:                                               ; preds = %23
  %42 = load i64, ptr @x, align 8, !tbaa !8
  %43 = icmp eq i64 %42, %24
  br i1 %43, label %.backedge, label %44

44:                                               ; preds = %41
  %45 = add nsw i64 %18, -1
  %46 = sdiv i64 %24, 2
  %.not4 = icmp sgt i64 %45, %46
  %47 = and i64 %42, -9223372036854775807
  %48 = icmp eq i64 %47, 1
  br i1 %.not4, label %54, label %49

49:                                               ; preds = %44
  br i1 %48, label %.backedge, label %50

50:                                               ; preds = %49
  %51 = xor i64 %42, -1
  %52 = add i64 %24, %51
  %53 = sdiv i64 %52, 2
  %.not6 = icmp slt i64 %53, %45
  %spec.select11 = select i1 %.not6, i8 88, i8 46
  br label %.backedge

54:                                               ; preds = %44
  br i1 %48, label %55, label %58

55:                                               ; preds = %54
  %56 = sub nsw i64 %24, %18
  %57 = shl nsw i64 %56, 1
  %.not5.not = icmp slt i64 %42, %57
  br i1 %.not5.not, label %.backedge, label %58

58:                                               ; preds = %55, %54
  br label %.backedge

._crit_edge:                                      ; preds = %.backedge, %0
  %59 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  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 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 #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #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 = { "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 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" }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass