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

; 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.38 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.38 = 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 }
%"struct.DynexCN::Blockchain::TransactionIndex" = type { i32, i16 }
%"struct.std::pair" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.239" = type { %"struct.Crypto::Hash", %"struct.DynexCN::Blockchain::TransactionIndex" }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.std::pair.390" = type <{ %"class.boost::multi_index::detail::hashed_index_iterator", i8, [7 x i8] }>
%"class.boost::multi_index::detail::hashed_index_iterator" = type { ptr }
%"struct.DynexCN::Blockchain::SpentKeyImage" = type { i32, %"struct.Crypto::KeyImage" }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"class.__gnu_cxx::__normal_iterator.393" = type { ptr }
%"struct.std::pair.258" = type <{ %"struct.DynexCN::Blockchain::TransactionIndex", i16, [2 x i8] }>
%"struct.DynexCN::Blockchain::MultisignatureOutputUsage" = type { %"struct.DynexCN::Blockchain::TransactionIndex", i16, i8 }
%"class.DynexCN::Blockchain" = type <{ %"class.DynexCN::ITransactionValidator", %"class.DynexCN::IDynexCNProtocolObserver", i8, [7 x i8], %"class.std::unordered_map", ptr, ptr, %"class.std::recursive_mutex", %"class.Crypto::cn_context", %"class.Tools::ObserverManager", %"class.boost::multi_index::multi_index_container", i64, %"class.std::unordered_map.14", %"class.google::sparse_hash_map", %"class.std::__cxx11::basic_string", %"class.DynexCN::Checkpoints", %"struct.std::atomic", [7 x i8], %class.SwappedVector, %"class.DynexCN::BlockIndex", %"class.std::unordered_map.66", %"class.google::sparse_hash_map.80", %"class.DynexCN::BasicUpgradeDetector", %"class.DynexCN::BasicUpgradeDetector", %"class.DynexCN::BasicUpgradeDetector", %"class.DynexCN::PaymentIdIndex", %"class.DynexCN::AddressIndex", %"class.DynexCN::TimestampBlocksIndex", %"class.DynexCN::GeneratedTransactionsIndex", %"class.DynexCN::OrphanBlocksIndex", i8, [7 x i8], %"class.DynexCN::IntrusiveLinkedList", %"class.Logging::LoggerRef", i32, [4 x i8] }>
%"class.DynexCN::ITransactionValidator" = type { ptr }
%"class.DynexCN::IDynexCNProtocolObserver" = type { ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::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.Crypto::cn_context" = type { ptr }
%"class.Tools::ObserverManager" = type { %"class.std::vector.9", %"class.std::mutex" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainStorageObserver *, std::allocator<DynexCN::IBlockchainStorageObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IBlockchainStorageObserver *, std::allocator<DynexCN::IBlockchainStorageObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainStorageObserver *, std::allocator<DynexCN::IBlockchainStorageObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IBlockchainStorageObserver *, std::allocator<DynexCN::IBlockchainStorageObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%"class.boost::multi_index::multi_index_container" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder", %"class.boost::multi_index::detail::ordered_index.base", i64 }
%"struct.boost::multi_index::detail::header_holder" = type { ptr }
%"class.boost::multi_index::detail::ordered_index.base" = type { %"class.boost::multi_index::detail::ordered_index_impl.base" }
%"class.boost::multi_index::detail::ordered_index_impl.base" = type <{ %"class.boost::multi_index::detail::hashed_index", [2 x i8] }>
%"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.14" = type { %"class.std::_Hashtable.15" }
%"class.std::_Hashtable.15" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.google::sparse_hash_map" = type { %"class.google::sparse_hashtable" }
%"class.google::sparse_hashtable" = type { %"struct.google::sparse_hashtable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>::Settings", %"class.google::sparse_hashtable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>::KeyInfo", i64, %"class.google::sparsetable" }
%"struct.google::sparse_hashtable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>::Settings" = type { %class.sh_hashtable_settings }
%class.sh_hashtable_settings = type { i64, i64, float, float, i8, i8, i8, i32 }
%"class.google::sparse_hashtable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>::KeyInfo" = type { i64 }
%"class.google::sparsetable" = type { %"class.std::vector.31", %"class.google::sparsetable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>::Settings" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.google::sparsetable<std::pair<const unsigned long, std::vector<std::pair<DynexCN::Blockchain::TransactionIndex, unsigned short>>>>::Settings" = type { i64, i64 }
%"class.DynexCN::Checkpoints" = type { %"class.std::map", %"class.Logging::LoggerRef" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Crypto::Hash>, std::_Select1st<std::pair<const unsigned int, Crypto::Hash>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, Crypto::Hash>, std::_Select1st<std::pair<const unsigned int, Crypto::Hash>>, std::less<unsigned int>>::_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 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%class.SwappedVector = type { %"class.std::basic_fstream", %"class.std::basic_fstream", i64, %"class.std::vector.43", i64, %"class.std::map.48", %"class.std::__cxx11::list", i64, i64 }
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.42 }
%union.anon.42 = type { i32 }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.48" = type { %"class.std::_Rb_tree.49" }
%"class.std::_Rb_tree.49" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, SwappedVector<DynexCN::Blockchain::BlockEntry>::ItemEntry>, std::_Select1st<std::pair<const unsigned long, SwappedVector<DynexCN::Blockchain::BlockEntry>::ItemEntry>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, SwappedVector<DynexCN::Blockchain::BlockEntry>::ItemEntry>, std::_Select1st<std::pair<const unsigned long, SwappedVector<DynexCN::Blockchain::BlockEntry>::ItemEntry>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<SwappedVector<DynexCN::Blockchain::BlockEntry>::CacheEntry, std::allocator<SwappedVector<DynexCN::Blockchain::BlockEntry>::CacheEntry>>::_List_impl" }
%"struct.std::__cxx11::_List_base<SwappedVector<DynexCN::Blockchain::BlockEntry>::CacheEntry, std::allocator<SwappedVector<DynexCN::Blockchain::BlockEntry>::CacheEntry>>::_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.DynexCN::BlockIndex" = type { %"class.boost::multi_index::multi_index_container.57", ptr }
%"class.boost::multi_index::multi_index_container.57" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder.59", %"class.boost::multi_index::detail::random_access_index", i64 }
%"struct.boost::multi_index::detail::header_holder.59" = type { ptr }
%"class.boost::multi_index::detail::random_access_index" = type { %"class.boost::multi_index::detail::hashed_index.60", %"class.boost::multi_index::detail::random_access_index_ptr_array" }
%"class.boost::multi_index::detail::hashed_index.60" = type { [8 x i8], %"class.boost::multi_index::detail::bucket_array.63", float, i64 }
%"class.boost::multi_index::detail::bucket_array.63" = type { i64, %"struct.boost::multi_index::detail::auto_space.64" }
%"struct.boost::multi_index::detail::auto_space.64" = type { [8 x i8], i64, ptr }
%"class.boost::multi_index::detail::random_access_index_ptr_array" = type { i64, i64, %"struct.boost::multi_index::detail::auto_space.65" }
%"struct.boost::multi_index::detail::auto_space.65" = type { [8 x i8], i64, ptr }
%"class.std::unordered_map.66" = type { %"class.std::_Hashtable.67" }
%"class.std::_Hashtable.67" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.google::sparse_hash_map.80" = type { %"class.google::sparse_hashtable.81" }
%"class.google::sparse_hashtable.81" = type { %"struct.google::sparse_hashtable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>::Settings", %"class.google::sparse_hashtable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>::KeyInfo", i64, %"class.google::sparsetable.82" }
%"struct.google::sparse_hashtable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>::Settings" = type { %class.sh_hashtable_settings }
%"class.google::sparse_hashtable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, unsigned long, std::hash<unsigned long>, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SelectKey, google::sparse_hash_map<unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>::SetKey, std::equal_to<unsigned long>, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>::KeyInfo" = type { i64 }
%"class.google::sparsetable.82" = type { %"class.std::vector.83", %"class.google::sparsetable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>::Settings" }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>, google::libc_allocator_with_realloc<google::sparsegroup<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>, 48, google::libc_allocator_with_realloc<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.google::sparsetable<std::pair<const unsigned long, std::vector<DynexCN::Blockchain::MultisignatureOutputUsage>>>::Settings" = type { i64, i64 }
%"class.DynexCN::BasicUpgradeDetector" = type { %"class.Logging::LoggerRef", ptr, ptr, i8, i32 }
%"class.DynexCN::PaymentIdIndex" = type <{ %"class.std::unordered_multimap", i8, [7 x i8] }>
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.89" }
%"class.std::_Hashtable.89" = type { %"struct.std::__detail::_Hashtable_base.90", ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hashtable_base.90" = type { %"struct.std::__detail::_Hash_code_base.91" }
%"struct.std::__detail::_Hash_code_base.91" = type { %"struct.std::__detail::_Hashtable_ebo_helper.92" }
%"struct.std::__detail::_Hashtable_ebo_helper.92" = 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.103" }
%"class.std::_Rb_tree.103" = 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::TimestampBlocksIndex" = type <{ %"class.std::multimap.108", i8, [7 x i8] }>
%"class.std::multimap.108" = type { %"class.std::_Rb_tree.109" }
%"class.std::_Rb_tree.109" = 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" }
%"class.DynexCN::GeneratedTransactionsIndex" = type <{ %"class.std::unordered_map.113", i64, i8, [7 x i8] }>
%"class.std::unordered_map.113" = type { %"class.std::_Hashtable.114" }
%"class.std::_Hashtable.114" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.DynexCN::OrphanBlocksIndex" = type <{ %"class.std::unordered_multimap.133", i8, [7 x i8] }>
%"class.std::unordered_multimap.133" = type { %"class.std::_Hashtable.134" }
%"class.std::_Hashtable.134" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.DynexCN::IntrusiveLinkedList" = type { ptr, ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"struct.DynexCN::Blockchain::BlockEntry" = type { %"struct.DynexCN::Block", i32, i64, i64, i64, %"class.std::vector.227" }
%"struct.DynexCN::Block" = type { %"struct.DynexCN::BlockHeader", %"struct.DynexCN::ParentBlock", %"struct.DynexCN::Transaction", %"class.std::vector.147" }
%"struct.DynexCN::BlockHeader" = type { i8, i8, i32, i64, %"struct.Crypto::Hash" }
%"struct.DynexCN::ParentBlock" = type { i8, i8, %"struct.Crypto::Hash", i16, %"class.std::vector.147", %"struct.DynexCN::Transaction", %"class.std::vector.147" }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.167" }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.152", %"class.std::vector.157", %"class.std::vector.162" }
%"class.std::vector.152" = type { %"struct.std::_Vector_base.153" }
%"struct.std::_Vector_base.153" = 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.157" = type { %"struct.std::_Vector_base.158" }
%"struct.std::_Vector_base.158" = 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.162" = type { %"struct.std::_Vector_base.163" }
%"struct.std::_Vector_base.163" = 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.std::vector.167" = type { %"struct.std::_Vector_base.168" }
%"struct.std::_Vector_base.168" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.147" = type { %"struct.std::_Vector_base.148" }
%"struct.std::_Vector_base.148" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.227" = type { %"struct.std::_Vector_base.228" }
%"struct.std::_Vector_base.228" = type { %"struct.std::_Vector_base<DynexCN::Blockchain::TransactionEntry, std::allocator<DynexCN::Blockchain::TransactionEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::Blockchain::TransactionEntry, std::allocator<DynexCN::Blockchain::TransactionEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::Blockchain::TransactionEntry, std::allocator<DynexCN::Blockchain::TransactionEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::Blockchain::TransactionEntry, std::allocator<DynexCN::Blockchain::TransactionEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::Blockchain::TransactionEntry" = type { %"struct.DynexCN::Transaction", %"class.std::vector.234" }
%"class.std::vector.234" = type { %"struct.std::_Vector_base.235" }
%"struct.std::_Vector_base.235" = 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.DynexCN::KeyInput" = type { i64, %"class.std::vector.234", %"struct.Crypto::KeyImage" }
%"struct.DynexCN::MultisignatureInput" = type { i64, i8, i32 }
%"struct.DynexCN::TransactionOutput" = type { i64, %"class.boost::variant.255" }
%"class.boost::variant.255" = type { i32, [4 x i8], %"class.boost::aligned_storage.256" }
%"class.boost::aligned_storage.256" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.257" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.257" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" = type { [32 x i8] }

@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTIN7DynexCN8KeyInputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN19MultisignatureInputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN9KeyOutputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN20MultisignatureOutputE = external dso_local constant { ptr, ptr }, align 8
@.str.232 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [54 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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7DynexCN10Blockchain32check_tx_inputs_keyimages_domainERKN6Crypto8KeyImageE(ptr noundef nonnull align 8 dereferenceable(2636), ptr noundef nonnull align 1 dereferenceable(32)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE6insertIS9_IS1_S4_EEENSt9enable_ifIXsr16is_constructibleISB_OT_EE5valueES9_INSt8__detail14_Node_iteratorISB_Lb0ELb1EEEbEE4typeESI_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(40)) #5 align 2

declare noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72)) #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)) #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)) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 2 dereferenceable(2)) #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7DynexCN10Blockchain15pushTransactionERNS0_10BlockEntryERKN6Crypto4HashENS0_16TransactionIndexE(ptr noundef nonnull align 8 dereferenceable(2636) %0, ptr noundef nonnull align 8 dereferenceable(440) %1, ptr noundef nonnull align 1 dereferenceable(32) %2, i64 %3) #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca %"struct.DynexCN::Blockchain::TransactionIndex", align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::pair", align 8
  %11 = alloca %"struct.std::pair.239", align 4
  %12 = alloca { ptr, i8 }, align 8
  %13 = alloca %"class.Logging::LoggerMessage", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.Logging::LoggerMessage", align 8
  %19 = alloca i64, align 8
  %20 = alloca %"struct.std::pair.390", align 8
  %21 = alloca %"struct.DynexCN::Blockchain::SpentKeyImage", align 4
  %22 = alloca { ptr, i8 }, align 8
  %23 = alloca %"class.Logging::LoggerMessage", align 8
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.boost::multi_index::detail::hashed_index_iterator", align 8
  %27 = alloca %"class.boost::multi_index::detail::hashed_index_iterator", align 8
  %28 = alloca %"class.boost::multi_index::detail::hashed_index_iterator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.393", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.393", align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i16, align 2
  %36 = alloca ptr, align 8
  %37 = alloca %"struct.std::pair.258", align 4
  %38 = alloca { i64, i16 }, align 8
  %39 = alloca ptr, align 8
  %40 = alloca %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", align 4
  store i64 %3, ptr %6, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  %41 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %42 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 20
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #8
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZSt9make_pairIRKN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind writable sret(%"struct.std::pair.239") align 4 %11, ptr noundef nonnull align 1 dereferenceable(32) %43, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %44 = call { ptr, i8 } @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE6insertIS9_IS1_S4_EEENSt9enable_ifIXsr16is_constructibleISB_OT_EE5valueES9_INSt8__detail14_Node_iteratorISB_Lb0ELb1EEEbEE4typeESI_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 4 dereferenceable(40) %11)
  store { ptr, i8 } %44, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %12, i64 9, i1 false)
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #8
  %45 = getelementptr inbounds %"struct.std::pair", ptr %10, i32 0, i32 1
  %46 = load i8, ptr %45, align 8, !tbaa !9, !range !14, !noundef !15
  %47 = trunc i8 %46 to i1
  br i1 %47, label %56, label %48

48:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 432, ptr %13) #8
  %49 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 33
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %13, ptr noundef nonnull align 8 dereferenceable(40) %49, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %50 = 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.232)
          to label %51 unwind label %52

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

52:                                               ; preds = %48
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %14, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %15, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %13) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %13) #8
  br label %307

56:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %57, i32 0, i32 5
  %59 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionIndex", ptr %6, i32 0, i32 1
  %60 = load i16, ptr %59, align 4, !tbaa !16
  %61 = zext i16 %60 to i64
  %62 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %61) #8
  store ptr %62, ptr %17, align 8, !tbaa !5
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %63, i32 0, i32 0
  %65 = call noundef zeroext i1 @_ZN7DynexCN29checkMultisignatureInputsDiffERKNS_17TransactionPrefixE(ptr noundef nonnull align 8 dereferenceable(88) %64)
  br i1 %65, label %77, label %66

66:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 432, ptr %18) #8
  %67 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 33
  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) %67, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %68 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA54_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %18, ptr noundef nonnull align 1 dereferenceable(54) @.str.233)
          to label %69 unwind label %73

69:                                               ; preds = %66
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #8
  %70 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 20
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = call noundef i64 @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5eraseERSA_(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef nonnull align 1 dereferenceable(32) %71)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %303

73:                                               ; preds = %66
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %14, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %15, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %18) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %18) #8
  br label %304

77:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store i64 0, ptr %19, align 8, !tbaa !20
  br label %78

78:                                               ; preds = %168, %77
  %79 = load i64, ptr %19, align 8, !tbaa !20
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %81, i32 0, i32 2
  %83 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #8
  %84 = icmp ult i64 %79, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %78
  store i32 2, ptr %16, align 4
  br label %171

86:                                               ; preds = %78
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %88, i32 0, i32 2
  %90 = load i64, ptr %19, align 8, !tbaa !20
  %91 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %90) #8
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %91)
  %93 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #8
  br i1 %93, label %94, label %167

94:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %95 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 10
  %96 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost11multi_index21multi_index_containerIN7DynexCN10Blockchain13SpentKeyImageENS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS3_13BlockIndexTagEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_6memberIS4_jXadL_ZNS4_10blockIndexEEEEESA_EENS0_13hashed_uniqueINS7_INS3_11KeyImageTagESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS4_N6Crypto8KeyImageEXadL_ZNS4_8keyImageEEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS4_EE3getISG_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %95) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %21) #8
  %97 = getelementptr inbounds %"struct.DynexCN::Blockchain::SpentKeyImage", ptr %21, i32 0, i32 0
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 8, !tbaa !22
  store i32 %100, ptr %97, align 4, !tbaa !54
  %101 = getelementptr inbounds %"struct.DynexCN::Blockchain::SpentKeyImage", ptr %21, i32 0, i32 1
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %102, i32 0, i32 0
  %104 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %103, i32 0, i32 2
  %105 = load i64, ptr %19, align 8, !tbaa !20
  %106 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %105) #8
  %107 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %106)
  %108 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %107, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 8 %108, i64 32, i1 false), !tbaa.struct !57
  %109 = call { ptr, i8 } @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(56) %96, ptr noundef nonnull align 4 dereferenceable(36) %21)
  store { ptr, i8 } %109, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %22, i64 9, i1 false)
  call void @llvm.lifetime.end.p0(i64 36, ptr %21) #8
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %111, i32 0, i32 2
  %113 = load i64, ptr %19, align 8, !tbaa !20
  %114 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %113) #8
  %115 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %114)
  %116 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %115, i32 0, i32 2
  %117 = call noundef zeroext i1 @_ZN7DynexCN10Blockchain32check_tx_inputs_keyimages_domainERKN6Crypto8KeyImageE(ptr noundef nonnull align 8 dereferenceable(2636) %41, ptr noundef nonnull align 1 dereferenceable(32) %116)
  br i1 %117, label %118, label %163

118:                                              ; preds = %94
  %119 = getelementptr inbounds %"struct.std::pair.390", ptr %20, i32 0, i32 1
  %120 = load i8, ptr %119, align 8, !tbaa !59, !range !14, !noundef !15
  %121 = trunc i8 %120 to i1
  br i1 %121, label %163, label %122

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 432, ptr %23) #8
  %123 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 33
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %23, ptr noundef nonnull align 8 dereferenceable(40) %123, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %124 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA54_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %23, ptr noundef nonnull align 1 dereferenceable(54) @.str.233)
          to label %125 unwind label %131

125:                                              ; preds = %122
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %23) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store i64 0, ptr %24, align 8, !tbaa !20
  br label %126

126:                                              ; preds = %156, %125
  %127 = load i64, ptr %24, align 8, !tbaa !20
  %128 = load i64, ptr %19, align 8, !tbaa !20
  %129 = icmp ult i64 %127, %128
  br i1 %129, label %135, label %130

130:                                              ; preds = %126
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %159

131:                                              ; preds = %122
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %14, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %15, align 4
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %23) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %304

135:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %136 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 10
  %137 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost11multi_index21multi_index_containerIN7DynexCN10Blockchain13SpentKeyImageENS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS3_13BlockIndexTagEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_6memberIS4_jXadL_ZNS4_10blockIndexEEEEESA_EENS0_13hashed_uniqueINS7_INS3_11KeyImageTagESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS4_N6Crypto8KeyImageEXadL_ZNS4_8keyImageEEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS4_EE3getISG_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %136) #8
  store ptr %137, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %138 = load ptr, ptr %25, align 8, !tbaa !5
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %140, i32 0, i32 2
  %142 = load i64, ptr %19, align 8, !tbaa !20
  %143 = sub i64 %142, 1
  %144 = load i64, ptr %24, align 8, !tbaa !20
  %145 = sub i64 %143, %144
  %146 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %145) #8
  %147 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %146)
  %148 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %147, i32 0, i32 2
  %149 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE4findIS8_EENS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS6_ST_EEEENS1_12bucket_arrayIST_EES10_NS1_32hashed_index_global_iterator_tagEEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %138, ptr noundef nonnull align 1 dereferenceable(32) %148)
  %150 = getelementptr inbounds %"class.boost::multi_index::detail::hashed_index_iterator", ptr %26, i32 0, i32 0
  store ptr %149, ptr %150, align 8
  %151 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 8, i1 false)
  %152 = getelementptr inbounds %"class.boost::multi_index::detail::hashed_index_iterator", ptr %27, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8
  %154 = call ptr @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE5eraseENS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS6_ST_EEEENS1_12bucket_arrayIST_EES10_NS1_32hashed_index_global_iterator_tagEEE(ptr noundef nonnull align 8 dereferenceable(56) %151, ptr %153)
  %155 = getelementptr inbounds %"class.boost::multi_index::detail::hashed_index_iterator", ptr %28, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %156

156:                                              ; preds = %135
  %157 = load i64, ptr %24, align 8, !tbaa !20
  %158 = add i64 %157, 1
  store i64 %158, ptr %24, align 8, !tbaa !20
  br label %126, !llvm.loop !62

159:                                              ; preds = %130
  %160 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 20
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = call noundef i64 @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5eraseERSA_(ptr noundef nonnull align 8 dereferenceable(56) %160, ptr noundef nonnull align 1 dereferenceable(32) %161)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %164

163:                                              ; preds = %118, %94
  store i32 0, ptr %16, align 4
  br label %164

164:                                              ; preds = %163, %159
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  %165 = load i32, ptr %16, align 4
  switch i32 %165, label %171 [
    i32 0, label %166
  ]

166:                                              ; preds = %164
  br label %167

167:                                              ; preds = %166, %86
  br label %168

168:                                              ; preds = %167
  %169 = load i64, ptr %19, align 8, !tbaa !20
  %170 = add i64 %169, 1
  store i64 %170, ptr %19, align 8, !tbaa !20
  br label %78, !llvm.loop !64

171:                                              ; preds = %164, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %172 = load i32, ptr %16, align 4
  switch i32 %172, label %303 [
    i32 2, label %173
  ]

173:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %175, i32 0, i32 2
  store ptr %176, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %177 = load ptr, ptr %29, align 8, !tbaa !5
  %178 = call ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #8
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.393", ptr %30, i32 0, i32 0
  store ptr %178, ptr %179, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %180 = load ptr, ptr %29, align 8, !tbaa !5
  %181 = call ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #8
  %182 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.393", ptr %31, i32 0, i32 0
  store ptr %181, ptr %182, align 8
  br label %183

183:                                              ; preds = %206, %173
  %184 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br i1 %184, label %186, label %185

185:                                              ; preds = %183
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %208

186:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %187 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  store ptr %187, ptr %32, align 8, !tbaa !5
  %188 = load ptr, ptr %32, align 8, !tbaa !5
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %188)
  %190 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %189, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #8
  br i1 %190, label %191, label %205

191:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %192 = load ptr, ptr %32, align 8, !tbaa !5
  %193 = 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) %192)
  store ptr %193, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %194 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 21
  %195 = load ptr, ptr %33, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %195, i32 0, i32 0
  %197 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEEixERSD_(ptr noundef nonnull align 8 dereferenceable(88) %194, ptr noundef nonnull align 8 dereferenceable(8) %196)
  store ptr %197, ptr %34, align 8, !tbaa !5
  %198 = load ptr, ptr %34, align 8, !tbaa !5
  %199 = load ptr, ptr %33, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %199, i32 0, i32 2
  %201 = load i32, ptr %200, align 4, !tbaa !65
  %202 = zext i32 %201 to i64
  %203 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %202) #8
  %204 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %203, i32 0, i32 2
  store i8 1, ptr %204, align 2, !tbaa !67
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %205

205:                                              ; preds = %191, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %206

206:                                              ; preds = %205
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %183

208:                                              ; preds = %185
  %209 = load ptr, ptr %17, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %209, i32 0, i32 1
  %211 = load ptr, ptr %17, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %212, i32 0, i32 3
  %214 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #8
  call void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %214)
  call void @llvm.lifetime.start.p0(i64 2, ptr %35) #8
  store i16 0, ptr %35, align 2, !tbaa !69
  br label %215

215:                                              ; preds = %289, %208
  %216 = load i16, ptr %35, align 2, !tbaa !69
  %217 = zext i16 %216 to i64
  %218 = load ptr, ptr %17, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %219, i32 0, i32 3
  %221 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %220) #8
  %222 = icmp ult i64 %217, %221
  br i1 %222, label %224, label %223

223:                                              ; preds = %215
  store i32 10, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %35) #8
  br label %292

224:                                              ; preds = %215
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %225, i32 0, i32 0
  %227 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %226, i32 0, i32 3
  %228 = load i16, ptr %35, align 2, !tbaa !69
  %229 = zext i16 %228 to i64
  %230 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %227, i64 noundef %229) #8
  %231 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %230, i32 0, i32 1
  %232 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %231)
  %233 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %232, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9KeyOutputE) #8
  br i1 %233, label %234, label %254

234:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %235 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 13
  %236 = load ptr, ptr %17, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %237, i32 0, i32 3
  %239 = load i16, ptr %35, align 2, !tbaa !69
  %240 = zext i16 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #8
  %242 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %241, i32 0, i32 0
  %243 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEEixERSE_(ptr noundef nonnull align 8 dereferenceable(88) %235, ptr noundef nonnull align 8 dereferenceable(8) %242)
  store ptr %243, ptr %36, align 8, !tbaa !5
  %244 = load ptr, ptr %36, align 8, !tbaa !5
  %245 = call noundef i64 @_ZNKSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %244) #8
  %246 = trunc i64 %245 to i32
  %247 = load ptr, ptr %17, align 8, !tbaa !5
  %248 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %247, i32 0, i32 1
  %249 = load i16, ptr %35, align 2, !tbaa !69
  %250 = zext i16 %249 to i64
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %250) #8
  store i32 %246, ptr %251, align 4, !tbaa !70
  %252 = load ptr, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #8
  %253 = call { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 2 dereferenceable(2) %35)
  store { i64, i16 } %253, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 8 %38, i64 10, i1 false)
  call void @_ZNSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %252, ptr noundef nonnull align 4 dereferenceable(10) %37)
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %288

254:                                              ; preds = %224
  %255 = load ptr, ptr %17, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %255, i32 0, i32 0
  %257 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %256, i32 0, i32 3
  %258 = load i16, ptr %35, align 2, !tbaa !69
  %259 = zext i16 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %259) #8
  %261 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %260, i32 0, i32 1
  %262 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %261)
  %263 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %262, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN20MultisignatureOutputE) #8
  br i1 %263, label %264, label %287

264:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %265 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 21
  %266 = load ptr, ptr %17, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %266, i32 0, i32 0
  %268 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %267, i32 0, i32 3
  %269 = load i16, ptr %35, align 2, !tbaa !69
  %270 = zext i16 %269 to i64
  %271 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %270) #8
  %272 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %271, i32 0, i32 0
  %273 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEEixERSD_(ptr noundef nonnull align 8 dereferenceable(88) %265, ptr noundef nonnull align 8 dereferenceable(8) %272)
  store ptr %273, ptr %39, align 8, !tbaa !5
  %274 = load ptr, ptr %39, align 8, !tbaa !5
  %275 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %274) #8
  %276 = trunc i64 %275 to i32
  %277 = load ptr, ptr %17, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %277, i32 0, i32 1
  %279 = load i16, ptr %35, align 2, !tbaa !69
  %280 = zext i16 %279 to i64
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %280) #8
  store i32 %276, ptr %281, align 4, !tbaa !70
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #8
  %282 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %40, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %282, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !71
  %283 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %40, i32 0, i32 1
  %284 = load i16, ptr %35, align 2, !tbaa !69
  store i16 %284, ptr %283, align 4, !tbaa !72
  %285 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %40, i32 0, i32 2
  store i8 0, ptr %285, align 2, !tbaa !67
  %286 = load ptr, ptr %39, align 8, !tbaa !5
  call void @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %286, ptr noundef nonnull align 4 dereferenceable(12) %40)
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %287

287:                                              ; preds = %264, %254
  br label %288

288:                                              ; preds = %287, %234
  br label %289

289:                                              ; preds = %288
  %290 = load i16, ptr %35, align 2, !tbaa !69
  %291 = add i16 %290, 1
  store i16 %291, ptr %35, align 2, !tbaa !69
  br label %215, !llvm.loop !73

292:                                              ; preds = %223
  %293 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 25
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %294, i32 0, i32 0
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = call noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89) %293, ptr noundef nonnull align 8 dereferenceable(112) %295, ptr noundef nonnull align 1 dereferenceable(32) %296)
  %298 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %41, i32 0, i32 26
  %299 = load ptr, ptr %17, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %299, i32 0, i32 0
  %301 = load ptr, ptr %9, align 8, !tbaa !5
  %302 = call noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %298, ptr noundef nonnull align 8 dereferenceable(112) %300, ptr noundef nonnull align 1 dereferenceable(32) %301)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %303

303:                                              ; preds = %292, %171, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %305

304:                                              ; preds = %131, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %307

305:                                              ; preds = %303, %51
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  %306 = load i1, ptr %5, align 1
  ret i1 %306

307:                                              ; preds = %304, %52
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr %14, align 8
  %310 = load i32, ptr %15, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.239") align 4, ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(8)) #5

declare noundef zeroext i1 @_ZN7DynexCN29checkMultisignatureInputsDiffERKNS_17TransactionPrefixE(ptr noundef nonnull align 8 dereferenceable(88)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(36)) #5 align 2

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #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, !13, i64 8}
!10 = !{!"_ZTSSt4pairINSt8__detail14_Node_iteratorIS_IKN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexEELb0ELb1EEEbE", !11, i64 0, !13, i64 8}
!11 = !{!"_ZTSNSt8__detail14_Node_iteratorISt4pairIKN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexEELb0ELb1EEE", !12, i64 0}
!12 = !{!"_ZTSNSt8__detail19_Node_iterator_baseISt4pairIKN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexEELb1EEE", !6, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !19, i64 4}
!17 = !{!"_ZTSN7DynexCN10Blockchain16TransactionIndexE", !18, i64 0, !19, i64 4}
!18 = !{!"int", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !18, i64 384}
!23 = !{!"_ZTSN7DynexCN10Blockchain10BlockEntryE", !24, i64 0, !18, i64 384, !21, i64 392, !21, i64 400, !21, i64 408, !50, i64 416}
!24 = !{!"_ZTSN7DynexCN5BlockE", !25, i64 0, !27, i64 48, !32, i64 248, !28, i64 360}
!25 = !{!"_ZTSN7DynexCN11BlockHeaderE", !7, i64 0, !7, i64 1, !18, i64 4, !21, i64 8, !26, i64 16}
!26 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!27 = !{!"_ZTSN7DynexCN11ParentBlockE", !7, i64 0, !7, i64 1, !26, i64 2, !19, i64 34, !28, i64 40, !32, i64 64, !28, i64 176}
!28 = !{!"_ZTSSt6vectorIN6Crypto4HashESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN6Crypto4HashESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7DynexCN11TransactionE", !33, i64 0, !46, i64 88}
!33 = !{!"_ZTSN7DynexCN17TransactionPrefixE", !7, i64 0, !21, i64 8, !34, i64 16, !38, i64 40, !42, i64 64}
!34 = !{!"_ZTSSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTSSt6vectorIhSaIhEE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTSSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!55, !18, i64 0}
!55 = !{!"_ZTSN7DynexCN10Blockchain13SpentKeyImageE", !18, i64 0, !56, i64 4}
!56 = !{!"_ZTSN6Crypto8KeyImageE", !7, i64 0}
!57 = !{i64 0, i64 32, !58}
!58 = !{!7, !7, i64 0}
!59 = !{!60, !13, i64 8}
!60 = !{!"_ZTSSt4pairIN5boost11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS2_15index_node_baseIN7DynexCN10Blockchain13SpentKeyImageESaIS8_EEEEENS2_12bucket_arrayIS9_EENS2_17hashed_unique_tagENS2_32hashed_index_global_iterator_tagEEEbE", !61, i64 0, !13, i64 8}
!61 = !{!"_ZTSN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN10Blockchain13SpentKeyImageESaIS7_EEEEENS1_12bucket_arrayIS8_EENS1_17hashed_unique_tagENS1_32hashed_index_global_iterator_tagEEE", !6, i64 0}
!62 = distinct !{!62, !63}
!63 = !{!"llvm.loop.mustprogress"}
!64 = distinct !{!64, !63}
!65 = !{!66, !18, i64 12}
!66 = !{!"_ZTSN7DynexCN19MultisignatureInputE", !21, i64 0, !7, i64 8, !18, i64 12}
!67 = !{!68, !13, i64 10}
!68 = !{!"_ZTSN7DynexCN10Blockchain25MultisignatureOutputUsageE", !17, i64 0, !19, i64 8, !13, i64 10}
!69 = !{!19, !19, i64 0}
!70 = !{!18, !18, i64 0}
!71 = !{i64 0, i64 4, !70, i64 4, i64 2, !69}
!72 = !{!68, !19, i64 8}
!73 = distinct !{!73, !63}


; 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.38 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.38 = 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 }
%"struct.DynexCN::Blockchain::TransactionIndex" = type { i32, i16 }
%"struct.std::pair.239" = type { %"struct.Crypto::Hash", %"struct.DynexCN::Blockchain::TransactionIndex" }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.DynexCN::Blockchain::SpentKeyImage" = type { i32, %"struct.Crypto::KeyImage" }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"class.__gnu_cxx::__normal_iterator.393" = type { ptr }
%"struct.std::pair.258" = type <{ %"struct.DynexCN::Blockchain::TransactionIndex", i16, [2 x i8] }>
%"struct.DynexCN::Blockchain::MultisignatureOutputUsage" = type { %"struct.DynexCN::Blockchain::TransactionIndex", i16, i8 }

@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTIN7DynexCN8KeyInputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN19MultisignatureInputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN9KeyOutputE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7DynexCN20MultisignatureOutputE = external dso_local constant { ptr, ptr }, align 8
@.str.232 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [54 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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE6insertIS9_IS1_S4_EEENSt9enable_ifIXsr16is_constructibleISB_OT_EE5valueES9_INSt8__detail14_Node_iteratorISB_Lb0ELb1EEEbEE4typeESI_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(40)) local_unnamed_addr #5 align 2

declare noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #3

; 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(16) ptr @_ZN5boost3getIN7DynexCN19MultisignatureInputENS1_9BaseInputEJNS1_8KeyInputES2_EEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #7

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7DynexCN10Blockchain15pushTransactionERNS0_10BlockEntryERKN6Crypto4HashENS0_16TransactionIndexE(ptr noundef nonnull align 8 dereferenceable(2636) %0, ptr noundef nonnull align 8 dereferenceable(440) %1, ptr noundef nonnull align 1 dereferenceable(32) %2, i64 %3) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"struct.DynexCN::Blockchain::TransactionIndex", align 8
  %6 = alloca %"struct.std::pair.239", align 4
  %7 = alloca %"class.Logging::LoggerMessage", align 8
  %8 = alloca %"class.Logging::LoggerMessage", align 8
  %9 = alloca %"struct.DynexCN::Blockchain::SpentKeyImage", align 4
  %10 = alloca %"class.Logging::LoggerMessage", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.393", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.393", align 8
  %13 = alloca i16, align 2
  %14 = alloca %"struct.std::pair.258", align 8
  %15 = alloca %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", align 8
  store i64 %3, ptr %5, align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 1888
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #8
  call void @_ZSt9make_pairIRKN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.239") align 4 %6, ptr noundef nonnull align 1 dereferenceable(32) %2, ptr noundef nonnull align 4 dereferenceable(8) %5)
  %17 = call { ptr, i8 } @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE6insertIS9_IS1_S4_EEENSt9enable_ifIXsr16is_constructibleISB_OT_EE5valueES9_INSt8__detail14_Node_iteratorISB_Lb0ELb1EEEbEE4typeESI_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 4 dereferenceable(40) %6)
  %.fca.1.extract54 = extractvalue { ptr, i8 } %17, 1
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #8
  %18 = trunc i8 %.fca.1.extract54 to i1
  br i1 %18, label %25, label %19

19:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %7) #8
  %20 = getelementptr inbounds i8, ptr %0, i64 2592
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %7, ptr noundef nonnull align 8 dereferenceable(40) %20, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %21 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA48_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %7, ptr noundef nonnull align 1 dereferenceable(48) @.str.232)
          to label %22 unwind label %23

22:                                               ; preds = %19
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %7) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %7) #8
  br label %151

23:                                               ; preds = %19
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %7) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %7) #8
  br label %152

25:                                               ; preds = %4
  %26 = getelementptr inbounds i8, ptr %1, i64 416
  %27 = getelementptr inbounds i8, ptr %5, i64 4
  %28 = load i16, ptr %27, align 4, !tbaa !5
  %29 = zext i16 %28 to i64
  %30 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %29) #8
  %31 = call noundef zeroext i1 @_ZN7DynexCN29checkMultisignatureInputsDiffERKNS_17TransactionPrefixE(ptr noundef nonnull align 8 dereferenceable(88) %30)
  br i1 %31, label %.preheader, label %37

.preheader:                                       ; preds = %25
  %32 = getelementptr inbounds i8, ptr %30, i64 16
  %33 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %.not84.not = icmp eq i64 %33, 0
  br i1 %.not84.not, label %.critedge80, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %34 = getelementptr inbounds i8, ptr %0, i64 208
  %35 = getelementptr inbounds i8, ptr %1, i64 384
  %36 = getelementptr inbounds i8, ptr %9, i64 4
  br label %44

37:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %8) #8
  %38 = getelementptr inbounds i8, ptr %0, i64 2592
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %8, ptr noundef nonnull align 8 dereferenceable(40) %38, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %39 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA54_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %8, ptr noundef nonnull align 1 dereferenceable(54) @.str.233)
          to label %40 unwind label %42

40:                                               ; preds = %37
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %8) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %8) #8
  %41 = call noundef i64 @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5eraseERSA_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 1 dereferenceable(32) %2)
  br label %151

42:                                               ; preds = %37
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %8) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %8) #8
  br label %152

44:                                               ; preds = %.lr.ph, %77
  %.07585 = phi i64 [ 0, %.lr.ph ], [ %78, %77 ]
  %45 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.07585) #8
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %45)
  %47 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #8
  br i1 %47, label %48, label %77

48:                                               ; preds = %44
  %49 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost11multi_index21multi_index_containerIN7DynexCN10Blockchain13SpentKeyImageENS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS3_13BlockIndexTagEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_6memberIS4_jXadL_ZNS4_10blockIndexEEEEESA_EENS0_13hashed_uniqueINS7_INS3_11KeyImageTagESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS4_N6Crypto8KeyImageEXadL_ZNS4_8keyImageEEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS4_EE3getISG_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %34) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %9) #8
  %50 = load i32, ptr %35, align 8, !tbaa !11
  store i32 %50, ptr %9, align 4, !tbaa !45
  %51 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.07585) #8
  %52 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %51)
  %53 = getelementptr inbounds i8, ptr %52, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %53, i64 32, i1 false), !tbaa.struct !48
  %54 = call { ptr, i8 } @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 4 dereferenceable(36) %9)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #8
  %55 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.07585) #8
  %56 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %55)
  %57 = getelementptr inbounds i8, ptr %56, i64 32
  %58 = call noundef zeroext i1 @_ZN7DynexCN10Blockchain32check_tx_inputs_keyimages_domainERKN6Crypto8KeyImageE(ptr noundef nonnull align 8 dereferenceable(2636) %0, ptr noundef nonnull align 1 dereferenceable(32) %57)
  br i1 %58, label %59, label %77

59:                                               ; preds = %48
  %.fca.1.extract20 = extractvalue { ptr, i8 } %54, 1
  %60 = trunc i8 %.fca.1.extract20 to i1
  br i1 %60, label %77, label %61

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %10) #8
  %62 = getelementptr inbounds i8, ptr %0, i64 2592
  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) %62, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
  %63 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA54_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %10, ptr noundef nonnull align 1 dereferenceable(54) @.str.233)
          to label %64 unwind label %66

64:                                               ; preds = %61
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %10) #8
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %10) #8
  %.not93 = icmp eq i64 %.07585, 0
  br i1 %.not93, label %.critedge, label %.lr.ph92

.critedge:                                        ; preds = %.lr.ph92, %64
  %65 = call noundef i64 @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5eraseERSA_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 1 dereferenceable(32) %2)
  br label %151

66:                                               ; preds = %61
  %67 = 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 %152

.lr.ph92:                                         ; preds = %64, %.lr.ph92
  %.07690 = phi i64 [ %76, %.lr.ph92 ], [ 0, %64 ]
  %68 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost11multi_index21multi_index_containerIN7DynexCN10Blockchain13SpentKeyImageENS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS3_13BlockIndexTagEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_6memberIS4_jXadL_ZNS4_10blockIndexEEEEESA_EENS0_13hashed_uniqueINS7_INS3_11KeyImageTagESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS4_N6Crypto8KeyImageEXadL_ZNS4_8keyImageEEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS4_EE3getISG_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %34) #8
  %69 = xor i64 %.07690, -1
  %70 = add i64 %.07585, %69
  %71 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %70) #8
  %72 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIT_E4typeERNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %71)
  %73 = getelementptr inbounds i8, ptr %72, i64 32
  %74 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE4findIS8_EENS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS6_ST_EEEENS1_12bucket_arrayIST_EES10_NS1_32hashed_index_global_iterator_tagEEERKT_(ptr noundef nonnull align 8 dereferenceable(56) %68, ptr noundef nonnull align 1 dereferenceable(32) %73)
  %75 = call ptr @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE5eraseENS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS6_ST_EEEENS1_12bucket_arrayIST_EES10_NS1_32hashed_index_global_iterator_tagEEE(ptr noundef nonnull align 8 dereferenceable(56) %68, ptr %74)
  %76 = add nuw i64 %.07690, 1
  %exitcond.not = icmp eq i64 %76, %.07585
  br i1 %exitcond.not, label %.critedge, label %.lr.ph92, !llvm.loop !50

77:                                               ; preds = %59, %48, %44
  %78 = add nuw i64 %.07585, 1
  %79 = call noundef i64 @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %.not = icmp ult i64 %78, %79
  br i1 %.not, label %44, label %.critedge80, !llvm.loop !52

.critedge80:                                      ; preds = %77, %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %80 = call ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  store ptr %80, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %81 = call ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  store ptr %81, ptr %12, align 8
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br i1 %82, label %.lr.ph86, label %._crit_edge

.lr.ph86:                                         ; preds = %.critedge80
  %83 = getelementptr inbounds i8, ptr %0, i64 1944
  br label %92

._crit_edge:                                      ; preds = %104, %.critedge80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %84 = getelementptr inbounds i8, ptr %30, i64 112
  %85 = getelementptr inbounds i8, ptr %30, i64 40
  %86 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  call void @_ZNSt6vectorIjSaIjEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #8
  store i16 0, ptr %13, align 2, !tbaa !53
  %87 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  %.not94 = icmp eq i64 %87, 0
  br i1 %.not94, label %._crit_edge89, label %.lr.ph88

.lr.ph88:                                         ; preds = %._crit_edge
  %88 = getelementptr inbounds i8, ptr %0, i64 1944
  %89 = getelementptr inbounds i8, ptr %15, i64 8
  %90 = getelementptr inbounds i8, ptr %15, i64 10
  %91 = getelementptr inbounds i8, ptr %0, i64 360
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  br label %111

92:                                               ; preds = %.lr.ph86, %104
  %93 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %93)
  %95 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #8
  br i1 %95, label %96, label %104

96:                                               ; preds = %92
  %97 = 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) %93)
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEEixERSD_(ptr noundef nonnull align 8 dereferenceable(88) %83, ptr noundef nonnull align 8 dereferenceable(8) %97)
  %99 = getelementptr inbounds i8, ptr %97, i64 12
  %100 = load i32, ptr %99, align 4, !tbaa !54
  %101 = zext i32 %100 to i64
  %102 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %101) #8
  %103 = getelementptr inbounds i8, ptr %102, i64 10
  store i8 1, ptr %103, align 2, !tbaa !56
  br label %104

104:                                              ; preds = %96, %92
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br i1 %106, label %92, label %._crit_edge

._crit_edge89:                                    ; preds = %145, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #8
  %107 = getelementptr inbounds i8, ptr %0, i64 2224
  %108 = call noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89) %107, ptr noundef nonnull align 8 dereferenceable(112) %30, ptr noundef nonnull align 1 dereferenceable(32) %2)
  %109 = getelementptr inbounds i8, ptr %0, i64 2320
  %110 = call noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %109, ptr noundef nonnull align 8 dereferenceable(112) %30, ptr noundef nonnull align 1 dereferenceable(32) %2)
  br label %151

111:                                              ; preds = %.lr.ph88, %145
  %112 = load i16, ptr %13, align 2, !tbaa !53
  %113 = zext i16 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %113) #8
  %115 = getelementptr inbounds i8, ptr %114, i64 8
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %115)
  %117 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9KeyOutputE) #8
  %118 = load i16, ptr %13, align 2, !tbaa !53
  %119 = zext i16 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %119) #8
  br i1 %117, label %121, label %129

121:                                              ; preds = %111
  %122 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEEixERSE_(ptr noundef nonnull align 8 dereferenceable(88) %91, ptr noundef nonnull align 8 dereferenceable(8) %120)
  %123 = call noundef i64 @_ZNKSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %122) #8
  %124 = trunc i64 %123 to i32
  %125 = load i16, ptr %13, align 2, !tbaa !53
  %126 = zext i16 %125 to i64
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %126) #8
  store i32 %124, ptr %127, align 4, !tbaa !59
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #8
  %128 = call { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 2 dereferenceable(2) %13)
  %.fca.0.extract = extractvalue { i64, i16 } %128, 0
  %.fca.1.extract = extractvalue { i64, i16 } %128, 1
  store i64 %.fca.0.extract, ptr %14, align 8
  store i16 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %122, ptr noundef nonnull align 4 dereferenceable(10) %14)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #8
  br label %145

129:                                              ; preds = %111
  %130 = getelementptr inbounds i8, ptr %120, i64 8
  %131 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %130)
  %132 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN20MultisignatureOutputE) #8
  br i1 %132, label %133, label %145

133:                                              ; preds = %129
  %134 = load i16, ptr %13, align 2, !tbaa !53
  %135 = zext i16 %134 to i64
  %136 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %135) #8
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEEixERSD_(ptr noundef nonnull align 8 dereferenceable(88) %88, ptr noundef nonnull align 8 dereferenceable(8) %136)
  %138 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #8
  %139 = trunc i64 %138 to i32
  %140 = load i16, ptr %13, align 2, !tbaa !53
  %141 = zext i16 %140 to i64
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %141) #8
  store i32 %139, ptr %142, align 4, !tbaa !59
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  %143 = load i64, ptr %5, align 8
  store i64 %143, ptr %15, align 8
  %144 = load i16, ptr %13, align 2, !tbaa !53
  store i16 %144, ptr %89, align 8, !tbaa !60
  store i8 0, ptr %90, align 2, !tbaa !56
  call void @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  br label %145

145:                                              ; preds = %121, %133, %129
  %146 = load i16, ptr %13, align 2, !tbaa !53
  %147 = add i16 %146, 1
  store i16 %147, ptr %13, align 2, !tbaa !53
  %148 = zext i16 %147 to i64
  %149 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  %150 = icmp ugt i64 %149, %148
  br i1 %150, label %111, label %._crit_edge89, !llvm.loop !61

151:                                              ; preds = %.critedge, %40, %._crit_edge89, %22
  %.5 = phi i1 [ false, %22 ], [ true, %._crit_edge89 ], [ false, %.critedge ], [ false, %40 ]
  ret i1 %.5

152:                                              ; preds = %42, %66, %23
  %.pn.pn = phi { ptr, i32 } [ %24, %23 ], [ %67, %66 ], [ %43, %42 ]
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.239") align 4, ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN7DynexCN29checkMultisignatureInputsDiffERKNS_17TransactionPrefixE(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5eraseERSA_(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 nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN5boost11multi_index6detail12hashed_indexINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEN6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EENS3_IS6_jXadL_ZNS6_10blockIndexEEEEESK_EENS0_13hashed_uniqueINSH_INS5_11KeyImageTagESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EES9_SK_SK_EESK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_SK_EESaIS6_EEENS_3mpl6v_itemISP_NSV_7vector0ISK_EELi0EEENS1_17hashed_unique_tagEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(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_iteratorIPN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #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, !10, i64 4}
!6 = !{!"_ZTSN7DynexCN10Blockchain16TransactionIndexE", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!12, !7, i64 384}
!12 = !{!"_ZTSN7DynexCN10Blockchain10BlockEntryE", !13, i64 0, !7, i64 384, !15, i64 392, !15, i64 400, !15, i64 408, !41, i64 416}
!13 = !{!"_ZTSN7DynexCN5BlockE", !14, i64 0, !17, i64 48, !23, i64 248, !18, i64 360}
!14 = !{!"_ZTSN7DynexCN11BlockHeaderE", !8, i64 0, !8, i64 1, !7, i64 4, !15, i64 8, !16, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!"_ZTSN6Crypto4HashE", !8, i64 0}
!17 = !{!"_ZTSN7DynexCN11ParentBlockE", !8, i64 0, !8, i64 1, !16, i64 2, !10, i64 34, !18, i64 40, !23, i64 64, !18, i64 176}
!18 = !{!"_ZTSSt6vectorIN6Crypto4HashESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN6Crypto4HashESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!"_ZTSN7DynexCN11TransactionE", !24, i64 0, !37, i64 88}
!24 = !{!"_ZTSN7DynexCN17TransactionPrefixE", !8, i64 0, !15, i64 8, !25, i64 16, !29, i64 40, !33, i64 64}
!25 = !{!"_ZTSSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!29 = !{!"_ZTSSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!33 = !{!"_ZTSSt6vectorIhSaIhEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!37 = !{!"_ZTSSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!41 = !{!"_ZTSSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!45 = !{!46, !7, i64 0}
!46 = !{!"_ZTSN7DynexCN10Blockchain13SpentKeyImageE", !7, i64 0, !47, i64 4}
!47 = !{!"_ZTSN6Crypto8KeyImageE", !8, i64 0}
!48 = !{i64 0, i64 32, !49}
!49 = !{!8, !8, i64 0}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = distinct !{!52, !51}
!53 = !{!10, !10, i64 0}
!54 = !{!55, !7, i64 12}
!55 = !{!"_ZTSN7DynexCN19MultisignatureInputE", !15, i64 0, !8, i64 8, !7, i64 12}
!56 = !{!57, !58, i64 10}
!57 = !{!"_ZTSN7DynexCN10Blockchain25MultisignatureOutputUsageE", !6, i64 0, !10, i64 8, !58, i64 10}
!58 = !{!"bool", !8, i64 0}
!59 = !{!7, !7, i64 0}
!60 = !{!57, !10, i64 8}
!61 = distinct !{!61, !51}


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