; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2020-21/Dec/Bronze (rut_bronze)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.19" = type { i8 }
%"class.std::allocator.16" = type { i8 }
%"class.std::allocator.11" = type { i8 }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::_Bit_reference" = type { ptr, i64 }

@N = external dso_local global i32, align 4
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.3", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::vector.4", align 8
  %9 = alloca %"class.std::allocator.6", align 1
  %10 = alloca %"class.std::vector.9", align 8
  %11 = alloca %"class.std::vector.9", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.std::vector.14", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::allocator.19", align 1
  %20 = alloca %"class.std::allocator.16", align 1
  %21 = alloca %"class.std::vector.14", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::allocator.19", align 1
  %24 = alloca %"class.std::allocator.16", align 1
  %25 = alloca %"class.std::vector.9", align 8
  %26 = alloca %"class.std::allocator.11", align 1
  %27 = alloca %"class.std::vector.9", align 8
  %28 = alloca %"class.std::allocator.11", align 1
  %29 = alloca i32, align 4
  %30 = alloca %"struct.std::pair", align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.std::_Bit_reference", align 8
  %34 = alloca %"struct.std::_Bit_reference", align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"struct.std::_Bit_reference", align 8
  %39 = alloca %"struct.std::_Bit_reference", align 8
  %40 = alloca %"struct.std::_Bit_reference", align 8
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca %"struct.std::_Bit_reference", align 8
  %43 = alloca %"struct.std::_Bit_reference", align 8
  %44 = alloca %"struct.std::_Bit_reference", align 8
  %45 = alloca %"struct.std::_Bit_reference", align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %"struct.std::_Bit_reference", align 8
  %49 = alloca %"struct.std::_Bit_reference", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"struct.std::pair", align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca %"struct.std::_Bit_reference", align 8
  %55 = alloca i32, align 4
  %56 = alloca %"struct.std::_Bit_reference", align 8
  %57 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %58 unwind label %71

58:                                               ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %2)
          to label %59 unwind label %75

59:                                               ; preds = %58
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  call void @_Z2reIiEvRT_(ptr noundef nonnull align 4 dereferenceable(4) @N)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %60 = load i32, ptr @N, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIcSaIcEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %61, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %62 unwind label %80

62:                                               ; preds = %59
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %63 = load i32, ptr @N, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @_ZNSaISt4pairIiiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %64, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %65 unwind label %84

65:                                               ; preds = %62
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %111, %65
  %67 = load i32, ptr %12, align 4, !tbaa !5
  %68 = load i32, ptr @N, align 4, !tbaa !5
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %88, label %70

70:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %118

71:                                               ; preds = %0
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %4, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %5, align 4
  br label %79

75:                                               ; preds = %58
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %4, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  br label %688

80:                                               ; preds = %59
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %687

84:                                               ; preds = %62
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %4, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  br label %686

88:                                               ; preds = %66
  %89 = load i32, ptr %12, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %90) #6
  %92 = load i32, ptr %12, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %93) #6
  %95 = getelementptr inbounds %"struct.std::pair", ptr %94, i32 0, i32 0
  %96 = load i32, ptr %12, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %97) #6
  %99 = getelementptr inbounds %"struct.std::pair", ptr %98, i32 0, i32 1
  invoke void @_Z2reIcJiiEEvRT_DpRT0_(ptr noundef nonnull align 1 dereferenceable(1) %91, ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %99)
          to label %100 unwind label %114

100:                                              ; preds = %88
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %102) #6
  %104 = getelementptr inbounds %"struct.std::pair", ptr %103, i32 0, i32 0
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %104)
          to label %105 unwind label %114

105:                                              ; preds = %100
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %107) #6
  %109 = getelementptr inbounds %"struct.std::pair", ptr %108, i32 0, i32 1
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %109)
          to label %110 unwind label %114

110:                                              ; preds = %105
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %12, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %12, align 4, !tbaa !5
  br label %66, !llvm.loop !9

114:                                              ; preds = %105, %100, %88
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %4, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %685

118:                                              ; preds = %70
  %119 = invoke ptr @_ZSt5beginISt6vectorIiSaIiEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %120 unwind label %164

120:                                              ; preds = %118
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %119, ptr %121, align 8
  %122 = invoke ptr @_ZSt3endISt6vectorIiSaIiEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %123 unwind label %164

123:                                              ; preds = %120
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %122, ptr %124, align 8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %126, ptr %128)
          to label %129 unwind label %164

129:                                              ; preds = %123
  %130 = invoke ptr @_ZSt5beginISt6vectorIiSaIiEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %131 unwind label %164

131:                                              ; preds = %129
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %130, ptr %132, align 8
  %133 = invoke ptr @_ZSt3endISt6vectorIiSaIiEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %134 unwind label %164

134:                                              ; preds = %131
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %133, ptr %135, align 8
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %137, ptr %139)
          to label %140 unwind label %164

140:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  %141 = load i32, ptr @N, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #6
  %143 = load i32, ptr @N, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %18, i64 noundef %144, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %145 unwind label %168

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %142, ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %146 unwind label %172

146:                                              ; preds = %145
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  %147 = load i32, ptr @N, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #6
  %149 = load i32, ptr @N, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %150, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %151 unwind label %177

151:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %148, ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %152 unwind label %181

152:                                              ; preds = %151
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  %153 = load i32, ptr @N, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %154, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %155 unwind label %186

155:                                              ; preds = %152
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  %156 = load i32, ptr @N, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %157, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %158 unwind label %190

158:                                              ; preds = %155
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %280, %158
  %160 = load i32, ptr %29, align 4, !tbaa !5
  %161 = load i32, ptr @N, align 4, !tbaa !5
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %194, label %163

163:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %284

164:                                              ; preds = %134, %131, %129, %123, %120, %118
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %4, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %5, align 4
  br label %685

168:                                              ; preds = %140
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %4, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %5, align 4
  br label %176

172:                                              ; preds = %145
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %4, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  br label %176

176:                                              ; preds = %172, %168
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #6
  br label %684

177:                                              ; preds = %146
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %4, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %5, align 4
  br label %185

181:                                              ; preds = %151
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %4, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  br label %185

185:                                              ; preds = %181, %177
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  br label %683

186:                                              ; preds = %152
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %4, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %682

190:                                              ; preds = %155
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %4, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %681

194:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %195 = load i32, ptr %29, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %196) #6
  %198 = getelementptr inbounds %"struct.std::pair", ptr %197, i32 0, i32 0
  %199 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %198)
          to label %200 unwind label %247

200:                                              ; preds = %194
  store i32 %199, ptr %31, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %201 = load i32, ptr %29, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %202) #6
  %204 = getelementptr inbounds %"struct.std::pair", ptr %203, i32 0, i32 1
  %205 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %204)
          to label %206 unwind label %251

206:                                              ; preds = %200
  store i32 %205, ptr %32, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %207 unwind label %251

207:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  %208 = load i32, ptr %29, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %209) #6
  %211 = getelementptr inbounds %"struct.std::pair", ptr %210, i32 0, i32 0
  %212 = load i32, ptr %211, align 4, !tbaa !11
  %213 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 1
  %214 = load i32, ptr %213, align 4, !tbaa !13
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %215) #6
  store i32 %212, ptr %216, align 4, !tbaa !5
  %217 = load i32, ptr %29, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %218) #6
  %220 = getelementptr inbounds %"struct.std::pair", ptr %219, i32 0, i32 1
  %221 = load i32, ptr %220, align 4, !tbaa !13
  %222 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  %223 = load i32, ptr %222, align 4, !tbaa !11
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %224) #6
  store i32 %221, ptr %225, align 4, !tbaa !5
  %226 = load i32, ptr %29, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %227) #6
  %229 = load i8, ptr %228, align 1, !tbaa !14
  %230 = sext i8 %229 to i32
  %231 = icmp eq i32 %230, 78
  br i1 %231, label %232, label %260

232:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  %233 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  %234 = load i32, ptr %233, align 4, !tbaa !11
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %235) #6
  %237 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 1
  %238 = load i32, ptr %237, align 4, !tbaa !13
  %239 = sext i32 %238 to i64
  %240 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %236, i64 noundef %239)
          to label %241 unwind label %256

241:                                              ; preds = %232
  %242 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %243 = extractvalue { ptr, i64 } %240, 0
  store ptr %243, ptr %242, align 8
  %244 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %245 = extractvalue { ptr, i64 } %240, 1
  store i64 %245, ptr %244, align 8
  %246 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %33, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %279

247:                                              ; preds = %194
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %4, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %5, align 4
  br label %255

251:                                              ; preds = %206, %200
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %4, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %255

255:                                              ; preds = %251, %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %283

256:                                              ; preds = %232
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %4, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %283

260:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #6
  %261 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  %262 = load i32, ptr %261, align 4, !tbaa !11
  %263 = sext i32 %262 to i64
  %264 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %263) #6
  %265 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 1
  %266 = load i32, ptr %265, align 4, !tbaa !13
  %267 = sext i32 %266 to i64
  %268 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %264, i64 noundef %267)
          to label %269 unwind label %275

269:                                              ; preds = %260
  %270 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %271 = extractvalue { ptr, i64 } %268, 0
  store ptr %271, ptr %270, align 8
  %272 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %273 = extractvalue { ptr, i64 } %268, 1
  store i64 %273, ptr %272, align 8
  %274 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %34, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  br label %279

275:                                              ; preds = %260
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %4, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  br label %283

279:                                              ; preds = %269, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %29, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %29, align 4, !tbaa !5
  br label %159, !llvm.loop !15

283:                                              ; preds = %275, %256, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %680

284:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %285

285:                                              ; preds = %519, %284
  %286 = load i32, ptr %35, align 4, !tbaa !5
  %287 = load i32, ptr @N, align 4, !tbaa !5
  %288 = icmp slt i32 %286, %287
  br i1 %288, label %290, label %289

289:                                              ; preds = %285
  store i32 8, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %522

290:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store i32 0, ptr %37, align 4, !tbaa !5
  br label %291

291:                                              ; preds = %514, %290
  %292 = load i32, ptr %37, align 4, !tbaa !5
  %293 = load i32, ptr @N, align 4, !tbaa !5
  %294 = icmp slt i32 %292, %293
  br i1 %294, label %296, label %295

295:                                              ; preds = %291
  store i32 11, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %518

296:                                              ; preds = %291
  %297 = load i32, ptr %37, align 4, !tbaa !5
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %355

299:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  %300 = load i32, ptr %35, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %301) #6
  %303 = load i32, ptr %37, align 4, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %302, i64 noundef %304)
          to label %306 unwind label %341

306:                                              ; preds = %299
  %307 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %308 = extractvalue { ptr, i64 } %305, 0
  store ptr %308, ptr %307, align 8
  %309 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %310 = extractvalue { ptr, i64 } %305, 1
  store i64 %310, ptr %309, align 8
  %311 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %38) #6
  %312 = zext i1 %311 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #6
  %313 = load i32, ptr %35, align 4, !tbaa !5
  %314 = sext i32 %313 to i64
  %315 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %314) #6
  %316 = load i32, ptr %37, align 4, !tbaa !5
  %317 = sub nsw i32 %316, 1
  %318 = sext i32 %317 to i64
  %319 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %315, i64 noundef %318)
          to label %320 unwind label %345

320:                                              ; preds = %306
  %321 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %322 = extractvalue { ptr, i64 } %319, 0
  store ptr %322, ptr %321, align 8
  %323 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %324 = extractvalue { ptr, i64 } %319, 1
  store i64 %324, ptr %323, align 8
  %325 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %39) #6
  %326 = zext i1 %325 to i32
  %327 = or i32 %312, %326
  %328 = icmp ne i32 %327, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #6
  %329 = load i32, ptr %35, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %330) #6
  %332 = load i32, ptr %37, align 4, !tbaa !5
  %333 = sext i32 %332 to i64
  %334 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %331, i64 noundef %333)
          to label %335 unwind label %349

335:                                              ; preds = %320
  %336 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %337 = extractvalue { ptr, i64 } %334, 0
  store ptr %337, ptr %336, align 8
  %338 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %339 = extractvalue { ptr, i64 } %334, 1
  store i64 %339, ptr %338, align 8
  %340 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %40, i1 noundef zeroext %328) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  br label %355

341:                                              ; preds = %299
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %4, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %5, align 4
  br label %354

345:                                              ; preds = %306
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %4, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %5, align 4
  br label %353

349:                                              ; preds = %320
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %4, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  br label %353

353:                                              ; preds = %349, %345
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  br label %354

354:                                              ; preds = %353, %341
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  br label %517

355:                                              ; preds = %335, %296
  %356 = load i32, ptr %35, align 4, !tbaa !5
  %357 = icmp ne i32 %356, 0
  br i1 %357, label %358, label %414

358:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  %359 = load i32, ptr %35, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %360) #6
  %362 = load i32, ptr %37, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %361, i64 noundef %363)
          to label %365 unwind label %400

365:                                              ; preds = %358
  %366 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %367 = extractvalue { ptr, i64 } %364, 0
  store ptr %367, ptr %366, align 8
  %368 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %369 = extractvalue { ptr, i64 } %364, 1
  store i64 %369, ptr %368, align 8
  %370 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #6
  %371 = zext i1 %370 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  %372 = load i32, ptr %35, align 4, !tbaa !5
  %373 = sub nsw i32 %372, 1
  %374 = sext i32 %373 to i64
  %375 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %374) #6
  %376 = load i32, ptr %37, align 4, !tbaa !5
  %377 = sext i32 %376 to i64
  %378 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %375, i64 noundef %377)
          to label %379 unwind label %404

379:                                              ; preds = %365
  %380 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %381 = extractvalue { ptr, i64 } %378, 0
  store ptr %381, ptr %380, align 8
  %382 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %383 = extractvalue { ptr, i64 } %378, 1
  store i64 %383, ptr %382, align 8
  %384 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #6
  %385 = zext i1 %384 to i32
  %386 = or i32 %371, %385
  %387 = icmp ne i32 %386, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  %388 = load i32, ptr %35, align 4, !tbaa !5
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %389) #6
  %391 = load i32, ptr %37, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %390, i64 noundef %392)
          to label %394 unwind label %408

394:                                              ; preds = %379
  %395 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %396 = extractvalue { ptr, i64 } %393, 0
  store ptr %396, ptr %395, align 8
  %397 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %398 = extractvalue { ptr, i64 } %393, 1
  store i64 %398, ptr %397, align 8
  %399 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %43, i1 noundef zeroext %387) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  br label %414

400:                                              ; preds = %358
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %4, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %5, align 4
  br label %413

404:                                              ; preds = %365
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %4, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %5, align 4
  br label %412

408:                                              ; preds = %379
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %4, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  br label %412

412:                                              ; preds = %408, %404
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %413

413:                                              ; preds = %412, %400
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  br label %517

414:                                              ; preds = %394, %355
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  %415 = load i32, ptr %35, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %416) #6
  %418 = load i32, ptr %37, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #6
  %420 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %417, i64 noundef %419)
          to label %421 unwind label %477

421:                                              ; preds = %414
  %422 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %423 = extractvalue { ptr, i64 } %420, 0
  store ptr %423, ptr %422, align 8
  %424 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %425 = extractvalue { ptr, i64 } %420, 1
  store i64 %425, ptr %424, align 8
  %426 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %44) #6
  br i1 %426, label %427, label %440

427:                                              ; preds = %421
  %428 = load i32, ptr %35, align 4, !tbaa !5
  %429 = sext i32 %428 to i64
  %430 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %429) #6
  %431 = load i32, ptr %37, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %430, i64 noundef %432)
          to label %434 unwind label %481

434:                                              ; preds = %427
  %435 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 0
  %436 = extractvalue { ptr, i64 } %433, 0
  store ptr %436, ptr %435, align 8
  %437 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 1
  %438 = extractvalue { ptr, i64 } %433, 1
  store i64 %438, ptr %437, align 8
  %439 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %45) #6
  br label %440

440:                                              ; preds = %434, %421
  %441 = phi i1 [ false, %421 ], [ %439, %434 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  br i1 %441, label %442, label %513

442:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %443 = load i32, ptr %35, align 4, !tbaa !5
  %444 = sext i32 %443 to i64
  %445 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %444) #6
  %446 = load i32, ptr %445, align 4, !tbaa !5
  %447 = load i32, ptr %37, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %448) #6
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = sub nsw i32 %446, %450
  store i32 %451, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %452 = load i32, ptr %37, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %453) #6
  %455 = load i32, ptr %454, align 4, !tbaa !5
  %456 = load i32, ptr %35, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %457) #6
  %459 = load i32, ptr %458, align 4, !tbaa !5
  %460 = sub nsw i32 %455, %459
  store i32 %460, ptr %47, align 4, !tbaa !5
  %461 = load i32, ptr %47, align 4, !tbaa !5
  %462 = load i32, ptr %46, align 4, !tbaa !5
  %463 = icmp sgt i32 %461, %462
  br i1 %463, label %464, label %490

464:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #6
  %465 = load i32, ptr %35, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %466) #6
  %468 = load i32, ptr %37, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %467, i64 noundef %469)
          to label %471 unwind label %486

471:                                              ; preds = %464
  %472 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 0
  %473 = extractvalue { ptr, i64 } %470, 0
  store ptr %473, ptr %472, align 8
  %474 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 1
  %475 = extractvalue { ptr, i64 } %470, 1
  store i64 %475, ptr %474, align 8
  %476 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %48, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #6
  br label %490

477:                                              ; preds = %414
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %4, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %5, align 4
  br label %485

481:                                              ; preds = %427
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %4, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  br label %485

485:                                              ; preds = %481, %477
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  br label %517

486:                                              ; preds = %464
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %4, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #6
  br label %512

490:                                              ; preds = %471, %442
  %491 = load i32, ptr %47, align 4, !tbaa !5
  %492 = load i32, ptr %46, align 4, !tbaa !5
  %493 = icmp slt i32 %491, %492
  br i1 %493, label %494, label %511

494:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #6
  %495 = load i32, ptr %35, align 4, !tbaa !5
  %496 = sext i32 %495 to i64
  %497 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %496) #6
  %498 = load i32, ptr %37, align 4, !tbaa !5
  %499 = sext i32 %498 to i64
  %500 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %497, i64 noundef %499)
          to label %501 unwind label %507

501:                                              ; preds = %494
  %502 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 0
  %503 = extractvalue { ptr, i64 } %500, 0
  store ptr %503, ptr %502, align 8
  %504 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 1
  %505 = extractvalue { ptr, i64 } %500, 1
  store i64 %505, ptr %504, align 8
  %506 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %49, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #6
  br label %511

507:                                              ; preds = %494
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %4, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #6
  br label %512

511:                                              ; preds = %501, %490
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %513

512:                                              ; preds = %507, %486
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %517

513:                                              ; preds = %511, %440
  br label %514

514:                                              ; preds = %513
  %515 = load i32, ptr %37, align 4, !tbaa !5
  %516 = add nsw i32 %515, 1
  store i32 %516, ptr %37, align 4, !tbaa !5
  br label %291, !llvm.loop !16

517:                                              ; preds = %512, %485, %413, %354
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %680

518:                                              ; preds = %295
  br label %519

519:                                              ; preds = %518
  %520 = load i32, ptr %35, align 4, !tbaa !5
  %521 = add nsw i32 %520, 1
  store i32 %521, ptr %35, align 4, !tbaa !5
  br label %285, !llvm.loop !17

522:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %523

523:                                              ; preds = %674, %522
  %524 = load i32, ptr %50, align 4, !tbaa !5
  %525 = load i32, ptr @N, align 4, !tbaa !5
  %526 = icmp slt i32 %524, %525
  br i1 %526, label %528, label %527

527:                                              ; preds = %523
  store i32 14, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  br label %678

528:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %529 = load i32, ptr %50, align 4, !tbaa !5
  %530 = sext i32 %529 to i64
  %531 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %530) #6
  %532 = getelementptr inbounds %"struct.std::pair", ptr %531, i32 0, i32 0
  %533 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %532)
          to label %534 unwind label %575

534:                                              ; preds = %528
  store i32 %533, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %535 = load i32, ptr %50, align 4, !tbaa !5
  %536 = sext i32 %535 to i64
  %537 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %536) #6
  %538 = getelementptr inbounds %"struct.std::pair", ptr %537, i32 0, i32 1
  %539 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %538)
          to label %540 unwind label %579

540:                                              ; preds = %534
  store i32 %539, ptr %53, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53)
          to label %541 unwind label %579

541:                                              ; preds = %540
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  %542 = load i32, ptr %50, align 4, !tbaa !5
  %543 = sext i32 %542 to i64
  %544 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %543) #6
  %545 = load i8, ptr %544, align 1, !tbaa !14
  %546 = sext i8 %545 to i32
  %547 = icmp eq i32 %546, 78
  br i1 %547, label %548, label %617

548:                                              ; preds = %541
  br label %549

549:                                              ; preds = %571, %548
  %550 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %551 = load i32, ptr %550, align 4, !tbaa !13
  %552 = load i32, ptr @N, align 4, !tbaa !5
  %553 = icmp slt i32 %551, %552
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #6
  br i1 %553, label %554, label %569

554:                                              ; preds = %549
  %555 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %556 = load i32, ptr %555, align 4, !tbaa !11
  %557 = sext i32 %556 to i64
  %558 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %557) #6
  %559 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %560 = load i32, ptr %559, align 4, !tbaa !13
  %561 = sext i32 %560 to i64
  %562 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %558, i64 noundef %561)
          to label %563 unwind label %584

563:                                              ; preds = %554
  %564 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 0
  %565 = extractvalue { ptr, i64 } %562, 0
  store ptr %565, ptr %564, align 8
  %566 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 1
  %567 = extractvalue { ptr, i64 } %562, 1
  store i64 %567, ptr %566, align 8
  %568 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %54) #6
  br label %569

569:                                              ; preds = %563, %549
  %570 = phi i1 [ false, %549 ], [ %568, %563 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #6
  br i1 %570, label %571, label %588

571:                                              ; preds = %569
  %572 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %573 = load i32, ptr %572, align 4, !tbaa !13
  %574 = add nsw i32 %573, 1
  store i32 %574, ptr %572, align 4, !tbaa !13
  br label %549, !llvm.loop !18

575:                                              ; preds = %528
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %4, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %5, align 4
  br label %583

579:                                              ; preds = %540, %534
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %4, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  br label %583

583:                                              ; preds = %579, %575
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  br label %677

584:                                              ; preds = %554
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %4, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #6
  br label %677

588:                                              ; preds = %569
  %589 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %590 = load i32, ptr %589, align 4, !tbaa !13
  %591 = load i32, ptr @N, align 4, !tbaa !5
  %592 = icmp eq i32 %590, %591
  br i1 %592, label %593, label %599

593:                                              ; preds = %588
  invoke void @_Z2psIA9_cJEEvRKT_DpRKT0_(ptr noundef nonnull align 1 dereferenceable(9) @.str.11)
          to label %594 unwind label %595

594:                                              ; preds = %593
  br label %616

595:                                              ; preds = %653, %593
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %4, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %5, align 4
  br label %677

599:                                              ; preds = %588
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  %600 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %601 = load i32, ptr %600, align 4, !tbaa !13
  %602 = sext i32 %601 to i64
  %603 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %602) #6
  %604 = load i32, ptr %603, align 4, !tbaa !5
  %605 = load i32, ptr %50, align 4, !tbaa !5
  %606 = sext i32 %605 to i64
  %607 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %606) #6
  %608 = getelementptr inbounds %"struct.std::pair", ptr %607, i32 0, i32 1
  %609 = load i32, ptr %608, align 4, !tbaa !13
  %610 = sub nsw i32 %604, %609
  store i32 %610, ptr %55, align 4, !tbaa !5
  invoke void @_Z2psIiJEEvRKT_DpRKT0_(ptr noundef nonnull align 4 dereferenceable(4) %55)
          to label %611 unwind label %612

611:                                              ; preds = %599
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br label %616

612:                                              ; preds = %599
  %613 = landingpad { ptr, i32 }
          cleanup
  %614 = extractvalue { ptr, i32 } %613, 0
  store ptr %614, ptr %4, align 8
  %615 = extractvalue { ptr, i32 } %613, 1
  store i32 %615, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br label %677

616:                                              ; preds = %611, %594
  br label %673

617:                                              ; preds = %541
  br label %618

618:                                              ; preds = %640, %617
  %619 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %620 = load i32, ptr %619, align 4, !tbaa !11
  %621 = load i32, ptr @N, align 4, !tbaa !5
  %622 = icmp slt i32 %620, %621
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #6
  br i1 %622, label %623, label %638

623:                                              ; preds = %618
  %624 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %625 = load i32, ptr %624, align 4, !tbaa !11
  %626 = sext i32 %625 to i64
  %627 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %626) #6
  %628 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 1
  %629 = load i32, ptr %628, align 4, !tbaa !13
  %630 = sext i32 %629 to i64
  %631 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %627, i64 noundef %630)
          to label %632 unwind label %644

632:                                              ; preds = %623
  %633 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 0
  %634 = extractvalue { ptr, i64 } %631, 0
  store ptr %634, ptr %633, align 8
  %635 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 1
  %636 = extractvalue { ptr, i64 } %631, 1
  store i64 %636, ptr %635, align 8
  %637 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %56) #6
  br label %638

638:                                              ; preds = %632, %618
  %639 = phi i1 [ false, %618 ], [ %637, %632 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #6
  br i1 %639, label %640, label %648

640:                                              ; preds = %638
  %641 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %642 = load i32, ptr %641, align 4, !tbaa !11
  %643 = add nsw i32 %642, 1
  store i32 %643, ptr %641, align 4, !tbaa !11
  br label %618, !llvm.loop !19

644:                                              ; preds = %623
  %645 = landingpad { ptr, i32 }
          cleanup
  %646 = extractvalue { ptr, i32 } %645, 0
  store ptr %646, ptr %4, align 8
  %647 = extractvalue { ptr, i32 } %645, 1
  store i32 %647, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #6
  br label %677

648:                                              ; preds = %638
  %649 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %650 = load i32, ptr %649, align 4, !tbaa !11
  %651 = load i32, ptr @N, align 4, !tbaa !5
  %652 = icmp eq i32 %650, %651
  br i1 %652, label %653, label %655

653:                                              ; preds = %648
  invoke void @_Z2psIA9_cJEEvRKT_DpRKT0_(ptr noundef nonnull align 1 dereferenceable(9) @.str.11)
          to label %654 unwind label %595

654:                                              ; preds = %653
  br label %672

655:                                              ; preds = %648
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %656 = getelementptr inbounds %"struct.std::pair", ptr %51, i32 0, i32 0
  %657 = load i32, ptr %656, align 4, !tbaa !11
  %658 = sext i32 %657 to i64
  %659 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %658) #6
  %660 = load i32, ptr %659, align 4, !tbaa !5
  %661 = load i32, ptr %50, align 4, !tbaa !5
  %662 = sext i32 %661 to i64
  %663 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %662) #6
  %664 = getelementptr inbounds %"struct.std::pair", ptr %663, i32 0, i32 0
  %665 = load i32, ptr %664, align 4, !tbaa !11
  %666 = sub nsw i32 %660, %665
  store i32 %666, ptr %57, align 4, !tbaa !5
  invoke void @_Z2psIiJEEvRKT_DpRKT0_(ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %667 unwind label %668

667:                                              ; preds = %655
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  br label %672

668:                                              ; preds = %655
  %669 = landingpad { ptr, i32 }
          cleanup
  %670 = extractvalue { ptr, i32 } %669, 0
  store ptr %670, ptr %4, align 8
  %671 = extractvalue { ptr, i32 } %669, 1
  store i32 %671, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  br label %677

672:                                              ; preds = %667, %654
  br label %673

673:                                              ; preds = %672, %616
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  br label %674

674:                                              ; preds = %673
  %675 = load i32, ptr %50, align 4, !tbaa !5
  %676 = add nsw i32 %675, 1
  store i32 %676, ptr %50, align 4, !tbaa !5
  br label %523, !llvm.loop !20

677:                                              ; preds = %668, %644, %612, %595, %584, %583
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  br label %680

678:                                              ; preds = %527
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  %679 = load i32, ptr %1, align 4
  ret i32 %679

680:                                              ; preds = %677, %517, %283
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  br label %681

681:                                              ; preds = %680, %190
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %682

682:                                              ; preds = %681, %186
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %683

683:                                              ; preds = %682, %185
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %684

684:                                              ; preds = %683, %176
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %685

685:                                              ; preds = %684, %164, %114
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %686

686:                                              ; preds = %685, %84
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %687

687:                                              ; preds = %686, %80
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  br label %688

688:                                              ; preds = %687, %79
  %689 = load ptr, ptr %4, align 8
  %690 = load i32, ptr %5, align 4
  %691 = insertvalue { ptr, i32 } poison, ptr %689, 0
  %692 = insertvalue { ptr, i32 } %691, i32 %690, 1
  resume { ptr, i32 } %692
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) #4

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2psIA9_cJEEvRKT_DpRKT0_(ptr noundef nonnull align 1 dereferenceable(9)) #2

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.19" = type { i8 }
%"class.std::allocator.16" = type { i8 }
%"class.std::allocator.11" = type { i8 }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::_Bit_reference" = type { ptr, i64 }

@N = external dso_local global i32, align 4
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::allocator", align 1
  %3 = alloca %"class.std::vector.3", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::vector.4", align 8
  %6 = alloca %"class.std::allocator.6", align 1
  %7 = alloca %"class.std::vector.9", align 8
  %8 = alloca %"class.std::vector.9", align 8
  %9 = alloca %"class.std::vector.14", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::allocator.19", align 1
  %12 = alloca %"class.std::allocator.16", align 1
  %13 = alloca %"class.std::vector.14", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::allocator.19", align 1
  %16 = alloca %"class.std::allocator.16", align 1
  %17 = alloca %"class.std::vector.9", align 8
  %18 = alloca %"class.std::allocator.11", align 1
  %19 = alloca %"class.std::vector.9", align 8
  %20 = alloca %"class.std::allocator.11", align 1
  %21 = alloca %"struct.std::pair", align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca %"struct.std::_Bit_reference", align 8
  %27 = alloca %"struct.std::_Bit_reference", align 8
  %28 = alloca %"struct.std::_Bit_reference", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %"struct.std::_Bit_reference", align 8
  %31 = alloca %"struct.std::_Bit_reference", align 8
  %32 = alloca %"struct.std::_Bit_reference", align 8
  %33 = alloca %"struct.std::_Bit_reference", align 8
  %34 = alloca %"struct.std::_Bit_reference", align 8
  %35 = alloca %"struct.std::_Bit_reference", align 8
  %36 = alloca %"struct.std::pair", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca %"struct.std::_Bit_reference", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %43 unwind label %55

43:                                               ; preds = %0
  invoke void @_Z5setIONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %1)
          to label %44 unwind label %57

44:                                               ; preds = %43
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @_Z2reIiEvRT_(ptr noundef nonnull align 4 dereferenceable(4) @N)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %45 = load i32, ptr @N, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIcSaIcEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %46, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %47 unwind label %60

47:                                               ; preds = %44
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %48 = load i32, ptr @N, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaISt4pairIiiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %49, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %50 unwind label %62

50:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %51 = load i32, ptr @N, align 4, !tbaa !5
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %73, %50
  %53 = call ptr @_ZSt5beginISt6vectorIiSaIiEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %7)
  %54 = call ptr @_ZSt3endISt6vectorIiSaIiEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %7)
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %53, ptr %54)
          to label %79 unwind label %113

55:                                               ; preds = %0
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %43
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %59

59:                                               ; preds = %57, %55
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  br label %462

60:                                               ; preds = %44
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %461

62:                                               ; preds = %47
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %460

.lr.ph:                                           ; preds = %50, %73
  %indvars.iv = phi i64 [ %indvars.iv.next, %73 ], [ 0, %50 ]
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #6
  %65 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %66 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %67 = getelementptr inbounds i8, ptr %66, i64 4
  invoke void @_Z2reIcJiiEEvRT_DpRT0_(ptr noundef nonnull align 1 dereferenceable(1) %64, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %68 unwind label %77

68:                                               ; preds = %.lr.ph
  %69 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %69)
          to label %70 unwind label %77

70:                                               ; preds = %68
  %71 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %72 = getelementptr inbounds i8, ptr %71, i64 4
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %73 unwind label %77

73:                                               ; preds = %70
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %74 = load i32, ptr @N, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next, %75
  br i1 %76, label %.lr.ph, label %._crit_edge, !llvm.loop !9

77:                                               ; preds = %70, %68, %.lr.ph
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %459

79:                                               ; preds = %._crit_edge
  %80 = call ptr @_ZSt5beginISt6vectorIiSaIiEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %81 = call ptr @_ZSt3endISt6vectorIiSaIiEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %8)
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %80, ptr %81)
          to label %82 unwind label %113

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %83 = load i32, ptr @N, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #6
  %84 = sext i32 %83 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %10, i64 noundef %84, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %85 unwind label %115

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %84, ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %86 unwind label %117

86:                                               ; preds = %85
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  %87 = load i32, ptr @N, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #6
  %88 = sext i32 %87 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %14, i64 noundef %88, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %89 unwind label %120

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaISt6vectorIbSaIbEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIS_IbSaIbEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %88, ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %90 unwind label %122

90:                                               ; preds = %89
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  %91 = load i32, ptr @N, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %92, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %93 unwind label %125

93:                                               ; preds = %90
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  %94 = load i32, ptr @N, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %95, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %96 unwind label %127

96:                                               ; preds = %93
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  %97 = load i32, ptr @N, align 4, !tbaa !5
  %98 = icmp sgt i32 %97, 0
  br i1 %98, label %.lr.ph137, label %._crit_edge146

.lr.ph137:                                        ; preds = %96
  %99 = getelementptr inbounds i8, ptr %21, i64 4
  %100 = getelementptr inbounds i8, ptr %25, i64 8
  %101 = getelementptr inbounds i8, ptr %24, i64 8
  br label %129

.preheader131:                                    ; preds = %182
  %102 = icmp sgt i32 %183, 0
  br i1 %102, label %.preheader130.preheader, label %._crit_edge146

.preheader130.preheader:                          ; preds = %.preheader131
  %103 = getelementptr inbounds i8, ptr %26, i64 8
  %104 = getelementptr inbounds i8, ptr %27, i64 8
  %105 = getelementptr inbounds i8, ptr %28, i64 8
  %106 = getelementptr inbounds i8, ptr %29, i64 8
  %107 = getelementptr inbounds i8, ptr %30, i64 8
  %108 = getelementptr inbounds i8, ptr %31, i64 8
  %109 = getelementptr inbounds i8, ptr %32, i64 8
  %110 = getelementptr inbounds i8, ptr %33, i64 8
  %111 = getelementptr inbounds i8, ptr %34, i64 8
  %112 = getelementptr inbounds i8, ptr %35, i64 8
  br label %.preheader130

113:                                              ; preds = %79, %._crit_edge
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %459

115:                                              ; preds = %82
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %85
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  br label %119

119:                                              ; preds = %117, %115
  %.pn93 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #6
  br label %458

120:                                              ; preds = %86
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %89
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIbSaIbEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #6
  br label %124

124:                                              ; preds = %122, %120
  %.pn95 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #6
  br label %457

125:                                              ; preds = %90
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  br label %456

127:                                              ; preds = %93
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  br label %455

129:                                              ; preds = %.lr.ph137, %182
  %indvars.iv149 = phi i64 [ 0, %.lr.ph137 ], [ %indvars.iv.next150, %182 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  %130 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv149) #6
  %131 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %130)
          to label %132 unwind label %162

132:                                              ; preds = %129
  store i32 %131, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  %133 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv149) #6
  %134 = getelementptr inbounds i8, ptr %133, i64 4
  %135 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %134)
          to label %136 unwind label %164

136:                                              ; preds = %132
  store i32 %135, ptr %23, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  %137 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv149) #6
  %138 = load i32, ptr %137, align 4, !tbaa !11
  %139 = load i32, ptr %99, align 4, !tbaa !13
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %140) #6
  store i32 %138, ptr %141, align 4, !tbaa !5
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv149) #6
  %143 = getelementptr inbounds i8, ptr %142, i64 4
  %144 = load i32, ptr %143, align 4, !tbaa !13
  %145 = load i32, ptr %21, align 4, !tbaa !11
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %146) #6
  store i32 %144, ptr %147, align 4, !tbaa !5
  %148 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv149) #6
  %149 = load i8, ptr %148, align 1, !tbaa !14
  %150 = icmp eq i8 %149, 78
  br i1 %150, label %151, label %169

151:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  %152 = load i32, ptr %21, align 4, !tbaa !11
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %153) #6
  %155 = load i32, ptr %99, align 4, !tbaa !13
  %156 = sext i32 %155 to i64
  %157 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %154, i64 noundef %156)
          to label %158 unwind label %167

158:                                              ; preds = %151
  %159 = extractvalue { ptr, i64 } %157, 0
  store ptr %159, ptr %24, align 8
  %160 = extractvalue { ptr, i64 } %157, 1
  store i64 %160, ptr %101, align 8
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %24, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  br label %182

162:                                              ; preds = %129
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %166

164:                                              ; preds = %132
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %166

166:                                              ; preds = %164, %162
  %.pn113 = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %186

167:                                              ; preds = %151
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  br label %186

169:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #6
  %170 = load i32, ptr %21, align 4, !tbaa !11
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %171) #6
  %173 = load i32, ptr %99, align 4, !tbaa !13
  %174 = sext i32 %173 to i64
  %175 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %172, i64 noundef %174)
          to label %176 unwind label %180

176:                                              ; preds = %169
  %177 = extractvalue { ptr, i64 } %175, 0
  store ptr %177, ptr %25, align 8
  %178 = extractvalue { ptr, i64 } %175, 1
  store i64 %178, ptr %100, align 8
  %179 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %25, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  br label %182

180:                                              ; preds = %169
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #6
  br label %186

182:                                              ; preds = %176, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %183 = load i32, ptr @N, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = icmp slt i64 %indvars.iv.next150, %184
  br i1 %185, label %129, label %.preheader131, !llvm.loop !15

186:                                              ; preds = %180, %167, %166
  %.pn115 = phi { ptr, i32 } [ %168, %167 ], [ %181, %180 ], [ %.pn113, %166 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br label %454

.preheader130:                                    ; preds = %.preheader130.preheader, %._crit_edge140
  %187 = phi i32 [ %183, %.preheader130.preheader ], [ %260, %._crit_edge140 ]
  %indvars.iv202 = phi i64 [ 0, %.preheader130.preheader ], [ %indvars.iv.next203, %._crit_edge140 ]
  %188 = icmp sgt i32 %187, 0
  br i1 %188, label %189, label %._crit_edge140

189:                                              ; preds = %.preheader130
  %.not104 = icmp eq i64 %indvars.iv202, 0
  %190 = add nsw i64 %indvars.iv202, -1
  br i1 %.not104, label %211, label %191

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #6
  %192 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %193 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %192, i64 noundef 0)
          to label %194 unwind label %.loopexit.split-lp168

194:                                              ; preds = %191
  %195 = extractvalue { ptr, i64 } %193, 0
  store ptr %195, ptr %29, align 8
  %196 = extractvalue { ptr, i64 } %193, 1
  store i64 %196, ptr %106, align 8
  %197 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  %198 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %190) #6
  %199 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %198, i64 noundef 0)
          to label %200 unwind label %.loopexit.split-lp173

200:                                              ; preds = %194
  %201 = extractvalue { ptr, i64 } %199, 0
  store ptr %201, ptr %30, align 8
  %202 = extractvalue { ptr, i64 } %199, 1
  store i64 %202, ptr %107, align 8
  %203 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #6
  %204 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %205 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %204, i64 noundef 0)
          to label %206 unwind label %.loopexit.split-lp178

206:                                              ; preds = %200
  %207 = or i1 %197, %203
  %208 = extractvalue { ptr, i64 } %205, 0
  store ptr %208, ptr %31, align 8
  %209 = extractvalue { ptr, i64 } %205, 1
  store i64 %209, ptr %108, align 8
  %210 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %31, i1 noundef zeroext %207) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  br label %211

211:                                              ; preds = %206, %189
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #6
  %212 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #6
  %213 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %212, i64 noundef 0)
          to label %214 unwind label %.loopexit.split-lp183

214:                                              ; preds = %211
  %215 = extractvalue { ptr, i64 } %213, 0
  store ptr %215, ptr %32, align 8
  %216 = extractvalue { ptr, i64 } %213, 1
  store i64 %216, ptr %109, align 8
  %217 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #6
  br i1 %217, label %218, label %.critedge.peel

.critedge.peel:                                   ; preds = %214
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br label %253

218:                                              ; preds = %214
  %219 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %220 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %219, i64 noundef 0)
          to label %221 unwind label %.loopexit.split-lp188

221:                                              ; preds = %218
  %222 = extractvalue { ptr, i64 } %220, 0
  store ptr %222, ptr %33, align 8
  %223 = extractvalue { ptr, i64 } %220, 1
  store i64 %223, ptr %110, align 8
  %224 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br i1 %224, label %225, label %253

225:                                              ; preds = %221
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv202) #6
  %227 = load i32, ptr %226, align 4, !tbaa !5
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0) #6
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = sub nsw i32 %227, %229
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #6
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv202) #6
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = sub nsw i32 %232, %234
  %236 = icmp sgt i32 %235, %230
  br i1 %236, label %237, label %244

237:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #6
  %238 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  %239 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %238, i64 noundef 0)
          to label %240 unwind label %.loopexit.split-lp193

240:                                              ; preds = %237
  %241 = extractvalue { ptr, i64 } %239, 0
  store ptr %241, ptr %34, align 8
  %242 = extractvalue { ptr, i64 } %239, 1
  store i64 %242, ptr %111, align 8
  %243 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %34, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #6
  br label %244

244:                                              ; preds = %240, %225
  %245 = icmp slt i32 %235, %230
  br i1 %245, label %246, label %253

246:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #6
  %247 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %248 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %247, i64 noundef 0)
          to label %249 unwind label %.loopexit.split-lp198

249:                                              ; preds = %246
  %250 = extractvalue { ptr, i64 } %248, 0
  store ptr %250, ptr %35, align 8
  %251 = extractvalue { ptr, i64 } %248, 1
  store i64 %251, ptr %112, align 8
  %252 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %35, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %253

253:                                              ; preds = %249, %244, %221, %.critedge.peel
  %254 = load i32, ptr @N, align 4, !tbaa !5
  %255 = icmp sgt i32 %254, 1
  br i1 %255, label %.peel.next, label %._crit_edge140

.preheader129:                                    ; preds = %._crit_edge140
  %256 = icmp sgt i32 %260, 0
  br i1 %256, label %.lr.ph145, label %._crit_edge146

.lr.ph145:                                        ; preds = %.preheader129
  %257 = getelementptr inbounds i8, ptr %36, i64 4
  %258 = getelementptr inbounds i8, ptr %41, i64 8
  %259 = getelementptr inbounds i8, ptr %39, i64 8
  br label %361

._crit_edge140:                                   ; preds = %357, %253, %.preheader130
  %260 = phi i32 [ %187, %.preheader130 ], [ %254, %253 ], [ %358, %357 ]
  %indvars.iv.next203 = add nuw nsw i64 %indvars.iv202, 1
  %261 = sext i32 %260 to i64
  %262 = icmp slt i64 %indvars.iv.next203, %261
  br i1 %262, label %.preheader130, label %.preheader129, !llvm.loop !16

.peel.next:                                       ; preds = %253, %357
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %357 ], [ 1, %253 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #6
  %263 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  %264 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %263, i64 noundef %indvars.iv152)
          to label %265 unwind label %278

265:                                              ; preds = %.peel.next
  %266 = extractvalue { ptr, i64 } %264, 0
  store ptr %266, ptr %26, align 8
  %267 = extractvalue { ptr, i64 } %264, 1
  store i64 %267, ptr %103, align 8
  %268 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #6
  %269 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  %270 = add nsw i64 %indvars.iv152, -1
  %271 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %269, i64 noundef %270)
          to label %272 unwind label %279

272:                                              ; preds = %265
  %273 = extractvalue { ptr, i64 } %271, 0
  store ptr %273, ptr %27, align 8
  %274 = extractvalue { ptr, i64 } %271, 1
  store i64 %274, ptr %104, align 8
  %275 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #6
  %276 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  %277 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %276, i64 noundef %indvars.iv152)
          to label %283 unwind label %280

278:                                              ; preds = %.peel.next
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %282

279:                                              ; preds = %265
  %lpad.loopexit159 = landingpad { ptr, i32 }
          cleanup
  br label %281

280:                                              ; preds = %272
  %lpad.loopexit164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  br label %281

281:                                              ; preds = %280, %279
  %.pn101 = phi { ptr, i32 } [ %lpad.loopexit164, %280 ], [ %lpad.loopexit159, %279 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #6
  br label %282

282:                                              ; preds = %281, %278
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %281 ], [ %lpad.loopexit, %278 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #6
  br label %454

283:                                              ; preds = %272
  %284 = or i1 %268, %275
  %285 = extractvalue { ptr, i64 } %277, 0
  store ptr %285, ptr %28, align 8
  %286 = extractvalue { ptr, i64 } %277, 1
  store i64 %286, ptr %105, align 8
  %287 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %28, i1 noundef zeroext %284) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #6
  br i1 %.not104, label %311, label %288

288:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #6
  %289 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %290 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %289, i64 noundef %indvars.iv152)
          to label %291 unwind label %.loopexit167

291:                                              ; preds = %288
  %292 = extractvalue { ptr, i64 } %290, 0
  store ptr %292, ptr %29, align 8
  %293 = extractvalue { ptr, i64 } %290, 1
  store i64 %293, ptr %106, align 8
  %294 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  %295 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %190) #6
  %296 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %295, i64 noundef %indvars.iv152)
          to label %297 unwind label %.loopexit172

297:                                              ; preds = %291
  %298 = extractvalue { ptr, i64 } %296, 0
  store ptr %298, ptr %30, align 8
  %299 = extractvalue { ptr, i64 } %296, 1
  store i64 %299, ptr %107, align 8
  %300 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #6
  %301 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %302 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %301, i64 noundef %indvars.iv152)
          to label %303 unwind label %.loopexit177

303:                                              ; preds = %297
  %304 = or i1 %294, %300
  %305 = extractvalue { ptr, i64 } %302, 0
  store ptr %305, ptr %31, align 8
  %306 = extractvalue { ptr, i64 } %302, 1
  store i64 %306, ptr %108, align 8
  %307 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %31, i1 noundef zeroext %304) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  br label %311

.loopexit167:                                     ; preds = %288
  %lpad.loopexit169 = landingpad { ptr, i32 }
          cleanup
  br label %310

.loopexit.split-lp168:                            ; preds = %191
  %lpad.loopexit.split-lp170 = landingpad { ptr, i32 }
          cleanup
  br label %310

.loopexit172:                                     ; preds = %291
  %lpad.loopexit174 = landingpad { ptr, i32 }
          cleanup
  br label %309

.loopexit.split-lp173:                            ; preds = %194
  %lpad.loopexit.split-lp175 = landingpad { ptr, i32 }
          cleanup
  br label %309

.loopexit177:                                     ; preds = %297
  %lpad.loopexit179 = landingpad { ptr, i32 }
          cleanup
  br label %308

.loopexit.split-lp178:                            ; preds = %200
  %lpad.loopexit.split-lp180 = landingpad { ptr, i32 }
          cleanup
  br label %308

308:                                              ; preds = %.loopexit.split-lp178, %.loopexit177
  %lpad.phi181 = phi { ptr, i32 } [ %lpad.loopexit179, %.loopexit177 ], [ %lpad.loopexit.split-lp180, %.loopexit.split-lp178 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #6
  br label %309

309:                                              ; preds = %.loopexit172, %.loopexit.split-lp173, %308
  %.pn105 = phi { ptr, i32 } [ %lpad.phi181, %308 ], [ %lpad.loopexit174, %.loopexit172 ], [ %lpad.loopexit.split-lp175, %.loopexit.split-lp173 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  br label %310

310:                                              ; preds = %.loopexit167, %.loopexit.split-lp168, %309
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %309 ], [ %lpad.loopexit169, %.loopexit167 ], [ %lpad.loopexit.split-lp170, %.loopexit.split-lp168 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  br label %454

311:                                              ; preds = %303, %283
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #6
  %312 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #6
  %313 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %312, i64 noundef %indvars.iv152)
          to label %314 unwind label %.loopexit182

314:                                              ; preds = %311
  %315 = extractvalue { ptr, i64 } %313, 0
  store ptr %315, ptr %32, align 8
  %316 = extractvalue { ptr, i64 } %313, 1
  store i64 %316, ptr %109, align 8
  %317 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #6
  br i1 %317, label %318, label %.critedge

318:                                              ; preds = %314
  %319 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %320 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %319, i64 noundef %indvars.iv152)
          to label %321 unwind label %.loopexit187

321:                                              ; preds = %318
  %322 = extractvalue { ptr, i64 } %320, 0
  store ptr %322, ptr %33, align 8
  %323 = extractvalue { ptr, i64 } %320, 1
  store i64 %323, ptr %110, align 8
  %324 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br i1 %324, label %325, label %357

325:                                              ; preds = %321
  %326 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv202) #6
  %327 = load i32, ptr %326, align 4, !tbaa !5
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv152) #6
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = sub nsw i32 %327, %329
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv152) #6
  %332 = load i32, ptr %331, align 4, !tbaa !5
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv202) #6
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %335 = sub nsw i32 %332, %334
  %336 = icmp sgt i32 %335, %330
  br i1 %336, label %337, label %347

337:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #6
  %338 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv202) #6
  %339 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %338, i64 noundef %indvars.iv152)
          to label %340 unwind label %.loopexit192

340:                                              ; preds = %337
  %341 = extractvalue { ptr, i64 } %339, 0
  store ptr %341, ptr %34, align 8
  %342 = extractvalue { ptr, i64 } %339, 1
  store i64 %342, ptr %111, align 8
  %343 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %34, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #6
  br label %347

.loopexit182:                                     ; preds = %311
  %lpad.loopexit184 = landingpad { ptr, i32 }
          cleanup
  br label %345

.loopexit.split-lp183:                            ; preds = %211
  %lpad.loopexit.split-lp185 = landingpad { ptr, i32 }
          cleanup
  br label %345

.loopexit187:                                     ; preds = %318
  %lpad.loopexit189 = landingpad { ptr, i32 }
          cleanup
  br label %344

.loopexit.split-lp188:                            ; preds = %218
  %lpad.loopexit.split-lp190 = landingpad { ptr, i32 }
          cleanup
  br label %344

344:                                              ; preds = %.loopexit.split-lp188, %.loopexit187
  %lpad.phi191 = phi { ptr, i32 } [ %lpad.loopexit189, %.loopexit187 ], [ %lpad.loopexit.split-lp190, %.loopexit.split-lp188 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  br label %345

345:                                              ; preds = %.loopexit182, %.loopexit.split-lp183, %344
  %.pn108 = phi { ptr, i32 } [ %lpad.phi191, %344 ], [ %lpad.loopexit184, %.loopexit182 ], [ %lpad.loopexit.split-lp185, %.loopexit.split-lp183 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br label %454

.loopexit192:                                     ; preds = %337
  %lpad.loopexit194 = landingpad { ptr, i32 }
          cleanup
  br label %346

.loopexit.split-lp193:                            ; preds = %237
  %lpad.loopexit.split-lp195 = landingpad { ptr, i32 }
          cleanup
  br label %346

346:                                              ; preds = %.loopexit.split-lp193, %.loopexit192
  %lpad.phi196 = phi { ptr, i32 } [ %lpad.loopexit194, %.loopexit192 ], [ %lpad.loopexit.split-lp195, %.loopexit.split-lp193 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #6
  br label %454

347:                                              ; preds = %340, %325
  %348 = icmp slt i32 %335, %330
  br i1 %348, label %349, label %357

349:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #6
  %350 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv202) #6
  %351 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %350, i64 noundef %indvars.iv152)
          to label %352 unwind label %.loopexit197

352:                                              ; preds = %349
  %353 = extractvalue { ptr, i64 } %351, 0
  store ptr %353, ptr %35, align 8
  %354 = extractvalue { ptr, i64 } %351, 1
  store i64 %354, ptr %112, align 8
  %355 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %35, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %357

.loopexit197:                                     ; preds = %349
  %lpad.loopexit199 = landingpad { ptr, i32 }
          cleanup
  br label %356

.loopexit.split-lp198:                            ; preds = %246
  %lpad.loopexit.split-lp200 = landingpad { ptr, i32 }
          cleanup
  br label %356

356:                                              ; preds = %.loopexit.split-lp198, %.loopexit197
  %lpad.phi201 = phi { ptr, i32 } [ %lpad.loopexit199, %.loopexit197 ], [ %lpad.loopexit.split-lp200, %.loopexit.split-lp198 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %454

.critedge:                                        ; preds = %314
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br label %357

357:                                              ; preds = %347, %352, %321, %.critedge
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %358 = load i32, ptr @N, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = icmp slt i64 %indvars.iv.next153, %359
  br i1 %360, label %.peel.next, label %._crit_edge140, !llvm.loop !18

._crit_edge146:                                   ; preds = %449, %96, %.preheader131, %.preheader129
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  ret i32 0

361:                                              ; preds = %.lr.ph145, %449
  %indvars.iv205 = phi i64 [ 0, %.lr.ph145 ], [ %indvars.iv.next206, %449 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #6
  %362 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv205) #6
  %363 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %362)
          to label %364 unwind label %392

364:                                              ; preds = %361
  store i32 %363, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #6
  %365 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv205) #6
  %366 = getelementptr inbounds i8, ptr %365, i64 4
  %367 = invoke noundef i32 @_Z3lwbIiEiRSt6vectorIT_SaIS1_EERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %366)
          to label %368 unwind label %394

368:                                              ; preds = %364
  store i32 %367, ptr %38, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  %369 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv205) #6
  %370 = load i8, ptr %369, align 1, !tbaa !14
  %371 = icmp eq i8 %370, 78
  %372 = load i32, ptr @N, align 4, !tbaa !5
  br i1 %371, label %.preheader, label %.preheader127

.preheader127:                                    ; preds = %368
  %373 = load i32, ptr %36, align 4, !tbaa !11
  %374 = icmp slt i32 %373, %372
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #6
  br i1 %374, label %.lr.ph142, label %.critedge4

.preheader:                                       ; preds = %368
  %375 = load i32, ptr %257, align 4, !tbaa !13
  %376 = icmp slt i32 %375, %372
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #6
  br i1 %376, label %.lr.ph143, label %.critedge2

.lr.ph143:                                        ; preds = %.preheader, %388
  %377 = load i32, ptr %36, align 4, !tbaa !11
  %378 = sext i32 %377 to i64
  %379 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %378) #6
  %380 = load i32, ptr %257, align 4, !tbaa !13
  %381 = sext i32 %380 to i64
  %382 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %379, i64 noundef %381)
          to label %383 unwind label %397

383:                                              ; preds = %.lr.ph143
  %384 = extractvalue { ptr, i64 } %382, 0
  store ptr %384, ptr %39, align 8
  %385 = extractvalue { ptr, i64 } %382, 1
  store i64 %385, ptr %259, align 8
  %386 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %39) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #6
  %387 = load i32, ptr %257, align 4, !tbaa !13
  br i1 %386, label %388, label %.loopexit.loopexit

388:                                              ; preds = %383
  %389 = add nsw i32 %387, 1
  store i32 %389, ptr %257, align 4, !tbaa !13
  %390 = load i32, ptr @N, align 4, !tbaa !5
  %391 = icmp slt i32 %389, %390
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #6
  br i1 %391, label %.lr.ph143, label %.critedge2, !llvm.loop !20

392:                                              ; preds = %361
  %393 = landingpad { ptr, i32 }
          cleanup
  br label %396

394:                                              ; preds = %364
  %395 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #6
  br label %396

396:                                              ; preds = %394, %392
  %.pn97 = phi { ptr, i32 } [ %395, %394 ], [ %393, %392 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #6
  br label %453

397:                                              ; preds = %.lr.ph143
  %398 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #6
  br label %453

.critedge2:                                       ; preds = %388, %.preheader
  %399 = phi i32 [ %372, %.preheader ], [ %390, %388 ]
  %400 = phi i32 [ %375, %.preheader ], [ %389, %388 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #6
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %383
  %.pre211 = load i32, ptr @N, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.critedge2
  %401 = phi i32 [ %.pre211, %.loopexit.loopexit ], [ %399, %.critedge2 ]
  %402 = phi i32 [ %387, %.loopexit.loopexit ], [ %400, %.critedge2 ]
  %403 = icmp eq i32 %402, %401
  br i1 %403, label %.invoke, label %406

404:                                              ; preds = %.invoke
  %405 = landingpad { ptr, i32 }
          cleanup
  br label %453

406:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #6
  %407 = sext i32 %402 to i64
  %408 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %407) #6
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv205) #6
  %411 = getelementptr inbounds i8, ptr %410, i64 4
  %412 = load i32, ptr %411, align 4, !tbaa !13
  %413 = sub nsw i32 %409, %412
  store i32 %413, ptr %40, align 4, !tbaa !5
  invoke void @_Z2psIiJEEvRKT_DpRKT0_(ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %414 unwind label %415

414:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  br label %449

415:                                              ; preds = %406
  %416 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #6
  br label %453

.lr.ph142:                                        ; preds = %.preheader127, %428
  %417 = phi i32 [ %429, %428 ], [ %373, %.preheader127 ]
  %418 = sext i32 %417 to i64
  %419 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %418) #6
  %420 = load i32, ptr %257, align 4, !tbaa !13
  %421 = sext i32 %420 to i64
  %422 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %419, i64 noundef %421)
          to label %423 unwind label %432

423:                                              ; preds = %.lr.ph142
  %424 = extractvalue { ptr, i64 } %422, 0
  store ptr %424, ptr %41, align 8
  %425 = extractvalue { ptr, i64 } %422, 1
  store i64 %425, ptr %258, align 8
  %426 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #6
  %427 = load i32, ptr %36, align 4, !tbaa !11
  br i1 %426, label %428, label %.loopexit128.loopexit

428:                                              ; preds = %423
  %429 = add nsw i32 %427, 1
  store i32 %429, ptr %36, align 4, !tbaa !11
  %430 = load i32, ptr @N, align 4, !tbaa !5
  %431 = icmp slt i32 %429, %430
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #6
  br i1 %431, label %.lr.ph142, label %.critedge4, !llvm.loop !21

432:                                              ; preds = %.lr.ph142
  %433 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #6
  br label %453

.critedge4:                                       ; preds = %428, %.preheader127
  %434 = phi i32 [ %372, %.preheader127 ], [ %430, %428 ]
  %435 = phi i32 [ %373, %.preheader127 ], [ %429, %428 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #6
  br label %.loopexit128

.loopexit128.loopexit:                            ; preds = %423
  %.pre209 = load i32, ptr @N, align 4, !tbaa !5
  br label %.loopexit128

.loopexit128:                                     ; preds = %.loopexit128.loopexit, %.critedge4
  %436 = phi i32 [ %.pre209, %.loopexit128.loopexit ], [ %434, %.critedge4 ]
  %437 = phi i32 [ %427, %.loopexit128.loopexit ], [ %435, %.critedge4 ]
  %438 = icmp eq i32 %437, %436
  br i1 %438, label %.invoke, label %439

.invoke:                                          ; preds = %.loopexit, %.loopexit128
  invoke void @_Z2psIA9_cJEEvRKT_DpRKT0_(ptr noundef nonnull align 1 dereferenceable(9) @.str.11)
          to label %449 unwind label %404

439:                                              ; preds = %.loopexit128
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #6
  %440 = sext i32 %437 to i64
  %441 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %440) #6
  %442 = load i32, ptr %441, align 4, !tbaa !5
  %443 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv205) #6
  %444 = load i32, ptr %443, align 4, !tbaa !11
  %445 = sub nsw i32 %442, %444
  store i32 %445, ptr %42, align 4, !tbaa !5
  invoke void @_Z2psIiJEEvRKT_DpRKT0_(ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %446 unwind label %447

446:                                              ; preds = %439
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  br label %449

447:                                              ; preds = %439
  %448 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #6
  br label %453

449:                                              ; preds = %.invoke, %446, %414
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  %indvars.iv.next206 = add nuw nsw i64 %indvars.iv205, 1
  %450 = load i32, ptr @N, align 4, !tbaa !5
  %451 = sext i32 %450 to i64
  %452 = icmp slt i64 %indvars.iv.next206, %451
  br i1 %452, label %361, label %._crit_edge146, !llvm.loop !22

453:                                              ; preds = %447, %432, %415, %404, %397, %396
  %.pn99 = phi { ptr, i32 } [ %405, %404 ], [ %416, %415 ], [ %398, %397 ], [ %448, %447 ], [ %433, %432 ], [ %.pn97, %396 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  br label %454

454:                                              ; preds = %282, %310, %345, %356, %346, %453, %186
  %.pn115.pn = phi { ptr, i32 } [ %.pn115, %186 ], [ %.pn99, %453 ], [ %.pn108, %345 ], [ %.pn105.pn, %310 ], [ %.pn101.pn, %282 ], [ %lpad.phi201, %356 ], [ %lpad.phi196, %346 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %455

455:                                              ; preds = %454, %127
  %.pn115.pn.pn = phi { ptr, i32 } [ %.pn115.pn, %454 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %456

456:                                              ; preds = %455, %125
  %.pn115.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn, %455 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %457

457:                                              ; preds = %456, %124
  %.pn115.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn.pn, %456 ], [ %.pn95, %124 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIS_IbSaIbEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %458

458:                                              ; preds = %457, %119
  %.pn115.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn.pn.pn, %457 ], [ %.pn93, %119 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %459

459:                                              ; preds = %458, %113, %77
  %.pn122 = phi { ptr, i32 } [ %78, %77 ], [ %.pn115.pn.pn.pn.pn.pn, %458 ], [ %114, %113 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %460

460:                                              ; preds = %459, %62
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %459 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %461

461:                                              ; preds = %460, %60
  %.pn122.pn.pn = phi { ptr, i32 } [ %.pn122.pn, %460 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %462

462:                                              ; preds = %461, %59
  %.pn122.pn.pn.pn = phi { ptr, i32 } [ %.pn122.pn.pn, %461 ], [ %.pn, %59 ]
  resume { ptr, i32 } %.pn122.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2reIiEvRT_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2reIcJiiEEvRT_DpRT0_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2psIA9_cJEEvRKT_DpRKT0_(ptr noundef nonnull align 1 dereferenceable(9)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2psIiJEEvRKT_DpRKT0_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !17}
!17 = !{!"llvm.loop.unswitch.partial.disable"}
!18 = distinct !{!18, !10, !19}
!19 = !{!"llvm.loop.peeled.count", i32 1}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass