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

; 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.Crypto::Hash" = type { [32 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::reference_wrapper" = type { ptr }
%"struct.DynexCN::Blockchain::TransactionIndex" = type { i32, i16 }
%"struct.std::pair.239" = type { %"struct.Crypto::Hash", %"struct.DynexCN::Blockchain::TransactionIndex" }
%"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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.DynexCN::Blockchain::SpentKeyImage" = type { i32, %"struct.Crypto::KeyImage" }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"struct.std::pair.241" = type <{ %"class.boost::multi_index::detail::bidir_node_iterator", i8, [7 x i8] }>
%"class.boost::multi_index::detail::bidir_node_iterator" = 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.std::chrono::duration.261" = type { double }
%"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] }

@_ZN7Logging12BRIGHT_WHITEB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.23 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv = external hidden unnamed_addr constant [41 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [49 x i8], align 1
@_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.37 = external hidden unnamed_addr constant [38 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(384)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN10Blockchain12rebuildCacheEv(ptr noundef nonnull align 8 dereferenceable(2636) %0) #7 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::chrono::time_point", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::reference_wrapper", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.Logging::LoggerMessage", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.Crypto::Hash", align 1
  %13 = alloca %"class.std::reference_wrapper", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.Crypto::Hash", align 1
  %16 = alloca %"struct.Crypto::Hash", align 1
  %17 = alloca i16, align 2
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.Crypto::Hash", align 1
  %20 = alloca %"struct.Crypto::Hash", align 1
  %21 = alloca %"struct.Crypto::Hash", align 1
  %22 = alloca %"struct.DynexCN::Blockchain::TransactionIndex", align 4
  %23 = alloca %"struct.std::pair.239", align 4
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"struct.DynexCN::Blockchain::SpentKeyImage", align 4
  %30 = alloca %"struct.std::pair.241", align 8
  %31 = alloca ptr, align 8
  %32 = alloca i16, align 2
  %33 = alloca ptr, align 8
  %34 = alloca %"struct.std::pair.258", align 4
  %35 = alloca { i64, i16 }, align 8
  %36 = alloca %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", align 4
  %37 = alloca %"class.std::chrono::duration.261", align 8
  %38 = alloca %"class.std::chrono::duration", align 8
  %39 = alloca %"class.std::chrono::time_point", align 8
  %40 = alloca %"class.Logging::LoggerMessage", align 8
  %41 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %42 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %43 = call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #9
  %44 = getelementptr inbounds %"class.std::chrono::time_point", ptr %3, i32 0, i32 0
  %45 = getelementptr inbounds %"class.std::chrono::duration", ptr %44, i32 0, i32 0
  store i64 %43, ptr %45, align 8
  %46 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 19
  call void @_ZN7DynexCN10BlockIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(128) %46)
  %47 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 20
  call void @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %47) #9
  %48 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 10
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  call void @_ZN5boost11multi_index6detail18ordered_index_implINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEjXadL_ZNS6_10blockIndexEEEEESt4lessIjENS1_9nth_layerILi1ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EES7_SG_EENS0_13hashed_uniqueINSD_INS5_11KeyImageTagESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EENS3_IS6_N6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEESG_SG_EESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EESaIS6_EEENS_3mpl6v_itemISE_NST_7vector0ISG_EELi0EEENS1_22ordered_non_unique_tagENS1_19null_augment_policyEE5clearEv(ptr noundef nonnull align 8 dereferenceable(58) %49) #9
  %50 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 13
  call void @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88) %50)
  %51 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 21
  call void @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88) %51)
  %52 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 26
  call void @_ZN7DynexCN12AddressIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49) %52)
  %53 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 25
  call void @_ZN7DynexCN14PaymentIdIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(89) %53)
  %54 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 27
  call void @_ZN7DynexCN20TimestampBlocksIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49) %54)
  %55 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 28
  call void @_ZN7DynexCN26GeneratedTransactionsIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(65) %55)
  %56 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %57 = call noundef zeroext i1 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(1184) %56)
  br i1 %57, label %58, label %59

58:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %329

59:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %60 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %61 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184) %60, i64 noundef 0)
  %62 = call ptr @_ZSt4crefIN7DynexCN10Blockchain10BlockEntryEESt17reference_wrapperIKT_ERS5_(ptr noundef nonnull align 8 dereferenceable(440) %61) #9
  %63 = getelementptr inbounds %"class.std::reference_wrapper", ptr %5, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %313, %59
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %68 = call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %67)
  %69 = icmp ult i64 %66, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %64
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %316

71:                                               ; preds = %64
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = urem i32 %72, 10000
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %100

75:                                               ; preds = %71
  %76 = load i32, ptr %6, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %100

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 432, ptr %7) #9
  %79 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 33
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %7, ptr noundef nonnull align 8 dereferenceable(40) %79, i32 noundef 3, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging12BRIGHT_WHITEB5cxx11E)
  %80 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %7, ptr noundef nonnull align 1 dereferenceable(8) @.str.32)
          to label %81 unwind label %91

81:                                               ; preds = %78
  %82 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %80, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %83 unwind label %91

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %82, ptr noundef nonnull align 1 dereferenceable(5) @.str.33)
          to label %85 unwind label %91

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %86 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %87 = invoke noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %86)
          to label %88 unwind label %95

88:                                               ; preds = %85
  store i64 %87, ptr %10, align 8, !tbaa !11
  %89 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %84, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %90 unwind label %95

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

91:                                               ; preds = %83, %81, %78
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  br label %99

95:                                               ; preds = %88, %85
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %8, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %99

99:                                               ; preds = %95, %91
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %7) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %341

100:                                              ; preds = %90, %75, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %101 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZNKSt17reference_wrapperIKN7DynexCN10Blockchain10BlockEntryEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  store ptr %101, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #9
  %102 = load i32, ptr %6, align 4, !tbaa !9
  %103 = add i32 %102, 1
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %106 = call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %105)
  %107 = icmp ult i64 %104, %106
  br i1 %107, label %108, label %127

108:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %109 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 18
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = add i32 %110, 1
  %112 = zext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184) %109, i64 noundef %112)
  %114 = call ptr @_ZSt4crefIN7DynexCN10Blockchain10BlockEntryEESt17reference_wrapperIKT_ERS5_(ptr noundef nonnull align 8 dereferenceable(440) %113) #9
  %115 = getelementptr inbounds %"class.std::reference_wrapper", ptr %13, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %13, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %116 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZNKSt17reference_wrapperIKN7DynexCN10Blockchain10BlockEntryEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  store ptr %116, ptr %14, align 8, !tbaa !5
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %117, i32 0, i32 0
  %119 = getelementptr inbounds %"struct.DynexCN::BlockHeader", ptr %118, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 8 %119, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %120, i32 0, i32 0
  call void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %15, ptr noundef nonnull align 8 dereferenceable(384) %121)
  %122 = call noundef zeroext i1 @_ZN6CryptoeqERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %12, ptr noundef nonnull align 1 dereferenceable(32) %15)
  br i1 %122, label %123, label %124

123:                                              ; preds = %108
  br label %126

124:                                              ; preds = %108
  call void @__assert_fail(ptr noundef @.str.34, ptr noundef @.str.23, i32 noundef 630, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

125:                                              ; No predecessors!
  br label %126

126:                                              ; preds = %125, %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %130

127:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #9
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %128, i32 0, i32 0
  call void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %16, ptr noundef nonnull align 8 dereferenceable(384) %129)
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 %16, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  br label %130

130:                                              ; preds = %127, %126
  %131 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 19
  %132 = call noundef zeroext i1 @_ZN7DynexCN10BlockIndex4pushERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(128) %131, ptr noundef nonnull align 1 dereferenceable(32) %12)
  %133 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 27
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds %"struct.DynexCN::BlockHeader", ptr %135, i32 0, i32 3
  %137 = load i64, ptr %136, align 8, !tbaa !15
  %138 = call noundef zeroext i1 @_ZN7DynexCN20TimestampBlocksIndex3addEmRKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %133, i64 noundef %137, ptr noundef nonnull align 1 dereferenceable(32) %12)
  %139 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 28
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %140, i32 0, i32 0
  %142 = call noundef zeroext i1 @_ZN7DynexCN26GeneratedTransactionsIndex3addERKNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(65) %139, ptr noundef nonnull align 8 dereferenceable(384) %141)
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds %"struct.DynexCN::Block", ptr %144, i32 0, i32 3
  %146 = call noundef i64 @_ZNKSt6vectorIN6Crypto4HashESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %145) #9
  %147 = add i64 %146, 1
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %148, i32 0, i32 5
  %150 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #9
  %151 = icmp eq i64 %147, %150
  br i1 %151, label %152, label %153

152:                                              ; preds = %130
  br label %155

153:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.35, ptr noundef @.str.23, i32 noundef 640, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

154:                                              ; No predecessors!
  br label %155

155:                                              ; preds = %154, %152
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #9
  store i16 0, ptr %17, align 2, !tbaa !18
  br label %156

156:                                              ; preds = %309, %155
  %157 = load i16, ptr %17, align 2, !tbaa !18
  %158 = zext i16 %157 to i64
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %159, i32 0, i32 5
  %161 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %160) #9
  %162 = icmp ult i64 %158, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %156
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #9
  br label %312

164:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %165, i32 0, i32 5
  %167 = load i16, ptr %17, align 2, !tbaa !18
  %168 = zext i16 %167 to i64
  %169 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #9
  store ptr %169, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  %170 = load i16, ptr %17, align 2, !tbaa !18
  %171 = icmp ne i16 %170, 0
  br i1 %171, label %172, label %188

172:                                              ; preds = %164
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.DynexCN::Blockchain::BlockEntry", ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds %"struct.DynexCN::Block", ptr %174, i32 0, i32 3
  %176 = load i16, ptr %17, align 2, !tbaa !18
  %177 = zext i16 %176 to i32
  %178 = sub nsw i32 %177, 1
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZNKSt6vectorIN6Crypto4HashESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %179) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %180, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #9
  %181 = load ptr, ptr %18, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %181, i32 0, i32 0
  call void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %20, ptr noundef nonnull align 8 dereferenceable(112) %182)
  %183 = call noundef zeroext i1 @_ZN6CryptoeqERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %19, ptr noundef nonnull align 1 dereferenceable(32) %20)
  br i1 %183, label %184, label %185

184:                                              ; preds = %172
  br label %187

185:                                              ; preds = %172
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str.23, i32 noundef 647, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

186:                                              ; No predecessors!
  br label %187

187:                                              ; preds = %186, %184
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #9
  br label %191

188:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %189, i32 0, i32 0
  call void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %21, ptr noundef nonnull align 8 dereferenceable(112) %190)
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %21, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %191

191:                                              ; preds = %188, %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %192 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionIndex", ptr %22, i32 0, i32 0
  %193 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %193, ptr %192, align 4, !tbaa !20
  %194 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionIndex", ptr %22, i32 0, i32 1
  %195 = load i16, ptr %17, align 2, !tbaa !18
  store i16 %195, ptr %194, align 4, !tbaa !22
  %196 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 20
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #9
  call void @_ZSt9make_pairIRN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS8_INS9_IT0_E4typeEE6__typeEEOSA_OSF_(ptr dead_on_unwind writable sret(%"struct.std::pair.239") align 4 %23, ptr noundef nonnull align 1 dereferenceable(32) %19, ptr noundef nonnull align 4 dereferenceable(8) %22)
  %197 = 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) %196, ptr noundef nonnull align 4 dereferenceable(40) %23)
  %198 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 0
  %199 = extractvalue { ptr, i8 } %197, 0
  store ptr %199, ptr %198, align 8
  %200 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 1
  %201 = extractvalue { ptr, i8 } %197, 1
  store i8 %201, ptr %200, align 8
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #9
  %202 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 25
  %203 = load ptr, ptr %18, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %203, i32 0, i32 0
  %205 = call noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89) %202, ptr noundef nonnull align 8 dereferenceable(112) %204, ptr noundef nonnull align 1 dereferenceable(32) %19)
  %206 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 26
  %207 = load ptr, ptr %18, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %207, i32 0, i32 0
  %209 = call noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %206, ptr noundef nonnull align 8 dereferenceable(112) %208, ptr noundef nonnull align 1 dereferenceable(32) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %210 = load ptr, ptr %18, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %210, i32 0, i32 0
  %212 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %211, i32 0, i32 2
  store ptr %212, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %213 = load ptr, ptr %25, align 8, !tbaa !5
  %214 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #9
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %214, ptr %215, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %216 = load ptr, ptr %25, align 8, !tbaa !5
  %217 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %216) #9
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %217, ptr %218, align 8
  br label %219

219:                                              ; preds = %260, %191
  %220 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  br i1 %220, label %222, label %221

221:                                              ; preds = %219
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %262

222:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %223 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  store ptr %223, ptr %28, align 8, !tbaa !5
  %224 = load ptr, ptr %28, align 8, !tbaa !5
  %225 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %224)
  %226 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %225, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #9
  br i1 %226, label %227, label %241

227:                                              ; preds = %222
  %228 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 10
  %229 = call noundef nonnull align 8 dereferenceable(58) 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_EE3getIS8_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %228) #9
  call void @llvm.lifetime.start.p0(i64 36, ptr %29) #9
  %230 = getelementptr inbounds %"struct.DynexCN::Blockchain::SpentKeyImage", ptr %29, i32 0, i32 0
  %231 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %231, ptr %230, align 4, !tbaa !23
  %232 = getelementptr inbounds %"struct.DynexCN::Blockchain::SpentKeyImage", ptr %29, i32 0, i32 1
  %233 = load ptr, ptr %28, align 8, !tbaa !5
  %234 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %233)
  %235 = getelementptr inbounds %"struct.DynexCN::KeyInput", ptr %234, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %232, ptr align 8 %235, i64 32, i1 false), !tbaa.struct !13
  %236 = call { ptr, i8 } @_ZN5boost11multi_index6detail18ordered_index_implINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEjXadL_ZNS6_10blockIndexEEEEESt4lessIjENS1_9nth_layerILi1ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EES7_SG_EENS0_13hashed_uniqueINSD_INS5_11KeyImageTagESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EENS3_IS6_N6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEESG_SG_EESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EESaIS6_EEENS_3mpl6v_itemISE_NST_7vector0ISG_EELi0EEENS1_22ordered_non_unique_tagENS1_19null_augment_policyEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(58) %229, ptr noundef nonnull align 4 dereferenceable(36) %29)
  %237 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 0
  %238 = extractvalue { ptr, i8 } %236, 0
  store ptr %238, ptr %237, align 8
  %239 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 1
  %240 = extractvalue { ptr, i8 } %236, 1
  store i8 %240, ptr %239, align 8
  call void @llvm.lifetime.end.p0(i64 36, ptr %29) #9
  br label %259

241:                                              ; preds = %222
  %242 = load ptr, ptr %28, align 8, !tbaa !5
  %243 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %242)
  %244 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %243, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #9
  br i1 %244, label %245, label %258

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %246 = load ptr, ptr %28, align 8, !tbaa !5
  %247 = 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) %246)
  store ptr %247, ptr %31, align 8, !tbaa !5
  %248 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 21
  %249 = load ptr, ptr %31, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %249, i32 0, i32 0
  %251 = 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) %248, ptr noundef nonnull align 8 dereferenceable(8) %250)
  %252 = load ptr, ptr %31, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.DynexCN::MultisignatureInput", ptr %252, i32 0, i32 2
  %254 = load i32, ptr %253, align 4, !tbaa !26
  %255 = zext i32 %254 to i64
  %256 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %255) #9
  %257 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %256, i32 0, i32 2
  store i8 1, ptr %257, align 2, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %258

258:                                              ; preds = %245, %241
  br label %259

259:                                              ; preds = %258, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %260

260:                                              ; preds = %259
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %219

262:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 2, ptr %32) #9
  store i16 0, ptr %32, align 2, !tbaa !18
  br label %263

263:                                              ; preds = %305, %262
  %264 = load i16, ptr %32, align 2, !tbaa !18
  %265 = zext i16 %264 to i64
  %266 = load ptr, ptr %18, 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 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %268) #9
  %270 = icmp ult i64 %265, %269
  br i1 %270, label %272, label %271

271:                                              ; preds = %263
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %32) #9
  br label %308

272:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %273 = load ptr, ptr %18, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.DynexCN::Blockchain::TransactionEntry", ptr %273, i32 0, i32 0
  %275 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %274, i32 0, i32 3
  %276 = load i16, ptr %32, align 2, !tbaa !18
  %277 = zext i16 %276 to i64
  %278 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %275, i64 noundef %277) #9
  store ptr %278, ptr %33, align 8, !tbaa !5
  %279 = load ptr, ptr %33, align 8, !tbaa !5
  %280 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %279, i32 0, i32 1
  %281 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %280)
  %282 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %281, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9KeyOutputE) #9
  br i1 %282, label %283, label %289

283:                                              ; preds = %272
  %284 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 13
  %285 = load ptr, ptr %33, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %285, i32 0, i32 0
  %287 = 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) %284, ptr noundef nonnull align 8 dereferenceable(8) %286)
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #9
  %288 = call { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 2 dereferenceable(2) %32)
  store { i64, i16 } %288, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %35, i64 10, i1 false)
  call void @_ZNSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %287, ptr noundef nonnull align 4 dereferenceable(10) %34)
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #9
  br label %304

289:                                              ; preds = %272
  %290 = load ptr, ptr %33, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %290, i32 0, i32 1
  %292 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %291)
  %293 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %292, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN20MultisignatureOutputE) #9
  br i1 %293, label %294, label %303

294:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #9
  %295 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %36, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %295, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !31
  %296 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %36, i32 0, i32 1
  %297 = load i16, ptr %32, align 2, !tbaa !18
  store i16 %297, ptr %296, align 4, !tbaa !32
  %298 = getelementptr inbounds %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", ptr %36, i32 0, i32 2
  store i8 0, ptr %298, align 2, !tbaa !28
  %299 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 21
  %300 = load ptr, ptr %33, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %300, i32 0, i32 0
  %302 = 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) %299, ptr noundef nonnull align 8 dereferenceable(8) %301)
  call void @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %302, ptr noundef nonnull align 4 dereferenceable(12) %36)
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #9
  br label %303

303:                                              ; preds = %294, %289
  br label %304

304:                                              ; preds = %303, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %305

305:                                              ; preds = %304
  %306 = load i16, ptr %32, align 2, !tbaa !18
  %307 = add i16 %306, 1
  store i16 %307, ptr %32, align 2, !tbaa !18
  br label %263, !llvm.loop !33

308:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %309

309:                                              ; preds = %308
  %310 = load i16, ptr %17, align 2, !tbaa !18
  %311 = add i16 %310, 1
  store i16 %311, ptr %17, align 2, !tbaa !18
  br label %156, !llvm.loop !35

312:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %313

313:                                              ; preds = %312
  %314 = load i32, ptr %6, align 4, !tbaa !9
  %315 = add i32 %314, 1
  store i32 %315, ptr %6, align 4, !tbaa !9
  br label %64, !llvm.loop !36

316:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %317 = call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #9
  %318 = getelementptr inbounds %"class.std::chrono::time_point", ptr %39, i32 0, i32 0
  %319 = getelementptr inbounds %"class.std::chrono::duration", ptr %318, i32 0, i32 0
  store i64 %317, ptr %319, align 8
  %320 = call i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %321 = getelementptr inbounds %"class.std::chrono::duration", ptr %38, i32 0, i32 0
  store i64 %320, ptr %321, align 8
  call void @_ZNSt6chrono8durationIdSt5ratioILl1ELl1EEEC2IlS1_ILl1ELl1000000000EEvEERKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 432, ptr %40) #9
  %322 = getelementptr inbounds %"class.DynexCN::Blockchain", ptr %42, i32 0, i32 33
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %40, ptr noundef nonnull align 8 dereferenceable(40) %322, i32 noundef 3, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging12BRIGHT_WHITEB5cxx11E)
  %323 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA38_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %40, ptr noundef nonnull align 1 dereferenceable(38) @.str.37)
          to label %324 unwind label %332

324:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %325 = invoke noundef double @_ZNKSt6chrono8durationIdSt5ratioILl1ELl1EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %326 unwind label %336

326:                                              ; preds = %324
  store double %325, ptr %41, align 8, !tbaa !37
  %327 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEdEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %323, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %328 unwind label %336

328:                                              ; preds = %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %40) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  store i32 0, ptr %4, align 4
  br label %329

329:                                              ; preds = %328, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  %330 = load i32, ptr %4, align 4
  switch i32 %330, label %347 [
    i32 0, label %331
    i32 1, label %331
  ]

331:                                              ; preds = %329, %329
  ret void

332:                                              ; preds = %316
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %8, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %9, align 4
  br label %340

336:                                              ; preds = %326, %324
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %8, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %340

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

341:                                              ; preds = %340, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %8, align 8
  %344 = load i32, ptr %9, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346

347:                                              ; preds = %329
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184), i64 noundef) #7 align 2

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

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

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

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88)) #7 align 2

declare void @_ZN7DynexCN12AddressIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49)) #4

declare void @_ZN7DynexCN14PaymentIdIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(89)) #4

declare void @_ZN7DynexCN20TimestampBlocksIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49)) #4

declare void @_ZN7DynexCN26GeneratedTransactionsIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(65)) #4

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

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

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

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

declare noundef zeroext i1 @_ZN7DynexCN20TimestampBlocksIndex3addEmRKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, ptr noundef nonnull align 1 dereferenceable(32)) #4

declare noundef zeroext i1 @_ZN7DynexCN26GeneratedTransactionsIndex3addERKNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(65), ptr noundef nonnull align 8 dereferenceable(384)) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(112)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS8_INS9_IT0_E4typeEE6__typeEEOSA_OSF_(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)) #7

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) 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_EE3getIS8_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88)) #6 align 2

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

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

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

; 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)) #7 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) #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 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)) #7 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)) #7 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)) #7 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)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i64 0, i64 32, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"_ZTSN7DynexCN11BlockHeaderE", !7, i64 0, !7, i64 1, !10, i64 4, !12, i64 8, !17, i64 16}
!17 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTSN7DynexCN10Blockchain16TransactionIndexE", !10, i64 0, !19, i64 4}
!22 = !{!21, !19, i64 4}
!23 = !{!24, !10, i64 0}
!24 = !{!"_ZTSN7DynexCN10Blockchain13SpentKeyImageE", !10, i64 0, !25, i64 4}
!25 = !{!"_ZTSN6Crypto8KeyImageE", !7, i64 0}
!26 = !{!27, !10, i64 12}
!27 = !{!"_ZTSN7DynexCN19MultisignatureInputE", !12, i64 0, !7, i64 8, !10, i64 12}
!28 = !{!29, !30, i64 10}
!29 = !{!"_ZTSN7DynexCN10Blockchain25MultisignatureOutputUsageE", !21, i64 0, !19, i64 8, !30, i64 10}
!30 = !{!"bool", !7, i64 0}
!31 = !{i64 0, i64 4, !9, i64 4, i64 2, !18}
!32 = !{!29, !19, i64 8}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = distinct !{!36, !34}
!37 = !{!38, !38, i64 0}
!38 = !{!"double", !7, i64 0}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.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.Crypto::Hash" = type { [32 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::reference_wrapper" = type { ptr }
%"struct.DynexCN::Blockchain::TransactionIndex" = type { i32, i16 }
%"struct.std::pair.239" = type { %"struct.Crypto::Hash", %"struct.DynexCN::Blockchain::TransactionIndex" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.DynexCN::Blockchain::SpentKeyImage" = type { i32, %"struct.Crypto::KeyImage" }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"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.std::chrono::duration.261" = type { double }

@_ZN7Logging12BRIGHT_WHITEB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.23 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [38 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv = external hidden unnamed_addr constant [41 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [49 x i8], align 1
@_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.37 = external hidden unnamed_addr constant [38 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN10Blockchain12rebuildCacheEv(ptr noundef nonnull align 8 dereferenceable(2636) %0) local_unnamed_addr #7 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::chrono::time_point", align 8
  %3 = alloca %"class.std::reference_wrapper", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.Logging::LoggerMessage", align 8
  %6 = alloca i64, align 8
  %7 = alloca %"struct.Crypto::Hash", align 1
  %8 = alloca %"struct.Crypto::Hash", align 1
  %9 = alloca %"struct.Crypto::Hash", align 1
  %10 = alloca %"struct.Crypto::Hash", align 1
  %11 = alloca %"struct.Crypto::Hash", align 1
  %12 = alloca %"struct.Crypto::Hash", align 1
  %13 = alloca %"struct.DynexCN::Blockchain::TransactionIndex", align 8
  %14 = alloca %"struct.std::pair.239", align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"struct.DynexCN::Blockchain::SpentKeyImage", align 4
  %18 = alloca i16, align 2
  %19 = alloca %"struct.std::pair.258", align 8
  %20 = alloca %"struct.DynexCN::Blockchain::MultisignatureOutputUsage", align 8
  %21 = alloca %"class.std::chrono::duration.261", align 8
  %22 = alloca %"class.std::chrono::duration", align 8
  %23 = alloca %"class.std::chrono::time_point", align 8
  %24 = alloca %"class.Logging::LoggerMessage", align 8
  %25 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %26 = tail call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #9
  store i64 %26, ptr %2, align 8
  %27 = getelementptr inbounds i8, ptr %0, i64 1760
  tail call void @_ZN7DynexCN10BlockIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(128) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 1888
  tail call void @_ZNSt13unordered_mapIN6Crypto4HashEN7DynexCN10Blockchain16TransactionIndexESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %28) #9
  %29 = getelementptr inbounds i8, ptr %0, i64 208
  %30 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN5boost11multi_index6detail18ordered_index_implINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEjXadL_ZNS6_10blockIndexEEEEESt4lessIjENS1_9nth_layerILi1ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EES7_SG_EENS0_13hashed_uniqueINSD_INS5_11KeyImageTagESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EENS3_IS6_N6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEESG_SG_EESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EESaIS6_EEENS_3mpl6v_itemISE_NST_7vector0ISG_EELi0EEENS1_22ordered_non_unique_tagENS1_19null_augment_policyEE5clearEv(ptr noundef nonnull align 8 dereferenceable(58) %30) #9
  %31 = getelementptr inbounds i8, ptr %0, i64 360
  tail call void @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88) %31)
  %32 = getelementptr inbounds i8, ptr %0, i64 1944
  tail call void @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88) %32)
  %33 = getelementptr inbounds i8, ptr %0, i64 2320
  tail call void @_ZN7DynexCN12AddressIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49) %33)
  %34 = getelementptr inbounds i8, ptr %0, i64 2224
  tail call void @_ZN7DynexCN14PaymentIdIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(89) %34)
  %35 = getelementptr inbounds i8, ptr %0, i64 2376
  tail call void @_ZN7DynexCN20TimestampBlocksIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49) %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 2432
  tail call void @_ZN7DynexCN26GeneratedTransactionsIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(65) %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 576
  %38 = tail call noundef zeroext i1 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(1184) %37)
  br i1 %38, label %184, label %39

39:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  %40 = tail call noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184) %37, i64 noundef 0)
  %41 = tail call ptr @_ZSt4crefIN7DynexCN10Blockchain10BlockEntryEESt17reference_wrapperIKT_ERS5_(ptr noundef nonnull align 8 dereferenceable(440) %40) #9
  store ptr %41, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  store i32 0, ptr %4, align 4, !tbaa !5
  %42 = tail call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %37)
  %.not61 = icmp eq i64 %42, 0
  br i1 %.not61, label %._crit_edge60, label %.lr.ph59

.lr.ph59:                                         ; preds = %39
  %43 = getelementptr inbounds i8, ptr %0, i64 2592
  %44 = getelementptr inbounds i8, ptr %13, i64 4
  %45 = getelementptr inbounds i8, ptr %17, i64 4
  %46 = getelementptr inbounds i8, ptr %20, i64 8
  %47 = getelementptr inbounds i8, ptr %20, i64 10
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  br label %52

._crit_edge60:                                    ; preds = %._crit_edge57, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %48 = call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #9
  store i64 %48, ptr %23, align 8
  %49 = call i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %2)
  store i64 %49, ptr %22, align 8
  call void @_ZNSt6chrono8durationIdSt5ratioILl1ELl1EEEC2IlS1_ILl1ELl1000000000EEvEERKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %24) #9
  %50 = 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 %24, ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 3, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging12BRIGHT_WHITEB5cxx11E)
  %51 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA38_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %24, ptr noundef nonnull align 1 dereferenceable(38) @.str.37)
          to label %180 unwind label %185

52:                                               ; preds = %.lr.ph59, %._crit_edge57
  %53 = load i32, ptr %4, align 4
  %54 = urem i32 %53, 10000
  %55 = icmp eq i32 %54, 0
  %56 = icmp ne i32 %53, 0
  %or.cond = and i1 %56, %55
  br i1 %or.cond, label %57, label %72

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %5) #9
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %5, ptr noundef nonnull align 8 dereferenceable(40) %43, i32 noundef 3, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging12BRIGHT_WHITEB5cxx11E)
  %58 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA8_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %5, ptr noundef nonnull align 1 dereferenceable(8) @.str.32)
          to label %59 unwind label %67

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEjEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %58, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %61 unwind label %67

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

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %64 = call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %37)
  store i64 %64, ptr %6, align 8, !tbaa !9
  %65 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEmEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %62, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %66 unwind label %69

66:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %5) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %5) #9
  br label %72

67:                                               ; preds = %61, %59, %57
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %63
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %71

71:                                               ; preds = %69, %67
  %.pn48 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %5) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  br label %190

72:                                               ; preds = %66, %52
  %73 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZNKSt17reference_wrapperIKN7DynexCN10Blockchain10BlockEntryEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = add i32 %74, 1
  %76 = zext i32 %75 to i64
  %77 = call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %37)
  %78 = icmp ugt i64 %77, %76
  br i1 %78, label %79, label %90

79:                                               ; preds = %72
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = add i32 %80, 1
  %82 = zext i32 %81 to i64
  %83 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184) %37, i64 noundef %82)
  %84 = call ptr @_ZSt4crefIN7DynexCN10Blockchain10BlockEntryEESt17reference_wrapperIKT_ERS5_(ptr noundef nonnull align 8 dereferenceable(440) %83) #9
  store ptr %84, ptr %3, align 8
  %85 = call noundef nonnull align 8 dereferenceable(440) ptr @_ZNKSt17reference_wrapperIKN7DynexCN10Blockchain10BlockEntryEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  %86 = getelementptr inbounds i8, ptr %85, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %86, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %8, ptr noundef nonnull align 8 dereferenceable(384) %73)
  %87 = call noundef zeroext i1 @_ZN6CryptoeqERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(32) %8)
  br i1 %87, label %89, label %88

88:                                               ; preds = %79
  call void @__assert_fail(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.23, i32 noundef 630, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

89:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %91

90:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @_ZN7DynexCN14get_block_hashERKNS_5BlockE(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %9, ptr noundef nonnull align 8 dereferenceable(384) %73)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %91

91:                                               ; preds = %90, %89
  %92 = call noundef zeroext i1 @_ZN7DynexCN10BlockIndex4pushERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(128) %27, ptr noundef nonnull align 1 dereferenceable(32) %7)
  %93 = getelementptr inbounds i8, ptr %73, i64 8
  %94 = load i64, ptr %93, align 8, !tbaa !13
  %95 = call noundef zeroext i1 @_ZN7DynexCN20TimestampBlocksIndex3addEmRKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %35, i64 noundef %94, ptr noundef nonnull align 1 dereferenceable(32) %7)
  %96 = call noundef zeroext i1 @_ZN7DynexCN26GeneratedTransactionsIndex3addERKNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(65) %36, ptr noundef nonnull align 8 dereferenceable(384) %73)
  %97 = getelementptr inbounds i8, ptr %73, i64 360
  %98 = call noundef i64 @_ZNKSt6vectorIN6Crypto4HashESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #9
  %99 = add i64 %98, 1
  %100 = getelementptr inbounds i8, ptr %73, i64 416
  %101 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #9
  %102 = icmp eq i64 %99, %101
  br i1 %102, label %.preheader, label %104

.preheader:                                       ; preds = %91
  %103 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #9
  %.not62 = icmp eq i64 %103, 0
  br i1 %.not62, label %._crit_edge57, label %.lr.ph56

104:                                              ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.23, i32 noundef 640, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

._crit_edge57:                                    ; preds = %._crit_edge54, %.preheader
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = add i32 %105, 1
  store i32 %106, ptr %4, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = call noundef i64 @_ZNK13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(1184) %37)
  %109 = icmp ugt i64 %108, %107
  br i1 %109, label %52, label %._crit_edge60, !llvm.loop !16

.lr.ph56:                                         ; preds = %.preheader, %._crit_edge54
  %110 = phi i64 [ %155, %._crit_edge54 ], [ 0, %.preheader ]
  %.04555 = phi i16 [ %154, %._crit_edge54 ], [ 0, %.preheader ]
  %111 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %110) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  %.not = icmp eq i16 %.04555, 0
  br i1 %.not, label %119, label %112

112:                                              ; preds = %.lr.ph56
  %113 = add nuw nsw i64 %110, 4294967295
  %114 = and i64 %113, 4294967295
  %115 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZNKSt6vectorIN6Crypto4HashESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %114) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(32) %115, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %11, ptr noundef nonnull align 8 dereferenceable(112) %111)
  %116 = call noundef zeroext i1 @_ZN6CryptoeqERKNS_4HashES2_(ptr noundef nonnull align 1 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(32) %11)
  br i1 %116, label %118, label %117

117:                                              ; preds = %112
  call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.23, i32 noundef 647, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN10Blockchain12rebuildCacheEv) #10
  unreachable

118:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %120

119:                                              ; preds = %.lr.ph56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  call void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %12, ptr noundef nonnull align 8 dereferenceable(112) %111)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(32) %12, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  br label %120

120:                                              ; preds = %119, %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %121 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %121, ptr %13, align 8, !tbaa !18
  store i16 %.04555, ptr %44, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #9
  call void @_ZSt9make_pairIRN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS8_INS9_IT0_E4typeEE6__typeEEOSA_OSF_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.239") align 4 %14, ptr noundef nonnull align 1 dereferenceable(32) %10, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %122 = 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) %28, ptr noundef nonnull align 4 dereferenceable(40) %14)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  %123 = call noundef zeroext i1 @_ZN7DynexCN14PaymentIdIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(89) %34, ptr noundef nonnull align 8 dereferenceable(112) %111, ptr noundef nonnull align 1 dereferenceable(32) %10)
  %124 = call noundef zeroext i1 @_ZN7DynexCN12AddressIndex3addERKNS_11TransactionERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49) %33, ptr noundef nonnull align 8 dereferenceable(112) %111, ptr noundef nonnull align 1 dereferenceable(32) %10)
  %125 = getelementptr inbounds i8, ptr %111, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %126 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #9
  store ptr %126, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %127 = call ptr @_ZNKSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #9
  store ptr %127, ptr %16, align 8
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br i1 %128, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %151, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %18) #9
  %129 = getelementptr inbounds i8, ptr %111, i64 40
  store i16 0, ptr %18, align 2, !tbaa !22
  %130 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %.not63 = icmp eq i64 %130, 0
  br i1 %.not63, label %._crit_edge54, label %.lr.ph53

.lr.ph:                                           ; preds = %120, %151
  %131 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %132 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %131)
  %133 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %132, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN8KeyInputE) #9
  br i1 %133, label %134, label %140

134:                                              ; preds = %.lr.ph
  %135 = call noundef nonnull align 8 dereferenceable(58) 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_EE3getIS8_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %29) #9
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %17) #9
  %136 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %136, ptr %17, align 4, !tbaa !23
  %137 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN5boost3getIN7DynexCN8KeyInputENS1_9BaseInputEJS2_NS1_19MultisignatureInputEEEENS_13add_referenceIKT_E4typeERKNS_7variantIT0_JDpT1_EEE(ptr noundef nonnull align 8 dereferenceable(72) %131)
  %138 = getelementptr inbounds i8, ptr %137, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %138, i64 32, i1 false), !tbaa.struct !11
  %139 = call { ptr, i8 } @_ZN5boost11multi_index6detail18ordered_index_implINS0_6memberIN7DynexCN10Blockchain13SpentKeyImageEjXadL_ZNS6_10blockIndexEEEEESt4lessIjENS1_9nth_layerILi1ES6_NS0_10indexed_byINS0_18ordered_non_uniqueINS0_3tagINS5_13BlockIndexTagEN4mpl_2naESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EES7_SG_EENS0_13hashed_uniqueINSD_INS5_11KeyImageTagESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EENS3_IS6_N6Crypto8KeyImageEXadL_ZNS6_8keyImageEEEEESG_SG_EESG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_SG_EESaIS6_EEENS_3mpl6v_itemISE_NST_7vector0ISG_EELi0EEENS1_22ordered_non_unique_tagENS1_19null_augment_policyEE6insertEOS6_(ptr noundef nonnull align 8 dereferenceable(58) %135, ptr noundef nonnull align 4 dereferenceable(36) %17)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %17) #9
  br label %151

140:                                              ; preds = %.lr.ph
  %141 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(72) %131)
  %142 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %141, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN19MultisignatureInputE) #9
  br i1 %142, label %143, label %151

143:                                              ; preds = %140
  %144 = 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) %131)
  %145 = 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) %32, ptr noundef nonnull align 8 dereferenceable(8) %144)
  %146 = getelementptr inbounds i8, ptr %144, i64 12
  %147 = load i32, ptr %146, align 4, !tbaa !26
  %148 = zext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %148) #9
  %150 = getelementptr inbounds i8, ptr %149, i64 10
  store i8 1, ptr %150, align 2, !tbaa !28
  br label %151

151:                                              ; preds = %140, %143, %134
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %153 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN5boost7variantIN7DynexCN9BaseInputEJNS3_8KeyInputENS3_19MultisignatureInputEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br i1 %153, label %.lr.ph, label %._crit_edge

._crit_edge54:                                    ; preds = %174, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  %154 = add i16 %.04555, 1
  %155 = zext i16 %154 to i64
  %156 = call noundef i64 @_ZNKSt6vectorIN7DynexCN10Blockchain16TransactionEntryESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #9
  %157 = icmp ugt i64 %156, %155
  br i1 %157, label %.lr.ph56, label %._crit_edge57, !llvm.loop !31

.lr.ph53:                                         ; preds = %._crit_edge, %174
  %158 = load i16, ptr %18, align 2, !tbaa !22
  %159 = zext i16 %158 to i64
  %160 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %159) #9
  %161 = getelementptr inbounds i8, ptr %160, i64 8
  %162 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %161)
  %163 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %162, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN9KeyOutputE) #9
  br i1 %163, label %164, label %167

164:                                              ; preds = %.lr.ph53
  %165 = 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) %31, ptr noundef nonnull align 8 dereferenceable(8) %160)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #9
  %166 = call { i64, i16 } @_ZSt9make_pairIRN7DynexCN10Blockchain16TransactionIndexERtESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 2 dereferenceable(2) %18)
  %.fca.0.extract = extractvalue { i64, i16 } %166, 0
  %.fca.1.extract = extractvalue { i64, i16 } %166, 1
  store i64 %.fca.0.extract, ptr %19, 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) %165, ptr noundef nonnull align 4 dereferenceable(10) %19)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #9
  br label %174

167:                                              ; preds = %.lr.ph53
  %168 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEE4typeEv(ptr noundef nonnull align 8 dereferenceable(40) %161)
  %169 = call noundef zeroext i1 @_ZNKSt9type_infoeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %168, ptr noundef nonnull align 8 dereferenceable(16) @_ZTIN7DynexCN20MultisignatureOutputE) #9
  br i1 %169, label %170, label %174

170:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #9
  %171 = load i64, ptr %13, align 8
  store i64 %171, ptr %20, align 8
  %172 = load i16, ptr %18, align 2, !tbaa !22
  store i16 %172, ptr %46, align 8, !tbaa !32
  store i8 0, ptr %47, align 2, !tbaa !28
  %173 = 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) %32, ptr noundef nonnull align 8 dereferenceable(8) %160)
  call void @_ZNSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %173, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #9
  br label %174

174:                                              ; preds = %167, %170, %164
  %175 = load i16, ptr %18, align 2, !tbaa !22
  %176 = add i16 %175, 1
  store i16 %176, ptr %18, align 2, !tbaa !22
  %177 = zext i16 %176 to i64
  %178 = call noundef i64 @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %179 = icmp ugt i64 %178, %177
  br i1 %179, label %.lr.ph53, label %._crit_edge54, !llvm.loop !33

180:                                              ; preds = %._crit_edge60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %181 = call noundef double @_ZNKSt6chrono8durationIdSt5ratioILl1ELl1EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
  store double %181, ptr %25, align 8, !tbaa !34
  %182 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEdEOT_S3_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %51, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %183 unwind label %187

183:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %24) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %184

184:                                              ; preds = %1, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  ret void

185:                                              ; preds = %._crit_edge60
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %180
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %189

189:                                              ; preds = %187, %185
  %.pn = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %24) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %190

190:                                              ; preds = %189, %71
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %71 ], [ %.pn, %189 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn48.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(440) ptr @_ZN13SwappedVectorIN7DynexCN10Blockchain10BlockEntryEEixEm(ptr noundef nonnull align 8 dereferenceable(1184), i64 noundef) local_unnamed_addr #7 align 2

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

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

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

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212steady_clock3nowEv() local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6google15sparse_hash_mapImSt6vectorISt4pairIN7DynexCN10Blockchain16TransactionIndexEtESaIS6_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocIS2_IKmS8_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6google15sparse_hash_mapImSt6vectorIN7DynexCN10Blockchain25MultisignatureOutputUsageESaIS4_EESt4hashImESt8equal_toImENS_27libc_allocator_with_reallocISt4pairIKmS6_EEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #7 align 2

declare void @_ZN7DynexCN12AddressIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #4

declare void @_ZN7DynexCN14PaymentIdIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #4

declare void @_ZN7DynexCN20TimestampBlocksIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #4

declare void @_ZN7DynexCN26GeneratedTransactionsIndex5clearEv(ptr noundef nonnull align 8 dereferenceable(65)) local_unnamed_addr #4

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

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

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

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

declare noundef zeroext i1 @_ZN7DynexCN20TimestampBlocksIndex3addEmRKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN7DynexCN26GeneratedTransactionsIndex3addERKNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(65), ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN13getObjectHashINS_11TransactionEEEN6Crypto4HashERKT_(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRN6Crypto4HashERN7DynexCN10Blockchain16TransactionIndexEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS8_INS9_IT0_E4typeEE6__typeEEOSA_OSF_(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 #7

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(58) 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_EE3getIS8_EERNSO_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #6 align 2

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

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

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

; Function Attrs: mustprogress 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 #7 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 #6 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7DynexCN17TransactionOutputESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 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 #7 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 #7 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 #7 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 #7

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNKSt6chrono8durationIdSt5ratioILl1ELl1EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 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 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 32, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSN7DynexCN11BlockHeaderE", !7, i64 0, !7, i64 1, !6, i64 4, !10, i64 8, !15, i64 16}
!15 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSN7DynexCN10Blockchain16TransactionIndexE", !6, i64 0, !20, i64 4}
!20 = !{!"short", !7, i64 0}
!21 = !{!19, !20, i64 4}
!22 = !{!20, !20, i64 0}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSN7DynexCN10Blockchain13SpentKeyImageE", !6, i64 0, !25, i64 4}
!25 = !{!"_ZTSN6Crypto8KeyImageE", !7, i64 0}
!26 = !{!27, !6, i64 12}
!27 = !{!"_ZTSN7DynexCN19MultisignatureInputE", !10, i64 0, !7, i64 8, !6, i64 12}
!28 = !{!29, !30, i64 10}
!29 = !{!"_ZTSN7DynexCN10Blockchain25MultisignatureOutputUsageE", !19, i64 0, !20, i64 8, !30, i64 10}
!30 = !{!"bool", !7, i64 0}
!31 = distinct !{!31, !17}
!32 = !{!29, !20, i64 8}
!33 = distinct !{!33, !17}
!34 = !{!35, !35, i64 0}
!35 = !{!"double", !7, i64 0}


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