; 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::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr.128" = type { %"class.std::__shared_ptr.129" }
%"class.std::__shared_ptr.129" = 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 }
%"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::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.122 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%union.anon.122 = type { i32, [28 x i8] }

@_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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN23WalletTransactionSender24makeGetRandomOutsRequestESt10shared_ptrINS_22SendTransactionContextEE(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) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::vector.123", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::shared_ptr.128", align 8
  %16 = alloca %"class.std::_Bind", align 8
  %17 = alloca { i64, i64 }, align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %20 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %21 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %20, i32 0, i32 5
  %22 = load i64, ptr %21, align 8, !tbaa !9
  %23 = add i64 %22, 1
  store i64 %23, ptr %7, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %24 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %25 = getelementptr inbounds %"struct.DynexCN::SendTransactionContext", ptr %24, i32 0, i32 3
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = call ptr @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %28 = getelementptr inbounds %"struct.std::_List_iterator", ptr %10, i32 0, i32 0
  store ptr %27, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = call ptr @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %31 = getelementptr inbounds %"struct.std::_List_iterator", ptr %11, i32 0, i32 0
  store ptr %30, ptr %31, align 8
  br label %32

32:                                               ; preds = %40, %3
  %33 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEES4_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %33, label %35, label %34

34:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %46

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %36 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %37, i32 0, i32 1
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %39 unwind label %42

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %40

40:                                               ; preds = %39
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %32

42:                                               ; preds = %35
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %13, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %58

46:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN7DynexCN23WalletTransactionSender33sendTransactionRandomOutsByAmountESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code to i64), i64 0 }, ptr %17, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store ptr %19, ptr %18, 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 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(8) %18, 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 %47 unwind label %49

47:                                               ; preds = %46
  invoke void @_ZSt11make_sharedIN7DynexCN35WalletGetRandomOutsByAmountsRequestEJRSt6vectorImSaImEERmRSt10shared_ptrINS0_22SendTransactionContextEESt5_BindIFMNS0_23WalletTransactionSenderEFvS9_RSt5dequeIS7_INS0_17WalletLegacyEventEESaISF_EERN5boost8optionalIS7_INS0_13WalletRequestEEEESt10error_codeEPSC_S9_St12_PlaceholderILi1EEST_ILi2EEST_ILi3EEEEEES7_INSt9enable_ifIXntsr8is_arrayIT_EE5valueES10_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.128") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2INS0_35WalletGetRandomOutsByAmountsRequestEvEEOS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @_ZNSt12__shared_ptrIN7DynexCN35WalletGetRandomOutsByAmountsRequestELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret void

49:                                               ; preds = %46
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %13, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %14, align 4
  br label %57

53:                                               ; preds = %47
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %13, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %14, 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) %16) #5
  br label %57

57:                                               ; preds = %53, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %58

58:                                               ; preds = %57, %42
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr %13, align 8
  %61 = load i32, ptr %14, align 4
  %62 = insertvalue { ptr, i32 } poison, ptr %60, 0
  %63 = insertvalue { ptr, i32 } %62, i32 %61, 1
  resume { ptr, i32 } %63
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN7DynexCN35WalletGetRandomOutsByAmountsRequestEJRSt6vectorImSaImEERmRSt10shared_ptrINS0_22SendTransactionContextEESt5_BindIFMNS0_23WalletTransactionSenderEFvS9_RSt5dequeIS7_INS0_17WalletLegacyEventEESaISF_EERN5boost8optionalIS7_INS0_13WalletRequestEEEESt10error_codeEPSC_S9_St12_PlaceholderILi1EEST_ILi2EEST_ILi3EEEEEES7_INSt9enable_ifIXntsr8is_arrayIT_EE5valueES10_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.128") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40)) #3

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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, !11, i64 144}
!10 = !{!"_ZTSN7DynexCN22SendTransactionContextE", !11, i64 0, !12, i64 8, !11, i64 32, !16, i64 40, !21, i64 64, !11, i64 144, !25, i64 152}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_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}
!16 = !{!"_ZTSNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !17, i64 0}
!17 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EE10_List_implE", !19, i64 0}
!19 = !{!"_ZTSNSt8__detail17_List_node_headerE", !20, i64 0, !11, i64 16}
!20 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!21 = !{!"_ZTSN7DynexCN12TxDustPolicyE", !11, i64 0, !22, i64 8, !23, i64 9}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !24, i64 0, !24, i64 32}
!24 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!25 = !{!"_ZTSN6Crypto9SecretKeyE", !7, i64 0}
!26 = !{!11, !11, i64 0}
!27 = !{!7, !7, i64 0}


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

%"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::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr.128" = type { %"class.std::__shared_ptr.129" }
%"class.std::__shared_ptr.129" = 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 }

@_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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN23WalletTransactionSender24makeGetRandomOutsRequestESt10shared_ptrINS_22SendTransactionContextEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector.123", align 8
  %6 = alloca %"struct.std::_List_iterator", align 8
  %7 = alloca %"struct.std::_List_iterator", align 8
  %8 = alloca %"class.std::shared_ptr.128", align 8
  %9 = alloca %"class.std::_Bind", align 8
  %10 = alloca { i64, i64 }, align 8
  %11 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %12 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %13 = getelementptr inbounds i8, ptr %12, i64 144
  %14 = load i64, ptr %13, align 8, !tbaa !5
  %15 = add i64 %14, 1
  store i64 %15, ptr %4, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %16 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN7DynexCN22SendTransactionContextELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %17 = getelementptr inbounds i8, ptr %16, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %18 = call ptr @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  store ptr %18, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %19 = call ptr @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  store ptr %19, ptr %7, align 8
  %20 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEES4_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %20, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %23, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  store i64 ptrtoint (ptr @_ZN7DynexCN23WalletTransactionSender33sendTransactionRandomOutsByAmountESt10shared_ptrINS_22SendTransactionContextEERSt5dequeIS1_INS_17WalletLegacyEventEESaIS6_EERN5boost8optionalIS1_INS_13WalletRequestEEEESt10error_code to i64), ptr %10, align 8, !tbaa !26
  %.fca.1.gep = getelementptr inbounds i8, ptr %10, i64 8
  store i64 0, ptr %.fca.1.gep, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store ptr %1, ptr %11, align 8, !tbaa !27
  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 %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, 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 %28 unwind label %30

.lr.ph:                                           ; preds = %3, %23
  %21 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %23 unwind label %26

23:                                               ; preds = %.lr.ph
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %25 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN7DynexCN28TransactionOutputInformationEES4_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %25, label %.lr.ph, label %._crit_edge

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

28:                                               ; preds = %._crit_edge
  invoke void @_ZSt11make_sharedIN7DynexCN35WalletGetRandomOutsByAmountsRequestEJRSt6vectorImSaImEERmRSt10shared_ptrINS0_22SendTransactionContextEESt5_BindIFMNS0_23WalletTransactionSenderEFvS9_RSt5dequeIS7_INS0_17WalletLegacyEventEESaISF_EERN5boost8optionalIS7_INS0_13WalletRequestEEEESt10error_codeEPSC_S9_St12_PlaceholderILi1EEST_ILi2EEST_ILi3EEEEEES7_INSt9enable_ifIXntsr8is_arrayIT_EE5valueES10_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.128") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %29 unwind label %32

29:                                               ; preds = %28
  call void @_ZNSt10shared_ptrIN7DynexCN13WalletRequestEEC2INS0_35WalletGetRandomOutsByAmountsRequestEvEEOS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @_ZNSt12__shared_ptrIN7DynexCN35WalletGetRandomOutsByAmountsRequestELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  ret void

30:                                               ; preds = %._crit_edge
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %34

32:                                               ; preds = %28
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt5_BindIFMN7DynexCN23WalletTransactionSenderEFvSt10shared_ptrINS0_22SendTransactionContextEERSt5dequeIS2_INS0_17WalletLegacyEventEESaIS7_EERN5boost8optionalIS2_INS0_13WalletRequestEEEESt10error_codeEPS1_S4_St12_PlaceholderILi1EESL_ILi2EESL_ILi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #5
  br label %34

34:                                               ; preds = %32, %30
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %35

35:                                               ; preds = %34, %26
  %.pn8 = phi { ptr, i32 } [ %27, %26 ], [ %.pn, %34 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn8
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN7DynexCN35WalletGetRandomOutsByAmountsRequestEJRSt6vectorImSaImEERmRSt10shared_ptrINS0_22SendTransactionContextEESt5_BindIFMNS0_23WalletTransactionSenderEFvS9_RSt5dequeIS7_INS0_17WalletLegacyEventEESaISF_EERN5boost8optionalIS7_INS0_13WalletRequestEEEESt10error_codeEPSC_S9_St12_PlaceholderILi1EEST_ILi2EEST_ILi3EEEEEES7_INSt9enable_ifIXntsr8is_arrayIT_EE5valueES10_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.128") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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, !7, i64 144}
!6 = !{!"_ZTSN7DynexCN22SendTransactionContextE", !7, i64 0, !10, i64 8, !7, i64 32, !15, i64 40, !20, i64 64, !7, i64 144, !24, i64 152}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN58COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS_outs_for_amountESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !16, i64 0}
!16 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EEE", !17, i64 0}
!17 = !{!"_ZTSNSt7__cxx1110_List_baseIN7DynexCN28TransactionOutputInformationESaIS2_EE10_List_implE", !18, i64 0}
!18 = !{!"_ZTSNSt8__detail17_List_node_headerE", !19, i64 0, !7, i64 16}
!19 = !{!"_ZTSNSt8__detail15_List_node_baseE", !14, i64 0, !14, i64 8}
!20 = !{!"_ZTSN7DynexCN12TxDustPolicyE", !7, i64 0, !21, i64 8, !22, i64 9}
!21 = !{!"bool", !8, i64 0}
!22 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !23, i64 0, !23, i64 32}
!23 = !{!"_ZTSN6Crypto9PublicKeyE", !8, i64 0}
!24 = !{!"_ZTSN6Crypto9SecretKeyE", !8, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!14, !14, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass