; LLVM IR from afrozchakure/Competitive-Programming-Solutions :: CodeChefProblems/JanuaryChallenge2021Division3 (PointOfImpact)

; 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<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.5" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@_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 %"class.std::vector", align 8
  %9 = alloca %"class.std::initializer_list", align 8
  %10 = alloca [4 x %"class.std::vector.0"], align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.std::initializer_list.5", align 8
  %13 = alloca [2 x i64], align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::initializer_list.5", align 8
  %18 = alloca [2 x i64], align 8
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::initializer_list.5", align 8
  %21 = alloca [2 x i64], align 8
  %22 = alloca %"class.std::allocator.2", align 1
  %23 = alloca %"class.std::initializer_list.5", align 8
  %24 = alloca [2 x i64], align 8
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca i1, align 1
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::initializer_list", align 8
  %31 = alloca [4 x %"class.std::vector.0"], align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.std::initializer_list.5", align 8
  %34 = alloca [2 x i64], align 8
  %35 = alloca %"class.std::allocator.2", align 1
  %36 = alloca %"class.std::initializer_list.5", align 8
  %37 = alloca [2 x i64], align 8
  %38 = alloca %"class.std::allocator.2", align 1
  %39 = alloca %"class.std::initializer_list.5", align 8
  %40 = alloca [2 x i64], align 8
  %41 = alloca %"class.std::allocator.2", align 1
  %42 = alloca %"class.std::initializer_list.5", align 8
  %43 = alloca [2 x i64], align 8
  %44 = alloca %"class.std::allocator.2", align 1
  %45 = alloca i1, align 1
  %46 = alloca %"class.std::allocator", align 1
  %47 = alloca %"class.std::vector.0", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %49 = load i64, ptr %2, align 8, !tbaa !5
  store i64 %49, ptr %3, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %353, %0
  %51 = load i64, ptr %2, align 8, !tbaa !5
  %52 = add i64 %51, -1
  store i64 %52, ptr %2, align 8, !tbaa !5
  %53 = icmp ne i64 %51, 0
  br i1 %53, label %54, label %355

54:                                               ; preds = %50
  %55 = load i64, ptr %2, align 8, !tbaa !5
  %56 = load i64, ptr %3, align 8, !tbaa !5
  %57 = sub i64 %56, 1
  %58 = icmp ne i64 %55, %57
  br i1 %58, label %59, label %61

59:                                               ; preds = %54
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %61

61:                                               ; preds = %59, %54
  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
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %66 = load i64, ptr %6, align 8, !tbaa !5
  %67 = load i64, ptr %7, align 8, !tbaa !5
  %68 = icmp eq i64 %66, %67
  br i1 %68, label %69, label %75

69:                                               ; preds = %61
  %70 = load i64, ptr %4, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %70)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str)
  %73 = load i64, ptr %4, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %72, i64 noundef %73)
  br label %353

75:                                               ; preds = %61
  %76 = load i64, ptr %6, align 8, !tbaa !5
  %77 = load i64, ptr %7, align 8, !tbaa !5
  %78 = icmp ugt i64 %76, %77
  br i1 %78, label %79, label %213

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #5
  store i1 true, ptr %26, align 1
  store ptr %10, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %80 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %80, ptr %13, align 8, !tbaa !5
  %81 = getelementptr inbounds i64, ptr %13, i64 1
  %82 = load i64, ptr %4, align 8, !tbaa !5
  %83 = load i64, ptr %6, align 8, !tbaa !5
  %84 = sub i64 %82, %83
  %85 = load i64, ptr %7, align 8, !tbaa !5
  %86 = add i64 %84, %85
  store i64 %86, ptr %81, align 8, !tbaa !5
  %87 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 0
  store ptr %13, ptr %87, align 8, !tbaa !9
  %88 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 1
  store i64 2, ptr %88, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  %89 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %92 = load i64, ptr %91, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %90, i64 %92, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %93 unwind label %162

93:                                               ; preds = %79
  %94 = getelementptr inbounds %"class.std::vector.0", ptr %10, i64 1
  store ptr %94, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = load i64, ptr %7, align 8, !tbaa !5
  %97 = add i64 %95, %96
  %98 = load i64, ptr %6, align 8, !tbaa !5
  %99 = sub i64 %97, %98
  store i64 %99, ptr %18, align 8, !tbaa !5
  %100 = getelementptr inbounds i64, ptr %18, i64 1
  %101 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %101, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.std::initializer_list.5", ptr %17, i32 0, i32 0
  store ptr %18, ptr %102, align 8, !tbaa !9
  %103 = getelementptr inbounds %"class.std::initializer_list.5", ptr %17, i32 0, i32 1
  store i64 2, ptr %103, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  %104 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8
  %106 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %107 = load i64, ptr %106, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr %105, i64 %107, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %108 unwind label %166

108:                                              ; preds = %93
  %109 = getelementptr inbounds %"class.std::vector.0", ptr %10, i64 2
  store ptr %109, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  store i64 0, ptr %21, align 8, !tbaa !5
  %110 = getelementptr inbounds i64, ptr %21, i64 1
  %111 = load i64, ptr %6, align 8, !tbaa !5
  %112 = load i64, ptr %7, align 8, !tbaa !5
  %113 = sub i64 %111, %112
  store i64 %113, ptr %110, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.std::initializer_list.5", ptr %20, i32 0, i32 0
  store ptr %21, ptr %114, align 8, !tbaa !9
  %115 = getelementptr inbounds %"class.std::initializer_list.5", ptr %20, i32 0, i32 1
  store i64 2, ptr %115, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  %116 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %119 = load i64, ptr %118, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr %117, i64 %119, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %120 unwind label %170

120:                                              ; preds = %108
  %121 = getelementptr inbounds %"class.std::vector.0", ptr %10, i64 3
  store ptr %121, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %122 = load i64, ptr %6, align 8, !tbaa !5
  %123 = load i64, ptr %7, align 8, !tbaa !5
  %124 = sub i64 %122, %123
  store i64 %124, ptr %24, align 8, !tbaa !5
  %125 = getelementptr inbounds i64, ptr %24, i64 1
  store i64 0, ptr %125, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.std::initializer_list.5", ptr %23, i32 0, i32 0
  store ptr %24, ptr %126, align 8, !tbaa !9
  %127 = getelementptr inbounds %"class.std::initializer_list.5", ptr %23, i32 0, i32 1
  store i64 2, ptr %127, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  %128 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %131 = load i64, ptr %130, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %121, ptr %129, i64 %131, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %132 unwind label %174

132:                                              ; preds = %120
  store i1 false, ptr %26, align 1
  %133 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 0
  store ptr %10, ptr %133, align 8, !tbaa !14
  %134 = getelementptr inbounds %"class.std::initializer_list", ptr %9, i32 0, i32 1
  store i64 4, ptr %134, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @_ZNSaISt6vectorIySaIyEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  %135 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %138 = load i64, ptr %137, align 8
  invoke void @_ZNSt6vectorIS_IySaIyEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %136, i64 %138, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %139 unwind label %178

139:                                              ; preds = %132
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  %140 = getelementptr inbounds [4 x %"class.std::vector.0"], ptr %10, i32 0, i32 0
  %141 = getelementptr inbounds %"class.std::vector.0", ptr %140, i64 4
  br label %142

142:                                              ; preds = %142, %139
  %143 = phi ptr [ %141, %139 ], [ %144, %142 ]
  %144 = getelementptr inbounds %"class.std::vector.0", ptr %143, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %144) #5
  %145 = icmp eq ptr %144, %140
  br i1 %145, label %146, label %142

146:                                              ; preds = %142
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #5
  %147 = load i64, ptr %5, align 8, !tbaa !5
  %148 = sub i64 %147, 1
  %149 = urem i64 %148, 4
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IySaIyEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %149) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %150)
          to label %151 unwind label %203

151:                                              ; preds = %146
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 0) #5
  %153 = load i64, ptr %152, align 8, !tbaa !5
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %153)
          to label %155 unwind label %207

155:                                              ; preds = %151
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @.str)
          to label %157 unwind label %207

157:                                              ; preds = %155
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 1) #5
  %159 = load i64, ptr %158, align 8, !tbaa !5
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %156, i64 noundef %159)
          to label %161 unwind label %207

161:                                              ; preds = %157
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  br label %352

162:                                              ; preds = %79
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %15, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %16, align 4
  br label %192

166:                                              ; preds = %93
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %15, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %16, align 4
  br label %191

170:                                              ; preds = %108
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %15, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %16, align 4
  br label %190

174:                                              ; preds = %120
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %15, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %16, align 4
  br label %189

178:                                              ; preds = %132
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  %182 = getelementptr inbounds [4 x %"class.std::vector.0"], ptr %10, i32 0, i32 0
  %183 = getelementptr inbounds %"class.std::vector.0", ptr %182, i64 4
  br label %184

184:                                              ; preds = %184, %178
  %185 = phi ptr [ %183, %178 ], [ %186, %184 ]
  %186 = getelementptr inbounds %"class.std::vector.0", ptr %185, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %186) #5
  %187 = icmp eq ptr %186, %182
  br i1 %187, label %188, label %184

188:                                              ; preds = %184
  br label %189

189:                                              ; preds = %188, %174
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %190

190:                                              ; preds = %189, %170
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %191

191:                                              ; preds = %190, %166
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %192

192:                                              ; preds = %191, %162
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  %193 = load i1, ptr %26, align 1
  br i1 %193, label %194, label %202

194:                                              ; preds = %192
  %195 = load ptr, ptr %11, align 8
  %196 = icmp eq ptr %10, %195
  br i1 %196, label %201, label %197

197:                                              ; preds = %197, %194
  %198 = phi ptr [ %195, %194 ], [ %199, %197 ]
  %199 = getelementptr inbounds %"class.std::vector.0", ptr %198, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %199) #5
  %200 = icmp eq ptr %199, %10
  br i1 %200, label %201, label %197

201:                                              ; preds = %197, %194
  br label %202

202:                                              ; preds = %201, %192
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #5
  br label %212

203:                                              ; preds = %146
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %15, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %16, align 4
  br label %211

207:                                              ; preds = %157, %155, %151
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %15, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %16, align 4
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  br label %211

211:                                              ; preds = %207, %203
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %212

212:                                              ; preds = %211, %202
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  br label %354

213:                                              ; preds = %75
  %214 = load i64, ptr %7, align 8, !tbaa !5
  %215 = load i64, ptr %6, align 8, !tbaa !5
  %216 = icmp ugt i64 %214, %215
  br i1 %216, label %217, label %351

217:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 96, ptr %31) #5
  store i1 true, ptr %45, align 1
  store ptr %31, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #5
  %218 = load i64, ptr %4, align 8, !tbaa !5
  %219 = load i64, ptr %7, align 8, !tbaa !5
  %220 = sub i64 %218, %219
  %221 = load i64, ptr %6, align 8, !tbaa !5
  %222 = add i64 %220, %221
  store i64 %222, ptr %34, align 8, !tbaa !5
  %223 = getelementptr inbounds i64, ptr %34, i64 1
  %224 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %224, ptr %223, align 8, !tbaa !5
  %225 = getelementptr inbounds %"class.std::initializer_list.5", ptr %33, i32 0, i32 0
  store ptr %34, ptr %225, align 8, !tbaa !9
  %226 = getelementptr inbounds %"class.std::initializer_list.5", ptr %33, i32 0, i32 1
  store i64 2, ptr %226, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  %227 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8
  %229 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %230 = load i64, ptr %229, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr %228, i64 %230, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %231 unwind label %300

231:                                              ; preds = %217
  %232 = getelementptr inbounds %"class.std::vector.0", ptr %31, i64 1
  store ptr %232, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  %233 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %233, ptr %37, align 8, !tbaa !5
  %234 = getelementptr inbounds i64, ptr %37, i64 1
  %235 = load i64, ptr %4, align 8, !tbaa !5
  %236 = load i64, ptr %7, align 8, !tbaa !5
  %237 = sub i64 %235, %236
  %238 = load i64, ptr %6, align 8, !tbaa !5
  %239 = add i64 %237, %238
  store i64 %239, ptr %234, align 8, !tbaa !5
  %240 = getelementptr inbounds %"class.std::initializer_list.5", ptr %36, i32 0, i32 0
  store ptr %37, ptr %240, align 8, !tbaa !9
  %241 = getelementptr inbounds %"class.std::initializer_list.5", ptr %36, i32 0, i32 1
  store i64 2, ptr %241, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  %242 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8
  %244 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %245 = load i64, ptr %244, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %232, ptr %243, i64 %245, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %246 unwind label %304

246:                                              ; preds = %231
  %247 = getelementptr inbounds %"class.std::vector.0", ptr %31, i64 2
  store ptr %247, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #5
  %248 = load i64, ptr %7, align 8, !tbaa !5
  %249 = load i64, ptr %6, align 8, !tbaa !5
  %250 = sub i64 %248, %249
  store i64 %250, ptr %40, align 8, !tbaa !5
  %251 = getelementptr inbounds i64, ptr %40, i64 1
  store i64 0, ptr %251, align 8, !tbaa !5
  %252 = getelementptr inbounds %"class.std::initializer_list.5", ptr %39, i32 0, i32 0
  store ptr %40, ptr %252, align 8, !tbaa !9
  %253 = getelementptr inbounds %"class.std::initializer_list.5", ptr %39, i32 0, i32 1
  store i64 2, ptr %253, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  %254 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8
  %256 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %257 = load i64, ptr %256, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %247, ptr %255, i64 %257, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %258 unwind label %308

258:                                              ; preds = %246
  %259 = getelementptr inbounds %"class.std::vector.0", ptr %31, i64 3
  store ptr %259, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #5
  store i64 0, ptr %43, align 8, !tbaa !5
  %260 = getelementptr inbounds i64, ptr %43, i64 1
  %261 = load i64, ptr %7, align 8, !tbaa !5
  %262 = load i64, ptr %6, align 8, !tbaa !5
  %263 = sub i64 %261, %262
  store i64 %263, ptr %260, align 8, !tbaa !5
  %264 = getelementptr inbounds %"class.std::initializer_list.5", ptr %42, i32 0, i32 0
  store ptr %43, ptr %264, align 8, !tbaa !9
  %265 = getelementptr inbounds %"class.std::initializer_list.5", ptr %42, i32 0, i32 1
  store i64 2, ptr %265, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  %266 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %267 = load ptr, ptr %266, align 8
  %268 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %269 = load i64, ptr %268, align 8
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %259, ptr %267, i64 %269, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %270 unwind label %312

270:                                              ; preds = %258
  store i1 false, ptr %45, align 1
  %271 = getelementptr inbounds %"class.std::initializer_list", ptr %30, i32 0, i32 0
  store ptr %31, ptr %271, align 8, !tbaa !14
  %272 = getelementptr inbounds %"class.std::initializer_list", ptr %30, i32 0, i32 1
  store i64 4, ptr %272, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #5
  call void @_ZNSaISt6vectorIySaIyEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  %273 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %274 = load ptr, ptr %273, align 8
  %275 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %276 = load i64, ptr %275, align 8
  invoke void @_ZNSt6vectorIS_IySaIyEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr %274, i64 %276, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %277 unwind label %316

277:                                              ; preds = %270
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  %278 = getelementptr inbounds [4 x %"class.std::vector.0"], ptr %31, i32 0, i32 0
  %279 = getelementptr inbounds %"class.std::vector.0", ptr %278, i64 4
  br label %280

280:                                              ; preds = %280, %277
  %281 = phi ptr [ %279, %277 ], [ %282, %280 ]
  %282 = getelementptr inbounds %"class.std::vector.0", ptr %281, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %282) #5
  %283 = icmp eq ptr %282, %278
  br i1 %283, label %284, label %280

284:                                              ; preds = %280
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #5
  %285 = load i64, ptr %5, align 8, !tbaa !5
  %286 = sub i64 %285, 1
  %287 = urem i64 %286, 4
  %288 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IySaIyEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %287) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %288)
          to label %289 unwind label %341

289:                                              ; preds = %284
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 0) #5
  %291 = load i64, ptr %290, align 8, !tbaa !5
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %291)
          to label %293 unwind label %345

293:                                              ; preds = %289
  %294 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %292, ptr noundef @.str)
          to label %295 unwind label %345

295:                                              ; preds = %293
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 1) #5
  %297 = load i64, ptr %296, align 8, !tbaa !5
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %294, i64 noundef %297)
          to label %299 unwind label %345

299:                                              ; preds = %295
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  br label %351

300:                                              ; preds = %217
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %15, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %16, align 4
  br label %330

304:                                              ; preds = %231
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %15, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %16, align 4
  br label %329

308:                                              ; preds = %246
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %15, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %16, align 4
  br label %328

312:                                              ; preds = %258
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %15, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %16, align 4
  br label %327

316:                                              ; preds = %270
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %15, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %16, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  %320 = getelementptr inbounds [4 x %"class.std::vector.0"], ptr %31, i32 0, i32 0
  %321 = getelementptr inbounds %"class.std::vector.0", ptr %320, i64 4
  br label %322

322:                                              ; preds = %322, %316
  %323 = phi ptr [ %321, %316 ], [ %324, %322 ]
  %324 = getelementptr inbounds %"class.std::vector.0", ptr %323, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %324) #5
  %325 = icmp eq ptr %324, %320
  br i1 %325, label %326, label %322

326:                                              ; preds = %322
  br label %327

327:                                              ; preds = %326, %312
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #5
  br label %328

328:                                              ; preds = %327, %308
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  br label %329

329:                                              ; preds = %328, %304
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %330

330:                                              ; preds = %329, %300
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  %331 = load i1, ptr %45, align 1
  br i1 %331, label %332, label %340

332:                                              ; preds = %330
  %333 = load ptr, ptr %32, align 8
  %334 = icmp eq ptr %31, %333
  br i1 %334, label %339, label %335

335:                                              ; preds = %335, %332
  %336 = phi ptr [ %333, %332 ], [ %337, %335 ]
  %337 = getelementptr inbounds %"class.std::vector.0", ptr %336, i64 -1
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %337) #5
  %338 = icmp eq ptr %337, %31
  br i1 %338, label %339, label %335

339:                                              ; preds = %335, %332
  br label %340

340:                                              ; preds = %339, %330
  call void @llvm.lifetime.end.p0(i64 96, ptr %31) #5
  br label %350

341:                                              ; preds = %284
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %15, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %16, align 4
  br label %349

345:                                              ; preds = %295, %293, %289
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %15, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %16, align 4
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  br label %349

349:                                              ; preds = %345, %341
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  br label %350

350:                                              ; preds = %349, %340
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  br label %354

351:                                              ; preds = %299, %213
  br label %352

352:                                              ; preds = %351, %161
  br label %353

353:                                              ; preds = %352, %69
  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
  br label %50, !llvm.loop !17

354:                                              ; preds = %350, %212
  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 %356

355:                                              ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  ret i32 0

356:                                              ; preds = %354
  %357 = load ptr, ptr %15, align 8
  %358 = load i32, ptr %16, align 4
  %359 = insertvalue { ptr, i32 } poison, ptr %357, 0
  %360 = insertvalue { ptr, i32 } %359, i32 %358, 1
  resume { ptr, i32 } %360
}

; 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 @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

; Function Attrs: 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) #3

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIyE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSSt16initializer_listISt6vectorIySaIyEEE", !11, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long long>, std::allocator<std::vector<unsigned long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@_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 %"class.std::vector", align 8
  %7 = alloca [4 x %"class.std::vector.0"], align 8
  %8 = alloca [2 x i64], align 8
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca [2 x i64], align 8
  %11 = alloca %"class.std::allocator.2", align 1
  %12 = alloca [2 x i64], align 8
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca [2 x i64], align 8
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca [4 x %"class.std::vector.0"], align 8
  %20 = alloca [2 x i64], align 8
  %21 = alloca %"class.std::allocator.2", align 1
  %22 = alloca [2 x i64], align 8
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca [2 x i64], align 8
  %25 = alloca %"class.std::allocator.2", align 1
  %26 = alloca [2 x i64], align 8
  %27 = alloca %"class.std::allocator.2", align 1
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %"class.std::vector.0", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %31 = load i64, ptr %1, align 8, !tbaa !5
  %32 = add i64 %31, -1
  store i64 %32, ptr %1, align 8, !tbaa !5
  %.not59124 = icmp eq i64 %31, 0
  br i1 %.not59124, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0
  %33 = getelementptr inbounds i8, ptr %20, i64 8
  %34 = getelementptr inbounds i8, ptr %19, i64 24
  %35 = getelementptr inbounds i8, ptr %22, i64 8
  %36 = getelementptr inbounds i8, ptr %19, i64 48
  %37 = getelementptr inbounds i8, ptr %24, i64 8
  %38 = getelementptr inbounds i8, ptr %19, i64 72
  %39 = getelementptr inbounds i8, ptr %26, i64 8
  %40 = getelementptr inbounds i8, ptr %8, i64 8
  %41 = getelementptr inbounds i8, ptr %7, i64 24
  %42 = getelementptr inbounds i8, ptr %10, i64 8
  %43 = getelementptr inbounds i8, ptr %7, i64 48
  %44 = getelementptr inbounds i8, ptr %12, i64 8
  %45 = getelementptr inbounds i8, ptr %7, i64 72
  %46 = getelementptr inbounds i8, ptr %14, i64 8
  %47 = getelementptr inbounds i8, ptr %19, i64 72
  %48 = getelementptr inbounds i8, ptr %19, i64 48
  %49 = getelementptr inbounds i8, ptr %19, i64 24
  %50 = getelementptr inbounds i8, ptr %7, i64 72
  %51 = getelementptr inbounds i8, ptr %7, i64 48
  %52 = getelementptr inbounds i8, ptr %7, i64 24
  br label %53

53:                                               ; preds = %.lr.ph, %191
  %54 = phi i64 [ %31, %.lr.ph ], [ %.pr, %191 ]
  %.not60 = icmp eq i64 %54, %31
  br i1 %.not60, label %57, label %55

55:                                               ; preds = %53
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %57

57:                                               ; preds = %55, %53
  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
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERy(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %62 = load i64, ptr %4, align 8, !tbaa !5
  %63 = load i64, ptr %5, align 8, !tbaa !5
  %64 = icmp eq i64 %62, %63
  br i1 %64, label %65, label %71

65:                                               ; preds = %57
  %66 = load i64, ptr %2, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %66)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull @.str)
  %69 = load i64, ptr %2, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %68, i64 noundef %69)
  br label %191

71:                                               ; preds = %57
  %72 = icmp ugt i64 %62, %63
  br i1 %72, label %73, label %131

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %74 = load i64, ptr %2, align 8, !tbaa !5
  store i64 %74, ptr %8, align 8, !tbaa !5
  %75 = sub i64 %63, %62
  %76 = add i64 %75, %74
  store i64 %76, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %77 unwind label %.thread

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %78 = load i64, ptr %2, align 8, !tbaa !5
  %79 = load i64, ptr %5, align 8, !tbaa !5
  %80 = add i64 %79, %78
  %81 = load i64, ptr %4, align 8, !tbaa !5
  %82 = sub i64 %80, %81
  store i64 %82, ptr %10, align 8, !tbaa !5
  store i64 %78, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr nonnull %10, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %83 unwind label %109

83:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  store i64 0, ptr %12, align 8, !tbaa !5
  %84 = load i64, ptr %4, align 8, !tbaa !5
  %85 = load i64, ptr %5, align 8, !tbaa !5
  %86 = sub i64 %84, %85
  store i64 %86, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr nonnull %12, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %87 unwind label %111

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %88 = load i64, ptr %4, align 8, !tbaa !5
  %89 = load i64, ptr %5, align 8, !tbaa !5
  %90 = sub i64 %88, %89
  store i64 %90, ptr %14, align 8, !tbaa !5
  store i64 0, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr nonnull %14, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %91 unwind label %113

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaISt6vectorIySaIyEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt6vectorIS_IySaIyEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %7, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %92 unwind label %.loopexit91.loopexit

92:                                               ; preds = %91
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(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 16, ptr nonnull %12) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #5
  %93 = load i64, ptr %3, align 8, !tbaa !5
  %94 = add i64 %93, 3
  %95 = and i64 %94, 3
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IySaIyEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %95) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %96)
          to label %97 unwind label %125

97:                                               ; preds = %92
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0) #5
  %99 = load i64, ptr %98, align 8, !tbaa !5
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %99)
          to label %101 unwind label %127

101:                                              ; preds = %97
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @.str)
          to label %103 unwind label %127

103:                                              ; preds = %101
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 1) #5
  %105 = load i64, ptr %104, align 8, !tbaa !5
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %102, i64 noundef %105)
          to label %107 unwind label %127

107:                                              ; preds = %103
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %191

.thread:                                          ; preds = %73
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %.loopexit

109:                                              ; preds = %77
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %121

111:                                              ; preds = %83
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %120

113:                                              ; preds = %87
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit91

.loopexit91.loopexit:                             ; preds = %91
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  %116 = getelementptr inbounds i8, ptr %7, i64 72
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %116) #5
  %117 = getelementptr inbounds i8, ptr %7, i64 48
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %117) #5
  %118 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %118) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %.loopexit91

.loopexit91:                                      ; preds = %.loopexit91.loopexit, %113
  %119 = phi i1 [ false, %113 ], [ true, %.loopexit91.loopexit ]
  %.pn68 = phi { ptr, i32 } [ %114, %113 ], [ %115, %.loopexit91.loopexit ]
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %120

120:                                              ; preds = %.loopexit91, %111
  %.149 = phi i1 [ %119, %.loopexit91 ], [ false, %111 ]
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %.loopexit91 ], [ %112, %111 ]
  %.028 = phi ptr [ %45, %.loopexit91 ], [ %43, %111 ]
  call void @_ZNSt15__new_allocatorIyED2Ev(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 16, ptr nonnull %12) #5
  br label %121

121:                                              ; preds = %109, %120
  %.250 = phi i1 [ %.149, %120 ], [ false, %109 ]
  %.pn68.pn.pn = phi { ptr, i32 } [ %.pn68.pn, %120 ], [ %110, %109 ]
  %.129 = phi ptr [ %.028, %120 ], [ %41, %109 ]
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br i1 %.250, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %121, %.preheader
  %122 = phi ptr [ %123, %.preheader ], [ %.129, %121 ]
  %123 = getelementptr inbounds i8, ptr %122, i64 -24
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %123) #5
  %124 = icmp eq ptr %123, %7
  br i1 %124, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %121
  %.pn68.pn.pn.pn81 = phi { ptr, i32 } [ %108, %.thread ], [ %.pn68.pn.pn, %121 ], [ %.pn68.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #5
  br label %130

125:                                              ; preds = %92
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %103, %101, %97
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  br label %129

129:                                              ; preds = %127, %125
  %.pn73 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %130

130:                                              ; preds = %129, %.loopexit
  %.pn73.pn = phi { ptr, i32 } [ %.pn73, %129 ], [ %.pn68.pn.pn.pn81, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %193

131:                                              ; preds = %71
  %132 = icmp ugt i64 %63, %62
  br i1 %132, label %133, label %191

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %134 = load i64, ptr %2, align 8, !tbaa !5
  %135 = sub i64 %62, %63
  %136 = add i64 %135, %134
  store i64 %136, ptr %20, align 8, !tbaa !5
  store i64 %134, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr nonnull %20, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %137 unwind label %.thread82

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  %138 = load i64, ptr %2, align 8, !tbaa !5
  store i64 %138, ptr %22, align 8, !tbaa !5
  %139 = load i64, ptr %5, align 8, !tbaa !5
  %140 = sub i64 %138, %139
  %141 = load i64, ptr %4, align 8, !tbaa !5
  %142 = add i64 %140, %141
  store i64 %142, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr nonnull %22, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %143 unwind label %169

143:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  %144 = load i64, ptr %5, align 8, !tbaa !5
  %145 = load i64, ptr %4, align 8, !tbaa !5
  %146 = sub i64 %144, %145
  store i64 %146, ptr %24, align 8, !tbaa !5
  store i64 0, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr nonnull %24, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %147 unwind label %171

147:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #5
  store i64 0, ptr %26, align 8, !tbaa !5
  %148 = load i64, ptr %5, align 8, !tbaa !5
  %149 = load i64, ptr %4, align 8, !tbaa !5
  %150 = sub i64 %148, %149
  store i64 %150, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #5
  call void @_ZNSaIyEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ESt16initializer_listIyERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr nonnull %26, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %151 unwind label %173

151:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #5
  call void @_ZNSaISt6vectorIySaIyEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  invoke void @_ZNSt6vectorIS_IySaIyEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr nonnull %19, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %152 unwind label %.loopexit94.loopexit

152:                                              ; preds = %151
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #5
  %153 = load i64, ptr %3, align 8, !tbaa !5
  %154 = add i64 %153, 3
  %155 = and i64 %154, 3
  %156 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IySaIyEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %155) #5
  invoke void @_ZNSt6vectorIySaIyEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %156)
          to label %157 unwind label %185

157:                                              ; preds = %152
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #5
  %159 = load i64, ptr %158, align 8, !tbaa !5
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %159)
          to label %161 unwind label %187

161:                                              ; preds = %157
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef nonnull @.str)
          to label %163 unwind label %187

163:                                              ; preds = %161
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 1) #5
  %165 = load i64, ptr %164, align 8, !tbaa !5
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEy(ptr noundef nonnull align 8 dereferenceable(8) %162, i64 noundef %165)
          to label %167 unwind label %187

167:                                              ; preds = %163
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #5
  br label %191

.thread82:                                        ; preds = %133
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br label %.loopexit93

169:                                              ; preds = %137
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %181

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

173:                                              ; preds = %147
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit94

.loopexit94.loopexit:                             ; preds = %151
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIySaIyEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #5
  %176 = getelementptr inbounds i8, ptr %19, i64 72
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %176) #5
  %177 = getelementptr inbounds i8, ptr %19, i64 48
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %177) #5
  %178 = getelementptr inbounds i8, ptr %19, i64 24
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %178) #5
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  br label %.loopexit94

.loopexit94:                                      ; preds = %.loopexit94.loopexit, %173
  %.pn = phi { ptr, i32 } [ %174, %173 ], [ %175, %.loopexit94.loopexit ]
  %179 = phi i1 [ false, %173 ], [ true, %.loopexit94.loopexit ]
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  br label %180

180:                                              ; preds = %.loopexit94, %171
  %.052 = phi ptr [ %38, %.loopexit94 ], [ %36, %171 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit94 ], [ %172, %171 ]
  %.1 = phi i1 [ %179, %.loopexit94 ], [ false, %171 ]
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  br label %181

181:                                              ; preds = %169, %180
  %.153 = phi ptr [ %.052, %180 ], [ %34, %169 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %180 ], [ %170, %169 ]
  %.2 = phi i1 [ %.1, %180 ], [ false, %169 ]
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @_ZNSt15__new_allocatorIyED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br i1 %.2, label %.loopexit93, label %.preheader92

.preheader92:                                     ; preds = %181, %.preheader92
  %182 = phi ptr [ %183, %.preheader92 ], [ %.153, %181 ]
  %183 = getelementptr inbounds i8, ptr %182, i64 -24
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %183) #5
  %184 = icmp eq ptr %183, %19
  br i1 %184, label %.loopexit93, label %.preheader92

.loopexit93:                                      ; preds = %.preheader92, %.thread82, %181
  %.pn.pn.pn.pn87 = phi { ptr, i32 } [ %168, %.thread82 ], [ %.pn.pn.pn, %181 ], [ %.pn.pn.pn, %.preheader92 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %19) #5
  br label %190

185:                                              ; preds = %152
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %163, %161, %157
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  br label %189

189:                                              ; preds = %187, %185
  %.pn65 = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  call void @_ZNSt6vectorIS_IySaIyEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %190

190:                                              ; preds = %189, %.loopexit93
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %189 ], [ %.pn.pn.pn.pn87, %.loopexit93 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #5
  br label %193

191:                                              ; preds = %107, %167, %131, %65
  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
  %.pr = load i64, ptr %1, align 8, !tbaa !5
  %192 = add i64 %.pr, -1
  store i64 %192, ptr %1, align 8, !tbaa !5
  %.not59 = icmp eq i64 %.pr, 0
  br i1 %.not59, label %._crit_edge, label %53, !llvm.loop !9

193:                                              ; preds = %190, %130
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %130 ], [ %.pn65.pn, %190 ]
  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 } %.pn73.pn.pn

._crit_edge:                                      ; preds = %191, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret i32 0
}

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

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

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

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

; Function Attrs: 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 #3

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 @_ZNSt6vectorIySaIyEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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

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

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


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