; LLVM IR from tommasocerruti/algolab-2024 :: src/week12/alastor_moody/solution.ll (Z5solvev)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.boost::adjacency_list" = type { %"class.boost::vec_adj_list_impl", %"class.boost::scoped_ptr" }
%"class.boost::vec_adj_list_impl" = type { %"class.std::__cxx11::list", %"class.std::vector" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::scoped_ptr" = type { ptr }
%"struct.boost::no_property" = type { i8 }
%"struct.boost::adj_list_edge_property_map" = type { i32 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>, std::_Select1st<std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>>, std::less<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>, std::_Select1st<std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>>, std::less<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::detail::edge_desc_impl" = type { %"struct.boost::detail::edge_base", ptr }
%"struct.boost::detail::edge_base" = type { i64, i64 }
%"struct.std::pair" = type <{ %"class.boost::detail::edge_desc_impl", i8, [7 x i8] }>
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"struct.boost::bgl_named_params" = type { %"class.boost::iterator_property_map", [8 x i8] }
%"class.boost::iterator_property_map" = type <{ %"class.__gnu_cxx::__normal_iterator", [8 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.boost::vec_adj_list_vertex_id_map" = type { i8 }
%"class.boost::adjacency_list.18" = type { %"class.boost::vec_adj_list_impl.19", %"class.boost::scoped_ptr" }
%"class.boost::vec_adj_list_impl.19" = type { %"class.std::__cxx11::list.21", %"class.std::vector.26" }
%"class.std::__cxx11::list.21" = type { %"class.std::__cxx11::_List_base.22" }
%"class.std::__cxx11::_List_base.22" = type { %"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.edge_adder = type { ptr }
%"class.__gnu_cxx::__normal_iterator.32" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.boost::adjacency_list", align 8
  %6 = alloca %"struct.boost::no_property", align 1
  %7 = alloca %"struct.boost::adj_list_edge_property_map", align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::map", align 8
  %11 = alloca %"class.std::vector.6", align 8
  %12 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %20 = alloca %"class.std::vector.11", align 8
  %21 = alloca %"class.std::allocator.13", align 1
  %22 = alloca %"struct.boost::bgl_named_params", align 8
  %23 = alloca %"class.boost::iterator_property_map", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"struct.boost::vec_adj_list_vertex_id_map", align 1
  %26 = alloca %"struct.boost::vec_adj_list_vertex_id_map", align 1
  %27 = alloca %"class.boost::adjacency_list.18", align 8
  %28 = alloca %"struct.boost::no_property", align 1
  %29 = alloca %class.edge_adder, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %33 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %37 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %38 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #7
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %5, i64 noundef %44, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %45 = invoke i32 @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EES8_EENS_12property_mapINT_10graph_typeET1_vE4typeESJ_RNS_15adj_list_helperISH_T0_EE(i32 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %46 unwind label %54

46:                                               ; preds = %0
  %47 = getelementptr inbounds %"struct.boost::adj_list_edge_property_map", ptr %7, i32 0, i32 0
  store i32 %45, ptr %47, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  invoke void @_ZN5boost6detail14edge_desc_implINS_14undirected_tagEmEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %48 unwind label %58

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %84, %48
  %50 = load i32, ptr %13, align 4, !tbaa !5
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %62, label %53

53:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %96

54:                                               ; preds = %0
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %8, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %9, align 4
  br label %226

58:                                               ; preds = %46
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %8, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %9, align 4
  br label %225

62:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %63 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %64 unwind label %87

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %63, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %66 unwind label %87

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %68 unwind label %87

68:                                               ; preds = %66
  %69 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %70 unwind label %87

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  %71 = load i32, ptr %14, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = load i32, ptr %15, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  invoke void @_ZN5boost8add_edgeINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_6detail12adj_list_genIS9_S2_S2_S3_S4_S7_S4_S8_E6configENS_23undirected_graph_helperISD_EEEESt4pairINT0_15edge_descriptorEbENSH_17vertex_descriptorESK_RNS_17vec_adj_list_implIT_SH_T1_EE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %18, i64 noundef %72, i64 noundef %74, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %75 unwind label %91

75:                                               ; preds = %70
  %76 = getelementptr inbounds %"struct.std::pair", ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %76, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  %77 = load i32, ptr %17, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %12, i64 24, i1 false)
  %78 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef byval(%"class.boost::detail::edge_desc_impl") align 8 %19)
          to label %79 unwind label %87

79:                                               ; preds = %75
  store i32 %77, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr %16, align 4, !tbaa !5
  %81 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %82 unwind label %87

82:                                               ; preds = %79
  store i32 %80, ptr %81, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %83 unwind label %87

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %13, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %13, align 4, !tbaa !5
  br label %49, !llvm.loop !9

87:                                               ; preds = %82, %79, %75, %68, %66, %64, %62
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  br label %95

91:                                               ; preds = %70
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  br label %95

95:                                               ; preds = %91, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %225

96:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #7
  %97 = load i32, ptr %1, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %98, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %99 unwind label %126

99:                                               ; preds = %96
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  %100 = load i32, ptr %3, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %102 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %103 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %102, ptr %103, align 8
  invoke void @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EENS_14vertex_index_tEEENS_12property_mapINT_10graph_typeET1_vE4typeESK_RNS_15adj_list_helperISI_T0_EE(i32 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %104 unwind label %130

104:                                              ; preds = %99
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8
  %107 = invoke ptr @_ZN5boost26make_iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEEENS_21iterator_property_mapIT_T0_NSt15iterator_traitsISC_E10value_typeENSF_9referenceEEESC_SD_(ptr %106)
          to label %108 unwind label %130

108:                                              ; preds = %104
  %109 = getelementptr inbounds %"class.boost::iterator_property_map", ptr %23, i32 0, i32 0
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %109, i32 0, i32 0
  store ptr %107, ptr %110, align 8
  invoke void @_ZN5boost12distance_mapINS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEiRiEEEENS_16bgl_named_paramsIT_NS_17vertex_distance_tESA_EERKSF_(ptr dead_on_unwind writable sret(%"struct.boost::bgl_named_params") align 8 %22, ptr noundef nonnull align 8 dereferenceable(9) %23)
          to label %111 unwind label %130

111:                                              ; preds = %108
  invoke void @_ZN5boost23dijkstra_shortest_pathsINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapIS4_mEEiRiEENS_17vertex_distance_tES4_EEvRKT_NS_12graph_traitsISN_E17vertex_descriptorERKNS_16bgl_named_paramsIT0_T1_T2_EE(ptr noundef nonnull align 8 dereferenceable(56) %5, i64 noundef %101, ptr noundef nonnull align 8 dereferenceable(17) %22)
          to label %112 unwind label %130

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %27) #7
  %113 = load i32, ptr %1, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  invoke void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %27, i64 noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %115 unwind label %134

115:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  invoke void @_ZN10edge_adderC2ERN5boost14adjacency_listINS0_4vecSES2_NS0_9directedSENS0_11no_propertyENS0_8propertyINS0_15edge_capacity_tElNS5_INS0_24edge_residual_capacity_tElNS5_INS0_14edge_reverse_tENS0_6detail14edge_desc_implINS0_12directed_tagEmEES4_EEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(56) %27)
          to label %116 unwind label %138

116:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store ptr %11, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %117 = load ptr, ptr %30, align 8, !tbaa !11
  %118 = call ptr @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #7
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %31, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %120 = load ptr, ptr %30, align 8, !tbaa !11
  %121 = call ptr @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #7
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %32, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  br label %123

123:                                              ; preds = %202, %116
  %124 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br i1 %124, label %142, label %125

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %205

126:                                              ; preds = %96
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %8, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %224

130:                                              ; preds = %111, %108, %104, %99
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %8, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %223

134:                                              ; preds = %112
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %222

138:                                              ; preds = %115
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %8, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %9, align 4
  br label %221

142:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %143, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %144 = invoke noundef i64 @_ZN5boost6sourceINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(56) %5)
          to label %145 unwind label %171

145:                                              ; preds = %142
  %146 = trunc i64 %144 to i32
  store i32 %146, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %147 = invoke noundef i64 @_ZN5boost6targetINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(56) %5)
          to label %148 unwind label %175

148:                                              ; preds = %145
  %149 = trunc i64 %147 to i32
  store i32 %149, ptr %35, align 4, !tbaa !5
  %150 = load i32, ptr %34, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %151) #7
  %153 = load i32, ptr %152, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %33, i64 24, i1 false)
  %154 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef byval(%"class.boost::detail::edge_desc_impl") align 8 %36)
          to label %155 unwind label %175

155:                                              ; preds = %148
  %156 = load i32, ptr %154, align 4, !tbaa !5
  %157 = add nsw i32 %153, %156
  %158 = load i32, ptr %35, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %159) #7
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = icmp eq i32 %157, %161
  br i1 %162, label %163, label %179

163:                                              ; preds = %155
  %164 = load i32, ptr %34, align 4, !tbaa !5
  %165 = load i32, ptr %35, align 4, !tbaa !5
  %166 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %167 unwind label %175

167:                                              ; preds = %163
  %168 = load i32, ptr %166, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  invoke void @_ZN10edge_adder8add_edgeEiil(ptr noundef nonnull align 8 dereferenceable(8) %29, i32 noundef %164, i32 noundef %165, i64 noundef %169)
          to label %170 unwind label %175

170:                                              ; preds = %167
  br label %179

171:                                              ; preds = %142
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %8, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %9, align 4
  br label %204

175:                                              ; preds = %197, %193, %179, %167, %163, %148, %145
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %204

179:                                              ; preds = %170, %155
  %180 = load i32, ptr %35, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %181) #7
  %183 = load i32, ptr %182, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %33, i64 24, i1 false)
  %184 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef byval(%"class.boost::detail::edge_desc_impl") align 8 %37)
          to label %185 unwind label %175

185:                                              ; preds = %179
  %186 = load i32, ptr %184, align 4, !tbaa !5
  %187 = add nsw i32 %183, %186
  %188 = load i32, ptr %34, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %189) #7
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = icmp eq i32 %187, %191
  br i1 %192, label %193, label %201

193:                                              ; preds = %185
  %194 = load i32, ptr %35, align 4, !tbaa !5
  %195 = load i32, ptr %34, align 4, !tbaa !5
  %196 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %197 unwind label %175

197:                                              ; preds = %193
  %198 = load i32, ptr %196, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  invoke void @_ZN10edge_adder8add_edgeEiil(ptr noundef nonnull align 8 dereferenceable(8) %29, i32 noundef %194, i32 noundef %195, i64 noundef %199)
          to label %200 unwind label %175

200:                                              ; preds = %197
  br label %201

201:                                              ; preds = %200, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %202

202:                                              ; preds = %201
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %123

204:                                              ; preds = %175, %171
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %221

205:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %206 = load i32, ptr %3, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = load i32, ptr %4, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = invoke noundef i64 @_ZN5boost21push_relabel_max_flowINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES4_EEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE10const_typeEE10value_typeERSK_NS_12graph_traitsISK_E17vertex_descriptorESS_(ptr noundef nonnull align 8 dereferenceable(56) %27, i64 noundef %207, i64 noundef %209)
          to label %211 unwind label %217

211:                                              ; preds = %205
  store i64 %210, ptr %38, align 8, !tbaa !13
  %212 = load i64, ptr %38, align 8, !tbaa !13
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %212)
          to label %214 unwind label %217

214:                                              ; preds = %211
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %213, i8 noundef signext 10)
          to label %216 unwind label %217

216:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %27) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret void

217:                                              ; preds = %214, %211, %205
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %8, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %221

221:                                              ; preds = %217, %204, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #7
  br label %222

222:                                              ; preds = %221, %134
  call void @llvm.lifetime.end.p0(i64 56, ptr %27) #7
  br label %223

223:                                              ; preds = %222, %130
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br label %224

224:                                              ; preds = %223, %126
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #7
  br label %225

225:                                              ; preds = %224, %95, %58
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #7
  br label %226

226:                                              ; preds = %225, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  br label %227

227:                                              ; preds = %226
  %228 = load ptr, ptr %8, align 8
  %229 = load i32, ptr %9, align 4
  %230 = insertvalue { ptr, i32 } poison, ptr %228, 0
  %231 = insertvalue { ptr, i32 } %230, i32 %229, 1
  resume { ptr, i32 } %231
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EES8_EENS_12property_mapINT_10graph_typeET1_vE4typeESJ_RNS_15adj_list_helperISH_T0_EE(i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost8add_edgeINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_6detail12adj_list_genIS9_S2_S2_S3_S4_S7_S4_S8_E6configENS_23undirected_graph_helperISD_EEEESt4pairINT0_15edge_descriptorEbENSH_17vertex_descriptorESK_RNS_17vec_adj_list_implIT_SH_T1_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(48)) #3

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef byval(%"class.boost::detail::edge_desc_impl") align 8) #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost23dijkstra_shortest_pathsINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapIS4_mEEiRiEENS_17vertex_distance_tES4_EEvRKT_NS_12graph_traitsISN_E17vertex_descriptorERKNS_16bgl_named_paramsIT0_T1_T2_EE(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, ptr noundef nonnull align 8 dereferenceable(17)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost12distance_mapINS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEiRiEEEENS_16bgl_named_paramsIT_NS_17vertex_distance_tESA_EERKSF_(ptr dead_on_unwind noalias writable sret(%"struct.boost::bgl_named_params") align 8, ptr noundef nonnull align 8 dereferenceable(9)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost26make_iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEEENS_21iterator_property_mapIT_T0_NSt15iterator_traitsISC_E10value_typeENSF_9referenceEEESC_SD_(ptr) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EENS_14vertex_index_tEEENS_12property_mapINT_10graph_typeET1_vE4typeESK_RNS_15adj_list_helperISI_T0_EE(i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5boost6sourceINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5boost6targetINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost21push_relabel_max_flowINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES4_EEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE10const_typeEE10value_typeERSK_NS_12graph_traitsISK_E17vertex_descriptorESS_(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

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

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

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

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

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

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

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

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

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.boost::adjacency_list" = type { %"class.boost::vec_adj_list_impl", %"class.boost::scoped_ptr" }
%"class.boost::vec_adj_list_impl" = type { %"class.std::__cxx11::list", %"class.std::vector" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_weight_t, int>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>>, boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::property<boost::edge_weight_t, int>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::scoped_ptr" = type { ptr }
%"struct.boost::no_property" = type { i8 }
%"struct.boost::adj_list_edge_property_map" = type { i32 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>, std::_Select1st<std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>>, std::less<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>, std::_Select1st<std::pair<const boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, int>>, std::less<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>, std::allocator<boost::detail::edge_desc_impl<boost::undirected_tag, unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::detail::edge_desc_impl" = type { %"struct.boost::detail::edge_base", ptr }
%"struct.boost::detail::edge_base" = type { i64, i64 }
%"struct.std::pair" = type <{ %"class.boost::detail::edge_desc_impl", i8, [7 x i8] }>
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"struct.boost::bgl_named_params" = type { %"class.boost::iterator_property_map", [8 x i8] }
%"class.boost::iterator_property_map" = type <{ %"class.__gnu_cxx::__normal_iterator", [8 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.boost::adjacency_list.18" = type { %"class.boost::vec_adj_list_impl.19", %"class.boost::scoped_ptr" }
%"class.boost::vec_adj_list_impl.19" = type { %"class.std::__cxx11::list.21", %"class.std::vector.26" }
%"class.std::__cxx11::list.21" = type { %"class.std::__cxx11::_List_base.22" }
%"class.std::__cxx11::_List_base.22" = type { %"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, std::allocator<boost::list_edge<unsigned long, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex, std::allocator<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>>, boost::vecS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_capacity_t, long, boost::property<boost::edge_residual_capacity_t, long, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, unsigned long>>>>, boost::no_property, boost::listS>::config::stored_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.edge_adder = type { ptr }
%"class.__gnu_cxx::__normal_iterator.32" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.boost::adjacency_list", align 8
  %6 = alloca %"struct.boost::no_property", align 1
  %7 = alloca %"struct.boost::adj_list_edge_property_map", align 4
  %8 = alloca %"class.std::map", align 8
  %9 = alloca %"class.std::vector.6", align 8
  %10 = alloca %"class.boost::detail::edge_desc_impl", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 8
  %16 = alloca %"class.std::vector.11", align 8
  %17 = alloca %"class.std::allocator.13", align 1
  %18 = alloca %"struct.boost::bgl_named_params", align 8
  %19 = alloca %"class.boost::iterator_property_map", align 8
  %20 = alloca %"class.boost::adjacency_list.18", align 8
  %21 = alloca %"struct.boost::no_property", align 1
  %22 = alloca %class.edge_adder, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %25 = alloca %"class.boost::detail::edge_desc_impl", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #7
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %5, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %32 = invoke i32 @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EES8_EENS_12property_mapINT_10graph_typeET1_vE4typeESJ_RNS_15adj_list_helperISH_T0_EE(i32 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %33 unwind label %38

33:                                               ; preds = %0
  store i32 %32, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  invoke void @_ZN5boost6detail14edge_desc_implINS_14undirected_tagEmEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %.preheader unwind label %40

.preheader:                                       ; preds = %33
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %61, %.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %37, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %70 unwind label %90

38:                                               ; preds = %0
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %149

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

.lr.ph:                                           ; preds = %.preheader, %61
  %.02131 = phi i32 [ %62, %61 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %43 unwind label %65

43:                                               ; preds = %.lr.ph
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %45 unwind label %65

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %47 unwind label %65

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %49 unwind label %65

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  %50 = load i32, ptr %11, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = load i32, ptr %12, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  invoke void @_ZN5boost8add_edgeINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_6detail12adj_list_genIS9_S2_S2_S3_S4_S7_S4_S8_E6configENS_23undirected_graph_helperISD_EEEESt4pairINT0_15edge_descriptorEbENSH_17vertex_descriptorESK_RNS_17vec_adj_list_implIT_SH_T1_EE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %15, i64 noundef %51, i64 noundef %53, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %54 unwind label %67

54:                                               ; preds = %49
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %15, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  %55 = load i32, ptr %14, align 4, !tbaa !5
  %56 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull byval(%"class.boost::detail::edge_desc_impl") align 8 %10)
          to label %57 unwind label %65

57:                                               ; preds = %54
  store i32 %55, ptr %56, align 4, !tbaa !5
  %58 = load i32, ptr %13, align 4, !tbaa !5
  %59 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %60 unwind label %65

60:                                               ; preds = %57
  store i32 %58, ptr %59, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %61 unwind label %65

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %62 = add nuw nsw i32 %.02131, 1
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %.lr.ph, label %._crit_edge, !llvm.loop !9

65:                                               ; preds = %60, %57, %54, %47, %45, %43, %.lr.ph
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %49
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %69

69:                                               ; preds = %67, %65
  %.pn27 = phi { ptr, i32 } [ %66, %65 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %148

70:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  %73 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  invoke void @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EENS_14vertex_index_tEEENS_12property_mapINT_10graph_typeET1_vE4typeESK_RNS_15adj_list_helperISI_T0_EE(i32 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %74 unwind label %92

74:                                               ; preds = %70
  %75 = invoke ptr @_ZN5boost26make_iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEEENS_21iterator_property_mapIT_T0_NSt15iterator_traitsISC_E10value_typeENSF_9referenceEEESC_SD_(ptr %73)
          to label %76 unwind label %92

76:                                               ; preds = %74
  store ptr %75, ptr %19, align 8
  invoke void @_ZN5boost12distance_mapINS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEiRiEEEENS_16bgl_named_paramsIT_NS_17vertex_distance_tESA_EERKSF_(ptr dead_on_unwind nonnull writable sret(%"struct.boost::bgl_named_params") align 8 %18, ptr noundef nonnull align 8 dereferenceable(9) %19)
          to label %77 unwind label %92

77:                                               ; preds = %76
  invoke void @_ZN5boost23dijkstra_shortest_pathsINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapIS4_mEEiRiEENS_17vertex_distance_tES4_EEvRKT_NS_12graph_traitsISN_E17vertex_descriptorERKNS_16bgl_named_paramsIT0_T1_T2_EE(ptr noundef nonnull align 8 dereferenceable(56) %5, i64 noundef %72, ptr noundef nonnull align 8 dereferenceable(17) %18)
          to label %78 unwind label %92

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %20) #7
  %79 = load i32, ptr %1, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #7
  invoke void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %20, i64 noundef %80, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %81 unwind label %94

81:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @_ZN10edge_adderC2ERN5boost14adjacency_listINS0_4vecSES2_NS0_9directedSENS0_11no_propertyENS0_8propertyINS0_15edge_capacity_tElNS5_INS0_24edge_residual_capacity_tElNS5_INS0_14edge_reverse_tENS0_6detail14edge_desc_implINS0_12directed_tagEmEES4_EEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(56) %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %82 = call ptr @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  store ptr %82, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %83 = call ptr @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  store ptr %83, ptr %24, align 8
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %84, label %.lr.ph33, label %._crit_edge34

._crit_edge34:                                    ; preds = %134, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  %85 = load i32, ptr %3, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = invoke noundef i64 @_ZN5boost21push_relabel_max_flowINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES4_EEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE10const_typeEE10value_typeERSK_NS_12graph_traitsISK_E17vertex_descriptorESS_(ptr noundef nonnull align 8 dereferenceable(56) %20, i64 noundef %86, i64 noundef %88)
          to label %137 unwind label %142

90:                                               ; preds = %._crit_edge
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  br label %147

92:                                               ; preds = %77, %76, %74, %70
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %146

94:                                               ; preds = %78
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  br label %145

.lr.ph33:                                         ; preds = %81, %134
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  %96 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %96, i64 24, i1 false)
  %97 = call noundef i64 @_ZN5boost6sourceINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(56) %5)
  %98 = trunc i64 %97 to i32
  %99 = call noundef i64 @_ZN5boost6targetINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(56) %5)
  %100 = trunc i64 %99 to i32
  %sext = shl i64 %97, 32
  %101 = ashr exact i64 %sext, 32
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %101) #7
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull byval(%"class.boost::detail::edge_desc_impl") align 8 %25)
          to label %105 unwind label %117

105:                                              ; preds = %.lr.ph33
  %106 = load i32, ptr %104, align 4, !tbaa !5
  %107 = add nsw i32 %106, %103
  %sext22 = shl i64 %99, 32
  %108 = ashr exact i64 %sext22, 32
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %108) #7
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = icmp eq i32 %107, %110
  br i1 %111, label %112, label %119

112:                                              ; preds = %105
  %113 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %114 unwind label %117

114:                                              ; preds = %112
  %115 = load i32, ptr %113, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  invoke void @_ZN10edge_adder8add_edgeEiil(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef %98, i32 noundef %100, i64 noundef %116)
          to label %119 unwind label %117

117:                                              ; preds = %131, %129, %119, %114, %112, %.lr.ph33
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %144

119:                                              ; preds = %114, %105
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %108) #7
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull byval(%"class.boost::detail::edge_desc_impl") align 8 %25)
          to label %123 unwind label %117

123:                                              ; preds = %119
  %124 = load i32, ptr %122, align 4, !tbaa !5
  %125 = add nsw i32 %124, %121
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %101) #7
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = icmp eq i32 %125, %127
  br i1 %128, label %129, label %134

129:                                              ; preds = %123
  %130 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEEixERS8_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %131 unwind label %117

131:                                              ; preds = %129
  %132 = load i32, ptr %130, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  invoke void @_ZN10edge_adder8add_edgeEiil(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef %100, i32 noundef %98, i64 noundef %133)
          to label %134 unwind label %117

134:                                              ; preds = %131, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %136 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost6detail14edge_desc_implINS1_14undirected_tagEmEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br i1 %136, label %.lr.ph33, label %._crit_edge34

137:                                              ; preds = %._crit_edge34
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %89)
          to label %139 unwind label %142

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %138, i8 noundef signext 10)
          to label %141 unwind label %142

141:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret void

142:                                              ; preds = %139, %137, %._crit_edge34
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %144

144:                                              ; preds = %142, %117
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS4_INS_24edge_residual_capacity_tElNS4_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES3_EEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #7
  br label %145

145:                                              ; preds = %144, %94
  %.pn.pn = phi { ptr, i32 } [ %.pn, %144 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #7
  br label %146

146:                                              ; preds = %145, %92
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %145 ], [ %93, %92 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %147

147:                                              ; preds = %146, %90
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %146 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %148

148:                                              ; preds = %147, %69, %40
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %69 ], [ %.pn.pn.pn.pn, %147 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt3mapIN5boost6detail14edge_desc_implINS0_14undirected_tagEmEEiSt4lessIS4_ESaISt4pairIKS4_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  br label %149

149:                                              ; preds = %148, %38
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %148 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @_ZN5boost14adjacency_listINS_4vecSES1_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS3_EES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn27.pn.pn
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EES8_EENS_12property_mapINT_10graph_typeET1_vE4typeESJ_RNS_15adj_list_helperISH_T0_EE(i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost8add_edgeINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_6detail12adj_list_genIS9_S2_S2_S3_S4_S7_S4_S8_E6configENS_23undirected_graph_helperISD_EEEESt4pairINT0_15edge_descriptorEbENSH_17vertex_descriptorESK_RNS_17vec_adj_list_implIT_SH_T1_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5boost26adj_list_edge_property_mapINS_14undirected_tagEiRimNS_8propertyINS_13edge_weight_tEiNS_11no_propertyEEES4_EixENS_6detail14edge_desc_implIS1_mEE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef byval(%"class.boost::detail::edge_desc_impl") align 8) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost23dijkstra_shortest_pathsINS_14adjacency_listINS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEENS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapIS4_mEEiRiEENS_17vertex_distance_tES4_EEvRKT_NS_12graph_traitsISN_E17vertex_descriptorERKNS_16bgl_named_paramsIT0_T1_T2_EE(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost12distance_mapINS_21iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEiRiEEEENS_16bgl_named_paramsIT_NS_17vertex_distance_tESA_EERKSF_(ptr dead_on_unwind noalias writable sret(%"struct.boost::bgl_named_params") align 8, ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN5boost26make_iterator_property_mapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEENS_26vec_adj_list_vertex_id_mapINS_11no_propertyEmEEEENS_21iterator_property_mapIT_T0_NSt15iterator_traitsISC_E10value_typeENSF_9referenceEEESC_SD_(ptr) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost3getINS_6detail12adj_list_genINS_14adjacency_listINS_4vecSES4_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS6_EES6_NS_5listSEEES4_S4_S5_S6_S9_S6_SA_E6configENS_23undirected_graph_helperISD_EENS_14vertex_index_tEEENS_12property_mapINT_10graph_typeET1_vE4typeESK_RNS_15adj_list_helperISI_T0_EE(i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5boost6sourceINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5boost6targetINS_14undirected_tagEmNS_4vecSES2_NS_11undirectedSENS_11no_propertyENS_8propertyINS_13edge_weight_tEiS4_EES4_NS_5listSEEET0_RKNS_6detail9edge_baseIT_S9_EERKNS_14adjacency_listIT1_T2_T3_T4_T5_T6_T7_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost21push_relabel_max_flowINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEES4_EEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE10const_typeEE10value_typeERSK_NS_12graph_traitsISK_E17vertex_descriptorESS_(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass