; LLVM IR from sgtlaugh/algovault :: code_library (mcmf_spfa)

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

%struct.FlowGraph = type { i32, %"class.std::queue", %"class.std::bitset", i32, i32, [100010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [100010 x i32] }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [1563 x i64] }
%"struct.std::pair" = type { i32, i32 }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.FlowGraph, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::pair", align 4
  %9 = alloca %"class.std::tuple", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 6, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20812880, ptr %3) #6
  call void @_ZN9FlowGraphIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 6)
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 1, i32 noundef 2, i32 noundef 7, i32 noundef 1, i1 noundef zeroext true)
          to label %10 unwind label %26

10:                                               ; preds = %0
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 2, i32 noundef 3, i32 noundef 5, i32 noundef 2, i1 noundef zeroext true)
          to label %11 unwind label %26

11:                                               ; preds = %10
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 3, i32 noundef 6, i32 noundef 8, i32 noundef 3, i1 noundef zeroext true)
          to label %12 unwind label %26

12:                                               ; preds = %11
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 1, i32 noundef 4, i32 noundef 4, i32 noundef 4, i1 noundef zeroext true)
          to label %13 unwind label %26

13:                                               ; preds = %12
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 4, i32 noundef 2, i32 noundef 3, i32 noundef 5, i1 noundef zeroext true)
          to label %14 unwind label %26

14:                                               ; preds = %13
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 4, i32 noundef 5, i32 noundef 2, i32 noundef 4, i1 noundef zeroext true)
          to label %15 unwind label %26

15:                                               ; preds = %14
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 2, i32 noundef 5, i32 noundef 3, i32 noundef 3, i1 noundef zeroext true)
          to label %16 unwind label %26

16:                                               ; preds = %15
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 5, i32 noundef 3, i32 noundef 3, i32 noundef 2, i1 noundef zeroext true)
          to label %17 unwind label %26

17:                                               ; preds = %16
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 5, i32 noundef 6, i32 noundef 5, i32 noundef 1, i1 noundef zeroext true)
          to label %18 unwind label %26

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %19 = invoke i64 @_ZN9FlowGraphIiE15mincost_maxflowEii(ptr noundef nonnull align 8 dereferenceable(20812880) %3, i32 noundef 1, i32 noundef 6)
          to label %20 unwind label %30

20:                                               ; preds = %18
  store i64 %19, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %9, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7) #6
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIT_T0_EEERS1_E4typeEOSt4pairIS4_S5_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = icmp eq i32 %22, 71
  br i1 %23, label %24, label %25

24:                                               ; preds = %20
  br label %35

25:                                               ; preds = %20
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 121, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

26:                                               ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %0
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %4, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %5, align 4
  br label %43

30:                                               ; preds = %18
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %4, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %43

34:                                               ; No predecessors!
  br label %35

35:                                               ; preds = %34, %24
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 10
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  br label %41

39:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 122, ptr noundef @__PRETTY_FUNCTION__.main) #7
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @_ZN9FlowGraphIiED2Ev(ptr noundef nonnull align 8 dereferenceable(20812880) %3) #6
  call void @llvm.lifetime.end.p0(i64 20812880, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %42 = load i32, ptr %1, align 4
  ret i32 %42

43:                                               ; preds = %30, %26
  call void @_ZN9FlowGraphIiED2Ev(ptr noundef nonnull align 8 dereferenceable(20812880) %3) #6
  call void @llvm.lifetime.end.p0(i64 20812880, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %4, align 8
  %46 = load i32, ptr %5, align 4
  %47 = insertvalue { ptr, i32 } poison, ptr %45, 0
  %48 = insertvalue { ptr, i32 } %47, i32 %46, 1
  resume { ptr, i32 } %48
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9FlowGraphIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(20812880), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIT_T0_EEERS1_E4typeEOSt4pairIS4_S5_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #3 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

attributes #0 = { mustprogress norecurse 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 = { 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 #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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 }
attributes #7 = { noreturn nounwind }

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

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


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

%struct.FlowGraph = type { i32, %"class.std::queue", %"class.std::bitset", i32, i32, [100010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [1000010 x i32], [100010 x i32] }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [1563 x i64] }
%"struct.std::pair" = type { i32, i32 }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.FlowGraph, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"class.std::tuple", align 8
  call void @llvm.lifetime.start.p0(i64 20812880, ptr nonnull %1) #6
  call void @_ZN9FlowGraphIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 6)
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 1, i32 noundef 2, i32 noundef 7, i32 noundef 1, i1 noundef zeroext true)
          to label %6 unwind label %21

6:                                                ; preds = %0
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 2, i32 noundef 3, i32 noundef 5, i32 noundef 2, i1 noundef zeroext true)
          to label %7 unwind label %21

7:                                                ; preds = %6
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 3, i32 noundef 6, i32 noundef 8, i32 noundef 3, i1 noundef zeroext true)
          to label %8 unwind label %21

8:                                                ; preds = %7
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 1, i32 noundef 4, i32 noundef 4, i32 noundef 4, i1 noundef zeroext true)
          to label %9 unwind label %21

9:                                                ; preds = %8
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 4, i32 noundef 2, i32 noundef 3, i32 noundef 5, i1 noundef zeroext true)
          to label %10 unwind label %21

10:                                               ; preds = %9
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 4, i32 noundef 5, i32 noundef 2, i32 noundef 4, i1 noundef zeroext true)
          to label %11 unwind label %21

11:                                               ; preds = %10
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 2, i32 noundef 5, i32 noundef 3, i32 noundef 3, i1 noundef zeroext true)
          to label %12 unwind label %21

12:                                               ; preds = %11
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 5, i32 noundef 3, i32 noundef 3, i32 noundef 2, i1 noundef zeroext true)
          to label %13 unwind label %21

13:                                               ; preds = %12
  invoke void @_ZN9FlowGraphIiE8add_edgeEiiiib(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 5, i32 noundef 6, i32 noundef 5, i32 noundef 1, i1 noundef zeroext true)
          to label %14 unwind label %21

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %15 = invoke i64 @_ZN9FlowGraphIiE15mincost_maxflowEii(ptr noundef nonnull align 8 dereferenceable(20812880) %1, i32 noundef 1, i32 noundef 6)
          to label %16 unwind label %23

16:                                               ; preds = %14
  store i64 %15, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %5, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3) #6
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIT_T0_EEERS1_E4typeEOSt4pairIS4_S5_E(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = icmp eq i32 %18, 71
  br i1 %19, label %25, label %20

20:                                               ; preds = %16
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 121, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

21:                                               ; preds = %13, %12, %11, %10, %9, %8, %7, %6, %0
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %30

23:                                               ; preds = %14
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  br label %30

25:                                               ; preds = %16
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 10
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 122, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

29:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @_ZN9FlowGraphIiED2Ev(ptr noundef nonnull align 8 dereferenceable(20812880) %1) #6
  call void @llvm.lifetime.end.p0(i64 20812880, ptr nonnull %1) #6
  ret i32 0

30:                                               ; preds = %23, %21
  %.pn = phi { ptr, i32 } [ %24, %23 ], [ %22, %21 ]
  call void @_ZN9FlowGraphIiED2Ev(ptr noundef nonnull align 8 dereferenceable(20812880) %1) #6
  call void @llvm.lifetime.end.p0(i64 20812880, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9FlowGraphIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(20812880), i32 noundef) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJiiEESt5tupleIJDpRT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRiS0_EEaSIiiEENSt9enable_ifIXcl12__assignableIT_T0_EEERS1_E4typeEOSt4pairIS4_S5_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress norecurse 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 = { 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 #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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 }
attributes #7 = { noreturn nounwind }

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

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


; Effective O3 passes: GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass