; LLVM IR from abeaumont/competitive-programming :: codeforces/1195 (e)

; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.13", %"struct.std::_Head_base.14" }
%"struct.std::_Tuple_impl.13" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.14" = type { i64 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; 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 i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca %"class.std::vector.5", align 8
  %16 = alloca %"class.std::allocator.7", align 1
  %17 = alloca %"class.std::allocator.2", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::deque", align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::tuple", align 8
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.std::deque", align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::tuple", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %31 = 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)
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  %39 = load i64, ptr %2, align 8, !tbaa !5
  %40 = load i64, ptr %3, align 8, !tbaa !5
  %41 = mul nsw i64 %39, %40
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %42 unwind label %60

42:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %43 = load i64, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  %44 = load i64, ptr %3, align 8, !tbaa !5
  %45 = load i64, ptr %5, align 8, !tbaa !5
  %46 = sub nsw i64 %44, %45
  %47 = add nsw i64 %46, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %47, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %48 unwind label %64

48:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %43, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %49 unwind label %68

49:                                               ; preds = %48
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  %50 = load i64, ptr %6, align 8, !tbaa !5
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #5
  store i64 %50, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %88, %49
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = load i64, ptr %2, align 8, !tbaa !5
  %56 = load i64, ptr %3, align 8, !tbaa !5
  %57 = mul nsw i64 %55, %56
  %58 = icmp slt i64 %54, %57
  br i1 %58, label %73, label %59

59:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %91

60:                                               ; preds = %0
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %12, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %280

64:                                               ; preds = %42
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %12, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %13, align 4
  br label %72

68:                                               ; preds = %48
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %12, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %13, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %72

72:                                               ; preds = %68, %64
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %279

73:                                               ; preds = %52
  %74 = load i32, ptr %18, align 4, !tbaa !9
  %75 = sub nsw i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %76) #5
  %78 = load i64, ptr %77, align 8, !tbaa !5
  %79 = load i64, ptr %7, align 8, !tbaa !5
  %80 = mul nsw i64 %78, %79
  %81 = load i64, ptr %8, align 8, !tbaa !5
  %82 = add nsw i64 %80, %81
  %83 = load i64, ptr %9, align 8, !tbaa !5
  %84 = srem i64 %82, %83
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %86) #5
  store i64 %84, ptr %87, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %73
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %18, align 4, !tbaa !9
  br label %52, !llvm.loop !11

91:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %179, %91
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = load i64, ptr %2, align 8, !tbaa !5
  %96 = icmp slt i64 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %92
  store i32 5, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %183

98:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 80, ptr %21) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21)
          to label %99 unwind label %106

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %175, %99
  %101 = load i32, ptr %22, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = load i64, ptr %3, align 8, !tbaa !5
  %104 = icmp slt i64 %102, %103
  br i1 %104, label %110, label %105

105:                                              ; preds = %100
  store i32 8, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %178

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %12, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %13, align 4
  br label %182

110:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %111 = load i32, ptr %19, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = load i64, ptr %3, align 8, !tbaa !5
  %114 = mul nsw i64 %112, %113
  %115 = load i32, ptr %22, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = add nsw i64 %114, %116
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %117) #5
  %119 = load i64, ptr %118, align 8, !tbaa !5
  %120 = trunc i64 %119 to i32
  store i32 %120, ptr %23, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %132, %110
  %122 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br i1 %122, label %130, label %123

123:                                              ; preds = %121
  %124 = load i32, ptr %23, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %126) #5
  %128 = load i64, ptr %127, align 8, !tbaa !5
  %129 = icmp slt i64 %125, %128
  br label %130

130:                                              ; preds = %123, %121
  %131 = phi i1 [ false, %121 ], [ %129, %123 ]
  br i1 %131, label %132, label %133

132:                                              ; preds = %130
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br label %121, !llvm.loop !13

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %22) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %21, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %134 unwind label %150

134:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %135

135:                                              ; preds = %149, %134
  %136 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br i1 %136, label %147, label %137

137:                                              ; preds = %135
  %138 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %138) #5
  %140 = load i32, ptr %139, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = load i32, ptr %22, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = load i64, ptr %5, align 8, !tbaa !5
  %145 = sub nsw i64 %143, %144
  %146 = icmp sle i64 %141, %145
  br label %147

147:                                              ; preds = %137, %135
  %148 = phi i1 [ false, %135 ], [ %146, %137 ]
  br i1 %148, label %149, label %154

149:                                              ; preds = %147
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br label %135, !llvm.loop !14

150:                                              ; preds = %133
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %12, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  br label %182

154:                                              ; preds = %147
  %155 = load i32, ptr %22, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = load i64, ptr %5, align 8, !tbaa !5
  %158 = sub nsw i64 %157, 1
  %159 = icmp sge i64 %156, %158
  br i1 %159, label %160, label %174

160:                                              ; preds = %154
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %161) #5
  %163 = load i64, ptr %162, align 8, !tbaa !5
  %164 = trunc i64 %163 to i32
  %165 = load i32, ptr %19, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %166) #5
  %168 = load i32, ptr %22, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = load i64, ptr %5, align 8, !tbaa !5
  %171 = sub nsw i64 %169, %170
  %172 = add nsw i64 %171, 1
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %172) #5
  store i32 %164, ptr %173, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %160, %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %22, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %22, align 4, !tbaa !9
  br label %100, !llvm.loop !15

178:                                              ; preds = %105
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #5
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %19, align 4, !tbaa !9
  br label %92, !llvm.loop !16

182:                                              ; preds = %150, %106
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %278

183:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store i64 0, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %262, %183
  %185 = load i32, ptr %26, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = load i64, ptr %3, align 8, !tbaa !5
  %188 = load i64, ptr %5, align 8, !tbaa !5
  %189 = sub nsw i64 %187, %188
  %190 = icmp sle i64 %186, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %184
  store i32 15, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %266

192:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 80, ptr %27) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %27)
          to label %193 unwind label %200

193:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %258, %193
  %195 = load i32, ptr %28, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = load i64, ptr %2, align 8, !tbaa !5
  %198 = icmp slt i64 %196, %197
  br i1 %198, label %204, label %199

199:                                              ; preds = %194
  store i32 18, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %261

200:                                              ; preds = %192
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %12, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %13, align 4
  br label %265

204:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %205 = load i32, ptr %28, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %206) #5
  %208 = load i32, ptr %26, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #5
  %211 = load i32, ptr %210, align 4, !tbaa !9
  store i32 %211, ptr %29, align 4, !tbaa !9
  br label %212

212:                                              ; preds = %223, %204
  %213 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  br i1 %213, label %221, label %214

214:                                              ; preds = %212
  %215 = load i32, ptr %29, align 4, !tbaa !9
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %217) #5
  %219 = load i64, ptr %218, align 8, !tbaa !5
  %220 = icmp slt i64 %216, %219
  br label %221

221:                                              ; preds = %214, %212
  %222 = phi i1 [ false, %212 ], [ %220, %214 ]
  br i1 %222, label %223, label %224

223:                                              ; preds = %221
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  br label %212, !llvm.loop !17

224:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  call void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %28) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %27, ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %225 unwind label %241

225:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  br label %226

226:                                              ; preds = %240, %225
  %227 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  br i1 %227, label %238, label %228

228:                                              ; preds = %226
  %229 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  %230 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %229) #5
  %231 = load i32, ptr %230, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = load i32, ptr %28, align 4, !tbaa !9
  %234 = sext i32 %233 to i64
  %235 = load i64, ptr %4, align 8, !tbaa !5
  %236 = sub nsw i64 %234, %235
  %237 = icmp sle i64 %232, %236
  br label %238

238:                                              ; preds = %228, %226
  %239 = phi i1 [ false, %226 ], [ %237, %228 ]
  br i1 %239, label %240, label %245

240:                                              ; preds = %238
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  br label %226, !llvm.loop !18

241:                                              ; preds = %224
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %12, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  br label %265

245:                                              ; preds = %238
  %246 = load i32, ptr %28, align 4, !tbaa !9
  %247 = sext i32 %246 to i64
  %248 = load i64, ptr %4, align 8, !tbaa !5
  %249 = sub nsw i64 %248, 1
  %250 = icmp sge i64 %247, %249
  br i1 %250, label %251, label %257

251:                                              ; preds = %245
  %252 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %252) #5
  %254 = load i64, ptr %253, align 8, !tbaa !5
  %255 = load i64, ptr %25, align 8, !tbaa !5
  %256 = add nsw i64 %255, %254
  store i64 %256, ptr %25, align 8, !tbaa !5
  br label %257

257:                                              ; preds = %251, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %258

258:                                              ; preds = %257
  %259 = load i32, ptr %28, align 4, !tbaa !9
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %28, align 4, !tbaa !9
  br label %194, !llvm.loop !19

261:                                              ; preds = %199
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %27) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %27) #5
  br label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %26, align 4, !tbaa !9
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %26, align 4, !tbaa !9
  br label %184, !llvm.loop !20

265:                                              ; preds = %241, %200
  call void @llvm.lifetime.end.p0(i64 80, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %277

266:                                              ; preds = %191
  %267 = load i64, ptr %25, align 8, !tbaa !5
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %267)
          to label %269 unwind label %273

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @.str)
          to label %271 unwind label %273

271:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %272 = load i32, ptr %1, align 4
  ret i32 %272

273:                                              ; preds = %269, %266
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %12, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %13, align 4
  br label %277

277:                                              ; preds = %273, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %278

278:                                              ; preds = %277, %182
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %279

279:                                              ; preds = %278, %72
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %280

280:                                              ; preds = %279, %60
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %281

281:                                              ; preds = %280
  %282 = load ptr, ptr %12, align 8
  %283 = load i32, ptr %13, align 4
  %284 = insertvalue { ptr, i32 } poison, ptr %282, 0
  %285 = insertvalue { ptr, i32 } %284, i32 %283, 1
  resume { ptr, i32 } %285
}

; 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 nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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) #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::tuple<long long, int>, std::allocator<std::tuple<long long, int>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.13", %"struct.std::_Head_base.14" }
%"struct.std::_Tuple_impl.13" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.14" = type { i64 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::vector.5", align 8
  %13 = alloca %"class.std::allocator.7", align 1
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::deque", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::tuple", align 8
  %19 = alloca %"class.std::deque", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::tuple", align 8
  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 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %23 = 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)
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  %31 = load i64, ptr %1, align 8, !tbaa !5
  %32 = load i64, ptr %2, align 8, !tbaa !5
  %33 = mul nsw i64 %32, %31
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %33, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %34 unwind label %51

34:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  %35 = load i64, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  %36 = load i64, ptr %2, align 8, !tbaa !5
  %37 = load i64, ptr %4, align 8, !tbaa !5
  %38 = add i64 %36, 1
  %39 = sub i64 %38, %37
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %40 unwind label %53

40:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %35, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %41 unwind label %55

41:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  %42 = load i64, ptr %5, align 8, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #5
  store i64 %42, ptr %43, align 8, !tbaa !5
  %44 = load i64, ptr %1, align 8, !tbaa !5
  %45 = load i64, ptr %2, align 8, !tbaa !5
  %46 = mul nsw i64 %45, %44
  %47 = icmp sgt i64 %46, 1
  br i1 %47, label %.lr.ph, label %.preheader52

.preheader52:                                     ; preds = %.lr.ph, %41
  %48 = phi i64 [ %45, %41 ], [ %69, %.lr.ph ]
  %49 = phi i64 [ %44, %41 ], [ %68, %.lr.ph ]
  %50 = icmp sgt i64 %49, 0
  br i1 %50, label %.lr.ph63, label %.preheader

51:                                               ; preds = %0
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  br label %192

53:                                               ; preds = %34
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %40
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %57

57:                                               ; preds = %55, %53
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  br label %191

.lr.ph:                                           ; preds = %41, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %41 ]
  %58 = add nsw i64 %indvars.iv, -1
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %58) #5
  %60 = load i64, ptr %59, align 8, !tbaa !5
  %61 = load i64, ptr %6, align 8, !tbaa !5
  %62 = mul nsw i64 %61, %60
  %63 = load i64, ptr %7, align 8, !tbaa !5
  %64 = add nsw i64 %62, %63
  %65 = load i64, ptr %8, align 8, !tbaa !5
  %66 = srem i64 %64, %65
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv) #5
  store i64 %66, ptr %67, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %68 = load i64, ptr %1, align 8, !tbaa !5
  %69 = load i64, ptr %2, align 8, !tbaa !5
  %70 = mul nsw i64 %69, %68
  %71 = icmp sgt i64 %70, %indvars.iv.next
  br i1 %71, label %.lr.ph, label %.preheader52, !llvm.loop !9

.preheader.loopexit:                              ; preds = %._crit_edge
  %.pre87 = load i64, ptr %2, align 8, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader52
  %72 = phi i64 [ %.pre87, %.preheader.loopexit ], [ %48, %.preheader52 ]
  %73 = load i64, ptr %4, align 8, !tbaa !5
  %.not74 = icmp slt i64 %72, %73
  br i1 %.not74, label %._crit_edge78, label %.lr.ph77

.lr.ph63:                                         ; preds = %.preheader52, %._crit_edge
  %indvars.iv81 = phi i64 [ %indvars.iv.next82, %._crit_edge ], [ 0, %.preheader52 ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %15) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %15)
          to label %74 unwind label %79

74:                                               ; preds = %.lr.ph63
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  store i32 0, ptr %16, align 4, !tbaa !11
  %75 = load i64, ptr %2, align 8, !tbaa !5
  %76 = icmp sgt i64 %75, 0
  br i1 %76, label %.lr.ph61, label %._crit_edge

._crit_edge:                                      ; preds = %126, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #5
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %77 = load i64, ptr %1, align 8, !tbaa !5
  %78 = icmp sgt i64 %77, %indvars.iv.next82
  br i1 %78, label %.lr.ph63, label %.preheader.loopexit, !llvm.loop !13

79:                                               ; preds = %.lr.ph63
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %132

.lr.ph61:                                         ; preds = %74, %126
  %81 = phi i64 [ %130, %126 ], [ %75, %74 ]
  %82 = phi i64 [ %129, %126 ], [ 0, %74 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  %83 = mul nsw i64 %81, %indvars.iv81
  %84 = add nsw i64 %83, %82
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %84) #5
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = trunc i64 %86 to i32
  store i32 %87, ptr %17, align 4, !tbaa !11
  %88 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  br i1 %88, label %.critedge, label %.lr.ph57

.lr.ph57:                                         ; preds = %.lr.ph61, %95
  %89 = load i32, ptr %17, align 4, !tbaa !11
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %91) #5
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = icmp sgt i64 %93, %90
  br i1 %94, label %95, label %.critedge

95:                                               ; preds = %.lr.ph57
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  %96 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  br i1 %96, label %.critedge, label %.lr.ph57, !llvm.loop !14

.critedge:                                        ; preds = %.lr.ph57, %95, %.lr.ph61
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %16) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %15, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %97 unwind label %109

97:                                               ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  %98 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  br i1 %98, label %.critedge2, label %.lr.ph59

.lr.ph59:                                         ; preds = %97, %107
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %99) #5
  %101 = load i32, ptr %100, align 4, !tbaa !11
  %102 = sext i32 %101 to i64
  %103 = load i32, ptr %16, align 4, !tbaa !11
  %104 = sext i32 %103 to i64
  %105 = load i64, ptr %4, align 8, !tbaa !5
  %106 = sub nsw i64 %104, %105
  %.not49 = icmp slt i64 %106, %102
  br i1 %.not49, label %.critedge2, label %107

107:                                              ; preds = %.lr.ph59
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  %108 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  br i1 %108, label %.critedge2, label %.lr.ph59, !llvm.loop !15

109:                                              ; preds = %.critedge
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  br label %132

.critedge2:                                       ; preds = %.lr.ph59, %107, %97
  %111 = load i32, ptr %16, align 4, !tbaa !11
  %112 = sext i32 %111 to i64
  %113 = load i64, ptr %4, align 8, !tbaa !5
  %114 = add nsw i64 %113, -1
  %.not50 = icmp sgt i64 %114, %112
  br i1 %.not50, label %126, label %115

115:                                              ; preds = %.critedge2
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #5
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %116) #5
  %118 = load i64, ptr %117, align 8, !tbaa !5
  %119 = trunc i64 %118 to i32
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv81) #5
  %121 = load i32, ptr %16, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = load i64, ptr %4, align 8, !tbaa !5
  %reass.sub = sub i64 %122, %123
  %124 = add i64 %reass.sub, 1
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %124) #5
  store i32 %119, ptr %125, align 4, !tbaa !11
  %.pre = load i32, ptr %16, align 4, !tbaa !11
  br label %126

126:                                              ; preds = %115, %.critedge2
  %127 = phi i32 [ %.pre, %115 ], [ %111, %.critedge2 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %16, align 4, !tbaa !11
  %129 = sext i32 %128 to i64
  %130 = load i64, ptr %2, align 8, !tbaa !5
  %131 = icmp sgt i64 %130, %129
  br i1 %131, label %.lr.ph61, label %._crit_edge, !llvm.loop !16

132:                                              ; preds = %109, %79
  %.pn44 = phi { ptr, i32 } [ %110, %109 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #5
  br label %190

._crit_edge78:                                    ; preds = %._crit_edge73, %.preheader
  %.021.lcssa = phi i64 [ 0, %.preheader ], [ %.1.lcssa, %._crit_edge73 ]
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.021.lcssa)
          to label %185 unwind label %188

.lr.ph77:                                         ; preds = %.preheader, %._crit_edge73
  %indvars.iv84 = phi i64 [ %indvars.iv.next85, %._crit_edge73 ], [ 0, %.preheader ]
  %.02175 = phi i64 [ %.1.lcssa, %._crit_edge73 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %19) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %19)
          to label %134 unwind label %140

134:                                              ; preds = %.lr.ph77
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  store i32 0, ptr %20, align 4, !tbaa !11
  %135 = load i64, ptr %1, align 8, !tbaa !5
  %136 = icmp sgt i64 %135, 0
  br i1 %136, label %.lr.ph72, label %._crit_edge73

._crit_edge73:                                    ; preds = %178, %134
  %.1.lcssa = phi i64 [ %.02175, %134 ], [ %.2, %178 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %19) #5
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %137 = load i64, ptr %2, align 8, !tbaa !5
  %138 = load i64, ptr %4, align 8, !tbaa !5
  %139 = sub nsw i64 %137, %138
  %.not.not = icmp sgt i64 %139, %indvars.iv84
  br i1 %.not.not, label %.lr.ph77, label %._crit_edge78, !llvm.loop !17

140:                                              ; preds = %.lr.ph77
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %184

.lr.ph72:                                         ; preds = %134, %178
  %142 = phi i64 [ %181, %178 ], [ 0, %134 ]
  %.170 = phi i64 [ %.2, %178 ], [ %.02175, %134 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %142) #5
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %indvars.iv84) #5
  %145 = load i32, ptr %144, align 4, !tbaa !11
  store i32 %145, ptr %21, align 4, !tbaa !11
  %146 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br i1 %146, label %.critedge4, label %.lr.ph65

.lr.ph65:                                         ; preds = %.lr.ph72, %153
  %147 = load i32, ptr %21, align 4, !tbaa !11
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %149) #5
  %151 = load i64, ptr %150, align 8, !tbaa !5
  %152 = icmp sgt i64 %151, %148
  br i1 %152, label %153, label %.critedge4

153:                                              ; preds = %.lr.ph65
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  %154 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br i1 %154, label %.critedge4, label %.lr.ph65, !llvm.loop !18

.critedge4:                                       ; preds = %.lr.ph65, %153, %.lr.ph72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %20) #5
  invoke void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %19, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %155 unwind label %167

155:                                              ; preds = %.critedge4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  %156 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br i1 %156, label %.critedge6, label %.lr.ph68

.lr.ph68:                                         ; preds = %155, %165
  %157 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %157) #5
  %159 = load i32, ptr %158, align 4, !tbaa !11
  %160 = sext i32 %159 to i64
  %161 = load i32, ptr %20, align 4, !tbaa !11
  %162 = sext i32 %161 to i64
  %163 = load i64, ptr %3, align 8, !tbaa !5
  %164 = sub nsw i64 %162, %163
  %.not41 = icmp slt i64 %164, %160
  br i1 %.not41, label %.critedge6, label %165

165:                                              ; preds = %.lr.ph68
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  %166 = call noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br i1 %166, label %.critedge6, label %.lr.ph68, !llvm.loop !19

167:                                              ; preds = %.critedge4
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  br label %184

.critedge6:                                       ; preds = %.lr.ph68, %165, %155
  %169 = load i32, ptr %20, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = load i64, ptr %3, align 8, !tbaa !5
  %172 = add nsw i64 %171, -1
  %.not42 = icmp sgt i64 %172, %170
  br i1 %.not42, label %178, label %173

173:                                              ; preds = %.critedge6
  %174 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #5
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16) %174) #5
  %176 = load i64, ptr %175, align 8, !tbaa !5
  %177 = add nsw i64 %176, %.170
  %.pre88 = load i32, ptr %20, align 4, !tbaa !11
  br label %178

178:                                              ; preds = %173, %.critedge6
  %179 = phi i32 [ %.pre88, %173 ], [ %169, %.critedge6 ]
  %.2 = phi i64 [ %177, %173 ], [ %.170, %.critedge6 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %20, align 4, !tbaa !11
  %181 = sext i32 %180 to i64
  %182 = load i64, ptr %1, align 8, !tbaa !5
  %183 = icmp sgt i64 %182, %181
  br i1 %183, label %.lr.ph72, label %._crit_edge73, !llvm.loop !20

184:                                              ; preds = %167, %140
  %.pn38 = phi { ptr, i32 } [ %168, %167 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %19) #5
  br label %190

185:                                              ; preds = %._crit_edge78
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull @.str)
          to label %187 unwind label %188

187:                                              ; preds = %185
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, 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

188:                                              ; preds = %185, %._crit_edge78
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %190

190:                                              ; preds = %184, %188, %132
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %132 ], [ %.pn38, %184 ], [ %189, %188 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %191

191:                                              ; preds = %190, %57
  %.pn44.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %190 ], [ %.pn, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %192

192:                                              ; preds = %191, %51
  %.pn44.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn, %191 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  resume { ptr, i32 } %.pn44.pn.pn.pn
}

; 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 nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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) #1

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5dequeISt5tupleIJxiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5tupleIJxiEEC2IRiS2_TnNSt9enable_ifIXclsr4_TCCIXntcl14__is_alloc_argIT_EEEEE29__is_implicitly_constructibleIS4_T0_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJxiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt5tupleIJxiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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