; LLVM IR from dynexcoin/Dynex :: src/NodeRpcProxy (NodeRpcProxy)

; 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.DynexCN::NodeRpcProxy" = type { %"class.DynexCN::INode", %"class.std::__cxx11::basic_string", i16, i32, %"class.std::mutex", %"class.std::condition_variable", %"class.std::thread", ptr, ptr, %"class.Tools::ObserverManager", %"class.Tools::ObserverManager.8", i32, ptr, ptr, i64, i8, %"struct.std::atomic", %"struct.std::atomic.14", %"struct.std::atomic.14", %"struct.std::atomic", %"struct.DynexCN::BlockHeaderInfo", %"class.std::unordered_set", i8, %"class.std::__cxx11::basic_string" }
%"class.DynexCN::INode" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__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::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::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%"class.Tools::ObserverManager" = type { %"class.std::vector", %"class.std::mutex" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DynexCN::INodeObserver *, std::allocator<DynexCN::INodeObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::INodeObserver *, std::allocator<DynexCN::INodeObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::INodeObserver *, std::allocator<DynexCN::INodeObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::INodeObserver *, std::allocator<DynexCN::INodeObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Tools::ObserverManager.8" = type { %"class.std::vector.9", %"class.std::mutex" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<DynexCN::INodeRpcProxyObserver *, std::allocator<DynexCN::INodeRpcProxyObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::INodeRpcProxyObserver *, std::allocator<DynexCN::INodeRpcProxyObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::INodeRpcProxyObserver *, std::allocator<DynexCN::INodeRpcProxyObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::INodeRpcProxyObserver *, std::allocator<DynexCN::INodeRpcProxyObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::atomic.14" = type { %"struct.std::__atomic_base.15" }
%"struct.std::__atomic_base.15" = type { i32 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"struct.DynexCN::BlockHeaderInfo" = type { i32, i8, i8, i64, %"struct.Crypto::Hash", %"struct.Crypto::Hash", i32, i8, i32, i64, i64 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::unordered_set" = 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::__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] }

@_ZTVN7DynexCN12NodeRpcProxyE = external dso_local unnamed_addr constant { [36 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN12NodeRpcProxyC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i16, align 2
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i16 %2, ptr %6, align 2, !tbaa !9
  %9 = load ptr, ptr %4, align 8
  call void @_ZN7DynexCN5INodeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  store ptr getelementptr inbounds inrange(-16, 272) ({ [36 x ptr] }, ptr @_ZTVN7DynexCN12NodeRpcProxyE, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 1
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %12 unwind label %37

12:                                               ; preds = %3
  %13 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 2
  %14 = load i16, ptr %6, align 2, !tbaa !9
  store i16 %14, ptr %13, align 8, !tbaa !13
  %15 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 3
  store i32 0, ptr %15, align 4, !tbaa !49
  %16 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 4
  call void @_ZNSt5mutexC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  %17 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 5
  call void @_ZNSt18condition_variableC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #4
  %18 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 6
  call void @_ZNSt6threadC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %19 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 7
  store ptr null, ptr %19, align 8, !tbaa !50
  %20 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 8
  store ptr null, ptr %20, align 8, !tbaa !51
  %21 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 9
  call void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #4
  %22 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 10
  call void @_ZN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #4
  %23 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 11
  store i32 10000, ptr %23, align 8, !tbaa !52
  %24 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 12
  store ptr null, ptr %24, align 8, !tbaa !53
  %25 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 13
  store ptr null, ptr %25, align 8, !tbaa !54
  %26 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 14
  store i64 5000, ptr %26, align 8, !tbaa !55
  %27 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 15
  store i8 0, ptr %27, align 8, !tbaa !56
  %28 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 16
  call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 noundef 0) #4
  %29 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 17
  call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 noundef 0) #4
  %30 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 18
  call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 noundef 0) #4
  %31 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 19
  call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %31, i64 noundef 1000000) #4
  %32 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 20
  %33 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 21
  call void @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #4
  %34 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 22
  store i8 1, ptr %34, align 8, !tbaa !57
  %35 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %9, i32 0, i32 23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  invoke void @_ZN7DynexCN12NodeRpcProxy18resetInternalStateEv(ptr noundef nonnull align 8 dereferenceable(560) %9)
          to label %36 unwind label %41

36:                                               ; preds = %12
  ret void

37:                                               ; preds = %3
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  br label %45

41:                                               ; preds = %12
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %7, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #4
  call void @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #4
  call void @_ZN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #4
  call void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #4
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  call void @_ZNSt18condition_variableD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  br label %45

45:                                               ; preds = %41, %37
  call void @_ZN7DynexCN5INodeD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br label %46

46:                                               ; preds = %45
  %47 = load ptr, ptr %7, align 8
  %48 = load i32, ptr %8, align 4
  %49 = insertvalue { ptr, i32 } poison, ptr %47, 0
  %50 = insertvalue { ptr, i32 } %49, i32 %48, 1
  resume { ptr, i32 } %50
}

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

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

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

; Function Attrs: nounwind
declare void @_ZNSt18condition_variableC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN12NodeRpcProxy18resetInternalStateEv(ptr noundef nonnull align 8 dereferenceable(560)) #0 align 2

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

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

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

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

; Function Attrs: nounwind
declare void @_ZNSt18condition_variableD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

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

attributes #0 = { 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 #1 = { 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 #2 = { 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 #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 = { 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 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 40}
!14 = !{!"_ZTSN7DynexCN12NodeRpcProxyE", !15, i64 0, !16, i64 8, !10, i64 40, !19, i64 44, !20, i64 48, !22, i64 88, !24, i64 136, !6, i64 144, !6, i64 152, !26, i64 160, !31, i64 224, !36, i64 288, !6, i64 296, !6, i64 304, !18, i64 312, !37, i64 320, !38, i64 328, !40, i64 336, !40, i64 340, !38, i64 344, !42, i64 352, !44, i64 464, !37, i64 520, !16, i64 528}
!15 = !{!"_ZTSN7DynexCN5INodeE"}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN7DynexCN12NodeRpcProxy5StateE", !7, i64 0}
!20 = !{!"_ZTSSt5mutex", !21, i64 0}
!21 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!22 = !{!"_ZTSSt18condition_variable", !23, i64 0}
!23 = !{!"_ZTSSt9__condvar", !7, i64 0}
!24 = !{!"_ZTSSt6thread", !25, i64 0}
!25 = !{!"_ZTSNSt6thread2idE", !18, i64 0}
!26 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEE", !27, i64 0, !20, i64 24}
!27 = !{!"_ZTSSt6vectorIPN7DynexCN13INodeObserverESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEE", !32, i64 0, !20, i64 24}
!32 = !{!"_ZTSSt6vectorIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"int", !7, i64 0}
!37 = !{!"bool", !7, i64 0}
!38 = !{!"_ZTSSt6atomicImE", !39, i64 0}
!39 = !{!"_ZTSSt13__atomic_baseImE", !18, i64 0}
!40 = !{!"_ZTSSt6atomicIjE", !41, i64 0}
!41 = !{!"_ZTSSt13__atomic_baseIjE", !36, i64 0}
!42 = !{!"_ZTSN7DynexCN15BlockHeaderInfoE", !36, i64 0, !7, i64 4, !7, i64 5, !18, i64 8, !43, i64 16, !43, i64 48, !36, i64 80, !37, i64 84, !36, i64 88, !18, i64 96, !18, i64 104}
!43 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!44 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt10_HashtableIN6Crypto4HashES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !18, i64 8, !46, i64 16, !18, 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, !18, i64 8}
!48 = !{!"float", !7, i64 0}
!49 = !{!14, !19, i64 44}
!50 = !{!14, !6, i64 144}
!51 = !{!14, !6, i64 152}
!52 = !{!14, !36, i64 288}
!53 = !{!14, !6, i64 296}
!54 = !{!14, !6, i64 304}
!55 = !{!14, !18, i64 312}
!56 = !{!14, !37, i64 320}
!57 = !{!14, !37, i64 520}


; 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"

@_ZTVN7DynexCN12NodeRpcProxyE = external dso_local unnamed_addr constant { [36 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN12NodeRpcProxyC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN7DynexCN5INodeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  store ptr getelementptr inbounds inrange(-16, 272) (i8, ptr @_ZTVN7DynexCN12NodeRpcProxyE, i64 16), ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %5 unwind label %25

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  store i16 %2, ptr %6, align 8, !tbaa !8
  %7 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 0, ptr %7, align 4, !tbaa !47
  %8 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt5mutexC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #5
  %9 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt18condition_variableC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6threadC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 144
  %12 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  tail call void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #5
  %13 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #5
  %14 = getelementptr inbounds i8, ptr %0, i64 288
  store i32 10000, ptr %14, align 8, !tbaa !48
  %15 = getelementptr inbounds i8, ptr %0, i64 296
  %16 = getelementptr inbounds i8, ptr %0, i64 312
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
  store i64 5000, ptr %16, align 8, !tbaa !49
  %17 = getelementptr inbounds i8, ptr %0, i64 320
  store i8 0, ptr %17, align 8, !tbaa !50
  %18 = getelementptr inbounds i8, ptr %0, i64 328
  tail call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %18, i64 noundef 0) #5
  %19 = getelementptr inbounds i8, ptr %0, i64 336
  tail call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef 0) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 340
  tail call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 0) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 344
  tail call void @_ZNSt6atomicImEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef 1000000) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 464
  tail call void @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #5
  %23 = getelementptr inbounds i8, ptr %0, i64 520
  store i8 1, ptr %23, align 8, !tbaa !51
  %24 = getelementptr inbounds i8, ptr %0, i64 528
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  tail call void @_ZN7DynexCN12NodeRpcProxy18resetInternalStateEv(ptr noundef nonnull align 8 dereferenceable(560) %0)
  ret void

25:                                               ; preds = %3
  %26 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN7DynexCN5INodeD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  resume { ptr, i32 } %26
}

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

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

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

; Function Attrs: nounwind
declare void @_ZNSt18condition_variableC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !16, i64 40}
!9 = !{!"_ZTSN7DynexCN12NodeRpcProxyE", !10, i64 0, !11, i64 8, !16, i64 40, !17, i64 44, !18, i64 48, !20, i64 88, !22, i64 136, !13, i64 144, !13, i64 152, !24, i64 160, !29, i64 224, !34, i64 288, !13, i64 296, !13, i64 304, !15, i64 312, !35, i64 320, !36, i64 328, !38, i64 336, !38, i64 340, !36, i64 344, !40, i64 352, !42, i64 464, !35, i64 520, !11, i64 528}
!10 = !{!"_ZTSN7DynexCN5INodeE"}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !15, i64 8, !14, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"long", !14, i64 0}
!16 = !{!"short", !14, i64 0}
!17 = !{!"_ZTSN7DynexCN12NodeRpcProxy5StateE", !14, i64 0}
!18 = !{!"_ZTSSt5mutex", !19, i64 0}
!19 = !{!"_ZTSSt12__mutex_base", !14, i64 0}
!20 = !{!"_ZTSSt18condition_variable", !21, i64 0}
!21 = !{!"_ZTSSt9__condvar", !14, i64 0}
!22 = !{!"_ZTSSt6thread", !23, i64 0}
!23 = !{!"_ZTSNSt6thread2idE", !15, i64 0}
!24 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEE", !25, i64 0, !18, i64 24}
!25 = !{!"_ZTSSt6vectorIPN7DynexCN13INodeObserverESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!29 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEE", !30, i64 0, !18, i64 24}
!30 = !{!"_ZTSSt6vectorIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!34 = !{!"int", !14, i64 0}
!35 = !{!"bool", !14, i64 0}
!36 = !{!"_ZTSSt6atomicImE", !37, i64 0}
!37 = !{!"_ZTSSt13__atomic_baseImE", !15, i64 0}
!38 = !{!"_ZTSSt6atomicIjE", !39, i64 0}
!39 = !{!"_ZTSSt13__atomic_baseIjE", !34, i64 0}
!40 = !{!"_ZTSN7DynexCN15BlockHeaderInfoE", !34, i64 0, !14, i64 4, !14, i64 5, !15, i64 8, !41, i64 16, !41, i64 48, !34, i64 80, !35, i64 84, !34, i64 88, !15, i64 96, !15, i64 104}
!41 = !{!"_ZTSN6Crypto4HashE", !14, i64 0}
!42 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIN6Crypto4HashES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !13, i64 0, !15, i64 8, !44, i64 16, !15, i64 24, !45, i64 32, !13, i64 48}
!44 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !13, i64 0}
!45 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !46, i64 0, !15, i64 8}
!46 = !{!"float", !14, i64 0}
!47 = !{!9, !17, i64 44}
!48 = !{!9, !34, i64 288}
!49 = !{!9, !15, i64 312}
!50 = !{!9, !35, i64 320}
!51 = !{!9, !35, i64 520}


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