; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.DynexCN::tx_verification_context" = type { i8, i8, i8, i8, i8 }
%"class.boost::value_initialized.87" = type { %"class.boost::initialized.88" }
%"class.boost::initialized.88" = type { %"struct.DynexCN::tx_verification_context" }
%"class.__gnu_cxx::__normal_iterator.91" = type { ptr }
%"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::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 }
%"struct.DynexCN::NOTIFY_NEW_TRANSACTIONS_request" = type { %"class.std::vector.82" }
%"class.std::vector.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.32 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 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(...)

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

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

; 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)) #4

; 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)) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler30handle_notify_new_transactionsEiRNS_31NOTIFY_NEW_TRANSACTIONS_requestERNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(144) %3) #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.Logging::LoggerMessage", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.std::vector.33", align 8
  %16 = alloca %"struct.Crypto::Hash", align 1
  %17 = alloca %"class.Logging::LoggerMessage", align 8
  %18 = alloca %"struct.DynexCN::tx_verification_context", align 1
  %19 = alloca %"class.boost::value_initialized.87", align 1
  %20 = alloca %"class.Logging::LoggerMessage", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.91", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 432, ptr %10) #8
  %24 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %23, i32 0, i32 2
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %24, i32 noundef 5, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %10, ptr noundef nonnull align 8 dereferenceable(144) %25)
          to label %27 unwind label %35

27:                                               ; preds = %4
  %28 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %26, ptr noundef nonnull align 1 dereferenceable(24) @.str.36)
          to label %29 unwind label %35

29:                                               ; preds = %27
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %10) #8
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %30, i32 0, i32 6
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = icmp ne i32 %32, 3
  br i1 %33, label %34, label %39

34:                                               ; preds = %29
  store i32 1, ptr %5, align 4
  br label %152

35:                                               ; preds = %27, %4
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %11, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %12, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %10) #8
  br label %154

39:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.DynexCN::NOTIFY_NEW_TRANSACTIONS_request", ptr %40, i32 0, i32 0
  %42 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  br label %44

44:                                               ; preds = %137, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.DynexCN::NOTIFY_NEW_TRANSACTIONS_request", ptr %45, i32 0, i32 0
  %47 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br i1 %49, label %51, label %50

50:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %140

51:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @_ZN6Common13asBinaryArrayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector.33") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %52)
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  %53 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %54 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  invoke void @_ZN6Crypto12cn_fast_hashEPKvm(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %16, ptr noundef %53, i64 noundef %54)
          to label %55 unwind label %85

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 432, ptr %17) #8
  %56 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %23, i32 0, i32 2
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %17, ptr noundef nonnull align 8 dereferenceable(40) %56, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %57 unwind label %89

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA13_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %17, ptr noundef nonnull align 1 dereferenceable(13) @.str.32)
          to label %59 unwind label %93

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %58, ptr noundef nonnull align 1 dereferenceable(32) %16)
          to label %61 unwind label %93

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA33_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %60, ptr noundef nonnull align 1 dereferenceable(33) @.str.37)
          to label %63 unwind label %93

63:                                               ; preds = %61
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %17) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr %19) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN23tx_verification_contextEEC2Ev(ptr noundef nonnull align 1 dereferenceable(5) %19)
          to label %64 unwind label %98

64:                                               ; preds = %63
  %65 = invoke noundef nonnull align 1 dereferenceable(5) ptr @_ZN5boost17value_initializedIN7DynexCN23tx_verification_contextEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(5) %19)
          to label %66 unwind label %98

66:                                               ; preds = %64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %18, ptr align 1 %65, i64 5, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 5, ptr %19) #8
  %67 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %23, i32 0, i32 4
  %68 = load ptr, ptr %67, align 8, !tbaa !29
  %69 = load ptr, ptr %68, align 8, !tbaa !51
  %70 = getelementptr inbounds ptr, ptr %69, i64 20
  %71 = load ptr, ptr %70, align 8
  %72 = invoke noundef zeroext i1 %71(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 1 dereferenceable(5) %18, i1 noundef zeroext false)
          to label %73 unwind label %102

73:                                               ; preds = %66
  %74 = getelementptr inbounds %"struct.DynexCN::tx_verification_context", ptr %18, i32 0, i32 1
  %75 = load i8, ptr %74, align 1, !tbaa !53, !range !55, !noundef !56
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %115

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 432, ptr %20) #8
  %78 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %23, i32 0, i32 2
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %20, ptr noundef nonnull align 8 dereferenceable(40) %78, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %79 unwind label %106

79:                                               ; preds = %77
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN7DynexCN24DynexCNConnectionContextEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %20, ptr noundef nonnull align 8 dereferenceable(144) %80)
          to label %82 unwind label %110

82:                                               ; preds = %79
  %83 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA23_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %81, ptr noundef nonnull align 1 dereferenceable(23) @.str.38)
          to label %84 unwind label %110

84:                                               ; preds = %82
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %20) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %20) #8
  br label %115

85:                                               ; preds = %51
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %11, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %12, align 4
  br label %139

89:                                               ; preds = %55
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  br label %97

93:                                               ; preds = %61, %59, %57
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %11, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %12, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %17) #8
  br label %97

97:                                               ; preds = %93, %89
  call void @llvm.lifetime.end.p0(i64 432, ptr %17) #8
  br label %139

98:                                               ; preds = %64, %63
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 5, ptr %19) #8
  br label %138

102:                                              ; preds = %66
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  br label %138

106:                                              ; preds = %77
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %114

110:                                              ; preds = %82, %79
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %20) #8
  br label %114

114:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 432, ptr %20) #8
  br label %138

115:                                              ; preds = %84, %73
  %116 = getelementptr inbounds %"struct.DynexCN::tx_verification_context", ptr %18, i32 0, i32 1
  %117 = load i8, ptr %116, align 1, !tbaa !53, !range !55, !noundef !56
  %118 = trunc i8 %117 to i1
  br i1 %118, label %125, label %119

119:                                              ; preds = %115
  %120 = getelementptr inbounds %"struct.DynexCN::tx_verification_context", ptr %18, i32 0, i32 0
  %121 = load i8, ptr %120, align 1, !tbaa !57, !range !55, !noundef !56
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %125

123:                                              ; preds = %119
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br label %137

125:                                              ; preds = %119, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.DynexCN::NOTIFY_NEW_TRANSACTIONS_request", ptr %126, i32 0, i32 0
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.91", ptr %22, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = invoke ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %127, ptr %129)
          to label %131 unwind label %133

131:                                              ; preds = %125
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %130, ptr %132, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %21, i64 8, i1 false), !tbaa.struct !58
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %137

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %11, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %138

137:                                              ; preds = %131, %123
  call void @llvm.lifetime.end.p0(i64 5, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br label %44, !llvm.loop !59

138:                                              ; preds = %133, %114, %102, %98
  call void @llvm.lifetime.end.p0(i64 5, ptr %18) #8
  br label %139

139:                                              ; preds = %138, %97, %85
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %154

140:                                              ; preds = %50
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.DynexCN::NOTIFY_NEW_TRANSACTIONS_request", ptr %141, i32 0, i32 0
  %143 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %142) #8
  %144 = icmp ne i64 %143, 0
  br i1 %144, label %145, label %151

145:                                              ; preds = %140
  %146 = getelementptr inbounds %"class.DynexCN::DynexCNProtocolHandler", ptr %23, i32 0, i32 7
  %147 = load ptr, ptr %146, align 8, !tbaa !61
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.DynexCN::DynexCNConnectionContext", ptr %149, i32 0, i32 1
  call void @_ZN7DynexCN12_GLOBAL__N_117relay_post_notifyINS_23NOTIFY_NEW_TRANSACTIONSEEEvRNS_12IP2pEndpointERNT_7requestEPKN6Crypto4UuidE(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef %150)
  br label %151

151:                                              ; preds = %145, %140
  store i32 1, ptr %5, align 4
  br label %152

152:                                              ; preds = %151, %34
  %153 = load i32, ptr %5, align 4
  ret i32 %153

154:                                              ; preds = %139, %35
  %155 = load ptr, ptr %11, align 8
  %156 = load i32, ptr %12, align 4
  %157 = insertvalue { ptr, i32 } poison, ptr %155, 0
  %158 = insertvalue { ptr, i32 } %157, i32 %156, 1
  resume { ptr, i32 } %158
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

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

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

declare void @_ZN6Common13asBinaryArrayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector.33") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Crypto12cn_fast_hashEPKvm(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7DynexCN12_GLOBAL__N_117relay_post_notifyINS_23NOTIFY_NEW_TRANSACTIONSEEEvRNS_12IP2pEndpointERNT_7requestEPKN6Crypto4UuidE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !16, i64 40}
!12 = !{!"_ZTSN7DynexCN24DynexCNConnectionContextE", !7, i64 0, !13, i64 1, !10, i64 20, !10, i64 24, !14, i64 28, !15, i64 32, !16, i64 40, !17, i64 48, !22, i64 72, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140}
!13 = !{!"_ZTSN6Crypto4UuidE", !7, i64 0}
!14 = !{!"bool", !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 = !{i64 0, i64 1, !28, i64 1, i64 1, !28, i64 2, i64 1, !28, i64 3, i64 1, !28, i64 4, i64 1, !28}
!28 = !{!14, !14, i64 0}
!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, !10, i64 184, !42, i64 192, !10, 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", !14, 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 1}
!54 = !{!"_ZTSN7DynexCN23tx_verification_contextE", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!54, !14, i64 0}
!58 = !{i64 0, i64 8, !5}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = !{!30, !6, i64 88}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.DynexCN::tx_verification_context" = type { i8, i8, i8, i8, i8 }
%"class.boost::value_initialized.87" = type { %"class.boost::initialized.88" }
%"class.boost::initialized.88" = type { %"struct.DynexCN::tx_verification_context" }
%"class.__gnu_cxx::__normal_iterator.91" = type { ptr }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.32 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [23 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(...)

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

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

; 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 #4

; 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 #4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7DynexCN22DynexCNProtocolHandler30handle_notify_new_transactionsEiRNS_31NOTIFY_NEW_TRANSACTIONS_requestERNS_24DynexCNConnectionContextE(ptr noundef nonnull align 8 dereferenceable(312) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(144) %3) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.Logging::LoggerMessage", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.std::vector.33", align 8
  %9 = alloca %"struct.Crypto::Hash", align 1
  %10 = alloca %"class.Logging::LoggerMessage", align 8
  %11 = alloca %"struct.DynexCN::tx_verification_context", align 1
  %12 = alloca %"class.boost::value_initialized.87", align 1
  %13 = alloca %"class.Logging::LoggerMessage", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.91", align 8
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %5) #8
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  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) %15, i32 noundef 5, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %16 = 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) %3)
          to label %17 unwind label %22

17:                                               ; preds = %4
  %18 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA24_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %16, ptr noundef nonnull align 1 dereferenceable(24) @.str.36)
          to label %19 unwind label %22

19:                                               ; preds = %17
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %5) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %5) #8
  %20 = getelementptr inbounds i8, ptr %3, i64 40
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %.not = icmp eq i32 %21, 3
  br i1 %.not, label %24, label %99

22:                                               ; preds = %17, %4
  %23 = landingpad { ptr, i32 }
          cleanup
  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 %100

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %25 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %25, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %26 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %26, ptr %7, align 8
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %27, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %24
  %28 = getelementptr inbounds i8, ptr %0, i64 64
  %29 = getelementptr inbounds i8, ptr %11, i64 1
  br label %31

._crit_edge:                                      ; preds = %90, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %30 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %.not18 = icmp eq i64 %30, 0
  br i1 %.not18, label %99, label %95

31:                                               ; preds = %.lr.ph, %90
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @_ZN6Common13asBinaryArrayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.33") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %32)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %33 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  %34 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  invoke void @_ZN6Crypto12cn_fast_hashEPKvm(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %9, ptr noundef %33, i64 noundef %34)
          to label %35 unwind label %60

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %10) #8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %15, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %36 unwind label %62

36:                                               ; preds = %35
  %37 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA13_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %10, ptr noundef nonnull align 1 dereferenceable(13) @.str.32)
          to label %38 unwind label %64

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto4HashEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %37, ptr noundef nonnull align 1 dereferenceable(32) %9)
          to label %40 unwind label %64

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA33_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %39, ptr noundef nonnull align 1 dereferenceable(33) @.str.37)
          to label %42 unwind label %64

42:                                               ; preds = %40
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %12) #8
  invoke void @_ZN5boost17value_initializedIN7DynexCN23tx_verification_contextEEC2Ev(ptr noundef nonnull align 1 dereferenceable(5) %12)
          to label %43 unwind label %67

43:                                               ; preds = %42
  %44 = invoke noundef nonnull align 1 dereferenceable(5) ptr @_ZN5boost17value_initializedIN7DynexCN23tx_verification_contextEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(5) %12)
          to label %45 unwind label %67

45:                                               ; preds = %43
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %11, ptr noundef nonnull align 1 dereferenceable(5) %44, i64 5, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %12) #8
  %46 = load ptr, ptr %28, align 8, !tbaa !27
  %47 = load ptr, ptr %46, align 8, !tbaa !49
  %48 = getelementptr inbounds i8, ptr %47, i64 160
  %49 = load ptr, ptr %48, align 8
  %50 = invoke noundef zeroext i1 %49(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(5) %11, i1 noundef zeroext false)
          to label %51 unwind label %69

51:                                               ; preds = %45
  %52 = load i8, ptr %29, align 1, !tbaa !51, !range !53, !noundef !54
  %53 = trunc nuw i8 %52 to i1
  br i1 %53, label %54, label %76

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %13) #8
  invoke 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) %15, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
          to label %55 unwind label %71

55:                                               ; preds = %54
  %56 = 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) %3)
          to label %57 unwind label %73

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA23_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %56, ptr noundef nonnull align 1 dereferenceable(23) @.str.38)
          to label %59 unwind label %73

59:                                               ; preds = %57
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %13) #8
  %.pre = load i8, ptr %29, align 1, !tbaa !51, !range !53
  br label %76

60:                                               ; preds = %31
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %94

62:                                               ; preds = %35
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %66

64:                                               ; preds = %40, %38, %36
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  br label %66

66:                                               ; preds = %64, %62
  %.pn = phi { ptr, i32 } [ %65, %64 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %10) #8
  br label %94

67:                                               ; preds = %43, %42
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %12) #8
  br label %93

69:                                               ; preds = %45
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %93

71:                                               ; preds = %54
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %57, %55
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  br label %75

75:                                               ; preds = %73, %71
  %.pn20 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %13) #8
  br label %93

76:                                               ; preds = %59, %51
  %77 = phi i8 [ %.pre, %59 ], [ %52, %51 ]
  %78 = trunc nuw i8 %77 to i1
  br i1 %78, label %84, label %79

79:                                               ; preds = %76
  %80 = load i8, ptr %11, align 1, !tbaa !55, !range !53, !noundef !54
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %82, label %84

82:                                               ; preds = %79
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br label %90

84:                                               ; preds = %79, %76
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEC2IPS6_vEERKNS0_IT_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %85 = load ptr, ptr %14, align 8
  %86 = invoke ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr %85)
          to label %87 unwind label %88

87:                                               ; preds = %84
  store ptr %86, ptr %6, align 8, !tbaa !56
  br label %90

88:                                               ; preds = %84
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %93

90:                                               ; preds = %87, %82
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %91 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %91, ptr %7, align 8
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %92, label %31, label %._crit_edge, !llvm.loop !57

93:                                               ; preds = %88, %75, %69, %67
  %.pn22 = phi { ptr, i32 } [ %89, %88 ], [ %.pn20, %75 ], [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %11) #8
  br label %94

94:                                               ; preds = %93, %66, %60
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %93 ], [ %.pn, %66 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %100

95:                                               ; preds = %._crit_edge
  %96 = getelementptr inbounds i8, ptr %0, i64 88
  %97 = load ptr, ptr %96, align 8, !tbaa !59
  %98 = getelementptr inbounds i8, ptr %3, i64 1
  call void @_ZN7DynexCN12_GLOBAL__N_117relay_post_notifyINS_23NOTIFY_NEW_TRANSACTIONSEEEvRNS_12IP2pEndpointERNT_7requestEPKN6Crypto4UuidE(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull %98)
  br label %99

99:                                               ; preds = %._crit_edge, %95, %19
  ret i32 1

100:                                              ; preds = %94, %22
  %.pn22.pn.pn = phi { ptr, i32 } [ %.pn22.pn, %94 ], [ %23, %22 ]
  resume { ptr, i32 } %.pn22.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

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

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

declare void @_ZN6Common13asBinaryArrayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector.33") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Crypto12cn_fast_hashEPKvm(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7DynexCN12_GLOBAL__N_117relay_post_notifyINS_23NOTIFY_NEW_TRANSACTIONSEEEvRNS_12IP2pEndpointERNT_7requestEPKN6Crypto4UuidE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = { 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 = !{i64 0, i64 1, !26, i64 1, i64 1, !26, i64 2, i64 1, !26, i64 3, i64 1, !26, i64 4, i64 1, !26}
!26 = !{!11, !11, i64 0}
!27 = !{!28, !19, i64 64}
!28 = !{!"_ZTSN7DynexCN22DynexCNProtocolHandlerE", !29, i64 0, !30, i64 8, !31, i64 16, !19, i64 56, !19, i64 64, !19, i64 72, !34, i64 80, !19, i64 88, !36, i64 96, !36, i64 97, !38, i64 104, !40, i64 144, !10, i64 184, !40, i64 192, !10, i64 232, !42, i64 240, !44, i64 248}
!29 = !{!"_ZTSN7DynexCN13i_cn_protocolE"}
!30 = !{!"_ZTSN7DynexCN21IDynexCNProtocolQueryE"}
!31 = !{!"_ZTSN7Logging9LoggerRefE", !19, i64 0, !32, i64 8}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !33, i64 0, !12, i64 8, !7, i64 16}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!34 = !{!"_ZTSN7DynexCN17p2p_endpoint_stubE", !35, i64 0}
!35 = !{!"_ZTSN7DynexCN12IP2pEndpointE"}
!36 = !{!"_ZTSSt6atomicIbE", !37, i64 0}
!37 = !{!"_ZTSSt13__atomic_baseIbE", !11, i64 0}
!38 = !{!"_ZTSSt15recursive_mutex", !39, i64 0}
!39 = !{!"_ZTSSt22__recursive_mutex_base", !7, i64 0}
!40 = !{!"_ZTSSt5mutex", !41, i64 0}
!41 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!42 = !{!"_ZTSSt6atomicImE", !43, i64 0}
!43 = !{!"_ZTSSt13__atomic_baseImE", !12, i64 0}
!44 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN24IDynexCNProtocolObserverEEE", !45, i64 0, !40, i64 24}
!45 = !{!"_ZTSSt6vectorIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN24IDynexCNProtocolObserverESaIS2_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!49 = !{!50, !50, i64 0}
!50 = !{!"vtable pointer", !8, i64 0}
!51 = !{!52, !11, i64 1}
!52 = !{!"_ZTSN7DynexCN23tx_verification_contextE", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!52, !11, i64 0}
!56 = !{!19, !19, i64 0}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = !{!28, !19, i64 88}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass