; LLVM IR from dynexcoin/Dynex :: src/DynexCNCore (TransactionPool)

; 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.140" = type { ptr }
%"struct.std::__detail::_Node_iterator.146" = type { %"struct.std::__detail::_Node_iterator_base.147" }
%"struct.std::__detail::_Node_iterator_base.147" = type { ptr }
%"struct.std::__detail::_Node_iterator.113" = type { %"struct.std::__detail::_Node_iterator_base.114" }
%"struct.std::__detail::_Node_iterator_base.114" = type { ptr }
%"struct.std::pair.150" = type { i64, i64 }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.78", %"class.std::vector.83", %"class.std::vector.88" }
%"class.std::vector.78" = type { %"struct.std::_Vector_base.79" }
%"struct.std::_Vector_base.79" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = 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 }
%"class.DynexCN::tx_memory_pool" = type { %"class.Tools::ObserverManager", ptr, ptr, %"class.DynexCN::OnceInTimeInterval", %"class.std::recursive_mutex", %"class.std::unordered_map", %"class.std::set", %"class.std::__cxx11::basic_string", ptr, ptr, %"class.boost::multi_index::multi_index_container", ptr, %"class.std::unordered_map.34", %"class.Logging::LoggerRef", %"class.DynexCN::PaymentIdIndex", %"class.DynexCN::AddressIndex", %"class.DynexCN::TimestampTransactionsIndex" }
%"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::ITxPoolObserver *, std::allocator<DynexCN::ITxPoolObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::ITxPoolObserver *, std::allocator<DynexCN::ITxPoolObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::ITxPoolObserver *, std::allocator<DynexCN::ITxPoolObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::ITxPoolObserver *, std::allocator<DynexCN::ITxPoolObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.DynexCN::OnceInTimeInterval" = type { i64, i32, ptr }
%"class.std::recursive_mutex" = type { %"class.std::__recursive_mutex_base" }
%"class.std::__recursive_mutex_base" = type { %union.pthread_mutex_t }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.13" }
%"class.std::_Hashtable.13" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<unsigned long, unsigned long>, std::pair<unsigned long, unsigned long>, std::_Identity<std::pair<unsigned long, unsigned long>>, std::less<std::pair<unsigned long, unsigned long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned long, unsigned long>, std::pair<unsigned long, unsigned long>, std::_Identity<std::pair<unsigned long, unsigned long>>, std::less<std::pair<unsigned long, unsigned long>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.boost::multi_index::multi_index_container" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder", %"class.boost::multi_index::detail::hashed_index", i64 }
%"struct.boost::multi_index::detail::header_holder" = type { ptr }
%"class.boost::multi_index::detail::hashed_index" = type { [8 x i8], %"class.boost::multi_index::detail::bucket_array", float, i64 }
%"class.boost::multi_index::detail::bucket_array" = type { i64, %"struct.boost::multi_index::detail::auto_space" }
%"struct.boost::multi_index::detail::auto_space" = type { [8 x i8], i64, ptr }
%"class.std::unordered_map.34" = type { %"class.std::_Hashtable.35" }
%"class.std::_Hashtable.35" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.DynexCN::PaymentIdIndex" = type <{ %"class.std::unordered_multimap", i8, [7 x i8] }>
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.48" }
%"class.std::_Hashtable.48" = type { %"struct.std::__detail::_Hashtable_base.49", ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hashtable_base.49" = type { %"struct.std::__detail::_Hash_code_base.50" }
%"struct.std::__detail::_Hash_code_base.50" = type { %"struct.std::__detail::_Hashtable_ebo_helper.51" }
%"struct.std::__detail::_Hashtable_ebo_helper.51" = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.DynexCN::AddressIndex" = type <{ %"class.std::multimap", i8, [7 x i8] }>
%"class.std::multimap" = type { %"class.std::_Rb_tree.62" }
%"class.std::_Rb_tree.62" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Crypto::Hash>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Crypto::Hash>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Crypto::Hash>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Crypto::Hash>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.DynexCN::TimestampTransactionsIndex" = type <{ %"class.std::multimap.67", i8, [7 x i8] }>
%"class.std::multimap.67" = type { %"class.std::_Rb_tree.68" }
%"class.std::_Rb_tree.68" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, Crypto::Hash>, std::_Select1st<std::pair<const unsigned long, Crypto::Hash>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, Crypto::Hash>, std::_Select1st<std::pair<const unsigned long, Crypto::Hash>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.DynexCN::KeyInput" = type { i64, %"class.std::vector.141", %"struct.Crypto::KeyImage" }
%"class.std::vector.141" = type { %"struct.std::_Vector_base.142" }
%"struct.std::_Vector_base.142" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"struct.std::pair.148" = type { %"struct.Crypto::KeyImage", %"class.std::unordered_set" }
%"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.DynexCN::MultisignatureInput" = type { i64, i8, i32 }

@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTIN7DynexCN8KeyInputE = external dso_local constant { ptr, ptr }, align 8
@.str.65 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [48 x i8], align 1
@_ZTIN7DynexCN19MultisignatureInputE = external dso_local constant { ptr, ptr }, align 8
@.str.69 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb = external hidden unnamed_addr constant [103 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 @_ZStlsIN7Logging13LoggerMessageEA53_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161), ptr noundef nonnull align 1 dereferenceable(53)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 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)) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb(ptr noundef nonnull align 8 dereferenceable(688) %0, ptr noundef nonnull align 1 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(112) %2, i1 noundef zeroext %3) #6 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 ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %17 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %18 = alloca %"class.Logging::LoggerMessage", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %"class.Logging::LoggerMessage", align 8
  %23 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %24 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %25 = alloca %"class.Logging::LoggerMessage", align 8
  %26 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %27 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %28 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %29 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.std::pair.150", 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
  %32 = zext i1 %3 to i8
  store i8 %32, ptr %9, align 1, !tbaa !9
  %33 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %34, i32 0, i32 2
  store ptr %35, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #9
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %11, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %12, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  br label %42

42:                                               ; preds = %194, %4
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %43, label %45, label %44

44:                                               ; preds = %42
  store i32 2, ptr %13, align 4
  br label %196

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %46 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  store ptr %46, ptr %14, align 8, !tbaa !5
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %47)
  %49 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #9
  br i1 %49, label %50, label %165

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  %52 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %51)
  store ptr %52, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %53 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 5
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %54, i32 0, i32 2
  %56 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef nonnull align 1 dereferenceable(32) %55)
  %57 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.146", ptr %16, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.147", ptr %57, i32 0, i32 0
  store ptr %56, ptr %58, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %59 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 5
  %60 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %59) #9
  %61 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.146", ptr %17, i32 0, i32 0
  %62 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.147", ptr %61, i32 0, i32 0
  store ptr %60, ptr %62, align 8
  %63 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto8KeyImageESt13unordered_setINS2_4HashESt4hashIS6_ESt8equal_toIS6_ESaIS6_EEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %64 = xor i1 %63, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br i1 %64, label %65, label %84

65:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 432, ptr %18) #9
  %66 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 13
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %18, ptr noundef nonnull align 8 dereferenceable(40) %66, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %67 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA53_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %18, ptr noundef nonnull align 1 dereferenceable(53) @.str.65)
          to label %68 unwind label %80

68:                                               ; preds = %65
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %69, i32 0, i32 2
  %71 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %67, ptr noundef nonnull align 1 dereferenceable(32) %70)
          to label %72 unwind label %80

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

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @.str.66)
          to label %76 unwind label %80

76:                                               ; preds = %74
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 1 dereferenceable(32) %77)
          to label %79 unwind label %80

79:                                               ; preds = %76
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #9
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %160

80:                                               ; preds = %76, %74, %72, %68, %65
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %19, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %20, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #9
  br label %164

84:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %85 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto8KeyImageESt13unordered_setINS2_4HashESt4hashIS6_ESt8equal_toIS6_ESaIS6_EEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  %86 = getelementptr inbounds %"struct.std::pair.148", ptr %85, i32 0, i32 1
  store ptr %86, ptr %21, align 8, !tbaa !5
  %87 = load ptr, ptr %21, align 8, !tbaa !5
  %88 = call noundef zeroext i1 @_ZNKSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %87) #9
  br i1 %88, label %89, label %108

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 432, ptr %22) #9
  %90 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 13
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %22, ptr noundef nonnull align 8 dereferenceable(40) %90, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %91 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %22, ptr noundef nonnull align 1 dereferenceable(26) @.str.67)
          to label %92 unwind label %104

92:                                               ; preds = %89
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %93, i32 0, i32 2
  %95 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %91, ptr noundef nonnull align 1 dereferenceable(32) %94)
          to label %96 unwind label %104

96:                                               ; preds = %92
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %98 unwind label %104

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @.str.66)
          to label %100 unwind label %104

100:                                              ; preds = %98
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 1 dereferenceable(32) %101)
          to label %103 unwind label %104

103:                                              ; preds = %100
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %22) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %22) #9
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %159

104:                                              ; preds = %100, %98, %96, %92, %89
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %19, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %20, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %22) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %22) #9
  br label %163

108:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %109, ptr noundef nonnull align 1 dereferenceable(32) %110)
  %112 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.113", ptr %23, i32 0, i32 0
  %113 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.114", ptr %112, i32 0, i32 0
  store ptr %111, ptr %113, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %114 = load ptr, ptr %21, align 8, !tbaa !5
  %115 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %114) #9
  %116 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.113", ptr %24, i32 0, i32 0
  %117 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.114", ptr %116, i32 0, i32 0
  store ptr %115, ptr %117, align 8
  %118 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %119 = xor i1 %118, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br i1 %119, label %120, label %139

120:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 432, ptr %25) #9
  %121 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 13
  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) %121, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %122 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA48_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %25, ptr noundef nonnull align 1 dereferenceable(48) @.str.68)
          to label %123 unwind label %135

123:                                              ; preds = %120
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %124, i32 0, i32 2
  %126 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %122, ptr noundef nonnull align 1 dereferenceable(32) %125)
          to label %127 unwind label %135

127:                                              ; preds = %123
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %129 unwind label %135

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef @.str.66)
          to label %131 unwind label %135

131:                                              ; preds = %129
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 1 dereferenceable(32) %132)
          to label %134 unwind label %135

134:                                              ; preds = %131
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %25) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %25) #9
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %158

135:                                              ; preds = %131, %129, %127, %123, %120
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %19, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %20, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %25) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %163

139:                                              ; preds = %108
  %140 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %23, i64 8, i1 false)
  %141 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.113", ptr %26, i32 0, i32 0
  %142 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.114", ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8
  %144 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5eraseENSt8__detail14_Node_iteratorIS1_Lb1ELb1EEE(ptr noundef nonnull align 8 dereferenceable(56) %140, ptr %143)
  %145 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.113", ptr %27, i32 0, i32 0
  %146 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.114", ptr %145, i32 0, i32 0
  store ptr %144, ptr %146, align 8
  %147 = load ptr, ptr %21, align 8, !tbaa !5
  %148 = call noundef zeroext i1 @_ZNKSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %147) #9
  br i1 %148, label %149, label %157

149:                                              ; preds = %139
  %150 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %16, i64 8, i1 false)
  %151 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.146", ptr %28, i32 0, i32 0
  %152 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.147", ptr %151, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8
  %154 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE5eraseENSt8__detail14_Node_iteratorISE_Lb0ELb1EEE(ptr noundef nonnull align 8 dereferenceable(56) %150, ptr %153)
  %155 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.146", ptr %29, i32 0, i32 0
  %156 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.147", ptr %155, i32 0, i32 0
  store ptr %154, ptr %156, align 8
  br label %157

157:                                              ; preds = %149, %139
  store i32 0, ptr %13, align 4
  br label %158

158:                                              ; preds = %157, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %159

159:                                              ; preds = %158, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %160

160:                                              ; preds = %159, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  %161 = load i32, ptr %13, align 4
  switch i32 %161, label %191 [
    i32 0, label %162
  ]

162:                                              ; preds = %160
  br label %190

163:                                              ; preds = %135, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %164

164:                                              ; preds = %163, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %201

165:                                              ; preds = %45
  %166 = load ptr, ptr %14, align 8, !tbaa !5
  %167 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %166)
  %168 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #9
  br i1 %168, label %169, label %189

169:                                              ; preds = %165
  %170 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %171 = trunc i8 %170 to i1
  br i1 %171, label %188, label %172

172:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %173 = load ptr, ptr %14, align 8, !tbaa !5
  %174 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost3getIN7DynexCN19MultisignatureInputENS1_9BaseInputEJNS1_8KeyInputES2_EEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %173)
  store ptr %174, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #9
  %175 = load ptr, ptr %30, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %30, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %177, i32 0, i32 2
  call void @_ZNSt4pairImmEC2IRKmRKjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(8) %176, ptr noundef nonnull align 4 dereferenceable(4) %178)
  %179 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 6
  %180 = call noundef i64 @_ZNKSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %179, ptr noundef nonnull align 8 dereferenceable(16) %31)
  %181 = icmp ne i64 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %172
  br label %185

183:                                              ; preds = %172
  call void @__assert_fail(ptr noundef @.str.69, ptr noundef @.str.70, i32 noundef 637, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb) #10
  unreachable

184:                                              ; No predecessors!
  br label %185

185:                                              ; preds = %184, %182
  %186 = getelementptr inbounds %"class.DynexCN::tx_memory_pool", ptr %33, i32 0, i32 6
  %187 = call noundef i64 @_ZNSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %186, ptr noundef nonnull align 8 dereferenceable(16) %31)
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %188

188:                                              ; preds = %185, %169
  br label %189

189:                                              ; preds = %188, %165
  br label %190

190:                                              ; preds = %189, %162
  store i32 0, ptr %13, align 4
  br label %191

191:                                              ; preds = %190, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %192 = load i32, ptr %13, align 4
  switch i32 %192, label %196 [
    i32 0, label %193
  ]

193:                                              ; preds = %191
  br label %194

194:                                              ; preds = %193
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  br label %42

196:                                              ; preds = %191, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  %197 = load i32, ptr %13, align 4
  switch i32 %197, label %206 [
    i32 2, label %198
    i32 1, label %199
  ]

198:                                              ; preds = %196
  store i1 true, ptr %5, align 1
  br label %199

199:                                              ; preds = %198, %196
  %200 = load i1, ptr %5, align 1
  ret i1 %200

201:                                              ; preds = %164
  %202 = load ptr, ptr %19, align 8
  %203 = load i32, ptr %20, align 4
  %204 = insertvalue { ptr, i32 } poison, ptr %202, 0
  %205 = insertvalue { ptr, i32 } %204, i32 %203, 1
  resume { ptr, i32 } %205

206:                                              ; preds = %196
  unreachable
}

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72)) #4

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) #6 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost3getIN7DynexCN19MultisignatureInputENS1_9BaseInputEJNS1_8KeyInputES2_EEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairImmEC2IRKmRKjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

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

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 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 #6 = { 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 #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 = { noreturn 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 #9 = { nounwind }
attributes #10 = { noreturn 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 = !{i8 0, i8 2}
!12 = !{}


; 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.140" = type { ptr }
%"struct.std::__detail::_Node_iterator.146" = type { %"struct.std::__detail::_Node_iterator_base.147" }
%"struct.std::__detail::_Node_iterator_base.147" = type { ptr }
%"struct.std::__detail::_Node_iterator.113" = type { %"struct.std::__detail::_Node_iterator_base.114" }
%"struct.std::__detail::_Node_iterator_base.114" = type { ptr }
%"struct.std::pair.150" = type { i64, i64 }

@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTIN7DynexCN8KeyInputE = external dso_local constant { ptr, ptr }, align 8
@.str.65 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [48 x i8], align 1
@_ZTIN7DynexCN19MultisignatureInputE = external dso_local constant { ptr, ptr }, align 8
@.str.69 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb = external hidden unnamed_addr constant [103 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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(32)) 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 #5 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
define dso_local noundef zeroext i1 @_ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb(ptr noundef nonnull align 8 dereferenceable(688) %0, ptr noundef nonnull align 1 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(112) %2, i1 noundef zeroext %3) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.146", align 8
  %9 = alloca %"class.Logging::LoggerMessage", align 8
  %10 = alloca %"class.Logging::LoggerMessage", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.113", align 8
  %13 = alloca %"class.Logging::LoggerMessage", align 8
  %14 = alloca %"struct.std::pair.150", align 8
  %15 = getelementptr inbounds i8, ptr %2, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %16 = tail call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  store ptr %16, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %17 = tail call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  store ptr %17, ptr %6, align 8
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %18, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %4
  %19 = getelementptr inbounds i8, ptr %0, i64 200
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  br label %21

21:                                               ; preds = %.lr.ph, %.critedge
  %22 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %22)
  %24 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #8
  br i1 %24, label %25, label %87

25:                                               ; preds = %21
  %26 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %27 = getelementptr inbounds i8, ptr %26, i64 32
  %28 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 1 dereferenceable(32) %27)
  store ptr %28, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %29 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  store ptr %29, ptr %8, align 8
  %30 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto8KeyImageESt13unordered_setINS2_4HashESt4hashIS6_ESt8equal_toIS6_ESaIS6_EEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br i1 %30, label %45, label %31

31:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %9) #8
  %32 = getelementptr inbounds i8, ptr %0, i64 440
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %33 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA53_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %9, ptr noundef nonnull align 1 dereferenceable(53) @.str.65)
          to label %34 unwind label %43

34:                                               ; preds = %31
  %35 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %33, ptr noundef nonnull align 1 dereferenceable(32) %27)
          to label %36 unwind label %43

36:                                               ; preds = %34
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %38 unwind label %43

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @.str.66)
          to label %40 unwind label %43

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 1 dereferenceable(32) %1)
          to label %42 unwind label %43

42:                                               ; preds = %40
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #8
  br label %.thread

43:                                               ; preds = %40, %38, %36, %34, %31
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #8
  br label %86

45:                                               ; preds = %25
  %46 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto8KeyImageESt13unordered_setINS2_4HashESt4hashIS6_ESt8equal_toIS6_ESaIS6_EEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %47 = getelementptr inbounds i8, ptr %46, i64 32
  %48 = call noundef zeroext i1 @_ZNKSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %47) #8
  br i1 %48, label %49, label %63

49:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %10) #8
  %50 = getelementptr inbounds i8, ptr %0, i64 440
  call 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) %50, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %51 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA26_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %10, ptr noundef nonnull align 1 dereferenceable(26) @.str.67)
          to label %52 unwind label %61

52:                                               ; preds = %49
  %53 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %51, ptr noundef nonnull align 1 dereferenceable(32) %27)
          to label %54 unwind label %61

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %56 unwind label %61

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull @.str.66)
          to label %58 unwind label %61

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

60:                                               ; preds = %58
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %10) #8
  br label %.thread

61:                                               ; preds = %58, %56, %54, %52, %49
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %10) #8
  br label %86

63:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %64 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 1 dereferenceable(32) %1)
  store ptr %64, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %65 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %47) #8
  store ptr %65, ptr %12, align 8
  %66 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br i1 %66, label %80, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %13) #8
  %68 = getelementptr inbounds i8, ptr %0, i64 440
  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) %68, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %69 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA48_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %13, ptr noundef nonnull align 1 dereferenceable(48) @.str.68)
          to label %70 unwind label %78

70:                                               ; preds = %67
  %71 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEN6Crypto8KeyImageEEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %69, ptr noundef nonnull align 1 dereferenceable(32) %27)
          to label %72 unwind label %78

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

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

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6CryptolsERSoRKNS_4HashE(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 1 dereferenceable(32) %1)
          to label %85 unwind label %78

78:                                               ; preds = %76, %74, %72, %70, %67
  %79 = 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
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %86

80:                                               ; preds = %63
  %.sroa.05.0.copyload = load ptr, ptr %11, align 8
  %81 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5eraseENSt8__detail14_Node_iteratorIS1_Lb1ELb1EEE(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr %.sroa.05.0.copyload)
  %82 = call noundef zeroext i1 @_ZNKSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %47) #8
  br i1 %82, label %83, label %.thread49

83:                                               ; preds = %80
  %.sroa.03.0.copyload = load ptr, ptr %7, align 8
  %84 = call ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE5eraseENSt8__detail14_Node_iteratorISE_Lb0ELb1EEE(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr %.sroa.03.0.copyload)
  br label %.thread49

.thread:                                          ; preds = %42, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %.loopexit

.thread49:                                        ; preds = %83, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %.critedge

85:                                               ; preds = %76
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %.loopexit

86:                                               ; preds = %61, %78, %43
  %.pn43 = phi { ptr, i32 } [ %44, %43 ], [ %62, %61 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn43

87:                                               ; preds = %21
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %22)
  %89 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #8
  %.not45 = xor i1 %89, true
  %brmerge = or i1 %.not45, %3
  br i1 %brmerge, label %.critedge, label %90

90:                                               ; preds = %87
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost3getIN7DynexCN19MultisignatureInputENS1_9BaseInputEJNS1_8KeyInputES2_EEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %92 = getelementptr inbounds i8, ptr %91, i64 12
  call void @_ZNSt4pairImmEC2IRKmRKjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS7_S8_EEEbE4typeELb1EEEOS7_OS8_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 4 dereferenceable(4) %92)
  %93 = call noundef i64 @_ZNKSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(16) %14)
  %.not = icmp eq i64 %93, 0
  br i1 %.not, label %94, label %95

94:                                               ; preds = %90
  call void @__assert_fail(ptr noundef nonnull @.str.69, ptr noundef nonnull @.str.70, i32 noundef 637, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN14tx_memory_pool23removeTransactionInputsERKN6Crypto4HashERKNS_11TransactionEb) #9
  unreachable

95:                                               ; preds = %90
  %96 = call noundef i64 @_ZNSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(16) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %.critedge

.critedge:                                        ; preds = %.thread49, %87, %95
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %98, label %21, label %.loopexit

.loopexit:                                        ; preds = %.critedge, %4, %85, %.thread
  %switch = phi i1 [ false, %85 ], [ false, %.thread ], [ true, %4 ], [ true, %.critedge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  ret i1 %switch
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIN6Crypto8KeyImageESt13unordered_setINS0_4HashESt4hashIS3_ESt8equal_toIS3_ESaIS3_EES4_IS1_ES6_IS1_ESaISt4pairIKS1_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5 align 2

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

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

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

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

; 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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN5boost3getIN7DynexCN19MultisignatureInputENS1_9BaseInputEJNS1_8KeyInputES2_EEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt3setISt4pairImmESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn 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 #8 = { nounwind }
attributes #9 = { noreturn 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass