; LLVM IR from dynexcoin/Dynex :: src/DynexCNProtocol (DynexCNProtocolHandler)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }
%"struct.DynexCN::DynexCNConnectionContext" = type { i8, %"struct.Crypto::Uuid", i32, i32, i8, i64, i32, %"class.std::__cxx11::list", %"class.std::unordered_set", i32, i32, i32, i32 }
%"struct.Crypto::Uuid" = type { [16 x i8] }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_List_impl" }
%"struct.std::__cxx11::_List_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.DynexCN::DynexCNProtocolHandler" = type { %"struct.DynexCN::i_cn_protocol", %"class.DynexCN::IDynexCNProtocolQuery", %"class.Logging::LoggerRef", ptr, ptr, ptr, %"struct.DynexCN::p2p_endpoint_stub", ptr, %"struct.std::atomic", %"struct.std::atomic", %"class.std::recursive_mutex", %"class.std::mutex", i32, %"class.std::mutex", i32, %"struct.std::atomic.4", %"class.Tools::ObserverManager" }
%"struct.DynexCN::i_cn_protocol" = type { ptr }
%"class.DynexCN::IDynexCNProtocolQuery" = type { ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"struct.DynexCN::p2p_endpoint_stub" = type { %"struct.DynexCN::IP2pEndpoint" }
%"struct.DynexCN::IP2pEndpoint" = type { ptr }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.std::recursive_mutex" = type { %"class.std::__recursive_mutex_base" }
%"class.std::__recursive_mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%"struct.std::atomic.4" = type { %"struct.std::__atomic_base.5" }
%"struct.std::__atomic_base.5" = 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::IDynexCNProtocolObserver *, std::allocator<DynexCN::IDynexCNProtocolObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IDynexCNProtocolObserver *, std::allocator<DynexCN::IDynexCNProtocolObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IDynexCNProtocolObserver *, std::allocator<DynexCN::IDynexCNProtocolObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IDynexCNProtocolObserver *, std::allocator<DynexCN::IDynexCNProtocolObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::CORE_SYNC_DATA" = type { i32, %"struct.Crypto::Hash" }
%"struct.Crypto::Hash" = type { [32 x i8] }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZN7Logging13BRIGHT_YELLOWB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.28 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [75 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(26)) #3

declare void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: nounwind
declare void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161)) unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(144)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7DynexCN22DynexCNProtocolHandler25process_payload_sync_dataERKNS_14CORE_SYNC_DATAERNS_24DynexCNConnectionContextEb(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 4 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(144) %2, i1 noundef zeroext %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca %"class.Logging::LoggerMessage", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca i1, align 1
  %20 = alloca i1, align 1
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca i1, align 1
  %23 = alloca i1, align 1
  %24 = alloca %"class.Logging::LoggerMessage", align 8
  %25 = alloca %"class.Logging::LoggerMessage", align 8
  %26 = alloca %"class.Logging::LoggerMessage", align 8
  %27 = alloca %"class.Logging::LoggerMessage", align 8
  %28 = alloca i32, align 4
  %29 = alloca { i64, i64 }, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  %30 = zext i1 %3 to i8
  store i8 %30, ptr %9, align 1, !tbaa !9
  %31 = load ptr, ptr %6, align 8
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %32, i32 0, i32 6
  %34 = load i32, ptr %33, align 8, !tbaa !11
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %40

36:                                               ; preds = %4
  %37 = load i8, ptr %9, align 1, !tbaa !9, !range !27, !noundef !28
  %38 = trunc i8 %37 to i1
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  store i1 true, ptr %5, align 1
  br label %273

40:                                               ; preds = %36, %4
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %41, i32 0, i32 6
  %43 = load i32, ptr %42, align 8, !tbaa !11
  %44 = icmp eq i32 %43, 1
  br i1 %44, label %45, label %46

45:                                               ; preds = %40
  br label %250

46:                                               ; preds = %40
  %47 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 4
  %48 = load ptr, ptr %47, align 8, !tbaa !29
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %48, align 8, !tbaa !51
  %52 = getelementptr inbounds ptr, ptr %51, i64 4
  %53 = load ptr, ptr %52, align 8
  %54 = call noundef zeroext i1 %53(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 1 dereferenceable(32) %50)
  br i1 %54, label %55, label %66

55:                                               ; preds = %46
  %56 = load i8, ptr %9, align 1, !tbaa !9, !range !27, !noundef !28
  %57 = trunc i8 %56 to i1
  br i1 %57, label %58, label %62

58:                                               ; preds = %55
  %59 = call noundef zeroext i1 @_ZN7DynexCN22DynexCNProtocolHandler26on_connection_synchronizedEv(ptr noundef nonnull align 8 dereferenceable(312) %31)
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %60, i32 0, i32 6
  store i32 5, ptr %61, align 8, !tbaa !11
  br label %65

62:                                               ; preds = %55
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %63, i32 0, i32 6
  store i32 3, ptr %64, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %62, %58
  br label %249

66:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %67, i32 0, i32 0
  %69 = load i32, ptr %68, align 4, !tbaa !53
  %70 = zext i32 %69 to i64
  %71 = call noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312) %31)
  %72 = zext i32 %71 to i64
  %73 = sub nsw i64 %70, %72
  store i64 %73, ptr %10, align 8, !tbaa !56
  call void @llvm.lifetime.start.p0(i64 432, ptr %11) #8
  %74 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 2
  %75 = load i64, ptr %10, align 8, !tbaa !56
  %76 = icmp sge i64 %75, 0
  br i1 %76, label %77, label %82

77:                                               ; preds = %66
  %78 = load i8, ptr %9, align 1, !tbaa !9, !range !27, !noundef !28
  %79 = trunc i8 %78 to i1
  %80 = zext i1 %79 to i64
  %81 = select i1 %79, i32 3, i32 4
  br label %83

82:                                               ; preds = %66
  br label %83

83:                                               ; preds = %82, %77
  %84 = phi i32 [ %81, %77 ], [ 5, %82 ]
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %11, ptr noundef nonnull align 8 dereferenceable(40) %74, i32 noundef %84, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %11, ptr noundef nonnull align 8 dereferenceable(144) %85)
          to label %87 unwind label %180

87:                                               ; preds = %83
  %88 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA39_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %86, ptr noundef nonnull align 1 dereferenceable(39) @.str.16)
          to label %89 unwind label %180

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %90 = invoke noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312) %31)
          to label %91 unwind label %184

91:                                               ; preds = %89
  store i32 %90, ptr %14, align 4, !tbaa !57
  %92 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %88, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %93 unwind label %184

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %92, ptr noundef nonnull align 1 dereferenceable(5) @.str.17)
          to label %95 unwind label %184

95:                                               ; preds = %93
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %96, i32 0, i32 0
  %98 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %94, ptr noundef nonnull align 4 dereferenceable(4) %97)
          to label %99 unwind label %184

99:                                               ; preds = %95
  %100 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %98, ptr noundef nonnull align 1 dereferenceable(3) @.str.18)
          to label %101 unwind label %184

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %102 = load i64, ptr %10, align 8, !tbaa !56
  %103 = invoke noundef i64 @_ZSt3absl(i64 noundef %102)
          to label %104 unwind label %188

104:                                              ; preds = %101
  store i64 %103, ptr %15, align 8, !tbaa !56
  %105 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageElEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %100, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %106 unwind label %188

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA10_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %105, ptr noundef nonnull align 1 dereferenceable(10) @.str.19)
          to label %108 unwind label %188

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %109 = load i64, ptr %10, align 8, !tbaa !56
  %110 = invoke noundef i64 @_ZSt3absl(i64 noundef %109)
          to label %111 unwind label %192

111:                                              ; preds = %108
  %112 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 5
  %113 = load ptr, ptr %112, align 8, !tbaa !58
  %114 = invoke noundef i64 @_ZNK7DynexCN8Currency16difficultyTargetEv(ptr noundef nonnull align 8 dereferenceable(984) %113)
          to label %115 unwind label %192

115:                                              ; preds = %111
  %116 = udiv i64 86400, %114
  %117 = udiv i64 %110, %116
  store i64 %117, ptr %16, align 8, !tbaa !56
  %118 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %107, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %119 unwind label %192

119:                                              ; preds = %115
  %120 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %118, ptr noundef nonnull align 1 dereferenceable(8) @.str.20)
          to label %121 unwind label %192

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %122 = load i64, ptr %10, align 8, !tbaa !56
  %123 = icmp sge i64 %122, 0
  store i1 false, ptr %19, align 1
  store i1 false, ptr %20, align 1
  store i1 false, ptr %22, align 1
  store i1 false, ptr %23, align 1
  br i1 %123, label %124, label %126

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  store i1 true, ptr %19, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  store i1 true, ptr %20, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %125 unwind label %196

125:                                              ; preds = %124
  br label %128

126:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  store i1 true, ptr %22, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  store i1 true, ptr %23, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %127 unwind label %200

127:                                              ; preds = %126
  br label %128

128:                                              ; preds = %127, %125
  %129 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %120, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %130 unwind label %204

130:                                              ; preds = %128
  %131 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %129, ptr noundef nonnull align 1 dereferenceable(3) @.str.23)
          to label %132 unwind label %204

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %134 unwind label %204

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef @.str.24)
          to label %136 unwind label %204

136:                                              ; preds = %134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  %137 = load i1, ptr %23, align 1
  br i1 %137, label %138, label %139

138:                                              ; preds = %136
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  br label %139

139:                                              ; preds = %138, %136
  %140 = load i1, ptr %22, align 1
  br i1 %140, label %141, label %142

141:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  br label %142

142:                                              ; preds = %141, %139
  %143 = load i1, ptr %20, align 1
  br i1 %143, label %144, label %145

144:                                              ; preds = %142
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  br label %145

145:                                              ; preds = %144, %142
  %146 = load i1, ptr %19, align 1
  br i1 %146, label %147, label %148

147:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  br label %148

148:                                              ; preds = %147, %145
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %11) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 432, ptr %24) #8
  %149 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 2
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %24, ptr noundef nonnull align 8 dereferenceable(40) %149, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %150 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %24, ptr noundef nonnull align 1 dereferenceable(26) @.str.25)
          to label %151 unwind label %226

151:                                              ; preds = %148
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %152, i32 0, i32 0
  %154 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %150, ptr noundef nonnull align 4 dereferenceable(4) %153)
          to label %155 unwind label %226

155:                                              ; preds = %151
  %156 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA7_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %154, ptr noundef nonnull align 1 dereferenceable(7) @.str.26)
          to label %157 unwind label %226

157:                                              ; preds = %155
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %158, i32 0, i32 1
  %160 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %156, ptr noundef nonnull align 1 dereferenceable(32) %159)
          to label %161 unwind label %226

161:                                              ; preds = %157
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %24) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 432, ptr %25) #8
  %162 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 2
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %25, ptr noundef nonnull align 8 dereferenceable(40) %162, i32 noundef 5, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  %164 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %25, ptr noundef nonnull align 8 dereferenceable(144) %163)
          to label %165 unwind label %230

165:                                              ; preds = %161
  %166 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA27_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %164, ptr noundef nonnull align 1 dereferenceable(27) @.str.27)
          to label %167 unwind label %230

167:                                              ; preds = %165
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %25) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %25) #8
  %168 = load i64, ptr %10, align 8, !tbaa !56
  %169 = icmp sge i64 %168, 0
  br i1 %169, label %170, label %242

170:                                              ; preds = %167
  br i1 false, label %171, label %242

171:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 432, ptr %26) #8
  %172 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 2
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %26, ptr noundef nonnull align 8 dereferenceable(40) %172, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %173 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA91_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %26, ptr noundef nonnull align 1 dereferenceable(91) @.str.28)
          to label %174 unwind label %234

174:                                              ; preds = %171
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %26) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 432, ptr %27) #8
  %175 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 2
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %27, ptr noundef nonnull align 8 dereferenceable(40) %175, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %176 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA75_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %27, ptr noundef nonnull align 1 dereferenceable(75) @.str.29)
          to label %177 unwind label %238

177:                                              ; preds = %174
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %27) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %27) #8
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %178, i32 0, i32 6
  store i32 6, ptr %179, align 8, !tbaa !11
  store i1 false, ptr %5, align 1
  store i32 1, ptr %28, align 4
  br label %245

180:                                              ; preds = %87, %83
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %12, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %13, align 4
  br label %225

184:                                              ; preds = %99, %95, %93, %91, %89
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %12, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %13, align 4
  br label %224

188:                                              ; preds = %106, %104, %101
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %12, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %13, align 4
  br label %223

192:                                              ; preds = %119, %115, %111, %108
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %12, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %13, align 4
  br label %222

196:                                              ; preds = %124
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %12, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %13, align 4
  br label %215

200:                                              ; preds = %126
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %12, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %13, align 4
  br label %208

204:                                              ; preds = %134, %132, %130, %128
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %12, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %208

208:                                              ; preds = %204, %200
  %209 = load i1, ptr %23, align 1
  br i1 %209, label %210, label %211

210:                                              ; preds = %208
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  br label %211

211:                                              ; preds = %210, %208
  %212 = load i1, ptr %22, align 1
  br i1 %212, label %213, label %214

213:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  br label %214

214:                                              ; preds = %213, %211
  br label %215

215:                                              ; preds = %214, %196
  %216 = load i1, ptr %20, align 1
  br i1 %216, label %217, label %218

217:                                              ; preds = %215
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  br label %218

218:                                              ; preds = %217, %215
  %219 = load i1, ptr %19, align 1
  br i1 %219, label %220, label %221

220:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  br label %221

221:                                              ; preds = %220, %218
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %222

222:                                              ; preds = %221, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %223

223:                                              ; preds = %222, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %224

224:                                              ; preds = %223, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %225

225:                                              ; preds = %224, %180
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %11) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %11) #8
  br label %248

226:                                              ; preds = %157, %155, %151, %148
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %12, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %13, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %24) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %24) #8
  br label %248

230:                                              ; preds = %165, %161
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %12, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %13, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %25) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %25) #8
  br label %248

234:                                              ; preds = %171
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %12, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %13, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %26) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %26) #8
  br label %248

238:                                              ; preds = %174
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %12, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %13, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %27) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %27) #8
  br label %248

242:                                              ; preds = %170, %167
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %243, i32 0, i32 6
  store i32 4, ptr %244, align 8, !tbaa !11
  store i32 0, ptr %28, align 4
  br label %245

245:                                              ; preds = %242, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %246 = load i32, ptr %28, align 4
  switch i32 %246, label %280 [
    i32 0, label %247
    i32 1, label %273
  ]

247:                                              ; preds = %245
  br label %249

248:                                              ; preds = %238, %234, %230, %226, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %275

249:                                              ; preds = %247, %65
  br label %250

250:                                              ; preds = %249, %45
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %251, i32 0, i32 0
  %253 = load i32, ptr %252, align 4, !tbaa !53
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN7DynexCN22DynexCNProtocolHandler20updateObservedHeightEjRKNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312) %31, i32 noundef %253, ptr noundef nonnull align 8 dereferenceable(144) %254)
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.DynexCN::CORE_SYNC_DATA", ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 4, !tbaa !53
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %258, i32 0, i32 9
  store i32 %257, ptr %259, align 8, !tbaa !59
  %260 = load i8, ptr %9, align 1, !tbaa !9, !range !27, !noundef !28
  %261 = trunc i8 %260 to i1
  br i1 %261, label %262, label %272

262:                                              ; preds = %250
  %263 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 15
  %264 = call noundef i64 @_ZNSt13__atomic_baseImEppEi(ptr noundef nonnull align 8 dereferenceable(8) %263, i32 noundef 0) #8
  %265 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 16
  %266 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %31, i32 0, i32 15
  %267 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %266, i32 noundef 5) #8
  store { i64, i64 } { i64 1, i64 0 }, ptr %29, align 8, !tbaa !60
  %268 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 0
  %269 = load i64, ptr %268, align 8
  %270 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 1
  %271 = load i64, ptr %270, align 8
  call void @_ZN5Tools15ObserverManagerIN7DynexCN24IDynexCNProtocolObserverEE6notifyIMS2_FvmEJmEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %265, i64 %269, i64 %271, i64 noundef %267)
  br label %272

272:                                              ; preds = %262, %250
  store i1 true, ptr %5, align 1
  br label %273

273:                                              ; preds = %272, %245, %39
  %274 = load i1, ptr %5, align 1
  ret i1 %274

275:                                              ; preds = %248
  %276 = load ptr, ptr %12, align 8
  %277 = load i32, ptr %13, align 4
  %278 = insertvalue { ptr, i32 } poison, ptr %276, 0
  %279 = insertvalue { ptr, i32 } %278, i32 %277, 1
  resume { ptr, i32 } %279

280:                                              ; preds = %245
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(3)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA10_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(10)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageElEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(5)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA39_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(39)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absl(i64 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7DynexCN8Currency16difficultyTargetEv(ptr noundef nonnull align 8 dereferenceable(984)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA7_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(7)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA27_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(27)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA91_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(91)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA75_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(75)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN22DynexCNProtocolHandler20updateObservedHeightEjRKNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312), i32 noundef, ptr noundef nonnull align 8 dereferenceable(144)) #2 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { 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 #7 = { 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 #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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !16, i64 40}
!12 = !{!"_ZTSN7DynexCN24DynexCNConnectionContextE", !7, i64 0, !13, i64 1, !14, i64 20, !14, i64 24, !10, i64 28, !15, i64 32, !16, i64 40, !17, i64 48, !22, i64 72, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140}
!13 = !{!"_ZTSN6Crypto4UuidE", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSN7DynexCN24DynexCNConnectionContext5stateE", !7, i64 0}
!17 = !{!"_ZTSNSt7__cxx114listIN6Crypto4HashESaIS2_EEE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Crypto4HashESaIS2_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Crypto4HashESaIS2_EE10_List_implE", !20, i64 0}
!20 = !{!"_ZTSNSt8__detail17_List_node_headerE", !21, i64 0, !15, i64 16}
!21 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!22 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !23, i64 0}
!23 = !{!"_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, !15, i64 8, !24, i64 16, !15, i64 24, !25, i64 32, !6, i64 48}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !15, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !6, i64 64}
!30 = !{!"_ZTSN7DynexCN22DynexCNProtocolHandlerE", !31, i64 0, !32, i64 8, !33, i64 16, !6, i64 56, !6, i64 64, !6, i64 72, !36, i64 80, !6, i64 88, !38, i64 96, !38, i64 97, !40, i64 104, !42, i64 144, !14, i64 184, !42, i64 192, !14, i64 232, !44, i64 240, !46, i64 248}
!31 = !{!"_ZTSN7DynexCN13i_cn_protocolE"}
!32 = !{!"_ZTSN7DynexCN21IDynexCNProtocolQueryE"}
!33 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !34, i64 8}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !35, i64 0, !15, i64 8, !7, i64 16}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!36 = !{!"_ZTSN7DynexCN17p2p_endpoint_stubE", !37, i64 0}
!37 = !{!"_ZTSN7DynexCN12IP2pEndpointE"}
!38 = !{!"_ZTSSt6atomicIbE", !39, i64 0}
!39 = !{!"_ZTSSt13__atomic_baseIbE", !10, i64 0}
!40 = !{!"_ZTSSt15recursive_mutex", !41, i64 0}
!41 = !{!"_ZTSSt22__recursive_mutex_base", !7, i64 0}
!42 = !{!"_ZTSSt5mutex", !43, i64 0}
!43 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!44 = !{!"_ZTSSt6atomicImE", !45, i64 0}
!45 = !{!"_ZTSSt13__atomic_baseImE", !15, i64 0}
!46 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN24IDynexCNProtocolObserverEEE", !47, i64 0, !42, i64 24}
!47 = !{!"_ZTSSt6vectorIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!52, !52, i64 0}
!52 = !{!"vtable pointer", !8, i64 0}
!53 = !{!54, !14, i64 0}
!54 = !{!"_ZTSN7DynexCN14CORE_SYNC_DATAE", !14, i64 0, !55, i64 4}
!55 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!56 = !{!15, !15, i64 0}
!57 = !{!14, !14, i64 0}
!58 = !{!30, !6, i64 72}
!59 = !{!12, !14, i64 128}
!60 = !{!7, !7, i64 0}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZN7Logging13BRIGHT_YELLOWB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [27 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(26)) local_unnamed_addr #3

declare void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161)) unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7DynexCN22DynexCNProtocolHandler25process_payload_sync_dataERKNS_14CORE_SYNC_DATAERNS_24DynexCNConnectionContextEb(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 4 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(144) %2, i1 noundef zeroext %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.Logging::LoggerMessage", align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.Logging::LoggerMessage", align 8
  %13 = alloca %"class.Logging::LoggerMessage", align 8
  %14 = getelementptr inbounds i8, ptr %2, i64 40
  %15 = load i32, ptr %14, align 8, !tbaa !5
  %16 = icmp ne i32 %15, 0
  %brmerge = or i1 %16, %3
  br i1 %brmerge, label %17, label %122

17:                                               ; preds = %4
  %18 = icmp eq i32 %15, 1
  br i1 %18, label %113, label %19

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %0, i64 64
  %21 = load ptr, ptr %20, align 8, !tbaa !25
  %22 = getelementptr inbounds i8, ptr %1, i64 4
  %23 = load ptr, ptr %21, align 8, !tbaa !47
  %24 = getelementptr inbounds i8, ptr %23, i64 32
  %25 = load ptr, ptr %24, align 8
  %26 = tail call noundef zeroext i1 %25(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 1 dereferenceable(32) %22)
  br i1 %26, label %27, label %30

27:                                               ; preds = %19
  br i1 %3, label %28, label %.sink.split

28:                                               ; preds = %27
  %29 = tail call noundef zeroext i1 @_ZN7DynexCN22DynexCNProtocolHandler26on_connection_synchronizedEv(ptr noundef nonnull align 8 dereferenceable(312) %0)
  br label %.sink.split

30:                                               ; preds = %19
  %31 = load i32, ptr %1, align 4, !tbaa !49
  %32 = zext i32 %31 to i64
  %33 = tail call noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312) %0)
  %34 = zext i32 %33 to i64
  %35 = sub nsw i64 %32, %34
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %5) #8
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = icmp slt i64 %35, 0
  %38 = select i1 %3, i32 3, i32 4
  %spec.select = select i1 %37, i32 5, i32 %38
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %5, ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef %spec.select, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
  %39 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %5, ptr noundef nonnull align 8 dereferenceable(144) %2)
          to label %40 unwind label %91

40:                                               ; preds = %30
  %41 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA39_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %39, ptr noundef nonnull align 1 dereferenceable(39) @.str.16)
          to label %42 unwind label %91

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %43 = invoke noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler29get_current_blockchain_heightEv(ptr noundef nonnull align 8 dereferenceable(312) %0)
          to label %44 unwind label %93

44:                                               ; preds = %42
  store i32 %43, ptr %6, align 4, !tbaa !52
  %45 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %41, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %46 unwind label %93

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %45, ptr noundef nonnull align 1 dereferenceable(5) @.str.17)
          to label %48 unwind label %93

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %47, ptr noundef nonnull align 4 dereferenceable(4) %1)
          to label %50 unwind label %93

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %49, ptr noundef nonnull align 1 dereferenceable(3) @.str.18)
          to label %52 unwind label %93

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %53 = call noundef i64 @_ZSt3absl(i64 noundef %35)
  store i64 %53, ptr %7, align 8, !tbaa !53
  %54 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageElEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %51, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %55 unwind label %95

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA10_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %54, ptr noundef nonnull align 1 dereferenceable(10) @.str.19)
          to label %57 unwind label %95

57:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %58 = call noundef i64 @_ZSt3absl(i64 noundef %35)
  %59 = getelementptr inbounds i8, ptr %0, i64 72
  %60 = load ptr, ptr %59, align 8, !tbaa !54
  %61 = call noundef i64 @_ZNK7DynexCN8Currency16difficultyTargetEv(ptr noundef nonnull align 8 dereferenceable(984) %60)
  %62 = udiv i64 86400, %61
  %63 = udiv i64 %58, %62
  store i64 %63, ptr %8, align 8, !tbaa !53
  %64 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %56, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %65 unwind label %97

65:                                               ; preds = %57
  %66 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %64, ptr noundef nonnull align 1 dereferenceable(8) @.str.20)
          to label %67 unwind label %97

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  br i1 %37, label %69, label %68

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %70 unwind label %.critedge67.thread

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %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) %9, ptr noundef nonnull @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %70 unwind label %.thread80

70:                                               ; preds = %69, %68
  %71 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %66, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %72 unwind label %101

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %71, ptr noundef nonnull align 1 dereferenceable(3) @.str.23)
          to label %74 unwind label %101

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %76 unwind label %101

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull @.str.24)
          to label %78 unwind label %101

78:                                               ; preds = %76
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br i1 %37, label %.critedge, label %.critedge70

.critedge:                                        ; preds = %78
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %.critedge65

.critedge70:                                      ; preds = %78
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  br label %.critedge65

.critedge65:                                      ; preds = %.critedge, %.critedge70
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %5) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %12) #8
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %79 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %12, ptr noundef nonnull align 1 dereferenceable(26) @.str.25)
          to label %80 unwind label %108

80:                                               ; preds = %.critedge65
  %81 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %79, ptr noundef nonnull align 4 dereferenceable(4) %1)
          to label %82 unwind label %108

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA7_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %81, ptr noundef nonnull align 1 dereferenceable(7) @.str.26)
          to label %84 unwind label %108

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %83, ptr noundef nonnull align 1 dereferenceable(32) %22)
          to label %86 unwind label %108

86:                                               ; preds = %84
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %12) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %13) #8
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %13, ptr noundef nonnull align 8 dereferenceable(40) %36, i32 noundef 5, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %87 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %13, ptr noundef nonnull align 8 dereferenceable(144) %2)
          to label %88 unwind label %110

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA27_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %87, ptr noundef nonnull align 1 dereferenceable(27) @.str.27)
          to label %90 unwind label %110

90:                                               ; preds = %88
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %13) #8
  br label %.sink.split

91:                                               ; preds = %40, %30
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %107

93:                                               ; preds = %50, %48, %46, %44, %42
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %106

95:                                               ; preds = %55, %52
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %105

97:                                               ; preds = %65, %57
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %104

.critedge67.thread:                               ; preds = %68
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %.critedge67

.thread80:                                        ; preds = %69
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %.critedge69

101:                                              ; preds = %70, %72, %74, %76
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br i1 %37, label %103, label %.critedge67

103:                                              ; preds = %101
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %.critedge69

.critedge67:                                      ; preds = %101, %.critedge67.thread
  %.pn.pn79 = phi { ptr, i32 } [ %99, %.critedge67.thread ], [ %102, %101 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  br label %.critedge69

.critedge69:                                      ; preds = %103, %.thread80, %.critedge67
  %.pn.pn78 = phi { ptr, i32 } [ %.pn.pn79, %.critedge67 ], [ %102, %103 ], [ %100, %.thread80 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %104

104:                                              ; preds = %.critedge69, %97
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn78, %.critedge69 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %105

105:                                              ; preds = %104, %95
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %104 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %106

106:                                              ; preds = %105, %93
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %105 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  br label %107

107:                                              ; preds = %106, %91
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %106 ], [ %92, %91 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %5) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %5) #8
  br label %112

108:                                              ; preds = %84, %82, %80, %.critedge65
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %12) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %12) #8
  br label %112

110:                                              ; preds = %88, %86
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %13) #8
  br label %112

112:                                              ; preds = %110, %108, %107
  %.pn61 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ], [ %.pn.pn.pn.pn.pn.pn, %107 ]
  resume { ptr, i32 } %.pn61

.sink.split:                                      ; preds = %27, %28, %90
  %.sink = phi i32 [ 4, %90 ], [ 5, %28 ], [ 3, %27 ]
  store i32 %.sink, ptr %14, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %.sink.split, %17
  %114 = load i32, ptr %1, align 4, !tbaa !49
  call void @_ZN7DynexCN22DynexCNProtocolHandler20updateObservedHeightEjRKNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312) %0, i32 noundef %114, ptr noundef nonnull align 8 dereferenceable(144) %2)
  %115 = load i32, ptr %1, align 4, !tbaa !49
  %116 = getelementptr inbounds i8, ptr %2, i64 128
  store i32 %115, ptr %116, align 8, !tbaa !55
  br i1 %3, label %117, label %122

117:                                              ; preds = %113
  %118 = getelementptr inbounds i8, ptr %0, i64 240
  %119 = call noundef i64 @_ZNSt13__atomic_baseImEppEi(ptr noundef nonnull align 8 dereferenceable(8) %118, i32 noundef 0) #8
  %120 = getelementptr inbounds i8, ptr %0, i64 248
  %121 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %118, i32 noundef 5) #8
  call void @_ZN5Tools15ObserverManagerIN7DynexCN24IDynexCNProtocolObserverEE6notifyIMS2_FvmEJmEEEvT_DpT0_(ptr noundef nonnull align 8 dereferenceable(64) %120, i64 1, i64 0, i64 noundef %121)
  br label %122

122:                                              ; preds = %113, %117, %4
  ret i1 true
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA3_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA10_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(10)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageElEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(5)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA39_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(39)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absl(i64 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7DynexCN8Currency16difficultyTargetEv(ptr noundef nonnull align 8 dereferenceable(984)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA7_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA27_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(27)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN22DynexCNProtocolHandler20updateObservedHeightEjRKNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312), i32 noundef, ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { 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 #7 = { 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 #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, !13, i64 40}
!6 = !{!"_ZTSN7DynexCN24DynexCNConnectionContextE", !7, i64 0, !9, i64 1, !10, i64 20, !10, i64 24, !11, i64 28, !12, i64 32, !13, i64 40, !14, i64 48, !20, i64 72, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSN6Crypto4UuidE", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN7DynexCN24DynexCNConnectionContext5stateE", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx114listIN6Crypto4HashESaIS2_EEE", !15, i64 0}
!15 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Crypto4HashESaIS2_EEE", !16, i64 0}
!16 = !{!"_ZTSNSt7__cxx1110_List_baseIN6Crypto4HashESaIS2_EE10_List_implE", !17, i64 0}
!17 = !{!"_ZTSNSt8__detail17_List_node_headerE", !18, i64 0, !12, i64 16}
!18 = !{!"_ZTSNSt8__detail15_List_node_baseE", !19, i64 0, !19, i64 8}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!"_ZTSSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt10_HashtableIN6Crypto4HashES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ESt4hashIS1_ENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !19, i64 0, !12, i64 8, !22, i64 16, !12, i64 24, !23, i64 32, !19, i64 48}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !19, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !12, i64 8}
!24 = !{!"float", !7, i64 0}
!25 = !{!26, !19, i64 64}
!26 = !{!"_ZTSN7DynexCN22DynexCNProtocolHandlerE", !27, i64 0, !28, i64 8, !29, i64 16, !19, i64 56, !19, i64 64, !19, i64 72, !32, i64 80, !19, i64 88, !34, i64 96, !34, i64 97, !36, i64 104, !38, i64 144, !10, i64 184, !38, i64 192, !10, i64 232, !40, i64 240, !42, i64 248}
!27 = !{!"_ZTSN7DynexCN13i_cn_protocolE"}
!28 = !{!"_ZTSN7DynexCN21IDynexCNProtocolQueryE"}
!29 = !{!"_ZTSN7Logging9LoggerRefE", !19, i64 0, !30, i64 8}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !12, i64 8, !7, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!32 = !{!"_ZTSN7DynexCN17p2p_endpoint_stubE", !33, i64 0}
!33 = !{!"_ZTSN7DynexCN12IP2pEndpointE"}
!34 = !{!"_ZTSSt6atomicIbE", !35, i64 0}
!35 = !{!"_ZTSSt13__atomic_baseIbE", !11, i64 0}
!36 = !{!"_ZTSSt15recursive_mutex", !37, i64 0}
!37 = !{!"_ZTSSt22__recursive_mutex_base", !7, i64 0}
!38 = !{!"_ZTSSt5mutex", !39, i64 0}
!39 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!40 = !{!"_ZTSSt6atomicImE", !41, i64 0}
!41 = !{!"_ZTSSt13__atomic_baseImE", !12, i64 0}
!42 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN24IDynexCNProtocolObserverEEE", !43, i64 0, !38, i64 24}
!43 = !{!"_ZTSSt6vectorIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!47 = !{!48, !48, i64 0}
!48 = !{!"vtable pointer", !8, i64 0}
!49 = !{!50, !10, i64 0}
!50 = !{!"_ZTSN7DynexCN14CORE_SYNC_DATAE", !10, i64 0, !51, i64 4}
!51 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!52 = !{!10, !10, i64 0}
!53 = !{!12, !12, i64 0}
!54 = !{!26, !19, i64 72}
!55 = !{!6, !10, i64 128}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass