; LLVM IR from dynexcoin/Dynex :: src/Wallet (WalletRpcServer)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%"struct.DynexCN::WalletLegacyTransfer" = type { %"class.std::__cxx11::basic_string", i64 }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::back_insert_iterator" = type { ptr }
%"class.DynexCN::WalletHelper::SendCompleteResultObserver" = type { %"class.DynexCN::IWalletLegacyObserver", %"class.std::mutex", %"class.std::condition_variable", %"class.std::map.103", %"class.std::error_code" }
%"class.DynexCN::IWalletLegacyObserver" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.std::map.103" = type { %"class.std::_Rb_tree.104" }
%"class.std::_Rb_tree.104" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::error_code>, std::_Select1st<std::pair<const unsigned long, std::error_code>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::error_code>, std::_Select1st<std::pair<const unsigned long, std::error_code>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::error_code" = type { i32, ptr }
%"class.DynexCN::WalletHelper::IWalletRemoveObserverGuard" = type <{ ptr, ptr, i8, [7 x i8] }>
%"struct.DynexCN::WalletLegacyTransaction" = type <{ i64, i64, i64, i64, i64, i64, %"struct.Crypto::Hash", %"class.boost::optional.109", i8, [2 x i8], i32, i64, %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.boost::optional.109" = type { %"class.boost::optional_detail::optional_base.110" }
%"class.boost::optional_detail::optional_base.110" = type { i8, %"class.boost::optional_detail::aligned_storage.111" }
%"class.boost::optional_detail::aligned_storage.111" = 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] }
%"class.std::allocator" = type { i8 }
%"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request" = type { %"class.std::__cxx11::list", i64, i64, i64, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<Tools::wallet_rpc::transfer_destination, std::allocator<Tools::wallet_rpc::transfer_destination>>::_List_impl" }
%"struct.std::__cxx11::_List_base<Tools::wallet_rpc::transfer_destination, std::allocator<Tools::wallet_rpc::transfer_destination>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.Tools::wallet_rpc_server" = type { %"class.DynexCN::HttpServer", %"class.Logging::LoggerRef", ptr, ptr, i16, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", ptr, %"class.std::__cxx11::basic_string", ptr, %"class.System::Event" }
%"class.DynexCN::HttpServer" = type { ptr, ptr, %"class.System::ContextGroup", %"class.Logging::LoggerRef", %"class.System::TcpListener", %"class.std::unordered_set", %"class.std::__cxx11::basic_string" }
%"class.System::ContextGroup" = type { ptr, %"struct.System::NativeContextGroup" }
%"struct.System::NativeContextGroup" = type { ptr, ptr, ptr, ptr }
%"class.System::TcpListener" = type { ptr, i32, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.System::Event" = type { ptr, i8, ptr, ptr }
%"struct.Tools::wallet_rpc::transfer_destination" = type { i64, %"class.std::__cxx11::basic_string" }
%"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::response" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTISt9exception = external constant ptr
@_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@_ZTISt12system_error = 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: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #2

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; 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 @__cxa_end_catch()

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Tools17wallet_rpc_server11on_transferERKNS_10wallet_rpc20COMMAND_RPC_TRANSFER7requestERNS2_8responseE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(64) %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.Logging::LoggerMessage", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i1, align 1
  %15 = alloca %"class.Logging::LoggerMessage", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i1, align 1
  %21 = alloca %"class.std::vector.97", align 8
  %22 = alloca %"struct.std::_List_const_iterator", align 8
  %23 = alloca %"struct.std::_List_const_iterator", align 8
  %24 = alloca %"struct.DynexCN::WalletLegacyTransfer", align 8
  %25 = alloca %"class.std::vector.47", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"struct.Crypto::Hash", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca i1, align 1
  %31 = alloca %"class.std::vector.47", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca i1, align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %"class.std::back_insert_iterator", align 8
  %39 = alloca %"class.std::back_insert_iterator", align 8
  %40 = alloca %"class.DynexCN::WalletHelper::SendCompleteResultObserver", align 8
  %41 = alloca %"class.DynexCN::WalletHelper::IWalletRemoveObserverGuard", align 8
  %42 = alloca i64, align 8
  %43 = alloca %"class.std::error_code", align 8
  %44 = alloca %"class.std::error_code", align 8
  %45 = alloca %"struct.DynexCN::WalletLegacyTransaction", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca ptr, align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %53, i32 0, i32 1
  %55 = load i64, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 3
  %57 = load ptr, ptr %56, align 8, !tbaa !19
  %58 = load ptr, ptr %57, align 8, !tbaa !35
  %59 = getelementptr inbounds ptr, ptr %58, i64 11
  %60 = load ptr, ptr %59, align 8
  %61 = call noundef i64 %60(ptr noundef nonnull align 8 dereferenceable(8) %57)
  %62 = icmp ult i64 %55, %61
  br i1 %62, label %63, label %119

63:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 432, ptr %7) #10
  %64 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 1
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %7, ptr noundef nonnull align 8 dereferenceable(40) %64, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %65 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %7, ptr noundef nonnull align 1 dereferenceable(5) @.str.43)
          to label %66 unwind label %83

66:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #10
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %67, i32 0, i32 1
  %69 = load i64, ptr %68, align 8, !tbaa !9
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, i64 noundef %69)
          to label %70 unwind label %87

70:                                               ; preds = %66
  %71 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %65, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %72 unwind label %91

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA12_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %71, ptr noundef nonnull align 1 dereferenceable(12) @.str.44)
          to label %74 unwind label %91

74:                                               ; preds = %72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %7) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %7) #10
  store i1 true, ptr %14, align 1
  %75 = call ptr @__cxa_allocate_exception(i64 48) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #10
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %76, i32 0, i32 1
  %78 = load i64, ptr %77, align 8, !tbaa !9
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i64 noundef %78)
          to label %79 unwind label %97

79:                                               ; preds = %74
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef @.str.43, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %80 unwind label %101

80:                                               ; preds = %79
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.44)
          to label %81 unwind label %105

81:                                               ; preds = %80
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %75, i32 noundef -7, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %82 unwind label %109

82:                                               ; preds = %81
  store i1 false, ptr %14, align 1
  invoke void @__cxa_throw(ptr %75, ptr @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #11
          to label %463 unwind label %109

83:                                               ; preds = %63
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  br label %96

87:                                               ; preds = %66
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  br label %95

91:                                               ; preds = %72, %70
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  br label %95

95:                                               ; preds = %91, %87
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #10
  br label %96

96:                                               ; preds = %95, %83
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %7) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %7) #10
  br label %455

97:                                               ; preds = %74
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  br label %115

101:                                              ; preds = %79
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %8, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %9, align 4
  br label %114

105:                                              ; preds = %80
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  br label %113

109:                                              ; preds = %82, %81
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  br label %113

113:                                              ; preds = %109, %105
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  br label %114

114:                                              ; preds = %113, %101
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %115

115:                                              ; preds = %114, %97
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #10
  %116 = load i1, ptr %14, align 1
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  call void @__cxa_free_exception(ptr %75) #10
  br label %118

118:                                              ; preds = %117, %115
  br label %455

119:                                              ; preds = %3
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %120, i32 0, i32 2
  %122 = load i64, ptr %121, align 8, !tbaa !37
  %123 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 8
  %124 = load ptr, ptr %123, align 8, !tbaa !38
  %125 = call noundef i64 @_ZNK7DynexCN8Currency8minMixinEv(ptr noundef nonnull align 8 dereferenceable(984) %124)
  %126 = icmp ult i64 %122, %125
  br i1 %126, label %127, label %188

127:                                              ; preds = %119
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %128, i32 0, i32 2
  %130 = load i64, ptr %129, align 8, !tbaa !37
  %131 = icmp ne i64 %130, 0
  br i1 %131, label %132, label %188

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 432, ptr %15) #10
  %133 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 1
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %15, ptr noundef nonnull align 8 dereferenceable(40) %133, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %134 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %15, ptr noundef nonnull align 1 dereferenceable(17) @.str.45)
          to label %135 unwind label %152

135:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #10
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %136, i32 0, i32 2
  %138 = load i64, ptr %137, align 8, !tbaa !37
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, i64 noundef %138)
          to label %139 unwind label %156

139:                                              ; preds = %135
  %140 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %134, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %141 unwind label %160

141:                                              ; preds = %139
  %142 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA12_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %140, ptr noundef nonnull align 1 dereferenceable(12) @.str.44)
          to label %143 unwind label %160

143:                                              ; preds = %141
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %15) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %15) #10
  store i1 true, ptr %20, align 1
  %144 = call ptr @__cxa_allocate_exception(i64 48) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #10
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %145, i32 0, i32 2
  %147 = load i64, ptr %146, align 8, !tbaa !37
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, i64 noundef %147)
          to label %148 unwind label %166

148:                                              ; preds = %143
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef @.str.45, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %149 unwind label %170

149:                                              ; preds = %148
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.44)
          to label %150 unwind label %174

150:                                              ; preds = %149
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %144, i32 noundef -6, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %151 unwind label %178

151:                                              ; preds = %150
  store i1 false, ptr %20, align 1
  invoke void @__cxa_throw(ptr %144, ptr @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #11
          to label %463 unwind label %178

152:                                              ; preds = %132
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %8, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %9, align 4
  br label %165

156:                                              ; preds = %135
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %8, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %9, align 4
  br label %164

160:                                              ; preds = %141, %139
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %164

164:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  br label %165

165:                                              ; preds = %164, %152
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %15) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %15) #10
  br label %455

166:                                              ; preds = %143
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %8, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %9, align 4
  br label %184

170:                                              ; preds = %148
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %8, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %9, align 4
  br label %183

174:                                              ; preds = %149
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %8, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %9, align 4
  br label %182

178:                                              ; preds = %151, %150
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %8, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %182

182:                                              ; preds = %178, %174
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  br label %183

183:                                              ; preds = %182, %170
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %184

184:                                              ; preds = %183, %166
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  %185 = load i1, ptr %20, align 1
  br i1 %185, label %186, label %187

186:                                              ; preds = %184
  call void @__cxa_free_exception(ptr %144) #10
  br label %187

187:                                              ; preds = %186, %184
  br label %455

188:                                              ; preds = %127, %119
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %189, i32 0, i32 0
  %191 = call ptr @_ZNKSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %190) #10
  %192 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %22, i32 0, i32 0
  store ptr %191, ptr %192, align 8
  br label %193

193:                                              ; preds = %211, %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %194, i32 0, i32 0
  %196 = call ptr @_ZNKSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #10
  %197 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %23, i32 0, i32 0
  store ptr %196, ptr %197, align 8
  %198 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEES5_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br i1 %198, label %200, label %199

199:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %217

200:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #10
  call void @_ZN7DynexCN20WalletLegacyTransferC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #10
  %201 = call noundef ptr @_ZNKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  %202 = getelementptr inbounds %"struct.Tools::wallet_rpc::transfer_destination", ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %24, i32 0, i32 0
  %204 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %203, ptr noundef nonnull align 8 dereferenceable(32) %202)
          to label %205 unwind label %213

205:                                              ; preds = %200
  %206 = call noundef ptr @_ZNKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  %207 = getelementptr inbounds %"struct.Tools::wallet_rpc::transfer_destination", ptr %206, i32 0, i32 0
  %208 = load i64, ptr %207, align 8, !tbaa !39
  %209 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransfer", ptr %24, i32 0, i32 1
  store i64 %208, ptr %209, align 8, !tbaa !41
  invoke void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %210 unwind label %213

210:                                              ; preds = %205
  call void @_ZN7DynexCN20WalletLegacyTransferD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #10
  br label %211

211:                                              ; preds = %210
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  br label %193, !llvm.loop !43

213:                                              ; preds = %205, %200
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %8, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %9, align 4
  call void @_ZN7DynexCN20WalletLegacyTransferD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %454

217:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #10
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %218, i32 0, i32 4
  %220 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %219) #10
  br i1 %220, label %291, label %221

221:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #10
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %222, i32 0, i32 4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %223)
          to label %224 unwind label %232

224:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #10
  %225 = invoke noundef zeroext i1 @_ZN7DynexCN14parsePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 1 dereferenceable(32) %27)
          to label %226 unwind label %236

226:                                              ; preds = %224
  br i1 %225, label %257, label %227

227:                                              ; preds = %226
  store i1 true, ptr %30, align 1
  %228 = call ptr @__cxa_allocate_exception(i64 48) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #10
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %29, ptr noundef @.str.46, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %229 unwind label %240

229:                                              ; preds = %227
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.47)
          to label %230 unwind label %244

230:                                              ; preds = %229
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %228, i32 noundef -5, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %231 unwind label %248

231:                                              ; preds = %230
  store i1 false, ptr %30, align 1
  invoke void @__cxa_throw(ptr %228, ptr @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #11
          to label %463 unwind label %248

232:                                              ; preds = %221
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %8, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %9, align 4
  br label %290

236:                                              ; preds = %224
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %8, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %9, align 4
  br label %289

240:                                              ; preds = %227
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %8, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %9, align 4
  br label %253

244:                                              ; preds = %229
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %8, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %9, align 4
  br label %252

248:                                              ; preds = %231, %230
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %8, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %252

252:                                              ; preds = %248, %244
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  br label %253

253:                                              ; preds = %252, %240
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #10
  %254 = load i1, ptr %30, align 1
  br i1 %254, label %255, label %256

255:                                              ; preds = %253
  call void @__cxa_free_exception(ptr %228) #10
  br label %256

256:                                              ; preds = %255, %253
  br label %289

257:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #10
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  invoke void @_ZN7DynexCN35setPaymentIdToTransactionExtraNonceERSt6vectorIhSaIhEERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 1 dereferenceable(32) %27)
          to label %258 unwind label %266

258:                                              ; preds = %257
  %259 = invoke noundef zeroext i1 @_ZN7DynexCN31addExtraNonceToTransactionExtraERSt6vectorIhSaIhEERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %260 unwind label %266

260:                                              ; preds = %258
  br i1 %259, label %287, label %261

261:                                              ; preds = %260
  store i1 true, ptr %34, align 1
  %262 = call ptr @__cxa_allocate_exception(i64 48) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef @.str.48, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %263 unwind label %270

263:                                              ; preds = %261
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.47)
          to label %264 unwind label %274

264:                                              ; preds = %263
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %262, i32 noundef -5, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %265 unwind label %278

265:                                              ; preds = %264
  store i1 false, ptr %34, align 1
  invoke void @__cxa_throw(ptr %262, ptr @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #11
          to label %463 unwind label %278

266:                                              ; preds = %258, %257
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %8, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %9, align 4
  br label %288

270:                                              ; preds = %261
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %8, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %9, align 4
  br label %283

274:                                              ; preds = %263
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %8, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %9, align 4
  br label %282

278:                                              ; preds = %265, %264
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %8, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  br label %282

282:                                              ; preds = %278, %274
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  br label %283

283:                                              ; preds = %282, %270
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #10
  %284 = load i1, ptr %34, align 1
  br i1 %284, label %285, label %286

285:                                              ; preds = %283
  call void @__cxa_free_exception(ptr %262) #10
  br label %286

286:                                              ; preds = %285, %283
  br label %288

287:                                              ; preds = %260
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  br label %291

288:                                              ; preds = %286, %266
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #10
  br label %289

289:                                              ; preds = %288, %256, %236
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  br label %290

290:                                              ; preds = %289, %232
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #10
  br label %453

291:                                              ; preds = %287, %217
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  %292 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %292, ptr %293, align 8
  %294 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  %295 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %294, ptr %295, align 8
  %296 = invoke ptr @_ZSt13back_inserterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %297 unwind label %341

297:                                              ; preds = %291
  %298 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %38, i32 0, i32 0
  store ptr %296, ptr %298, align 8
  %299 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  %300 = load ptr, ptr %299, align 8
  %301 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8
  %303 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %38, i32 0, i32 0
  %304 = load ptr, ptr %303, align 8
  %305 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET0_T_SG_SF_(ptr %300, ptr %302, ptr %304)
          to label %306 unwind label %341

306:                                              ; preds = %297
  %307 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %39, i32 0, i32 0
  store ptr %305, ptr %307, align 8
  call void @llvm.lifetime.start.p0(i64 160, ptr %40) #10
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %40) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #10
  %308 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 2
  %309 = load ptr, ptr %308, align 8, !tbaa !45
  invoke void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardC1ERNS_13IWalletLegacyERNS_21IWalletLegacyObserverE(ptr noundef nonnull align 8 dereferenceable(17) %41, ptr noundef nonnull align 8 dereferenceable(8) %309, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %310 unwind label %345

310:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %311 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 2
  %312 = load ptr, ptr %311, align 8, !tbaa !45
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %313, i32 0, i32 1
  %315 = load i64, ptr %314, align 8, !tbaa !9
  %316 = icmp eq i64 %315, 0
  br i1 %316, label %317, label %322

317:                                              ; preds = %310
  %318 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 8
  %319 = load ptr, ptr %318, align 8, !tbaa !38
  %320 = invoke noundef i64 @_ZNK7DynexCN8Currency10minimumFeeEv(ptr noundef nonnull align 8 dereferenceable(984) %319)
          to label %321 unwind label %349

321:                                              ; preds = %317
  br label %326

322:                                              ; preds = %310
  %323 = load ptr, ptr %5, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %323, i32 0, i32 1
  %325 = load i64, ptr %324, align 8, !tbaa !9
  br label %326

326:                                              ; preds = %322, %321
  %327 = phi i64 [ %320, %321 ], [ %325, %322 ]
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::request", ptr %328, i32 0, i32 3
  %330 = load i64, ptr %329, align 8, !tbaa !46
  %331 = load ptr, ptr %312, align 8, !tbaa !35
  %332 = getelementptr inbounds ptr, ptr %331, i64 34
  %333 = load ptr, ptr %332, align 8
  %334 = invoke noundef i64 %333(ptr noundef nonnull align 8 dereferenceable(8) %312, ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %327, ptr noundef nonnull align 8 dereferenceable(32) %35, i64 noundef 0, i64 noundef %330)
          to label %335 unwind label %349

335:                                              ; preds = %326
  store i64 %334, ptr %42, align 8, !tbaa !47
  %336 = load i64, ptr %42, align 8, !tbaa !47
  %337 = icmp eq i64 %336, -1
  br i1 %337, label %338, label %357

338:                                              ; preds = %335
  %339 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %339, ptr noundef @.str.49)
          to label %340 unwind label %353

340:                                              ; preds = %338
  invoke void @__cxa_throw(ptr %339, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #11
          to label %463 unwind label %349

341:                                              ; preds = %297, %291
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %8, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %9, align 4
  br label %452

345:                                              ; preds = %306
  %346 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %8, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %9, align 4
  br label %422

349:                                              ; preds = %340, %326, %317
  %350 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %8, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %9, align 4
  br label %421

353:                                              ; preds = %338
  %354 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %8, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %9, align 4
  call void @__cxa_free_exception(ptr %339) #10
  br label %421

357:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #10
  %358 = load i64, ptr %42, align 8, !tbaa !47
  %359 = invoke { i32, ptr } @_ZN7DynexCN12WalletHelper26SendCompleteResultObserver4waitEm(ptr noundef nonnull align 8 dereferenceable(160) %40, i64 noundef %358)
          to label %360 unwind label %374

360:                                              ; preds = %357
  %361 = getelementptr inbounds { i32, ptr }, ptr %43, i32 0, i32 0
  %362 = extractvalue { i32, ptr } %359, 0
  store i32 %362, ptr %361, align 8
  %363 = getelementptr inbounds { i32, ptr }, ptr %43, i32 0, i32 1
  %364 = extractvalue { i32, ptr } %359, 1
  store ptr %364, ptr %363, align 8
  invoke void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuard14removeObserverEv(ptr noundef nonnull align 8 dereferenceable(17) %41)
          to label %365 unwind label %374

365:                                              ; preds = %360
  %366 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #10
  br i1 %366, label %367, label %382

367:                                              ; preds = %365
  %368 = call ptr @__cxa_allocate_exception(i64 32) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %43, i64 16, i1 false), !tbaa.struct !48
  %369 = getelementptr inbounds { i32, ptr }, ptr %44, i32 0, i32 0
  %370 = load i32, ptr %369, align 8
  %371 = getelementptr inbounds { i32, ptr }, ptr %44, i32 0, i32 1
  %372 = load ptr, ptr %371, align 8
  invoke void @_ZNSt12system_errorC2ESt10error_code(ptr noundef nonnull align 8 dereferenceable(32) %368, i32 %370, ptr %372)
          to label %373 unwind label %378

373:                                              ; preds = %367
  invoke void @__cxa_throw(ptr %368, ptr @_ZTISt12system_error, ptr @_ZNSt12system_errorD1Ev) #11
          to label %463 unwind label %374

374:                                              ; preds = %373, %360, %357
  %375 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %8, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %9, align 4
  br label %420

378:                                              ; preds = %367
  %379 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %8, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %9, align 4
  call void @__cxa_free_exception(ptr %368) #10
  br label %420

382:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 168, ptr %45) #10
  invoke void @_ZN7DynexCN23WalletLegacyTransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(161) %45)
          to label %383 unwind label %402

383:                                              ; preds = %382
  %384 = getelementptr inbounds %"class.Tools::wallet_rpc_server", ptr %52, i32 0, i32 2
  %385 = load ptr, ptr %384, align 8, !tbaa !45
  %386 = load i64, ptr %42, align 8, !tbaa !47
  %387 = load ptr, ptr %385, align 8, !tbaa !35
  %388 = getelementptr inbounds ptr, ptr %387, i64 24
  %389 = load ptr, ptr %388, align 8
  %390 = invoke noundef zeroext i1 %389(ptr noundef nonnull align 8 dereferenceable(8) %385, i64 noundef %386, ptr noundef nonnull align 8 dereferenceable(161) %45)
          to label %391 unwind label %406

391:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #10
  %392 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %45, i32 0, i32 6
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %46, ptr noundef nonnull align 1 dereferenceable(32) %392)
          to label %393 unwind label %410

393:                                              ; preds = %391
  %394 = load ptr, ptr %6, align 8, !tbaa !5
  %395 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::response", ptr %394, i32 0, i32 0
  %396 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %395, ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #10
  %397 = getelementptr inbounds %"struct.DynexCN::WalletLegacyTransaction", ptr %45, i32 0, i32 7
  invoke void @_ZN6Common8podToHexIN5boost8optionalIN6Crypto9SecretKeyEEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %47, ptr noundef nonnull align 1 dereferenceable(33) %397)
          to label %398 unwind label %414

398:                                              ; preds = %393
  %399 = load ptr, ptr %6, align 8, !tbaa !5
  %400 = getelementptr inbounds %"struct.Tools::wallet_rpc::COMMAND_RPC_TRANSFER::response", ptr %399, i32 0, i32 1
  %401 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %400, ptr noundef nonnull align 8 dereferenceable(32) %47) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #10
  call void @_ZN7DynexCN23WalletLegacyTransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(161) %45) #10
  call void @llvm.lifetime.end.p0(i64 168, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %41) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #10
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %40) #10
  call void @llvm.lifetime.end.p0(i64 160, ptr %40) #10
  br label %451

402:                                              ; preds = %382
  %403 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %8, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %9, align 4
  br label %419

406:                                              ; preds = %383
  %407 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %8, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %9, align 4
  br label %418

410:                                              ; preds = %391
  %411 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %8, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  br label %418

414:                                              ; preds = %393
  %415 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %8, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #10
  br label %418

418:                                              ; preds = %414, %410, %406
  call void @_ZN7DynexCN23WalletLegacyTransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(161) %45) #10
  br label %419

419:                                              ; preds = %418, %402
  call void @llvm.lifetime.end.p0(i64 168, ptr %45) #10
  br label %420

420:                                              ; preds = %419, %378, %374
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #10
  br label %421

421:                                              ; preds = %420, %353, %349
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %41) #10
  br label %422

422:                                              ; preds = %421, %345
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #10
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %40) #10
  call void @llvm.lifetime.end.p0(i64 160, ptr %40) #10
  br label %423

423:                                              ; preds = %422
  %424 = load i32, ptr %9, align 4
  %425 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %426 = icmp eq i32 %424, %425
  br i1 %426, label %427, label %452

427:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  %428 = load ptr, ptr %8, align 8
  %429 = call ptr @__cxa_begin_catch(ptr %428) #10
  store ptr %429, ptr %48, align 8
  store i1 true, ptr %51, align 1
  %430 = call ptr @__cxa_allocate_exception(i64 48) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #10
  %431 = load ptr, ptr %48, align 8, !tbaa !5
  %432 = load ptr, ptr %431, align 8, !tbaa !35
  %433 = getelementptr inbounds ptr, ptr %432, i64 2
  %434 = load ptr, ptr %433, align 8
  %435 = call noundef ptr %434(ptr noundef nonnull align 8 dereferenceable(8) %431) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef %435, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %436 unwind label %438

436:                                              ; preds = %427
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %430, i32 noundef -4, ptr noundef nonnull align 8 dereferenceable(32) %49)
          to label %437 unwind label %442

437:                                              ; preds = %436
  store i1 false, ptr %51, align 1
  invoke void @__cxa_throw(ptr %430, ptr @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #11
          to label %463 unwind label %442

438:                                              ; preds = %427
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %8, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %9, align 4
  br label %446

442:                                              ; preds = %437, %436
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %8, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #10
  br label %446

446:                                              ; preds = %442, %438
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #10
  %447 = load i1, ptr %51, align 1
  br i1 %447, label %448, label %449

448:                                              ; preds = %446
  call void @__cxa_free_exception(ptr %430) #10
  br label %449

449:                                              ; preds = %448, %446
  invoke void @__cxa_end_catch()
          to label %450 unwind label %460

450:                                              ; preds = %449
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  br label %452

451:                                              ; preds = %398
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #10
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  ret i1 true

452:                                              ; preds = %450, %423, %341
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  br label %453

453:                                              ; preds = %452, %290
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #10
  br label %454

454:                                              ; preds = %453, %213
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %455

455:                                              ; preds = %454, %187, %165, %118, %96
  %456 = load ptr, ptr %8, align 8
  %457 = load i32, ptr %9, align 4
  %458 = insertvalue { ptr, i32 } poison, ptr %456, 0
  %459 = insertvalue { ptr, i32 } %458, i32 %457, 1
  resume { ptr, i32 } %459

460:                                              ; preds = %449
  %461 = landingpad { ptr, i32 }
          catch ptr null
  %462 = extractvalue { ptr, i32 } %461, 0
  call void @__clang_call_terminate(ptr %462) #12
  unreachable

463:                                              ; preds = %437, %373, %340, %265, %231, %151, %82
  unreachable
}

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #9

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

declare void @_ZN7DynexCN35setPaymentIdToTransactionExtraNonceERSt6vectorIhSaIhEERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) #5

declare noundef zeroext i1 @_ZN7DynexCN31addExtraNonceToTransactionExtraERSt6vectorIhSaIhEERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET0_T_SG_SF_(ptr, ptr, ptr) #9

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt13back_inserterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(32)) #9

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

declare void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardC1ERNS_13IWalletLegacyERNS_21IWalletLegacyObserverE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

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

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare { i32, ptr } @_ZN7DynexCN12WalletHelper26SendCompleteResultObserver4waitEm(ptr noundef nonnull align 8 dereferenceable(160), i64 noundef) #5

declare void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuard14removeObserverEv(ptr noundef nonnull align 8 dereferenceable(17)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt12system_errorC2ESt10error_code(ptr noundef nonnull align 8 dereferenceable(32), i32, ptr) unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZNSt12system_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7DynexCN23WalletLegacyTransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(161)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN5boost8optionalIN6Crypto9SecretKeyEEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(33)) #4

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

; Function Attrs: nounwind
declare void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #6

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind memory(none) }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn }
attributes #12 = { 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 24}
!10 = !{!"_ZTSN5Tools10wallet_rpc20COMMAND_RPC_TRANSFER7requestE", !11, i64 0, !16, i64 24, !16, i64 32, !16, i64 40, !17, i64 48}
!11 = !{!"_ZTSNSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EEE", !12, i64 0}
!12 = !{!"_ZTSNSt7__cxx1110_List_baseIN5Tools10wallet_rpc20transfer_destinationESaIS3_EEE", !13, i64 0}
!13 = !{!"_ZTSNSt7__cxx1110_List_baseIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE10_List_implE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail17_List_node_headerE", !15, i64 0, !16, i64 16}
!15 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !16, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!20, !6, i64 256}
!20 = !{!"_ZTSN5Tools17wallet_rpc_serverE", !21, i64 0, !24, i64 208, !6, i64 248, !6, i64 256, !32, i64 264, !17, i64 272, !17, i64 304, !17, i64 336, !6, i64 368, !17, i64 376, !6, i64 408, !33, i64 416}
!21 = !{!"_ZTSN7DynexCN10HttpServerE", !6, i64 8, !22, i64 16, !24, i64 56, !25, i64 96, !27, i64 120, !17, i64 176}
!22 = !{!"_ZTSN6System12ContextGroupE", !6, i64 0, !23, i64 8}
!23 = !{!"_ZTSN6System18NativeContextGroupE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !17, i64 8}
!25 = !{!"_ZTSN6System11TcpListenerE", !6, i64 0, !26, i64 8, !6, i64 16}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSSt13unordered_setIPN6System13TcpConnectionESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableIPN6System13TcpConnectionES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !16, i64 8, !29, i64 16, !16, i64 24, !30, i64 32, !6, i64 48}
!29 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!30 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !31, i64 0, !16, i64 8}
!31 = !{!"float", !7, i64 0}
!32 = !{!"short", !7, i64 0}
!33 = !{!"_ZTSN6System5EventE", !6, i64 0, !34, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"bool", !7, i64 0}
!35 = !{!36, !36, i64 0}
!36 = !{!"vtable pointer", !8, i64 0}
!37 = !{!10, !16, i64 32}
!38 = !{!20, !6, i64 368}
!39 = !{!40, !16, i64 0}
!40 = !{!"_ZTSN5Tools10wallet_rpc20transfer_destinationE", !16, i64 0, !17, i64 8}
!41 = !{!42, !16, i64 32}
!42 = !{!"_ZTSN7DynexCN20WalletLegacyTransferE", !17, i64 0, !16, i64 32}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!20, !6, i64 248}
!46 = !{!10, !16, i64 40}
!47 = !{!16, !16, i64 0}
!48 = !{i64 0, i64 4, !49, i64 8, i64 8, !5}
!49 = !{!26, !26, i64 0}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::WalletLegacyTransfer, std::allocator<DynexCN::WalletLegacyTransfer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%"struct.DynexCN::WalletLegacyTransfer" = type { %"class.std::__cxx11::basic_string", i64 }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.DynexCN::WalletHelper::SendCompleteResultObserver" = type { %"class.DynexCN::IWalletLegacyObserver", %"class.std::mutex", %"class.std::condition_variable", %"class.std::map.103", %"class.std::error_code" }
%"class.DynexCN::IWalletLegacyObserver" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::condition_variable" = type { %"class.std::__condvar" }
%"class.std::__condvar" = type { %union.pthread_cond_t }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%"class.std::map.103" = type { %"class.std::_Rb_tree.104" }
%"class.std::_Rb_tree.104" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::error_code>, std::_Select1st<std::pair<const unsigned long, std::error_code>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, std::error_code>, std::_Select1st<std::pair<const unsigned long, std::error_code>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::error_code" = type { i32, ptr }
%"class.DynexCN::WalletHelper::IWalletRemoveObserverGuard" = type <{ ptr, ptr, i8, [7 x i8] }>
%"struct.DynexCN::WalletLegacyTransaction" = type <{ i64, i64, i64, i64, i64, i64, %"struct.Crypto::Hash", %"class.boost::optional.109", i8, [2 x i8], i32, i64, %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%"class.boost::optional.109" = type { %"class.boost::optional_detail::optional_base.110" }
%"class.boost::optional_detail::optional_base.110" = type { i8, %"class.boost::optional_detail::aligned_storage.111" }
%"class.boost::optional_detail::aligned_storage.111" = 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] }
%"class.std::allocator" = type { i8 }

@_ZN7Logging7DEFAULTB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@_ZTISt9exception = external constant ptr
@_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@_ZTISt12system_error = 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

declare void @__cxa_end_catch() local_unnamed_addr

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Tools17wallet_rpc_server11on_transferERKNS_10wallet_rpc20COMMAND_RPC_TRANSFER7requestERNS2_8responseE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(64) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.Logging::LoggerMessage", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.Logging::LoggerMessage", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::vector.97", align 8
  %15 = alloca %"struct.std::_List_const_iterator", align 8
  %16 = alloca %"struct.std::_List_const_iterator", align 8
  %17 = alloca %"struct.DynexCN::WalletLegacyTransfer", align 8
  %18 = alloca %"class.std::vector.47", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"struct.Crypto::Hash", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::vector.47", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.DynexCN::WalletHelper::SendCompleteResultObserver", align 8
  %28 = alloca %"class.DynexCN::WalletHelper::IWalletRemoveObserverGuard", align 8
  %29 = alloca %"class.std::error_code", align 8
  %30 = alloca %"struct.DynexCN::WalletLegacyTransaction", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = getelementptr inbounds i8, ptr %1, i64 24
  %36 = load i64, ptr %35, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %0, i64 256
  %38 = load ptr, ptr %37, align 8, !tbaa !18
  %39 = load ptr, ptr %38, align 8, !tbaa !34
  %40 = getelementptr inbounds i8, ptr %39, i64 88
  %41 = load ptr, ptr %40, align 8
  %42 = tail call noundef i64 %41(ptr noundef nonnull align 8 dereferenceable(8) %38)
  %43 = icmp ult i64 %36, %42
  br i1 %43, label %44, label %76

44:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %4) #9
  %45 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %4, ptr noundef nonnull align 8 dereferenceable(40) %45, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %46 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA5_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %4, ptr noundef nonnull align 1 dereferenceable(5) @.str.43)
          to label %47 unwind label %60

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  %48 = load i64, ptr %35, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, i64 noundef %48)
          to label %49 unwind label %62

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %46, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %51 unwind label %64

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA12_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %50, ptr noundef nonnull align 1 dereferenceable(12) @.str.44)
          to label %53 unwind label %64

53:                                               ; preds = %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %4) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %4) #9
  %54 = call ptr @__cxa_allocate_exception(i64 48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  %55 = load i64, ptr %35, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, i64 noundef %55)
          to label %56 unwind label %.thread

56:                                               ; preds = %53
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull @.str.43, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %57 unwind label %.thread117

57:                                               ; preds = %56
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.44)
          to label %58 unwind label %70

58:                                               ; preds = %57
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %54, i32 noundef -7, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %59 unwind label %72

59:                                               ; preds = %58
  invoke void @__cxa_throw(ptr nonnull %54, ptr nonnull @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr nonnull @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #10
          to label %283 unwind label %72

60:                                               ; preds = %44
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %67

62:                                               ; preds = %47
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %66

64:                                               ; preds = %51, %49
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  br label %66

66:                                               ; preds = %64, %62
  %.pn104 = phi { ptr, i32 } [ %65, %64 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %67

67:                                               ; preds = %66, %60
  %.pn104.pn = phi { ptr, i32 } [ %.pn104, %66 ], [ %61, %60 ]
  %.135 = extractvalue { ptr, i32 } %.pn104.pn, 0
  %.137 = extractvalue { ptr, i32 } %.pn104.pn, 1
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %4) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %4) #9
  br label %277

.thread:                                          ; preds = %53
  %68 = landingpad { ptr, i32 }
          cleanup
  %.4113 = extractvalue { ptr, i32 } %68, 0
  %.440114 = extractvalue { ptr, i32 } %68, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br label %75

.thread117:                                       ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %.4120 = extractvalue { ptr, i32 } %69, 0
  %.440121 = extractvalue { ptr, i32 } %69, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br label %75

70:                                               ; preds = %57
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %59, %58
  %.063 = phi i1 [ false, %59 ], [ true, %58 ]
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  br label %74

74:                                               ; preds = %70, %72
  %.164 = phi i1 [ %.063, %72 ], [ true, %70 ]
  %.pn107 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %.4 = extractvalue { ptr, i32 } %.pn107, 0
  %.440 = extractvalue { ptr, i32 } %.pn107, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br i1 %.164, label %75, label %277

75:                                               ; preds = %.thread117, %.thread, %74
  %.440116 = phi i32 [ %.440114, %.thread ], [ %.440, %74 ], [ %.440121, %.thread117 ]
  %.4115 = phi ptr [ %.4113, %.thread ], [ %.4, %74 ], [ %.4120, %.thread117 ]
  call void @__cxa_free_exception(ptr %54) #9
  br label %277

76:                                               ; preds = %3
  %77 = getelementptr inbounds i8, ptr %1, i64 32
  %78 = load i64, ptr %77, align 8, !tbaa !36
  %79 = getelementptr inbounds i8, ptr %0, i64 368
  %80 = load ptr, ptr %79, align 8, !tbaa !37
  %81 = tail call noundef i64 @_ZNK7DynexCN8Currency8minMixinEv(ptr noundef nonnull align 8 dereferenceable(984) %80)
  %82 = icmp uge i64 %78, %81
  %83 = load i64, ptr %77, align 8
  %.not = icmp eq i64 %83, 0
  %or.cond = select i1 %82, i1 true, i1 %.not
  br i1 %or.cond, label %116, label %84

84:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %9) #9
  %85 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %85, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging7DEFAULTB5cxx11E)
  %86 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA17_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %9, ptr noundef nonnull align 1 dereferenceable(17) @.str.45)
          to label %87 unwind label %100

87:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  %88 = load i64, ptr %77, align 8, !tbaa !36
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, i64 noundef %88)
          to label %89 unwind label %102

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %86, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %91 unwind label %104

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA12_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %90, ptr noundef nonnull align 1 dereferenceable(12) @.str.44)
          to label %93 unwind label %104

93:                                               ; preds = %91
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #9
  %94 = call ptr @__cxa_allocate_exception(i64 48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  %95 = load i64, ptr %77, align 8, !tbaa !36
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i64 noundef %95)
          to label %96 unwind label %.thread122

96:                                               ; preds = %93
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull @.str.45, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %97 unwind label %.thread129

97:                                               ; preds = %96
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.44)
          to label %98 unwind label %110

98:                                               ; preds = %97
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %94, i32 noundef -6, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %99 unwind label %112

99:                                               ; preds = %98
  invoke void @__cxa_throw(ptr nonnull %94, ptr nonnull @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr nonnull @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #10
          to label %283 unwind label %112

100:                                              ; preds = %84
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %107

102:                                              ; preds = %87
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %91, %89
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %106

106:                                              ; preds = %104, %102
  %.pn97 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br label %107

107:                                              ; preds = %106, %100
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %106 ], [ %101, %100 ]
  %.6 = extractvalue { ptr, i32 } %.pn97.pn, 0
  %.642 = extractvalue { ptr, i32 } %.pn97.pn, 1
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %9) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %9) #9
  br label %277

.thread122:                                       ; preds = %93
  %108 = landingpad { ptr, i32 }
          cleanup
  %.9125 = extractvalue { ptr, i32 } %108, 0
  %.945126 = extractvalue { ptr, i32 } %108, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %115

.thread129:                                       ; preds = %96
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  %.9132 = extractvalue { ptr, i32 } %109, 0
  %.945133 = extractvalue { ptr, i32 } %109, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %115

110:                                              ; preds = %97
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %99, %98
  %.067 = phi i1 [ false, %99 ], [ true, %98 ]
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %114

114:                                              ; preds = %110, %112
  %.168 = phi i1 [ %.067, %112 ], [ true, %110 ]
  %.pn100 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  %.9 = extractvalue { ptr, i32 } %.pn100, 0
  %.945 = extractvalue { ptr, i32 } %.pn100, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br i1 %.168, label %115, label %277

115:                                              ; preds = %.thread129, %.thread122, %114
  %.945128 = phi i32 [ %.945126, %.thread122 ], [ %.945, %114 ], [ %.945133, %.thread129 ]
  %.9127 = phi ptr [ %.9125, %.thread122 ], [ %.9, %114 ], [ %.9132, %.thread129 ]
  call void @__cxa_free_exception(ptr %94) #9
  br label %277

116:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #9
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %117 = call ptr @_ZNKSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  store ptr %117, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %118 = call ptr @_ZNKSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  store ptr %118, ptr %16, align 8
  %119 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEES5_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br i1 %119, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %116
  %120 = getelementptr inbounds i8, ptr %17, i64 32
  br label %123

._crit_edge:                                      ; preds = %130, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #9
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %121 = getelementptr inbounds i8, ptr %1, i64 48
  %122 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %121) #9
  br i1 %122, label %176, label %138

123:                                              ; preds = %.lr.ph, %130
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #9
  call void @_ZN7DynexCN20WalletLegacyTransferC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  %124 = call noundef ptr @_ZNKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  %126 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %125)
          to label %127 unwind label %134

127:                                              ; preds = %123
  %128 = call noundef ptr @_ZNKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %129 = load i64, ptr %128, align 8, !tbaa !38
  store i64 %129, ptr %120, align 8, !tbaa !40
  invoke void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %130 unwind label %134

130:                                              ; preds = %127
  call void @_ZN7DynexCN20WalletLegacyTransferD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #9
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %132 = call ptr @_ZNKSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  store ptr %132, ptr %16, align 8
  %133 = call noundef zeroext i1 @_ZStneRKSt20_List_const_iteratorIN5Tools10wallet_rpc20transfer_destinationEES5_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br i1 %133, label %123, label %._crit_edge, !llvm.loop !42

134:                                              ; preds = %127, %123
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  %137 = extractvalue { ptr, i32 } %135, 1
  call void @_ZN7DynexCN20WalletLegacyTransferD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %276

138:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %121)
          to label %139 unwind label %147

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #9
  %140 = invoke noundef zeroext i1 @_ZN7DynexCN14parsePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 1 dereferenceable(32) %20)
          to label %141 unwind label %149

141:                                              ; preds = %139
  br i1 %140, label %156, label %142

142:                                              ; preds = %141
  %143 = call ptr @__cxa_allocate_exception(i64 48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull @.str.46, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %144 unwind label %.thread134

144:                                              ; preds = %142
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.47)
          to label %145 unwind label %.thread138

145:                                              ; preds = %144
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %143, i32 noundef -5, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %146 unwind label %153

146:                                              ; preds = %145
  invoke void @__cxa_throw(ptr nonnull %143, ptr nonnull @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr nonnull @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #10
          to label %283 unwind label %153

147:                                              ; preds = %138
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %175

149:                                              ; preds = %139
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %174

.thread134:                                       ; preds = %142
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %155

.thread138:                                       ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %155

153:                                              ; preds = %145, %146
  %.071 = phi i1 [ false, %146 ], [ true, %145 ]
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br i1 %.071, label %155, label %174

155:                                              ; preds = %.thread138, %.thread134, %153
  %.pn.pn137 = phi { ptr, i32 } [ %151, %.thread134 ], [ %154, %153 ], [ %152, %.thread138 ]
  call void @__cxa_free_exception(ptr %143) #9
  br label %174

156:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #9
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #9
  invoke void @_ZN7DynexCN35setPaymentIdToTransactionExtraNonceERSt6vectorIhSaIhEERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 1 dereferenceable(32) %20)
          to label %157 unwind label %165

157:                                              ; preds = %156
  %158 = invoke noundef zeroext i1 @_ZN7DynexCN31addExtraNonceToTransactionExtraERSt6vectorIhSaIhEERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %159 unwind label %165

159:                                              ; preds = %157
  br i1 %158, label %172, label %160

160:                                              ; preds = %159
  %161 = call ptr @__cxa_allocate_exception(i64 48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull @.str.48, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %162 unwind label %.thread141

162:                                              ; preds = %160
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.47)
          to label %163 unwind label %.thread145

163:                                              ; preds = %162
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %161, i32 noundef -5, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %164 unwind label %169

164:                                              ; preds = %163
  invoke void @__cxa_throw(ptr nonnull %161, ptr nonnull @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr nonnull @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #10
          to label %283 unwind label %169

165:                                              ; preds = %157, %156
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %173

.thread141:                                       ; preds = %160
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %171

.thread145:                                       ; preds = %162
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %171

169:                                              ; preds = %163, %164
  %.074 = phi i1 [ false, %164 ], [ true, %163 ]
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br i1 %.074, label %171, label %173

171:                                              ; preds = %.thread145, %.thread141, %169
  %.pn81.pn144 = phi { ptr, i32 } [ %167, %.thread141 ], [ %170, %169 ], [ %168, %.thread145 ]
  call void @__cxa_free_exception(ptr %161) #9
  br label %173

172:                                              ; preds = %159
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %176

173:                                              ; preds = %169, %171, %165
  %.pn81.pn.pn = phi { ptr, i32 } [ %.pn81.pn144, %171 ], [ %170, %169 ], [ %166, %165 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #9
  br label %174

174:                                              ; preds = %153, %155, %173, %149
  %.pn81.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn, %173 ], [ %.pn.pn137, %155 ], [ %154, %153 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %175

175:                                              ; preds = %174, %147
  %.pn81.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn81.pn.pn.pn, %174 ], [ %148, %147 ]
  %.16 = extractvalue { ptr, i32 } %.pn81.pn.pn.pn.pn, 0
  %.1652 = extractvalue { ptr, i32 } %.pn81.pn.pn.pn.pn, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %275

176:                                              ; preds = %172, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  %177 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %178 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %179 = invoke ptr @_ZSt13back_inserterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %180 unwind label %205

180:                                              ; preds = %176
  %181 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET0_T_SG_SF_(ptr %177, ptr %178, ptr %179)
          to label %182 unwind label %205

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %27) #9
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %27) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #9
  %183 = getelementptr inbounds i8, ptr %0, i64 248
  %184 = load ptr, ptr %183, align 8, !tbaa !44
  invoke void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardC1ERNS_13IWalletLegacyERNS_21IWalletLegacyObserverE(ptr noundef nonnull align 8 dereferenceable(17) %28, ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %185 unwind label %209

185:                                              ; preds = %182
  %186 = load ptr, ptr %183, align 8, !tbaa !44
  %187 = load i64, ptr %35, align 8, !tbaa !5
  %188 = icmp eq i64 %187, 0
  br i1 %188, label %189, label %192

189:                                              ; preds = %185
  %190 = load ptr, ptr %79, align 8, !tbaa !37
  %191 = call noundef i64 @_ZNK7DynexCN8Currency10minimumFeeEv(ptr noundef nonnull align 8 dereferenceable(984) %190)
  br label %192

192:                                              ; preds = %185, %189
  %193 = phi i64 [ %191, %189 ], [ %187, %185 ]
  %194 = getelementptr inbounds i8, ptr %1, i64 40
  %195 = load i64, ptr %194, align 8, !tbaa !45
  %196 = load ptr, ptr %186, align 8, !tbaa !34
  %197 = getelementptr inbounds i8, ptr %196, i64 272
  %198 = load ptr, ptr %197, align 8
  %199 = invoke noundef i64 %198(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %193, ptr noundef nonnull align 8 dereferenceable(32) %26, i64 noundef 0, i64 noundef %195)
          to label %200 unwind label %211

200:                                              ; preds = %192
  %201 = icmp eq i64 %199, -1
  br i1 %201, label %202, label %215

202:                                              ; preds = %200
  %203 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %203, ptr noundef nonnull @.str.49)
          to label %204 unwind label %213

204:                                              ; preds = %202
  invoke void @__cxa_throw(ptr nonnull %203, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
          to label %283 unwind label %211

205:                                              ; preds = %180, %176
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  %208 = extractvalue { ptr, i32 } %206, 1
  br label %274

209:                                              ; preds = %182
  %210 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %257

211:                                              ; preds = %204, %192
  %212 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %256

213:                                              ; preds = %202
  %214 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @__cxa_free_exception(ptr %203) #9
  br label %256

215:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #9
  %216 = invoke { i32, ptr } @_ZN7DynexCN12WalletHelper26SendCompleteResultObserver4waitEm(ptr noundef nonnull align 8 dereferenceable(160) %27, i64 noundef %199)
          to label %217 unwind label %226

217:                                              ; preds = %215
  %218 = extractvalue { i32, ptr } %216, 0
  store i32 %218, ptr %29, align 8
  %219 = getelementptr inbounds i8, ptr %29, i64 8
  %220 = extractvalue { i32, ptr } %216, 1
  store ptr %220, ptr %219, align 8
  invoke void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuard14removeObserverEv(ptr noundef nonnull align 8 dereferenceable(17) %28)
          to label %221 unwind label %226

221:                                              ; preds = %217
  %222 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #9
  br i1 %222, label %223, label %230

223:                                              ; preds = %221
  %224 = call ptr @__cxa_allocate_exception(i64 32) #9
  %.sroa.0.0.copyload = load i32, ptr %29, align 8, !tbaa !46
  %.sroa.22.0.copyload = load ptr, ptr %219, align 8, !tbaa !47
  invoke void @_ZNSt12system_errorC2ESt10error_code(ptr noundef nonnull align 8 dereferenceable(32) %224, i32 %.sroa.0.0.copyload, ptr %.sroa.22.0.copyload)
          to label %225 unwind label %228

225:                                              ; preds = %223
  invoke void @__cxa_throw(ptr nonnull %224, ptr nonnull @_ZTISt12system_error, ptr nonnull @_ZNSt12system_errorD1Ev) #10
          to label %283 unwind label %226

226:                                              ; preds = %225, %217, %215
  %227 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %255

228:                                              ; preds = %223
  %229 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @__cxa_free_exception(ptr %224) #9
  br label %255

230:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %30) #9
  invoke void @_ZN7DynexCN23WalletLegacyTransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(161) %30)
          to label %231 unwind label %245

231:                                              ; preds = %230
  %232 = load ptr, ptr %183, align 8, !tbaa !44
  %233 = load ptr, ptr %232, align 8, !tbaa !34
  %234 = getelementptr inbounds i8, ptr %233, i64 192
  %235 = load ptr, ptr %234, align 8
  %236 = invoke noundef zeroext i1 %235(ptr noundef nonnull align 8 dereferenceable(8) %232, i64 noundef %199, ptr noundef nonnull align 8 dereferenceable(161) %30)
          to label %237 unwind label %247

237:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #9
  %238 = getelementptr inbounds i8, ptr %30, i64 48
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 1 dereferenceable(32) %238)
          to label %239 unwind label %249

239:                                              ; preds = %237
  %240 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #9
  %241 = getelementptr inbounds i8, ptr %30, i64 80
  invoke void @_ZN6Common8podToHexIN5boost8optionalIN6Crypto9SecretKeyEEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 1 dereferenceable(33) %241)
          to label %242 unwind label %251

242:                                              ; preds = %239
  %243 = getelementptr inbounds i8, ptr %2, i64 32
  %244 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %243, ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  call void @_ZN7DynexCN23WalletLegacyTransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(161) %30) #9
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  call void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #9
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %27) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %27) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  ret i1 true

245:                                              ; preds = %230
  %246 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %254

247:                                              ; preds = %231
  %248 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %253

249:                                              ; preds = %237
  %250 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #9
  br label %253

251:                                              ; preds = %239
  %252 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  br label %253

253:                                              ; preds = %251, %249, %247
  %.pn87 = phi { ptr, i32 } [ %252, %251 ], [ %250, %249 ], [ %248, %247 ]
  call void @_ZN7DynexCN23WalletLegacyTransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(161) %30) #9
  br label %254

254:                                              ; preds = %253, %245
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %253 ], [ %246, %245 ]
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %30) #9
  br label %255

255:                                              ; preds = %254, %228, %226
  %.pn90 = phi { ptr, i32 } [ %227, %226 ], [ %229, %228 ], [ %.pn87.pn, %254 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #9
  br label %256

256:                                              ; preds = %255, %213, %211
  %.pn92 = phi { ptr, i32 } [ %212, %211 ], [ %214, %213 ], [ %.pn90, %255 ]
  call void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %28) #9
  br label %257

257:                                              ; preds = %256, %209
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %256 ], [ %210, %209 ]
  %.21 = extractvalue { ptr, i32 } %.pn92.pn, 0
  %.2157 = extractvalue { ptr, i32 } %.pn92.pn, 1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #9
  call void @_ZN7DynexCN12WalletHelper26SendCompleteResultObserverD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %27) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %27) #9
  %258 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %259 = icmp eq i32 %.2157, %258
  br i1 %259, label %260, label %274

260:                                              ; preds = %257
  %261 = call ptr @__cxa_begin_catch(ptr %.21) #9
  %262 = call ptr @__cxa_allocate_exception(i64 48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #9
  %263 = load ptr, ptr %261, align 8, !tbaa !34
  %264 = getelementptr inbounds i8, ptr %263, i64 16
  %265 = load ptr, ptr %264, align 8
  %266 = call noundef ptr %265(ptr noundef nonnull align 8 dereferenceable(8) %261) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %266, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %267 unwind label %.thread148

267:                                              ; preds = %260
  invoke void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %262, i32 noundef -4, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %268 unwind label %270

268:                                              ; preds = %267
  invoke void @__cxa_throw(ptr nonnull %262, ptr nonnull @_ZTIN7DynexCN7JsonRpc12JsonRpcErrorE, ptr nonnull @_ZN7DynexCN7JsonRpc12JsonRpcErrorD2Ev) #10
          to label %283 unwind label %270

.thread148:                                       ; preds = %260
  %269 = landingpad { ptr, i32 }
          cleanup
  %.22151 = extractvalue { ptr, i32 } %269, 0
  %.2258152 = extractvalue { ptr, i32 } %269, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %272

270:                                              ; preds = %267, %268
  %.0 = phi i1 [ false, %268 ], [ true, %267 ]
  %271 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  %.22 = extractvalue { ptr, i32 } %271, 0
  %.2258 = extractvalue { ptr, i32 } %271, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br i1 %.0, label %272, label %273

272:                                              ; preds = %.thread148, %270
  %.2258156 = phi i32 [ %.2258152, %.thread148 ], [ %.2258, %270 ]
  %.22154 = phi ptr [ %.22151, %.thread148 ], [ %.22, %270 ]
  call void @__cxa_free_exception(ptr %262) #9
  br label %273

273:                                              ; preds = %272, %270
  %.2258155 = phi i32 [ %.2258156, %272 ], [ %.2258, %270 ]
  %.22153 = phi ptr [ %.22154, %272 ], [ %.22, %270 ]
  invoke void @__cxa_end_catch()
          to label %274 unwind label %280

274:                                              ; preds = %273, %257, %205
  %.2359 = phi i32 [ %.2157, %257 ], [ %208, %205 ], [ %.2258155, %273 ]
  %.23 = phi ptr [ %.21, %257 ], [ %207, %205 ], [ %.22153, %273 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  br label %275

275:                                              ; preds = %274, %175
  %.2460 = phi i32 [ %.2359, %274 ], [ %.1652, %175 ]
  %.24 = phi ptr [ %.23, %274 ], [ %.16, %175 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  br label %276

276:                                              ; preds = %275, %134
  %.2561 = phi i32 [ %137, %134 ], [ %.2460, %275 ]
  %.25 = phi ptr [ %136, %134 ], [ %.24, %275 ]
  call void @_ZNSt6vectorIN7DynexCN20WalletLegacyTransferESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  br label %277

277:                                              ; preds = %114, %115, %74, %75, %276, %107, %67
  %.2662 = phi i32 [ %.440116, %75 ], [ %.440, %74 ], [ %.137, %67 ], [ %.945128, %115 ], [ %.945, %114 ], [ %.642, %107 ], [ %.2561, %276 ]
  %.26 = phi ptr [ %.4115, %75 ], [ %.4, %74 ], [ %.135, %67 ], [ %.9127, %115 ], [ %.9, %114 ], [ %.6, %107 ], [ %.25, %276 ]
  %278 = insertvalue { ptr, i32 } poison, ptr %.26, 0
  %279 = insertvalue { ptr, i32 } %278, i32 %.2662, 1
  resume { ptr, i32 } %279

280:                                              ; preds = %273
  %281 = landingpad { ptr, i32 }
          catch ptr null
  %282 = extractvalue { ptr, i32 } %281, 0
  call void @__clang_call_terminate(ptr %282) #11
  unreachable

283:                                              ; preds = %268, %225, %204, %164, %146, %99, %59
  unreachable
}

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @_ZN7DynexCN7JsonRpc12JsonRpcErrorC1EiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare void @_ZN7DynexCN35setPaymentIdToTransactionExtraNonceERSt6vectorIhSaIhEERKN6Crypto4HashE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN7DynexCN31addExtraNonceToTransactionExtraERSt6vectorIhSaIhEERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESt20back_insert_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET0_T_SG_SF_(ptr, ptr, ptr) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt13back_inserterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

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

declare void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuardC1ERNS_13IWalletLegacyERNS_21IWalletLegacyObserverE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

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

declare { i32, ptr } @_ZN7DynexCN12WalletHelper26SendCompleteResultObserver4waitEm(ptr noundef nonnull align 8 dereferenceable(160), i64 noundef) local_unnamed_addr #4

declare void @_ZN7DynexCN12WalletHelper26IWalletRemoveObserverGuard14removeObserverEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt12system_errorC2ESt10error_code(ptr noundef nonnull align 8 dereferenceable(32), i32, ptr) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN5boost8optionalIN6Crypto9SecretKeyEEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(33)) local_unnamed_addr #3

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nofree nosync nounwind memory(none) }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { 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 24}
!6 = !{!"_ZTSN5Tools10wallet_rpc20COMMAND_RPC_TRANSFER7requestE", !7, i64 0, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48}
!7 = !{!"_ZTSNSt7__cxx114listIN5Tools10wallet_rpc20transfer_destinationESaIS3_EEE", !8, i64 0}
!8 = !{!"_ZTSNSt7__cxx1110_List_baseIN5Tools10wallet_rpc20transfer_destinationESaIS3_EEE", !9, i64 0}
!9 = !{!"_ZTSNSt7__cxx1110_List_baseIN5Tools10wallet_rpc20transfer_destinationESaIS3_EE10_List_implE", !10, i64 0}
!10 = !{!"_ZTSNSt8__detail17_List_node_headerE", !11, i64 0, !15, i64 16}
!11 = !{!"_ZTSNSt8__detail15_List_node_baseE", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"long", !13, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !15, i64 8, !13, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!18 = !{!19, !12, i64 256}
!19 = !{!"_ZTSN5Tools17wallet_rpc_serverE", !20, i64 0, !23, i64 208, !12, i64 248, !12, i64 256, !31, i64 264, !16, i64 272, !16, i64 304, !16, i64 336, !12, i64 368, !16, i64 376, !12, i64 408, !32, i64 416}
!20 = !{!"_ZTSN7DynexCN10HttpServerE", !12, i64 8, !21, i64 16, !23, i64 56, !24, i64 96, !26, i64 120, !16, i64 176}
!21 = !{!"_ZTSN6System12ContextGroupE", !12, i64 0, !22, i64 8}
!22 = !{!"_ZTSN6System18NativeContextGroupE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!23 = !{!"_ZTSN7Logging9LoggerRefE", !12, i64 0, !16, i64 8}
!24 = !{!"_ZTSN6System11TcpListenerE", !12, i64 0, !25, i64 8, !12, i64 16}
!25 = !{!"int", !13, i64 0}
!26 = !{!"_ZTSSt13unordered_setIPN6System13TcpConnectionESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt10_HashtableIPN6System13TcpConnectionES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !12, i64 0, !15, i64 8, !28, i64 16, !15, i64 24, !29, i64 32, !12, i64 48}
!28 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !12, i64 0}
!29 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !30, i64 0, !15, i64 8}
!30 = !{!"float", !13, i64 0}
!31 = !{!"short", !13, i64 0}
!32 = !{!"_ZTSN6System5EventE", !12, i64 0, !33, i64 8, !12, i64 16, !12, i64 24}
!33 = !{!"bool", !13, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"vtable pointer", !14, i64 0}
!36 = !{!6, !15, i64 32}
!37 = !{!19, !12, i64 368}
!38 = !{!39, !15, i64 0}
!39 = !{!"_ZTSN5Tools10wallet_rpc20transfer_destinationE", !15, i64 0, !16, i64 8}
!40 = !{!41, !15, i64 32}
!41 = !{!"_ZTSN7DynexCN20WalletLegacyTransferE", !16, i64 0, !15, i64 32}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!19, !12, i64 248}
!45 = !{!6, !15, i64 40}
!46 = !{!25, !25, i64 0}
!47 = !{!12, !12, i64 0}


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