; LLVM IR from sympiler/nasoq :: src/symbolic (PostOrderSpliting)

; 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::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.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE = external hidden unnamed_addr constant [139 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef %9, ptr noundef %10, ptr noundef nonnull align 8 dereferenceable(24) %11) #0 personality ptr @__gxx_personality_v0 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %48 = alloca %"class.std::vector", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  store i32 %0, ptr %13, align 4, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !9
  store ptr %2, ptr %15, align 8, !tbaa !9
  store ptr %3, ptr %16, align 8, !tbaa !9
  store ptr %4, ptr %17, align 8, !tbaa !9
  store ptr %5, ptr %18, align 8, !tbaa !9
  store i32 %6, ptr %19, align 4, !tbaa !5
  store i32 %7, ptr %20, align 4, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !9
  store ptr %9, ptr %22, align 8, !tbaa !9
  store ptr %10, ptr %23, align 8, !tbaa !9
  store ptr %11, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %56 = load i32, ptr %13, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = call noalias noundef nonnull ptr @_Znam(i64 noundef %57) #8
  call void @llvm.memset.p0.i64(ptr align 1 %58, i8 0, i64 %57, i1 false)
  store ptr %58, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %59 = load i32, ptr %13, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = call noalias noundef nonnull ptr @_Znam(i64 noundef %60) #8
  call void @llvm.memset.p0.i64(ptr align 1 %61, i8 0, i64 %60, i1 false)
  store ptr %61, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  %62 = load i32, ptr %19, align 4, !tbaa !5
  %63 = load i32, ptr %20, align 4, !tbaa !5
  %64 = sdiv i32 %62, %63
  store i32 %64, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  %65 = load ptr, ptr %24, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %66 unwind label %73

66:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  store i32 0, ptr %33, align 4, !tbaa !5
  %67 = load ptr, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %343, %66
  %69 = load i32, ptr %34, align 4, !tbaa !5
  %70 = load i32, ptr %13, align 4, !tbaa !5
  %71 = icmp slt i32 %69, %70
  br i1 %71, label %77, label %72

72:                                               ; preds = %68
  store i32 2, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %347

73:                                               ; preds = %12
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %31, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %32, align 4
  br label %443

77:                                               ; preds = %68
  %78 = load ptr, ptr %14, align 8, !tbaa !9
  %79 = load i32, ptr %34, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds i32, ptr %78, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = icmp eq i32 %82, -2
  br i1 %83, label %84, label %85

84:                                               ; preds = %77
  br label %343

85:                                               ; preds = %77
  %86 = load ptr, ptr %25, align 8, !tbaa !9
  %87 = load i32, ptr %34, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %86, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !11, !range !13, !noundef !14
  %91 = trunc i8 %90 to i1
  br i1 %91, label %342, label %92

92:                                               ; preds = %85
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %93 unwind label %184

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %332, %93
  %95 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %96 = icmp ne i64 %95, 0
  br i1 %96, label %97, label %333

97:                                               ; preds = %94
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #7
  %99 = load i32, ptr %98, align 4, !tbaa !5
  store i32 %99, ptr %28, align 4, !tbaa !5
  %100 = load ptr, ptr %18, align 8, !tbaa !9
  %101 = load i32, ptr %28, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i32, ptr %100, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %208

106:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %107 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  %109 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %36, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  %111 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr %110)
          to label %112 unwind label %188

112:                                              ; preds = %106
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  store ptr %111, ptr %113, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  %114 = load ptr, ptr %24, align 8, !tbaa !9
  %115 = load i32, ptr %33, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %116) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %117, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %118 unwind label %184

118:                                              ; preds = %112
  %119 = load ptr, ptr %15, align 8, !tbaa !9
  %120 = load i32, ptr %28, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds double, ptr %119, i64 %121
  %123 = load double, ptr %122, align 8, !tbaa !15
  %124 = load ptr, ptr %22, align 8, !tbaa !9
  %125 = load i32, ptr %33, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds double, ptr %124, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !15
  %129 = fadd double %128, %123
  store double %129, ptr %127, align 8, !tbaa !15
  %130 = load ptr, ptr %25, align 8, !tbaa !9
  %131 = load i32, ptr %28, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i8, ptr %130, i64 %132
  store i8 1, ptr %133, align 1, !tbaa !11
  %134 = load ptr, ptr %14, align 8, !tbaa !9
  %135 = load i32, ptr %28, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i32, ptr %134, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = icmp sge i32 %138, 0
  br i1 %139, label %140, label %206

140:                                              ; preds = %118
  %141 = load ptr, ptr %18, align 8, !tbaa !9
  %142 = load ptr, ptr %14, align 8, !tbaa !9
  %143 = load i32, ptr %28, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i32, ptr %142, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds i32, ptr %141, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = add nsw i32 %149, -1
  store i32 %150, ptr %148, align 4, !tbaa !5
  %151 = load ptr, ptr %25, align 8, !tbaa !9
  %152 = load ptr, ptr %14, align 8, !tbaa !9
  %153 = load i32, ptr %28, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds i32, ptr %152, i64 %154
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds i8, ptr %151, i64 %157
  %159 = load i8, ptr %158, align 1, !tbaa !11, !range !13, !noundef !14
  %160 = trunc i8 %159 to i1
  br i1 %160, label %205, label %161

161:                                              ; preds = %140
  %162 = load ptr, ptr %26, align 8, !tbaa !9
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = load i32, ptr %28, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds i8, ptr %162, i64 %168
  %170 = load i8, ptr %169, align 1, !tbaa !11, !range !13, !noundef !14
  %171 = trunc i8 %170 to i1
  br i1 %171, label %196, label %172

172:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %173 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %174 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %173, ptr %174, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  %175 = load ptr, ptr %14, align 8, !tbaa !9
  %176 = load i32, ptr %28, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %175, i64 %177
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %39, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8
  %181 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr %180, ptr noundef nonnull align 4 dereferenceable(4) %178)
          to label %182 unwind label %192

182:                                              ; preds = %172
  %183 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %181, ptr %183, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %196

184:                                              ; preds = %112, %92
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %31, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %32, align 4
  br label %346

188:                                              ; preds = %106
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %31, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %346

192:                                              ; preds = %172
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %31, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %346

196:                                              ; preds = %182, %161
  %197 = load ptr, ptr %26, align 8, !tbaa !9
  %198 = load ptr, ptr %14, align 8, !tbaa !9
  %199 = load i32, ptr %28, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i32, ptr %198, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds i8, ptr %197, i64 %203
  store i8 1, ptr %204, align 1, !tbaa !11
  br label %205

205:                                              ; preds = %196, %140
  br label %207

206:                                              ; preds = %118
  br label %333

207:                                              ; preds = %205
  br label %332

208:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %209 = load ptr, ptr %16, align 8, !tbaa !9
  %210 = load i32, ptr %28, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds i32, ptr %209, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  store i32 %213, ptr %42, align 4, !tbaa !5
  br label %214

214:                                              ; preds = %327, %208
  %215 = load i32, ptr %42, align 4, !tbaa !5
  %216 = load ptr, ptr %16, align 8, !tbaa !9
  %217 = load i32, ptr %28, align 4, !tbaa !5
  %218 = add nsw i32 %217, 1
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds i32, ptr %216, i64 %219
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = icmp slt i32 %215, %221
  br i1 %222, label %224, label %223

223:                                              ; preds = %214
  store i32 7, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %331

224:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  %225 = load ptr, ptr %17, align 8, !tbaa !9
  %226 = load i32, ptr %42, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds i32, ptr %225, i64 %227
  %229 = load i32, ptr %228, align 4, !tbaa !5
  store i32 %229, ptr %43, align 4, !tbaa !5
  %230 = load ptr, ptr %25, align 8, !tbaa !9
  %231 = load i32, ptr %43, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds i8, ptr %230, i64 %232
  %234 = load i8, ptr %233, align 1, !tbaa !11, !range !13, !noundef !14
  %235 = trunc i8 %234 to i1
  br i1 %235, label %326, label %236

236:                                              ; preds = %224
  %237 = load ptr, ptr %18, align 8, !tbaa !9
  %238 = load i32, ptr %43, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds i32, ptr %237, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = icmp eq i32 %241, 0
  br i1 %242, label %243, label %313

243:                                              ; preds = %236
  %244 = load ptr, ptr %25, align 8, !tbaa !9
  %245 = load i32, ptr %28, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds i8, ptr %244, i64 %246
  %248 = load i8, ptr %247, align 1, !tbaa !11, !range !13, !noundef !14
  %249 = trunc i8 %248 to i1
  br i1 %249, label %278, label %250

250:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  %251 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %251, ptr %44, align 4, !tbaa !5
  %252 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %253 = icmp ugt i64 %252, 0
  br i1 %253, label %254, label %273

254:                                              ; preds = %250
  br label %255

255:                                              ; preds = %262, %254
  %256 = load i32, ptr %44, align 4, !tbaa !5
  %257 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %258 = sub i64 %257, 1
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %258) #7
  %260 = load i32, ptr %259, align 4, !tbaa !5
  %261 = icmp ne i32 %256, %260
  br i1 %261, label %262, label %272

262:                                              ; preds = %255
  %263 = load ptr, ptr %26, align 8, !tbaa !9
  %264 = load i32, ptr %44, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %263, i64 %265
  store i8 1, ptr %266, align 1, !tbaa !11
  %267 = load ptr, ptr %14, align 8, !tbaa !9
  %268 = load i32, ptr %44, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds i32, ptr %267, i64 %269
  %271 = load i32, ptr %270, align 4, !tbaa !5
  store i32 %271, ptr %44, align 4, !tbaa !5
  br label %255, !llvm.loop !17

272:                                              ; preds = %255
  br label %273

273:                                              ; preds = %272, %250
  %274 = load ptr, ptr %26, align 8, !tbaa !9
  %275 = load i32, ptr %44, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds i8, ptr %274, i64 %276
  store i8 1, ptr %277, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %278

278:                                              ; preds = %273, %243
  %279 = load ptr, ptr %24, align 8, !tbaa !9
  %280 = load i32, ptr %33, align 4, !tbaa !5
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %279, i64 noundef %281) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %282, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %283 unwind label %309

283:                                              ; preds = %278
  %284 = load ptr, ptr %15, align 8, !tbaa !9
  %285 = load i32, ptr %43, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds double, ptr %284, i64 %286
  %288 = load double, ptr %287, align 8, !tbaa !15
  %289 = load ptr, ptr %22, align 8, !tbaa !9
  %290 = load i32, ptr %33, align 4, !tbaa !5
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds double, ptr %289, i64 %291
  %293 = load double, ptr %292, align 8, !tbaa !15
  %294 = fadd double %293, %288
  store double %294, ptr %292, align 8, !tbaa !15
  %295 = load ptr, ptr %25, align 8, !tbaa !9
  %296 = load i32, ptr %43, align 4, !tbaa !5
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds i8, ptr %295, i64 %297
  store i8 1, ptr %298, align 1, !tbaa !11
  %299 = load ptr, ptr %18, align 8, !tbaa !9
  %300 = load ptr, ptr %14, align 8, !tbaa !9
  %301 = load i32, ptr %43, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds i32, ptr %300, i64 %302
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds i32, ptr %299, i64 %305
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = add nsw i32 %307, -1
  store i32 %308, ptr %306, align 4, !tbaa !5
  br label %325

309:                                              ; preds = %278
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %31, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %32, align 4
  br label %330

313:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %314 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %315 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %46, i32 0, i32 0
  store ptr %314, ptr %315, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #7
  %316 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %45, i32 0, i32 0
  %317 = load ptr, ptr %316, align 8
  %318 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr %317, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %319 unwind label %321

319:                                              ; preds = %313
  %320 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %318, ptr %320, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %325

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

325:                                              ; preds = %319, %283
  br label %326

326:                                              ; preds = %325, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  br label %327

327:                                              ; preds = %326
  %328 = load i32, ptr %42, align 4, !tbaa !5
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %42, align 4, !tbaa !5
  br label %214, !llvm.loop !19

330:                                              ; preds = %321, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %346

331:                                              ; preds = %223
  br label %332

332:                                              ; preds = %331, %207
  br label %94, !llvm.loop !20

333:                                              ; preds = %206, %94
  %334 = load i32, ptr %33, align 4, !tbaa !5
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  %336 = load ptr, ptr %24, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %336, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %337 unwind label %338

337:                                              ; preds = %333
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  br label %342

338:                                              ; preds = %333
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %31, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %32, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #7
  br label %346

342:                                              ; preds = %337, %85
  br label %343

343:                                              ; preds = %342, %84
  %344 = load i32, ptr %34, align 4, !tbaa !5
  %345 = add nsw i32 %344, 1
  store i32 %345, ptr %34, align 4, !tbaa !5
  br label %68, !llvm.loop !21

346:                                              ; preds = %338, %330, %192, %188, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %442

347:                                              ; preds = %72
  %348 = load ptr, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %349 = load ptr, ptr %24, align 8, !tbaa !9
  %350 = call ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %349) #7
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %52, i32 0, i32 0
  store ptr %350, ptr %351, align 8
  %352 = load ptr, ptr %24, align 8, !tbaa !9
  %353 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %352) #7
  %354 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIiSaIiEES1_IS3_SaIS3_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %52, i64 noundef %353) #7
  %355 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %51, i32 0, i32 0
  store ptr %354, ptr %355, align 8
  %356 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIiSaIiEES1_IS3_SaIS3_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %51, i64 noundef 1) #7
  %357 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %50, i32 0, i32 0
  store ptr %356, ptr %357, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIiSaIiEES1_IS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  %358 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %49, i32 0, i32 0
  %359 = load ptr, ptr %358, align 8
  %360 = invoke ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %348, ptr %359)
          to label %361 unwind label %370

361:                                              ; preds = %347
  %362 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %53, i32 0, i32 0
  store ptr %360, ptr %362, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  %363 = load i32, ptr %33, align 4, !tbaa !5
  %364 = load ptr, ptr %21, align 8, !tbaa !9
  store i32 %363, ptr %364, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  store i32 0, ptr %54, align 4, !tbaa !5
  br label %365

365:                                              ; preds = %428, %361
  %366 = load i32, ptr %54, align 4, !tbaa !5
  %367 = load i32, ptr %33, align 4, !tbaa !5
  %368 = icmp slt i32 %366, %367
  br i1 %368, label %374, label %369

369:                                              ; preds = %365
  store i32 12, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  br label %431

370:                                              ; preds = %347
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %31, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %442

374:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #7
  store i32 0, ptr %55, align 4, !tbaa !5
  br label %375

375:                                              ; preds = %424, %374
  %376 = load i32, ptr %55, align 4, !tbaa !5
  %377 = sext i32 %376 to i64
  %378 = load ptr, ptr %24, align 8, !tbaa !9
  %379 = load i32, ptr %54, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %380) #7
  %382 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %381) #7
  %383 = icmp ult i64 %377, %382
  br i1 %383, label %385, label %384

384:                                              ; preds = %375
  store i32 15, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #7
  br label %427

385:                                              ; preds = %375
  %386 = load ptr, ptr %24, align 8, !tbaa !9
  %387 = load i32, ptr %54, align 4, !tbaa !5
  %388 = sext i32 %387 to i64
  %389 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %386, i64 noundef %388) #7
  %390 = load i32, ptr %55, align 4, !tbaa !5
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %389, i64 noundef %391) #7
  %393 = load i32, ptr %392, align 4, !tbaa !5
  %394 = load i32, ptr %13, align 4, !tbaa !5
  %395 = icmp slt i32 %393, %394
  br i1 %395, label %396, label %406

396:                                              ; preds = %385
  %397 = load ptr, ptr %24, align 8, !tbaa !9
  %398 = load i32, ptr %54, align 4, !tbaa !5
  %399 = sext i32 %398 to i64
  %400 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %397, i64 noundef %399) #7
  %401 = load i32, ptr %55, align 4, !tbaa !5
  %402 = sext i32 %401 to i64
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %400, i64 noundef %402) #7
  %404 = load i32, ptr %403, align 4, !tbaa !5
  %405 = icmp sge i32 %404, 0
  br label %406

406:                                              ; preds = %396, %385
  %407 = phi i1 [ false, %385 ], [ %405, %396 ]
  br i1 %407, label %408, label %409

408:                                              ; preds = %406
  br label %411

409:                                              ; preds = %406
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 112, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE) #9
  unreachable

410:                                              ; No predecessors!
  br label %411

411:                                              ; preds = %410, %408
  %412 = load i32, ptr %54, align 4, !tbaa !5
  %413 = load ptr, ptr %23, align 8, !tbaa !9
  %414 = load ptr, ptr %24, align 8, !tbaa !9
  %415 = load i32, ptr %54, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %414, i64 noundef %416) #7
  %418 = load i32, ptr %55, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %417, i64 noundef %419) #7
  %421 = load i32, ptr %420, align 4, !tbaa !5
  %422 = sext i32 %421 to i64
  %423 = getelementptr inbounds i32, ptr %413, i64 %422
  store i32 %412, ptr %423, align 4, !tbaa !5
  br label %424

424:                                              ; preds = %411
  %425 = load i32, ptr %55, align 4, !tbaa !5
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr %55, align 4, !tbaa !5
  br label %375, !llvm.loop !22

427:                                              ; preds = %384
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr %54, align 4, !tbaa !5
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %54, align 4, !tbaa !5
  br label %365, !llvm.loop !23

431:                                              ; preds = %369
  %432 = load ptr, ptr %26, align 8, !tbaa !9
  %433 = icmp eq ptr %432, null
  br i1 %433, label %435, label %434

434:                                              ; preds = %431
  call void @_ZdaPv(ptr noundef %432) #10
  br label %435

435:                                              ; preds = %434, %431
  %436 = load ptr, ptr %25, align 8, !tbaa !9
  %437 = icmp eq ptr %436, null
  br i1 %437, label %439, label %438

438:                                              ; preds = %435
  call void @_ZdaPv(ptr noundef %436) #10
  br label %439

439:                                              ; preds = %438, %435
  %440 = load ptr, ptr %21, align 8, !tbaa !9
  %441 = load i32, ptr %440, align 4, !tbaa !5
  store i32 1, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  ret i32 %441

442:                                              ; preds = %370, %346
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %443

443:                                              ; preds = %442, %73
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %444

444:                                              ; preds = %443
  %445 = load ptr, ptr %31, align 8
  %446 = load i32, ptr %32, align 4
  %447 = insertvalue { ptr, i32 } poison, ptr %445, 0
  %448 = insertvalue { ptr, i32 } %447, i32 %446, 1
  resume { ptr, i32 } %448
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(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 nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nobuiltin 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { noreturn nounwind }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


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

%"class.std::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.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE = external hidden unnamed_addr constant [139 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef nonnull align 4 dereferenceable(4) %8, ptr nocapture noundef %9, ptr nocapture noundef writeonly %10, ptr noundef nonnull align 8 dereferenceable(24) %11) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %29 = sext i32 %0 to i64
  %30 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #7
  tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %30, i8 0, i64 %29, i1 false)
  %31 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #7
  tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %31, i8 0, i64 %29, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %32 unwind label %40

32:                                               ; preds = %12
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  store i32 0, ptr %16, align 4, !tbaa !5
  %33 = icmp sgt i32 %0, 0
  br i1 %33, label %.lr.ph127, label %._crit_edge128

.lr.ph127:                                        ; preds = %32
  %invariant.gep = getelementptr i8, ptr %3, i64 4
  br label %42

._crit_edge128:                                   ; preds = %182, %32
  %.092.lcssa = phi i32 [ 0, %32 ], [ %.193, %182 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %34 = call ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  store ptr %34, ptr %28, align 8
  %35 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %36 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIiSaIiEES1_IS3_SaIS3_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 noundef %35) #8
  store ptr %36, ptr %27, align 8
  %37 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6vectorIiSaIiEES1_IS3_SaIS3_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %27, i64 noundef 1) #8
  store ptr %37, ptr %26, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorIiSaIiEES1_IS3_SaIS3_EEEC2IPS3_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %38 = load ptr, ptr %25, align 8
  %39 = invoke ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %38)
          to label %187 unwind label %192

40:                                               ; preds = %12
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %213

42:                                               ; preds = %.lr.ph127, %182
  %.092125 = phi i32 [ 0, %.lr.ph127 ], [ %.193, %182 ]
  %storemerge124 = phi i32 [ 0, %.lr.ph127 ], [ %184, %182 ]
  %43 = sext i32 %storemerge124 to i64
  %44 = getelementptr inbounds i32, ptr %1, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = icmp eq i32 %45, -2
  br i1 %46, label %182, label %47

47:                                               ; preds = %42
  %48 = getelementptr inbounds i8, ptr %30, i64 %43
  %49 = load i8, ptr %48, align 1, !tbaa !9, !range !11, !noundef !12
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %182, label %51

51:                                               ; preds = %47
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %.preheader107 unwind label %.loopexit.split-lp

.preheader107:                                    ; preds = %51
  %52 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %.not121 = icmp eq i64 %52, 0
  br i1 %.not121, label %._crit_edge, label %.lr.ph122

.lr.ph122:                                        ; preds = %.preheader107
  %53 = sext i32 %.092125 to i64
  %54 = getelementptr inbounds double, ptr %9, i64 %53
  br label %55

55:                                               ; preds = %.lr.ph122, %.loopexit106
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #8
  %57 = load i32, ptr %56, align 4, !tbaa !5
  store i32 %57, ptr %13, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %5, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %107

62:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %63 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  store ptr %63, ptr %18, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %64 = load ptr, ptr %17, align 8
  %65 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %64)
          to label %66 unwind label %101

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %53) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %68 unwind label %.loopexit108

68:                                               ; preds = %66
  %69 = load i32, ptr %13, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %2, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !13
  %73 = load double, ptr %54, align 8, !tbaa !13
  %74 = fadd double %72, %73
  store double %74, ptr %54, align 8, !tbaa !13
  %75 = getelementptr inbounds i8, ptr %30, i64 %70
  store i8 1, ptr %75, align 1, !tbaa !9
  %76 = getelementptr inbounds i32, ptr %1, i64 %70
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = icmp sgt i32 %77, -1
  br i1 %78, label %79, label %._crit_edge

79:                                               ; preds = %68
  %80 = zext nneg i32 %77 to i64
  %81 = getelementptr inbounds i32, ptr %5, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %81, align 4, !tbaa !5
  %84 = load i32, ptr %76, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds i8, ptr %30, i64 %85
  %87 = load i8, ptr %86, align 1, !tbaa !9, !range !11, !noundef !12
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %.loopexit106, label %89

89:                                               ; preds = %79
  %90 = getelementptr inbounds i8, ptr %31, i64 %85
  %91 = load i8, ptr %90, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = trunc nuw i8 %91 to i1
  br i1 %92, label %105, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %94 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  store ptr %94, ptr %20, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %95 = load i32, ptr %13, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds i32, ptr %1, i64 %96
  %98 = load ptr, ptr %19, align 8
  %99 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %98, ptr noundef nonnull align 4 dereferenceable(4) %97)
          to label %100 unwind label %103

100:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  %.pre = load i32, ptr %13, align 4, !tbaa !5
  %.phi.trans.insert = sext i32 %.pre to i64
  %.phi.trans.insert143 = getelementptr inbounds i32, ptr %1, i64 %.phi.trans.insert
  %.pre144 = load i32, ptr %.phi.trans.insert143, align 4, !tbaa !5
  %.pre146 = sext i32 %.pre144 to i64
  br label %105

.loopexit108:                                     ; preds = %66
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %186

.loopexit.split-lp:                               ; preds = %51
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %186

101:                                              ; preds = %62
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %186

103:                                              ; preds = %93
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %186

105:                                              ; preds = %100, %89
  %.pre-phi147 = phi i64 [ %.pre146, %100 ], [ %85, %89 ]
  %106 = getelementptr inbounds i8, ptr %31, i64 %.pre-phi147
  store i8 1, ptr %106, align 1, !tbaa !9
  br label %.loopexit106

107:                                              ; preds = %55
  %108 = getelementptr inbounds i32, ptr %3, i64 %58
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %gep118 = getelementptr i32, ptr %invariant.gep, i64 %58
  %110 = load i32, ptr %gep118, align 4, !tbaa !5
  %111 = icmp slt i32 %109, %110
  br i1 %111, label %.lr.ph120.preheader, label %.loopexit106

.lr.ph120.preheader:                              ; preds = %107
  %112 = sext i32 %109 to i64
  br label %.lr.ph120

.lr.ph120:                                        ; preds = %.lr.ph120.preheader, %170
  %indvars.iv = phi i64 [ %112, %.lr.ph120.preheader ], [ %indvars.iv.next, %170 ]
  %113 = phi i64 [ %58, %.lr.ph120.preheader ], [ %172, %170 ]
  %114 = phi i32 [ %57, %.lr.ph120.preheader ], [ %171, %170 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #8
  %115 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv
  %116 = load i32, ptr %115, align 4, !tbaa !5
  store i32 %116, ptr %21, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds i8, ptr %30, i64 %117
  %119 = load i8, ptr %118, align 1, !tbaa !9, !range !11, !noundef !12
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %170, label %121

121:                                              ; preds = %.lr.ph120
  %122 = getelementptr inbounds i32, ptr %5, i64 %117
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %163

125:                                              ; preds = %121
  %126 = getelementptr inbounds i8, ptr %30, i64 %113
  %127 = load i8, ptr %126, align 1, !tbaa !9, !range !11, !noundef !12
  %128 = trunc nuw i8 %127 to i1
  br i1 %128, label %145, label %129

129:                                              ; preds = %125
  %130 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %.not98 = icmp eq i64 %130, 0
  br i1 %.not98, label %.loopexit, label %.preheader105

.preheader105:                                    ; preds = %129
  %131 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %132 = add i64 %131, -1
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %132) #8
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %.not99116 = icmp eq i32 %114, %134
  br i1 %.not99116, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader105, %.lr.ph
  %.089117 = phi i32 [ %138, %.lr.ph ], [ %114, %.preheader105 ]
  %135 = sext i32 %.089117 to i64
  %136 = getelementptr inbounds i8, ptr %31, i64 %135
  store i8 1, ptr %136, align 1, !tbaa !9
  %137 = getelementptr inbounds i32, ptr %1, i64 %135
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %140 = add i64 %139, -1
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %140) #8
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %.not99 = icmp eq i32 %138, %142
  br i1 %.not99, label %.loopexit, label %.lr.ph, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph, %.preheader105, %129
  %.190 = phi i32 [ %114, %129 ], [ %114, %.preheader105 ], [ %138, %.lr.ph ]
  %143 = sext i32 %.190 to i64
  %144 = getelementptr inbounds i8, ptr %31, i64 %143
  store i8 1, ptr %144, align 1, !tbaa !9
  br label %145

145:                                              ; preds = %.loopexit, %125
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %53) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %146, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %147 unwind label %161

147:                                              ; preds = %145
  %148 = load i32, ptr %21, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds double, ptr %2, i64 %149
  %151 = load double, ptr %150, align 8, !tbaa !13
  %152 = load double, ptr %54, align 8, !tbaa !13
  %153 = fadd double %151, %152
  store double %153, ptr %54, align 8, !tbaa !13
  %154 = getelementptr inbounds i8, ptr %30, i64 %149
  store i8 1, ptr %154, align 1, !tbaa !9
  %155 = getelementptr inbounds i32, ptr %1, i64 %149
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds i32, ptr %5, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = add nsw i32 %159, -1
  store i32 %160, ptr %158, align 4, !tbaa !5
  br label %170

161:                                              ; preds = %145
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %176

163:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %164 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  store ptr %164, ptr %23, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %165 = load ptr, ptr %22, align 8
  %166 = invoke ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %165, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %167 unwind label %168

167:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br label %170

168:                                              ; preds = %163
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br label %176

170:                                              ; preds = %147, %167, %.lr.ph120
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %171 = load i32, ptr %13, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %gep = getelementptr i32, ptr %invariant.gep, i64 %172
  %173 = load i32, ptr %gep, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = icmp slt i64 %indvars.iv.next, %174
  br i1 %175, label %.lr.ph120, label %.loopexit106, !llvm.loop !17

176:                                              ; preds = %168, %161
  %.pn = phi { ptr, i32 } [ %162, %161 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  br label %186

.loopexit106:                                     ; preds = %170, %107, %105, %79
  %177 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %.not = icmp eq i64 %177, 0
  br i1 %.not, label %._crit_edge, label %55, !llvm.loop !18

._crit_edge:                                      ; preds = %.loopexit106, %68, %.preheader107
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %178 unwind label %180

178:                                              ; preds = %._crit_edge
  %179 = add nsw i32 %.092125, 1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  %.pre145 = load i32, ptr %16, align 4, !tbaa !5
  br label %182

180:                                              ; preds = %._crit_edge
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  br label %186

182:                                              ; preds = %47, %178, %42
  %183 = phi i32 [ %storemerge124, %42 ], [ %storemerge124, %47 ], [ %.pre145, %178 ]
  %.193 = phi i32 [ %.092125, %42 ], [ %.092125, %47 ], [ %179, %178 ]
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %16, align 4, !tbaa !5
  %185 = icmp slt i32 %184, %0
  br i1 %185, label %42, label %._crit_edge128, !llvm.loop !19

186:                                              ; preds = %.loopexit108, %.loopexit.split-lp, %180, %176, %103, %101
  %.pn101 = phi { ptr, i32 } [ %104, %103 ], [ %181, %180 ], [ %102, %101 ], [ %.pn, %176 ], [ %lpad.loopexit, %.loopexit108 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  br label %213

187:                                              ; preds = %._crit_edge128
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  store i32 %.092.lcssa, ptr %8, align 4, !tbaa !5
  %188 = icmp sgt i32 %.092.lcssa, 0
  br i1 %188, label %.preheader.preheader, label %._crit_edge134

.preheader.preheader:                             ; preds = %187
  %wide.trip.count = zext nneg i32 %.092.lcssa to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge132
  %indvars.iv140 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next141, %._crit_edge132 ]
  %189 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv140) #8
  %190 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #8
  %.not135 = icmp eq i64 %190, 0
  br i1 %.not135, label %._crit_edge132, label %.lr.ph131.preheader

.lr.ph131.preheader:                              ; preds = %.preheader
  %191 = trunc nuw nsw i64 %indvars.iv140 to i32
  br label %.lr.ph131

192:                                              ; preds = %._crit_edge128
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  br label %213

._crit_edge132:                                   ; preds = %203, %.preheader
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next141, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge134, label %.preheader, !llvm.loop !20

.lr.ph131:                                        ; preds = %.lr.ph131.preheader, %203
  %indvars.iv137 = phi i64 [ 0, %.lr.ph131.preheader ], [ %indvars.iv.next138, %203 ]
  %194 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv140) #8
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %indvars.iv137) #8
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = icmp slt i32 %196, %0
  br i1 %197, label %198, label %.critedge

198:                                              ; preds = %.lr.ph131
  %199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv140) #8
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %indvars.iv137) #8
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = icmp sgt i32 %201, -1
  br i1 %202, label %203, label %.critedge

.critedge:                                        ; preds = %.lr.ph131, %198
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 112, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq17postOrderSplitingEiPiPdS0_S0_S0_iiRiS1_S0_RSt6vectorIS3_IiSaIiEESaIS5_EE) #9
  unreachable

203:                                              ; preds = %198
  %204 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv140) #8
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %indvars.iv137) #8
  %206 = load i32, ptr %205, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds i32, ptr %10, i64 %207
  store i32 %191, ptr %208, align 4, !tbaa !5
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %209 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv140) #8
  %210 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  %211 = icmp ugt i64 %210, %indvars.iv.next138
  br i1 %211, label %.lr.ph131, label %._crit_edge132, !llvm.loop !21

._crit_edge134:                                   ; preds = %._crit_edge132, %187
  call void @_ZdaPv(ptr noundef nonnull %31) #10
  call void @_ZdaPv(ptr noundef nonnull %30) #10
  %212 = load i32, ptr %8, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  ret i32 %212

213:                                              ; preds = %186, %192, %40
  %.pn101.pn.pn = phi { ptr, i32 } [ %41, %40 ], [ %.pn101, %186 ], [ %193, %192 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  resume { ptr, i32 } %.pn101.pn.pn
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(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 nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nobuiltin 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 #7 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}


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