; LLVM IR from bqi343/cp-notebook :: Implementations/content/graphs (12)/Advanced (DirectedMSTtest)

; 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"

%"struct.std::pair" = type { i64, %"class.std::vector" }
%"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 }
%struct.DSUrb = type { %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.10" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.23" = type { i32, i32 }
%"class.std::allocator.20" = type { i8 }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Edge = type { i32, i32, i64 }
%"struct.std::pair.35" = type { i32, %struct.Edge }
%"class.__gnu_cxx::__normal_iterator.39" = type { ptr }
%"struct.std::pair.37" = type { i32, %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl" }
%"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }
%struct.Node = type { %struct.Edge, ptr, ptr, i64 }

@.str.10 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [117 x i8], align 1
@__PRETTY_FUNCTION__._Z4dmstiiRKSt6vectorI4EdgeSaIS0_EE = external hidden unnamed_addr constant [50 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z5mergeP4NodeS0_(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3popRP4Node(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

57:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  call void @_ZNSaIP4NodeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt6vectorIP4NodeSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %60 unwind label %75

60:                                               ; preds = %57
  call void @_ZNSt15__new_allocatorIP4NodeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %61 = load ptr, ptr %8, align 8, !tbaa !9
  store ptr %61, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %62 = load ptr, ptr %14, align 8, !tbaa !9
  %63 = call ptr @_ZNKSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %65 = load ptr, ptr %14, align 8, !tbaa !9
  %66 = call ptr @_ZNKSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %101, %60
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %69, label %79, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %107

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

75:                                               ; preds = %57
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIP4NodeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %433

79:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  store ptr %80, ptr %17, align 8, !tbaa !9
  %81 = load ptr, ptr %17, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.Edge, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %84) #8
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %88 unwind label %103

88:                                               ; preds = %79
  %89 = getelementptr inbounds %struct.Node, ptr %87, i32 0, i32 0
  %90 = load ptr, ptr %17, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %89, ptr align 8 %90, i64 16, i1 false), !tbaa.struct !14
  %91 = getelementptr inbounds %struct.Node, ptr %87, i32 0, i32 1
  store ptr null, ptr %91, align 16, !tbaa !16
  %92 = getelementptr inbounds %struct.Node, ptr %87, i32 0, i32 2
  store ptr null, ptr %92, align 8, !tbaa !18
  %93 = getelementptr inbounds %struct.Node, ptr %87, i32 0, i32 3
  store i64 0, ptr %93, align 16, !tbaa !19
  %94 = invoke noundef ptr @_Z5mergeP4NodeS0_(ptr noundef %86, ptr noundef %87)
          to label %95 unwind label %103

95:                                               ; preds = %88
  %96 = load ptr, ptr %17, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.Edge, ptr %96, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !11
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %99) #8
  store ptr %94, ptr %100, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %101

101:                                              ; preds = %95
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %68

103:                                              ; preds = %88, %79
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %10, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %432

107:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  %108 = load i32, ptr %6, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 -1, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %109, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %110 unwind label %124

110:                                              ; preds = %107
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = load i32, ptr %7, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %113) #8
  store i32 %111, ptr %114, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #8
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 -1, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 -1, ptr %25, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %117 unwind label %128

117:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  call void @_ZNSaISt4pairIiiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %116, ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %118 unwind label %132

118:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #8
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %290, %118
  %120 = load i32, ptr %28, align 4, !tbaa !5
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = icmp slt i32 %120, %121
  br i1 %122, label %137, label %123

123:                                              ; preds = %119
  store i32 4, ptr %29, align 4
  br label %294

124:                                              ; preds = %107
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %10, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %431

128:                                              ; preds = %110
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  br label %136

132:                                              ; preds = %117
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  br label %136

136:                                              ; preds = %132, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %430

137:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %138 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %138, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %139

139:                                              ; preds = %250, %137
  %140 = load i32, ptr %30, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %141) #8
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = icmp slt i32 %143, 0
  br i1 %144, label %145, label %252

145:                                              ; preds = %139
  %146 = load i32, ptr %30, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %147) #8
  %149 = load ptr, ptr %148, align 8, !tbaa !9
  %150 = icmp ne ptr %149, null
  br i1 %150, label %157, label %151

151:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store i64 -1, ptr %33, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #8
  call void @llvm.memset.p0.i64(ptr align 8 %34, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  invoke void @_ZNSt4pairIxSt6vectorIiSaIiEEEC2IxS2_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS6_S7_EEEbE4typeELb1EEERKxRKS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %152 unwind label %153

152:                                              ; preds = %151
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  store i32 1, ptr %29, align 4
  br label %287

153:                                              ; preds = %151
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %10, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %11, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %293

157:                                              ; preds = %145
  %158 = load i32, ptr %28, align 4, !tbaa !5
  %159 = load i32, ptr %30, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %160) #8
  store i32 %158, ptr %161, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #8
  %162 = load i32, ptr %30, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %163) #8
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  %166 = invoke { i64, i64 } @_ZN4Node3topEv(ptr noundef nonnull align 8 dereferenceable(40) %165)
          to label %167 unwind label %238

167:                                              ; preds = %157
  %168 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 0
  %169 = extractvalue { i64, i64 } %166, 0
  store i64 %169, ptr %168, align 8
  %170 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 1
  %171 = extractvalue { i64, i64 } %166, 1
  store i64 %171, ptr %170, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #8
  invoke void @_ZNSt4pairIi4EdgeEC2IRiRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %172 unwind label %242

172:                                              ; preds = %167
  invoke void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %173 unwind label %242

173:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  %174 = getelementptr inbounds %struct.Edge, ptr %35, i32 0, i32 2
  %175 = load i64, ptr %174, align 8, !tbaa !20
  %176 = load i32, ptr %30, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %177) #8
  %179 = load ptr, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.Node, ptr %179, i32 0, i32 3
  %181 = load i64, ptr %180, align 8, !tbaa !19
  %182 = sub nsw i64 %181, %175
  store i64 %182, ptr %180, align 8, !tbaa !19
  %183 = load i32, ptr %30, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %184) #8
  invoke void @_Z3popRP4Node(ptr noundef nonnull align 8 dereferenceable(8) %185)
          to label %186 unwind label %238

186:                                              ; preds = %173
  %187 = getelementptr inbounds %struct.Edge, ptr %35, i32 0, i32 2
  %188 = load i64, ptr %187, align 8, !tbaa !20
  %189 = load i64, ptr %18, align 8, !tbaa !15
  %190 = add nsw i64 %189, %188
  store i64 %190, ptr %18, align 8, !tbaa !15
  %191 = getelementptr inbounds %struct.Edge, ptr %35, i32 0, i32 0
  %192 = load i32, ptr %191, align 8, !tbaa !21
  %193 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %192)
          to label %194 unwind label %238

194:                                              ; preds = %186
  store i32 %193, ptr %30, align 4, !tbaa !5
  %195 = load i32, ptr %30, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %196) #8
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = load i32, ptr %28, align 4, !tbaa !5
  %200 = icmp eq i32 %198, %199
  br i1 %200, label %201, label %250

201:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  store ptr null, ptr %37, align 8, !tbaa !9
  %202 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE12emplace_backIJEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %203 unwind label %246

203:                                              ; preds = %201
  br label %204

204:                                              ; preds = %223, %203
  %205 = load ptr, ptr %37, align 8, !tbaa !9
  %206 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %207 = getelementptr inbounds %"struct.std::pair.35", ptr %206, i32 0, i32 0
  %208 = load i32, ptr %207, align 8, !tbaa !22
  store i32 %208, ptr %31, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %209) #8
  %211 = load ptr, ptr %210, align 8, !tbaa !9
  %212 = invoke noundef ptr @_Z5mergeP4NodeS0_(ptr noundef %205, ptr noundef %211)
          to label %213 unwind label %246

213:                                              ; preds = %204
  store ptr %212, ptr %37, align 8, !tbaa !9
  %214 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %215 = getelementptr inbounds %"struct.std::pair.37", ptr %214, i32 0, i32 1
  %216 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %217 = getelementptr inbounds %"struct.std::pair.35", ptr %216, i32 0, i32 1
  invoke void @_ZNSt6vectorI4EdgeSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %215, ptr noundef nonnull align 8 dereferenceable(16) %217)
          to label %218 unwind label %246

218:                                              ; preds = %213
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %30, align 4, !tbaa !5
  %221 = load i32, ptr %31, align 4, !tbaa !5
  %222 = invoke noundef zeroext i1 @_ZN5DSUrb5uniteEii(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %220, i32 noundef %221)
          to label %223 unwind label %246

223:                                              ; preds = %219
  br i1 %222, label %204, label %224, !llvm.loop !24

224:                                              ; preds = %223
  %225 = load i32, ptr %30, align 4, !tbaa !5
  %226 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %225)
          to label %227 unwind label %246

227:                                              ; preds = %224
  store i32 %226, ptr %30, align 4, !tbaa !5
  %228 = load ptr, ptr %37, align 8, !tbaa !9
  %229 = load i32, ptr %30, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %230) #8
  store ptr %228, ptr %231, align 8, !tbaa !9
  %232 = load i32, ptr %30, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %233) #8
  store i32 -1, ptr %234, align 4, !tbaa !5
  %235 = load i32, ptr %30, align 4, !tbaa !5
  %236 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %237 = getelementptr inbounds %"struct.std::pair.37", ptr %236, i32 0, i32 0
  store i32 %235, ptr %237, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %250

238:                                              ; preds = %186, %173, %157
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %10, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %11, align 4
  br label %251

242:                                              ; preds = %172, %167
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %10, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  br label %251

246:                                              ; preds = %224, %219, %213, %204, %201
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %10, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %251

250:                                              ; preds = %227, %194
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  br label %139, !llvm.loop !32

251:                                              ; preds = %246, %242, %238
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  br label %293

252:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store ptr %32, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %253 = load ptr, ptr %38, align 8, !tbaa !9
  %254 = call ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #8
  %255 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.39", ptr %39, i32 0, i32 0
  store ptr %254, ptr %255, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %256 = load ptr, ptr %38, align 8, !tbaa !9
  %257 = call ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %256) #8
  %258 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.39", ptr %40, i32 0, i32 0
  store ptr %257, ptr %258, align 8
  br label %259

259:                                              ; preds = %280, %252
  %260 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  br i1 %260, label %262, label %261

261:                                              ; preds = %259
  store i32 11, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %286

262:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %263 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  store ptr %263, ptr %41, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %264 = load ptr, ptr %41, align 8, !tbaa !9
  %265 = getelementptr inbounds %"struct.std::pair.35", ptr %264, i32 0, i32 1
  %266 = getelementptr inbounds %struct.Edge, ptr %265, i32 0, i32 0
  %267 = load ptr, ptr %41, align 8, !tbaa !9
  %268 = getelementptr inbounds %"struct.std::pair.35", ptr %267, i32 0, i32 1
  %269 = getelementptr inbounds %struct.Edge, ptr %268, i32 0, i32 1
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(4) %266, ptr noundef nonnull align 4 dereferenceable(4) %269)
          to label %270 unwind label %282

270:                                              ; preds = %262
  %271 = load ptr, ptr %41, align 8, !tbaa !9
  %272 = getelementptr inbounds %"struct.std::pair.35", ptr %271, i32 0, i32 1
  %273 = getelementptr inbounds %struct.Edge, ptr %272, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !33
  %275 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %274)
          to label %276 unwind label %282

276:                                              ; preds = %270
  %277 = sext i32 %275 to i64
  %278 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %277) #8
  %279 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %278, ptr noundef nonnull align 4 dereferenceable(8) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %280

280:                                              ; preds = %276
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  br label %259

282:                                              ; preds = %270, %262
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %10, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %293

286:                                              ; preds = %261
  store i32 0, ptr %29, align 4
  br label %287

287:                                              ; preds = %286, %152
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  %288 = load i32, ptr %29, align 4
  switch i32 %288, label %294 [
    i32 0, label %289
  ]

289:                                              ; preds = %287
  br label %290

290:                                              ; preds = %289
  %291 = load i32, ptr %28, align 4, !tbaa !5
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %28, align 4, !tbaa !5
  br label %119, !llvm.loop !34

293:                                              ; preds = %282, %251, %153
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %429

294:                                              ; preds = %287, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  %295 = load i32, ptr %29, align 4
  switch i32 %295, label %428 [
    i32 4, label %296
  ]

296:                                              ; preds = %294
  br label %297

297:                                              ; preds = %371, %296
  %298 = call noundef i64 @_ZNKSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %299 = trunc i64 %298 to i32
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %378

301:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #8
  %302 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  invoke void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %302)
          to label %303 unwind label %318

303:                                              ; preds = %301
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %304 = getelementptr inbounds %"struct.std::pair.37", ptr %43, i32 0, i32 0
  %305 = load i32, ptr %304, align 8, !tbaa !26
  %306 = sext i32 %305 to i64
  %307 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %306) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %307, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %308 = getelementptr inbounds %"struct.std::pair.37", ptr %43, i32 0, i32 1
  store ptr %308, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %309 = load ptr, ptr %45, align 8, !tbaa !9
  %310 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %309) #8
  %311 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %46, i32 0, i32 0
  store ptr %310, ptr %311, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %312 = load ptr, ptr %45, align 8, !tbaa !9
  %313 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %312) #8
  %314 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %47, i32 0, i32 0
  store ptr %313, ptr %314, align 8
  br label %315

315:                                              ; preds = %325, %303
  %316 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br i1 %316, label %322, label %317

317:                                              ; preds = %315
  store i32 15, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %331

318:                                              ; preds = %301
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %10, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %11, align 4
  br label %377

322:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %323 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  store ptr %323, ptr %48, align 8, !tbaa !9
  invoke void @_ZN5DSUrb8rollbackEv(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %324 unwind label %327

324:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %325

325:                                              ; preds = %324
  %326 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  br label %315

327:                                              ; preds = %322
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %10, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %376

331:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %332 = getelementptr inbounds %"struct.std::pair.37", ptr %43, i32 0, i32 1
  store ptr %332, ptr %49, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %333 = load ptr, ptr %49, align 8, !tbaa !9
  %334 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %333) #8
  %335 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %50, i32 0, i32 0
  store ptr %334, ptr %335, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %336 = load ptr, ptr %49, align 8, !tbaa !9
  %337 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %336) #8
  %338 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %51, i32 0, i32 0
  store ptr %337, ptr %338, align 8
  br label %339

339:                                              ; preds = %357, %331
  %340 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br i1 %340, label %342, label %341

341:                                              ; preds = %339
  store i32 17, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %363

342:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %343 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  store ptr %343, ptr %52, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %344 = load ptr, ptr %52, align 8, !tbaa !9
  %345 = getelementptr inbounds %struct.Edge, ptr %344, i32 0, i32 0
  %346 = load ptr, ptr %52, align 8, !tbaa !9
  %347 = getelementptr inbounds %struct.Edge, ptr %346, i32 0, i32 1
  invoke void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(4) %345, ptr noundef nonnull align 4 dereferenceable(4) %347)
          to label %348 unwind label %359

348:                                              ; preds = %342
  %349 = load ptr, ptr %52, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.Edge, ptr %349, i32 0, i32 1
  %351 = load i32, ptr %350, align 4, !tbaa !11
  %352 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %351)
          to label %353 unwind label %359

353:                                              ; preds = %348
  %354 = sext i32 %352 to i64
  %355 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %354) #8
  %356 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %355, ptr noundef nonnull align 4 dereferenceable(8) %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %357

357:                                              ; preds = %353
  %358 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br label %339

359:                                              ; preds = %348, %342
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %10, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %376

363:                                              ; preds = %341
  %364 = getelementptr inbounds %"struct.std::pair.23", ptr %44, i32 0, i32 1
  %365 = load i32, ptr %364, align 4, !tbaa !35
  %366 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %365)
          to label %367 unwind label %372

367:                                              ; preds = %363
  %368 = sext i32 %366 to i64
  %369 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %368) #8
  %370 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %369, ptr noundef nonnull align 4 dereferenceable(8) %44)
          to label %371 unwind label %372

371:                                              ; preds = %367
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #8
  br label %297, !llvm.loop !37

372:                                              ; preds = %367, %363
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %10, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %11, align 4
  br label %376

376:                                              ; preds = %372, %359, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  br label %377

377:                                              ; preds = %376, %318
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #8
  br label %429

378:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  store i32 0, ptr %55, align 4, !tbaa !5
  br label %379

379:                                              ; preds = %414, %378
  %380 = load i32, ptr %55, align 4, !tbaa !5
  %381 = load i32, ptr %6, align 4, !tbaa !5
  %382 = icmp slt i32 %380, %381
  br i1 %382, label %384, label %383

383:                                              ; preds = %379
  store i32 19, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %421

384:                                              ; preds = %379
  %385 = load i32, ptr %55, align 4, !tbaa !5
  %386 = load i32, ptr %7, align 4, !tbaa !5
  %387 = icmp eq i32 %385, %386
  br i1 %387, label %388, label %395

388:                                              ; preds = %384
  %389 = load i32, ptr %55, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %390) #8
  %392 = getelementptr inbounds %"struct.std::pair.23", ptr %391, i32 0, i32 1
  %393 = load i32, ptr %392, align 4, !tbaa !35
  %394 = icmp eq i32 %393, -1
  br label %403

395:                                              ; preds = %384
  %396 = load i32, ptr %55, align 4, !tbaa !5
  %397 = sext i32 %396 to i64
  %398 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %397) #8
  %399 = getelementptr inbounds %"struct.std::pair.23", ptr %398, i32 0, i32 1
  %400 = load i32, ptr %399, align 4, !tbaa !35
  %401 = load i32, ptr %55, align 4, !tbaa !5
  %402 = icmp eq i32 %400, %401
  br label %403

403:                                              ; preds = %395, %388
  %404 = phi i1 [ %394, %388 ], [ %402, %395 ]
  br i1 %404, label %405, label %406

405:                                              ; preds = %403
  br label %408

406:                                              ; preds = %403
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 269, ptr noundef @__PRETTY_FUNCTION__._Z4dmstiiRKSt6vectorI4EdgeSaIS0_EE) #10
  unreachable

407:                                              ; No predecessors!
  br label %408

408:                                              ; preds = %407, %405
  %409 = load i32, ptr %55, align 4, !tbaa !5
  %410 = sext i32 %409 to i64
  %411 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %410) #8
  %412 = getelementptr inbounds %"struct.std::pair.23", ptr %411, i32 0, i32 0
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 4 dereferenceable(4) %412)
          to label %413 unwind label %417

413:                                              ; preds = %408
  br label %414

414:                                              ; preds = %413
  %415 = load i32, ptr %55, align 4, !tbaa !5
  %416 = add nsw i32 %415, 1
  store i32 %416, ptr %55, align 4, !tbaa !5
  br label %379, !llvm.loop !38

417:                                              ; preds = %408
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %10, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %427

421:                                              ; preds = %383
  invoke void @_ZNSt4pairIxSt6vectorIiSaIiEEEC2IRxRS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %422 unwind label %423

422:                                              ; preds = %421
  store i32 1, ptr %29, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #8
  br label %428

423:                                              ; preds = %421
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %10, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %11, align 4
  br label %427

427:                                              ; preds = %423, %417
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #8
  br label %429

428:                                              ; preds = %422, %294
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt6vectorIP4NodeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @_ZN5DSUrbD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  ret void

429:                                              ; preds = %427, %377, %293
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %430

430:                                              ; preds = %429, %136
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %431

431:                                              ; preds = %430, %124
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %432

432:                                              ; preds = %431, %103
  call void @_ZNSt6vectorIP4NodeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %433

433:                                              ; preds = %432, %75
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %434

434:                                              ; preds = %433, %71
  call void @_ZN5DSUrbD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  br label %435

435:                                              ; preds = %434
  %436 = load ptr, ptr %10, align 8
  %437 = load i32, ptr %11, align 4
  %438 = insertvalue { ptr, i32 } poison, ptr %436, 0
  %439 = insertvalue { ptr, i32 } %438, i32 %437, 1
  resume { ptr, i32 } %439
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5DSUrb4initEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #1 align 2

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5DSUrb5uniteEii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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 = !{!12, !6, i64 4}
!12 = !{!"_ZTS4Edge", !6, i64 0, !6, i64 4, !13, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 8, !15}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !10, i64 16}
!17 = !{!"_ZTS4Node", !12, i64 0, !10, i64 16, !10, i64 24, !13, i64 32}
!18 = !{!17, !10, i64 24}
!19 = !{!17, !13, i64 32}
!20 = !{!12, !13, i64 8}
!21 = !{!12, !6, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSSt4pairIi4EdgeE", !6, i64 0, !12, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSSt4pairIiSt6vectorI4EdgeSaIS1_EEE", !6, i64 0, !28, i64 8}
!28 = !{!"_ZTSSt6vectorI4EdgeSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI4EdgeSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI4EdgeSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI4EdgeSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!32 = distinct !{!32, !25}
!33 = !{!23, !6, i64 12}
!34 = distinct !{!34, !25}
!35 = !{!36, !6, i64 4}
!36 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!37 = distinct !{!37, !25}
!38 = distinct !{!38, !25}


; 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"

%"struct.std::pair" = type { i64, %"class.std::vector" }
%"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 }
%struct.DSUrb = type { %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<int, 4>, std::allocator<std::array<int, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.10" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.23" = type { i32, i32 }
%"class.std::allocator.20" = type { i8 }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, std::vector<Edge>>, std::allocator<std::pair<int, std::vector<Edge>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, Edge>, std::allocator<std::pair<int, Edge>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Edge = type { i32, i32, i64 }
%"struct.std::pair.35" = type { i32, %struct.Edge }
%"class.__gnu_cxx::__normal_iterator.39" = type { ptr }
%"struct.std::pair.37" = type { i32, %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl" }
%"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Edge, std::allocator<Edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }

@.str.10 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [117 x i8], align 1
@__PRETTY_FUNCTION__._Z4dmstiiRKSt6vectorI4EdgeSaIS0_EE = external hidden unnamed_addr constant [50 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z5mergeP4NodeS0_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4dmstiiRKSt6vectorI4EdgeSaIS0_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.DSUrb, align 8
  %6 = alloca %"class.std::vector.8", align 8
  %7 = alloca %"class.std::allocator.10", align 1
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::allocator.0", align 1
  %14 = alloca %"class.std::vector.18", align 8
  %15 = alloca %"struct.std::pair.23", align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::allocator.20", align 1
  %19 = alloca %"class.std::vector.25", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.30", align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %struct.Edge, align 8
  %25 = alloca %"struct.std::pair.35", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.39", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.39", align 8
  %28 = alloca %"struct.std::pair.23", align 4
  %29 = alloca %"struct.std::pair.37", align 8
  %30 = alloca %"struct.std::pair.23", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %35 = alloca %"struct.std::pair.23", align 4
  %36 = alloca %"class.std::vector", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #8
  call void @_ZN5DSUrbC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  invoke void @_ZN5DSUrb4initEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %1)
          to label %37 unwind label %43

37:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  %38 = sext i32 %1 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIP4NodeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIP4NodeSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %38, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %39 unwind label %45

39:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorIP4NodeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %40 = call ptr @_ZNKSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  store ptr %40, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %41 = call ptr @_ZNKSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  store ptr %41, ptr %9, align 8
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %42, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %57, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store i64 0, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  store i32 -1, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %38, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %65 unwind label %73

43:                                               ; preds = %4
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %253

45:                                               ; preds = %37
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIP4NodeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br label %252

.lr.ph:                                           ; preds = %39, %57
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %48 = getelementptr inbounds i8, ptr %47, i64 4
  %49 = load i32, ptr %48, align 4, !tbaa !11
  %50 = sext i32 %49 to i64
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %50) #8
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  %53 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #9
          to label %54 unwind label %63

54:                                               ; preds = %.lr.ph
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %47, i64 16, i1 false), !tbaa.struct !15
  %55 = getelementptr inbounds i8, ptr %53, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %55, i8 0, i64 24, i1 false)
  %56 = invoke noundef ptr @_Z5mergeP4NodeS0_(ptr noundef %52, ptr noundef nonnull %53)
          to label %57 unwind label %63

57:                                               ; preds = %54
  %58 = load i32, ptr %48, align 4, !tbaa !11
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %59) #8
  store ptr %56, ptr %60, align 8, !tbaa !13
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %62 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br i1 %62, label %.lr.ph, label %._crit_edge

63:                                               ; preds = %54, %.lr.ph
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %251

65:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  %66 = sext i32 %2 to i64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %66) #8
  store i32 %2, ptr %67, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  store i32 -1, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  store i32 -1, ptr %17, align 4, !tbaa !9
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaISt4pairIiiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %38, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %.split unwind label %75

.split:                                           ; preds = %65
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %.not6285 = icmp sgt i32 %1, 0
  br i1 %.not6285, label %.lr.ph87, label %.critedge.preheader

.lr.ph87:                                         ; preds = %.split
  %68 = getelementptr inbounds i8, ptr %24, i64 8
  br label %77

.critedge.preheader:                              ; preds = %._crit_edge84, %.split
  %69 = call noundef i64 @_ZNKSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %70 = and i64 %69, 4294967295
  %.not6394 = icmp eq i64 %70, 0
  br i1 %.not6394, label %.critedge._crit_edge, label %.lr.ph95

.lr.ph95:                                         ; preds = %.critedge.preheader
  %71 = getelementptr inbounds i8, ptr %29, i64 8
  %72 = getelementptr inbounds i8, ptr %30, i64 4
  br label %183

73:                                               ; preds = %._crit_edge
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  br label %250

75:                                               ; preds = %65
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIiiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %249

77:                                               ; preds = %.lr.ph87, %._crit_edge84
  %78 = phi i64 [ 0, %.lr.ph87 ], [ %164, %._crit_edge84 ]
  %.05886 = phi i32 [ 0, %.lr.ph87 ], [ %181, %._crit_edge84 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  store i32 %.05886, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #8
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %79 = load i32, ptr %20, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %80) #8
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = icmp sgt i32 %82, -1
  br i1 %83, label %._crit_edge81, label %.lr.ph80

.lr.ph80:                                         ; preds = %77, %157
  %84 = phi i64 [ %117, %157 ], [ %78, %77 ]
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %86) #8
  %88 = load ptr, ptr %87, align 8, !tbaa !13
  %.not = icmp eq ptr %88, null
  br i1 %.not, label %89, label %92

89:                                               ; preds = %.lr.ph80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store i64 -1, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %23, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  invoke void @_ZNSt4pairIxSt6vectorIiSaIiEEEC2IxS2_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairIS6_S7_EEEbE4typeELb1EEERKxRKS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %.thread unwind label %90

.thread:                                          ; preds = %89
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %247

90:                                               ; preds = %89
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %182

92:                                               ; preds = %.lr.ph80
  %93 = load i32, ptr %20, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %94) #8
  store i32 %.05886, ptr %95, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %97) #8
  %99 = load ptr, ptr %98, align 8, !tbaa !13
  %100 = call { i64, i64 } @_ZN4Node3topEv(ptr noundef nonnull align 8 dereferenceable(40) %99)
  %101 = extractvalue { i64, i64 } %100, 0
  store i64 %101, ptr %24, align 8
  %102 = extractvalue { i64, i64 } %100, 1
  store i64 %102, ptr %68, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #8
  call void @_ZNSt4pairIi4EdgeEC2IRiRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 8 dereferenceable(16) %24)
  invoke void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %103 unwind label %155

103:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  %104 = load i64, ptr %68, align 8, !tbaa !16
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %106) #8
  %108 = load ptr, ptr %107, align 8, !tbaa !13
  %109 = getelementptr inbounds i8, ptr %108, i64 32
  %110 = load i64, ptr %109, align 8, !tbaa !17
  %111 = sub nsw i64 %110, %104
  store i64 %111, ptr %109, align 8, !tbaa !17
  %112 = load i32, ptr %20, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %113) #8
  invoke void @_Z3popRP4Node(ptr noundef nonnull align 8 dereferenceable(8) %114)
          to label %115 unwind label %153

115:                                              ; preds = %103
  %116 = load i64, ptr %68, align 8, !tbaa !16
  %117 = add nsw i64 %84, %116
  store i64 %117, ptr %10, align 8, !tbaa !5
  %118 = load i32, ptr %24, align 8, !tbaa !19
  %119 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %118)
          to label %120 unwind label %153

120:                                              ; preds = %115
  store i32 %119, ptr %20, align 4, !tbaa !9
  %121 = sext i32 %119 to i64
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %121) #8
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = icmp eq i32 %123, %.05886
  br i1 %124, label %125, label %157

125:                                              ; preds = %120
  %126 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE12emplace_backIJEEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %125, %141
  %.061 = phi ptr [ %132, %141 ], [ null, %125 ]
  %127 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %128 = load i32, ptr %127, align 8, !tbaa !20
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %129) #8
  %131 = load ptr, ptr %130, align 8, !tbaa !13
  %132 = invoke noundef ptr @_Z5mergeP4NodeS0_(ptr noundef %.061, ptr noundef %131)
          to label %133 unwind label %.loopexit

133:                                              ; preds = %.preheader
  %134 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %135 = getelementptr inbounds i8, ptr %134, i64 8
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %137 = getelementptr inbounds i8, ptr %136, i64 8
  invoke void @_ZNSt6vectorI4EdgeSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %135, ptr noundef nonnull align 8 dereferenceable(16) %137)
          to label %138 unwind label %.loopexit

138:                                              ; preds = %133
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = invoke noundef zeroext i1 @_ZN5DSUrb5uniteEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %139, i32 noundef %128)
          to label %141 unwind label %.loopexit

141:                                              ; preds = %138
  br i1 %140, label %.preheader, label %142, !llvm.loop !22

142:                                              ; preds = %141
  %143 = load i32, ptr %20, align 4, !tbaa !9
  %144 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %143)
          to label %145 unwind label %.loopexit.split-lp

145:                                              ; preds = %142
  store i32 %144, ptr %20, align 4, !tbaa !9
  %146 = sext i32 %144 to i64
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4NodeSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %146) #8
  store ptr %132, ptr %147, align 8, !tbaa !13
  %148 = load i32, ptr %20, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %149) #8
  store i32 -1, ptr %150, align 4, !tbaa !9
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  store i32 %151, ptr %152, align 8, !tbaa !24
  br label %157

153:                                              ; preds = %115, %103
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %163

155:                                              ; preds = %92
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %163

.loopexit:                                        ; preds = %.preheader, %133, %138
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %163

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

157:                                              ; preds = %145, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  %158 = load i32, ptr %20, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %159) #8
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = icmp sgt i32 %161, -1
  br i1 %162, label %._crit_edge81, label %.lr.ph80, !llvm.loop !30

163:                                              ; preds = %.loopexit, %.loopexit.split-lp, %155, %153
  %.pn68 = phi { ptr, i32 } [ %154, %153 ], [ %156, %155 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %182

._crit_edge81:                                    ; preds = %157, %77
  %164 = phi i64 [ %78, %77 ], [ %117, %157 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %165 = call ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  store ptr %165, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %166 = call ptr @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  store ptr %166, ptr %27, align 8
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br i1 %167, label %.lr.ph83, label %._crit_edge84

.lr.ph83:                                         ; preds = %._crit_edge81, %173
  %168 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %169 = getelementptr inbounds i8, ptr %168, i64 8
  %170 = getelementptr inbounds i8, ptr %168, i64 12
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(4) %169, ptr noundef nonnull align 4 dereferenceable(4) %170)
  %171 = load i32, ptr %170, align 4, !tbaa !31
  %172 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %171)
          to label %173 unwind label %179

173:                                              ; preds = %.lr.ph83
  %174 = sext i32 %172 to i64
  %175 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %174) #8
  %176 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %175, ptr noundef nonnull align 4 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %178 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIi4EdgeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br i1 %178, label %.lr.ph83, label %._crit_edge84

179:                                              ; preds = %.lr.ph83
  %180 = 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 %182

._crit_edge84:                                    ; preds = %173, %._crit_edge81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  %181 = add nuw nsw i32 %.05886, 1
  %exitcond.not = icmp eq i32 %181, %1
  br i1 %exitcond.not, label %.critedge.preheader, label %77, !llvm.loop !32

182:                                              ; preds = %179, %163, %90
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %163 ], [ %91, %90 ], [ %180, %179 ]
  call void @_ZNSt6vectorISt4pairIi4EdgeESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %248

183:                                              ; preds = %.lr.ph95, %.critedge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #8
  %184 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  invoke void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %184)
          to label %185 unwind label %196

185:                                              ; preds = %183
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %186 = load i32, ptr %29, align 8, !tbaa !24
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %187) #8
  %189 = load i64, ptr %188, align 4
  store i64 %189, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #8
  %190 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  store ptr %190, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #8
  %191 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  store ptr %191, ptr %32, align 8
  %192 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br i1 %192, label %.lr.ph89, label %._crit_edge90

._crit_edge90:                                    ; preds = %.lr.ph89, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #8
  %193 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  store ptr %193, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #8
  %194 = call ptr @_ZNSt6vectorI4EdgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  store ptr %194, ptr %34, align 8
  %195 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br i1 %195, label %.lr.ph92, label %._crit_edge93

196:                                              ; preds = %183
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %223

.lr.ph89:                                         ; preds = %185, %.lr.ph89
  %198 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @_ZN5DSUrb8rollbackEv(ptr noundef nonnull align 8 dereferenceable(48) %5)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  %200 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br i1 %200, label %.lr.ph89, label %._crit_edge90

._crit_edge93:                                    ; preds = %207, %._crit_edge90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  %201 = load i32, ptr %72, align 4, !tbaa !33
  %202 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %201)
          to label %.critedge unwind label %220

.lr.ph92:                                         ; preds = %._crit_edge90, %207
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %204 = getelementptr inbounds i8, ptr %203, i64 4
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(4) %203, ptr noundef nonnull align 4 dereferenceable(4) %204)
  %205 = load i32, ptr %204, align 4, !tbaa !11
  %206 = invoke noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %205)
          to label %207 unwind label %213

207:                                              ; preds = %.lr.ph92
  %208 = sext i32 %206 to i64
  %209 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %208) #8
  %210 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %209, ptr noundef nonnull align 4 dereferenceable(8) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4EdgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %212 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4EdgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br i1 %212, label %.lr.ph92, label %._crit_edge93

213:                                              ; preds = %.lr.ph92
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  br label %222

.critedge:                                        ; preds = %._crit_edge93
  %215 = sext i32 %202 to i64
  %216 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %215) #8
  %217 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %216, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  call void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  %218 = call noundef i64 @_ZNKSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %219 = and i64 %218, 4294967295
  %.not63 = icmp eq i64 %219, 0
  br i1 %.not63, label %.critedge._crit_edge, label %183, !llvm.loop !35

220:                                              ; preds = %._crit_edge93
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %222

222:                                              ; preds = %220, %213
  %.pn65 = phi { ptr, i32 } [ %214, %213 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  call void @_ZNSt4pairIiSt6vectorI4EdgeSaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %223

223:                                              ; preds = %222, %196
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %222 ], [ %197, %196 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  br label %248

.critedge._crit_edge:                             ; preds = %.critedge, %.critedge.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  br i1 %.not6285, label %.lr.ph98.preheader, label %._crit_edge99

.lr.ph98.preheader:                               ; preds = %.critedge._crit_edge
  %224 = zext i32 %2 to i64
  %wide.trip.count = zext nneg i32 %1 to i64
  br label %.lr.ph98

._crit_edge99:                                    ; preds = %240, %.critedge._crit_edge
  invoke void @_ZNSt4pairIxSt6vectorIiSaIiEEEC2IRxRS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %243 unwind label %244

.lr.ph98:                                         ; preds = %.lr.ph98.preheader, %240
  %indvars.iv = phi i64 [ 0, %.lr.ph98.preheader ], [ %indvars.iv.next, %240 ]
  %225 = icmp eq i64 %indvars.iv, %224
  br i1 %225, label %226, label %231

226:                                              ; preds = %.lr.ph98
  %227 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %224) #8
  %228 = getelementptr inbounds i8, ptr %227, i64 4
  %229 = load i32, ptr %228, align 4, !tbaa !33
  %230 = icmp eq i32 %229, -1
  br i1 %230, label %238, label %237

231:                                              ; preds = %.lr.ph98
  %232 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv) #8
  %233 = getelementptr inbounds i8, ptr %232, i64 4
  %234 = load i32, ptr %233, align 4, !tbaa !33
  %235 = zext i32 %234 to i64
  %236 = icmp eq i64 %indvars.iv, %235
  br i1 %236, label %238, label %237

237:                                              ; preds = %226, %231
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef 269, ptr noundef nonnull @__PRETTY_FUNCTION__._Z4dmstiiRKSt6vectorI4EdgeSaIS0_EE) #10
  unreachable

238:                                              ; preds = %226, %231
  %239 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 4 dereferenceable(4) %239)
          to label %240 unwind label %241

240:                                              ; preds = %238
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond101.not, label %._crit_edge99, label %.lr.ph98, !llvm.loop !36

241:                                              ; preds = %238
  %242 = landingpad { ptr, i32 }
          cleanup
  br label %246

243:                                              ; preds = %._crit_edge99
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #8
  br label %247

244:                                              ; preds = %._crit_edge99
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %246

246:                                              ; preds = %244, %241
  %.pn = phi { ptr, i32 } [ %242, %241 ], [ %245, %244 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #8
  br label %248

247:                                              ; preds = %.thread, %243
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZNSt6vectorIP4NodeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZN5DSUrbD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  ret void

248:                                              ; preds = %246, %223, %182
  %.pn68.pn.pn = phi { ptr, i32 } [ %.pn68.pn, %182 ], [ %.pn65.pn, %223 ], [ %.pn, %246 ]
  call void @_ZNSt6vectorISt4pairIiS_I4EdgeSaIS1_EEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br label %249

249:                                              ; preds = %248, %75
  %.pn68.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn, %248 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %250

250:                                              ; preds = %249, %73
  %.pn68.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn.pn, %249 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %251

251:                                              ; preds = %250, %63
  %.pn74 = phi { ptr, i32 } [ %64, %63 ], [ %.pn68.pn.pn.pn.pn, %250 ]
  call void @_ZNSt6vectorIP4NodeSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %252

252:                                              ; preds = %251, %45
  %.pn74.pn = phi { ptr, i32 } [ %.pn74, %251 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br label %253

253:                                              ; preds = %252, %43
  %.pn74.pn.pn = phi { ptr, i32 } [ %.pn74.pn, %252 ], [ %44, %43 ]
  call void @_ZN5DSUrbD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn74.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5DSUrb4initEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5DSUrb3getEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"_ZTS4Edge", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 8, !5}
!16 = !{!12, !6, i64 8}
!17 = !{!18, !6, i64 32}
!18 = !{!"_ZTS4Node", !12, i64 0, !14, i64 16, !14, i64 24, !6, i64 32}
!19 = !{!12, !10, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTSSt4pairIi4EdgeE", !10, i64 0, !12, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTSSt4pairIiSt6vectorI4EdgeSaIS1_EEE", !10, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt6vectorI4EdgeSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI4EdgeSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI4EdgeSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI4EdgeSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!30 = distinct !{!30, !23}
!31 = !{!21, !10, i64 12}
!32 = distinct !{!32, !23}
!33 = !{!34, !10, i64 4}
!34 = !{!"_ZTSSt4pairIiiE", !10, i64 0, !10, i64 4}
!35 = distinct !{!35, !23}
!36 = distinct !{!36, !23}


; Effective O3 passes: ConstraintEliminationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass