; LLVM IR from Izaron/ACM-ICPC :: Russian Olympiad in Informatics/Regional Stage 2017 (calc)

; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::initializer_list", align 8
  %8 = alloca [3 x i32], align 4
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store i32 0, ptr %1, align 4
  %21 = load ptr, ptr @stdin, align 8, !tbaa !5
  %22 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %21)
  %23 = load ptr, ptr @stdout, align 8, !tbaa !5
  %24 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %25 = 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)
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  %29 = getelementptr inbounds i32, ptr %8, i64 1
  store i32 1, ptr %29, align 4, !tbaa !9
  %30 = getelementptr inbounds i32, ptr %8, i64 2
  store i32 2, ptr %30, align 4, !tbaa !9
  %31 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 0
  store ptr %8, ptr %31, align 8, !tbaa !11
  %32 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 1
  store i64 3, ptr %32, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  %33 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8
  %35 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %36 = load i64, ptr %35, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr %34, i64 %36, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %37 unwind label %46

37:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %38 = load i64, ptr %2, align 8, !tbaa !15
  store i64 %38, ptr %12, align 8, !tbaa !15
  br label %39

39:                                               ; preds = %130, %37
  br label %40

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %41 = load i64, ptr %2, align 8, !tbaa !15
  store i64 %41, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %105, %40
  %43 = load i32, ptr %14, align 4, !tbaa !9
  %44 = icmp slt i32 %43, 3
  br i1 %44, label %50, label %45

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

46:                                               ; preds = %0
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %10, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #7
  br label %141

50:                                               ; preds = %42
  %51 = load i32, ptr %14, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %52) #7
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %69

56:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %65, %56
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = load i32, ptr %3, align 4, !tbaa !9
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %57
  store i32 7, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %68

62:                                               ; preds = %57
  %63 = load i64, ptr %13, align 8, !tbaa !15
  %64 = sdiv i64 %63, 2
  store i64 %64, ptr %13, align 8, !tbaa !15
  br label %65

65:                                               ; preds = %62
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %16, align 4, !tbaa !9
  br label %57, !llvm.loop !17

68:                                               ; preds = %61
  br label %104

69:                                               ; preds = %50
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %71) #7
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %89

75:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %85, %75
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %4, align 4, !tbaa !9
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 10, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %88

81:                                               ; preds = %76
  %82 = load i64, ptr %13, align 8, !tbaa !15
  %83 = add nsw i64 %82, 1
  %84 = sdiv i64 %83, 2
  store i64 %84, ptr %13, align 8, !tbaa !15
  br label %85

85:                                               ; preds = %81
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %17, align 4, !tbaa !9
  br label %76, !llvm.loop !19

88:                                               ; preds = %80
  br label %103

89:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %99, %89
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = load i32, ptr %5, align 4, !tbaa !9
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 13, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %102

95:                                               ; preds = %90
  %96 = load i64, ptr %13, align 8, !tbaa !15
  %97 = sub nsw i64 %96, 1
  %98 = sdiv i64 %97, 2
  store i64 %98, ptr %13, align 8, !tbaa !15
  br label %99

99:                                               ; preds = %95
  %100 = load i32, ptr %18, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %18, align 4, !tbaa !9
  br label %90, !llvm.loop !20

102:                                              ; preds = %94
  br label %103

103:                                              ; preds = %102, %88
  br label %104

104:                                              ; preds = %103, %68
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %14, align 4, !tbaa !9
  br label %42, !llvm.loop !21

108:                                              ; preds = %45
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %110 unwind label %123

110:                                              ; preds = %108
  %111 = load i64, ptr %109, align 8, !tbaa !15
  store i64 %111, ptr %12, align 8, !tbaa !15
  %112 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  %114 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = invoke noundef zeroext i1 @_ZSt16next_permutationIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEbT_S7_(ptr %117, ptr %119)
          to label %121 unwind label %123

121:                                              ; preds = %110
  br i1 %120, label %127, label %122

122:                                              ; preds = %121
  store i32 3, ptr %15, align 4
  br label %128

123:                                              ; preds = %110, %108
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %10, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %140

127:                                              ; preds = %121
  store i32 0, ptr %15, align 4
  br label %128

128:                                              ; preds = %127, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  %129 = load i32, ptr %15, align 4
  switch i32 %129, label %147 [
    i32 0, label %130
    i32 3, label %131
  ]

130:                                              ; preds = %128
  br label %39, !llvm.loop !22

131:                                              ; preds = %128
  %132 = load i64, ptr %12, align 8, !tbaa !15
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %132)
          to label %134 unwind label %136

134:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %135 = load i32, ptr %1, align 4
  ret i32 %135

136:                                              ; preds = %131
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %10, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %11, align 4
  br label %140

140:                                              ; preds = %136, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %141

141:                                              ; preds = %140, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %142

142:                                              ; preds = %141
  %143 = load ptr, ptr %10, align 8
  %144 = load i32, ptr %11, align 4
  %145 = insertvalue { ptr, i32 } poison, ptr %143, 0
  %146 = insertvalue { ptr, i32 } %145, i32 %144, 1
  resume { ptr, i32 } %146

147:                                              ; preds = %128
  unreachable
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSt16next_permutationIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEbT_S7_(ptr, ptr) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIiE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}


; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca [3 x i32], align 4
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = load ptr, ptr @stdin, align 8, !tbaa !5
  %11 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %10)
  %12 = load ptr, ptr @stdout, align 8, !tbaa !5
  %13 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %14 = 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)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 1, ptr %18, align 4, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 2, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %20 unwind label %27

20:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %21 = load i64, ptr %1, align 8, !tbaa !11
  store i64 %21, ptr %8, align 8, !tbaa !11
  br label %22

22:                                               ; preds = %163, %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %23 = load i64, ptr %1, align 8, !tbaa !11
  store i64 %23, ptr %9, align 8, !tbaa !11
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %.preheader, label %34

27:                                               ; preds = %0
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  br label %173

.preheader:                                       ; preds = %22
  %29 = load i32, ptr %2, align 4, !tbaa !9
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph35.preheader, label %.loopexit

.lr.ph35.preheader:                               ; preds = %.preheader
  %.promoted33 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter84 = and i32 %29, 3
  %31 = icmp ult i32 %29, 4
  br i1 %31, label %..loopexit_crit_edge.unr-lcssa, label %.lr.ph35.preheader.new

.lr.ph35.preheader.new:                           ; preds = %.lr.ph35.preheader
  %unroll_iter89 = and i32 %29, 2147483644
  br label %.lr.ph35

.lr.ph35:                                         ; preds = %.lr.ph35, %.lr.ph35.preheader.new
  %32 = phi i64 [ %.promoted33, %.lr.ph35.preheader.new ], [ %33, %.lr.ph35 ]
  %niter90 = phi i32 [ 0, %.lr.ph35.preheader.new ], [ %niter90.next.3, %.lr.ph35 ]
  %33 = sdiv i64 %32, 16
  %niter90.next.3 = add i32 %niter90, 4
  %niter90.ncmp.3 = icmp eq i32 %niter90.next.3, %unroll_iter89
  br i1 %niter90.ncmp.3, label %..loopexit_crit_edge.unr-lcssa, label %.lr.ph35, !llvm.loop !13

34:                                               ; preds = %22
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = icmp eq i32 %36, 1
  br i1 %37, label %.preheader24, label %.preheader26

.preheader26:                                     ; preds = %34
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader26
  %.promoted = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter = and i32 %38, 3
  %40 = icmp ult i32 %38, 4
  br i1 %40, label %..loopexit27_crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %38, 2147483644
  br label %.lr.ph

.preheader24:                                     ; preds = %34
  %41 = load i32, ptr %3, align 4, !tbaa !9
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph31.preheader, label %.loopexit

.lr.ph31.preheader:                               ; preds = %.preheader24
  %.promoted29 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter73 = and i32 %41, 3
  %43 = icmp ult i32 %41, 4
  br i1 %43, label %..loopexit25_crit_edge.unr-lcssa, label %.lr.ph31.preheader.new

.lr.ph31.preheader.new:                           ; preds = %.lr.ph31.preheader
  %unroll_iter78 = and i32 %41, 2147483644
  br label %.lr.ph31

.lr.ph31:                                         ; preds = %.lr.ph31, %.lr.ph31.preheader.new
  %44 = phi i64 [ %.promoted29, %.lr.ph31.preheader.new ], [ %52, %.lr.ph31 ]
  %niter79 = phi i32 [ 0, %.lr.ph31.preheader.new ], [ %niter79.next.3, %.lr.ph31 ]
  %45 = add nsw i64 %44, 1
  %46 = sdiv i64 %45, 2
  %47 = add nsw i64 %46, 1
  %48 = sdiv i64 %47, 2
  %49 = add nsw i64 %48, 1
  %50 = sdiv i64 %49, 2
  %51 = add nsw i64 %50, 1
  %52 = sdiv i64 %51, 2
  %niter79.next.3 = add i32 %niter79, 4
  %niter79.ncmp.3 = icmp eq i32 %niter79.next.3, %unroll_iter78
  br i1 %niter79.ncmp.3, label %..loopexit25_crit_edge.unr-lcssa, label %.lr.ph31, !llvm.loop !15

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %53 = phi i64 [ %.promoted, %.lr.ph.preheader.new ], [ %61, %.lr.ph ]
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %54 = add nsw i64 %53, -1
  %55 = sdiv i64 %54, 2
  %56 = add nsw i64 %55, -1
  %57 = sdiv i64 %56, 2
  %58 = add nsw i64 %57, -1
  %59 = sdiv i64 %58, 2
  %60 = add nsw i64 %59, -1
  %61 = sdiv i64 %60, 2
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %..loopexit27_crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !16

..loopexit_crit_edge.unr-lcssa:                   ; preds = %.lr.ph35, %.lr.ph35.preheader
  %.lcssa61.ph = phi i64 [ poison, %.lr.ph35.preheader ], [ %33, %.lr.ph35 ]
  %.unr86 = phi i64 [ %.promoted33, %.lr.ph35.preheader ], [ %33, %.lr.ph35 ]
  %lcmp.mod87.not = icmp eq i32 %xtraiter84, 0
  br i1 %lcmp.mod87.not, label %..loopexit_crit_edge, label %.lr.ph35.epil

.lr.ph35.epil:                                    ; preds = %..loopexit_crit_edge.unr-lcssa, %.lr.ph35.epil
  %62 = phi i64 [ %63, %.lr.ph35.epil ], [ %.unr86, %..loopexit_crit_edge.unr-lcssa ]
  %epil.iter85 = phi i32 [ %epil.iter85.next, %.lr.ph35.epil ], [ 0, %..loopexit_crit_edge.unr-lcssa ]
  %63 = sdiv i64 %62, 2
  %epil.iter85.next = add i32 %epil.iter85, 1
  %epil.iter85.cmp.not = icmp eq i32 %epil.iter85.next, %xtraiter84
  br i1 %epil.iter85.cmp.not, label %..loopexit_crit_edge, label %.lr.ph35.epil, !llvm.loop !17

..loopexit_crit_edge:                             ; preds = %.lr.ph35.epil, %..loopexit_crit_edge.unr-lcssa
  %.lcssa61 = phi i64 [ %.lcssa61.ph, %..loopexit_crit_edge.unr-lcssa ], [ %63, %.lr.ph35.epil ]
  store i64 %.lcssa61, ptr %9, align 8, !tbaa !11
  br label %.loopexit

..loopexit25_crit_edge.unr-lcssa:                 ; preds = %.lr.ph31, %.lr.ph31.preheader
  %.lcssa60.ph = phi i64 [ poison, %.lr.ph31.preheader ], [ %52, %.lr.ph31 ]
  %.unr75 = phi i64 [ %.promoted29, %.lr.ph31.preheader ], [ %52, %.lr.ph31 ]
  %lcmp.mod76.not = icmp eq i32 %xtraiter73, 0
  br i1 %lcmp.mod76.not, label %..loopexit25_crit_edge, label %.lr.ph31.epil

.lr.ph31.epil:                                    ; preds = %..loopexit25_crit_edge.unr-lcssa, %.lr.ph31.epil
  %64 = phi i64 [ %66, %.lr.ph31.epil ], [ %.unr75, %..loopexit25_crit_edge.unr-lcssa ]
  %epil.iter74 = phi i32 [ %epil.iter74.next, %.lr.ph31.epil ], [ 0, %..loopexit25_crit_edge.unr-lcssa ]
  %65 = add nsw i64 %64, 1
  %66 = sdiv i64 %65, 2
  %epil.iter74.next = add i32 %epil.iter74, 1
  %epil.iter74.cmp.not = icmp eq i32 %epil.iter74.next, %xtraiter73
  br i1 %epil.iter74.cmp.not, label %..loopexit25_crit_edge, label %.lr.ph31.epil, !llvm.loop !19

..loopexit25_crit_edge:                           ; preds = %.lr.ph31.epil, %..loopexit25_crit_edge.unr-lcssa
  %.lcssa60 = phi i64 [ %.lcssa60.ph, %..loopexit25_crit_edge.unr-lcssa ], [ %66, %.lr.ph31.epil ]
  store i64 %.lcssa60, ptr %9, align 8, !tbaa !11
  br label %.loopexit

..loopexit27_crit_edge.unr-lcssa:                 ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi i64 [ poison, %.lr.ph.preheader ], [ %61, %.lr.ph ]
  %.unr = phi i64 [ %.promoted, %.lr.ph.preheader ], [ %61, %.lr.ph ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %..loopexit27_crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %..loopexit27_crit_edge.unr-lcssa, %.lr.ph.epil
  %67 = phi i64 [ %69, %.lr.ph.epil ], [ %.unr, %..loopexit27_crit_edge.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %..loopexit27_crit_edge.unr-lcssa ]
  %68 = add nsw i64 %67, -1
  %69 = sdiv i64 %68, 2
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %..loopexit27_crit_edge, label %.lr.ph.epil, !llvm.loop !20

..loopexit27_crit_edge:                           ; preds = %.lr.ph.epil, %..loopexit27_crit_edge.unr-lcssa
  %.lcssa = phi i64 [ %.lcssa.ph, %..loopexit27_crit_edge.unr-lcssa ], [ %69, %.lr.ph.epil ]
  store i64 %.lcssa, ptr %9, align 8, !tbaa !11
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader26, %..loopexit27_crit_edge, %.preheader24, %..loopexit25_crit_edge, %.preheader, %..loopexit_crit_edge
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %.preheader.1, label %73

73:                                               ; preds = %.loopexit
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = icmp eq i32 %75, 1
  br i1 %76, label %.preheader24.1, label %.preheader26.1

.preheader26.1:                                   ; preds = %73
  %77 = load i32, ptr %4, align 4, !tbaa !9
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %.lr.ph.preheader.1, label %.loopexit.1

.lr.ph.preheader.1:                               ; preds = %.preheader26.1
  %.promoted.1 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter95 = and i32 %77, 3
  %79 = icmp ult i32 %77, 4
  br i1 %79, label %..loopexit27_crit_edge.1.unr-lcssa, label %.lr.ph.preheader.1.new

.lr.ph.preheader.1.new:                           ; preds = %.lr.ph.preheader.1
  %unroll_iter100 = and i32 %77, 2147483644
  br label %.lr.ph.1

.lr.ph.1:                                         ; preds = %.lr.ph.1, %.lr.ph.preheader.1.new
  %80 = phi i64 [ %.promoted.1, %.lr.ph.preheader.1.new ], [ %88, %.lr.ph.1 ]
  %niter101 = phi i32 [ 0, %.lr.ph.preheader.1.new ], [ %niter101.next.3, %.lr.ph.1 ]
  %81 = add nsw i64 %80, -1
  %82 = sdiv i64 %81, 2
  %83 = add nsw i64 %82, -1
  %84 = sdiv i64 %83, 2
  %85 = add nsw i64 %84, -1
  %86 = sdiv i64 %85, 2
  %87 = add nsw i64 %86, -1
  %88 = sdiv i64 %87, 2
  %niter101.next.3 = add i32 %niter101, 4
  %niter101.ncmp.3 = icmp eq i32 %niter101.next.3, %unroll_iter100
  br i1 %niter101.ncmp.3, label %..loopexit27_crit_edge.1.unr-lcssa, label %.lr.ph.1, !llvm.loop !16

..loopexit27_crit_edge.1.unr-lcssa:               ; preds = %.lr.ph.1, %.lr.ph.preheader.1
  %.lcssa62.ph = phi i64 [ poison, %.lr.ph.preheader.1 ], [ %88, %.lr.ph.1 ]
  %.unr97 = phi i64 [ %.promoted.1, %.lr.ph.preheader.1 ], [ %88, %.lr.ph.1 ]
  %lcmp.mod98.not = icmp eq i32 %xtraiter95, 0
  br i1 %lcmp.mod98.not, label %..loopexit27_crit_edge.1, label %.lr.ph.1.epil

.lr.ph.1.epil:                                    ; preds = %..loopexit27_crit_edge.1.unr-lcssa, %.lr.ph.1.epil
  %89 = phi i64 [ %91, %.lr.ph.1.epil ], [ %.unr97, %..loopexit27_crit_edge.1.unr-lcssa ]
  %epil.iter96 = phi i32 [ %epil.iter96.next, %.lr.ph.1.epil ], [ 0, %..loopexit27_crit_edge.1.unr-lcssa ]
  %90 = add nsw i64 %89, -1
  %91 = sdiv i64 %90, 2
  %epil.iter96.next = add i32 %epil.iter96, 1
  %epil.iter96.cmp.not = icmp eq i32 %epil.iter96.next, %xtraiter95
  br i1 %epil.iter96.cmp.not, label %..loopexit27_crit_edge.1, label %.lr.ph.1.epil, !llvm.loop !21

..loopexit27_crit_edge.1:                         ; preds = %.lr.ph.1.epil, %..loopexit27_crit_edge.1.unr-lcssa
  %.lcssa62 = phi i64 [ %.lcssa62.ph, %..loopexit27_crit_edge.1.unr-lcssa ], [ %91, %.lr.ph.1.epil ]
  store i64 %.lcssa62, ptr %9, align 8, !tbaa !11
  br label %.loopexit.1

.preheader24.1:                                   ; preds = %73
  %92 = load i32, ptr %3, align 4, !tbaa !9
  %93 = icmp sgt i32 %92, 0
  br i1 %93, label %.lr.ph31.preheader.1, label %.loopexit.1

.lr.ph31.preheader.1:                             ; preds = %.preheader24.1
  %.promoted29.1 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter102 = and i32 %92, 3
  %94 = icmp ult i32 %92, 4
  br i1 %94, label %..loopexit25_crit_edge.1.unr-lcssa, label %.lr.ph31.preheader.1.new

.lr.ph31.preheader.1.new:                         ; preds = %.lr.ph31.preheader.1
  %unroll_iter107 = and i32 %92, 2147483644
  br label %.lr.ph31.1

.lr.ph31.1:                                       ; preds = %.lr.ph31.1, %.lr.ph31.preheader.1.new
  %95 = phi i64 [ %.promoted29.1, %.lr.ph31.preheader.1.new ], [ %103, %.lr.ph31.1 ]
  %niter108 = phi i32 [ 0, %.lr.ph31.preheader.1.new ], [ %niter108.next.3, %.lr.ph31.1 ]
  %96 = add nsw i64 %95, 1
  %97 = sdiv i64 %96, 2
  %98 = add nsw i64 %97, 1
  %99 = sdiv i64 %98, 2
  %100 = add nsw i64 %99, 1
  %101 = sdiv i64 %100, 2
  %102 = add nsw i64 %101, 1
  %103 = sdiv i64 %102, 2
  %niter108.next.3 = add i32 %niter108, 4
  %niter108.ncmp.3 = icmp eq i32 %niter108.next.3, %unroll_iter107
  br i1 %niter108.ncmp.3, label %..loopexit25_crit_edge.1.unr-lcssa, label %.lr.ph31.1, !llvm.loop !15

..loopexit25_crit_edge.1.unr-lcssa:               ; preds = %.lr.ph31.1, %.lr.ph31.preheader.1
  %.lcssa63.ph = phi i64 [ poison, %.lr.ph31.preheader.1 ], [ %103, %.lr.ph31.1 ]
  %.unr104 = phi i64 [ %.promoted29.1, %.lr.ph31.preheader.1 ], [ %103, %.lr.ph31.1 ]
  %lcmp.mod105.not = icmp eq i32 %xtraiter102, 0
  br i1 %lcmp.mod105.not, label %..loopexit25_crit_edge.1, label %.lr.ph31.1.epil

.lr.ph31.1.epil:                                  ; preds = %..loopexit25_crit_edge.1.unr-lcssa, %.lr.ph31.1.epil
  %104 = phi i64 [ %106, %.lr.ph31.1.epil ], [ %.unr104, %..loopexit25_crit_edge.1.unr-lcssa ]
  %epil.iter103 = phi i32 [ %epil.iter103.next, %.lr.ph31.1.epil ], [ 0, %..loopexit25_crit_edge.1.unr-lcssa ]
  %105 = add nsw i64 %104, 1
  %106 = sdiv i64 %105, 2
  %epil.iter103.next = add i32 %epil.iter103, 1
  %epil.iter103.cmp.not = icmp eq i32 %epil.iter103.next, %xtraiter102
  br i1 %epil.iter103.cmp.not, label %..loopexit25_crit_edge.1, label %.lr.ph31.1.epil, !llvm.loop !22

..loopexit25_crit_edge.1:                         ; preds = %.lr.ph31.1.epil, %..loopexit25_crit_edge.1.unr-lcssa
  %.lcssa63 = phi i64 [ %.lcssa63.ph, %..loopexit25_crit_edge.1.unr-lcssa ], [ %106, %.lr.ph31.1.epil ]
  store i64 %.lcssa63, ptr %9, align 8, !tbaa !11
  br label %.loopexit.1

.preheader.1:                                     ; preds = %.loopexit
  %107 = load i32, ptr %2, align 4, !tbaa !9
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %.lr.ph35.preheader.1, label %.loopexit.1

.lr.ph35.preheader.1:                             ; preds = %.preheader.1
  %.promoted33.1 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter109 = and i32 %107, 3
  %109 = icmp ult i32 %107, 4
  br i1 %109, label %..loopexit_crit_edge.1.unr-lcssa, label %.lr.ph35.preheader.1.new

.lr.ph35.preheader.1.new:                         ; preds = %.lr.ph35.preheader.1
  %unroll_iter114 = and i32 %107, 2147483644
  br label %.lr.ph35.1

.lr.ph35.1:                                       ; preds = %.lr.ph35.1, %.lr.ph35.preheader.1.new
  %110 = phi i64 [ %.promoted33.1, %.lr.ph35.preheader.1.new ], [ %111, %.lr.ph35.1 ]
  %niter115 = phi i32 [ 0, %.lr.ph35.preheader.1.new ], [ %niter115.next.3, %.lr.ph35.1 ]
  %111 = sdiv i64 %110, 16
  %niter115.next.3 = add i32 %niter115, 4
  %niter115.ncmp.3 = icmp eq i32 %niter115.next.3, %unroll_iter114
  br i1 %niter115.ncmp.3, label %..loopexit_crit_edge.1.unr-lcssa, label %.lr.ph35.1, !llvm.loop !13

..loopexit_crit_edge.1.unr-lcssa:                 ; preds = %.lr.ph35.1, %.lr.ph35.preheader.1
  %.lcssa64.ph = phi i64 [ poison, %.lr.ph35.preheader.1 ], [ %111, %.lr.ph35.1 ]
  %.unr111 = phi i64 [ %.promoted33.1, %.lr.ph35.preheader.1 ], [ %111, %.lr.ph35.1 ]
  %lcmp.mod112.not = icmp eq i32 %xtraiter109, 0
  br i1 %lcmp.mod112.not, label %..loopexit_crit_edge.1, label %.lr.ph35.1.epil

.lr.ph35.1.epil:                                  ; preds = %..loopexit_crit_edge.1.unr-lcssa, %.lr.ph35.1.epil
  %112 = phi i64 [ %113, %.lr.ph35.1.epil ], [ %.unr111, %..loopexit_crit_edge.1.unr-lcssa ]
  %epil.iter110 = phi i32 [ %epil.iter110.next, %.lr.ph35.1.epil ], [ 0, %..loopexit_crit_edge.1.unr-lcssa ]
  %113 = sdiv i64 %112, 2
  %epil.iter110.next = add i32 %epil.iter110, 1
  %epil.iter110.cmp.not = icmp eq i32 %epil.iter110.next, %xtraiter109
  br i1 %epil.iter110.cmp.not, label %..loopexit_crit_edge.1, label %.lr.ph35.1.epil, !llvm.loop !23

..loopexit_crit_edge.1:                           ; preds = %.lr.ph35.1.epil, %..loopexit_crit_edge.1.unr-lcssa
  %.lcssa64 = phi i64 [ %.lcssa64.ph, %..loopexit_crit_edge.1.unr-lcssa ], [ %113, %.lr.ph35.1.epil ]
  store i64 %.lcssa64, ptr %9, align 8, !tbaa !11
  br label %.loopexit.1

.loopexit.1:                                      ; preds = %..loopexit_crit_edge.1, %.preheader.1, %..loopexit25_crit_edge.1, %.preheader24.1, %..loopexit27_crit_edge.1, %.preheader26.1
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %.preheader.2, label %117

117:                                              ; preds = %.loopexit.1
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %.preheader24.2, label %.preheader26.2

.preheader26.2:                                   ; preds = %117
  %121 = load i32, ptr %4, align 4, !tbaa !9
  %122 = icmp sgt i32 %121, 0
  br i1 %122, label %.lr.ph.preheader.2, label %.loopexit.2

.lr.ph.preheader.2:                               ; preds = %.preheader26.2
  %.promoted.2 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter116 = and i32 %121, 3
  %123 = icmp ult i32 %121, 4
  br i1 %123, label %..loopexit27_crit_edge.2.unr-lcssa, label %.lr.ph.preheader.2.new

.lr.ph.preheader.2.new:                           ; preds = %.lr.ph.preheader.2
  %unroll_iter121 = and i32 %121, 2147483644
  br label %.lr.ph.2

.lr.ph.2:                                         ; preds = %.lr.ph.2, %.lr.ph.preheader.2.new
  %124 = phi i64 [ %.promoted.2, %.lr.ph.preheader.2.new ], [ %132, %.lr.ph.2 ]
  %niter122 = phi i32 [ 0, %.lr.ph.preheader.2.new ], [ %niter122.next.3, %.lr.ph.2 ]
  %125 = add nsw i64 %124, -1
  %126 = sdiv i64 %125, 2
  %127 = add nsw i64 %126, -1
  %128 = sdiv i64 %127, 2
  %129 = add nsw i64 %128, -1
  %130 = sdiv i64 %129, 2
  %131 = add nsw i64 %130, -1
  %132 = sdiv i64 %131, 2
  %niter122.next.3 = add i32 %niter122, 4
  %niter122.ncmp.3 = icmp eq i32 %niter122.next.3, %unroll_iter121
  br i1 %niter122.ncmp.3, label %..loopexit27_crit_edge.2.unr-lcssa, label %.lr.ph.2, !llvm.loop !16

..loopexit27_crit_edge.2.unr-lcssa:               ; preds = %.lr.ph.2, %.lr.ph.preheader.2
  %.lcssa65.ph = phi i64 [ poison, %.lr.ph.preheader.2 ], [ %132, %.lr.ph.2 ]
  %.unr118 = phi i64 [ %.promoted.2, %.lr.ph.preheader.2 ], [ %132, %.lr.ph.2 ]
  %lcmp.mod119.not = icmp eq i32 %xtraiter116, 0
  br i1 %lcmp.mod119.not, label %..loopexit27_crit_edge.2, label %.lr.ph.2.epil

.lr.ph.2.epil:                                    ; preds = %..loopexit27_crit_edge.2.unr-lcssa, %.lr.ph.2.epil
  %133 = phi i64 [ %135, %.lr.ph.2.epil ], [ %.unr118, %..loopexit27_crit_edge.2.unr-lcssa ]
  %epil.iter117 = phi i32 [ %epil.iter117.next, %.lr.ph.2.epil ], [ 0, %..loopexit27_crit_edge.2.unr-lcssa ]
  %134 = add nsw i64 %133, -1
  %135 = sdiv i64 %134, 2
  %epil.iter117.next = add i32 %epil.iter117, 1
  %epil.iter117.cmp.not = icmp eq i32 %epil.iter117.next, %xtraiter116
  br i1 %epil.iter117.cmp.not, label %..loopexit27_crit_edge.2, label %.lr.ph.2.epil, !llvm.loop !24

..loopexit27_crit_edge.2:                         ; preds = %.lr.ph.2.epil, %..loopexit27_crit_edge.2.unr-lcssa
  %.lcssa65 = phi i64 [ %.lcssa65.ph, %..loopexit27_crit_edge.2.unr-lcssa ], [ %135, %.lr.ph.2.epil ]
  store i64 %.lcssa65, ptr %9, align 8, !tbaa !11
  br label %.loopexit.2

.preheader24.2:                                   ; preds = %117
  %136 = load i32, ptr %3, align 4, !tbaa !9
  %137 = icmp sgt i32 %136, 0
  br i1 %137, label %.lr.ph31.preheader.2, label %.loopexit.2

.lr.ph31.preheader.2:                             ; preds = %.preheader24.2
  %.promoted29.2 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter123 = and i32 %136, 3
  %138 = icmp ult i32 %136, 4
  br i1 %138, label %..loopexit25_crit_edge.2.unr-lcssa, label %.lr.ph31.preheader.2.new

.lr.ph31.preheader.2.new:                         ; preds = %.lr.ph31.preheader.2
  %unroll_iter128 = and i32 %136, 2147483644
  br label %.lr.ph31.2

.lr.ph31.2:                                       ; preds = %.lr.ph31.2, %.lr.ph31.preheader.2.new
  %139 = phi i64 [ %.promoted29.2, %.lr.ph31.preheader.2.new ], [ %147, %.lr.ph31.2 ]
  %niter129 = phi i32 [ 0, %.lr.ph31.preheader.2.new ], [ %niter129.next.3, %.lr.ph31.2 ]
  %140 = add nsw i64 %139, 1
  %141 = sdiv i64 %140, 2
  %142 = add nsw i64 %141, 1
  %143 = sdiv i64 %142, 2
  %144 = add nsw i64 %143, 1
  %145 = sdiv i64 %144, 2
  %146 = add nsw i64 %145, 1
  %147 = sdiv i64 %146, 2
  %niter129.next.3 = add i32 %niter129, 4
  %niter129.ncmp.3 = icmp eq i32 %niter129.next.3, %unroll_iter128
  br i1 %niter129.ncmp.3, label %..loopexit25_crit_edge.2.unr-lcssa, label %.lr.ph31.2, !llvm.loop !15

..loopexit25_crit_edge.2.unr-lcssa:               ; preds = %.lr.ph31.2, %.lr.ph31.preheader.2
  %.lcssa66.ph = phi i64 [ poison, %.lr.ph31.preheader.2 ], [ %147, %.lr.ph31.2 ]
  %.unr125 = phi i64 [ %.promoted29.2, %.lr.ph31.preheader.2 ], [ %147, %.lr.ph31.2 ]
  %lcmp.mod126.not = icmp eq i32 %xtraiter123, 0
  br i1 %lcmp.mod126.not, label %..loopexit25_crit_edge.2, label %.lr.ph31.2.epil

.lr.ph31.2.epil:                                  ; preds = %..loopexit25_crit_edge.2.unr-lcssa, %.lr.ph31.2.epil
  %148 = phi i64 [ %150, %.lr.ph31.2.epil ], [ %.unr125, %..loopexit25_crit_edge.2.unr-lcssa ]
  %epil.iter124 = phi i32 [ %epil.iter124.next, %.lr.ph31.2.epil ], [ 0, %..loopexit25_crit_edge.2.unr-lcssa ]
  %149 = add nsw i64 %148, 1
  %150 = sdiv i64 %149, 2
  %epil.iter124.next = add i32 %epil.iter124, 1
  %epil.iter124.cmp.not = icmp eq i32 %epil.iter124.next, %xtraiter123
  br i1 %epil.iter124.cmp.not, label %..loopexit25_crit_edge.2, label %.lr.ph31.2.epil, !llvm.loop !25

..loopexit25_crit_edge.2:                         ; preds = %.lr.ph31.2.epil, %..loopexit25_crit_edge.2.unr-lcssa
  %.lcssa66 = phi i64 [ %.lcssa66.ph, %..loopexit25_crit_edge.2.unr-lcssa ], [ %150, %.lr.ph31.2.epil ]
  store i64 %.lcssa66, ptr %9, align 8, !tbaa !11
  br label %.loopexit.2

.preheader.2:                                     ; preds = %.loopexit.1
  %151 = load i32, ptr %2, align 4, !tbaa !9
  %152 = icmp sgt i32 %151, 0
  br i1 %152, label %.lr.ph35.preheader.2, label %.loopexit.2

.lr.ph35.preheader.2:                             ; preds = %.preheader.2
  %.promoted33.2 = load i64, ptr %9, align 8, !tbaa !11
  %xtraiter130 = and i32 %151, 3
  %153 = icmp ult i32 %151, 4
  br i1 %153, label %..loopexit_crit_edge.2.unr-lcssa, label %.lr.ph35.preheader.2.new

.lr.ph35.preheader.2.new:                         ; preds = %.lr.ph35.preheader.2
  %unroll_iter135 = and i32 %151, 2147483644
  br label %.lr.ph35.2

.lr.ph35.2:                                       ; preds = %.lr.ph35.2, %.lr.ph35.preheader.2.new
  %154 = phi i64 [ %.promoted33.2, %.lr.ph35.preheader.2.new ], [ %155, %.lr.ph35.2 ]
  %niter136 = phi i32 [ 0, %.lr.ph35.preheader.2.new ], [ %niter136.next.3, %.lr.ph35.2 ]
  %155 = sdiv i64 %154, 16
  %niter136.next.3 = add i32 %niter136, 4
  %niter136.ncmp.3 = icmp eq i32 %niter136.next.3, %unroll_iter135
  br i1 %niter136.ncmp.3, label %..loopexit_crit_edge.2.unr-lcssa, label %.lr.ph35.2, !llvm.loop !13

..loopexit_crit_edge.2.unr-lcssa:                 ; preds = %.lr.ph35.2, %.lr.ph35.preheader.2
  %.lcssa67.ph = phi i64 [ poison, %.lr.ph35.preheader.2 ], [ %155, %.lr.ph35.2 ]
  %.unr132 = phi i64 [ %.promoted33.2, %.lr.ph35.preheader.2 ], [ %155, %.lr.ph35.2 ]
  %lcmp.mod133.not = icmp eq i32 %xtraiter130, 0
  br i1 %lcmp.mod133.not, label %..loopexit_crit_edge.2, label %.lr.ph35.2.epil

.lr.ph35.2.epil:                                  ; preds = %..loopexit_crit_edge.2.unr-lcssa, %.lr.ph35.2.epil
  %156 = phi i64 [ %157, %.lr.ph35.2.epil ], [ %.unr132, %..loopexit_crit_edge.2.unr-lcssa ]
  %epil.iter131 = phi i32 [ %epil.iter131.next, %.lr.ph35.2.epil ], [ 0, %..loopexit_crit_edge.2.unr-lcssa ]
  %157 = sdiv i64 %156, 2
  %epil.iter131.next = add i32 %epil.iter131, 1
  %epil.iter131.cmp.not = icmp eq i32 %epil.iter131.next, %xtraiter130
  br i1 %epil.iter131.cmp.not, label %..loopexit_crit_edge.2, label %.lr.ph35.2.epil, !llvm.loop !26

..loopexit_crit_edge.2:                           ; preds = %.lr.ph35.2.epil, %..loopexit_crit_edge.2.unr-lcssa
  %.lcssa67 = phi i64 [ %.lcssa67.ph, %..loopexit_crit_edge.2.unr-lcssa ], [ %157, %.lr.ph35.2.epil ]
  store i64 %.lcssa67, ptr %9, align 8, !tbaa !11
  br label %.loopexit.2

.loopexit.2:                                      ; preds = %..loopexit_crit_edge.2, %.preheader.2, %..loopexit25_crit_edge.2, %.preheader24.2, %..loopexit27_crit_edge.2, %.preheader26.2
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %159 = load i64, ptr %158, align 8, !tbaa !11
  store i64 %159, ptr %8, align 8, !tbaa !11
  %160 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %161 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %162 = invoke noundef zeroext i1 @_ZSt16next_permutationIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEbT_S7_(ptr %160, ptr %161)
          to label %163 unwind label %164

163:                                              ; preds = %.loopexit.2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br i1 %162, label %22, label %166

164:                                              ; preds = %.loopexit.2
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %172

166:                                              ; preds = %163
  %167 = load i64, ptr %8, align 8, !tbaa !11
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %167)
          to label %169 unwind label %170

169:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

170:                                              ; preds = %166
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %172

172:                                              ; preds = %170, %164
  %.pn = phi { ptr, i32 } [ %171, %170 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %173

173:                                              ; preds = %172, %27
  %.pn.pn = phi { ptr, i32 } [ %.pn, %172 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSt16next_permutationIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEbT_S7_(ptr, ptr) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 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 #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass