; LLVM IR from sympiler/nasoq :: src/common (TreeUtils)

; 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_ = external hidden unnamed_addr constant [127 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef %6) #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %45 = alloca i32, align 4
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  store ptr %6, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %46 = load i32, ptr %9, align 4, !tbaa !5
  store i32 %46, ptr %16, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %218, %7
  %48 = load i32, ptr %16, align 4, !tbaa !5
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %221

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %52 = load ptr, ptr %10, align 8, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !5
  %54 = sub nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds i32, ptr %52, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  store i32 %57, ptr %18, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %209, %51
  %59 = load i32, ptr %18, align 4, !tbaa !5
  %60 = load ptr, ptr %10, align 8, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i32, ptr %60, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = icmp slt i32 %59, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %58
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %217

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

68:                                               ; preds = %144, %67
  %69 = load i32, ptr %19, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = load ptr, ptr %12, align 8, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #4
  %75 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #4
  %76 = icmp ult i64 %70, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %68
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %147

78:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %140, %78
  %80 = load i32, ptr %20, align 4, !tbaa !5
  %81 = load i32, ptr %16, align 4, !tbaa !5
  %82 = sub nsw i32 %81, 1
  %83 = icmp slt i32 %80, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %79
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %143

85:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %86 = load ptr, ptr %12, align 8, !tbaa !9
  %87 = load i32, ptr %18, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #4
  %90 = load i32, ptr %19, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %91) #4
  %93 = load i32, ptr %92, align 4, !tbaa !5
  store i32 %93, ptr %21, align 4, !tbaa !5
  %94 = load i32, ptr %21, align 4, !tbaa !5
  %95 = load i32, ptr %8, align 4, !tbaa !5
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %97, label %100

97:                                               ; preds = %85
  %98 = load i32, ptr %21, align 4, !tbaa !5
  %99 = icmp sge i32 %98, 0
  br label %100

100:                                              ; preds = %97, %85
  %101 = phi i1 [ false, %85 ], [ %99, %97 ]
  br i1 %101, label %102, label %103

102:                                              ; preds = %100
  br label %105

103:                                              ; preds = %100
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 358, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #5
  unreachable

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104, %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %106 = load ptr, ptr %10, align 8, !tbaa !9
  %107 = load i32, ptr %20, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i32, ptr %106, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = sub nsw i32 %111, 1
  store i32 %112, ptr %22, align 4, !tbaa !5
  %113 = load i32, ptr %20, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  %115 = load i32, ptr %11, align 4, !tbaa !5
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %105
  br label %120

118:                                              ; preds = %105
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 362, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #5
  unreachable

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119, %117
  %121 = load ptr, ptr %14, align 8, !tbaa !9
  %122 = load i32, ptr %21, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = load i32, ptr %22, align 4, !tbaa !5
  %127 = icmp slt i32 %125, %126
  br i1 %127, label %128, label %139

128:                                              ; preds = %120
  %129 = load ptr, ptr %13, align 8, !tbaa !9
  %130 = load i32, ptr %22, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %131) #4
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %133 unwind label %135

133:                                              ; preds = %128
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %134 unwind label %135

134:                                              ; preds = %133
  br label %139

135:                                              ; preds = %133, %128
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %23, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %216

139:                                              ; preds = %134, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %20, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %20, align 4, !tbaa !5
  br label %79, !llvm.loop !11

143:                                              ; preds = %84
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %19, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %19, align 4, !tbaa !5
  br label %68, !llvm.loop !13

147:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %190, %147
  %149 = load i32, ptr %25, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %152 = icmp ult i64 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %148
  store i32 14, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  br label %197

154:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %155 = load i32, ptr %25, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %156) #4
  %158 = load i32, ptr %157, align 4, !tbaa !5
  store i32 %158, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %167, %154
  %160 = load i32, ptr %27, align 4, !tbaa !5
  %161 = load i32, ptr %25, align 4, !tbaa !5
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %159
  store i32 17, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %170

164:                                              ; preds = %159
  %165 = load i32, ptr %26, align 4, !tbaa !5
  %166 = add nsw i32 %165, -1
  store i32 %166, ptr %26, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %164
  %168 = load i32, ptr %27, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %27, align 4, !tbaa !5
  br label %159, !llvm.loop !14

170:                                              ; preds = %163
  %171 = load ptr, ptr %12, align 8, !tbaa !9
  %172 = load i32, ptr %18, align 4, !tbaa !5
  %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) %171, i64 noundef %173) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %175 = load ptr, ptr %12, align 8, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #4
  %179 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #4
  %180 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %179, ptr %180, align 8
  %181 = load i32, ptr %26, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %30, i64 noundef %182) #4
  %184 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %183, ptr %184, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #4
  %185 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %28, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8
  %187 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %174, ptr %186)
          to label %188 unwind label %193

188:                                              ; preds = %170
  %189 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %187, ptr %189, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %190

190:                                              ; preds = %188
  %191 = load i32, ptr %25, align 4, !tbaa !5
  %192 = add nsw i32 %191, -1
  store i32 %192, ptr %25, align 4, !tbaa !5
  br label %148, !llvm.loop !15

193:                                              ; preds = %170
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %23, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  br label %216

197:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %198 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %200 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %200, ptr %201, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #4
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %32, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8
  %204 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %34, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8
  %206 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr %203, ptr %205)
          to label %207 unwind label %212

207:                                              ; preds = %197
  %208 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %206, ptr %208, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br label %209

209:                                              ; preds = %207
  %210 = load i32, ptr %18, align 4, !tbaa !5
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %18, align 4, !tbaa !5
  br label %58, !llvm.loop !16

212:                                              ; preds = %197
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %23, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br label %216

216:                                              ; preds = %212, %193, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %331

217:                                              ; preds = %66
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %16, align 4, !tbaa !5
  %220 = add nsw i32 %219, -1
  store i32 %220, ptr %16, align 4, !tbaa !5
  br label %47, !llvm.loop !17

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

222:                                              ; preds = %307, %221
  %223 = load i32, ptr %37, align 4, !tbaa !5
  %224 = load i32, ptr %9, align 4, !tbaa !5
  %225 = icmp slt i32 %223, %224
  br i1 %225, label %227, label %226

226:                                              ; preds = %222
  store i32 20, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %310

227:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  %228 = load ptr, ptr %10, align 8, !tbaa !9
  %229 = load i32, ptr %37, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds i32, ptr %228, i64 %230
  %232 = load i32, ptr %231, align 4, !tbaa !5
  store i32 %232, ptr %38, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %298, %227
  %234 = load i32, ptr %38, align 4, !tbaa !5
  %235 = load ptr, ptr %10, align 8, !tbaa !9
  %236 = load i32, ptr %37, align 4, !tbaa !5
  %237 = add nsw i32 %236, 1
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds i32, ptr %235, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = icmp slt i32 %234, %240
  br i1 %241, label %243, label %242

242:                                              ; preds = %233
  store i32 23, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %306

243:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %244

244:                                              ; preds = %267, %243
  %245 = load i32, ptr %39, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = load ptr, ptr %12, align 8, !tbaa !9
  %248 = load i32, ptr %38, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %247, i64 noundef %249) #4
  %251 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %250) #4
  %252 = icmp ult i64 %246, %251
  br i1 %252, label %254, label %253

253:                                              ; preds = %244
  store i32 26, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  br label %274

254:                                              ; preds = %244
  %255 = load ptr, ptr %13, align 8, !tbaa !9
  %256 = load i32, ptr %38, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %257) #4
  %259 = load ptr, ptr %12, align 8, !tbaa !9
  %260 = load i32, ptr %38, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %259, i64 noundef %261) #4
  %263 = load i32, ptr %39, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %262, i64 noundef %264) #4
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %258, ptr noundef nonnull align 4 dereferenceable(4) %265)
          to label %266 unwind label %270

266:                                              ; preds = %254
  br label %267

267:                                              ; preds = %266
  %268 = load i32, ptr %39, align 4, !tbaa !5
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %39, align 4, !tbaa !5
  br label %244, !llvm.loop !18

270:                                              ; preds = %254
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %23, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  br label %305

274:                                              ; preds = %253
  %275 = load ptr, ptr %12, align 8, !tbaa !9
  %276 = load i32, ptr %38, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %275, i64 noundef %277) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #4
  %279 = load ptr, ptr %12, align 8, !tbaa !9
  %280 = load i32, ptr %38, 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) #4
  %283 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %282) #4
  %284 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %283, ptr %284, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  %285 = load ptr, ptr %12, align 8, !tbaa !9
  %286 = load i32, ptr %38, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %285, i64 noundef %287) #4
  %289 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #4
  %290 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  store ptr %289, ptr %290, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #4
  %291 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %40, i32 0, i32 0
  %292 = load ptr, ptr %291, align 8
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %42, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8
  %295 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %278, ptr %292, ptr %294)
          to label %296 unwind label %301

296:                                              ; preds = %274
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  store ptr %295, ptr %297, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  br label %298

298:                                              ; preds = %296
  %299 = load i32, ptr %38, align 4, !tbaa !5
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %38, align 4, !tbaa !5
  br label %233, !llvm.loop !19

301:                                              ; preds = %274
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %23, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  br label %305

305:                                              ; preds = %301, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  br label %331

306:                                              ; preds = %242
  br label %307

307:                                              ; preds = %306
  %308 = load i32, ptr %37, align 4, !tbaa !5
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %37, align 4, !tbaa !5
  br label %222, !llvm.loop !20

310:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #4
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %311

311:                                              ; preds = %327, %310
  %312 = load i32, ptr %45, align 4, !tbaa !5
  %313 = load i32, ptr %11, align 4, !tbaa !5
  %314 = icmp slt i32 %312, %313
  br i1 %314, label %316, label %315

315:                                              ; preds = %311
  store i32 29, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  br label %330

316:                                              ; preds = %311
  %317 = load ptr, ptr %12, align 8, !tbaa !9
  %318 = load i32, ptr %45, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %317, i64 noundef %319) #4
  %321 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %320) #4
  %322 = icmp eq i64 %321, 0
  br i1 %322, label %323, label %324

323:                                              ; preds = %316
  br label %326

324:                                              ; preds = %316
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 394, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #5
  unreachable

325:                                              ; No predecessors!
  br label %326

326:                                              ; preds = %325, %323
  br label %327

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

330:                                              ; preds = %315
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  ret void

331:                                              ; preds = %305, %216
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  br label %332

332:                                              ; preds = %331
  %333 = load ptr, ptr %23, align 8
  %334 = load i32, ptr %24, align 4
  %335 = insertvalue { ptr, i32 } poison, ptr %333, 0
  %336 = insertvalue { ptr, i32 } %335, i32 %334, 1
  resume { ptr, i32 } %336
}

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

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

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

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

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

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

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

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


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

%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_ = external hidden unnamed_addr constant [127 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nocapture noundef readonly %6) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::vector.0", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %22 = icmp sgt i32 %1, 0
  br i1 %22, label %.lr.ph122.preheader, label %.preheader

.lr.ph122.preheader:                              ; preds = %7
  %smax = call i32 @llvm.smax.i32(i32 %3, i32 1)
  %23 = add nsw i32 %smax, -1
  %24 = add nsw i32 %1, -1
  %25 = zext nneg i32 %24 to i64
  %26 = zext nneg i32 %1 to i64
  %wide.trip.count = zext nneg i32 %23 to i64
  br label %.lr.ph122

.loopexit94:                                      ; preds = %91, %.lr.ph122
  %27 = icmp sgt i64 %indvars.iv148, 1
  %indvars.iv.next147 = add nsw i64 %indvars.iv146, -1
  br i1 %27, label %.lr.ph122, label %.preheader92, !llvm.loop !5

.preheader92:                                     ; preds = %.loopexit94
  br i1 %22, label %.lr.ph128.preheader, label %.preheader

.lr.ph128.preheader:                              ; preds = %.preheader92
  %wide.trip.count162 = zext nneg i32 %1 to i64
  %.pre = load i32, ptr %2, align 4, !tbaa !7
  br label %.lr.ph128

.lr.ph122:                                        ; preds = %.lr.ph122.preheader, %.loopexit94
  %indvars.iv148 = phi i64 [ %26, %.lr.ph122.preheader ], [ %indvars.iv.next149, %.loopexit94 ]
  %indvars.iv146 = phi i64 [ %25, %.lr.ph122.preheader ], [ %indvars.iv.next147, %.loopexit94 ]
  %indvars.iv.next149 = add nsw i64 %indvars.iv148, -1
  %28 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next149
  %29 = load i32, ptr %28, align 4, !tbaa !7
  %30 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv148
  %31 = load i32, ptr %30, align 4, !tbaa !7
  %32 = icmp slt i32 %29, %31
  br i1 %32, label %.lr.ph119, label %.loopexit94

.lr.ph119:                                        ; preds = %.lr.ph122
  %33 = icmp ugt i64 %indvars.iv148, 1
  %34 = sext i32 %29 to i64
  br label %35

35:                                               ; preds = %.lr.ph119, %91
  %indvars.iv143 = phi i64 [ %34, %.lr.ph119 ], [ %indvars.iv.next144, %91 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 0, ptr %9, align 4, !tbaa !7
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  %37 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %.not = icmp eq i64 %37, 0
  br i1 %.not, label %._crit_edge104, label %.preheader93.lr.ph

.preheader93.lr.ph:                               ; preds = %35
  br i1 %33, label %.preheader93.us, label %.preheader93

.preheader93.us:                                  ; preds = %.preheader93.lr.ph, %.preheader93.us.backedge
  %indvars.iv = phi i64 [ %indvars.iv.be, %.preheader93.us.backedge ], [ 0, %.preheader93.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %38 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  %39 = load i32, ptr %9, align 4, !tbaa !7
  %40 = sext i32 %39 to i64
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %40) #5
  %42 = load i32, ptr %41, align 4, !tbaa !7
  store i32 %42, ptr %10, align 4, !tbaa !7
  %43 = icmp slt i32 %42, %0
  %44 = icmp sgt i32 %42, -1
  %45 = and i1 %43, %44
  br i1 %45, label %46, label %.split.us

46:                                               ; preds = %.preheader93.us
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %47 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next
  %48 = load i32, ptr %47, align 4, !tbaa !7
  %49 = add nsw i32 %48, -1
  %exitcond.not = icmp eq i64 %indvars.iv, %wide.trip.count
  br i1 %exitcond.not, label %.split106.us, label %50

50:                                               ; preds = %46
  %51 = zext nneg i32 %42 to i64
  %52 = getelementptr inbounds i32, ptr %6, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !7
  %54 = icmp slt i32 %53, %49
  br i1 %54, label %55, label %59

55:                                               ; preds = %50
  %56 = sext i32 %49 to i64
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %56) #5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %58 unwind label %.split108.us

58:                                               ; preds = %55
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %59 unwind label %.split108.us

59:                                               ; preds = %58, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %exitcond139.not = icmp eq i64 %indvars.iv.next, %indvars.iv146
  br i1 %exitcond139.not, label %._crit_edge.us, label %.preheader93.us.backedge

.preheader93.us.backedge:                         ; preds = %59, %._crit_edge.us
  %indvars.iv.be = phi i64 [ %indvars.iv.next, %59 ], [ 0, %._crit_edge.us ]
  br label %.preheader93.us, !llvm.loop !11

._crit_edge.us:                                   ; preds = %59
  %60 = load i32, ptr %9, align 4, !tbaa !7
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %9, align 4, !tbaa !7
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  %64 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #5
  %65 = icmp ugt i64 %64, %62
  br i1 %65, label %.preheader93.us.backedge, label %._crit_edge104

.split108.us:                                     ; preds = %58, %55
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %134

.preheader93:                                     ; preds = %.preheader93.lr.ph, %.preheader93
  %67 = load i32, ptr %9, align 4, !tbaa !7
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %9, align 4, !tbaa !7
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  %71 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #5
  %72 = icmp ugt i64 %71, %69
  br i1 %72, label %.preheader93, label %._crit_edge104, !llvm.loop !11

._crit_edge104:                                   ; preds = %.preheader93, %._crit_edge.us, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  %73 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %.not132 = icmp eq i64 %73, 0
  br i1 %.not132, label %._crit_edge116, label %._crit_edge

.split.us:                                        ; preds = %.preheader93.us
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 358, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #6
  unreachable

.split106.us:                                     ; preds = %46
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 362, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #6
  unreachable

._crit_edge116:                                   ; preds = %._crit_edge116.loopexit, %._crit_edge104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %74 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  store ptr %74, ptr %15, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %75 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  store ptr %75, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %76 = load ptr, ptr %14, align 8
  %77 = load ptr, ptr %16, align 8
  %78 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %76, ptr %77)
          to label %91 unwind label %95

._crit_edge:                                      ; preds = %._crit_edge104
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #5
  %80 = load i32, ptr %79, align 4, !tbaa !7
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv143) #5
  %83 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #5
  store ptr %83, ptr %13, align 8
  %84 = sext i32 %80 to i64
  %85 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %13, i64 noundef %84) #5
  store ptr %85, ptr %12, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %86 = load ptr, ptr %11, align 8
  %87 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr %86)
          to label %._crit_edge116.loopexit unwind label %89

._crit_edge116.loopexit:                          ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %88 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %._crit_edge116

89:                                               ; preds = %._crit_edge
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %134

91:                                               ; preds = %._crit_edge116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  %indvars.iv.next144 = add nsw i64 %indvars.iv143, 1
  %92 = load i32, ptr %30, align 4, !tbaa !7
  %93 = sext i32 %92 to i64
  %94 = icmp slt i64 %indvars.iv.next144, %93
  br i1 %94, label %35, label %.loopexit94, !llvm.loop !12

95:                                               ; preds = %._crit_edge116
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %134

.loopexit:                                        ; preds = %123, %.lr.ph128
  %97 = phi i32 [ %101, %.lr.ph128 ], [ %124, %123 ]
  %exitcond163.not = icmp eq i64 %indvars.iv.next160, %wide.trip.count162
  br i1 %exitcond163.not, label %.preheader, label %.lr.ph128, !llvm.loop !13

.preheader:                                       ; preds = %.loopexit, %7, %.preheader92
  %98 = icmp sgt i32 %3, 0
  br i1 %98, label %.lr.ph130.preheader, label %._crit_edge131

.lr.ph130.preheader:                              ; preds = %.preheader
  %wide.trip.count167 = zext nneg i32 %3 to i64
  br label %.lr.ph130

.lr.ph128:                                        ; preds = %.lr.ph128.preheader, %.loopexit
  %99 = phi i32 [ %.pre, %.lr.ph128.preheader ], [ %97, %.loopexit ]
  %indvars.iv159 = phi i64 [ 0, %.lr.ph128.preheader ], [ %indvars.iv.next160, %.loopexit ]
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %100 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next160
  %101 = load i32, ptr %100, align 4, !tbaa !7
  %102 = icmp slt i32 %99, %101
  br i1 %102, label %.preheader91.preheader, label %.loopexit

.preheader91.preheader:                           ; preds = %.lr.ph128
  %103 = sext i32 %99 to i64
  br label %.preheader91

.preheader91:                                     ; preds = %.preheader91.preheader, %123
  %indvars.iv156 = phi i64 [ %103, %.preheader91.preheader ], [ %indvars.iv.next157, %123 ]
  %104 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  %105 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %104) #5
  %.not133 = icmp eq i64 %105, 0
  br i1 %.not133, label %._crit_edge125, label %.lr.ph124

._crit_edge125:                                   ; preds = %117, %.preheader91
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %107 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  %108 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #5
  store ptr %108, ptr %19, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  %110 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  store ptr %110, ptr %21, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %111 = load ptr, ptr %18, align 8
  %112 = load ptr, ptr %20, align 8
  %113 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr %111, ptr %112)
          to label %123 unwind label %127

.lr.ph124:                                        ; preds = %.preheader91, %117
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %117 ], [ 0, %.preheader91 ]
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv156) #5
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %indvars.iv153) #5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %114, ptr noundef nonnull align 4 dereferenceable(4) %116)
          to label %117 unwind label %121

117:                                              ; preds = %.lr.ph124
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %118 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #5
  %119 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #5
  %120 = icmp ugt i64 %119, %indvars.iv.next154
  br i1 %120, label %.lr.ph124, label %._crit_edge125, !llvm.loop !14

121:                                              ; preds = %.lr.ph124
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %134

123:                                              ; preds = %._crit_edge125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  %indvars.iv.next157 = add nsw i64 %indvars.iv156, 1
  %124 = load i32, ptr %100, align 4, !tbaa !7
  %125 = sext i32 %124 to i64
  %126 = icmp slt i64 %indvars.iv.next157, %125
  br i1 %126, label %.preheader91, label %.loopexit, !llvm.loop !15

127:                                              ; preds = %._crit_edge125
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %134

129:                                              ; preds = %.lr.ph130
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %exitcond168.not = icmp eq i64 %indvars.iv.next165, %wide.trip.count167
  br i1 %exitcond168.not, label %._crit_edge131, label %.lr.ph130, !llvm.loop !16

._crit_edge131:                                   ; preds = %129, %.preheader
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  ret void

.lr.ph130:                                        ; preds = %.lr.ph130.preheader, %129
  %indvars.iv164 = phi i64 [ 0, %.lr.ph130.preheader ], [ %indvars.iv.next165, %129 ]
  %130 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv164) #5
  %131 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #5
  %132 = icmp eq i64 %131, 0
  br i1 %132, label %129, label %133

133:                                              ; preds = %.lr.ph130
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 394, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq19makeSlackedLevelSetEiiPiiRSt6vectorIS1_IiSaIiEESaIS3_EES6_S0_) #6
  unreachable

134:                                              ; preds = %121, %127, %.split108.us, %89, %95
  %.pn88.pn = phi { ptr, i32 } [ %66, %.split108.us ], [ %90, %89 ], [ %96, %95 ], [ %122, %121 ], [ %128, %127 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  resume { ptr, i32 } %.pn88.pn
}

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

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

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

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

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

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

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

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

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


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