; LLVM IR from VastoLorde95/Competitive-Programming :: CodeChef/WF/Medium Hard/GOODPROB (evil999num)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%struct.rlimit = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%class.anon = type { ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.10 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }
%"struct.std::pair" = type { %"struct.std::pair.16", %"class.std::vector" }
%"struct.std::pair.16" = type { %"struct.std::pair.18", i32 }
%"struct.std::pair.18" = type { i32, i32 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca %struct.rlimit, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %class.anon, align 8
  %20 = alloca %"class.std::vector.5", align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %class.anon.10, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::vector.11", align 8
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca %"class.std::allocator.13", align 1
  %31 = alloca %"class.std::vector.11", align 8
  %32 = alloca %"class.std::vector.0", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %"class.std::allocator.2", align 1
  %35 = alloca %"class.std::allocator.13", align 1
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::vector", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.std::allocator", align 1
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca %"class.std::vector", align 8
  %48 = alloca %"class.std::allocator", align 1
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca ptr, align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %55 = alloca ptr, align 8
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i64, align 8
  %59 = alloca ptr, align 8
  %60 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %61 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca ptr, align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %74 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %75 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %76 = getelementptr i8, ptr %75, i64 -24
  %77 = load i64, ptr %76, align 8
  %78 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %77
  %79 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %78, ptr noundef null)
  %80 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %81 = getelementptr i8, ptr %80, i64 -24
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %82
  %84 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %83, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #8
  store i64 67108864, ptr %2, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #8
  %85 = getelementptr inbounds %struct.rlimit, ptr %3, i32 0, i32 0
  store i64 67108864, ptr %85, align 8, !tbaa !11
  %86 = call i32 @setrlimit(i32 noundef 3, ptr noundef %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #8
  %88 = load i32, ptr %4, align 4, !tbaa !13
  %89 = sext i32 %88 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %89, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %90 unwind label %97

90:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !13
  br label %91

91:                                               ; preds = %107, %90
  %92 = load i32, ptr %9, align 4, !tbaa !13
  %93 = load i32, ptr %4, align 4, !tbaa !13
  %94 = sub nsw i32 %93, 1
  %95 = icmp sle i32 %92, %94
  br i1 %95, label %101, label %96

96:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %114

97:                                               ; preds = %0
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  br label %870

101:                                              ; preds = %91
  %102 = load i32, ptr %9, align 4, !tbaa !13
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %103) #8
  %105 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %104)
          to label %106 unwind label %110

106:                                              ; preds = %101
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %9, align 4, !tbaa !13
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %9, align 4, !tbaa !13
  br label %91, !llvm.loop !15

110:                                              ; preds = %101
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %869

114:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %115 = load i32, ptr %4, align 4, !tbaa !13
  %116 = sext i32 %115 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 -1, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %116, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %117 unwind label %125

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 18, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %118 unwind label %129

118:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !13
  br label %119

119:                                              ; preds = %140, %118
  %120 = load i32, ptr %15, align 4, !tbaa !13
  %121 = load i32, ptr %4, align 4, !tbaa !13
  %122 = sub nsw i32 %121, 1
  %123 = icmp sle i32 %120, %122
  br i1 %123, label %134, label %124

124:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %143

125:                                              ; preds = %114
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %7, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %8, align 4
  br label %133

129:                                              ; preds = %117
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %7, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %868

134:                                              ; preds = %119
  %135 = load i32, ptr %15, align 4, !tbaa !13
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #8
  %137 = load i32, ptr %15, align 4, !tbaa !13
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %138) #8
  store i32 %135, ptr %139, align 4, !tbaa !13
  br label %140

140:                                              ; preds = %134
  %141 = load i32, ptr %15, align 4, !tbaa !13
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %15, align 4, !tbaa !13
  br label %119, !llvm.loop !17

143:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 1, ptr %16, align 4, !tbaa !13
  br label %144

144:                                              ; preds = %221, %143
  %145 = load i32, ptr %16, align 4, !tbaa !13
  %146 = shl i32 1, %145
  %147 = load i32, ptr %4, align 4, !tbaa !13
  %148 = icmp sle i32 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %144
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %224

150:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !13
  br label %151

151:                                              ; preds = %217, %150
  %152 = load i32, ptr %18, align 4, !tbaa !13
  %153 = load i32, ptr %16, align 4, !tbaa !13
  %154 = shl i32 1, %153
  %155 = add nsw i32 %152, %154
  %156 = load i32, ptr %4, align 4, !tbaa !13
  %157 = icmp sle i32 %155, %156
  br i1 %157, label %159, label %158

158:                                              ; preds = %151
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %220

159:                                              ; preds = %151
  %160 = load i32, ptr %16, align 4, !tbaa !13
  %161 = sub nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %162) #8
  %164 = load i32, ptr %18, align 4, !tbaa !13
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #8
  %167 = load i32, ptr %166, align 4, !tbaa !13
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %168) #8
  %170 = load i32, ptr %169, align 4, !tbaa !13
  %171 = load i32, ptr %16, align 4, !tbaa !13
  %172 = sub nsw i32 %171, 1
  %173 = sext i32 %172 to i64
  %174 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %173) #8
  %175 = load i32, ptr %18, align 4, !tbaa !13
  %176 = load i32, ptr %16, align 4, !tbaa !13
  %177 = sub nsw i32 %176, 1
  %178 = shl i32 1, %177
  %179 = add nsw i32 %175, %178
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %180) #8
  %182 = load i32, ptr %181, align 4, !tbaa !13
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %183) #8
  %185 = load i32, ptr %184, align 4, !tbaa !13
  %186 = icmp sgt i32 %170, %185
  br i1 %186, label %187, label %196

187:                                              ; preds = %159
  %188 = load i32, ptr %16, align 4, !tbaa !13
  %189 = sub nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %190) #8
  %192 = load i32, ptr %18, align 4, !tbaa !13
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %193) #8
  %195 = load i32, ptr %194, align 4, !tbaa !13
  br label %209

196:                                              ; preds = %159
  %197 = load i32, ptr %16, align 4, !tbaa !13
  %198 = sub nsw i32 %197, 1
  %199 = sext i32 %198 to i64
  %200 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %199) #8
  %201 = load i32, ptr %18, align 4, !tbaa !13
  %202 = load i32, ptr %16, align 4, !tbaa !13
  %203 = sub nsw i32 %202, 1
  %204 = shl i32 1, %203
  %205 = add nsw i32 %201, %204
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %206) #8
  %208 = load i32, ptr %207, align 4, !tbaa !13
  br label %209

209:                                              ; preds = %196, %187
  %210 = phi i32 [ %195, %187 ], [ %208, %196 ]
  %211 = load i32, ptr %16, align 4, !tbaa !13
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %212) #8
  %214 = load i32, ptr %18, 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) %213, i64 noundef %215) #8
  store i32 %210, ptr %216, align 4, !tbaa !13
  br label %217

217:                                              ; preds = %209
  %218 = load i32, ptr %18, align 4, !tbaa !13
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %18, align 4, !tbaa !13
  br label %151, !llvm.loop !18

220:                                              ; preds = %158
  br label %221

221:                                              ; preds = %220
  %222 = load i32, ptr %16, align 4, !tbaa !13
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %16, align 4, !tbaa !13
  br label %144, !llvm.loop !19

224:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %225 = getelementptr inbounds %class.anon, ptr %19, i32 0, i32 0
  store ptr %5, ptr %225, align 8, !tbaa !20
  %226 = getelementptr inbounds %class.anon, ptr %19, i32 0, i32 1
  store ptr %10, ptr %226, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #8
  %227 = getelementptr inbounds %class.anon.10, ptr %23, i32 0, i32 0
  store ptr %21, ptr %227, align 8, !tbaa !20
  %228 = getelementptr inbounds %class.anon.10, ptr %23, i32 0, i32 1
  store ptr %5, ptr %228, align 8, !tbaa !20
  %229 = getelementptr inbounds %class.anon.10, ptr %23, i32 0, i32 2
  store ptr %19, ptr %229, align 8, !tbaa !20
  %230 = getelementptr inbounds %class.anon.10, ptr %23, i32 0, i32 3
  store ptr %20, ptr %230, align 8, !tbaa !20
  %231 = getelementptr inbounds %class.anon.10, ptr %23, i32 0, i32 4
  store ptr %22, ptr %231, align 8, !tbaa !20
  invoke void @"_ZNSt8functionIFviiEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %232 unwind label %260

232:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #8
  %233 = load i32, ptr %4, align 4, !tbaa !13
  %234 = sub nsw i32 %233, 1
  invoke void @_ZNKSt8functionIFviiEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef 0, i32 noundef %234)
          to label %235 unwind label %264

235:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %236 = load i32, ptr %4, align 4, !tbaa !13
  %237 = invoke noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %236)
          to label %238 unwind label %268

238:                                              ; preds = %235
  %239 = fptosi double %237 to i32
  store i32 %239, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %240 = load i32, ptr %4, align 4, !tbaa !13
  %241 = load i32, ptr %24, align 4, !tbaa !13
  %242 = add nsw i32 %240, %241
  %243 = sub nsw i32 %242, 1
  %244 = load i32, ptr %24, align 4, !tbaa !13
  %245 = sdiv i32 %243, %244
  store i32 %245, ptr %25, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #8
  %246 = load i32, ptr %25, align 4, !tbaa !13
  %247 = sext i32 %246 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #8
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 15, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %248 unwind label %272

248:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  call void @_ZNSaISt6vectorIS_IiSaIiEESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  invoke void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %247, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %249 unwind label %276

249:                                              ; preds = %248
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #8
  %250 = load i32, ptr %25, align 4, !tbaa !13
  %251 = sext i32 %250 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #8
  call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 15, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %252 unwind label %281

252:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  call void @_ZNSaISt6vectorIS_IiSaIiEESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  invoke void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %251, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %253 unwind label %285

253:                                              ; preds = %252
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !13
  br label %254

254:                                              ; preds = %596, %253
  %255 = load i32, ptr %36, align 4, !tbaa !13
  %256 = load i32, ptr %25, align 4, !tbaa !13
  %257 = sub nsw i32 %256, 1
  %258 = icmp sle i32 %255, %257
  br i1 %258, label %290, label %259

259:                                              ; preds = %254
  store i32 14, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %600

260:                                              ; preds = %224
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %7, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #8
  br label %867

264:                                              ; preds = %232
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  br label %866

268:                                              ; preds = %235
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %7, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %8, align 4
  br label %865

272:                                              ; preds = %238
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %7, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %8, align 4
  br label %280

276:                                              ; preds = %248
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %7, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  br label %280

280:                                              ; preds = %276, %272
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #8
  br label %864

281:                                              ; preds = %249
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %7, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %8, align 4
  br label %289

285:                                              ; preds = %252
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %7, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %289

289:                                              ; preds = %285, %281
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %863

290:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %291 = load i32, ptr %36, align 4, !tbaa !13
  %292 = load i32, ptr %24, align 4, !tbaa !13
  %293 = mul nsw i32 %291, %292
  store i32 %293, ptr %37, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %294 = load i32, ptr %4, align 4, !tbaa !13
  %295 = sub nsw i32 %294, 1
  store i32 %295, ptr %39, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %296 = load i32, ptr %37, align 4, !tbaa !13
  %297 = load i32, ptr %24, align 4, !tbaa !13
  %298 = add nsw i32 %296, %297
  %299 = sub nsw i32 %298, 1
  store i32 %299, ptr %40, align 4, !tbaa !13
  %300 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %301 unwind label %321

301:                                              ; preds = %290
  %302 = load i32, ptr %300, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  store i32 %302, ptr %38, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 16384, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %303 unwind label %325

303:                                              ; preds = %301
  %304 = load i32, ptr %36, align 4, !tbaa !13
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %305) #8
  %307 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef 0) #8
  %308 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %307, ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  %309 = load i32, ptr %36, align 4, !tbaa !13
  %310 = sext i32 %309 to i64
  %311 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %310) #8
  %312 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %311, i64 noundef 0) #8
  %313 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %312, ptr noundef nonnull align 8 dereferenceable(24) %308)
          to label %314 unwind label %329

314:                                              ; preds = %303
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  %315 = load i32, ptr %37, align 4, !tbaa !13
  store i32 %315, ptr %44, align 4, !tbaa !13
  br label %316

316:                                              ; preds = %347, %314
  %317 = load i32, ptr %44, align 4, !tbaa !13
  %318 = load i32, ptr %38, align 4, !tbaa !13
  %319 = icmp sle i32 %317, %318
  br i1 %319, label %334, label %320

320:                                              ; preds = %316
  store i32 17, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %350

321:                                              ; preds = %290
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %7, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %599

325:                                              ; preds = %301
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %7, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %8, align 4
  br label %333

329:                                              ; preds = %303
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %7, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %8, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  br label %333

333:                                              ; preds = %329, %325
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  br label %599

334:                                              ; preds = %316
  %335 = load i32, ptr %36, align 4, !tbaa !13
  %336 = sext i32 %335 to i64
  %337 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %336) #8
  %338 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %337, i64 noundef 0) #8
  %339 = load i32, ptr %44, align 4, !tbaa !13
  %340 = sext i32 %339 to i64
  %341 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %340) #8
  %342 = load i32, ptr %341, align 4, !tbaa !13
  %343 = sext i32 %342 to i64
  %344 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %338, i64 noundef %343) #8
  %345 = load i32, ptr %344, align 4, !tbaa !13
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %344, align 4, !tbaa !13
  br label %347

347:                                              ; preds = %334
  %348 = load i32, ptr %44, align 4, !tbaa !13
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %44, align 4, !tbaa !13
  br label %316, !llvm.loop !24

350:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %351 = load i32, ptr %37, align 4, !tbaa !13
  store i32 %351, ptr %45, align 4, !tbaa !13
  br label %352

352:                                              ; preds = %370, %350
  %353 = load i32, ptr %45, align 4, !tbaa !13
  %354 = load i32, ptr %38, align 4, !tbaa !13
  %355 = icmp sle i32 %353, %354
  br i1 %355, label %357, label %356

356:                                              ; preds = %352
  store i32 20, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %373

357:                                              ; preds = %352
  %358 = load i32, ptr %36, align 4, !tbaa !13
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %359) #8
  %361 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %360, i64 noundef 0) #8
  %362 = load i32, ptr %45, align 4, !tbaa !13
  %363 = sext i32 %362 to i64
  %364 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %363) #8
  %365 = load i32, ptr %364, align 4, !tbaa !13
  %366 = sext i32 %365 to i64
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %361, i64 noundef %366) #8
  %368 = load i32, ptr %367, align 4, !tbaa !13
  %369 = add nsw i32 %368, 1
  store i32 %369, ptr %367, align 4, !tbaa !13
  br label %370

370:                                              ; preds = %357
  %371 = load i32, ptr %45, align 4, !tbaa !13
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %45, align 4, !tbaa !13
  br label %352, !llvm.loop !25

373:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store i32 0, ptr %46, align 4, !tbaa !13
  br label %374

374:                                              ; preds = %543, %373
  %375 = load i32, ptr %46, align 4, !tbaa !13
  %376 = icmp sle i32 %375, 13
  br i1 %376, label %378, label %377

377:                                              ; preds = %374
  store i32 23, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %546

378:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 16384, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %379 unwind label %401

379:                                              ; preds = %378
  %380 = load i32, ptr %36, align 4, !tbaa !13
  %381 = sext i32 %380 to i64
  %382 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %381) #8
  %383 = load i32, ptr %46, align 4, !tbaa !13
  %384 = add nsw i32 %383, 1
  %385 = sext i32 %384 to i64
  %386 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %382, i64 noundef %385) #8
  %387 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %386, ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  %388 = load i32, ptr %36, align 4, !tbaa !13
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %389) #8
  %391 = load i32, ptr %46, align 4, !tbaa !13
  %392 = add nsw i32 %391, 1
  %393 = sext i32 %392 to i64
  %394 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %390, i64 noundef %393) #8
  %395 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %394, ptr noundef nonnull align 8 dereferenceable(24) %387)
          to label %396 unwind label %405

396:                                              ; preds = %379
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !13
  br label %397

397:                                              ; preds = %527, %396
  %398 = load i32, ptr %49, align 4, !tbaa !13
  %399 = icmp sle i32 %398, 16383
  br i1 %399, label %410, label %400

400:                                              ; preds = %397
  store i32 26, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %530

401:                                              ; preds = %378
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %7, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %8, align 4
  br label %409

405:                                              ; preds = %379
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %7, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %8, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  br label %409

409:                                              ; preds = %405, %401
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %599

410:                                              ; preds = %397
  %411 = load i32, ptr %49, align 4, !tbaa !13
  %412 = load i32, ptr %46, align 4, !tbaa !13
  %413 = shl i32 1, %412
  %414 = and i32 %411, %413
  %415 = icmp ne i32 %414, 0
  br i1 %415, label %416, label %471

416:                                              ; preds = %410
  %417 = load i32, ptr %36, align 4, !tbaa !13
  %418 = sext i32 %417 to i64
  %419 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %418) #8
  %420 = load i32, ptr %46, align 4, !tbaa !13
  %421 = sext i32 %420 to i64
  %422 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %419, i64 noundef %421) #8
  %423 = load i32, ptr %49, align 4, !tbaa !13
  %424 = load i32, ptr %46, align 4, !tbaa !13
  %425 = shl i32 1, %424
  %426 = xor i32 %423, %425
  %427 = sext i32 %426 to i64
  %428 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %422, i64 noundef %427) #8
  %429 = load i32, ptr %428, align 4, !tbaa !13
  %430 = load i32, ptr %36, align 4, !tbaa !13
  %431 = sext i32 %430 to i64
  %432 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %431) #8
  %433 = load i32, ptr %46, align 4, !tbaa !13
  %434 = sext i32 %433 to i64
  %435 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %432, i64 noundef %434) #8
  %436 = load i32, ptr %49, align 4, !tbaa !13
  %437 = sext i32 %436 to i64
  %438 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %435, i64 noundef %437) #8
  %439 = load i32, ptr %438, align 4, !tbaa !13
  %440 = add nsw i32 %429, %439
  %441 = load i32, ptr %36, align 4, !tbaa !13
  %442 = sext i32 %441 to i64
  %443 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %442) #8
  %444 = load i32, ptr %46, align 4, !tbaa !13
  %445 = add nsw i32 %444, 1
  %446 = sext i32 %445 to i64
  %447 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %443, i64 noundef %446) #8
  %448 = load i32, ptr %49, align 4, !tbaa !13
  %449 = sext i32 %448 to i64
  %450 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %447, i64 noundef %449) #8
  store i32 %440, ptr %450, align 4, !tbaa !13
  %451 = load i32, ptr %36, align 4, !tbaa !13
  %452 = sext i32 %451 to i64
  %453 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %452) #8
  %454 = load i32, ptr %46, align 4, !tbaa !13
  %455 = sext i32 %454 to i64
  %456 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %453, i64 noundef %455) #8
  %457 = load i32, ptr %49, align 4, !tbaa !13
  %458 = sext i32 %457 to i64
  %459 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %456, i64 noundef %458) #8
  %460 = load i32, ptr %459, align 4, !tbaa !13
  %461 = load i32, ptr %36, align 4, !tbaa !13
  %462 = sext i32 %461 to i64
  %463 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %462) #8
  %464 = load i32, ptr %46, align 4, !tbaa !13
  %465 = add nsw i32 %464, 1
  %466 = sext i32 %465 to i64
  %467 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %463, i64 noundef %466) #8
  %468 = load i32, ptr %49, align 4, !tbaa !13
  %469 = sext i32 %468 to i64
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %467, i64 noundef %469) #8
  store i32 %460, ptr %470, align 4, !tbaa !13
  br label %526

471:                                              ; preds = %410
  %472 = load i32, ptr %36, align 4, !tbaa !13
  %473 = sext i32 %472 to i64
  %474 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %473) #8
  %475 = load i32, ptr %46, align 4, !tbaa !13
  %476 = sext i32 %475 to i64
  %477 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %474, i64 noundef %476) #8
  %478 = load i32, ptr %49, align 4, !tbaa !13
  %479 = sext i32 %478 to i64
  %480 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %477, i64 noundef %479) #8
  %481 = load i32, ptr %480, align 4, !tbaa !13
  %482 = load i32, ptr %36, align 4, !tbaa !13
  %483 = sext i32 %482 to i64
  %484 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %483) #8
  %485 = load i32, ptr %46, align 4, !tbaa !13
  %486 = add nsw i32 %485, 1
  %487 = sext i32 %486 to i64
  %488 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %484, i64 noundef %487) #8
  %489 = load i32, ptr %49, align 4, !tbaa !13
  %490 = sext i32 %489 to i64
  %491 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %488, i64 noundef %490) #8
  store i32 %481, ptr %491, align 4, !tbaa !13
  %492 = load i32, ptr %36, align 4, !tbaa !13
  %493 = sext i32 %492 to i64
  %494 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %493) #8
  %495 = load i32, ptr %46, align 4, !tbaa !13
  %496 = sext i32 %495 to i64
  %497 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %494, i64 noundef %496) #8
  %498 = load i32, ptr %49, align 4, !tbaa !13
  %499 = load i32, ptr %46, align 4, !tbaa !13
  %500 = shl i32 1, %499
  %501 = xor i32 %498, %500
  %502 = sext i32 %501 to i64
  %503 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %497, i64 noundef %502) #8
  %504 = load i32, ptr %503, align 4, !tbaa !13
  %505 = load i32, ptr %36, align 4, !tbaa !13
  %506 = sext i32 %505 to i64
  %507 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %506) #8
  %508 = load i32, ptr %46, align 4, !tbaa !13
  %509 = sext i32 %508 to i64
  %510 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %507, i64 noundef %509) #8
  %511 = load i32, ptr %49, align 4, !tbaa !13
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %510, i64 noundef %512) #8
  %514 = load i32, ptr %513, align 4, !tbaa !13
  %515 = add nsw i32 %504, %514
  %516 = load i32, ptr %36, align 4, !tbaa !13
  %517 = sext i32 %516 to i64
  %518 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %517) #8
  %519 = load i32, ptr %46, align 4, !tbaa !13
  %520 = add nsw i32 %519, 1
  %521 = sext i32 %520 to i64
  %522 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %518, i64 noundef %521) #8
  %523 = load i32, ptr %49, align 4, !tbaa !13
  %524 = sext i32 %523 to i64
  %525 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %522, i64 noundef %524) #8
  store i32 %515, ptr %525, align 4, !tbaa !13
  br label %526

526:                                              ; preds = %471, %416
  br label %527

527:                                              ; preds = %526
  %528 = load i32, ptr %49, align 4, !tbaa !13
  %529 = add nsw i32 %528, 1
  store i32 %529, ptr %49, align 4, !tbaa !13
  br label %397, !llvm.loop !26

530:                                              ; preds = %400
  %531 = load i32, ptr %36, align 4, !tbaa !13
  %532 = sext i32 %531 to i64
  %533 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %532) #8
  %534 = load i32, ptr %46, align 4, !tbaa !13
  %535 = sext i32 %534 to i64
  %536 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %533, i64 noundef %535) #8
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %536) #8
  %537 = load i32, ptr %36, align 4, !tbaa !13
  %538 = sext i32 %537 to i64
  %539 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %538) #8
  %540 = load i32, ptr %46, align 4, !tbaa !13
  %541 = sext i32 %540 to i64
  %542 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %539, i64 noundef %541) #8
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %542) #8
  br label %543

543:                                              ; preds = %530
  %544 = load i32, ptr %46, align 4, !tbaa !13
  %545 = add nsw i32 %544, 1
  store i32 %545, ptr %46, align 4, !tbaa !13
  br label %374, !llvm.loop !27

546:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %547 = load i32, ptr %37, align 4, !tbaa !13
  store i32 %547, ptr %50, align 4, !tbaa !13
  br label %548

548:                                              ; preds = %566, %546
  %549 = load i32, ptr %50, align 4, !tbaa !13
  %550 = load i32, ptr %38, align 4, !tbaa !13
  %551 = icmp sle i32 %549, %550
  br i1 %551, label %553, label %552

552:                                              ; preds = %548
  store i32 29, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %569

553:                                              ; preds = %548
  %554 = load i32, ptr %36, align 4, !tbaa !13
  %555 = sext i32 %554 to i64
  %556 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %555) #8
  %557 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %556, i64 noundef 14) #8
  %558 = load i32, ptr %50, align 4, !tbaa !13
  %559 = sext i32 %558 to i64
  %560 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %559) #8
  %561 = load i32, ptr %560, align 4, !tbaa !13
  %562 = sext i32 %561 to i64
  %563 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %557, i64 noundef %562) #8
  %564 = load i32, ptr %563, align 4, !tbaa !13
  %565 = add nsw i32 %564, -1
  store i32 %565, ptr %563, align 4, !tbaa !13
  br label %566

566:                                              ; preds = %553
  %567 = load i32, ptr %50, align 4, !tbaa !13
  %568 = add nsw i32 %567, 1
  store i32 %568, ptr %50, align 4, !tbaa !13
  br label %548, !llvm.loop !28

569:                                              ; preds = %552
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  store i32 0, ptr %51, align 4, !tbaa !13
  br label %570

570:                                              ; preds = %592, %569
  %571 = load i32, ptr %51, align 4, !tbaa !13
  %572 = icmp sle i32 %571, 16384
  br i1 %572, label %574, label %573

573:                                              ; preds = %570
  store i32 32, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %595

574:                                              ; preds = %570
  %575 = load i32, ptr %36, align 4, !tbaa !13
  %576 = sext i32 %575 to i64
  %577 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %576) #8
  %578 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %577, i64 noundef 14) #8
  %579 = load i32, ptr %51, align 4, !tbaa !13
  %580 = sext i32 %579 to i64
  %581 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %578, i64 noundef %580) #8
  %582 = load i32, ptr %581, align 4, !tbaa !13
  %583 = load i32, ptr %36, align 4, !tbaa !13
  %584 = sext i32 %583 to i64
  %585 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %584) #8
  %586 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %585, i64 noundef 14) #8
  %587 = load i32, ptr %51, align 4, !tbaa !13
  %588 = sext i32 %587 to i64
  %589 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %586, i64 noundef %588) #8
  %590 = load i32, ptr %589, align 4, !tbaa !13
  %591 = add nsw i32 %590, %582
  store i32 %591, ptr %589, align 4, !tbaa !13
  br label %592

592:                                              ; preds = %574
  %593 = load i32, ptr %51, align 4, !tbaa !13
  %594 = add nsw i32 %593, 1
  store i32 %594, ptr %51, align 4, !tbaa !13
  br label %570, !llvm.loop !29

595:                                              ; preds = %573
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %596

596:                                              ; preds = %595
  %597 = load i32, ptr %36, align 4, !tbaa !13
  %598 = add nsw i32 %597, 1
  store i32 %598, ptr %36, align 4, !tbaa !13
  br label %254, !llvm.loop !30

599:                                              ; preds = %409, %333, %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %862

600:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  store ptr %20, ptr %52, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %601 = load ptr, ptr %52, align 8, !tbaa !20
  %602 = call ptr @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %601) #8
  %603 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %53, i32 0, i32 0
  store ptr %602, ptr %603, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %604 = load ptr, ptr %52, align 8, !tbaa !20
  %605 = call ptr @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %604) #8
  %606 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %54, i32 0, i32 0
  store ptr %605, ptr %606, align 8
  br label %607

607:                                              ; preds = %833, %600
  %608 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  br i1 %608, label %610, label %609

609:                                              ; preds = %607
  store i32 35, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %835

610:                                              ; preds = %607
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %611 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  store ptr %611, ptr %55, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  %612 = load ptr, ptr %55, align 8, !tbaa !20
  %613 = getelementptr inbounds %"struct.std::pair", ptr %612, i32 0, i32 0
  %614 = getelementptr inbounds %"struct.std::pair.16", ptr %613, i32 0, i32 0
  %615 = getelementptr inbounds %"struct.std::pair.18", ptr %614, i32 0, i32 0
  %616 = load i32, ptr %615, align 8, !tbaa !31
  store i32 %616, ptr %56, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #8
  %617 = load ptr, ptr %55, align 8, !tbaa !20
  %618 = getelementptr inbounds %"struct.std::pair", ptr %617, i32 0, i32 0
  %619 = getelementptr inbounds %"struct.std::pair.16", ptr %618, i32 0, i32 0
  %620 = getelementptr inbounds %"struct.std::pair.18", ptr %619, i32 0, i32 1
  %621 = load i32, ptr %620, align 4, !tbaa !39
  store i32 %621, ptr %57, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  store i64 0, ptr %58, align 8, !tbaa !22
  %622 = load i32, ptr %57, align 4, !tbaa !13
  %623 = load i32, ptr %56, align 4, !tbaa !13
  %624 = sub nsw i32 %622, %623
  %625 = add nsw i32 %624, 1
  %626 = load i32, ptr %24, align 4, !tbaa !13
  %627 = icmp sle i32 %625, %626
  br i1 %627, label %628, label %691

628:                                              ; preds = %610
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  %629 = load ptr, ptr %55, align 8, !tbaa !20
  %630 = getelementptr inbounds %"struct.std::pair", ptr %629, i32 0, i32 1
  store ptr %630, ptr %59, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #8
  %631 = load ptr, ptr %59, align 8, !tbaa !20
  %632 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %631) #8
  %633 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %60, i32 0, i32 0
  store ptr %632, ptr %633, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #8
  %634 = load ptr, ptr %59, align 8, !tbaa !20
  %635 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %634) #8
  %636 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %61, i32 0, i32 0
  store ptr %635, ptr %636, align 8
  br label %637

637:                                              ; preds = %679, %628
  %638 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(8) %61) #8
  br i1 %638, label %640, label %639

639:                                              ; preds = %637
  store i32 37, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %681

640:                                              ; preds = %637
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #8
  %641 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  %642 = load i32, ptr %641, align 4, !tbaa !13
  store i32 %642, ptr %62, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #8
  %643 = load i32, ptr %56, align 4, !tbaa !13
  store i32 %643, ptr %63, align 4, !tbaa !13
  br label %644

644:                                              ; preds = %675, %640
  %645 = load i32, ptr %63, align 4, !tbaa !13
  %646 = load i32, ptr %57, align 4, !tbaa !13
  %647 = icmp sle i32 %645, %646
  br i1 %647, label %649, label %648

648:                                              ; preds = %644
  store i32 39, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  br label %678

649:                                              ; preds = %644
  %650 = load i32, ptr %63, align 4, !tbaa !13
  %651 = sext i32 %650 to i64
  %652 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %651) #8
  %653 = load i32, ptr %652, align 4, !tbaa !13
  %654 = load i32, ptr %62, align 4, !tbaa !13
  %655 = and i32 %653, %654
  %656 = load i32, ptr %62, align 4, !tbaa !13
  %657 = icmp eq i32 %655, %656
  br i1 %657, label %670, label %658

658:                                              ; preds = %649
  %659 = load i32, ptr %63, align 4, !tbaa !13
  %660 = sext i32 %659 to i64
  %661 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %660) #8
  %662 = load i32, ptr %661, align 4, !tbaa !13
  %663 = load i32, ptr %62, align 4, !tbaa !13
  %664 = and i32 %662, %663
  %665 = load i32, ptr %63, align 4, !tbaa !13
  %666 = sext i32 %665 to i64
  %667 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %666) #8
  %668 = load i32, ptr %667, align 4, !tbaa !13
  %669 = icmp eq i32 %664, %668
  br label %670

670:                                              ; preds = %658, %649
  %671 = phi i1 [ true, %649 ], [ %669, %658 ]
  %672 = zext i1 %671 to i64
  %673 = load i64, ptr %58, align 8, !tbaa !22
  %674 = add nsw i64 %673, %672
  store i64 %674, ptr %58, align 8, !tbaa !22
  br label %675

675:                                              ; preds = %670
  %676 = load i32, ptr %63, align 4, !tbaa !13
  %677 = add nsw i32 %676, 1
  store i32 %677, ptr %63, align 4, !tbaa !13
  br label %644, !llvm.loop !40

678:                                              ; preds = %648
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %679

679:                                              ; preds = %678
  %680 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  br label %637

681:                                              ; preds = %639
  %682 = load i64, ptr %58, align 8, !tbaa !22
  %683 = load ptr, ptr %55, align 8, !tbaa !20
  %684 = getelementptr inbounds %"struct.std::pair", ptr %683, i32 0, i32 0
  %685 = getelementptr inbounds %"struct.std::pair.16", ptr %684, i32 0, i32 1
  %686 = load i32, ptr %685, align 8, !tbaa !41
  %687 = sext i32 %686 to i64
  %688 = mul nsw i64 %682, %687
  %689 = load i64, ptr %21, align 8, !tbaa !22
  %690 = add nsw i64 %689, %688
  store i64 %690, ptr %21, align 8, !tbaa !22
  store i32 36, ptr %17, align 4
  br label %827

691:                                              ; preds = %610
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #8
  %692 = load i32, ptr %56, align 4, !tbaa !13
  %693 = load i32, ptr %24, align 4, !tbaa !13
  %694 = add nsw i32 %692, %693
  %695 = sub nsw i32 %694, 1
  %696 = load i32, ptr %24, align 4, !tbaa !13
  %697 = sdiv i32 %695, %696
  store i32 %697, ptr %64, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #8
  %698 = load i32, ptr %57, align 4, !tbaa !13
  %699 = load i32, ptr %24, align 4, !tbaa !13
  %700 = sdiv i32 %698, %699
  store i32 %700, ptr %65, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %701 = load ptr, ptr %55, align 8, !tbaa !20
  %702 = getelementptr inbounds %"struct.std::pair", ptr %701, i32 0, i32 1
  store ptr %702, ptr %66, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #8
  %703 = load ptr, ptr %66, align 8, !tbaa !20
  %704 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %703) #8
  %705 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %67, i32 0, i32 0
  store ptr %704, ptr %705, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #8
  %706 = load ptr, ptr %66, align 8, !tbaa !20
  %707 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %706) #8
  %708 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %68, i32 0, i32 0
  store ptr %707, ptr %708, align 8
  br label %709

709:                                              ; preds = %815, %691
  %710 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %68) #8
  br i1 %710, label %712, label %711

711:                                              ; preds = %709
  store i32 42, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %817

712:                                              ; preds = %709
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #8
  %713 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %67) #8
  %714 = load i32, ptr %713, align 4, !tbaa !13
  store i32 %714, ptr %69, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #8
  %715 = load i32, ptr %64, align 4, !tbaa !13
  store i32 %715, ptr %70, align 4, !tbaa !13
  br label %716

716:                                              ; preds = %734, %712
  %717 = load i32, ptr %70, align 4, !tbaa !13
  %718 = load i32, ptr %65, align 4, !tbaa !13
  %719 = sub nsw i32 %718, 1
  %720 = icmp sle i32 %717, %719
  br i1 %720, label %722, label %721

721:                                              ; preds = %716
  store i32 44, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  br label %737

722:                                              ; preds = %716
  %723 = load i32, ptr %70, align 4, !tbaa !13
  %724 = sext i32 %723 to i64
  %725 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %724) #8
  %726 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %725, i64 noundef 14) #8
  %727 = load i32, ptr %69, align 4, !tbaa !13
  %728 = sext i32 %727 to i64
  %729 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %726, i64 noundef %728) #8
  %730 = load i32, ptr %729, align 4, !tbaa !13
  %731 = sext i32 %730 to i64
  %732 = load i64, ptr %58, align 8, !tbaa !22
  %733 = add nsw i64 %732, %731
  store i64 %733, ptr %58, align 8, !tbaa !22
  br label %734

734:                                              ; preds = %722
  %735 = load i32, ptr %70, align 4, !tbaa !13
  %736 = add nsw i32 %735, 1
  store i32 %736, ptr %70, align 4, !tbaa !13
  br label %716, !llvm.loop !42

737:                                              ; preds = %721
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #8
  %738 = load i32, ptr %56, align 4, !tbaa !13
  store i32 %738, ptr %71, align 4, !tbaa !13
  br label %739

739:                                              ; preds = %773, %737
  %740 = load i32, ptr %71, align 4, !tbaa !13
  %741 = load i32, ptr %64, align 4, !tbaa !13
  %742 = load i32, ptr %24, align 4, !tbaa !13
  %743 = mul nsw i32 %741, %742
  %744 = sub nsw i32 %743, 1
  %745 = icmp sle i32 %740, %744
  br i1 %745, label %747, label %746

746:                                              ; preds = %739
  store i32 47, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #8
  br label %776

747:                                              ; preds = %739
  %748 = load i32, ptr %71, align 4, !tbaa !13
  %749 = sext i32 %748 to i64
  %750 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %749) #8
  %751 = load i32, ptr %750, align 4, !tbaa !13
  %752 = load i32, ptr %69, align 4, !tbaa !13
  %753 = and i32 %751, %752
  %754 = load i32, ptr %69, align 4, !tbaa !13
  %755 = icmp eq i32 %753, %754
  br i1 %755, label %768, label %756

756:                                              ; preds = %747
  %757 = load i32, ptr %71, align 4, !tbaa !13
  %758 = sext i32 %757 to i64
  %759 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %758) #8
  %760 = load i32, ptr %759, align 4, !tbaa !13
  %761 = load i32, ptr %69, align 4, !tbaa !13
  %762 = and i32 %760, %761
  %763 = load i32, ptr %71, align 4, !tbaa !13
  %764 = sext i32 %763 to i64
  %765 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %764) #8
  %766 = load i32, ptr %765, align 4, !tbaa !13
  %767 = icmp eq i32 %762, %766
  br label %768

768:                                              ; preds = %756, %747
  %769 = phi i1 [ true, %747 ], [ %767, %756 ]
  %770 = zext i1 %769 to i64
  %771 = load i64, ptr %58, align 8, !tbaa !22
  %772 = add nsw i64 %771, %770
  store i64 %772, ptr %58, align 8, !tbaa !22
  br label %773

773:                                              ; preds = %768
  %774 = load i32, ptr %71, align 4, !tbaa !13
  %775 = add nsw i32 %774, 1
  store i32 %775, ptr %71, align 4, !tbaa !13
  br label %739, !llvm.loop !43

776:                                              ; preds = %746
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #8
  %777 = load i32, ptr %57, align 4, !tbaa !13
  store i32 %777, ptr %72, align 4, !tbaa !13
  br label %778

778:                                              ; preds = %811, %776
  %779 = load i32, ptr %72, align 4, !tbaa !13
  %780 = load i32, ptr %65, align 4, !tbaa !13
  %781 = load i32, ptr %24, align 4, !tbaa !13
  %782 = mul nsw i32 %780, %781
  %783 = icmp sge i32 %779, %782
  br i1 %783, label %785, label %784

784:                                              ; preds = %778
  store i32 50, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #8
  br label %814

785:                                              ; preds = %778
  %786 = load i32, ptr %72, align 4, !tbaa !13
  %787 = sext i32 %786 to i64
  %788 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %787) #8
  %789 = load i32, ptr %788, align 4, !tbaa !13
  %790 = load i32, ptr %69, align 4, !tbaa !13
  %791 = and i32 %789, %790
  %792 = load i32, ptr %69, align 4, !tbaa !13
  %793 = icmp eq i32 %791, %792
  br i1 %793, label %806, label %794

794:                                              ; preds = %785
  %795 = load i32, ptr %72, align 4, !tbaa !13
  %796 = sext i32 %795 to i64
  %797 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %796) #8
  %798 = load i32, ptr %797, align 4, !tbaa !13
  %799 = load i32, ptr %69, align 4, !tbaa !13
  %800 = and i32 %798, %799
  %801 = load i32, ptr %72, align 4, !tbaa !13
  %802 = sext i32 %801 to i64
  %803 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %802) #8
  %804 = load i32, ptr %803, align 4, !tbaa !13
  %805 = icmp eq i32 %800, %804
  br label %806

806:                                              ; preds = %794, %785
  %807 = phi i1 [ true, %785 ], [ %805, %794 ]
  %808 = zext i1 %807 to i64
  %809 = load i64, ptr %58, align 8, !tbaa !22
  %810 = add nsw i64 %809, %808
  store i64 %810, ptr %58, align 8, !tbaa !22
  br label %811

811:                                              ; preds = %806
  %812 = load i32, ptr %72, align 4, !tbaa !13
  %813 = add nsw i32 %812, -1
  store i32 %813, ptr %72, align 4, !tbaa !13
  br label %778, !llvm.loop !44

814:                                              ; preds = %784
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  br label %815

815:                                              ; preds = %814
  %816 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %67) #8
  br label %709

817:                                              ; preds = %711
  %818 = load i64, ptr %58, align 8, !tbaa !22
  %819 = load ptr, ptr %55, align 8, !tbaa !20
  %820 = getelementptr inbounds %"struct.std::pair", ptr %819, i32 0, i32 0
  %821 = getelementptr inbounds %"struct.std::pair.16", ptr %820, i32 0, i32 1
  %822 = load i32, ptr %821, align 8, !tbaa !41
  %823 = sext i32 %822 to i64
  %824 = mul nsw i64 %818, %823
  %825 = load i64, ptr %21, align 8, !tbaa !22
  %826 = add nsw i64 %825, %824
  store i64 %826, ptr %21, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #8
  store i32 0, ptr %17, align 4
  br label %827

827:                                              ; preds = %817, %681
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  %828 = load i32, ptr %17, align 4
  switch i32 %828, label %830 [
    i32 0, label %829
  ]

829:                                              ; preds = %827
  store i32 0, ptr %17, align 4
  br label %830

830:                                              ; preds = %829, %827
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  %831 = load i32, ptr %17, align 4
  switch i32 %831, label %876 [
    i32 0, label %832
    i32 36, label %833
  ]

832:                                              ; preds = %830
  br label %833

833:                                              ; preds = %832, %830
  %834 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  br label %607

835:                                              ; preds = %609
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #8
  store i32 0, ptr %73, align 4, !tbaa !13
  br label %836

836:                                              ; preds = %850, %835
  %837 = load i32, ptr %73, align 4, !tbaa !13
  %838 = load i32, ptr %4, align 4, !tbaa !13
  %839 = sub nsw i32 %838, 1
  %840 = icmp sle i32 %837, %839
  br i1 %840, label %842, label %841

841:                                              ; preds = %836
  store i32 53, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #8
  br label %853

842:                                              ; preds = %836
  %843 = load i32, ptr %73, align 4, !tbaa !13
  %844 = sext i32 %843 to i64
  %845 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %844) #8
  %846 = load i32, ptr %845, align 4, !tbaa !13
  %847 = sext i32 %846 to i64
  %848 = load i64, ptr %21, align 8, !tbaa !22
  %849 = sub nsw i64 %848, %847
  store i64 %849, ptr %21, align 8, !tbaa !22
  br label %850

850:                                              ; preds = %842
  %851 = load i32, ptr %73, align 4, !tbaa !13
  %852 = add nsw i32 %851, 1
  store i32 %852, ptr %73, align 4, !tbaa !13
  br label %836, !llvm.loop !45

853:                                              ; preds = %841
  %854 = load i64, ptr %21, align 8, !tbaa !22
  %855 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %854)
          to label %856 unwind label %858

856:                                              ; preds = %853
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  %857 = load i32, ptr %1, align 4
  ret i32 %857

858:                                              ; preds = %853
  %859 = landingpad { ptr, i32 }
          cleanup
  %860 = extractvalue { ptr, i32 } %859, 0
  store ptr %860, ptr %7, align 8
  %861 = extractvalue { ptr, i32 } %859, 1
  store i32 %861, ptr %8, align 4
  br label %862

862:                                              ; preds = %858, %599
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %863

863:                                              ; preds = %862, %289
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br label %864

864:                                              ; preds = %863, %280
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %865

865:                                              ; preds = %864, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %866

866:                                              ; preds = %865, %264
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %867

867:                                              ; preds = %866, %260
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %868

868:                                              ; preds = %867, %133
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  br label %869

869:                                              ; preds = %868, %110
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %870

870:                                              ; preds = %869, %97
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  br label %871

871:                                              ; preds = %870
  %872 = load ptr, ptr %7, align 8
  %873 = load i32, ptr %8, align 4
  %874 = insertvalue { ptr, i32 } poison, ptr %872, 0
  %875 = insertvalue { ptr, i32 } %874, i32 %873, 1
  resume { ptr, i32 } %875

876:                                              ; preds = %830
  unreachable
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

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

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

; Function Attrs: nounwind
declare i32 @setrlimit(i32 noundef, ptr noundef) #4

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFviiEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFviiEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind "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 = { 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 #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 0}
!12 = !{!"_ZTS6rlimit", !9, i64 0, !9, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{!21, !21, i64 0}
!21 = !{!"any pointer", !10, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"long long", !10, i64 0}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}
!31 = !{!32, !14, i64 0}
!32 = !{!"_ZTSSt4pairIS_IS_IiiEiESt6vectorIiSaIiEEE", !33, i64 0, !35, i64 16}
!33 = !{!"_ZTSSt4pairIS_IiiEiE", !34, i64 0, !14, i64 8}
!34 = !{!"_ZTSSt4pairIiiE", !14, i64 0, !14, i64 4}
!35 = !{!"_ZTSSt6vectorIiSaIiEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!39 = !{!32, !14, i64 4}
!40 = distinct !{!40, !16}
!41 = !{!32, !14, i64 8}
!42 = distinct !{!42, !16}
!43 = distinct !{!43, !16}
!44 = distinct !{!44, !16}
!45 = distinct !{!45, !16}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%struct.rlimit = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%class.anon = type { ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>, std::allocator<std::pair<std::pair<std::pair<int, int>, int>, std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.10 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<int>>, std::allocator<std::vector<std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.rlimit, align 8
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %class.anon, align 8
  %11 = alloca %"class.std::vector.5", align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %class.anon.10, align 8
  %15 = alloca %"class.std::vector.11", align 8
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::allocator.2", align 1
  %19 = alloca %"class.std::allocator.13", align 1
  %20 = alloca %"class.std::vector.11", align 8
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %"class.std::allocator.13", align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %38 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %39 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %40 = getelementptr i8, ptr %39, i64 -24
  %41 = load i64, ptr %40, align 8
  %42 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %41
  %43 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %42, ptr noundef null)
  %44 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %45 = getelementptr i8, ptr %44, i64 -24
  %46 = load i64, ptr %45, align 8
  %47 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %46
  %48 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %47, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #9
  store i64 67108864, ptr %1, align 8, !tbaa !8
  %49 = call i32 @setrlimit(i32 noundef 3, ptr noundef nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  %51 = load i32, ptr %2, align 4, !tbaa !12
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %53 unwind label %55

53:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  %54 = load i32, ptr %2, align 4, !tbaa !12
  %.not.not260 = icmp sgt i32 %54, 0
  br i1 %.not.not260, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %53
  %.pre401 = sext i32 %54 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %59, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre401, %.._crit_edge_crit_edge ], [ %61, %59 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #9
  store i32 -1, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.pre-phi, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %64 unwind label %67

55:                                               ; preds = %0
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  br label %399

.lr.ph:                                           ; preds = %53, %59
  %indvars.iv = phi i64 [ %indvars.iv.next, %59 ], [ 0, %53 ]
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #9
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %59 unwind label %62

59:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = load i32, ptr %2, align 4, !tbaa !12
  %61 = sext i32 %60 to i64
  %.not.not = icmp slt i64 %indvars.iv.next, %61
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !14

62:                                               ; preds = %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %398

64:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 18, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %65 unwind label %69

65:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  %66 = load i32, ptr %2, align 4, !tbaa !12
  %.not.not221262 = icmp sgt i32 %66, 0
  br i1 %.not.not221262, label %.lr.ph265, label %._crit_edge272

.preheader258:                                    ; preds = %.lr.ph265
  %.not270 = icmp slt i32 %75, 2
  br i1 %.not270, label %._crit_edge272, label %.preheader257

67:                                               ; preds = %._crit_edge
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %64
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br label %71

71:                                               ; preds = %69, %67
  %.pn = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %397

.lr.ph265:                                        ; preds = %65, %.lr.ph265
  %indvars.iv340 = phi i64 [ %indvars.iv.next341, %.lr.ph265 ], [ 0, %65 ]
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #9
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %indvars.iv340) #9
  %74 = trunc nuw nsw i64 %indvars.iv340 to i32
  store i32 %74, ptr %73, align 4, !tbaa !12
  %indvars.iv.next341 = add nuw nsw i64 %indvars.iv340, 1
  %75 = load i32, ptr %2, align 4, !tbaa !12
  %76 = sext i32 %75 to i64
  %.not.not221 = icmp slt i64 %indvars.iv.next341, %76
  br i1 %.not.not221, label %.lr.ph265, label %.preheader258, !llvm.loop !16

.preheader257:                                    ; preds = %.preheader258, %._crit_edge269
  %77 = phi i32 [ %89, %._crit_edge269 ], [ %75, %.preheader258 ]
  %indvars.iv346 = phi i64 [ %indvars.iv.next347, %._crit_edge269 ], [ 1, %.preheader258 ]
  %78 = phi i32 [ %91, %._crit_edge269 ], [ 2, %.preheader258 ]
  %.not248266 = icmp sgt i32 %78, %77
  br i1 %.not248266, label %._crit_edge269, label %.lr.ph268

.lr.ph268:                                        ; preds = %.preheader257
  %79 = add nsw i64 %indvars.iv346, -1
  %80 = trunc nuw nsw i64 %79 to i32
  %81 = shl nuw i32 1, %80
  %82 = sext i32 %78 to i64
  %83 = sext i32 %81 to i64
  br label %92

._crit_edge272:                                   ; preds = %._crit_edge269, %65, %.preheader258
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  store ptr %3, ptr %10, align 8, !tbaa !17
  %84 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %5, ptr %84, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #9
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store i64 0, ptr %12, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #9
  store ptr %12, ptr %14, align 8, !tbaa !17
  %85 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %3, ptr %85, align 8, !tbaa !17
  %86 = getelementptr inbounds i8, ptr %14, i64 16
  store ptr %10, ptr %86, align 8, !tbaa !17
  %87 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr %11, ptr %87, align 8, !tbaa !17
  %88 = getelementptr inbounds i8, ptr %14, i64 32
  store ptr %13, ptr %88, align 8, !tbaa !17
  invoke void @"_ZNSt8functionIFviiEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %115 unwind label %135

._crit_edge269:                                   ; preds = %92, %.preheader257
  %89 = phi i32 [ %77, %.preheader257 ], [ %113, %92 ]
  %indvars.iv.next347 = add nuw nsw i64 %indvars.iv346, 1
  %90 = trunc nuw nsw i64 %indvars.iv346 to i32
  %91 = shl nuw i32 2, %90
  %.not = icmp sgt i32 %91, %89
  br i1 %.not, label %._crit_edge272, label %.preheader257, !llvm.loop !21

92:                                               ; preds = %.lr.ph268, %92
  %indvars.iv343 = phi i64 [ 0, %.lr.ph268 ], [ %indvars.iv.next344, %92 ]
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %79) #9
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %indvars.iv343) #9
  %95 = load i32, ptr %94, align 4, !tbaa !12
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %96) #9
  %98 = load i32, ptr %97, align 4, !tbaa !12
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %79) #9
  %100 = add nuw nsw i64 %indvars.iv343, %83
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %100) #9
  %102 = load i32, ptr %101, align 4, !tbaa !12
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %103) #9
  %105 = load i32, ptr %104, align 4, !tbaa !12
  %106 = icmp sgt i32 %98, %105
  %107 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %79) #9
  %indvars.iv343. = select i1 %106, i64 %indvars.iv343, i64 %100
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %indvars.iv343.) #9
  %109 = load i32, ptr %108, align 4, !tbaa !12
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv346) #9
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %indvars.iv343) #9
  store i32 %109, ptr %111, align 4, !tbaa !12
  %indvars.iv.next344 = add nuw nsw i64 %indvars.iv343, 1
  %112 = add nuw nsw i64 %indvars.iv.next344, %82
  %113 = load i32, ptr %2, align 4, !tbaa !12
  %114 = sext i32 %113 to i64
  %.not248 = icmp sgt i64 %112, %114
  br i1 %.not248, label %._crit_edge269, label %92, !llvm.loop !22

115:                                              ; preds = %._crit_edge272
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  %116 = load i32, ptr %2, align 4, !tbaa !12
  %117 = add nsw i32 %116, -1
  invoke void @_ZNKSt8functionIFviiEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 0, i32 noundef %117)
          to label %118 unwind label %137

118:                                              ; preds = %115
  %119 = load i32, ptr %2, align 4, !tbaa !12
  %120 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %119)
  %121 = fptosi double %120 to i32
  %122 = load i32, ptr %2, align 4, !tbaa !12
  %123 = add i32 %121, -1
  %124 = add i32 %123, %122
  %125 = sdiv i32 %124, %121
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #9
  %126 = sext i32 %125 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #9
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 15, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %127 unwind label %139

127:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSaISt6vectorIS_IiSaIiEESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %126, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %128 unwind label %141

128:                                              ; preds = %127
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %22, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #9
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 15, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %129 unwind label %144

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSaISt6vectorIS_IiSaIiEESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %126, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %130 unwind label %146

130:                                              ; preds = %129
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #9
  %.not226.not286 = icmp sgt i32 %125, 0
  br i1 %.not226.not286, label %.lr.ph289, label %._crit_edge290

.lr.ph289:                                        ; preds = %130
  %131 = sext i32 %121 to i64
  %wide.trip.count = zext nneg i32 %125 to i64
  br label %149

._crit_edge290:                                   ; preds = %262, %130
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  %132 = call ptr @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  store ptr %132, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  %133 = call ptr @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  store ptr %133, ptr %33, align 8
  %134 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  br i1 %134, label %.lr.ph326, label %._crit_edge327

135:                                              ; preds = %._crit_edge272
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  br label %396

137:                                              ; preds = %115
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %395

139:                                              ; preds = %118
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %127
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br label %143

143:                                              ; preds = %141, %139
  %.pn222 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %394

144:                                              ; preds = %128
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %129
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIS0_IiSaIiEESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  br label %148

148:                                              ; preds = %146, %144
  %.pn224 = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #9
  br label %393

149:                                              ; preds = %.lr.ph289, %262
  %indvars.iv376 = phi i64 [ 0, %.lr.ph289 ], [ %indvars.iv.next377, %262 ]
  %indvars.iv349 = phi i32 [ 0, %.lr.ph289 ], [ %indvars.iv.next350, %262 ]
  %150 = sext i32 %indvars.iv349 to i64
  %151 = mul nsw i64 %indvars.iv376, %131
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #9
  %152 = load i32, ptr %2, align 4, !tbaa !12
  %153 = add nsw i32 %152, -1
  store i32 %153, ptr %25, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #9
  %154 = trunc nsw i64 %151 to i32
  %155 = add i32 %123, %154
  store i32 %155, ptr %26, align 4, !tbaa !12
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %157 = load i32, ptr %156, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #9
  store i32 0, ptr %28, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 16384, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %158 unwind label %169

158:                                              ; preds = %149
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %160 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef 0) #9
  %161 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %162 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef 0) #9
  %164 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %163, ptr noundef nonnull align 8 dereferenceable(24) %161)
          to label %165 unwind label %171

165:                                              ; preds = %158
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  %166 = sext i32 %157 to i64
  %.not235273 = icmp sgt i64 %151, %166
  br i1 %.not235273, label %.preheader255.preheader, label %.lr.ph276.preheader

.lr.ph276.preheader:                              ; preds = %165
  %167 = add i32 %157, 1
  br label %.lr.ph276

.preheader256:                                    ; preds = %.lr.ph276
  br i1 %.not235273, label %.preheader255.preheader, label %.lr.ph279.preheader

.preheader255.preheader:                          ; preds = %.lr.ph279, %165, %.preheader256
  br label %.preheader255

.lr.ph279.preheader:                              ; preds = %.preheader256
  %168 = add i32 %157, 1
  br label %.lr.ph279

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

171:                                              ; preds = %158
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  br label %173

173:                                              ; preds = %171, %169
  %.pn233 = phi { ptr, i32 } [ %172, %171 ], [ %170, %169 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  br label %392

.lr.ph276:                                        ; preds = %.lr.ph276.preheader, %.lr.ph276
  %indvars.iv351 = phi i64 [ %150, %.lr.ph276.preheader ], [ %indvars.iv.next352, %.lr.ph276 ]
  %174 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef 0) #9
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv351) #9
  %177 = load i32, ptr %176, align 4, !tbaa !12
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %178) #9
  %180 = load i32, ptr %179, align 4, !tbaa !12
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %179, align 4, !tbaa !12
  %indvars.iv.next352 = add nsw i64 %indvars.iv351, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next352 to i32
  %exitcond.not = icmp eq i32 %167, %lftr.wideiv
  br i1 %exitcond.not, label %.preheader256, label %.lr.ph276, !llvm.loop !23

.lr.ph279:                                        ; preds = %.lr.ph279.preheader, %.lr.ph279
  %indvars.iv354 = phi i64 [ %150, %.lr.ph279.preheader ], [ %indvars.iv.next355, %.lr.ph279 ]
  %182 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef 0) #9
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv354) #9
  %185 = load i32, ptr %184, align 4, !tbaa !12
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %186) #9
  %188 = load i32, ptr %187, align 4, !tbaa !12
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %187, align 4, !tbaa !12
  %indvars.iv.next355 = add nsw i64 %indvars.iv354, 1
  %lftr.wideiv357 = trunc i64 %indvars.iv.next355 to i32
  %exitcond358.not = icmp eq i32 %168, %lftr.wideiv357
  br i1 %exitcond358.not, label %.preheader255.preheader, label %.lr.ph279, !llvm.loop !24

.preheader254:                                    ; preds = %201
  br i1 %.not235273, label %.preheader253.preheader, label %.lr.ph284.preheader

.preheader253.preheader:                          ; preds = %.lr.ph284, %.preheader254
  br label %.preheader253

.lr.ph284.preheader:                              ; preds = %.preheader254
  %190 = add i32 %157, 1
  br label %.lr.ph284

.preheader255:                                    ; preds = %.preheader255.preheader, %201
  %indvars.iv363 = phi i64 [ %indvars.iv.next364, %201 ], [ 0, %.preheader255.preheader ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef 16384, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %191 unwind label %206

191:                                              ; preds = %.preheader255
  %192 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %indvars.iv.next364 = add nuw nsw i64 %indvars.iv363, 1
  %193 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %indvars.iv.next364) #9
  %194 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %193, ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  %195 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %196 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %indvars.iv.next364) #9
  %197 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 8 dereferenceable(24) %194)
          to label %198 unwind label %208

198:                                              ; preds = %191
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #9
  %199 = trunc nuw nsw i64 %indvars.iv363 to i32
  %200 = shl nuw nsw i32 1, %199
  br label %211

201:                                              ; preds = %250
  %202 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %203 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef %indvars.iv363) #9
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %203) #9
  %204 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %205 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %indvars.iv363) #9
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #9
  %exitcond366.not = icmp eq i64 %indvars.iv.next364, 14
  br i1 %exitcond366.not, label %.preheader254, label %.preheader255, !llvm.loop !25

206:                                              ; preds = %.preheader255
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %210

208:                                              ; preds = %191
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  br label %210

210:                                              ; preds = %208, %206
  %.pn238 = phi { ptr, i32 } [ %209, %208 ], [ %207, %206 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #9
  br label %392

211:                                              ; preds = %198, %250
  %indvars.iv359 = phi i64 [ 0, %198 ], [ %indvars.iv.next360, %250 ]
  %212 = trunc nuw nsw i64 %indvars.iv359 to i32
  %213 = and i32 %200, %212
  %.not247 = icmp eq i32 %213, 0
  %214 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %215 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef %indvars.iv363) #9
  br i1 %.not247, label %233, label %216

216:                                              ; preds = %211
  %217 = xor i32 %200, %212
  %218 = zext nneg i32 %217 to i64
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %218) #9
  %220 = load i32, ptr %219, align 4, !tbaa !12
  %221 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %222 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %indvars.iv363) #9
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %indvars.iv359) #9
  %224 = load i32, ptr %223, align 4, !tbaa !12
  %225 = add nsw i32 %224, %220
  %226 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %227 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %226, i64 noundef %indvars.iv.next364) #9
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef %indvars.iv359) #9
  store i32 %225, ptr %228, align 4, !tbaa !12
  %229 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %230 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %indvars.iv363) #9
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef %indvars.iv359) #9
  %232 = load i32, ptr %231, align 4, !tbaa !12
  br label %250

233:                                              ; preds = %211
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %indvars.iv359) #9
  %235 = load i32, ptr %234, align 4, !tbaa !12
  %236 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %237 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %236, i64 noundef %indvars.iv.next364) #9
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %indvars.iv359) #9
  store i32 %235, ptr %238, align 4, !tbaa !12
  %239 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %240 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %indvars.iv363) #9
  %241 = xor i32 %200, %212
  %242 = zext nneg i32 %241 to i64
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %242) #9
  %244 = load i32, ptr %243, align 4, !tbaa !12
  %245 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %246 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %indvars.iv363) #9
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %246, i64 noundef %indvars.iv359) #9
  %248 = load i32, ptr %247, align 4, !tbaa !12
  %249 = add nsw i32 %248, %244
  br label %250

250:                                              ; preds = %216, %233
  %.sink411 = phi i32 [ %232, %216 ], [ %249, %233 ]
  %251 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %252 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %indvars.iv.next364) #9
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %252, i64 noundef %indvars.iv359) #9
  store i32 %.sink411, ptr %253, align 4, !tbaa !12
  %indvars.iv.next360 = add nuw nsw i64 %indvars.iv359, 1
  %exitcond362.not = icmp eq i64 %indvars.iv.next360, 16384
  br i1 %exitcond362.not, label %201, label %211, !llvm.loop !26

.lr.ph284:                                        ; preds = %.lr.ph284.preheader, %.lr.ph284
  %indvars.iv367 = phi i64 [ %150, %.lr.ph284.preheader ], [ %indvars.iv.next368, %.lr.ph284 ]
  %254 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %255 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef 14) #9
  %256 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv367) #9
  %257 = load i32, ptr %256, align 4, !tbaa !12
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %258) #9
  %260 = load i32, ptr %259, align 4, !tbaa !12
  %261 = add nsw i32 %260, -1
  store i32 %261, ptr %259, align 4, !tbaa !12
  %indvars.iv.next368 = add nsw i64 %indvars.iv367, 1
  %lftr.wideiv370 = trunc i64 %indvars.iv.next368 to i32
  %exitcond371.not = icmp eq i32 %190, %lftr.wideiv370
  br i1 %exitcond371.not, label %.preheader253.preheader, label %.lr.ph284, !llvm.loop !27

262:                                              ; preds = %.preheader253
  %indvars.iv.next377 = add nuw nsw i64 %indvars.iv376, 1
  %indvars.iv.next350 = add i32 %indvars.iv349, %121
  %exitcond379.not = icmp eq i64 %indvars.iv.next377, %wide.trip.count
  br i1 %exitcond379.not, label %._crit_edge290, label %149, !llvm.loop !28

.preheader253:                                    ; preds = %.preheader253.preheader, %.preheader253
  %indvars.iv372 = phi i64 [ %indvars.iv.next373, %.preheader253 ], [ 0, %.preheader253.preheader ]
  %263 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv376) #9
  %264 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %263, i64 noundef 14) #9
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef %indvars.iv372) #9
  %266 = load i32, ptr %265, align 4, !tbaa !12
  %267 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv376) #9
  %268 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef 14) #9
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %indvars.iv372) #9
  %270 = load i32, ptr %269, align 4, !tbaa !12
  %271 = add nsw i32 %270, %266
  store i32 %271, ptr %269, align 4, !tbaa !12
  %indvars.iv.next373 = add nuw nsw i64 %indvars.iv372, 1
  %exitcond375.not = icmp eq i64 %indvars.iv.next373, 16385
  br i1 %exitcond375.not, label %262, label %.preheader253, !llvm.loop !29

._crit_edge327:                                   ; preds = %377, %._crit_edge290
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  %272 = load i32, ptr %2, align 4, !tbaa !12
  %.not227.not328 = icmp sgt i32 %272, 0
  br i1 %.not227.not328, label %.lr.ph331, label %._crit_edge327.._crit_edge332_crit_edge

._crit_edge327.._crit_edge332_crit_edge:          ; preds = %._crit_edge327
  %.pre = load i64, ptr %12, align 8, !tbaa !19
  br label %._crit_edge332

.lr.ph326:                                        ; preds = %._crit_edge290, %377
  %273 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  %274 = load i32, ptr %273, align 8, !tbaa !30
  %275 = getelementptr inbounds i8, ptr %273, i64 4
  %276 = load i32, ptr %275, align 4, !tbaa !38
  %277 = sub nsw i32 %276, %274
  %.not228.not = icmp slt i32 %277, %121
  br i1 %.not228.not, label %278, label %314

278:                                              ; preds = %.lr.ph326
  %279 = getelementptr inbounds i8, ptr %273, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  %280 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %279) #9
  store ptr %280, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #9
  %281 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %279) #9
  store ptr %281, ptr %35, align 8
  %282 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br i1 %282, label %.lr.ph322, label %._crit_edge323

.lr.ph322:                                        ; preds = %278
  %.not232313 = icmp sgt i32 %274, %276
  %.not232313.fr = freeze i1 %.not232313
  br i1 %.not232313.fr, label %.lr.ph322.split.us, label %.lr.ph317.preheader

.lr.ph317.preheader:                              ; preds = %.lr.ph322
  %283 = sext i32 %274 to i64
  %smax = call i32 @llvm.smax.i32(i32 %274, i32 %276)
  %284 = add i32 %smax, 1
  br label %.lr.ph317

.lr.ph322.split.us:                               ; preds = %.lr.ph322, %.lr.ph322.split.us
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  %286 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  %287 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br i1 %287, label %.lr.ph322.split.us, label %._crit_edge323

._crit_edge323:                                   ; preds = %._crit_edge318, %.lr.ph322.split.us, %278
  %.0199.lcssa = phi i64 [ 0, %278 ], [ 0, %.lr.ph322.split.us ], [ %313, %._crit_edge318 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  %288 = getelementptr inbounds i8, ptr %273, i64 8
  %289 = load i32, ptr %288, align 8, !tbaa !39
  %290 = sext i32 %289 to i64
  %291 = mul nsw i64 %.0199.lcssa, %290
  %292 = load i64, ptr %12, align 8, !tbaa !19
  %293 = add nsw i64 %291, %292
  br label %377

.lr.ph317:                                        ; preds = %.lr.ph317.preheader, %._crit_edge318
  %.0199320 = phi i64 [ %313, %._crit_edge318 ], [ 0, %.lr.ph317.preheader ]
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  %295 = load i32, ptr %294, align 4, !tbaa !12
  br label %298

._crit_edge318:                                   ; preds = %310
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  %297 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br i1 %297, label %.lr.ph317, label %._crit_edge323

298:                                              ; preds = %.lr.ph317, %310
  %indvars.iv393 = phi i64 [ %283, %.lr.ph317 ], [ %indvars.iv.next394, %310 ]
  %.1200314 = phi i64 [ %.0199320, %.lr.ph317 ], [ %313, %310 ]
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv393) #9
  %300 = load i32, ptr %299, align 4, !tbaa !12
  %301 = and i32 %300, %295
  %302 = icmp eq i32 %301, %295
  br i1 %302, label %310, label %303

303:                                              ; preds = %298
  %304 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv393) #9
  %305 = load i32, ptr %304, align 4, !tbaa !12
  %306 = and i32 %305, %295
  %307 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv393) #9
  %308 = load i32, ptr %307, align 4, !tbaa !12
  %309 = icmp eq i32 %306, %308
  br label %310

310:                                              ; preds = %303, %298
  %311 = phi i1 [ true, %298 ], [ %309, %303 ]
  %312 = zext i1 %311 to i64
  %313 = add nsw i64 %.1200314, %312
  %indvars.iv.next394 = add nsw i64 %indvars.iv393, 1
  %lftr.wideiv396 = trunc i64 %indvars.iv.next394 to i32
  %exitcond397.not = icmp eq i32 %284, %lftr.wideiv396
  br i1 %exitcond397.not, label %._crit_edge318, label %298, !llvm.loop !40

314:                                              ; preds = %.lr.ph326
  %315 = sdiv i32 %276, %121
  %316 = getelementptr inbounds i8, ptr %273, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #9
  %317 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %316) #9
  store ptr %317, ptr %36, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #9
  %318 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %316) #9
  store ptr %318, ptr %37, align 8
  %319 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #9
  br i1 %319, label %.lr.ph310, label %._crit_edge311

.lr.ph310:                                        ; preds = %314
  %320 = add i32 %123, %274
  %321 = sdiv i32 %320, %121
  %.not229.not291 = icmp slt i32 %321, %315
  %322 = mul i32 %321, %121
  %.not230.not297 = icmp slt i32 %274, %322
  %323 = mul nsw i32 %315, %121
  %.not231302 = icmp slt i32 %276, %323
  %324 = sext i32 %321 to i64
  %325 = sext i32 %274 to i64
  %326 = sext i32 %276 to i64
  %327 = sext i32 %323 to i64
  br label %334

._crit_edge311:                                   ; preds = %._crit_edge306, %314
  %.2201.lcssa = phi i64 [ 0, %314 ], [ %.5204.lcssa, %._crit_edge306 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  %328 = getelementptr inbounds i8, ptr %273, i64 8
  %329 = load i32, ptr %328, align 8, !tbaa !39
  %330 = sext i32 %329 to i64
  %331 = mul nsw i64 %.2201.lcssa, %330
  %332 = load i64, ptr %12, align 8, !tbaa !19
  %333 = add nsw i64 %331, %332
  br label %377

334:                                              ; preds = %.lr.ph310, %._crit_edge306
  %.2201308 = phi i64 [ 0, %.lr.ph310 ], [ %.5204.lcssa, %._crit_edge306 ]
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  %336 = load i32, ptr %335, align 4, !tbaa !12
  br i1 %.not229.not291, label %.lr.ph295, label %.preheader252

.lr.ph295:                                        ; preds = %334
  %337 = sext i32 %336 to i64
  br label %338

.preheader252:                                    ; preds = %338, %334
  %.3202.lcssa = phi i64 [ %.2201308, %334 ], [ %344, %338 ]
  br i1 %.not230.not297, label %.lr.ph300, label %.preheader

338:                                              ; preds = %.lr.ph295, %338
  %indvars.iv380 = phi i64 [ %324, %.lr.ph295 ], [ %indvars.iv.next381, %338 ]
  %.3202292 = phi i64 [ %.2201308, %.lr.ph295 ], [ %344, %338 ]
  %339 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv380) #9
  %340 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %339, i64 noundef 14) #9
  %341 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %340, i64 noundef %337) #9
  %342 = load i32, ptr %341, align 4, !tbaa !12
  %343 = sext i32 %342 to i64
  %344 = add nsw i64 %.3202292, %343
  %indvars.iv.next381 = add nsw i64 %indvars.iv380, 1
  %lftr.wideiv383 = trunc i64 %indvars.iv.next381 to i32
  %exitcond384.not = icmp eq i32 %315, %lftr.wideiv383
  br i1 %exitcond384.not, label %.preheader252, label %338, !llvm.loop !41

.preheader:                                       ; preds = %356, %.preheader252
  %.4203.lcssa = phi i64 [ %.3202.lcssa, %.preheader252 ], [ %359, %356 ]
  br i1 %.not231302, label %._crit_edge306, label %.lr.ph305

.lr.ph300:                                        ; preds = %.preheader252, %356
  %indvars.iv385 = phi i64 [ %indvars.iv.next386, %356 ], [ %325, %.preheader252 ]
  %.4203298 = phi i64 [ %359, %356 ], [ %.3202.lcssa, %.preheader252 ]
  %345 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv385) #9
  %346 = load i32, ptr %345, align 4, !tbaa !12
  %347 = and i32 %346, %336
  %348 = icmp eq i32 %347, %336
  br i1 %348, label %356, label %349

349:                                              ; preds = %.lr.ph300
  %350 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv385) #9
  %351 = load i32, ptr %350, align 4, !tbaa !12
  %352 = and i32 %351, %336
  %353 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv385) #9
  %354 = load i32, ptr %353, align 4, !tbaa !12
  %355 = icmp eq i32 %352, %354
  br label %356

356:                                              ; preds = %349, %.lr.ph300
  %357 = phi i1 [ true, %.lr.ph300 ], [ %355, %349 ]
  %358 = zext i1 %357 to i64
  %359 = add nsw i64 %.4203298, %358
  %indvars.iv.next386 = add nsw i64 %indvars.iv385, 1
  %lftr.wideiv388 = trunc i64 %indvars.iv.next386 to i32
  %exitcond389.not = icmp eq i32 %322, %lftr.wideiv388
  br i1 %exitcond389.not, label %.preheader, label %.lr.ph300, !llvm.loop !42

._crit_edge306:                                   ; preds = %373, %.preheader
  %.5204.lcssa = phi i64 [ %.4203.lcssa, %.preheader ], [ %376, %373 ]
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  %361 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #9
  br i1 %361, label %334, label %._crit_edge311

.lr.ph305:                                        ; preds = %.preheader, %373
  %indvars.iv390 = phi i64 [ %indvars.iv.next391, %373 ], [ %326, %.preheader ]
  %.5204303 = phi i64 [ %376, %373 ], [ %.4203.lcssa, %.preheader ]
  %362 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv390) #9
  %363 = load i32, ptr %362, align 4, !tbaa !12
  %364 = and i32 %363, %336
  %365 = icmp eq i32 %364, %336
  br i1 %365, label %373, label %366

366:                                              ; preds = %.lr.ph305
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv390) #9
  %368 = load i32, ptr %367, align 4, !tbaa !12
  %369 = and i32 %368, %336
  %370 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv390) #9
  %371 = load i32, ptr %370, align 4, !tbaa !12
  %372 = icmp eq i32 %369, %371
  br label %373

373:                                              ; preds = %366, %.lr.ph305
  %374 = phi i1 [ true, %.lr.ph305 ], [ %372, %366 ]
  %375 = zext i1 %374 to i64
  %376 = add nsw i64 %.5204303, %375
  %indvars.iv.next391 = add nsw i64 %indvars.iv390, -1
  %.not231.not = icmp sgt i64 %indvars.iv390, %327
  br i1 %.not231.not, label %.lr.ph305, label %._crit_edge306, !llvm.loop !43

377:                                              ; preds = %._crit_edge311, %._crit_edge323
  %storemerge = phi i64 [ %333, %._crit_edge311 ], [ %293, %._crit_edge323 ]
  store i64 %storemerge, ptr %12, align 8, !tbaa !19
  %378 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  %379 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  br i1 %379, label %.lr.ph326, label %._crit_edge327

._crit_edge332:                                   ; preds = %.lr.ph331, %._crit_edge327.._crit_edge332_crit_edge
  %380 = phi i64 [ %.pre, %._crit_edge327.._crit_edge332_crit_edge ], [ %386, %.lr.ph331 ]
  %381 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %380)
          to label %389 unwind label %390

.lr.ph331:                                        ; preds = %._crit_edge327, %.lr.ph331
  %indvars.iv398 = phi i64 [ %indvars.iv.next399, %.lr.ph331 ], [ 0, %._crit_edge327 ]
  %382 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv398) #9
  %383 = load i32, ptr %382, align 4, !tbaa !12
  %384 = sext i32 %383 to i64
  %385 = load i64, ptr %12, align 8, !tbaa !19
  %386 = sub nsw i64 %385, %384
  store i64 %386, ptr %12, align 8, !tbaa !19
  %indvars.iv.next399 = add nuw nsw i64 %indvars.iv398, 1
  %387 = load i32, ptr %2, align 4, !tbaa !12
  %388 = sext i32 %387 to i64
  %.not227.not = icmp slt i64 %indvars.iv.next399, %388
  br i1 %.not227.not, label %.lr.ph331, label %._crit_edge332, !llvm.loop !44

389:                                              ; preds = %._crit_edge332
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #9
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #9
  ret i32 0

390:                                              ; preds = %._crit_edge332
  %391 = landingpad { ptr, i32 }
          cleanup
  br label %392

392:                                              ; preds = %173, %210, %390
  %.pn238.pn.pn = phi { ptr, i32 } [ %391, %390 ], [ %.pn238, %210 ], [ %.pn233, %173 ]
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  br label %393

393:                                              ; preds = %392, %148
  %.pn238.pn.pn.pn = phi { ptr, i32 } [ %.pn238.pn.pn, %392 ], [ %.pn224, %148 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #9
  call void @_ZNSt6vectorIS_IS_IiSaIiEESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br label %394

394:                                              ; preds = %393, %143
  %.pn238.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn238.pn.pn.pn, %393 ], [ %.pn222, %143 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  br label %395

395:                                              ; preds = %394, %137
  %.pn238.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn238.pn.pn.pn.pn, %394 ], [ %138, %137 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %396

396:                                              ; preds = %395, %135
  %.pn238.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn238.pn.pn.pn.pn.pn, %395 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZNSt6vectorISt4pairIS0_IS0_IiiEiES_IiSaIiEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  br label %397

397:                                              ; preds = %396, %71
  %.pn238.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn238.pn.pn.pn.pn.pn.pn, %396 ], [ %.pn, %71 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %398

398:                                              ; preds = %397, %62
  %.pn249 = phi { ptr, i32 } [ %63, %62 ], [ %.pn238.pn.pn.pn.pn.pn.pn.pn, %397 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  br label %399

399:                                              ; preds = %398, %55
  %.pn249.pn = phi { ptr, i32 } [ %.pn249, %398 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn249.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

; Function Attrs: nounwind
declare i32 @setrlimit(i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

declare i32 @__gxx_personality_v0(...)

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

; 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 #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFviiEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFviiEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIS1_IS1_IiiEiESt6vectorIiSaIiEEES4_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind "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 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTS6rlimit", !10, i64 0, !10, i64 8}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !11, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"long long", !11, i64 0}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}
!29 = distinct !{!29, !15}
!30 = !{!31, !13, i64 0}
!31 = !{!"_ZTSSt4pairIS_IS_IiiEiESt6vectorIiSaIiEEE", !32, i64 0, !34, i64 16}
!32 = !{!"_ZTSSt4pairIS_IiiEiE", !33, i64 0, !13, i64 8}
!33 = !{!"_ZTSSt4pairIiiE", !13, i64 0, !13, i64 4}
!34 = !{!"_ZTSSt6vectorIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!38 = !{!31, !13, i64 4}
!39 = !{!31, !13, i64 8}
!40 = distinct !{!40, !15}
!41 = distinct !{!41, !15}
!42 = distinct !{!42, !15}
!43 = distinct !{!43, !15}
!44 = distinct !{!44, !15}


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