; LLVM IR from yinqiwen/ardb :: src/common/channel/channel_service.ll (ZN4ardb14ChannelServiceC2Ej)

; 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.btree::btree_key_compare_to_adapter" = type { i8 }
%"class.std::allocator.11" = type { i8 }
%"class.ardb::ChannelService" = type { %"class.ardb::Runnable", %"struct.ardb::SoftSignalHandler", %"class.btree::btree_map", i32, ptr, ptr, ptr, ptr, %"class.std::__cxx11::list", %"class.ardb::MPSCQueue", i8, i32, %"class.std::vector", %"class.std::vector.6", i64, %"class.ardb::SPSCQueue", ptr, i32, ptr }
%"class.ardb::Runnable" = type { ptr }
%"struct.ardb::SoftSignalHandler" = type { ptr }
%"class.btree::btree_map" = type { %"class.btree::btree_map_container" }
%"class.btree::btree_map_container" = type { %"class.btree::btree_unique_container" }
%"class.btree::btree_unique_container" = type { %"class.btree::btree_container" }
%"class.btree::btree_container" = type { %"class.btree::btree" }
%"class.btree::btree" = type { %"struct.btree::btree<btree::btree_map_params<unsigned int, ardb::Channel *, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, ardb::Channel *>>, 256>>::empty_base_handle" }
%"struct.btree::btree<btree::btree_map_params<unsigned int, ardb::Channel *, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, ardb::Channel *>>, 256>>::empty_base_handle" = type { ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<unsigned int, std::allocator<unsigned int>>::_List_impl" }
%"struct.std::__cxx11::_List_base<unsigned int, std::allocator<unsigned int>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.ardb::MPSCQueue" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ardb::ChannelService *, std::allocator<ardb::ChannelService *>>::_Vector_impl" }
%"struct.std::_Vector_base<ardb::ChannelService *, std::allocator<ardb::ChannelService *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ardb::ChannelService *, std::allocator<ardb::ChannelService *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ardb::ChannelService *, std::allocator<ardb::ChannelService *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<ardb::Thread *, std::allocator<ardb::Thread *>>::_Vector_impl" }
%"struct.std::_Vector_base<ardb::Thread *, std::allocator<ardb::Thread *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ardb::Thread *, std::allocator<ardb::Thread *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ardb::Thread *, std::allocator<ardb::Thread *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.ardb::SPSCQueue" = type { ptr, [64 x i8], ptr, ptr, ptr }

@_ZTVN4ardb14ChannelServiceE = external dso_local unnamed_addr constant { [6 x ptr], [5 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb14ChannelServiceC2Ej(ptr noundef nonnull align 8 dereferenceable(288) %0, i32 noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"struct.btree::btree_key_compare_to_adapter", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator.11", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %9 = load ptr, ptr %3, align 8
  call void @_ZN4ardb8RunnableC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  call void @_ZN4ardb17SoftSignalHandlerC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr], [5 x ptr] }, ptr @_ZTVN4ardb14ChannelServiceE, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr getelementptr inbounds inrange(-16, 24) ({ [6 x ptr], [5 x ptr] }, ptr @_ZTVN4ardb14ChannelServiceE, i32 0, i32 1, i32 2), ptr %11, align 8, !tbaa !11
  %12 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  invoke void @_ZN5btree28btree_key_compare_to_adapterISt4lessIjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %13 unwind label %62

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  call void @_ZNSaISt4pairIKjPN4ardb7ChannelEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZN5btree9btree_mapIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS3_EELi256EEC2ERKNS_28btree_key_compare_to_adapterIS5_EERKS9_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %14 unwind label %66

14:                                               ; preds = %13
  call void @_ZNSt15__new_allocatorISt4pairIKjPN4ardb7ChannelEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  %15 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 3
  %16 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %16, ptr %15, align 8, !tbaa !13
  %17 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 4
  store ptr null, ptr %17, align 8, !tbaa !40
  %18 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 5
  store ptr null, ptr %18, align 8, !tbaa !41
  %19 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 6
  store ptr null, ptr %19, align 8, !tbaa !42
  %20 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  store ptr null, ptr %20, align 8, !tbaa !43
  %21 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 8
  call void @_ZNSt7__cxx114listIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %22 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 9
  invoke void @_ZN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %23 unwind label %71

23:                                               ; preds = %14
  %24 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 10
  store i8 0, ptr %24, align 8, !tbaa !44
  %25 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 11
  store i32 1, ptr %25, align 4, !tbaa !45
  %26 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 12
  call void @_ZNSt6vectorIPN4ardb14ChannelServiceESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %27 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 13
  call void @_ZNSt6vectorIPN4ardb6ThreadESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  %28 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 14
  store i64 0, ptr %28, align 8, !tbaa !46
  %29 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 15
  invoke void @_ZN4ardb9SPSCQueueIPNS_8RunnableEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %29)
          to label %30 unwind label %75

30:                                               ; preds = %23
  %31 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 16
  store ptr null, ptr %31, align 8, !tbaa !47
  %32 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 17
  store i32 0, ptr %32, align 8, !tbaa !48
  %33 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 18
  store ptr null, ptr %33, align 8, !tbaa !49
  %34 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 3
  %35 = load i32, ptr %34, align 8, !tbaa !13
  %36 = invoke ptr @aeCreateEventLoop(i32 noundef %35)
          to label %37 unwind label %79

37:                                               ; preds = %30
  %38 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 4
  store ptr %36, ptr %38, align 8, !tbaa !40
  %39 = invoke noundef ptr @_ZN4ardb14ChannelService20NewSoftSignalChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %9)
          to label %40 unwind label %79

40:                                               ; preds = %37
  %41 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  store ptr %39, ptr %41, align 8, !tbaa !43
  %42 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  %43 = load ptr, ptr %42, align 8, !tbaa !43
  %44 = icmp ne ptr null, %43
  br i1 %44, label %45, label %83

45:                                               ; preds = %40
  %46 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  %47 = load ptr, ptr %46, align 8, !tbaa !43
  %48 = getelementptr inbounds i8, ptr %9, i64 8
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %47, i32 noundef 1, ptr noundef %48)
          to label %49 unwind label %79

49:                                               ; preds = %45
  %50 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  %51 = load ptr, ptr %50, align 8, !tbaa !43
  %52 = getelementptr inbounds i8, ptr %9, i64 8
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %51, i32 noundef 3, ptr noundef %52)
          to label %53 unwind label %79

53:                                               ; preds = %49
  %54 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  %55 = load ptr, ptr %54, align 8, !tbaa !43
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %55, i32 noundef 2, ptr noundef %56)
          to label %57 unwind label %79

57:                                               ; preds = %53
  %58 = getelementptr inbounds %"class.ardb::ChannelService", ptr %9, i32 0, i32 7
  %59 = load ptr, ptr %58, align 8, !tbaa !43
  %60 = getelementptr inbounds i8, ptr %9, i64 8
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %59, i32 noundef 4, ptr noundef %60)
          to label %61 unwind label %79

61:                                               ; preds = %57
  br label %83

62:                                               ; preds = %2
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %6, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %7, align 4
  br label %70

66:                                               ; preds = %13
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %6, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %7, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKjPN4ardb7ChannelEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %70

70:                                               ; preds = %66, %62
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  br label %86

71:                                               ; preds = %14
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %6, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %7, align 4
  br label %85

75:                                               ; preds = %23
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  br label %84

79:                                               ; preds = %57, %53, %49, %45, %37, %30
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %6, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %7, align 4
  call void @_ZN4ardb9SPSCQueueIPNS_8RunnableEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %29) #5
  br label %84

83:                                               ; preds = %61, %40
  ret void

84:                                               ; preds = %79, %75
  call void @_ZNSt6vectorIPN4ardb6ThreadESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @_ZNSt6vectorIPN4ardb14ChannelServiceESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @_ZN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  br label %85

85:                                               ; preds = %84, %71
  call void @_ZNSt7__cxx1110_List_baseIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @_ZN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br label %86

86:                                               ; preds = %85, %70
  %87 = getelementptr inbounds i8, ptr %9, i64 8
  call void @_ZN4ardb17SoftSignalHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #5
  call void @_ZN4ardb8RunnableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br label %88

88:                                               ; preds = %86
  %89 = load ptr, ptr %6, align 8
  %90 = load i32, ptr %7, align 4
  %91 = insertvalue { ptr, i32 } poison, ptr %89, 0
  %92 = insertvalue { ptr, i32 } %91, i32 %90, 1
  resume { ptr, i32 } %92
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ardb9SPSCQueueIPNS_8RunnableEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #0 align 2

declare ptr @aeCreateEventLoop(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4ardb14ChannelService20NewSoftSignalChannelEv(ptr noundef nonnull align 8 dereferenceable(288)) #0 align 2

declare void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344), i32 noundef, ptr noundef) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb8RunnableD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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, !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, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"_ZTSN4ardb14ChannelServiceE", !15, i64 0, !16, i64 8, !17, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !23, i64 64, !29, i64 88, !30, i64 104, !10, i64 108, !31, i64 112, !35, i64 136, !28, i64 160, !39, i64 168, !6, i64 264, !10, i64 272, !6, i64 280}
!15 = !{!"_ZTSN4ardb8RunnableE"}
!16 = !{!"_ZTSN4ardb17SoftSignalHandlerE"}
!17 = !{!"_ZTSN5btree9btree_mapIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS3_EELi256EEE", !18, i64 0}
!18 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !19, i64 0}
!19 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !20, i64 0}
!20 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !21, i64 0}
!21 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS4_EELi256EEEEE", !22, i64 0}
!22 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS4_EELi256EEEE17empty_base_handleISaIcEPNS_10btree_nodeISB_EEEE", !6, i64 0}
!23 = !{!"_ZTSNSt7__cxx114listIjSaIjEEE", !24, i64 0}
!24 = !{!"_ZTSNSt7__cxx1110_List_baseIjSaIjEEE", !25, i64 0}
!25 = !{!"_ZTSNSt7__cxx1110_List_baseIjSaIjEE10_List_implE", !26, i64 0}
!26 = !{!"_ZTSNSt8__detail17_List_node_headerE", !27, i64 0, !28, i64 16}
!27 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!28 = !{!"long", !7, i64 0}
!29 = !{!"_ZTSN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEEE", !6, i64 0, !6, i64 8}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"_ZTSSt6vectorIPN4ardb14ChannelServiceESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt6vectorIPN4ardb6ThreadESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN4ardb9SPSCQueueIPNS_8RunnableEEE", !6, i64 0, !7, i64 8, !6, i64 72, !6, i64 80, !6, i64 88}
!40 = !{!14, !6, i64 32}
!41 = !{!14, !6, i64 40}
!42 = !{!14, !6, i64 48}
!43 = !{!14, !6, i64 56}
!44 = !{!14, !30, i64 104}
!45 = !{!14, !10, i64 108}
!46 = !{!14, !28, i64 160}
!47 = !{!14, !6, i64 264}
!48 = !{!14, !10, i64 272}
!49 = !{!14, !6, i64 280}


; 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.btree::btree_key_compare_to_adapter" = type { i8 }
%"class.std::allocator.11" = type { i8 }

@_ZTVN4ardb14ChannelServiceE = external dso_local unnamed_addr constant { [6 x ptr], [5 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb14ChannelServiceC2Ej(ptr noundef nonnull align 8 dereferenceable(288) %0, i32 noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.btree::btree_key_compare_to_adapter", align 1
  %4 = alloca %"class.std::allocator.11", align 1
  tail call void @_ZN4ardb8RunnableC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN4ardb17SoftSignalHandlerC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTVN4ardb14ChannelServiceE, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVN4ardb14ChannelServiceE, i64 64), ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  call void @_ZN5btree28btree_key_compare_to_adapterISt4lessIjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaISt4pairIKjPN4ardb7ChannelEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZN5btree9btree_mapIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS3_EELi256EEC2ERKNS_28btree_key_compare_to_adapterIS5_EERKS9_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %7 unwind label %36

7:                                                ; preds = %2
  call void @_ZNSt15__new_allocatorISt4pairIKjPN4ardb7ChannelEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %1, ptr %8, align 8, !tbaa !8
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 0, i64 32, i1 false)
  call void @_ZNSt7__cxx114listIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 88
  invoke void @_ZN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %13 unwind label %38

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %0, i64 104
  store i8 0, ptr %14, align 8, !tbaa !38
  %15 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 1, ptr %15, align 4, !tbaa !39
  %16 = getelementptr inbounds i8, ptr %0, i64 112
  call void @_ZNSt6vectorIPN4ardb14ChannelServiceESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 136
  call void @_ZNSt6vectorIPN4ardb6ThreadESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 160
  store i64 0, ptr %18, align 8, !tbaa !40
  %19 = getelementptr inbounds i8, ptr %0, i64 168
  invoke void @_ZN4ardb9SPSCQueueIPNS_8RunnableEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %19)
          to label %20 unwind label %40

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %0, i64 264
  store ptr null, ptr %21, align 8, !tbaa !41
  %22 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %22, align 8, !tbaa !42
  %23 = getelementptr inbounds i8, ptr %0, i64 280
  store ptr null, ptr %23, align 8, !tbaa !43
  %24 = load i32, ptr %8, align 8, !tbaa !8
  %25 = invoke ptr @aeCreateEventLoop(i32 noundef %24)
          to label %26 unwind label %42

26:                                               ; preds = %20
  store ptr %25, ptr %9, align 8, !tbaa !44
  %27 = invoke noundef ptr @_ZN4ardb14ChannelService20NewSoftSignalChannelEv(ptr noundef nonnull align 8 dereferenceable(288) %0)
          to label %28 unwind label %42

28:                                               ; preds = %26
  store ptr %27, ptr %10, align 8, !tbaa !45
  %.not = icmp eq ptr %27, null
  br i1 %.not, label %44, label %29

29:                                               ; preds = %28
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %27, i32 noundef 1, ptr noundef nonnull %5)
          to label %30 unwind label %42

30:                                               ; preds = %29
  %31 = load ptr, ptr %10, align 8, !tbaa !45
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %31, i32 noundef 3, ptr noundef nonnull %5)
          to label %32 unwind label %42

32:                                               ; preds = %30
  %33 = load ptr, ptr %10, align 8, !tbaa !45
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %33, i32 noundef 2, ptr noundef nonnull %5)
          to label %34 unwind label %42

34:                                               ; preds = %32
  %35 = load ptr, ptr %10, align 8, !tbaa !45
  invoke void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344) %35, i32 noundef 4, ptr noundef nonnull %5)
          to label %44 unwind label %42

36:                                               ; preds = %2
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKjPN4ardb7ChannelEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  br label %47

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

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

42:                                               ; preds = %34, %32, %30, %29, %26, %20
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb9SPSCQueueIPNS_8RunnableEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %19) #6
  br label %45

44:                                               ; preds = %34, %28
  ret void

45:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @_ZNSt6vectorIPN4ardb6ThreadESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @_ZNSt6vectorIPN4ardb14ChannelServiceESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @_ZN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %46

46:                                               ; preds = %45, %38
  %.pn.pn = phi { ptr, i32 } [ %.pn, %45 ], [ %39, %38 ]
  call void @_ZNSt7__cxx1110_List_baseIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %47

47:                                               ; preds = %46, %36
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %46 ], [ %37, %36 ]
  call void @_ZN4ardb17SoftSignalHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @_ZN4ardb8RunnableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt4pairIKjPN4ardb7ChannelEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ardb9SPSCQueueIPNS_8RunnableEEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #0 align 2

declare ptr @aeCreateEventLoop(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4ardb14ChannelService20NewSoftSignalChannelEv(ptr noundef nonnull align 8 dereferenceable(288)) local_unnamed_addr #0 align 2

declare void @_ZN4ardb17SoftSignalChannel8RegisterEjPNS_17SoftSignalHandlerE(ptr noundef nonnull align 8 dereferenceable(344), i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !20, i64 24}
!9 = !{!"_ZTSN4ardb14ChannelServiceE", !10, i64 0, !11, i64 8, !12, i64 16, !20, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !21, i64 64, !27, i64 88, !28, i64 104, !20, i64 108, !29, i64 112, !33, i64 136, !26, i64 160, !37, i64 168, !18, i64 264, !20, i64 272, !18, i64 280}
!10 = !{!"_ZTSN4ardb8RunnableE"}
!11 = !{!"_ZTSN4ardb17SoftSignalHandlerE"}
!12 = !{!"_ZTSN5btree9btree_mapIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS3_EELi256EEE", !13, i64 0}
!13 = !{!"_ZTSN5btree19btree_map_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !14, i64 0}
!14 = !{!"_ZTSN5btree22btree_unique_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !15, i64 0}
!15 = !{!"_ZTSN5btree15btree_containerINS_5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS5_EELi256EEEEEEE", !16, i64 0}
!16 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS4_EELi256EEEEE", !17, i64 0}
!17 = !{!"_ZTSN5btree5btreeINS_16btree_map_paramsIjPN4ardb7ChannelESt4lessIjESaISt4pairIKjS4_EELi256EEEE17empty_base_handleISaIcEPNS_10btree_nodeISB_EEEE", !18, i64 0}
!18 = !{!"any pointer", !19, i64 0}
!19 = !{!"omnipotent char", !7, i64 0}
!20 = !{!"int", !19, i64 0}
!21 = !{!"_ZTSNSt7__cxx114listIjSaIjEEE", !22, i64 0}
!22 = !{!"_ZTSNSt7__cxx1110_List_baseIjSaIjEEE", !23, i64 0}
!23 = !{!"_ZTSNSt7__cxx1110_List_baseIjSaIjEE10_List_implE", !24, i64 0}
!24 = !{!"_ZTSNSt8__detail17_List_node_headerE", !25, i64 0, !26, i64 16}
!25 = !{!"_ZTSNSt8__detail15_List_node_baseE", !18, i64 0, !18, i64 8}
!26 = !{!"long", !19, i64 0}
!27 = !{!"_ZTSN4ardb9MPSCQueueINS_21ChannelAsyncIOContextEEE", !18, i64 0, !18, i64 8}
!28 = !{!"bool", !19, i64 0}
!29 = !{!"_ZTSSt6vectorIPN4ardb14ChannelServiceESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN4ardb14ChannelServiceESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!33 = !{!"_ZTSSt6vectorIPN4ardb6ThreadESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN4ardb6ThreadESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!37 = !{!"_ZTSN4ardb9SPSCQueueIPNS_8RunnableEEE", !18, i64 0, !19, i64 8, !18, i64 72, !18, i64 80, !18, i64 88}
!38 = !{!9, !28, i64 104}
!39 = !{!9, !20, i64 108}
!40 = !{!9, !26, i64 160}
!41 = !{!9, !18, i64 264}
!42 = !{!9, !20, i64 272}
!43 = !{!9, !18, i64 280}
!44 = !{!9, !18, i64 32}
!45 = !{!9, !18, i64 56}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass