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

; 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.DynexCN::EMPTY_STRUCT" = type { i8 }
%"class.boost::value_initialized.49" = type { i8 }
%"struct.DynexCN::BLOCK_HEADER_RESPONSE" = type { %"class.std::__cxx11::basic_string", %"struct.DynexCN::block_header_response" }
%"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] }
%"struct.DynexCN::block_header_response" = type { i8, i8, i64, %"class.std::__cxx11::basic_string", i32, i8, i32, i32, %"class.std::__cxx11::basic_string", i64, i64 }
%"class.boost::value_initialized.50" = type { %"class.boost::initialized.51" }
%"class.boost::initialized.51" = type { %"struct.DynexCN::BLOCK_HEADER_RESPONSE" }
%"class.std::error_code" = type { i32, ptr }
%"class.std::allocator" = type { i8 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"struct.DynexCN::COMMAND_RPC_GET_INFO::response" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", i64, i64, i64, i64, %"class.std::__cxx11::basic_string", i64, i64, i64, i64, i64, i64, i64, i64, i32, i64, %"class.std::__cxx11::basic_string", i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.boost::value_initialized.52" = type { %"class.boost::initialized.53" }
%"class.boost::initialized.53" = type { %"struct.DynexCN::COMMAND_RPC_GET_INFO::response" }
%"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 }
%"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 }

@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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 #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN12NodeRpcProxy22updateBlockchainStatusEv(ptr noundef nonnull align 8 dereferenceable(560) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.DynexCN::EMPTY_STRUCT", align 1
  %4 = alloca %"class.boost::value_initialized.49", align 1
  %5 = alloca %"struct.DynexCN::BLOCK_HEADER_RESPONSE", align 8
  %6 = alloca %"class.boost::value_initialized.50", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::error_code", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"struct.Crypto::Hash", align 1
  %13 = alloca %"struct.Crypto::Hash", align 1
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::unique_lock", align 8
  %16 = alloca i32, align 4
  %17 = alloca { i64, i64 }, align 8
  %18 = alloca %"struct.DynexCN::EMPTY_STRUCT", align 1
  %19 = alloca %"class.boost::value_initialized.49", align 1
  %20 = alloca %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", align 8
  %21 = alloca %"class.boost::value_initialized.52", align 8
  %22 = alloca %"class.std::error_code", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::unique_lock", align 8
  %26 = alloca i32, align 4
  %27 = alloca { i64, i64 }, align 8
  %28 = alloca { i64, i64 }, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %29 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #8
  call void @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4)
  %30 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %6) #8
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6)
  %31 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(144) %6)
          to label %32 unwind label %53

32:                                               ; preds = %1
  invoke void @_ZN7DynexCN21BLOCK_HEADER_RESPONSEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull align 8 dereferenceable(144) %31)
          to label %33 unwind label %53

33:                                               ; preds = %32
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %34 unwind label %57

34:                                               ; preds = %33
  %35 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy14jsonRpcCommandINS_12EMPTY_STRUCTENS_21BLOCK_HEADER_RESPONSEEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %29, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(144) %5)
          to label %36 unwind label %61

36:                                               ; preds = %34
  %37 = getelementptr inbounds { i32, ptr }, ptr %9, i32 0, i32 0
  %38 = extractvalue { i32, ptr } %35, 0
  store i32 %38, ptr %37, align 8
  %39 = getelementptr inbounds { i32, ptr }, ptr %9, i32 0, i32 1
  %40 = extractvalue { i32, ptr } %35, 1
  store ptr %40, ptr %39, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  %41 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br i1 %41, label %152, label %42

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #8
  %43 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %44 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %43, i32 0, i32 8
  %45 = invoke noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 1 dereferenceable(32) %12)
          to label %46 unwind label %66

46:                                               ; preds = %42
  br i1 %45, label %47, label %52

47:                                               ; preds = %46
  %48 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %49 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %48, i32 0, i32 3
  %50 = invoke noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 1 dereferenceable(32) %13)
          to label %51 unwind label %66

51:                                               ; preds = %47
  br i1 %50, label %70, label %52

52:                                               ; preds = %51, %46
  store i32 1, ptr %14, align 4
  br label %147

53:                                               ; preds = %32, %1
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %7, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %8, align 4
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %6) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %6) #8
  br label %276

57:                                               ; preds = %33
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  br label %65

61:                                               ; preds = %34
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %65

65:                                               ; preds = %61, %57
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  br label %275

66:                                               ; preds = %47, %42
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  br label %151

70:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %71 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 4
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %15, ptr noundef nonnull align 8 dereferenceable(40) %71)
          to label %72 unwind label %138

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %73 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %74 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %73, i32 0, i32 6
  %75 = load i32, ptr %74, align 8, !tbaa !9
  store i32 %75, ptr %16, align 4, !tbaa !17
  %76 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %77 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %76, i32 0, i32 4
  %78 = invoke noundef zeroext i1 @_ZN6CryptoneERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %12, ptr noundef nonnull align 1 dereferenceable(32) %77)
          to label %79 unwind label %142

79:                                               ; preds = %72
  br i1 %78, label %80, label %146

80:                                               ; preds = %79
  %81 = load i32, ptr %16, align 4, !tbaa !17
  %82 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %83 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %82, i32 0, i32 0
  store i32 %81, ptr %83, align 8, !tbaa !18
  %84 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %85 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %84, i32 0, i32 0
  %86 = load i8, ptr %85, align 8, !tbaa !50
  %87 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %88 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %87, i32 0, i32 1
  store i8 %86, ptr %88, align 4, !tbaa !51
  %89 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %90 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %89, i32 0, i32 1
  %91 = load i8, ptr %90, align 1, !tbaa !52
  %92 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %93 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %92, i32 0, i32 2
  store i8 %91, ptr %93, align 1, !tbaa !53
  %94 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %95 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %94, i32 0, i32 2
  %96 = load i64, ptr %95, align 8, !tbaa !54
  %97 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %98 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %97, i32 0, i32 3
  store i64 %96, ptr %98, align 8, !tbaa !55
  %99 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %100 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %99, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %100, ptr align 1 %12, i64 32, i1 false), !tbaa.struct !56
  %101 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %102 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %101, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %102, ptr align 1 %13, i64 32, i1 false), !tbaa.struct !56
  %103 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %104 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %103, i32 0, i32 4
  %105 = load i32, ptr %104, align 8, !tbaa !58
  %106 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %107 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %106, i32 0, i32 6
  store i32 %105, ptr %107, align 8, !tbaa !59
  %108 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %109 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %108, i32 0, i32 5
  %110 = load i8, ptr %109, align 4, !tbaa !60, !range !61, !noundef !62
  %111 = trunc i8 %110 to i1
  %112 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %113 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %112, i32 0, i32 7
  %114 = zext i1 %111 to i8
  store i8 %114, ptr %113, align 4, !tbaa !63
  %115 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %116 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %115, i32 0, i32 7
  %117 = load i32, ptr %116, align 4, !tbaa !64
  %118 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %119 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %118, i32 0, i32 8
  store i32 %117, ptr %119, align 8, !tbaa !65
  %120 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %121 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %120, i32 0, i32 9
  %122 = load i64, ptr %121, align 8, !tbaa !66
  %123 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %124 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %123, i32 0, i32 9
  store i64 %122, ptr %124, align 8, !tbaa !67
  %125 = getelementptr inbounds %"struct.DynexCN::BLOCK_HEADER_RESPONSE", ptr %5, i32 0, i32 1
  %126 = getelementptr inbounds %"struct.DynexCN::block_header_response", ptr %125, i32 0, i32 10
  %127 = load i64, ptr %126, align 8, !tbaa !68
  %128 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %129 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %128, i32 0, i32 10
  store i64 %127, ptr %129, align 8, !tbaa !69
  invoke void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9) %15)
          to label %130 unwind label %142

130:                                              ; preds = %80
  %131 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 9
  %132 = load i32, ptr %16, align 4, !tbaa !17
  store { i64, i64 } { i64 25, i64 0 }, ptr %17, align 8, !tbaa !57
  %133 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %134 = load i64, ptr %133, align 8
  %135 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %136 = load i64, ptr %135, align 8
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEE6notifyIMS2_FvjEJjEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %131, i64 %134, i64 %136, i32 noundef %132)
          to label %137 unwind label %142

137:                                              ; preds = %130
  br label %146

138:                                              ; preds = %70
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %7, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %8, align 4
  br label %150

142:                                              ; preds = %130, %80, %72
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %15) #8
  br label %150

146:                                              ; preds = %137, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  store i32 0, ptr %14, align 4
  br label %147

147:                                              ; preds = %146, %52
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #8
  %148 = load i32, ptr %14, align 4
  switch i32 %148, label %269 [
    i32 0, label %149
  ]

149:                                              ; preds = %147
  br label %152

150:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %151

151:                                              ; preds = %150, %66
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #8
  br label %275

152:                                              ; preds = %149, %36
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %153 unwind label %193

153:                                              ; preds = %152
  %154 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %155 unwind label %193

155:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 448, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 448, ptr %21) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(448) %21)
          to label %156 unwind label %197

156:                                              ; preds = %155
  %157 = invoke noundef nonnull align 8 dereferenceable(448) ptr @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(448) %21)
          to label %158 unwind label %201

158:                                              ; preds = %156
  invoke void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(448) %20, ptr noundef nonnull align 8 dereferenceable(448) %157)
          to label %159 unwind label %201

159:                                              ; preds = %158
  call void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %21) #8
  call void @llvm.lifetime.end.p0(i64 448, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %160 unwind label %206

160:                                              ; preds = %159
  %161 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_12EMPTY_STRUCTENS_20COMMAND_RPC_GET_INFO8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %29, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 8 dereferenceable(448) %20)
          to label %162 unwind label %210

162:                                              ; preds = %160
  %163 = getelementptr inbounds { i32, ptr }, ptr %22, i32 0, i32 0
  %164 = extractvalue { i32, ptr } %161, 0
  store i32 %164, ptr %163, align 8
  %165 = getelementptr inbounds { i32, ptr }, ptr %22, i32 0, i32 1
  %166 = extractvalue { i32, ptr } %161, 1
  store ptr %166, ptr %165, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %22, i64 16, i1 false), !tbaa.struct !70
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  %167 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br i1 %167, label %237, label %168

168:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %169 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 4
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %25, ptr noundef nonnull align 8 dereferenceable(40) %169)
          to label %170 unwind label %215

170:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %171 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", ptr %20, i32 0, i32 20
  %172 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 20
  %173 = getelementptr inbounds %"struct.DynexCN::BlockHeaderInfo", ptr %172, i32 0, i32 0
  %174 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %171, ptr noundef nonnull align 4 dereferenceable(4) %173)
          to label %175 unwind label %219

175:                                              ; preds = %170
  %176 = load i32, ptr %174, align 4, !tbaa !17
  store i32 %176, ptr %26, align 4, !tbaa !17
  invoke void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9) %25)
          to label %177 unwind label %219

177:                                              ; preds = %175
  %178 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 17
  %179 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %178, i32 noundef 0) #8
  %180 = load i32, ptr %26, align 4, !tbaa !17
  %181 = icmp ne i32 %179, %180
  br i1 %181, label %182, label %223

182:                                              ; preds = %177
  %183 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 17
  %184 = load i32, ptr %26, align 4, !tbaa !17
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %183, i32 noundef %184, i32 noundef 0) #8
  %185 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 9
  %186 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 17
  %187 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %186, i32 noundef 0) #8
  store { i64, i64 } { i64 33, i64 0 }, ptr %27, align 8, !tbaa !57
  %188 = getelementptr inbounds { i64, i64 }, ptr %27, i32 0, i32 0
  %189 = load i64, ptr %188, align 8
  %190 = getelementptr inbounds { i64, i64 }, ptr %27, i32 0, i32 1
  %191 = load i64, ptr %190, align 8
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEE6notifyIMS2_FvjEJjEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %185, i64 %189, i64 %191, i32 noundef %187)
          to label %192 unwind label %219

192:                                              ; preds = %182
  br label %223

193:                                              ; preds = %153, %152
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %7, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %274

197:                                              ; preds = %155
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  br label %205

201:                                              ; preds = %158, %156
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %7, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %8, align 4
  call void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %21) #8
  br label %205

205:                                              ; preds = %201, %197
  call void @llvm.lifetime.end.p0(i64 448, ptr %21) #8
  br label %273

206:                                              ; preds = %159
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %7, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %8, align 4
  br label %214

210:                                              ; preds = %160
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %7, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %214

214:                                              ; preds = %210, %206
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %272

215:                                              ; preds = %168
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %7, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %8, align 4
  br label %236

219:                                              ; preds = %223, %182, %175, %170
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %7, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %25) #8
  br label %236

223:                                              ; preds = %192, %177
  %224 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", ptr %20, i32 0, i32 16
  %225 = load i64, ptr %224, align 8, !tbaa !71
  %226 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", ptr %20, i32 0, i32 15
  %227 = load i64, ptr %226, align 8, !tbaa !73
  %228 = add i64 %225, %227
  invoke void @_ZN7DynexCN12NodeRpcProxy15updatePeerCountEm(ptr noundef nonnull align 8 dereferenceable(560) %29, i64 noundef %228)
          to label %229 unwind label %219

229:                                              ; preds = %223
  %230 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 19
  %231 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", ptr %20, i32 0, i32 10
  %232 = load i64, ptr %231, align 8, !tbaa !74
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %230, i64 noundef %232, i32 noundef 0) #8
  %233 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 18
  %234 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", ptr %20, i32 0, i32 5
  %235 = load i32, ptr %234, align 8, !tbaa !75
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %233, i32 noundef %235, i32 noundef 0) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %237

236:                                              ; preds = %219, %215
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %272

237:                                              ; preds = %229, %162
  %238 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 22
  %239 = load i8, ptr %238, align 8, !tbaa !76, !range !61, !noundef !62
  %240 = trunc i8 %239 to i1
  %241 = zext i1 %240 to i32
  %242 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 12
  %243 = load ptr, ptr %242, align 8, !tbaa !77
  %244 = invoke noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88) %243)
          to label %245 unwind label %264

245:                                              ; preds = %237
  %246 = zext i1 %244 to i32
  %247 = icmp ne i32 %241, %246
  br i1 %247, label %248, label %268

248:                                              ; preds = %245
  %249 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 12
  %250 = load ptr, ptr %249, align 8, !tbaa !77
  %251 = invoke noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88) %250)
          to label %252 unwind label %264

252:                                              ; preds = %248
  %253 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 22
  %254 = zext i1 %251 to i8
  store i8 %254, ptr %253, align 8, !tbaa !76
  %255 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 10
  %256 = getelementptr inbounds %"class.DynexCN::NodeRpcProxy", ptr %29, i32 0, i32 22
  %257 = load i8, ptr %256, align 8, !tbaa !76, !range !61, !noundef !62
  %258 = trunc i8 %257 to i1
  store { i64, i64 } { i64 17, i64 0 }, ptr %28, align 8, !tbaa !57
  %259 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 0
  %260 = load i64, ptr %259, align 8
  %261 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 1
  %262 = load i64, ptr %261, align 8
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEE6notifyIMS2_FvbEJbEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %255, i64 %260, i64 %262, i1 noundef zeroext %258)
          to label %263 unwind label %264

263:                                              ; preds = %252
  br label %268

264:                                              ; preds = %252, %248, %237
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  br label %272

268:                                              ; preds = %263, %245
  call void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(448) %20) #8
  call void @llvm.lifetime.end.p0(i64 448, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  store i32 0, ptr %14, align 4
  br label %269

269:                                              ; preds = %268, %147
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @_ZN7DynexCN21BLOCK_HEADER_RESPONSED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #8
  %270 = load i32, ptr %14, align 4
  switch i32 %270, label %282 [
    i32 0, label %271
    i32 1, label %271
  ]

271:                                              ; preds = %269, %269
  ret void

272:                                              ; preds = %264, %236, %214
  call void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(448) %20) #8
  br label %273

273:                                              ; preds = %272, %205
  call void @llvm.lifetime.end.p0(i64 448, ptr %20) #8
  br label %274

274:                                              ; preds = %273, %193
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  br label %275

275:                                              ; preds = %274, %151, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @_ZN7DynexCN21BLOCK_HEADER_RESPONSED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  br label %276

276:                                              ; preds = %275, %53
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #8
  br label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr %7, align 8
  %279 = load i32, ptr %8, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281

282:                                              ; preds = %269
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(144)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7DynexCN21BLOCK_HEADER_RESPONSEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy14jsonRpcCommandINS_12EMPTY_STRUCTENS_21BLOCK_HEADER_RESPONSEEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(144)) #4 align 2

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

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

declare noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6CryptoneERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(448) ptr @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(448)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(448), ptr noundef nonnull align 8 dereferenceable(448)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_12EMPTY_STRUCTENS_20COMMAND_RPC_GET_INFO8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(448)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN12NodeRpcProxy15updatePeerCountEm(ptr noundef nonnull align 8 dereferenceable(560), i64 noundef) #4 align 2

declare noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88)) #7

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 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 = { 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 #7 = { "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 #8 = { 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, !15, i64 88}
!10 = !{!"_ZTSN7DynexCN21BLOCK_HEADER_RESPONSEE", !11, i64 0, !14, i64 32}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN7DynexCN21block_header_responseE", !7, i64 0, !7, i64 1, !13, i64 8, !11, i64 16, !15, i64 48, !16, i64 52, !15, i64 56, !15, i64 60, !11, i64 64, !13, i64 96, !13, i64 104}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!19, !15, i64 352}
!19 = !{!"_ZTSN7DynexCN12NodeRpcProxyE", !20, i64 0, !11, i64 8, !21, i64 40, !22, i64 44, !23, i64 48, !25, i64 88, !27, i64 136, !6, i64 144, !6, i64 152, !29, i64 160, !34, i64 224, !15, i64 288, !6, i64 296, !6, i64 304, !13, i64 312, !16, i64 320, !39, i64 328, !41, i64 336, !41, i64 340, !39, i64 344, !43, i64 352, !45, i64 464, !16, i64 520, !11, i64 528}
!20 = !{!"_ZTSN7DynexCN5INodeE"}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTSN7DynexCN12NodeRpcProxy5StateE", !7, i64 0}
!23 = !{!"_ZTSSt5mutex", !24, i64 0}
!24 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!25 = !{!"_ZTSSt18condition_variable", !26, i64 0}
!26 = !{!"_ZTSSt9__condvar", !7, i64 0}
!27 = !{!"_ZTSSt6thread", !28, i64 0}
!28 = !{!"_ZTSNSt6thread2idE", !13, i64 0}
!29 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEE", !30, i64 0, !23, i64 24}
!30 = !{!"_ZTSSt6vectorIPN7DynexCN13INodeObserverESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEE", !35, i64 0, !23, i64 24}
!35 = !{!"_ZTSSt6vectorIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSSt6atomicImE", !40, i64 0}
!40 = !{!"_ZTSSt13__atomic_baseImE", !13, i64 0}
!41 = !{!"_ZTSSt6atomicIjE", !42, i64 0}
!42 = !{!"_ZTSSt13__atomic_baseIjE", !15, i64 0}
!43 = !{!"_ZTSN7DynexCN15BlockHeaderInfoE", !15, i64 0, !7, i64 4, !7, i64 5, !13, i64 8, !44, i64 16, !44, i64 48, !15, i64 80, !16, i64 84, !15, i64 88, !13, i64 96, !13, i64 104}
!44 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!45 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !46, i64 0}
!46 = !{!"_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, !13, i64 8, !47, i64 16, !13, i64 24, !48, i64 32, !6, i64 48}
!47 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!48 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !49, i64 0, !13, i64 8}
!49 = !{!"float", !7, i64 0}
!50 = !{!10, !7, i64 32}
!51 = !{!19, !7, i64 356}
!52 = !{!10, !7, i64 33}
!53 = !{!19, !7, i64 357}
!54 = !{!10, !13, i64 40}
!55 = !{!19, !13, i64 360}
!56 = !{i64 0, i64 32, !57}
!57 = !{!7, !7, i64 0}
!58 = !{!10, !15, i64 80}
!59 = !{!19, !15, i64 432}
!60 = !{!10, !16, i64 84}
!61 = !{i8 0, i8 2}
!62 = !{}
!63 = !{!19, !16, i64 436}
!64 = !{!10, !15, i64 92}
!65 = !{!19, !15, i64 440}
!66 = !{!10, !13, i64 128}
!67 = !{!19, !13, i64 448}
!68 = !{!10, !13, i64 136}
!69 = !{!19, !13, i64 456}
!70 = !{i64 0, i64 4, !17, i64 8, i64 8, !5}
!71 = !{!72, !13, i64 296}
!72 = !{!"_ZTSN7DynexCN20COMMAND_RPC_GET_INFO8responseE", !11, i64 0, !11, i64 32, !11, i64 64, !11, i64 96, !11, i64 128, !15, i64 160, !11, i64 168, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !11, i64 232, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !15, i64 328, !13, i64 336, !11, i64 344, !7, i64 376, !11, i64 384, !11, i64 416}
!73 = !{!72, !13, i64 288}
!74 = !{!72, !13, i64 224}
!75 = !{!72, !15, i64 160}
!76 = !{!19, !16, i64 520}
!77 = !{!19, !6, i64 296}


; 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.DynexCN::EMPTY_STRUCT" = type { i8 }
%"class.boost::value_initialized.49" = type { i8 }
%"struct.DynexCN::BLOCK_HEADER_RESPONSE" = type { %"class.std::__cxx11::basic_string", %"struct.DynexCN::block_header_response" }
%"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] }
%"struct.DynexCN::block_header_response" = type { i8, i8, i64, %"class.std::__cxx11::basic_string", i32, i8, i32, i32, %"class.std::__cxx11::basic_string", i64, i64 }
%"class.boost::value_initialized.50" = type { %"class.boost::initialized.51" }
%"class.boost::initialized.51" = type { %"struct.DynexCN::BLOCK_HEADER_RESPONSE" }
%"class.std::error_code" = type { i32, ptr }
%"class.std::allocator" = type { i8 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::unique_lock" = type <{ ptr, i8, [7 x i8] }>
%"struct.DynexCN::COMMAND_RPC_GET_INFO::response" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", i64, i64, i64, i64, %"class.std::__cxx11::basic_string", i64, i64, i64, i64, i64, i64, i64, i64, i32, i64, %"class.std::__cxx11::basic_string", i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.boost::value_initialized.52" = type { %"class.boost::initialized.53" }
%"class.boost::initialized.53" = type { %"struct.DynexCN::COMMAND_RPC_GET_INFO::response" }

@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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 #2 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN12NodeRpcProxy22updateBlockchainStatusEv(ptr noundef nonnull align 8 dereferenceable(560) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.DynexCN::EMPTY_STRUCT", align 1
  %3 = alloca %"class.boost::value_initialized.49", align 1
  %4 = alloca %"struct.DynexCN::BLOCK_HEADER_RESPONSE", align 8
  %5 = alloca %"class.boost::value_initialized.50", align 8
  %6 = alloca %"class.std::error_code", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"struct.Crypto::Hash", align 1
  %10 = alloca %"struct.Crypto::Hash", align 1
  %11 = alloca %"class.std::unique_lock", align 8
  %12 = alloca %"struct.DynexCN::EMPTY_STRUCT", align 1
  %13 = alloca %"class.boost::value_initialized.49", align 1
  %14 = alloca %"struct.DynexCN::COMMAND_RPC_GET_INFO::response", align 8
  %15 = alloca %"class.boost::value_initialized.52", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::unique_lock", align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3)
  %19 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #8
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5)
  %20 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(144) %5)
          to label %21 unwind label %39

21:                                               ; preds = %1
  invoke void @_ZN7DynexCN21BLOCK_HEADER_RESPONSEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %4, ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %22 unwind label %39

22:                                               ; preds = %21
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %23 unwind label %41

23:                                               ; preds = %22
  %24 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy14jsonRpcCommandINS_12EMPTY_STRUCTENS_21BLOCK_HEADER_RESPONSEEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(144) %4)
          to label %25 unwind label %43

25:                                               ; preds = %23
  %26 = extractvalue { i32, ptr } %24, 0
  store i32 %26, ptr %6, align 8
  %27 = getelementptr inbounds i8, ptr %6, i64 8
  %28 = extractvalue { i32, ptr } %24, 1
  store ptr %28, ptr %27, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  %29 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br i1 %29, label %87, label %30

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  %31 = getelementptr inbounds i8, ptr %4, i64 32
  %32 = getelementptr inbounds i8, ptr %4, i64 96
  %33 = invoke noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 1 dereferenceable(32) %9)
          to label %34 unwind label %46

34:                                               ; preds = %30
  br i1 %33, label %35, label %84

35:                                               ; preds = %34
  %36 = getelementptr inbounds i8, ptr %4, i64 48
  %37 = invoke noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %38 unwind label %46

38:                                               ; preds = %35
  br i1 %37, label %48, label %84

39:                                               ; preds = %21, %1
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  br label %166

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

43:                                               ; preds = %23
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  br label %165

46:                                               ; preds = %35, %30
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %86

48:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %49 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %11, ptr noundef nonnull align 8 dereferenceable(40) %49)
          to label %50 unwind label %80

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %4, i64 88
  %52 = load i32, ptr %51, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %0, i64 368
  %54 = call noundef zeroext i1 @_ZN6CryptoneERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(32) %53)
  br i1 %54, label %55, label %.critedge

55:                                               ; preds = %50
  %56 = getelementptr inbounds i8, ptr %0, i64 352
  store i32 %52, ptr %56, align 8, !tbaa !16
  %57 = load i8, ptr %31, align 8, !tbaa !48
  %58 = getelementptr inbounds i8, ptr %0, i64 356
  store i8 %57, ptr %58, align 4, !tbaa !49
  %59 = getelementptr inbounds i8, ptr %4, i64 33
  %60 = load i8, ptr %59, align 1, !tbaa !50
  %61 = getelementptr inbounds i8, ptr %0, i64 357
  store i8 %60, ptr %61, align 1, !tbaa !51
  %62 = getelementptr inbounds i8, ptr %4, i64 40
  %63 = load i64, ptr %62, align 8, !tbaa !52
  %64 = getelementptr inbounds i8, ptr %0, i64 360
  store i64 %63, ptr %64, align 8, !tbaa !53
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !54
  %65 = getelementptr inbounds i8, ptr %0, i64 400
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 1 dereferenceable(32) %10, i64 32, i1 false), !tbaa.struct !54
  %66 = getelementptr inbounds i8, ptr %4, i64 80
  %67 = load i32, ptr %66, align 8, !tbaa !56
  %68 = getelementptr inbounds i8, ptr %0, i64 432
  store i32 %67, ptr %68, align 8, !tbaa !57
  %69 = getelementptr inbounds i8, ptr %4, i64 84
  %70 = load i8, ptr %69, align 4, !tbaa !58, !range !59, !noundef !60
  %71 = getelementptr inbounds i8, ptr %0, i64 436
  store i8 %70, ptr %71, align 4, !tbaa !61
  %72 = getelementptr inbounds i8, ptr %4, i64 92
  %73 = load i32, ptr %72, align 4, !tbaa !62
  %74 = getelementptr inbounds i8, ptr %0, i64 440
  store i32 %73, ptr %74, align 8, !tbaa !63
  %75 = getelementptr inbounds i8, ptr %4, i64 128
  %76 = getelementptr inbounds i8, ptr %0, i64 448
  %77 = load <2 x i64>, ptr %75, align 8, !tbaa !64
  store <2 x i64> %77, ptr %76, align 8, !tbaa !64
  invoke void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9) %11)
          to label %78 unwind label %82

78:                                               ; preds = %55
  %79 = getelementptr inbounds i8, ptr %0, i64 160
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEE6notifyIMS2_FvjEJjEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %79, i64 25, i64 0, i32 noundef %52)
          to label %.critedge unwind label %82

80:                                               ; preds = %48
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %85

82:                                               ; preds = %78, %55
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %11) #8
  br label %85

.critedge:                                        ; preds = %78, %50
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %87

84:                                               ; preds = %34, %38
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %161

85:                                               ; preds = %82, %80
  %.pn27 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %86

86:                                               ; preds = %85, %46
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %85 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %165

87:                                               ; preds = %.critedge, %25
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %88 unwind label %114

88:                                               ; preds = %87
  %89 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %90 unwind label %114

90:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 448, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 448, ptr nonnull %15) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(448) %15)
          to label %91 unwind label %116

91:                                               ; preds = %90
  %92 = invoke noundef nonnull align 8 dereferenceable(448) ptr @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(448) %15)
          to label %93 unwind label %118

93:                                               ; preds = %91
  invoke void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(448) %14, ptr noundef nonnull align 8 dereferenceable(448) %92)
          to label %94 unwind label %118

94:                                               ; preds = %93
  call void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %15) #8
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %95 unwind label %121

95:                                               ; preds = %94
  %96 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_12EMPTY_STRUCTENS_20COMMAND_RPC_GET_INFO8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 8 dereferenceable(448) %14)
          to label %97 unwind label %123

97:                                               ; preds = %95
  %98 = extractvalue { i32, ptr } %96, 0
  %99 = extractvalue { i32, ptr } %96, 1
  store i32 %98, ptr %6, align 8, !tbaa !65
  store ptr %99, ptr %27, align 8, !tbaa !66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  %100 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br i1 %100, label %144, label %101

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  %102 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZNSt11unique_lockISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %18, ptr noundef nonnull align 8 dereferenceable(40) %102)
          to label %103 unwind label %126

103:                                              ; preds = %101
  %104 = getelementptr inbounds i8, ptr %14, i64 328
  %105 = getelementptr inbounds i8, ptr %0, i64 352
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %104, ptr noundef nonnull align 4 dereferenceable(4) %105)
  %107 = load i32, ptr %106, align 4, !tbaa !65
  invoke void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9) %18)
          to label %108 unwind label %128

108:                                              ; preds = %103
  %109 = getelementptr inbounds i8, ptr %0, i64 336
  %110 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %109, i32 noundef 0) #8
  %.not = icmp eq i32 %110, %107
  br i1 %.not, label %130, label %111

111:                                              ; preds = %108
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %109, i32 noundef %107, i32 noundef 0) #8
  %112 = getelementptr inbounds i8, ptr %0, i64 160
  %113 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %109, i32 noundef 0) #8
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN13INodeObserverEE6notifyIMS2_FvjEJjEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %112, i64 33, i64 0, i32 noundef %113)
          to label %130 unwind label %128

114:                                              ; preds = %88, %87
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  br label %164

116:                                              ; preds = %90
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

118:                                              ; preds = %93, %91
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(448) %15) #8
  br label %120

120:                                              ; preds = %118, %116
  %.pn30 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %15) #8
  br label %163

121:                                              ; preds = %94
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %95
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %125

125:                                              ; preds = %123, %121
  %.pn32 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  br label %162

126:                                              ; preds = %101
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %143

128:                                              ; preds = %130, %111, %103
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %18) #8
  br label %143

130:                                              ; preds = %111, %108
  %131 = getelementptr inbounds i8, ptr %14, i64 296
  %132 = load i64, ptr %131, align 8, !tbaa !67
  %133 = getelementptr inbounds i8, ptr %14, i64 288
  %134 = load i64, ptr %133, align 8, !tbaa !69
  %135 = add i64 %134, %132
  invoke void @_ZN7DynexCN12NodeRpcProxy15updatePeerCountEm(ptr noundef nonnull align 8 dereferenceable(560) %0, i64 noundef %135)
          to label %136 unwind label %128

136:                                              ; preds = %130
  %137 = getelementptr inbounds i8, ptr %0, i64 344
  %138 = getelementptr inbounds i8, ptr %14, i64 224
  %139 = load i64, ptr %138, align 8, !tbaa !70
  call void @_ZNSt13__atomic_baseImE5storeEmSt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %137, i64 noundef %139, i32 noundef 0) #8
  %140 = getelementptr inbounds i8, ptr %0, i64 340
  %141 = getelementptr inbounds i8, ptr %14, i64 160
  %142 = load i32, ptr %141, align 8, !tbaa !71
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %140, i32 noundef %142, i32 noundef 0) #8
  call void @_ZNSt11unique_lockISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  br label %144

143:                                              ; preds = %128, %126
  %.pn34 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  br label %162

144:                                              ; preds = %136, %97
  %145 = getelementptr inbounds i8, ptr %0, i64 520
  %146 = load i8, ptr %145, align 8, !tbaa !72, !range !59, !noundef !60
  %147 = getelementptr inbounds i8, ptr %0, i64 296
  %148 = load ptr, ptr %147, align 8, !tbaa !73
  %149 = invoke noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88) %148)
          to label %150 unwind label %158

150:                                              ; preds = %144
  %151 = zext i1 %149 to i8
  %.not36 = icmp eq i8 %146, %151
  br i1 %.not36, label %160, label %152

152:                                              ; preds = %150
  %153 = load ptr, ptr %147, align 8, !tbaa !73
  %154 = invoke noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88) %153)
          to label %155 unwind label %158

155:                                              ; preds = %152
  %156 = zext i1 %154 to i8
  store i8 %156, ptr %145, align 8, !tbaa !72
  %157 = getelementptr inbounds i8, ptr %0, i64 224
  invoke void @_ZN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEE6notifyIMS2_FvbEJbEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %157, i64 17, i64 0, i1 noundef zeroext %154)
          to label %160 unwind label %158

158:                                              ; preds = %155, %152, %144
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %162

160:                                              ; preds = %155, %150
  call void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(448) %14) #8
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  br label %161

161:                                              ; preds = %84, %160
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZN7DynexCN21BLOCK_HEADER_RESPONSED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  ret void

162:                                              ; preds = %158, %143, %125
  %.pn37 = phi { ptr, i32 } [ %159, %158 ], [ %.pn34, %143 ], [ %.pn32, %125 ]
  call void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(448) %14) #8
  br label %163

163:                                              ; preds = %162, %120
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %162 ], [ %.pn30, %120 ]
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %14) #8
  br label %164

164:                                              ; preds = %163, %114
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %163 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  br label %165

165:                                              ; preds = %164, %86, %45
  %.pn37.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn, %164 ], [ %.pn27.pn, %86 ], [ %.pn, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZN7DynexCN21BLOCK_HEADER_RESPONSED2Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  br label %166

166:                                              ; preds = %165, %39
  %.pn37.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn.pn, %165 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn37.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN5boost17value_initializedIN7DynexCN12EMPTY_STRUCTEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN5boost17value_initializedIN7DynexCN21BLOCK_HEADER_RESPONSEEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7DynexCN21BLOCK_HEADER_RESPONSEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy14jsonRpcCommandINS_12EMPTY_STRUCTENS_21BLOCK_HEADER_RESPONSEEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4 align 2

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

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

declare noundef zeroext i1 @_Z13parse_hash256RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6CryptoneERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt11unique_lockISt5mutexE6unlockEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(448) ptr @_ZN5boost17value_initializedIN7DynexCN20COMMAND_RPC_GET_INFO8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7DynexCN20COMMAND_RPC_GET_INFO8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(448), ptr noundef nonnull align 8 dereferenceable(448)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_12EMPTY_STRUCTENS_20COMMAND_RPC_GET_INFO8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN12NodeRpcProxy15updatePeerCountEm(ptr noundef nonnull align 8 dereferenceable(560), i64 noundef) local_unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZNK7DynexCN10HttpClient11isConnectedEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #7

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 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 = { 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 #7 = { "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 #8 = { 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, !14, i64 88}
!6 = !{!"_ZTSN7DynexCN21BLOCK_HEADER_RESPONSEE", !7, i64 0, !13, i64 32}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSN7DynexCN21block_header_responseE", !10, i64 0, !10, i64 1, !12, i64 8, !7, i64 16, !14, i64 48, !15, i64 52, !14, i64 56, !14, i64 60, !7, i64 64, !12, i64 96, !12, i64 104}
!14 = !{!"int", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!17, !14, i64 352}
!17 = !{!"_ZTSN7DynexCN12NodeRpcProxyE", !18, i64 0, !7, i64 8, !19, i64 40, !20, i64 44, !21, i64 48, !23, i64 88, !25, i64 136, !9, i64 144, !9, i64 152, !27, i64 160, !32, i64 224, !14, i64 288, !9, i64 296, !9, i64 304, !12, i64 312, !15, i64 320, !37, i64 328, !39, i64 336, !39, i64 340, !37, i64 344, !41, i64 352, !43, i64 464, !15, i64 520, !7, i64 528}
!18 = !{!"_ZTSN7DynexCN5INodeE"}
!19 = !{!"short", !10, i64 0}
!20 = !{!"_ZTSN7DynexCN12NodeRpcProxy5StateE", !10, i64 0}
!21 = !{!"_ZTSSt5mutex", !22, i64 0}
!22 = !{!"_ZTSSt12__mutex_base", !10, i64 0}
!23 = !{!"_ZTSSt18condition_variable", !24, i64 0}
!24 = !{!"_ZTSSt9__condvar", !10, i64 0}
!25 = !{!"_ZTSSt6thread", !26, i64 0}
!26 = !{!"_ZTSNSt6thread2idE", !12, i64 0}
!27 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN13INodeObserverEEE", !28, i64 0, !21, i64 24}
!28 = !{!"_ZTSSt6vectorIPN7DynexCN13INodeObserverESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN13INodeObserverESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!32 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21INodeRpcProxyObserverEEE", !33, i64 0, !21, i64 24}
!33 = !{!"_ZTSSt6vectorIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21INodeRpcProxyObserverESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!37 = !{!"_ZTSSt6atomicImE", !38, i64 0}
!38 = !{!"_ZTSSt13__atomic_baseImE", !12, i64 0}
!39 = !{!"_ZTSSt6atomicIjE", !40, i64 0}
!40 = !{!"_ZTSSt13__atomic_baseIjE", !14, i64 0}
!41 = !{!"_ZTSN7DynexCN15BlockHeaderInfoE", !14, i64 0, !10, i64 4, !10, i64 5, !12, i64 8, !42, i64 16, !42, i64 48, !14, i64 80, !15, i64 84, !14, i64 88, !12, i64 96, !12, i64 104}
!42 = !{!"_ZTSN6Crypto4HashE", !10, i64 0}
!43 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt10_HashtableIN6Crypto4HashES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !9, i64 0, !12, i64 8, !45, i64 16, !12, i64 24, !46, i64 32, !9, i64 48}
!45 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!46 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !47, i64 0, !12, i64 8}
!47 = !{!"float", !10, i64 0}
!48 = !{!6, !10, i64 32}
!49 = !{!17, !10, i64 356}
!50 = !{!6, !10, i64 33}
!51 = !{!17, !10, i64 357}
!52 = !{!6, !12, i64 40}
!53 = !{!17, !12, i64 360}
!54 = !{i64 0, i64 32, !55}
!55 = !{!10, !10, i64 0}
!56 = !{!6, !14, i64 80}
!57 = !{!17, !14, i64 432}
!58 = !{!6, !15, i64 84}
!59 = !{i8 0, i8 2}
!60 = !{}
!61 = !{!17, !15, i64 436}
!62 = !{!6, !14, i64 92}
!63 = !{!17, !14, i64 440}
!64 = !{!12, !12, i64 0}
!65 = !{!14, !14, i64 0}
!66 = !{!9, !9, i64 0}
!67 = !{!68, !12, i64 296}
!68 = !{!"_ZTSN7DynexCN20COMMAND_RPC_GET_INFO8responseE", !7, i64 0, !7, i64 32, !7, i64 64, !7, i64 96, !7, i64 128, !14, i64 160, !7, i64 168, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !7, i64 232, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !14, i64 328, !12, i64 336, !7, i64 344, !10, i64 376, !7, i64 384, !7, i64 416}
!69 = !{!68, !12, i64 288}
!70 = !{!68, !12, i64 224}
!71 = !{!68, !14, i64 160}
!72 = !{!17, !15, i64 520}
!73 = !{!17, !9, i64 296}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass