; LLVM IR from dynexcoin/Dynex :: src/WalletLegacy (WalletTransactionSender)

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

%"struct.std::_Placeholder" = type { i8 }
%"struct.std::_Placeholder.120" = type { i8 }
%"struct.std::_Placeholder.121" = type { i8 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.106" = type { %"class.std::__shared_ptr.107" }
%"class.std::__shared_ptr.107" = type { ptr, %"class.std::__shared_count" }
%"class.std::error_code" = type { i32, ptr }
%"class.std::vector.135" = type { %"struct.std::_Vector_base.136" }
%"struct.std::_Vector_base.136" = type { %"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::TransactionDestinationEntry" = type { i64, %"struct.DynexCN::AccountPublicAddress" }
%"struct.DynexCN::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }
%"struct.Crypto::PublicKey" = 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] }
%"class.std::vector.140" = type { %"struct.std::_Vector_base.141" }
%"struct.std::_Vector_base.141" = type { %"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.22" }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.7", %"class.std::vector.12", %"class.std::vector.17" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = 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.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = 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.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = 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.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = 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 }
%"struct.DynexCN::AccountKeys" = type { %"struct.DynexCN::AccountPublicAddress", %"struct.Crypto::SecretKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::shared_ptr.109" = type { %"class.std::__shared_ptr.110" }
%"class.std::__shared_ptr.110" = type { ptr, %"class.std::__shared_count" }
%"class.std::_Bind" = type { { i64, i64 }, %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.112", %"struct.std::_Head_base.119" }
%"struct.std::_Tuple_impl.112" = type { %"struct.std::_Head_base.118" }
%"struct.std::_Head_base.118" = type { %"class.std::shared_ptr.74" }
%"class.std::shared_ptr.74" = type { %"class.std::__shared_ptr.75" }
%"class.std::__shared_ptr.75" = type { ptr, %"class.std::__shared_count" }
%"struct.std::_Head_base.119" = type { ptr }
%"class.DynexCN::WalletTransactionSender" = type { ptr, %"struct.DynexCN::AccountKeys", ptr, i64, i8, ptr }
%"struct.DynexCN::SendTransactionContext" = type { i64, %"class.std::vector.77", i64, %"class.std::__cxx11::list", %"struct.DynexCN::TxDustPolicy", i64, %"struct.Crypto::SecretKey" }
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = type { %"struct.std::_Vector_base<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount, std::allocator<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount, std::allocator<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount, std::allocator<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount, std::allocator<DynexCN::COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amount>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_List_impl" }
%"struct.std::__cxx11::_List_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_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 }
%"struct.DynexCN::TxDustPolicy" = type <{ i64, i8, %"struct.DynexCN::AccountPublicAddress", [7 x i8] }>
%"struct.DynexCN::WalletLegacyTransaction" = type <{ i64, i64, i64, i64, i64, i64, %"struct.Crypto::Hash", %"class.boost::optional.132", i8, [2 x i8], i32, i64, %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.boost::optional.132" = type { %"class.boost::optional_detail::optional_base.133" }
%"class.boost::optional_detail::optional_base.133" = type { i8, %"class.boost::optional_detail::aligned_storage.134" }
%"class.boost::optional_detail::aligned_storage.134" = type { %"union.boost::optional_detail::aligned_storage<Crypto::SecretKey>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<Crypto::SecretKey>::dummy_u" = type { [32 x i8] }
%"struct.DynexCN::WalletLegacyTransfer" = type { %"class.std::__cxx11::basic_string", i64 }

@_ZTISt12system_error = external constant ptr
@_ZNSt12placeholders2_1E = external global %"struct.std::_Placeholder", align 1
@_ZNSt12placeholders2_2E = external global %"struct.std::_Placeholder.120", align 1
@_ZNSt12placeholders2_3E = external global %"struct.std::_Placeholder.121", align 1
@_ZTISt9exception = external constant ptr

; 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 { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN23WalletTransactionSender17doSendTransactionESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(80) %3) #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::shared_ptr.106", align 8
  %10 = alloca %"class.std::error_code", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::vector.135", align 8
  %15 = alloca %"struct.DynexCN::TransactionDestinationEntry", align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.DynexCN::AccountPublicAddress", align 1
  %21 = alloca %"class.std::vector.140", align 8
  %22 = alloca %"struct.DynexCN::Transaction", align 8
  %23 = alloca %"struct.DynexCN::AccountKeys", align 8
  %24 = alloca %"class.std::shared_ptr.109", align 8
  %25 = alloca %"class.std::_Bind", align 8
  %26 = alloca { i64, i64 }, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::shared_ptr.106", align 8
  %30 = alloca %"class.std::error_code", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::shared_ptr.106", align 8
  %33 = alloca %"class.std::error_code", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %6, align 8
  %35 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 4
  %36 = load i8, ptr %35, align 8, !tbaa !9, !range !17, !noundef !18
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %59

38:                                               ; preds = %4
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #9
  %40 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !19
  %42 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %43 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %42, i32 0, i32 0
  %44 = load i64, ptr %43, align 8, !tbaa !20
  %45 = call { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 13)
  %46 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 0
  %47 = extractvalue { i32, ptr } %45, 0
  store i32 %47, ptr %46, align 8
  %48 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 1
  %49 = extractvalue { i32, ptr } %45, 1
  store ptr %49, ptr %48, align 8
  %50 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 0
  %51 = load i32, ptr %50, align 8
  %52 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8
  call void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.106") align 8 %9, ptr noundef nonnull align 8 dereferenceable(224) %41, i64 noundef %44, i32 %51, ptr %53)
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %39, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %54 unwind label %55

54:                                               ; preds = %38
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  br label %313

55:                                               ; preds = %38
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %11, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  br label %314

59:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %60 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %63 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %62, i32 0, i32 0
  %64 = load i64, ptr %63, align 8, !tbaa !20
  %65 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZN7DynexCN27WalletUserTransactionsCache14getTransactionEm(ptr noundef nonnull align 8 dereferenceable(224) %61, i64 noundef %64)
          to label %66 unwind label %110

66:                                               ; preds = %59
  store ptr %65, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %67 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %68 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %67, i32 0, i32 3
  %69 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %70 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %69, i32 0, i32 1
  invoke void @_ZN7DynexCN23WalletTransactionSender13prepareInputsERKNSt7__cxx114listINS_28TransactionOutputInformationESaIS3_EEERSt6vectorINS_58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS9_EERS8_INS_22TransactionSourceEntryESaISD_EEm(ptr noundef nonnull align 8 dereferenceable(168) %34, ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0)
          to label %71 unwind label %114

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 72, ptr %15) #9
  invoke void @_ZN7DynexCN27TransactionDestinationEntryC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15)
          to label %72 unwind label %118

72:                                               ; preds = %71
  %73 = getelementptr inbounds %"struct.DynexCN::TransactionDestinationEntry", ptr %15, i32 0, i32 0
  store i64 0, ptr %73, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %74, i32 0, i32 2
  %76 = load i64, ptr %75, align 8, !tbaa !34
  %77 = sub nsw i64 0, %76
  store i64 %77, ptr %16, align 8, !tbaa !44
  %78 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 1
  %79 = getelementptr inbounds %"struct.DynexCN::AccountKeys", ptr %78, i32 0, i32 0
  %80 = load i64, ptr %16, align 8, !tbaa !44
  %81 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %82 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %81, i32 0, i32 2
  %83 = load i64, ptr %82, align 8, !tbaa !45
  invoke void @_ZN12_GLOBAL__N_124createChangeDestinationsERKN7DynexCN20AccountPublicAddressEmmRNS0_27TransactionDestinationEntryE(ptr noundef nonnull align 1 dereferenceable(64) %79, i64 noundef %80, i64 noundef %83, ptr noundef nonnull align 8 dereferenceable(72) %15)
          to label %84 unwind label %122

84:                                               ; preds = %72
  %85 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 1
  %86 = getelementptr inbounds %"struct.DynexCN::AccountKeys", ptr %85, i32 0, i32 0
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %87, i32 0, i32 12
  %89 = invoke noundef zeroext i1 @_ZN7DynexCN27addFromAddressToExtraStringERKNS_20AccountPublicAddressERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64) %86, ptr noundef nonnull align 8 dereferenceable(32) %88)
          to label %90 unwind label %122

90:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %91 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !46
  %93 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 1
  %94 = getelementptr inbounds %"struct.DynexCN::AccountKeys", ptr %93, i32 0, i32 0
  invoke void @_ZNK7DynexCN8Currency22accountAddressAsStringB5cxx11ERKNS_20AccountPublicAddressE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(984) %92, ptr noundef nonnull align 1 dereferenceable(64) %94)
          to label %95 unwind label %126

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %96, i32 0, i32 0
  %98 = load i64, ptr %97, align 8, !tbaa !47
  store i64 %98, ptr %18, align 8, !tbaa !44
  br label %99

99:                                               ; preds = %174, %95
  %100 = load i64, ptr %18, align 8, !tbaa !44
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %101, i32 0, i32 0
  %103 = load i64, ptr %102, align 8, !tbaa !47
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %104, i32 0, i32 1
  %106 = load i64, ptr %105, align 8, !tbaa !48
  %107 = add i64 %103, %106
  %108 = icmp ult i64 %100, %107
  br i1 %108, label %130, label %109

109:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %182

110:                                              ; preds = %59
  %111 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  br label %246

114:                                              ; preds = %66
  %115 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %12, align 4
  br label %245

118:                                              ; preds = %71
  %119 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %11, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %12, align 4
  br label %244

122:                                              ; preds = %84, %72
  %123 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %11, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %12, align 4
  br label %243

126:                                              ; preds = %90
  %127 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %11, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %12, align 4
  br label %242

130:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %131 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !19
  %133 = load i64, ptr %18, align 8, !tbaa !44
  %134 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7DynexCN27WalletUserTransactionsCache11getTransferEm(ptr noundef nonnull align 8 dereferenceable(224) %132, i64 noundef %133)
          to label %135 unwind label %159

135:                                              ; preds = %130
  store ptr %134, ptr %19, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.DynexCN::TransactionDestinationEntry", ptr %15, i32 0, i32 0
  %137 = load i64, ptr %136, align 8, !tbaa !32
  %138 = icmp ne i64 %137, 0
  br i1 %138, label %139, label %163

139:                                              ; preds = %135
  %140 = load ptr, ptr %19, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %140, i32 0, i32 0
  %142 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %141, ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br i1 %142, label %143, label %163

143:                                              ; preds = %139
  %144 = getelementptr inbounds %"struct.DynexCN::TransactionDestinationEntry", ptr %15, i32 0, i32 0
  %145 = load i64, ptr %144, align 8, !tbaa !32
  %146 = load ptr, ptr %19, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %146, i32 0, i32 1
  %148 = load i64, ptr %147, align 8, !tbaa !49
  %149 = add i64 %148, %145
  store i64 %149, ptr %147, align 8, !tbaa !49
  %150 = getelementptr inbounds %"struct.DynexCN::TransactionDestinationEntry", ptr %15, i32 0, i32 0
  %151 = load i64, ptr %150, align 8, !tbaa !32
  %152 = load i64, ptr %16, align 8, !tbaa !44
  %153 = add i64 %152, %151
  store i64 %153, ptr %16, align 8, !tbaa !44
  %154 = load i64, ptr %16, align 8, !tbaa !44
  %155 = sub nsw i64 0, %154
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %156, i32 0, i32 2
  store i64 %155, ptr %157, align 8, !tbaa !34
  %158 = getelementptr inbounds %"struct.DynexCN::TransactionDestinationEntry", ptr %15, i32 0, i32 0
  store i64 0, ptr %158, align 8, !tbaa !32
  br label %163

159:                                              ; preds = %130
  %160 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %11, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %12, align 4
  br label %181

163:                                              ; preds = %143, %139, %135
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #9
  %164 = load ptr, ptr %19, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %164, i32 0, i32 0
  invoke void @_ZN7DynexCN23getAccountAddressAsKeysERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.DynexCN::AccountPublicAddress") align 1 %20, ptr noundef nonnull align 8 dereferenceable(32) %165)
          to label %166 unwind label %177

166:                                              ; preds = %163
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %167, i32 0, i32 1
  %169 = load i64, ptr %168, align 8, !tbaa !49
  %170 = load ptr, ptr %13, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %170, i32 0, i32 12
  %172 = invoke noundef zeroext i1 @_ZN7DynexCN31addToAddressAmountToExtraStringERKNS_20AccountPublicAddressElRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64) %20, i64 noundef %169, ptr noundef nonnull align 8 dereferenceable(32) %171)
          to label %173 unwind label %177

173:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %174

174:                                              ; preds = %173
  %175 = load i64, ptr %18, align 8, !tbaa !44
  %176 = add i64 %175, 1
  store i64 %176, ptr %18, align 8, !tbaa !44
  br label %99, !llvm.loop !51

177:                                              ; preds = %166, %163
  %178 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %11, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #9
  br label %181

181:                                              ; preds = %177, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %241

182:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #9
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %183, i32 0, i32 0
  %185 = load i64, ptr %184, align 8, !tbaa !47
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %186, i32 0, i32 1
  %188 = load i64, ptr %187, align 8, !tbaa !48
  %189 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %190 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %189, i32 0, i32 4
  invoke void @_ZN7DynexCN23WalletTransactionSender17splitDestinationsEmmRKNS_27TransactionDestinationEntryERKNS_12TxDustPolicyERSt6vectorIS1_SaIS1_EE(ptr noundef nonnull align 8 dereferenceable(168) %34, i64 noundef %185, i64 noundef %188, ptr noundef nonnull align 8 dereferenceable(72) %15, ptr noundef nonnull align 8 dereferenceable(73) %190, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %191 unwind label %222

191:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #9
  call void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #9
  %192 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %23, ptr align 8 %192, i64 128, i1 false), !tbaa.struct !53
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %193, i32 0, i32 12
  %195 = load ptr, ptr %13, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %195, i32 0, i32 5
  %197 = load i64, ptr %196, align 8, !tbaa !55
  %198 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 3
  %199 = load i64, ptr %198, align 8, !tbaa !56
  %200 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %201 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %200, i32 0, i32 6
  invoke void @_ZN12_GLOBAL__N_111constructTxEN7DynexCN11AccountKeysERKSt6vectorINS0_22TransactionSourceEntryESaIS3_EERKS2_INS0_27TransactionDestinationEntryESaIS8_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmRNS0_11TransactionERN6Crypto9SecretKeyE(ptr noundef byval(%"struct.DynexCN::AccountKeys") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(32) %194, i64 noundef %197, i64 noundef %199, ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef nonnull align 1 dereferenceable(32) %201)
          to label %202 unwind label %226

202:                                              ; preds = %191
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %203, i32 0, i32 6
  %205 = invoke noundef zeroext i1 @_ZN7DynexCN13getObjectHashINS_11TransactionEEEbRKT_RN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef nonnull align 1 dereferenceable(32) %204)
          to label %206 unwind label %226

206:                                              ; preds = %202
  %207 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %208 = load ptr, ptr %207, align 8, !tbaa !19
  %209 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %210 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %209, i32 0, i32 0
  %211 = load i64, ptr %210, align 8, !tbaa !20
  %212 = load i64, ptr %16, align 8, !tbaa !44
  %213 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %214 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %213, i32 0, i32 3
  %215 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %216 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %215, i32 0, i32 6
  invoke void @_ZN7DynexCN27WalletUserTransactionsCache17updateTransactionEmRKNS_11TransactionEmRKNSt7__cxx114listINS_28TransactionOutputInformationESaIS6_EEERN6Crypto9SecretKeyE(ptr noundef nonnull align 8 dereferenceable(224) %208, i64 noundef %211, ptr noundef nonnull align 8 dereferenceable(112) %22, i64 noundef %212, ptr noundef nonnull align 8 dereferenceable(24) %214, ptr noundef nonnull align 1 dereferenceable(32) %216)
          to label %217 unwind label %226

217:                                              ; preds = %206
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN7DynexCN23WalletTransactionSender20notifyBalanceChangedERSt5dequeISt10shared_ptrINS_17WalletLegacyEventEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(168) %34, ptr noundef nonnull align 8 dereferenceable(80) %218)
          to label %219 unwind label %226

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #9
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN7DynexCN23WalletTransactionSender24relayTransactionCallbackESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code to i64), i64 0 }, ptr %26, align 8, !tbaa !54
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  store ptr %34, ptr %27, align 8, !tbaa !5
  invoke void @_ZSt4bindIMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEJPS1_RS4_RKSt12_PlaceholderILi1EERKSM_ILi2EERKSM_ILi3EEEENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueESX_JDpT0_EE4typeEOSX_DpOSY_(ptr dead_on_unwind writable sret(%"class.std::_Bind") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_1E, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_2E, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_3E)
          to label %220 unwind label %230

220:                                              ; preds = %219
  invoke void @_ZSt11make_sharedIN7DynexCN29WalletRelayTransactionRequestEJRNS0_11TransactionESt5_BindIFMNS0_23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS6_INS0_17WalletLegacyEventEESaISB_EERN5boost8optionalIS6_INS0_13WalletRequestEEEESt10error_codeEPS5_S8_St12_PlaceholderILi1EESP_ILi2EESP_ILi3EEEEEES6_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESW_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.109") align 8 %24, ptr noundef nonnull align 8 dereferenceable(112) %22, ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %221 unwind label %234

221:                                              ; preds = %220
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2INS0_29WalletRelayTransactionRequestEvEEOS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  call void @_ZNSt12__shared_ptrIN7DynexCN29WalletRelayTransactionRequestELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #9
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #9
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %313

222:                                              ; preds = %182
  %223 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %11, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %12, align 4
  br label %240

226:                                              ; preds = %217, %206, %202, %191
  %227 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %11, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %12, align 4
  br label %239

230:                                              ; preds = %219
  %231 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %11, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %12, align 4
  br label %238

234:                                              ; preds = %220
  %235 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %11, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %12, align 4
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #9
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  br label %239

239:                                              ; preds = %238, %226
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #9
  br label %240

240:                                              ; preds = %239, %222
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  br label %241

241:                                              ; preds = %240, %181
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %242

242:                                              ; preds = %241, %126
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  br label %243

243:                                              ; preds = %242, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %244

244:                                              ; preds = %243, %118
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #9
  br label %245

245:                                              ; preds = %244, %114
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  br label %246

246:                                              ; preds = %245, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %247

247:                                              ; preds = %246
  %248 = load i32, ptr %12, align 4
  %249 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt12system_error) #9
  %250 = icmp eq i32 %248, %249
  br i1 %250, label %251, label %269

251:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %252 = load ptr, ptr %11, align 8
  %253 = call ptr @__cxa_begin_catch(ptr %252) #9
  store ptr %253, ptr %31, align 8
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  %255 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %256 = load ptr, ptr %255, align 8, !tbaa !19
  %257 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %258 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %257, i32 0, i32 0
  %259 = load i64, ptr %258, align 8, !tbaa !20
  %260 = load ptr, ptr %31, align 8, !tbaa !5
  %261 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32) %260) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %261, i64 16, i1 false), !tbaa.struct !57
  %262 = getelementptr inbounds { i32, ptr }, ptr %33, i32 0, i32 0
  %263 = load i32, ptr %262, align 8
  %264 = getelementptr inbounds { i32, ptr }, ptr %33, i32 0, i32 1
  %265 = load ptr, ptr %264, align 8
  invoke void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.106") align 8 %32, ptr noundef nonnull align 8 dereferenceable(224) %256, i64 noundef %259, i32 %263, ptr %265)
          to label %266 unwind label %303

266:                                              ; preds = %251
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %254, ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %267 unwind label %307

267:                                              ; preds = %266
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %268

268:                                              ; preds = %292, %267
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  br label %313

269:                                              ; preds = %247
  %270 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %271 = icmp eq i32 %248, %270
  br i1 %271, label %272, label %314

272:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %273 = load ptr, ptr %11, align 8
  %274 = call ptr @__cxa_begin_catch(ptr %273) #9
  store ptr %274, ptr %28, align 8
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #9
  %276 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %34, i32 0, i32 2
  %277 = load ptr, ptr %276, align 8, !tbaa !19
  %278 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %279 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %278, i32 0, i32 0
  %280 = load i64, ptr %279, align 8, !tbaa !20
  %281 = invoke { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 5)
          to label %282 unwind label %293

282:                                              ; preds = %272
  %283 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 0
  %284 = extractvalue { i32, ptr } %281, 0
  store i32 %284, ptr %283, align 8
  %285 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 1
  %286 = extractvalue { i32, ptr } %281, 1
  store ptr %286, ptr %285, align 8
  %287 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 0
  %288 = load i32, ptr %287, align 8
  %289 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 1
  %290 = load ptr, ptr %289, align 8
  invoke void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.106") align 8 %29, ptr noundef nonnull align 8 dereferenceable(224) %277, i64 noundef %280, i32 %288, ptr %290)
          to label %291 unwind label %293

291:                                              ; preds = %282
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %275, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %292 unwind label %297

292:                                              ; preds = %291
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %268

293:                                              ; preds = %282, %272
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %11, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %12, align 4
  br label %301

297:                                              ; preds = %291
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %11, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #9
  br label %301

301:                                              ; preds = %297, %293
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  invoke void @__cxa_end_catch()
          to label %302 unwind label %319

302:                                              ; preds = %301
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %314

303:                                              ; preds = %251
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %11, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %12, align 4
  br label %311

307:                                              ; preds = %266
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %11, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  invoke void @__cxa_end_catch()
          to label %312 unwind label %319

312:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %314

313:                                              ; preds = %268, %221, %54
  ret void

314:                                              ; preds = %312, %302, %269, %55
  %315 = load ptr, ptr %11, align 8
  %316 = load i32, ptr %12, align 4
  %317 = insertvalue { ptr, i32 } poison, ptr %315, 0
  %318 = insertvalue { ptr, i32 } %317, i32 %316, 1
  resume { ptr, i32 } %318

319:                                              ; preds = %311, %301
  %320 = landingpad { ptr, i32 }
          catch ptr null
  %321 = extractvalue { ptr, i32 } %320, 0
  call void @__clang_call_terminate(ptr %321) #10
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare void @_ZN7DynexCN27WalletUserTransactionsCache17updateTransactionEmRKNS_11TransactionEmRKNSt7__cxx114listINS_28TransactionOutputInformationESaIS6_EEERN6Crypto9SecretKeyE(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef, ptr noundef nonnull align 8 dereferenceable(112), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) #5

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.106") align 8, ptr noundef nonnull align 8 dereferenceable(224), i64 noundef, i32, ptr) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN7DynexCN29WalletRelayTransactionRequestEJRNS0_11TransactionESt5_BindIFMNS0_23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS6_INS0_17WalletLegacyEventEESaISB_EERN5boost8optionalIS6_INS0_13WalletRequestEEEESt10error_codeEPS5_S8_St12_PlaceholderILi1EESP_ILi2EESP_ILi3EEEEEES6_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESW_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.109") align 8, ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4bindIMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEJPS1_RS4_RKSt12_PlaceholderILi1EERKSM_ILi2EERKSM_ILi3EEEENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueESX_JDpT0_EE4typeEOSX_DpOSY_(ptr dead_on_unwind noalias writable sret(%"class.std::_Bind") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN23WalletTransactionSender24relayTransactionCallbackESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), i32, ptr) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

declare noundef nonnull align 8 dereferenceable(161) ptr @_ZN7DynexCN27WalletUserTransactionsCache14getTransactionEm(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN27TransactionDestinationEntryC2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_124createChangeDestinationsERKN7DynexCN20AccountPublicAddressEmmRNS0_27TransactionDestinationEntryE(ptr noundef nonnull align 1 dereferenceable(64), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(72)) #3

declare noundef zeroext i1 @_ZN7DynexCN27addFromAddressToExtraStringERKNS_20AccountPublicAddressERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) #5

declare void @_ZNK7DynexCN8Currency22accountAddressAsStringB5cxx11ERKNS_20AccountPublicAddressE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(984), ptr noundef nonnull align 1 dereferenceable(64)) #5

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN7DynexCN27WalletUserTransactionsCache11getTransferEm(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef) #5

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

declare noundef zeroext i1 @_ZN7DynexCN31addToAddressAmountToExtraStringERKNS_20AccountPublicAddressElRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64), i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

declare void @_ZN7DynexCN23getAccountAddressAsKeysERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.DynexCN::AccountPublicAddress") align 1, ptr noundef nonnull align 8 dereferenceable(32)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN23WalletTransactionSender17splitDestinationsEmmRKNS_27TransactionDestinationEntryERKNS_12TxDustPolicyERSt6vectorIS1_SaIS1_EE(ptr noundef nonnull align 8 dereferenceable(168), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111constructTxEN7DynexCN11AccountKeysERKSt6vectorINS0_22TransactionSourceEntryESaIS3_EERKS2_INS0_27TransactionDestinationEntryESaIS8_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmRNS0_11TransactionERN6Crypto9SecretKeyE(ptr noundef byval(%"struct.DynexCN::AccountKeys") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7DynexCN13getObjectHashINS_11TransactionEEEbRKT_RN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 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 = { 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 #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 = { 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 #7 = { nounwind memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "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, !16, i64 152}
!10 = !{!"_ZTSN7DynexCN23WalletTransactionSenderE", !6, i64 0, !11, i64 8, !6, i64 136, !15, i64 144, !16, i64 152, !6, i64 160}
!11 = !{!"_ZTSN7DynexCN11AccountKeysE", !12, i64 0, !14, i64 64, !14, i64 96}
!12 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !13, i64 0, !13, i64 32}
!13 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!14 = !{!"_ZTSN6Crypto9SecretKeyE", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!10, !6, i64 136}
!20 = !{!21, !15, i64 0}
!21 = !{!"_ZTSN7DynexCN22SendTransactionContextE", !15, i64 0, !22, i64 8, !15, i64 32, !26, i64 40, !31, i64 64, !15, i64 144, !14, i64 152}
!22 = !{!"_ZTSSt6vectorIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !27, i64 0}
!27 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !28, i64 0}
!28 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EE10_List_implE", !29, i64 0}
!29 = !{!"_ZTSNSt8__detail17_List_node_headerE", !30, i64 0, !15, i64 16}
!30 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!31 = !{!"_ZTSN7DynexCN12TxDustPolicyE", !15, i64 0, !16, i64 8, !12, i64 9}
!32 = !{!33, !15, i64 0}
!33 = !{!"_ZTSN7DynexCN27TransactionDestinationEntryE", !15, i64 0, !12, i64 8}
!34 = !{!35, !15, i64 16}
!35 = !{!"_ZTSN7DynexCN23WalletLegacyTransactionE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !36, i64 48, !37, i64 80, !16, i64 113, !40, i64 116, !15, i64 120, !41, i64 128, !43, i64 160}
!36 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!37 = !{!"_ZTSN5boost8optionalIN6Crypto9SecretKeyEEE", !38, i64 0}
!38 = !{!"_ZTSN5boost15optional_detail13optional_baseIN6Crypto9SecretKeyEEE", !16, i64 0, !39, i64 1}
!39 = !{!"_ZTSN5boost15optional_detail15aligned_storageIN6Crypto9SecretKeyEEE", !7, i64 0}
!40 = !{!"int", !7, i64 0}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !42, i64 0, !15, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!43 = !{!"_ZTSN7DynexCN28WalletLegacyTransactionStateE", !7, i64 0}
!44 = !{!15, !15, i64 0}
!45 = !{!21, !15, i64 32}
!46 = !{!10, !6, i64 0}
!47 = !{!35, !15, i64 0}
!48 = !{!35, !15, i64 8}
!49 = !{!50, !15, i64 32}
!50 = !{!"_ZTSN7DynexCN20WalletLegacyTransferE", !41, i64 0, !15, i64 32}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = !{i64 0, i64 32, !54, i64 32, i64 32, !54, i64 64, i64 32, !54, i64 96, i64 32, !54}
!54 = !{!7, !7, i64 0}
!55 = !{!35, !15, i64 40}
!56 = !{!10, !15, i64 144}
!57 = !{i64 0, i64 4, !58, i64 8, i64 8, !5}
!58 = !{!40, !40, 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"

%"struct.std::_Placeholder" = type { i8 }
%"struct.std::_Placeholder.120" = type { i8 }
%"struct.std::_Placeholder.121" = type { i8 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.106" = type { %"class.std::__shared_ptr.107" }
%"class.std::__shared_ptr.107" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.135" = type { %"struct.std::_Vector_base.136" }
%"struct.std::_Vector_base.136" = type { %"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionSourceEntry, std::allocator<DynexCN::TransactionSourceEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::TransactionDestinationEntry" = type { i64, %"struct.DynexCN::AccountPublicAddress" }
%"struct.DynexCN::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }
%"struct.Crypto::PublicKey" = 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] }
%"class.std::vector.140" = type { %"struct.std::_Vector_base.141" }
%"struct.std::_Vector_base.141" = type { %"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionDestinationEntry, std::allocator<DynexCN::TransactionDestinationEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.22" }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.7", %"class.std::vector.12", %"class.std::vector.17" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = 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.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = 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.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = 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.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = 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 }
%"struct.DynexCN::AccountKeys" = type { %"struct.DynexCN::AccountPublicAddress", %"struct.Crypto::SecretKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::shared_ptr.109" = type { %"class.std::__shared_ptr.110" }
%"class.std::__shared_ptr.110" = type { ptr, %"class.std::__shared_count" }
%"class.std::_Bind" = type { { i64, i64 }, %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.112", %"struct.std::_Head_base.119" }
%"struct.std::_Tuple_impl.112" = type { %"struct.std::_Head_base.118" }
%"struct.std::_Head_base.118" = type { %"class.std::shared_ptr.74" }
%"class.std::shared_ptr.74" = type { %"class.std::__shared_ptr.75" }
%"class.std::__shared_ptr.75" = type { ptr, %"class.std::__shared_count" }
%"struct.std::_Head_base.119" = type { ptr }

@_ZTISt12system_error = external constant ptr
@_ZNSt12placeholders2_1E = external global %"struct.std::_Placeholder", align 1
@_ZNSt12placeholders2_2E = external global %"struct.std::_Placeholder.120", align 1
@_ZNSt12placeholders2_3E = external global %"struct.std::_Placeholder.121", align 1
@_ZTISt9exception = external constant ptr

; 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 { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN23WalletTransactionSender17doSendTransactionESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(80) %3) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::shared_ptr.106", align 8
  %6 = alloca %"class.std::vector.135", align 8
  %7 = alloca %"struct.DynexCN::TransactionDestinationEntry", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"struct.DynexCN::AccountPublicAddress", align 1
  %10 = alloca %"class.std::vector.140", align 8
  %11 = alloca %"struct.DynexCN::Transaction", align 8
  %12 = alloca %"struct.DynexCN::AccountKeys", align 8
  %13 = alloca %"class.std::shared_ptr.109", align 8
  %14 = alloca %"class.std::_Bind", align 8
  %15 = alloca { i64, i64 }, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::shared_ptr.106", align 8
  %18 = alloca %"class.std::shared_ptr.106", align 8
  %19 = getelementptr inbounds i8, ptr %1, i64 152
  %20 = load i8, ptr %19, align 8, !tbaa !5, !range !16, !noundef !17
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %22, label %33

22:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %23 = getelementptr inbounds i8, ptr %1, i64 136
  %24 = load ptr, ptr %23, align 8, !tbaa !18
  %25 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %26 = load i64, ptr %25, align 8, !tbaa !19
  %27 = tail call { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 13)
  %28 = extractvalue { i32, ptr } %27, 0
  %29 = extractvalue { i32, ptr } %27, 1
  call void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.106") align 8 %5, ptr noundef nonnull align 8 dereferenceable(224) %24, i64 noundef %26, i32 %28, ptr %29)
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %30 unwind label %31

30:                                               ; preds = %22
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  br label %177

31:                                               ; preds = %22
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  br label %178

33:                                               ; preds = %4
  %34 = getelementptr inbounds i8, ptr %1, i64 136
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %36 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %37 = load i64, ptr %36, align 8, !tbaa !19
  %38 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZN7DynexCN27WalletUserTransactionsCache14getTransactionEm(ptr noundef nonnull align 8 dereferenceable(224) %35, i64 noundef %37)
          to label %39 unwind label %67

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %40 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %41 = getelementptr inbounds i8, ptr %40, i64 40
  %42 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  invoke void @_ZN7DynexCN23WalletTransactionSender13prepareInputsERKNSt7__cxx114listINS_28TransactionOutputInformationESaIS3_EEERSt6vectorINS_58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS9_EERS8_INS_22TransactionSourceEntryESaISD_EEm(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0)
          to label %44 unwind label %69

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #9
  invoke void @_ZN7DynexCN27TransactionDestinationEntryC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %7)
          to label %45 unwind label %71

45:                                               ; preds = %44
  store i64 0, ptr %7, align 8, !tbaa !31
  %46 = getelementptr inbounds i8, ptr %38, i64 16
  %47 = load i64, ptr %46, align 8, !tbaa !33
  %48 = sub nsw i64 0, %47
  %49 = getelementptr inbounds i8, ptr %1, i64 8
  %50 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %51 = getelementptr inbounds i8, ptr %50, i64 32
  %52 = load i64, ptr %51, align 8, !tbaa !43
  call void @_ZN12_GLOBAL__N_124createChangeDestinationsERKN7DynexCN20AccountPublicAddressEmmRNS0_27TransactionDestinationEntryE(ptr noundef nonnull align 1 dereferenceable(64) %49, i64 noundef %48, i64 noundef %52, ptr noundef nonnull align 8 dereferenceable(72) %7)
  %53 = getelementptr inbounds i8, ptr %38, i64 128
  %54 = invoke noundef zeroext i1 @_ZN7DynexCN27addFromAddressToExtraStringERKNS_20AccountPublicAddressERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64) %49, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %55 unwind label %73

55:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  %56 = load ptr, ptr %1, align 8, !tbaa !44
  invoke void @_ZNK7DynexCN8Currency22accountAddressAsStringB5cxx11ERKNS_20AccountPublicAddressE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(984) %56, ptr noundef nonnull align 1 dereferenceable(64) %49)
          to label %57 unwind label %75

57:                                               ; preds = %55
  %58 = load i64, ptr %38, align 8, !tbaa !45
  %59 = getelementptr inbounds i8, ptr %38, i64 8
  %60 = load i64, ptr %59, align 8, !tbaa !46
  %61 = add i64 %60, %58
  %62 = icmp ult i64 %58, %61
  br i1 %62, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %97, %57
  %.051.lcssa = phi i64 [ %48, %57 ], [ %.152, %97 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %63 = load i64, ptr %38, align 8, !tbaa !45
  %64 = load i64, ptr %59, align 8, !tbaa !46
  %65 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %66 = getelementptr inbounds i8, ptr %65, i64 64
  invoke void @_ZN7DynexCN23WalletTransactionSender17splitDestinationsEmmRKNS_27TransactionDestinationEntryERKNS_12TxDustPolicyERSt6vectorIS1_SaIS1_EE(ptr noundef nonnull align 8 dereferenceable(168) %1, i64 noundef %63, i64 noundef %64, ptr noundef nonnull align 8 dereferenceable(72) %7, ptr noundef nonnull align 8 dereferenceable(73) %66, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %105 unwind label %127

67:                                               ; preds = %33
  %68 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %142

69:                                               ; preds = %39
  %70 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %141

71:                                               ; preds = %44
  %72 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %140

73:                                               ; preds = %45
  %74 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %140

75:                                               ; preds = %55
  %76 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %139

.lr.ph:                                           ; preds = %57, %97
  %.05174 = phi i64 [ %.152, %97 ], [ %48, %57 ]
  %.05373 = phi i64 [ %98, %97 ], [ %58, %57 ]
  %77 = load ptr, ptr %34, align 8, !tbaa !18
  %78 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN7DynexCN27WalletUserTransactionsCache11getTransferEm(ptr noundef nonnull align 8 dereferenceable(224) %77, i64 noundef %.05373)
          to label %79 unwind label %90

79:                                               ; preds = %.lr.ph
  %80 = load i64, ptr %7, align 8, !tbaa !31
  %.not = icmp eq i64 %80, 0
  br i1 %.not, label %92, label %81

81:                                               ; preds = %79
  %82 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br i1 %82, label %83, label %92

83:                                               ; preds = %81
  %84 = load i64, ptr %7, align 8, !tbaa !31
  %85 = getelementptr inbounds i8, ptr %78, i64 32
  %86 = load i64, ptr %85, align 8, !tbaa !47
  %87 = add i64 %86, %84
  store i64 %87, ptr %85, align 8, !tbaa !47
  %88 = add i64 %84, %.05174
  %89 = sub nsw i64 0, %88
  store i64 %89, ptr %46, align 8, !tbaa !33
  store i64 0, ptr %7, align 8, !tbaa !31
  br label %92

90:                                               ; preds = %.lr.ph
  %91 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %138

92:                                               ; preds = %83, %81, %79
  %.152 = phi i64 [ %88, %83 ], [ %.05174, %81 ], [ %.05174, %79 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #9
  invoke void @_ZN7DynexCN23getAccountAddressAsKeysERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.DynexCN::AccountPublicAddress") align 1 %9, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %93 unwind label %103

93:                                               ; preds = %92
  %94 = getelementptr inbounds i8, ptr %78, i64 32
  %95 = load i64, ptr %94, align 8, !tbaa !47
  %96 = invoke noundef zeroext i1 @_ZN7DynexCN31addToAddressAmountToExtraStringERKNS_20AccountPublicAddressElRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64) %9, i64 noundef %95, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %97 unwind label %103

97:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #9
  %98 = add nuw i64 %.05373, 1
  %99 = load i64, ptr %38, align 8, !tbaa !45
  %100 = load i64, ptr %59, align 8, !tbaa !46
  %101 = add i64 %100, %99
  %102 = icmp ult i64 %98, %101
  br i1 %102, label %.lr.ph, label %._crit_edge, !llvm.loop !49

103:                                              ; preds = %93, %92
  %104 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #9
  br label %138

105:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %11) #9
  call void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(128) %12, ptr noundef nonnull align 8 dereferenceable(128) %49, i64 128, i1 false), !tbaa.struct !51
  %106 = getelementptr inbounds i8, ptr %38, i64 40
  %107 = load i64, ptr %106, align 8, !tbaa !53
  %108 = getelementptr inbounds i8, ptr %1, i64 144
  %109 = load i64, ptr %108, align 8, !tbaa !54
  %110 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %111 = getelementptr inbounds i8, ptr %110, i64 152
  invoke void @_ZN12_GLOBAL__N_111constructTxEN7DynexCN11AccountKeysERKSt6vectorINS0_22TransactionSourceEntryESaIS3_EERKS2_INS0_27TransactionDestinationEntryESaIS8_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmRNS0_11TransactionERN6Crypto9SecretKeyE(ptr noundef nonnull byval(%"struct.DynexCN::AccountKeys") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(32) %53, i64 noundef %107, i64 noundef %109, ptr noundef nonnull align 8 dereferenceable(112) %11, ptr noundef nonnull align 1 dereferenceable(32) %111)
          to label %112 unwind label %129

112:                                              ; preds = %105
  %113 = getelementptr inbounds i8, ptr %38, i64 48
  %114 = invoke noundef zeroext i1 @_ZN7DynexCN13getObjectHashINS_11TransactionEEEbRKT_RN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(112) %11, ptr noundef nonnull align 1 dereferenceable(32) %113)
          to label %115 unwind label %129

115:                                              ; preds = %112
  %116 = load ptr, ptr %34, align 8, !tbaa !18
  %117 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %118 = load i64, ptr %117, align 8, !tbaa !19
  %119 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %120 = getelementptr inbounds i8, ptr %119, i64 40
  %121 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %122 = getelementptr inbounds i8, ptr %121, i64 152
  invoke void @_ZN7DynexCN27WalletUserTransactionsCache17updateTransactionEmRKNS_11TransactionEmRKNSt7__cxx114listINS_28TransactionOutputInformationESaIS6_EEERN6Crypto9SecretKeyE(ptr noundef nonnull align 8 dereferenceable(224) %116, i64 noundef %118, ptr noundef nonnull align 8 dereferenceable(112) %11, i64 noundef %.051.lcssa, ptr noundef nonnull align 8 dereferenceable(24) %120, ptr noundef nonnull align 1 dereferenceable(32) %122)
          to label %123 unwind label %129

123:                                              ; preds = %115
  invoke void @_ZN7DynexCN23WalletTransactionSender20notifyBalanceChangedERSt5dequeISt10shared_ptrINS_17WalletLegacyEventEESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(80) %3)
          to label %124 unwind label %129

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  store i64 ptrtoint (ptr @_ZN7DynexCN23WalletTransactionSender24relayTransactionCallbackESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code to i64), ptr %15, align 8, !tbaa !52
  %.fca.1.gep = getelementptr inbounds i8, ptr %15, i64 8
  store i64 0, ptr %.fca.1.gep, align 8, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  store ptr %1, ptr %16, align 8, !tbaa !55
  invoke void @_ZSt4bindIMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEJPS1_RS4_RKSt12_PlaceholderILi1EERKSM_ILi2EERKSM_ILi3EEEENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueESX_JDpT0_EE4typeEOSX_DpOSY_(ptr dead_on_unwind nonnull writable sret(%"class.std::_Bind") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_1E, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_2E, ptr noundef nonnull align 1 dereferenceable(1) @_ZNSt12placeholders2_3E)
          to label %125 unwind label %131

125:                                              ; preds = %124
  invoke void @_ZSt11make_sharedIN7DynexCN29WalletRelayTransactionRequestEJRNS0_11TransactionESt5_BindIFMNS0_23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS6_INS0_17WalletLegacyEventEESaISB_EERN5boost8optionalIS6_INS0_13WalletRequestEEEESt10error_codeEPS5_S8_St12_PlaceholderILi1EESP_ILi2EESP_ILi3EEEEEES6_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESW_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.109") align 8 %13, ptr noundef nonnull align 8 dereferenceable(112) %11, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %126 unwind label %133

126:                                              ; preds = %125
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2INS0_29WalletRelayTransactionRequestEvEEOS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  call void @_ZNSt12__shared_ptrIN7DynexCN29WalletRelayTransactionRequestELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #9
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #9
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %177

127:                                              ; preds = %._crit_edge
  %128 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %137

129:                                              ; preds = %123, %115, %112, %105
  %130 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %136

131:                                              ; preds = %124
  %132 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %135

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #9
  br label %135

135:                                              ; preds = %133, %131
  %.pn = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %136

136:                                              ; preds = %135, %129
  %.pn.pn = phi { ptr, i32 } [ %.pn, %135 ], [ %130, %129 ]
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #9
  br label %137

137:                                              ; preds = %136, %127
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %136 ], [ %128, %127 ]
  call void @_ZNSt6vectorIN7DynexCN27TransactionDestinationEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %138

138:                                              ; preds = %90, %103, %137
  %.pn57.pn = phi { ptr, i32 } [ %.pn.pn.pn, %137 ], [ %104, %103 ], [ %91, %90 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %139

139:                                              ; preds = %138, %75
  %.pn57.pn.pn = phi { ptr, i32 } [ %.pn57.pn, %138 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %140

140:                                              ; preds = %73, %139, %71
  %.pn57.pn.pn.pn.pn = phi { ptr, i32 } [ %72, %71 ], [ %.pn57.pn.pn, %139 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #9
  br label %141

141:                                              ; preds = %140, %69
  %.pn57.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn.pn, %140 ], [ %70, %69 ]
  call void @_ZNSt6vectorIN7DynexCN22TransactionSourceEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  br label %142

142:                                              ; preds = %141, %67
  %.pn57.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn.pn.pn, %141 ], [ %68, %67 ]
  %.9 = extractvalue { ptr, i32 } %.pn57.pn.pn.pn.pn.pn.pn, 0
  %.947 = extractvalue { ptr, i32 } %.pn57.pn.pn.pn.pn.pn.pn, 1
  %143 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt12system_error) #9
  %144 = icmp eq i32 %.947, %143
  br i1 %144, label %145, label %154

145:                                              ; preds = %142
  %146 = call ptr @__cxa_begin_catch(ptr %.9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  %147 = load ptr, ptr %34, align 8, !tbaa !18
  %148 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %149 = load i64, ptr %148, align 8, !tbaa !19
  %150 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32) %146) #9
  %.sroa.0.0.copyload = load i32, ptr %150, align 8, !tbaa !56
  %.sroa.21.0..sroa_idx = getelementptr inbounds i8, ptr %150, i64 8
  %.sroa.21.0.copyload = load ptr, ptr %.sroa.21.0..sroa_idx, align 8, !tbaa !55
  invoke void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.106") align 8 %18, ptr noundef nonnull align 8 dereferenceable(224) %147, i64 noundef %149, i32 %.sroa.0.0.copyload, ptr %.sroa.21.0.copyload)
          to label %151 unwind label %172

151:                                              ; preds = %145
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %152 unwind label %174

152:                                              ; preds = %151
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  br label %153

153:                                              ; preds = %166, %152
  call void @__cxa_end_catch()
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  br label %177

154:                                              ; preds = %142
  %155 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %156 = icmp eq i32 %.947, %155
  br i1 %156, label %157, label %178

157:                                              ; preds = %154
  %158 = call ptr @__cxa_begin_catch(ptr %.9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %159 = load ptr, ptr %34, align 8, !tbaa !18
  %160 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #9
  %161 = load i64, ptr %160, align 8, !tbaa !19
  %162 = call { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 5)
  %163 = extractvalue { i32, ptr } %162, 0
  %164 = extractvalue { i32, ptr } %162, 1
  invoke void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.106") align 8 %17, ptr noundef nonnull align 8 dereferenceable(224) %159, i64 noundef %161, i32 %163, ptr %164)
          to label %165 unwind label %167

165:                                              ; preds = %157
  invoke void @_ZNSt5dequeISt10shared_ptrIN7DynexCN17WalletLegacyEventEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %166 unwind label %169

166:                                              ; preds = %165
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %153

167:                                              ; preds = %157
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %165
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br label %171

171:                                              ; preds = %169, %167
  %.pn65 = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  invoke void @__cxa_end_catch()
          to label %178 unwind label %179

172:                                              ; preds = %145
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %151
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN7DynexCN17WalletLegacyEventELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  br label %176

176:                                              ; preds = %174, %172
  %.pn67 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  invoke void @__cxa_end_catch()
          to label %178 unwind label %179

177:                                              ; preds = %153, %126, %30
  ret void

178:                                              ; preds = %176, %171, %154, %31
  %.merged = phi { ptr, i32 } [ %32, %31 ], [ %.pn57.pn.pn.pn.pn.pn.pn, %154 ], [ %.pn65, %171 ], [ %.pn67, %176 ]
  resume { ptr, i32 } %.merged

179:                                              ; preds = %176, %171
  %180 = landingpad { ptr, i32 }
          catch ptr null
  %181 = extractvalue { ptr, i32 } %180, 0
  call void @__clang_call_terminate(ptr %181) #10
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare void @_ZN7DynexCN27WalletUserTransactionsCache17updateTransactionEmRKNS_11TransactionEmRKNSt7__cxx114listINS_28TransactionOutputInformationESaIS6_EEERN6Crypto9SecretKeyE(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef, ptr noundef nonnull align 8 dereferenceable(112), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117makeCompleteEventERN7DynexCN27WalletUserTransactionsCacheEmSt10error_code(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.106") align 8, ptr noundef nonnull align 8 dereferenceable(224), i64 noundef, i32, ptr) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN7DynexCN29WalletRelayTransactionRequestEJRNS0_11TransactionESt5_BindIFMNS0_23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS6_INS0_17WalletLegacyEventEESaISB_EERN5boost8optionalIS6_INS0_13WalletRequestEEEESt10error_codeEPS5_S8_St12_PlaceholderILi1EESP_ILi2EESP_ILi3EEEEEES6_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESW_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.109") align 8, ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4bindIMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEJPS1_RS4_RKSt12_PlaceholderILi1EERKSM_ILi2EERKSM_ILi3EEEENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueESX_JDpT0_EE4typeEOSX_DpOSY_(ptr dead_on_unwind noalias writable sret(%"class.std::_Bind") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN23WalletTransactionSender24relayTransactionCallbackESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), i32, ptr) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

declare noundef nonnull align 8 dereferenceable(161) ptr @_ZN7DynexCN27WalletUserTransactionsCache14getTransactionEm(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN27TransactionDestinationEntryC2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_124createChangeDestinationsERKN7DynexCN20AccountPublicAddressEmmRNS0_27TransactionDestinationEntryE(ptr noundef nonnull align 1 dereferenceable(64), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN7DynexCN27addFromAddressToExtraStringERKNS_20AccountPublicAddressERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

declare void @_ZNK7DynexCN8Currency22accountAddressAsStringB5cxx11ERKNS_20AccountPublicAddressE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(984), ptr noundef nonnull align 1 dereferenceable(64)) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN7DynexCN27WalletUserTransactionsCache11getTransferEm(ptr noundef nonnull align 8 dereferenceable(224), i64 noundef) local_unnamed_addr #5

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

declare noundef zeroext i1 @_ZN7DynexCN31addToAddressAmountToExtraStringERKNS_20AccountPublicAddressElRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 1 dereferenceable(64), i64 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

declare void @_ZN7DynexCN23getAccountAddressAsKeysERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.DynexCN::AccountPublicAddress") align 1, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7DynexCN23WalletTransactionSender17splitDestinationsEmmRKNS_27TransactionDestinationEntryERKNS_12TxDustPolicyERSt6vectorIS1_SaIS1_EE(ptr noundef nonnull align 8 dereferenceable(168), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111constructTxEN7DynexCN11AccountKeysERKSt6vectorINS0_22TransactionSourceEntryESaIS3_EERKS2_INS0_27TransactionDestinationEntryESaIS8_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmRNS0_11TransactionERN6Crypto9SecretKeyE(ptr noundef byval(%"struct.DynexCN::AccountKeys") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7DynexCN13getObjectHashINS_11TransactionEEEbRKT_RN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 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 = { 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 #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 = { 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 #7 = { nofree nosync nounwind memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "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, !15, i64 152}
!6 = !{!"_ZTSN7DynexCN23WalletTransactionSenderE", !7, i64 0, !10, i64 8, !7, i64 136, !14, i64 144, !15, i64 152, !7, i64 160}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7DynexCN11AccountKeysE", !11, i64 0, !13, i64 64, !13, i64 96}
!11 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !12, i64 0, !12, i64 32}
!12 = !{!"_ZTSN6Crypto9PublicKeyE", !8, i64 0}
!13 = !{!"_ZTSN6Crypto9SecretKeyE", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!6, !7, i64 136}
!19 = !{!20, !14, i64 0}
!20 = !{!"_ZTSN7DynexCN22SendTransactionContextE", !14, i64 0, !21, i64 8, !14, i64 32, !25, i64 40, !30, i64 64, !14, i64 144, !13, i64 152}
!21 = !{!"_ZTSSt6vectorIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !26, i64 0}
!26 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !27, i64 0}
!27 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EE10_List_implE", !28, i64 0}
!28 = !{!"_ZTSNSt8__detail17_List_node_headerE", !29, i64 0, !14, i64 16}
!29 = !{!"_ZTSNSt8__detail15_List_node_baseE", !7, i64 0, !7, i64 8}
!30 = !{!"_ZTSN7DynexCN12TxDustPolicyE", !14, i64 0, !15, i64 8, !11, i64 9}
!31 = !{!32, !14, i64 0}
!32 = !{!"_ZTSN7DynexCN27TransactionDestinationEntryE", !14, i64 0, !11, i64 8}
!33 = !{!34, !14, i64 16}
!34 = !{!"_ZTSN7DynexCN23WalletLegacyTransactionE", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !35, i64 48, !36, i64 80, !15, i64 113, !39, i64 116, !14, i64 120, !40, i64 128, !42, i64 160}
!35 = !{!"_ZTSN6Crypto4HashE", !8, i64 0}
!36 = !{!"_ZTSN5boost8optionalIN6Crypto9SecretKeyEEE", !37, i64 0}
!37 = !{!"_ZTSN5boost15optional_detail13optional_baseIN6Crypto9SecretKeyEEE", !15, i64 0, !38, i64 1}
!38 = !{!"_ZTSN5boost15optional_detail15aligned_storageIN6Crypto9SecretKeyEEE", !8, i64 0}
!39 = !{!"int", !8, i64 0}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !41, i64 0, !14, i64 8, !8, i64 16}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!42 = !{!"_ZTSN7DynexCN28WalletLegacyTransactionStateE", !8, i64 0}
!43 = !{!20, !14, i64 32}
!44 = !{!6, !7, i64 0}
!45 = !{!34, !14, i64 0}
!46 = !{!34, !14, i64 8}
!47 = !{!48, !14, i64 32}
!48 = !{!"_ZTSN7DynexCN20WalletLegacyTransferE", !40, i64 0, !14, i64 32}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{i64 0, i64 32, !52, i64 32, i64 32, !52, i64 64, i64 32, !52, i64 96, i64 32, !52}
!52 = !{!8, !8, i64 0}
!53 = !{!34, !14, i64 40}
!54 = !{!6, !14, i64 144}
!55 = !{!7, !7, i64 0}
!56 = !{!39, !39, i64 0}


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