; LLVM IR from dynexcoin/Dynex :: src/WalletLegacy/WalletLegacy.ll (ZN7DynexCN12WalletLegacy14estimateFusionERKm)

; 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::vector.162" = type { %"struct.std::_Vector_base.163" }
%"struct.std::_Vector_base.163" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array" = type { [20 x i64] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.DynexCN::WalletLegacy" = type { %"class.DynexCN::IWalletLegacy", %"class.DynexCN::IBlockchainSynchronizerObserver", %"class.DynexCN::ITransfersObserver", i32, %"class.std::mutex", %"class.DynexCN::AccountBase", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, i8, %"struct.std::atomic", %"struct.std::atomic", %"struct.std::atomic", %"class.DynexCN::BlockchainSynchronizer", %"class.DynexCN::TransfersSyncronizer", ptr, %"class.DynexCN::WalletUserTransactionsCache", %"class.std::unique_ptr.99", %"class.DynexCN::WalletAsyncContextCounter", %"class.Tools::ObserverManager.107", %"class.std::unique_ptr.113" }
%"class.DynexCN::IWalletLegacy" = type { ptr }
%"class.DynexCN::IBlockchainSynchronizerObserver" = type { ptr }
%"class.DynexCN::ITransfersObserver" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.DynexCN::AccountBase" = type { %"struct.DynexCN::AccountKeys", i64 }
%"struct.DynexCN::AccountKeys" = type { %"struct.DynexCN::AccountPublicAddress", %"struct.Crypto::SecretKey", %"struct.Crypto::SecretKey" }
%"struct.DynexCN::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"class.DynexCN::BlockchainSynchronizer" = type { %"class.DynexCN::IObservableImpl", %"class.DynexCN::INodeObserver", %"class.Logging::LoggerRef", %"class.std::map", ptr, %"struct.Crypto::Hash", %"struct.Crypto::Hash", i32, i32, %"class.std::unique_ptr", %"class.std::__cxx11::list", %"class.std::__cxx11::list.15", %"class.std::mutex", %"class.std::mutex", %"class.std::condition_variable" }
%"class.DynexCN::IObservableImpl" = type { %"class.DynexCN::IBlockchainSynchronizer", %"class.Tools::ObserverManager" }
%"class.DynexCN::IBlockchainSynchronizer" = type { %"class.DynexCN::IObservable", %"class.DynexCN::IStreamSerializable" }
%"class.DynexCN::IObservable" = type { ptr }
%"class.DynexCN::IStreamSerializable" = type { ptr }
%"class.Tools::ObserverManager" = type { %"class.std::vector", %"class.std::mutex" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IBlockchainSynchronizerObserver *, std::allocator<DynexCN::IBlockchainSynchronizerObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.DynexCN::INodeObserver" = type { ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<DynexCN::IBlockchainConsumer *, std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>, std::_Select1st<std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>>, std::less<DynexCN::IBlockchainConsumer *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DynexCN::IBlockchainConsumer *, std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>, std::_Select1st<std::pair<DynexCN::IBlockchainConsumer *const, std::shared_ptr<DynexCN::SynchronizationState>>>, std::less<DynexCN::IBlockchainConsumer *>>::_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.Crypto::Hash" = type { [32 x i8] }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.11" }
%"struct.std::_Head_base.11" = type { ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>, std::allocator<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>, std::allocator<std::pair<const DynexCN::ITransactionReader *, std::promise<std::error_code>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::list.15" = type { %"class.std::__cxx11::_List_base.16" }
%"class.std::__cxx11::_List_base.16" = type { %"struct.std::__cxx11::_List_base<std::pair<const Crypto::Hash *, std::promise<void>>, std::allocator<std::pair<const Crypto::Hash *, std::promise<void>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<const Crypto::Hash *, std::promise<void>>, std::allocator<std::pair<const Crypto::Hash *, std::promise<void>>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.DynexCN::TransfersSyncronizer" = type { %"class.DynexCN::ITransfersSynchronizer", %"class.DynexCN::IBlockchainConsumerObserver", %"class.Logging::LoggerRef", %"class.std::unordered_map", %"class.std::unordered_map.25", ptr, ptr, ptr }
%"class.DynexCN::ITransfersSynchronizer" = type { %"class.DynexCN::IStreamSerializable" }
%"class.DynexCN::IBlockchainConsumerObserver" = 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::unordered_map.25" = type { %"class.std::_Hashtable.26" }
%"class.std::_Hashtable.26" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.DynexCN::WalletUserTransactionsCache" = type { %"class.std::vector.39", %"class.std::vector.44", %"class.DynexCN::WalletUnconfirmedTransactions", %"class.std::unordered_map.85" }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransaction, std::allocator<DynexCN::WalletLegacyTransaction>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransaction, std::allocator<DynexCN::WalletLegacyTransaction>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransaction, std::allocator<DynexCN::WalletLegacyTransaction>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransaction, std::allocator<DynexCN::WalletLegacyTransaction>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.DynexCN::WalletUnconfirmedTransactions" = type { %"class.std::unordered_map.49", %"class.std::unordered_set", i64 }
%"class.std::unordered_map.49" = type { %"class.std::_Hashtable.50" }
%"class.std::_Hashtable.50" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_set" = 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.std::unordered_map.85" = type { %"class.std::_Hashtable.86" }
%"class.std::_Hashtable.86" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unique_ptr.99" = type { %"struct.std::__uniq_ptr_data.100" }
%"struct.std::__uniq_ptr_data.100" = type { %"class.std::__uniq_ptr_impl.101" }
%"class.std::__uniq_ptr_impl.101" = type { %"class.std::tuple.102" }
%"class.std::tuple.102" = type { %"struct.std::_Tuple_impl.103" }
%"struct.std::_Tuple_impl.103" = type { %"struct.std::_Head_base.106" }
%"struct.std::_Head_base.106" = type { ptr }
%"class.DynexCN::WalletAsyncContextCounter" = type { i32, %"class.std::condition_variable", %"class.std::mutex" }
%"class.Tools::ObserverManager.107" = type { %"class.std::vector.108", %"class.std::mutex" }
%"class.std::vector.108" = type { %"struct.std::_Vector_base.109" }
%"struct.std::_Vector_base.109" = type { %"struct.std::_Vector_base<DynexCN::IWalletLegacyObserver *, std::allocator<DynexCN::IWalletLegacyObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IWalletLegacyObserver *, std::allocator<DynexCN::IWalletLegacyObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IWalletLegacyObserver *, std::allocator<DynexCN::IWalletLegacyObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IWalletLegacyObserver *, std::allocator<DynexCN::IWalletLegacyObserver *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.113" = type { %"struct.std::__uniq_ptr_data.114" }
%"struct.std::__uniq_ptr_data.114" = type { %"class.std::__uniq_ptr_impl.115" }
%"class.std::__uniq_ptr_impl.115" = type { %"class.std::tuple.116" }
%"class.std::tuple.116" = type { %"struct.std::_Tuple_impl.117" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { ptr }
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.167 }
%union.anon.167 = type { i32, [28 x i8] }

@.str.12 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [57 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN12WalletLegacy14estimateFusionERKm = external hidden unnamed_addr constant [71 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN7DynexCN12WalletLegacy14estimateFusionERKm(ptr noundef nonnull align 8 dereferenceable(1336) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector.162", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::array", align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %21 = getelementptr inbounds %"class.DynexCN::WalletLegacy", ptr %20, i32 0, i32 16
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = load ptr, ptr %22, align 8, !tbaa !112
  %24 = getelementptr inbounds ptr, ptr %23, i64 5
  %25 = load ptr, ptr %24, align 8
  invoke void %25(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 257)
          to label %26 unwind label %37

26:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 160, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !9
  invoke void @_ZNSt5arrayImLm20EE4fillERKm(ptr noundef nonnull align 8 dereferenceable(160) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %27 unwind label %41

27:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store ptr %6, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = call ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %29, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = call ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  br label %34

34:                                               ; preds = %81, %27
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %35, label %45, label %36

36:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %83

37:                                               ; preds = %2
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  br label %117

41:                                               ; preds = %26
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %7, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %116

45:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %46 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  store ptr %46, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !114
  %47 = getelementptr inbounds %"class.DynexCN::WalletLegacy", ptr %20, i32 0, i32 7
  %48 = load ptr, ptr %47, align 8, !tbaa !115
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %49, i32 0, i32 1
  %51 = load i64, ptr %50, align 8, !tbaa !116
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = load i64, ptr %52, align 8, !tbaa !9
  %54 = getelementptr inbounds %"class.DynexCN::WalletLegacy", ptr %20, i32 0, i32 8
  %55 = load ptr, ptr %54, align 8, !tbaa !119
  %56 = load ptr, ptr %55, align 8, !tbaa !112
  %57 = getelementptr inbounds ptr, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8
  %59 = invoke noundef i32 %58(ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %60 unwind label %69

60:                                               ; preds = %45
  %61 = invoke noundef zeroext i1 @_ZNK7DynexCN8Currency42isAmountApplicableInFusionTransactionInputEmmRhj(ptr noundef nonnull align 8 dereferenceable(984) %48, i64 noundef %51, i64 noundef %53, ptr noundef nonnull align 1 dereferenceable(1) %15, i32 noundef %59)
          to label %62 unwind label %69

62:                                               ; preds = %60
  br i1 %61, label %63, label %80

63:                                               ; preds = %62
  %64 = load i8, ptr %15, align 1, !tbaa !114
  %65 = zext i8 %64 to i32
  %66 = icmp slt i32 %65, 20
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  br label %74

68:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.12, i32 noundef 706, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN12WalletLegacy14estimateFusionERKm) #8
  unreachable

69:                                               ; preds = %60, %45
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %7, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %116

73:                                               ; No predecessors!
  br label %74

74:                                               ; preds = %73, %67
  %75 = load i8, ptr %15, align 1, !tbaa !114
  %76 = zext i8 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm20EEixEm(ptr noundef nonnull align 8 dereferenceable(160) %9, i64 noundef %76) #7
  %78 = load i64, ptr %77, align 8, !tbaa !9
  %79 = add i64 %78, 1
  store i64 %79, ptr %77, align 8, !tbaa !9
  br label %80

80:                                               ; preds = %74, %62
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %81

81:                                               ; preds = %80
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br label %34

83:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr %9, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %84 = load ptr, ptr %16, align 8, !tbaa !5
  %85 = call noundef ptr @_ZNSt5arrayImLm20EE5beginEv(ptr noundef nonnull align 8 dereferenceable(160) %84) #9
  store ptr %85, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %86 = load ptr, ptr %16, align 8, !tbaa !5
  %87 = call noundef ptr @_ZNSt5arrayImLm20EE3endEv(ptr noundef nonnull align 8 dereferenceable(160) %86) #9
  store ptr %87, ptr %18, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %111, %83
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = load ptr, ptr %18, align 8, !tbaa !5
  %91 = icmp ne ptr %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %114

93:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  %95 = load i64, ptr %94, align 8, !tbaa !9
  store i64 %95, ptr %19, align 8, !tbaa !9
  %96 = load i64, ptr %19, align 8, !tbaa !9
  %97 = getelementptr inbounds %"class.DynexCN::WalletLegacy", ptr %20, i32 0, i32 7
  %98 = load ptr, ptr %97, align 8, !tbaa !115
  %99 = invoke noundef i64 @_ZNK7DynexCN8Currency21fusionTxMinInputCountEv(ptr noundef nonnull align 8 dereferenceable(984) %98)
          to label %100 unwind label %106

100:                                              ; preds = %93
  %101 = icmp uge i64 %96, %99
  br i1 %101, label %102, label %110

102:                                              ; preds = %100
  %103 = load i64, ptr %19, align 8, !tbaa !9
  %104 = load i64, ptr %5, align 8, !tbaa !9
  %105 = add i64 %104, %103
  store i64 %105, ptr %5, align 8, !tbaa !9
  br label %110

106:                                              ; preds = %93
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %116

110:                                              ; preds = %102, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %17, align 8, !tbaa !5
  %113 = getelementptr inbounds i64, ptr %112, i32 1
  store ptr %113, ptr %17, align 8, !tbaa !5
  br label %88

114:                                              ; preds = %92
  %115 = load i64, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 160, ptr %9) #7
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret i64 %115

116:                                              ; preds = %106, %69, %41
  call void @llvm.lifetime.end.p0(i64 160, ptr %9) #7
  br label %117

117:                                              ; preds = %116, %37
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %7, align 8
  %120 = load i32, ptr %8, align 4
  %121 = insertvalue { ptr, i32 } poison, ptr %119, 0
  %122 = insertvalue { ptr, i32 } %121, i32 %120, 1
  resume { ptr, i32 } %122
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5arrayImLm20EE4fillERKm(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef zeroext i1 @_ZNK7DynexCN8Currency42isAmountApplicableInFusionTransactionInputEmmRhj(ptr noundef nonnull align 8 dereferenceable(984), i64 noundef, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) #5

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm20EE5beginEv(ptr noundef nonnull align 8 dereferenceable(160)) #6 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm20EE3endEv(ptr noundef nonnull align 8 dereferenceable(160)) #6 align 2

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

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 928}
!12 = !{!"_ZTSN7DynexCN12WalletLegacyE", !13, i64 0, !14, i64 8, !15, i64 16, !16, i64 24, !17, i64 32, !19, i64 72, !24, i64 208, !6, i64 240, !6, i64 248, !6, i64 256, !26, i64 264, !27, i64 272, !27, i64 280, !27, i64 288, !29, i64 296, !67, i64 736, !6, i64 928, !77, i64 936, !93, i64 1160, !99, i64 1168, !101, i64 1264, !106, i64 1328}
!13 = !{!"_ZTSN7DynexCN13IWalletLegacyE"}
!14 = !{!"_ZTSN7DynexCN31IBlockchainSynchronizerObserverE"}
!15 = !{!"_ZTSN7DynexCN18ITransfersObserverE"}
!16 = !{!"_ZTSN7DynexCN12WalletLegacy11WalletStateE", !7, i64 0}
!17 = !{!"_ZTSSt5mutex", !18, i64 0}
!18 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!19 = !{!"_ZTSN7DynexCN11AccountBaseE", !20, i64 0, !10, i64 128}
!20 = !{!"_ZTSN7DynexCN11AccountKeysE", !21, i64 0, !23, i64 64, !23, i64 96}
!21 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !22, i64 0, !22, i64 32}
!22 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!23 = !{!"_ZTSN6Crypto9SecretKeyE", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !10, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{!"_ZTSSt6atomicImE", !28, i64 0}
!28 = !{!"_ZTSSt13__atomic_baseImE", !10, i64 0}
!29 = !{!"_ZTSN7DynexCN22BlockchainSynchronizerE", !30, i64 0, !39, i64 80, !40, i64 88, !41, i64 128, !6, i64 176, !49, i64 184, !49, i64 216, !50, i64 248, !50, i64 252, !51, i64 256, !57, i64 264, !62, i64 288, !17, i64 312, !17, i64 352, !65, i64 392}
!30 = !{!"_ZTSN7DynexCN15IObservableImplINS_31IBlockchainSynchronizerObserverENS_23IBlockchainSynchronizerEEE", !31, i64 0, !34, i64 16}
!31 = !{!"_ZTSN7DynexCN23IBlockchainSynchronizerE", !32, i64 0, !33, i64 8}
!32 = !{!"_ZTSN7DynexCN11IObservableINS_31IBlockchainSynchronizerObserverEEE"}
!33 = !{!"_ZTSN7DynexCN19IStreamSerializableE"}
!34 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN31IBlockchainSynchronizerObserverEEE", !35, i64 0, !17, i64 24}
!35 = !{!"_ZTSSt6vectorIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN7DynexCN13INodeObserverE"}
!40 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !24, i64 8}
!41 = !{!"_ZTSSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !42, i64 0}
!42 = !{!"_ZTSSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !43, i64 0}
!43 = !{!"_ZTSNSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !44, i64 0, !46, i64 8}
!44 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7DynexCN19IBlockchainConsumerEEE", !45, i64 0}
!45 = !{!"_ZTSSt4lessIPN7DynexCN19IBlockchainConsumerEE"}
!46 = !{!"_ZTSSt15_Rb_tree_header", !47, i64 0, !10, i64 32}
!47 = !{!"_ZTSSt18_Rb_tree_node_base", !48, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!48 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!49 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!50 = !{!"_ZTSN7DynexCN22BlockchainSynchronizer5StateE", !7, i64 0}
!51 = !{!"_ZTSSt10unique_ptrISt6threadSt14default_deleteIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt15__uniq_ptr_dataISt6threadSt14default_deleteIS0_ELb1ELb1EE", !53, i64 0}
!53 = !{!"_ZTSSt15__uniq_ptr_implISt6threadSt14default_deleteIS0_EE", !54, i64 0}
!54 = !{!"_ZTSSt5tupleIJPSt6threadSt14default_deleteIS0_EEE", !55, i64 0}
!55 = !{!"_ZTSSt11_Tuple_implILm0EJPSt6threadSt14default_deleteIS0_EEE", !56, i64 0}
!56 = !{!"_ZTSSt10_Head_baseILm0EPSt6threadLb0EE", !6, i64 0}
!57 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !58, i64 0}
!58 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !59, i64 0}
!59 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EE10_List_implE", !60, i64 0}
!60 = !{!"_ZTSNSt8__detail17_List_node_headerE", !61, i64 0, !10, i64 16}
!61 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!62 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !63, i64 0}
!63 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !64, i64 0}
!64 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EE10_List_implE", !60, i64 0}
!65 = !{!"_ZTSSt18condition_variable", !66, i64 0}
!66 = !{!"_ZTSSt9__condvar", !7, i64 0}
!67 = !{!"_ZTSN7DynexCN20TransfersSyncronizerE", !68, i64 0, !69, i64 8, !40, i64 16, !70, i64 56, !75, i64 112, !6, i64 168, !6, i64 176, !6, i64 184}
!68 = !{!"_ZTSN7DynexCN22ITransfersSynchronizerE", !33, i64 0}
!69 = !{!"_ZTSN7DynexCN27IBlockchainConsumerObserverE"}
!70 = !{!"_ZTSSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN17TransfersConsumerESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE", !71, i64 0}
!71 = !{!"_ZTSSt10_HashtableIN6Crypto9PublicKeyESt4pairIKS1_St10unique_ptrIN7DynexCN17TransfersConsumerESt14default_deleteIS6_EEESaISA_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !72, i64 16, !10, i64 24, !73, i64 32, !6, i64 48}
!72 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!73 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !74, i64 0, !10, i64 8}
!74 = !{!"float", !7, i64 0}
!75 = !{!"_ZTSSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN5Tools15ObserverManagerIN7DynexCN30ITransfersSynchronizerObserverEEESt14default_deleteIS7_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_SA_EEE", !76, i64 0}
!76 = !{!"_ZTSSt10_HashtableIN6Crypto9PublicKeyESt4pairIKS1_St10unique_ptrIN5Tools15ObserverManagerIN7DynexCN30ITransfersSynchronizerObserverEEESt14default_deleteIS9_EEESaISD_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !72, i64 16, !10, i64 24, !73, i64 32, !6, i64 48}
!77 = !{!"_ZTSN7DynexCN27WalletUserTransactionsCacheE", !78, i64 0, !82, i64 24, !86, i64 48, !91, i64 168}
!78 = !{!"_ZTSSt6vectorIN7DynexCN23WalletLegacyTransactionESaIS1_EE", !79, i64 0}
!79 = !{!"_ZTSSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE12_Vector_implE", !81, i64 0}
!81 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!82 = !{!"_ZTSSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EE", !83, i64 0}
!83 = !{!"_ZTSSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE", !84, i64 0}
!84 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE12_Vector_implE", !85, i64 0}
!85 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!86 = !{!"_ZTSN7DynexCN29WalletUnconfirmedTransactionsE", !87, i64 0, !89, i64 56, !10, i64 112}
!87 = !{!"_ZTSSt13unordered_mapIN6Crypto4HashEN7DynexCN26UnconfirmedTransferDetailsEN5boost4hashIS1_EESt8equal_toIS1_ESaISt4pairIKS1_S3_EEE", !88, i64 0}
!88 = !{!"_ZTSSt10_HashtableIN6Crypto4HashESt4pairIKS1_N7DynexCN26UnconfirmedTransferDetailsEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_EN5boost4hashIS1_EENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !72, i64 16, !10, i64 24, !73, i64 32, !6, i64 48}
!89 = !{!"_ZTSSt13unordered_setISt4pairIN6Crypto9PublicKeyEmESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !90, i64 0}
!90 = !{!"_ZTSSt10_HashtableISt4pairIN6Crypto9PublicKeyEmES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !10, i64 8, !72, i64 16, !10, i64 24, !73, i64 32, !6, i64 48}
!91 = !{!"_ZTSSt13unordered_mapIN6Crypto4HashESt6vectorImSaImEEN5boost4hashIS1_EESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE", !92, i64 0}
!92 = !{!"_ZTSSt10_HashtableIN6Crypto4HashESt4pairIKS1_St6vectorImSaImEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS1_EN5boost4hashIS1_EENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !10, i64 8, !72, i64 16, !10, i64 24, !73, i64 32, !6, i64 48}
!93 = !{!"_ZTSSt10unique_ptrIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EE", !94, i64 0}
!94 = !{!"_ZTSSt15__uniq_ptr_dataIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_ELb1ELb1EE", !95, i64 0}
!95 = !{!"_ZTSSt15__uniq_ptr_implIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EE", !96, i64 0}
!96 = !{!"_ZTSSt5tupleIJPN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EEE", !97, i64 0}
!97 = !{!"_ZTSSt11_Tuple_implILm0EJPN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EEE", !98, i64 0}
!98 = !{!"_ZTSSt10_Head_baseILm0EPN7DynexCN23WalletTransactionSenderELb0EE", !6, i64 0}
!99 = !{!"_ZTSN7DynexCN25WalletAsyncContextCounterE", !100, i64 0, !65, i64 8, !17, i64 56}
!100 = !{!"int", !7, i64 0}
!101 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21IWalletLegacyObserverEEE", !102, i64 0, !17, i64 24}
!102 = !{!"_ZTSSt6vectorIPN7DynexCN21IWalletLegacyObserverESaIS2_EE", !103, i64 0}
!103 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE", !104, i64 0}
!104 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE12_Vector_implE", !105, i64 0}
!105 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!106 = !{!"_ZTSSt10unique_ptrIN7DynexCN11SyncStarterESt14default_deleteIS1_EE", !107, i64 0}
!107 = !{!"_ZTSSt15__uniq_ptr_dataIN7DynexCN11SyncStarterESt14default_deleteIS1_ELb1ELb1EE", !108, i64 0}
!108 = !{!"_ZTSSt15__uniq_ptr_implIN7DynexCN11SyncStarterESt14default_deleteIS1_EE", !109, i64 0}
!109 = !{!"_ZTSSt5tupleIJPN7DynexCN11SyncStarterESt14default_deleteIS1_EEE", !110, i64 0}
!110 = !{!"_ZTSSt11_Tuple_implILm0EJPN7DynexCN11SyncStarterESt14default_deleteIS1_EEE", !111, i64 0}
!111 = !{!"_ZTSSt10_Head_baseILm0EPN7DynexCN11SyncStarterELb0EE", !6, i64 0}
!112 = !{!113, !113, i64 0}
!113 = !{!"vtable pointer", !8, i64 0}
!114 = !{!7, !7, i64 0}
!115 = !{!12, !6, i64 240}
!116 = !{!117, !10, i64 8}
!117 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !118, i64 0, !10, i64 8, !100, i64 16, !100, i64 20, !49, i64 24, !22, i64 56, !7, i64 88}
!118 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !7, i64 0}
!119 = !{!12, !6, i64 248}


; 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::vector.162" = type { %"struct.std::_Vector_base.163" }
%"struct.std::_Vector_base.163" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array" = type { [20 x i64] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.12 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [57 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN12WalletLegacy14estimateFusionERKm = external hidden unnamed_addr constant [71 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN7DynexCN12WalletLegacy14estimateFusionERKm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1336) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.162", align 8
  %4 = alloca %"struct.std::array", align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %9 = getelementptr inbounds i8, ptr %0, i64 928
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = load ptr, ptr %10, align 8, !tbaa !110
  %12 = getelementptr inbounds i8, ptr %11, i64 40
  %13 = load ptr, ptr %12, align 8
  invoke void %13(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 257)
          to label %14 unwind label %24

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store i64 0, ptr %5, align 8, !tbaa !112
  invoke void @_ZNSt5arrayImLm20EE4fillERKm(ptr noundef nonnull align 8 dereferenceable(160) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %15 unwind label %26

15:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %16 = call ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %16, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %17 = call ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %17, ptr %7, align 8
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %18, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15
  %19 = getelementptr inbounds i8, ptr %0, i64 240
  %20 = getelementptr inbounds i8, ptr %0, i64 248
  br label %28

._crit_edge:                                      ; preds = %53, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %21 = call noundef ptr @_ZNSt5arrayImLm20EE5beginEv(ptr noundef nonnull align 8 dereferenceable(160) %4) #8
  %22 = call noundef ptr @_ZNSt5arrayImLm20EE3endEv(ptr noundef nonnull align 8 dereferenceable(160) %4) #8
  %.not25 = icmp eq ptr %21, %22
  br i1 %.not25, label %._crit_edge30, label %.lr.ph29

.lr.ph29:                                         ; preds = %._crit_edge
  %23 = getelementptr inbounds i8, ptr %0, i64 240
  br label %56

24:                                               ; preds = %2
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %63

26:                                               ; preds = %14
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %62

28:                                               ; preds = %.lr.ph, %53
  %29 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  store i8 0, ptr %8, align 1, !tbaa !113
  %30 = load ptr, ptr %19, align 8, !tbaa !114
  %31 = getelementptr inbounds i8, ptr %29, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !115
  %33 = load i64, ptr %1, align 8, !tbaa !112
  %34 = load ptr, ptr %20, align 8, !tbaa !118
  %35 = load ptr, ptr %34, align 8, !tbaa !110
  %36 = getelementptr inbounds i8, ptr %35, i64 64
  %37 = load ptr, ptr %36, align 8
  %38 = invoke noundef i32 %37(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %39 unwind label %46

39:                                               ; preds = %28
  %40 = invoke noundef zeroext i1 @_ZNK7DynexCN8Currency42isAmountApplicableInFusionTransactionInputEmmRhj(ptr noundef nonnull align 8 dereferenceable(984) %30, i64 noundef %32, i64 noundef %33, ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %38)
          to label %41 unwind label %46

41:                                               ; preds = %39
  br i1 %40, label %42, label %53

42:                                               ; preds = %41
  %43 = load i8, ptr %8, align 1, !tbaa !113
  %44 = icmp ult i8 %43, 20
  br i1 %44, label %48, label %45

45:                                               ; preds = %42
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.12, i32 noundef 706, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN12WalletLegacy14estimateFusionERKm) #9
  unreachable

46:                                               ; preds = %39, %28
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %62

48:                                               ; preds = %42
  %49 = zext nneg i8 %43 to i64
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm20EEixEm(ptr noundef nonnull align 8 dereferenceable(160) %4, i64 noundef %49) #7
  %51 = load i64, ptr %50, align 8, !tbaa !112
  %52 = add i64 %51, 1
  store i64 %52, ptr %50, align 8, !tbaa !112
  br label %53

53:                                               ; preds = %48, %41
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7DynexCN28TransactionOutputInformationESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %55, label %28, label %._crit_edge

._crit_edge30:                                    ; preds = %56, %._crit_edge
  %.0.lcssa = phi i64 [ 0, %._crit_edge ], [ %spec.select, %56 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #7
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  ret i64 %.0.lcssa

56:                                               ; preds = %.lr.ph29, %56
  %.027 = phi i64 [ 0, %.lr.ph29 ], [ %spec.select, %56 ]
  %.01826 = phi ptr [ %21, %.lr.ph29 ], [ %61, %56 ]
  %57 = load i64, ptr %.01826, align 8, !tbaa !112
  %58 = load ptr, ptr %23, align 8, !tbaa !114
  %59 = call noundef i64 @_ZNK7DynexCN8Currency21fusionTxMinInputCountEv(ptr noundef nonnull align 8 dereferenceable(984) %58)
  %.not22 = icmp ult i64 %57, %59
  %60 = select i1 %.not22, i64 0, i64 %57
  %spec.select = add i64 %60, %.027
  %61 = getelementptr inbounds i8, ptr %.01826, i64 8
  %.not = icmp eq ptr %61, %22
  br i1 %.not, label %._crit_edge30, label %56

62:                                               ; preds = %46, %26
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #7
  br label %63

63:                                               ; preds = %62, %24
  %.pn.pn = phi { ptr, i32 } [ %.pn, %62 ], [ %25, %24 ]
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5arrayImLm20EE4fillERKm(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZNK7DynexCN8Currency42isAmountApplicableInFusionTransactionInputEmmRhj(ptr noundef nonnull align 8 dereferenceable(984), i64 noundef, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm20EE5beginEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm20EE3endEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #6 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !23, i64 928}
!6 = !{!"_ZTSN7DynexCN12WalletLegacyE", !7, i64 0, !8, i64 8, !9, i64 16, !10, i64 24, !13, i64 32, !15, i64 72, !21, i64 208, !23, i64 240, !23, i64 248, !23, i64 256, !24, i64 264, !25, i64 272, !25, i64 280, !25, i64 288, !27, i64 296, !65, i64 736, !23, i64 928, !75, i64 936, !91, i64 1160, !97, i64 1168, !99, i64 1264, !104, i64 1328}
!7 = !{!"_ZTSN7DynexCN13IWalletLegacyE"}
!8 = !{!"_ZTSN7DynexCN31IBlockchainSynchronizerObserverE"}
!9 = !{!"_ZTSN7DynexCN18ITransfersObserverE"}
!10 = !{!"_ZTSN7DynexCN12WalletLegacy11WalletStateE", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSt5mutex", !14, i64 0}
!14 = !{!"_ZTSSt12__mutex_base", !11, i64 0}
!15 = !{!"_ZTSN7DynexCN11AccountBaseE", !16, i64 0, !20, i64 128}
!16 = !{!"_ZTSN7DynexCN11AccountKeysE", !17, i64 0, !19, i64 64, !19, i64 96}
!17 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !18, i64 0, !18, i64 32}
!18 = !{!"_ZTSN6Crypto9PublicKeyE", !11, i64 0}
!19 = !{!"_ZTSN6Crypto9SecretKeyE", !11, i64 0}
!20 = !{!"long", !11, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !20, i64 8, !11, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !23, i64 0}
!23 = !{!"any pointer", !11, i64 0}
!24 = !{!"bool", !11, i64 0}
!25 = !{!"_ZTSSt6atomicImE", !26, i64 0}
!26 = !{!"_ZTSSt13__atomic_baseImE", !20, i64 0}
!27 = !{!"_ZTSN7DynexCN22BlockchainSynchronizerE", !28, i64 0, !37, i64 80, !38, i64 88, !39, i64 128, !23, i64 176, !47, i64 184, !47, i64 216, !48, i64 248, !48, i64 252, !49, i64 256, !55, i64 264, !60, i64 288, !13, i64 312, !13, i64 352, !63, i64 392}
!28 = !{!"_ZTSN7DynexCN15IObservableImplINS_31IBlockchainSynchronizerObserverENS_23IBlockchainSynchronizerEEE", !29, i64 0, !32, i64 16}
!29 = !{!"_ZTSN7DynexCN23IBlockchainSynchronizerE", !30, i64 0, !31, i64 8}
!30 = !{!"_ZTSN7DynexCN11IObservableINS_31IBlockchainSynchronizerObserverEEE"}
!31 = !{!"_ZTSN7DynexCN19IStreamSerializableE"}
!32 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN31IBlockchainSynchronizerObserverEEE", !33, i64 0, !13, i64 24}
!33 = !{!"_ZTSSt6vectorIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN31IBlockchainSynchronizerObserverESaIS2_EE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!37 = !{!"_ZTSN7DynexCN13INodeObserverE"}
!38 = !{!"_ZTSN7Logging9LoggerRefE", !23, i64 0, !21, i64 8}
!39 = !{!"_ZTSSt3mapIPN7DynexCN19IBlockchainConsumerESt10shared_ptrINS0_20SynchronizationStateEESt4lessIS2_ESaISt4pairIKS2_S5_EEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeIPN7DynexCN19IBlockchainConsumerESt4pairIKS2_St10shared_ptrINS0_20SynchronizationStateEEESt10_Select1stIS8_ESt4lessIS2_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !42, i64 0, !44, i64 8}
!42 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN7DynexCN19IBlockchainConsumerEEE", !43, i64 0}
!43 = !{!"_ZTSSt4lessIPN7DynexCN19IBlockchainConsumerEE"}
!44 = !{!"_ZTSSt15_Rb_tree_header", !45, i64 0, !20, i64 32}
!45 = !{!"_ZTSSt18_Rb_tree_node_base", !46, i64 0, !23, i64 8, !23, i64 16, !23, i64 24}
!46 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!47 = !{!"_ZTSN6Crypto4HashE", !11, i64 0}
!48 = !{!"_ZTSN7DynexCN22BlockchainSynchronizer5StateE", !11, i64 0}
!49 = !{!"_ZTSSt10unique_ptrISt6threadSt14default_deleteIS0_EE", !50, i64 0}
!50 = !{!"_ZTSSt15__uniq_ptr_dataISt6threadSt14default_deleteIS0_ELb1ELb1EE", !51, i64 0}
!51 = !{!"_ZTSSt15__uniq_ptr_implISt6threadSt14default_deleteIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt5tupleIJPSt6threadSt14default_deleteIS0_EEE", !53, i64 0}
!53 = !{!"_ZTSSt11_Tuple_implILm0EJPSt6threadSt14default_deleteIS0_EEE", !54, i64 0}
!54 = !{!"_ZTSSt10_Head_baseILm0EPSt6threadLb0EE", !23, i64 0}
!55 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !56, i64 0}
!56 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EEE", !57, i64 0}
!57 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN7DynexCN18ITransactionReaderESt7promiseISt10error_codeEESaIS9_EE10_List_implE", !58, i64 0}
!58 = !{!"_ZTSNSt8__detail17_List_node_headerE", !59, i64 0, !20, i64 16}
!59 = !{!"_ZTSNSt8__detail15_List_node_baseE", !23, i64 0, !23, i64 8}
!60 = !{!"_ZTSNSt7__cxx114listISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !61, i64 0}
!61 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EEE", !62, i64 0}
!62 = !{!"_ZTSNSt7__cxx1110_List_baseISt4pairIPKN6Crypto4HashESt7promiseIvEESaIS8_EE10_List_implE", !58, i64 0}
!63 = !{!"_ZTSSt18condition_variable", !64, i64 0}
!64 = !{!"_ZTSSt9__condvar", !11, i64 0}
!65 = !{!"_ZTSN7DynexCN20TransfersSyncronizerE", !66, i64 0, !67, i64 8, !38, i64 16, !68, i64 56, !73, i64 112, !23, i64 168, !23, i64 176, !23, i64 184}
!66 = !{!"_ZTSN7DynexCN22ITransfersSynchronizerE", !31, i64 0}
!67 = !{!"_ZTSN7DynexCN27IBlockchainConsumerObserverE"}
!68 = !{!"_ZTSSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN17TransfersConsumerESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE", !69, i64 0}
!69 = !{!"_ZTSSt10_HashtableIN6Crypto9PublicKeyESt4pairIKS1_St10unique_ptrIN7DynexCN17TransfersConsumerESt14default_deleteIS6_EEESaISA_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !23, i64 0, !20, i64 8, !70, i64 16, !20, i64 24, !71, i64 32, !23, i64 48}
!70 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !23, i64 0}
!71 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !72, i64 0, !20, i64 8}
!72 = !{!"float", !11, i64 0}
!73 = !{!"_ZTSSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN5Tools15ObserverManagerIN7DynexCN30ITransfersSynchronizerObserverEEESt14default_deleteIS7_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_SA_EEE", !74, i64 0}
!74 = !{!"_ZTSSt10_HashtableIN6Crypto9PublicKeyESt4pairIKS1_St10unique_ptrIN5Tools15ObserverManagerIN7DynexCN30ITransfersSynchronizerObserverEEESt14default_deleteIS9_EEESaISD_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !23, i64 0, !20, i64 8, !70, i64 16, !20, i64 24, !71, i64 32, !23, i64 48}
!75 = !{!"_ZTSN7DynexCN27WalletUserTransactionsCacheE", !76, i64 0, !80, i64 24, !84, i64 48, !89, i64 168}
!76 = !{!"_ZTSSt6vectorIN7DynexCN23WalletLegacyTransactionESaIS1_EE", !77, i64 0}
!77 = !{!"_ZTSSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE12_Vector_implE", !79, i64 0}
!79 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN23WalletLegacyTransactionESaIS1_EE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!80 = !{!"_ZTSSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EE", !81, i64 0}
!81 = !{!"_ZTSSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE", !82, i64 0}
!82 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE12_Vector_implE", !83, i64 0}
!83 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN20WalletLegacyTransferESaIS1_EE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!84 = !{!"_ZTSN7DynexCN29WalletUnconfirmedTransactionsE", !85, i64 0, !87, i64 56, !20, i64 112}
!85 = !{!"_ZTSSt13unordered_mapIN6Crypto4HashEN7DynexCN26UnconfirmedTransferDetailsEN5boost4hashIS1_EESt8equal_toIS1_ESaISt4pairIKS1_S3_EEE", !86, i64 0}
!86 = !{!"_ZTSSt10_HashtableIN6Crypto4HashESt4pairIKS1_N7DynexCN26UnconfirmedTransferDetailsEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_EN5boost4hashIS1_EENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !23, i64 0, !20, i64 8, !70, i64 16, !20, i64 24, !71, i64 32, !23, i64 48}
!87 = !{!"_ZTSSt13unordered_setISt4pairIN6Crypto9PublicKeyEmESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !88, i64 0}
!88 = !{!"_ZTSSt10_HashtableISt4pairIN6Crypto9PublicKeyEmES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !23, i64 0, !20, i64 8, !70, i64 16, !20, i64 24, !71, i64 32, !23, i64 48}
!89 = !{!"_ZTSSt13unordered_mapIN6Crypto4HashESt6vectorImSaImEEN5boost4hashIS1_EESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE", !90, i64 0}
!90 = !{!"_ZTSSt10_HashtableIN6Crypto4HashESt4pairIKS1_St6vectorImSaImEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS1_EN5boost4hashIS1_EENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !23, i64 0, !20, i64 8, !70, i64 16, !20, i64 24, !71, i64 32, !23, i64 48}
!91 = !{!"_ZTSSt10unique_ptrIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EE", !92, i64 0}
!92 = !{!"_ZTSSt15__uniq_ptr_dataIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_ELb1ELb1EE", !93, i64 0}
!93 = !{!"_ZTSSt15__uniq_ptr_implIN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EE", !94, i64 0}
!94 = !{!"_ZTSSt5tupleIJPN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EEE", !95, i64 0}
!95 = !{!"_ZTSSt11_Tuple_implILm0EJPN7DynexCN23WalletTransactionSenderESt14default_deleteIS1_EEE", !96, i64 0}
!96 = !{!"_ZTSSt10_Head_baseILm0EPN7DynexCN23WalletTransactionSenderELb0EE", !23, i64 0}
!97 = !{!"_ZTSN7DynexCN25WalletAsyncContextCounterE", !98, i64 0, !63, i64 8, !13, i64 56}
!98 = !{!"int", !11, i64 0}
!99 = !{!"_ZTSN5Tools15ObserverManagerIN7DynexCN21IWalletLegacyObserverEEE", !100, i64 0, !13, i64 24}
!100 = !{!"_ZTSSt6vectorIPN7DynexCN21IWalletLegacyObserverESaIS2_EE", !101, i64 0}
!101 = !{!"_ZTSSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE", !102, i64 0}
!102 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE12_Vector_implE", !103, i64 0}
!103 = !{!"_ZTSNSt12_Vector_baseIPN7DynexCN21IWalletLegacyObserverESaIS2_EE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!104 = !{!"_ZTSSt10unique_ptrIN7DynexCN11SyncStarterESt14default_deleteIS1_EE", !105, i64 0}
!105 = !{!"_ZTSSt15__uniq_ptr_dataIN7DynexCN11SyncStarterESt14default_deleteIS1_ELb1ELb1EE", !106, i64 0}
!106 = !{!"_ZTSSt15__uniq_ptr_implIN7DynexCN11SyncStarterESt14default_deleteIS1_EE", !107, i64 0}
!107 = !{!"_ZTSSt5tupleIJPN7DynexCN11SyncStarterESt14default_deleteIS1_EEE", !108, i64 0}
!108 = !{!"_ZTSSt11_Tuple_implILm0EJPN7DynexCN11SyncStarterESt14default_deleteIS1_EEE", !109, i64 0}
!109 = !{!"_ZTSSt10_Head_baseILm0EPN7DynexCN11SyncStarterELb0EE", !23, i64 0}
!110 = !{!111, !111, i64 0}
!111 = !{!"vtable pointer", !12, i64 0}
!112 = !{!20, !20, i64 0}
!113 = !{!11, !11, i64 0}
!114 = !{!6, !23, i64 240}
!115 = !{!116, !20, i64 8}
!116 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !117, i64 0, !20, i64 8, !98, i64 16, !98, i64 20, !47, i64 24, !18, i64 56, !11, i64 88}
!117 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !11, i64 0}
!118 = !{!6, !23, i64 248}


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