; LLVM IR from tommasocerruti/algolab-2024 :: src/week10/asterix_and_the_tour_of_gaul/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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.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.3" }
%"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_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::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, long>>>>>>>::_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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, long>>>>, 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 }
%class.edge_adder = 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 %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.boost::adjacency_list", align 8
  %11 = alloca %"struct.boost::no_property", align 1
  %12 = alloca %class.edge_adder, 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 i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  %21 = 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)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #6
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = sub nsw i32 %23, 1
  %25 = sext i32 %24 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %25, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %26 unwind label %33

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

27:                                               ; preds = %47, %26
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sub nsw i32 %29, 1
  %31 = icmp slt i32 %28, %30
  br i1 %31, label %37, label %32

32:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %54

33:                                               ; preds = %0
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %5, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  br label %278

37:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %39 unwind label %50

39:                                               ; preds = %37
  %40 = load i32, ptr %9, align 4, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %42) #6
  store i32 %40, ptr %43, align 4, !tbaa !5
  %44 = load i32, ptr %9, align 4, !tbaa !5
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = add nsw i32 %45, %44
  store i32 %46, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %47

47:                                               ; preds = %39
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %8, align 4, !tbaa !5
  br label %27, !llvm.loop !9

50:                                               ; preds = %37
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %277

54:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #6
  %55 = load i32, ptr %1, align 4, !tbaa !5
  %56 = mul nsw i32 %55, 2
  %57 = sext i32 %56 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %10, i64 noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %58 unwind label %96

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  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_tagEmEENS5_INS0_13edge_weight_tElS4_EEEEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %59 unwind label %100

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %60 = invoke noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %61 unwind label %104

61:                                               ; preds = %59
  %62 = trunc i64 %60 to i32
  store i32 %62, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %63 = invoke noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %64 unwind label %108

64:                                               ; preds = %61
  %65 = trunc i64 %63 to i32
  store i32 %65, ptr %14, align 4, !tbaa !5
  %66 = load i32, ptr %13, align 4, !tbaa !5
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %66, i32 noundef 0, i64 noundef %69, i64 noundef 0)
          to label %70 unwind label %108

70:                                               ; preds = %64
  %71 = load i32, ptr %13, align 4, !tbaa !5
  %72 = load i32, ptr %1, align 4, !tbaa !5
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sub nsw i32 100, %74
  %76 = sext i32 %75 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %71, i32 noundef %72, i64 noundef %76, i64 noundef 0)
          to label %77 unwind label %108

77:                                               ; preds = %70
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 0, i32 noundef 1, i64 noundef %80, i64 noundef 128)
          to label %81 unwind label %108

81:                                               ; preds = %77
  %82 = load i32, ptr %1, align 4, !tbaa !5
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sub nsw i32 100, %86
  %88 = sext i32 %87 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %82, i32 noundef %84, i64 noundef %88, i64 noundef 0)
          to label %89 unwind label %108

89:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %196, %89
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = sub nsw i32 %92, 1
  %94 = icmp slt i32 %91, %93
  br i1 %94, label %112, label %95

95:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %199

96:                                               ; preds = %54
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %5, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %276

100:                                              ; preds = %58
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %6, align 4
  br label %275

104:                                              ; preds = %59
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  br label %274

108:                                              ; preds = %251, %209, %199, %81, %77, %70, %64, %61
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  br label %273

112:                                              ; preds = %90
  %113 = load i32, ptr %15, align 4, !tbaa !5
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  %116 = load i32, ptr %15, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %117) #6
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %113, i32 noundef %115, i64 noundef %120, i64 noundef 128)
          to label %121 unwind label %163

121:                                              ; preds = %112
  %122 = load i32, ptr %1, align 4, !tbaa !5
  %123 = load i32, ptr %15, align 4, !tbaa !5
  %124 = add nsw i32 %122, %123
  %125 = load i32, ptr %1, align 4, !tbaa !5
  %126 = load i32, ptr %15, align 4, !tbaa !5
  %127 = add nsw i32 %125, %126
  %128 = add nsw i32 %127, 1
  %129 = load i32, ptr %15, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %130) #6
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = sub nsw i32 100, %132
  %134 = sext i32 %133 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %124, i32 noundef %128, i64 noundef %134, i64 noundef 0)
          to label %135 unwind label %163

135:                                              ; preds = %121
  %136 = load i32, ptr %15, align 4, !tbaa !5
  %137 = sub nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %138) #6
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = load i32, ptr %15, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %142) #6
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = icmp sgt i32 %140, %144
  br i1 %145, label %146, label %167

146:                                              ; preds = %135
  %147 = load i32, ptr %15, align 4, !tbaa !5
  %148 = load i32, ptr %1, align 4, !tbaa !5
  %149 = load i32, ptr %15, align 4, !tbaa !5
  %150 = add nsw i32 %148, %149
  %151 = load i32, ptr %15, align 4, !tbaa !5
  %152 = sub nsw i32 %151, 1
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %153) #6
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = load i32, ptr %15, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %157) #6
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = sub nsw i32 %155, %159
  %161 = sext i32 %160 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %147, i32 noundef %150, i64 noundef %161, i64 noundef 0)
          to label %162 unwind label %163

162:                                              ; preds = %146
  br label %167

163:                                              ; preds = %178, %146, %121, %112
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %5, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %273

167:                                              ; preds = %162, %135
  %168 = load i32, ptr %15, align 4, !tbaa !5
  %169 = sub nsw i32 %168, 1
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %170) #6
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = load i32, ptr %15, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %174) #6
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = icmp slt i32 %172, %176
  br i1 %177, label %178, label %195

178:                                              ; preds = %167
  %179 = load i32, ptr %1, align 4, !tbaa !5
  %180 = load i32, ptr %15, align 4, !tbaa !5
  %181 = add nsw i32 %179, %180
  %182 = load i32, ptr %15, align 4, !tbaa !5
  %183 = load i32, ptr %15, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %184) #6
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = load i32, ptr %15, align 4, !tbaa !5
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %189) #6
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = sub nsw i32 %186, %191
  %193 = sext i32 %192 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %181, i32 noundef %182, i64 noundef %193, i64 noundef 0)
          to label %194 unwind label %163

194:                                              ; preds = %178
  br label %195

195:                                              ; preds = %194, %167
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr %15, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %15, align 4, !tbaa !5
  br label %90, !llvm.loop !11

199:                                              ; preds = %95
  %200 = load i32, ptr %1, align 4, !tbaa !5
  %201 = sub nsw i32 %200, 1
  %202 = load i32, ptr %14, align 4, !tbaa !5
  %203 = load i32, ptr %1, align 4, !tbaa !5
  %204 = sub nsw i32 %203, 2
  %205 = sext i32 %204 to i64
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %205) #6
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %201, i32 noundef %202, i64 noundef %208, i64 noundef 0)
          to label %209 unwind label %108

209:                                              ; preds = %199
  %210 = load i32, ptr %1, align 4, !tbaa !5
  %211 = mul nsw i32 2, %210
  %212 = sub nsw i32 %211, 1
  %213 = load i32, ptr %14, align 4, !tbaa !5
  %214 = load i32, ptr %1, align 4, !tbaa !5
  %215 = sub nsw i32 %214, 2
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %216) #6
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = sub nsw i32 100, %218
  %220 = sext i32 %219 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %212, i32 noundef %213, i64 noundef %220, i64 noundef 0)
          to label %221 unwind label %108

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

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

226:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %251

227:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %228 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %229 unwind label %247

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %228, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %231 unwind label %247

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %230, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %233 unwind label %247

233:                                              ; preds = %231
  %234 = load i32, ptr %17, align 4, !tbaa !5
  %235 = load i32, ptr %18, align 4, !tbaa !5
  %236 = load i32, ptr %18, align 4, !tbaa !5
  %237 = load i32, ptr %17, align 4, !tbaa !5
  %238 = sub nsw i32 %236, %237
  %239 = mul nsw i32 %238, 128
  %240 = load i32, ptr %19, align 4, !tbaa !5
  %241 = sub nsw i32 %239, %240
  %242 = sext i32 %241 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %234, i32 noundef %235, i64 noundef 1, i64 noundef %242)
          to label %243 unwind label %247

243:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %244

244:                                              ; preds = %243
  %245 = load i32, ptr %16, align 4, !tbaa !5
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %16, align 4, !tbaa !5
  br label %222, !llvm.loop !12

247:                                              ; preds = %233, %231, %229, %227
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %5, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %273

251:                                              ; preds = %226
  %252 = load i32, ptr %13, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = load i32, ptr %14, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  invoke void @_ZN5boost44successive_shortest_path_nonnegative_weightsINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEEvRT_NS_12graph_traitsISK_E17vertex_descriptorESO_(ptr noundef nonnull align 8 dereferenceable(56) %10, i64 noundef %253, i64 noundef %255)
          to label %256 unwind label %108

256:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %257 = load i32, ptr %7, align 4, !tbaa !5
  %258 = mul nsw i32 128, %257
  %259 = sext i32 %258 to i64
  %260 = invoke noundef i64 @_ZN5boost14find_flow_costINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE4typeEE10value_typeERKSM_(ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %261 unwind label %269

261:                                              ; preds = %256
  %262 = sub nsw i64 %259, %260
  %263 = trunc i64 %262 to i32
  store i32 %263, ptr %20, align 4, !tbaa !5
  %264 = load i32, ptr %20, align 4, !tbaa !5
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %264)
          to label %266 unwind label %269

266:                                              ; preds = %261
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %265, i8 noundef signext 10)
          to label %268 unwind label %269

268:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void

269:                                              ; preds = %266, %261, %256
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %5, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %273

273:                                              ; preds = %269, %247, %163, %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %274

274:                                              ; preds = %273, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %275

275:                                              ; preds = %274, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  br label %276

276:                                              ; preds = %275, %96
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  br label %277

277:                                              ; preds = %276, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %278

278:                                              ; preds = %277, %33
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %279

279:                                              ; preds = %278
  %280 = load ptr, ptr %5, align 8
  %281 = load i32, ptr %6, align 4
  %282 = insertvalue { ptr, i32 } poison, ptr %280, 0
  %283 = insertvalue { ptr, i32 } %282, i32 %281, 1
  resume { ptr, i32 } %283
}

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

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

; Function Attrs: mustprogress 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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_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_tagEmEENS5_INS0_13edge_weight_tElS4_EEEEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48)) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost14find_flow_costINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE4typeEE10value_typeERKSM_(ptr noundef nonnull align 8 dereferenceable(56)) #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) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.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.3" }
%"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_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::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, 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>, boost::property<boost::edge_weight_t, long>>>>>>>::_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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, 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::property<boost::edge_weight_t, long>>>>, 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 }
%class.edge_adder = 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 %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca i32, align 4
  %6 = alloca %"class.boost::adjacency_list", align 8
  %7 = alloca %"struct.boost::no_property", align 1
  %8 = alloca %class.edge_adder, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %12 = 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)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = add nsw i32 %14, -1
  %16 = sext i32 %15 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %16, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %17 unwind label %22

17:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 1
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %25, %17
  %.042.lcssa = phi i32 [ 0, %17 ], [ %29, %25 ]
  %.lcssa56 = phi i32 [ %18, %17 ], [ %30, %25 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #6
  %20 = shl nsw i32 %.lcssa56, 1
  %21 = sext i32 %20 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(56) %6, i64 noundef %21, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %36 unwind label %71

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

.lr.ph:                                           ; preds = %17, %25
  %indvars.iv = phi i64 [ %indvars.iv.next, %25 ], [ 0, %17 ]
  %.04260 = phi i32 [ %29, %25 ], [ 0, %17 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %24 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %25 unwind label %34

25:                                               ; preds = %.lr.ph
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #6
  store i32 %26, ptr %27, align 4, !tbaa !5
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = add nsw i32 %28, %.04260
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = add nsw i32 %30, -1
  %32 = sext i32 %31 to i64
  %33 = icmp slt i64 %indvars.iv.next, %32
  br i1 %33, label %.lr.ph, label %._crit_edge, !llvm.loop !9

34:                                               ; preds = %.lr.ph
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %174

36:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  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_tagEmEENS5_INS0_13edge_weight_tElS4_EEEEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(56) %6)
  %37 = invoke noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %38 unwind label %73

38:                                               ; preds = %36
  %39 = trunc i64 %37 to i32
  %40 = invoke noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %41 unwind label %75

41:                                               ; preds = %38
  %42 = trunc i64 %40 to i32
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %39, i32 noundef 0, i64 noundef %45, i64 noundef 0)
          to label %46 unwind label %75

46:                                               ; preds = %41
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = sub nsw i32 100, %49
  %51 = sext i32 %50 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %39, i32 noundef %47, i64 noundef %51, i64 noundef 0)
          to label %52 unwind label %75

52:                                               ; preds = %46
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0, i32 noundef 1, i64 noundef %55, i64 noundef 128)
          to label %56 unwind label %75

56:                                               ; preds = %52
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = sub nsw i32 100, %60
  %62 = sext i32 %61 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %57, i32 noundef %58, i64 noundef %62, i64 noundef 0)
          to label %.preheader52 unwind label %75

.preheader52:                                     ; preds = %56
  %63 = load i32, ptr %1, align 4, !tbaa !5
  %64 = add nsw i32 %63, -1
  %65 = icmp sgt i32 %63, 2
  br i1 %65, label %.lr.ph63, label %._crit_edge64

._crit_edge64:                                    ; preds = %122, %.preheader52
  %.lcssa54 = phi i32 [ %63, %.preheader52 ], [ %123, %122 ]
  %.lcssa = phi i32 [ %64, %.preheader52 ], [ %124, %122 ]
  %66 = add nsw i32 %.lcssa54, -2
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %67) #6
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %.lcssa, i32 noundef %42, i64 noundef %70, i64 noundef 0)
          to label %127 unwind label %75

71:                                               ; preds = %._crit_edge
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %173

73:                                               ; preds = %36
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %172

75:                                               ; preds = %._crit_edge69, %127, %._crit_edge64, %56, %52, %46, %41, %38
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %172

.lr.ph63:                                         ; preds = %.preheader52, %122
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %122 ], [ 1, %.preheader52 ]
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %indvars = trunc i64 %indvars.iv.next76 to i32
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = trunc nuw nsw i64 %indvars.iv75 to i32
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %80, i32 noundef %indvars, i64 noundef %79, i64 noundef 128)
          to label %81 unwind label %105

81:                                               ; preds = %.lr.ph63
  %82 = load i32, ptr %1, align 4, !tbaa !5
  %83 = add nsw i32 %82, %80
  %84 = add nsw i32 %83, 1
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sub nsw i32 100, %86
  %88 = sext i32 %87 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %83, i32 noundef %84, i64 noundef %88, i64 noundef 0)
          to label %89 unwind label %105

89:                                               ; preds = %81
  %90 = add nsw i64 %indvars.iv75, -1
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %90) #6
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = icmp sgt i32 %92, %94
  br i1 %95, label %96, label %107

96:                                               ; preds = %89
  %97 = load i32, ptr %1, align 4, !tbaa !5
  %98 = add nsw i32 %97, %80
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %90) #6
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = sub nsw i32 %100, %102
  %104 = sext i32 %103 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %80, i32 noundef %98, i64 noundef %104, i64 noundef 0)
          to label %107 unwind label %105

105:                                              ; preds = %113, %96, %81, %.lr.ph63
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %172

107:                                              ; preds = %96, %89
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %90) #6
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = icmp slt i32 %109, %111
  br i1 %112, label %113, label %122

113:                                              ; preds = %107
  %114 = load i32, ptr %1, align 4, !tbaa !5
  %115 = add nsw i32 %114, %80
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv75) #6
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %90) #6
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = sub nsw i32 %117, %119
  %121 = sext i32 %120 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %115, i32 noundef %80, i64 noundef %121, i64 noundef 0)
          to label %122 unwind label %105

122:                                              ; preds = %107, %113
  %123 = load i32, ptr %1, align 4, !tbaa !5
  %124 = add nsw i32 %123, -1
  %125 = sext i32 %124 to i64
  %126 = icmp slt i64 %indvars.iv.next76, %125
  br i1 %126, label %.lr.ph63, label %._crit_edge64, !llvm.loop !11

127:                                              ; preds = %._crit_edge64
  %128 = load i32, ptr %1, align 4, !tbaa !5
  %129 = shl nsw i32 %128, 1
  %130 = add nsw i32 %129, -1
  %131 = add nsw i32 %128, -2
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %132) #6
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = sub nsw i32 100, %134
  %136 = sext i32 %135 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %130, i32 noundef %42, i64 noundef %136, i64 noundef 0)
          to label %.preheader unwind label %75

.preheader:                                       ; preds = %127
  %137 = load i32, ptr %2, align 4, !tbaa !5
  %138 = icmp sgt i32 %137, 0
  br i1 %138, label %.lr.ph68, label %._crit_edge69

._crit_edge69:                                    ; preds = %154, %.preheader
  %sext = shl i64 %37, 32
  %139 = ashr exact i64 %sext, 32
  %sext45 = shl i64 %40, 32
  %140 = ashr exact i64 %sext45, 32
  invoke void @_ZN5boost44successive_shortest_path_nonnegative_weightsINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEEvRT_NS_12graph_traitsISK_E17vertex_descriptorESO_(ptr noundef nonnull align 8 dereferenceable(56) %6, i64 noundef %139, i64 noundef %140)
          to label %160 unwind label %75

.lr.ph68:                                         ; preds = %.preheader, %154
  %.03567 = phi i32 [ %155, %154 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %141 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %142 unwind label %158

142:                                              ; preds = %.lr.ph68
  %143 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %141, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %144 unwind label %158

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %143, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %146 unwind label %158

146:                                              ; preds = %144
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = load i32, ptr %10, align 4, !tbaa !5
  %149 = sub nsw i32 %148, %147
  %150 = shl nsw i32 %149, 7
  %151 = load i32, ptr %11, align 4, !tbaa !5
  %152 = sub nsw i32 %150, %151
  %153 = sext i32 %152 to i64
  invoke void @_ZN10edge_adder8add_edgeEiill(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %147, i32 noundef %148, i64 noundef 1, i64 noundef %153)
          to label %154 unwind label %158

154:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %155 = add nuw nsw i32 %.03567, 1
  %156 = load i32, ptr %2, align 4, !tbaa !5
  %157 = icmp slt i32 %155, %156
  br i1 %157, label %.lr.ph68, label %._crit_edge69, !llvm.loop !12

158:                                              ; preds = %146, %144, %142, %.lr.ph68
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br label %172

160:                                              ; preds = %._crit_edge69
  %161 = invoke noundef i64 @_ZN5boost14find_flow_costINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE4typeEE10value_typeERKSM_(ptr noundef nonnull align 8 dereferenceable(56) %6)
          to label %162 unwind label %170

162:                                              ; preds = %160
  %163 = shl nsw i32 %.042.lcssa, 7
  %164 = trunc i64 %161 to i32
  %165 = sub i32 %163, %164
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %165)
          to label %167 unwind label %170

167:                                              ; preds = %162
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %166, i8 noundef signext 10)
          to label %169 unwind label %170

169:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void

170:                                              ; preds = %167, %162, %160
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %172

172:                                              ; preds = %75, %105, %158, %170, %73
  %.pn.pn = phi { ptr, i32 } [ %74, %73 ], [ %106, %105 ], [ %159, %158 ], [ %171, %170 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  br label %173

173:                                              ; preds = %172, %71
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %172 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #6
  br label %174

174:                                              ; preds = %173, %34
  %.pn49 = phi { ptr, i32 } [ %35, %34 ], [ %.pn.pn.pn, %173 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %175

175:                                              ; preds = %174, %22
  %.pn49.pn = phi { ptr, i32 } [ %.pn49, %174 ], [ %23, %22 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn49.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 nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress 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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_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_tagEmEENS5_INS0_13edge_weight_tElS4_EEEEEEEES4_NS0_5listSEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost10add_vertexINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEENS9_12adj_list_genISJ_S2_S2_S3_S4_SH_S4_SI_E6configENS_21directed_graph_helperISM_EEEENT0_17vertex_descriptorERNS_17vec_adj_list_implIT_SP_T1_EE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost14find_flow_costINS_14adjacency_listINS_4vecSES2_NS_9directedSENS_11no_propertyENS_8propertyINS_15edge_capacity_tElNS5_INS_24edge_residual_capacity_tElNS5_INS_14edge_reverse_tENS_6detail14edge_desc_implINS_12directed_tagEmEENS5_INS_13edge_weight_tElS4_EEEEEEEES4_NS_5listSEEEEENS_15property_traitsINS_12property_mapIT_S6_vE4typeEE10value_typeERKSM_(ptr noundef nonnull align 8 dereferenceable(56)) 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 #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #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_tagEmEENS4_INS_13edge_weight_tElS3_EEEEEEEES3_NS_5listSEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass