; LLVM IR from wichue/nethello :: src/event/EventLoop.ll (ZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEE)

; 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::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.anon.66 = type { i8 }
%struct.epoll_event = type <{ i32, %union.epoll_data }>
%union.epoll_data = type { ptr }
%"class.std::function.48" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.68 = type { ptr, i32, i32, %"class.std::function.55" }
%"class.std::function.55" = type { %"class.std::_Function_base", ptr }
%"class.chw::EventLoop" = type { %"class.std::enable_shared_from_this", i8, %"class.std::__cxx11::basic_string", ptr, %"class.chw::Semaphore", %"class.chw::PipeWrap", %"class.std::mutex", %"class.chw::List", %"class.std::shared_ptr.3", i32, %"class.std::unordered_map", %"class.std::unordered_set", %"class.std::multimap" }
%"class.std::enable_shared_from_this" = type { %"class.std::weak_ptr" }
%"class.std::weak_ptr" = type { %"class.std::__weak_ptr" }
%"class.std::__weak_ptr" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.chw::Semaphore" = type { i64, %"class.std::recursive_mutex", %"class.std::_V2::condition_variable_any" }
%"class.std::recursive_mutex" = type { %"class.std::__recursive_mutex_base" }
%"class.std::__recursive_mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::_V2::condition_variable_any" = type { %"class.std::condition_variable", %"class.std::shared_ptr" }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.chw::PipeWrap" = type { [2 x i32] }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%"class.chw::List" = type { %"class.std::__cxx11::list" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::shared_ptr<chw::TaskCancelableImp<void ()>>, std::allocator<std::shared_ptr<chw::TaskCancelableImp<void ()>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::shared_ptr<chw::TaskCancelableImp<void ()>>, std::allocator<std::shared_ptr<chw::TaskCancelableImp<void ()>>>>::_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::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::multimap" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::shared_ptr<chw::TaskCancelableImp<unsigned long ()>>>, std::_Select1st<std::pair<const unsigned long, std::shared_ptr<chw::TaskCancelableImp<unsigned long ()>>>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::shared_ptr<chw::TaskCancelableImp<unsigned long ()>>>, std::_Select1st<std::pair<const unsigned long, std::shared_ptr<chw::TaskCancelableImp<unsigned long ()>>>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3chw9EventLoop15isCurrentThreadEv(ptr noundef nonnull align 8 dereferenceable(432)) #1 align 2

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

; Function Attrs: nounwind
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3chw9EventLoop5asyncESt8functionIFvvEEb(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(432), ptr noundef, i1 noundef zeroext) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFvbEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvbEEclEb(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEE(ptr noundef nonnull align 8 dereferenceable(432) %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %class.anon.66, align 1
  %11 = alloca %struct.epoll_event, align 1
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::shared_ptr.45", align 8
  %14 = alloca %"class.std::function.48", align 8
  %15 = alloca %class.anon.68, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  %18 = load ptr, ptr %6, align 8
  %19 = call noundef zeroext i1 @_ZNKSt8functionIFvbEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br i1 %19, label %22, label %20

20:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  %21 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvbEEaSIZN3chw9EventLoop11modifyEventEiiS1_E3$_0EENSt9enable_ifIXsrNS1_9_CallableIT_NS6_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS8_E4typeEE4typeES1_EE5valueESt5decayIS8_EE4type4typeESt15__invoke_resultIRSJ_JbEEEE5valueERS1_E4typeEOS8_"(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %22

22:                                               ; preds = %20, %4
  %23 = call noundef zeroext i1 @_ZN3chw9EventLoop15isCurrentThreadEv(ptr noundef nonnull align 8 dereferenceable(432) %18)
  br i1 %23, label %24, label %58

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #6
  call void @llvm.memset.p0.i64(ptr align 1 %11, i8 0, i64 12, i1 false)
  %25 = load i32, ptr %8, align 4, !tbaa !9
  %26 = and i32 %25, 1
  %27 = icmp ne i32 %26, 0
  %28 = zext i1 %27 to i64
  %29 = select i1 %27, i32 1, i32 0
  %30 = load i32, ptr %8, align 4, !tbaa !9
  %31 = and i32 %30, 2
  %32 = icmp ne i32 %31, 0
  %33 = zext i1 %32 to i64
  %34 = select i1 %32, i32 4, i32 0
  %35 = or i32 %29, %34
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = and i32 %36, 4
  %38 = icmp ne i32 %37, 0
  %39 = zext i1 %38 to i64
  %40 = select i1 %38, i32 24, i32 0
  %41 = or i32 %35, %40
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = and i32 %42, 8
  %44 = icmp ne i32 %43, 0
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, i32 0, i32 -2147483648
  %47 = or i32 %41, %46
  %48 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0
  store i32 %47, ptr %48, align 1, !tbaa !11
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 1
  store i32 %49, ptr %50, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %51 = getelementptr inbounds %"class.chw::EventLoop", ptr %18, i32 0, i32 9
  %52 = load i32, ptr %51, align 8, !tbaa !14
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = call i32 @epoll_ctl(i32 noundef %52, i32 noundef 3, i32 noundef %53, ptr noundef %11) #6
  store i32 %54, ptr %12, align 4, !tbaa !9
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = icmp ne i32 %55, -1
  call void @_ZNKSt8functionIFvbEEclEb(ptr noundef nonnull align 8 dereferenceable(32) %3, i1 noundef zeroext %56)
  %57 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %57, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  br label %76

58:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #6
  %59 = getelementptr inbounds %class.anon.68, ptr %15, i32 0, i32 0
  store ptr %18, ptr %59, align 8, !tbaa !59
  %60 = getelementptr inbounds %class.anon.68, ptr %15, i32 0, i32 1
  %61 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %61, ptr %60, align 8, !tbaa !63
  %62 = getelementptr inbounds %class.anon.68, ptr %15, i32 0, i32 2
  %63 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %63, ptr %62, align 4, !tbaa !64
  %64 = getelementptr inbounds %class.anon.68, ptr %15, i32 0, i32 3
  call void @_ZNSt8functionIFvbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(32) %3)
  invoke void @"_ZNSt8functionIFvvEEC2IZN3chw9EventLoop11modifyEventEiiS_IFvbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %65 unwind label %67

65:                                               ; preds = %58
  invoke void @_ZN3chw9EventLoop5asyncESt8functionIFvvEEb(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.45") align 8 %13, ptr noundef nonnull align 8 dereferenceable(432) %18, ptr noundef %14, i1 noundef zeroext true)
          to label %66 unwind label %71

66:                                               ; preds = %65
  call void @_ZNSt12__shared_ptrIN3chw17TaskCancelableImpIFvvEJEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  store i32 0, ptr %5, align 4
  br label %76

67:                                               ; preds = %58
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %16, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %17, align 4
  br label %75

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %16, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %75

75:                                               ; preds = %71, %67
  call void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  br label %78

76:                                               ; preds = %66, %24
  %77 = load i32, ptr %5, align 4
  ret i32 %77

78:                                               ; preds = %75
  %79 = load ptr, ptr %16, align 8
  %80 = load i32, ptr %17, align 4
  %81 = insertvalue { ptr, i32 } poison, ptr %79, 0
  %82 = insertvalue { ptr, i32 } %81, i32 %80, 1
  resume { ptr, i32 } %82
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvbEEaSIZN3chw9EventLoop11modifyEventEiiS1_E3$_0EENSt9enable_ifIXsrNS1_9_CallableIT_NS6_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS8_E4typeEE4typeES1_EE5valueESt5decayIS8_EE4type4typeESt15__invoke_resultIRSJ_JbEEEE5valueERS1_E4typeEOS8_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN3chw9EventLoop11modifyEventEiiS_IFvbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #5 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS11epoll_event", !10, i64 0, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 264}
!15 = !{!"_ZTSN3chw9EventLoopE", !16, i64 0, !20, i64 16, !21, i64 24, !6, i64 56, !24, i64 64, !33, i64 176, !34, i64 184, !36, i64 224, !42, i64 248, !10, i64 264, !44, i64 272, !49, i64 328, !51, i64 384}
!16 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9EventLoopEE", !17, i64 0}
!17 = !{!"_ZTSSt8weak_ptrIN3chw9EventLoopEE", !18, i64 0}
!18 = !{!"_ZTSSt10__weak_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN3chw9SemaphoreE", !23, i64 0, !25, i64 8, !27, i64 48}
!25 = !{!"_ZTSSt15recursive_mutex", !26, i64 0}
!26 = !{!"_ZTSSt22__recursive_mutex_base", !7, i64 0}
!27 = !{!"_ZTSNSt3_V222condition_variable_anyE", !28, i64 0, !30, i64 48}
!28 = !{!"_ZTSSt18condition_variable", !29, i64 0}
!29 = !{!"_ZTSSt9__condvar", !7, i64 0}
!30 = !{!"_ZTSSt10shared_ptrISt5mutexE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrISt5mutexLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!32 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!33 = !{!"_ZTSN3chw8PipeWrapE", !7, i64 0}
!34 = !{!"_ZTSSt5mutex", !35, i64 0}
!35 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!36 = !{!"_ZTSN3chw4ListISt10shared_ptrINS_17TaskCancelableImpIFvvEJEEEEEE", !37, i64 0}
!37 = !{!"_ZTSNSt7__cxx114listISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EEE", !38, i64 0}
!38 = !{!"_ZTSNSt7__cxx1110_List_baseISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EEE", !39, i64 0}
!39 = !{!"_ZTSNSt7__cxx1110_List_baseISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EE10_List_implE", !40, i64 0}
!40 = !{!"_ZTSNSt8__detail17_List_node_headerE", !41, i64 0, !23, i64 16}
!41 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!42 = !{!"_ZTSSt10shared_ptrIN3chw6LoggerEE", !43, i64 0}
!43 = !{!"_ZTSSt12__shared_ptrIN3chw6LoggerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!44 = !{!"_ZTSSt13unordered_mapIiSt10shared_ptrISt8functionIFviEEESt4hashIiESt8equal_toIiESaISt4pairIKiS4_EEE", !45, i64 0}
!45 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt10shared_ptrISt8functionIFviEEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !23, i64 8, !46, i64 16, !23, i64 24, !47, i64 32, !6, i64 48}
!46 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!47 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !48, i64 0, !23, i64 8}
!48 = !{!"float", !7, i64 0}
!49 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !50, i64 0}
!50 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !23, i64 8, !46, i64 16, !23, i64 24, !47, i64 32, !6, i64 48}
!51 = !{!"_ZTSSt8multimapImSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEESt4lessImESaISt4pairIKmS5_EEE", !52, i64 0}
!52 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE", !53, i64 0}
!53 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !54, i64 0, !56, i64 8}
!54 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !55, i64 0}
!55 = !{!"_ZTSSt4lessImE"}
!56 = !{!"_ZTSSt15_Rb_tree_header", !57, i64 0, !23, i64 32}
!57 = !{!"_ZTSSt18_Rb_tree_node_base", !58, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!58 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!59 = !{!60, !6, i64 0}
!60 = !{!"_ZTSZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEE3$_1", !6, i64 0, !10, i64 8, !10, i64 12, !61, i64 16}
!61 = !{!"_ZTSSt8functionIFvbEE", !62, i64 0, !6, i64 24}
!62 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!63 = !{!60, !10, i64 8}
!64 = !{!60, !10, i64 12}


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

%"class.std::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.anon.66 = type { i8 }
%struct.epoll_event = type <{ i32, %union.epoll_data }>
%union.epoll_data = type { ptr }
%"class.std::function.48" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.68 = type { ptr, i32, i32, %"class.std::function.55" }
%"class.std::function.55" = type { %"class.std::_Function_base", ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3chw9EventLoop15isCurrentThreadEv(ptr noundef nonnull align 8 dereferenceable(432)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3chw9EventLoop5asyncESt8functionIFvvEEb(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.45") align 8, ptr noundef nonnull align 8 dereferenceable(432), ptr noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFvbEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEE(ptr noundef nonnull align 8 dereferenceable(432) %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.anon.66, align 1
  %6 = alloca %struct.epoll_event, align 4
  %7 = alloca %"class.std::shared_ptr.45", align 8
  %8 = alloca %"class.std::function.48", align 8
  %9 = alloca %class.anon.68, align 8
  %10 = tail call noundef zeroext i1 @_ZNKSt8functionIFvbEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br i1 %10, label %13, label %11

11:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  %12 = call noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvbEEaSIZN3chw9EventLoop11modifyEventEiiS1_E3$_0EENSt9enable_ifIXsrNS1_9_CallableIT_NS6_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS8_E4typeEE4typeES1_EE5valueESt5decayIS8_EE4type4typeESt15__invoke_resultIRSJ_JbEEEE5valueERS1_E4typeEOS8_"(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  br label %13

13:                                               ; preds = %11, %4
  %14 = call noundef zeroext i1 @_ZN3chw9EventLoop15isCurrentThreadEv(ptr noundef nonnull align 8 dereferenceable(432) %0)
  br i1 %14, label %15, label %33

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  %16 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 0, ptr %16, align 4
  %17 = and i32 %2, 1
  %18 = shl i32 %2, 1
  %19 = and i32 %18, 4
  %20 = or disjoint i32 %19, %17
  %21 = and i32 %2, 4
  %.not = icmp eq i32 %21, 0
  %22 = select i1 %.not, i32 0, i32 24
  %23 = shl i32 %2, 28
  %24 = and i32 %23, -2147483648
  %25 = or disjoint i32 %20, %24
  %26 = or disjoint i32 %25, %22
  %27 = xor i32 %26, -2147483648
  store i32 %27, ptr %6, align 4, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %1, ptr %28, align 4, !tbaa !10
  %29 = getelementptr inbounds i8, ptr %0, i64 264
  %30 = load i32, ptr %29, align 8, !tbaa !11
  %31 = call i32 @epoll_ctl(i32 noundef %30, i32 noundef 3, i32 noundef %1, ptr noundef nonnull %6) #5
  %32 = icmp ne i32 %31, -1
  call void @_ZNKSt8functionIFvbEEclEb(ptr noundef nonnull align 8 dereferenceable(32) %3, i1 noundef zeroext %32)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  br label %44

33:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  store ptr %0, ptr %9, align 8, !tbaa !57
  %34 = getelementptr inbounds i8, ptr %9, i64 8
  store i32 %1, ptr %34, align 8, !tbaa !61
  %35 = getelementptr inbounds i8, ptr %9, i64 12
  store i32 %2, ptr %35, align 4, !tbaa !62
  %36 = getelementptr inbounds i8, ptr %9, i64 16
  call void @_ZNSt8functionIFvbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %3)
  invoke void @"_ZNSt8functionIFvvEEC2IZN3chw9EventLoop11modifyEventEiiS_IFvbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %37 unwind label %39

37:                                               ; preds = %33
  invoke void @_ZN3chw9EventLoop5asyncESt8functionIFvvEEb(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.45") align 8 %7, ptr noundef nonnull align 8 dereferenceable(432) %0, ptr noundef nonnull %8, i1 noundef zeroext true)
          to label %38 unwind label %41

38:                                               ; preds = %37
  call void @_ZNSt12__shared_ptrIN3chw17TaskCancelableImpIFvvEJEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %44

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

41:                                               ; preds = %37
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  resume { ptr, i32 } %.pn

44:                                               ; preds = %38, %15
  %.014 = phi i32 [ %31, %15 ], [ 0, %38 ]
  ret i32 %.014
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvbEEaSIZN3chw9EventLoop11modifyEventEiiS1_E3$_0EENSt9enable_ifIXsrNS1_9_CallableIT_NS6_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS8_E4typeEE4typeES1_EE5valueESt5decayIS8_EE4type4typeESt15__invoke_resultIRSJ_JbEEEE5valueERS1_E4typeEOS8_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN3chw9EventLoop11modifyEventEiiS_IFvbEEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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, !7, i64 0}
!6 = !{!"_ZTS11epoll_event", !7, i64 0, !8, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !7, i64 264}
!12 = !{!"_ZTSN3chw9EventLoopE", !13, i64 0, !18, i64 16, !19, i64 24, !16, i64 56, !22, i64 64, !31, i64 176, !32, i64 184, !34, i64 224, !40, i64 248, !7, i64 264, !42, i64 272, !47, i64 328, !49, i64 384}
!13 = !{!"_ZTSSt23enable_shared_from_thisIN3chw9EventLoopEE", !14, i64 0}
!14 = !{!"_ZTSSt8weak_ptrIN3chw9EventLoopEE", !15, i64 0}
!15 = !{!"_ZTSSt10__weak_ptrIN3chw9EventLoopELN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0}
!18 = !{!"bool", !8, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !8, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!"_ZTSN3chw9SemaphoreE", !21, i64 0, !23, i64 8, !25, i64 48}
!23 = !{!"_ZTSSt15recursive_mutex", !24, i64 0}
!24 = !{!"_ZTSSt22__recursive_mutex_base", !8, i64 0}
!25 = !{!"_ZTSNSt3_V222condition_variable_anyE", !26, i64 0, !28, i64 48}
!26 = !{!"_ZTSSt18condition_variable", !27, i64 0}
!27 = !{!"_ZTSSt9__condvar", !8, i64 0}
!28 = !{!"_ZTSSt10shared_ptrISt5mutexE", !29, i64 0}
!29 = !{!"_ZTSSt12__shared_ptrISt5mutexLN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !30, i64 8}
!30 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0}
!31 = !{!"_ZTSN3chw8PipeWrapE", !8, i64 0}
!32 = !{!"_ZTSSt5mutex", !33, i64 0}
!33 = !{!"_ZTSSt12__mutex_base", !8, i64 0}
!34 = !{!"_ZTSN3chw4ListISt10shared_ptrINS_17TaskCancelableImpIFvvEJEEEEEE", !35, i64 0}
!35 = !{!"_ZTSNSt7__cxx114listISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EEE", !36, i64 0}
!36 = !{!"_ZTSNSt7__cxx1110_List_baseISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EEE", !37, i64 0}
!37 = !{!"_ZTSNSt7__cxx1110_List_baseISt10shared_ptrIN3chw17TaskCancelableImpIFvvEJEEEESaIS6_EE10_List_implE", !38, i64 0}
!38 = !{!"_ZTSNSt8__detail17_List_node_headerE", !39, i64 0, !21, i64 16}
!39 = !{!"_ZTSNSt8__detail15_List_node_baseE", !16, i64 0, !16, i64 8}
!40 = !{!"_ZTSSt10shared_ptrIN3chw6LoggerEE", !41, i64 0}
!41 = !{!"_ZTSSt12__shared_ptrIN3chw6LoggerELN9__gnu_cxx12_Lock_policyE2EE", !16, i64 0, !30, i64 8}
!42 = !{!"_ZTSSt13unordered_mapIiSt10shared_ptrISt8functionIFviEEESt4hashIiESt8equal_toIiESaISt4pairIKiS4_EEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt10shared_ptrISt8functionIFviEEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE", !16, i64 0, !21, i64 8, !44, i64 16, !21, i64 24, !45, i64 32, !16, i64 48}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !16, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !21, i64 8}
!46 = !{!"float", !8, i64 0}
!47 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !48, i64 0}
!48 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !16, i64 0, !21, i64 8, !44, i64 16, !21, i64 24, !45, i64 32, !16, i64 48}
!49 = !{!"_ZTSSt8multimapImSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEESt4lessImESaISt4pairIKmS5_EEE", !50, i64 0}
!50 = !{!"_ZTSSt8_Rb_treeImSt4pairIKmSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE", !51, i64 0}
!51 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKmSt10shared_ptrIN3chw17TaskCancelableImpIFmvEJEEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !52, i64 0, !54, i64 8}
!52 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !53, i64 0}
!53 = !{!"_ZTSSt4lessImE"}
!54 = !{!"_ZTSSt15_Rb_tree_header", !55, i64 0, !21, i64 32}
!55 = !{!"_ZTSSt18_Rb_tree_node_base", !56, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!56 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!57 = !{!58, !16, i64 0}
!58 = !{!"_ZTSZN3chw9EventLoop11modifyEventEiiSt8functionIFvbEEE3$_1", !16, i64 0, !7, i64 8, !7, i64 12, !59, i64 16}
!59 = !{!"_ZTSSt8functionIFvbEE", !60, i64 0, !16, i64 24}
!60 = !{!"_ZTSSt14_Function_base", !8, i64 0, !16, i64 16}
!61 = !{!58, !7, i64 8}
!62 = !{!58, !7, i64 12}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass