; LLVM IR from dynexcoin/Dynex :: src/PaymentGate (WalletService)

; 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 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::error_code" = type { i32, ptr }
%"class.System::EventLock" = type { ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"struct.PaymentService::TransactionsInBlockInfoFilter" = type <{ %"class.std::unordered_set", i8, %"struct.Crypto::Hash", [7 x i8] }>
%"class.std::unordered_set" = type { %"class.std::_Hashtable.251" }
%"class.std::_Hashtable.251" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.274" = type { %"struct.std::_Vector_base.275" }
%"struct.std::_Vector_base.275" = type { %"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.279" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.285" = type { ptr }
%"class.PaymentService::WalletService" = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.Logging::LoggerRef", ptr, %"class.System::Event", %"class.System::ContextGroup", %"class.std::map.237" }
%"class.System::Event" = type { ptr, i8, ptr, ptr }
%"class.System::ContextGroup" = type { ptr, %"struct.System::NativeContextGroup" }
%"struct.System::NativeContextGroup" = type { ptr, ptr, ptr, ptr }
%"class.std::map.237" = type { %"class.std::_Rb_tree.238" }
%"class.std::_Rb_tree.238" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.PaymentService::TransactionsInBlockRpcInfo" = type { %"class.std::__cxx11::basic_string", %"class.std::vector.280" }
%"class.std::vector.280" = type { %"struct.std::_Vector_base.281" }
%"struct.std::_Vector_base.281" = type { %"struct.std::_Vector_base<PaymentService::TransactionRpcInfo, std::allocator<PaymentService::TransactionRpcInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<PaymentService::TransactionRpcInfo, std::allocator<PaymentService::TransactionRpcInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<PaymentService::TransactionRpcInfo, std::allocator<PaymentService::TransactionRpcInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PaymentService::TransactionRpcInfo, std::allocator<PaymentService::TransactionRpcInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.PaymentService::TransactionRpcInfo" = type { i8, %"class.std::__cxx11::basic_string", i32, i32, i64, i8, i64, i64, i64, %"class.std::vector.286", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::vector.286" = type { %"struct.std::_Vector_base.287" }
%"struct.std::_Vector_base.287" = type { %"struct.std::_Vector_base<PaymentService::TransferRpcInfo, std::allocator<PaymentService::TransferRpcInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<PaymentService::TransferRpcInfo, std::allocator<PaymentService::TransferRpcInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<PaymentService::TransferRpcInfo, std::allocator<PaymentService::TransferRpcInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PaymentService::TransferRpcInfo, std::allocator<PaymentService::TransferRpcInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTISt12system_error = external constant ptr
@_ZTISt9exception = external constant ptr
@_ZN7Logging13BRIGHT_YELLOWB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.96 = external hidden unnamed_addr constant [35 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree 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

; 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

declare void @__cxa_end_catch()

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef) #6

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_117validateAddressesERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKN7DynexCN8CurrencyEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(984), ptr noundef) #9

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_117validatePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14PaymentService29TransactionsInBlockInfoFilterC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_19parseHashERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #9

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

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN14PaymentService13WalletService15getTransactionsERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_jSD_RS1_INS_26TransactionsInBlockRpcInfoESaISE_EE(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) #9 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::error_code", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.System::EventLock", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.Logging::LoggerRef", align 8
  %18 = alloca %"class.Logging::LoggerRef", align 8
  %19 = alloca %"struct.PaymentService::TransactionsInBlockInfoFilter", align 8
  %20 = alloca %"struct.Crypto::Hash", align 1
  %21 = alloca %"class.Logging::LoggerRef", align 8
  %22 = alloca %"class.std::vector.274", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.279", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.279", align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.285", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.285", align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.Logging::LoggerMessage", align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.Logging::LoggerMessage", align 8
  %37 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %38 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %39 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 9
  invoke void @_ZN6System9EventLockC1ERNS_5EventE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %40 unwind label %54

40:                                               ; preds = %6
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 7
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %44)
          to label %45 unwind label %58

45:                                               ; preds = %40
  invoke void @_ZN14PaymentService12_GLOBAL__N_117validateAddressesERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKN7DynexCN8CurrencyEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(984) %43, ptr noundef %17)
          to label %46 unwind label %62

46:                                               ; preds = %45
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #10
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %47) #10
  br i1 %48, label %70, label %49

49:                                               ; preds = %46
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 7
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %52 unwind label %58

52:                                               ; preds = %49
  invoke void @_ZN14PaymentService12_GLOBAL__N_117validatePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef %18)
          to label %53 unwind label %66

53:                                               ; preds = %52
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #10
  br label %70

54:                                               ; preds = %6
  %55 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %15, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %16, align 4
  br label %164

58:                                               ; preds = %49, %40
  %59 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %15, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %16, align 4
  br label %163

62:                                               ; preds = %45
  %63 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %15, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %16, align 4
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #10
  br label %163

66:                                               ; preds = %52
  %67 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %15, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %16, align 4
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #10
  br label %163

70:                                               ; preds = %53, %46
  call void @llvm.lifetime.start.p0(i64 96, ptr %19) #10
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN14PaymentService29TransactionsInBlockInfoFilterC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_(ptr noundef nonnull align 8 dereferenceable(89) %19, ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %73 unwind label %90

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #10
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 7
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef nonnull align 8 dereferenceable(40) %75)
          to label %76 unwind label %94

76:                                               ; preds = %73
  invoke void @_ZN14PaymentService12_GLOBAL__N_19parseHashERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %20, ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef %21)
          to label %77 unwind label %98

77:                                               ; preds = %76
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #10
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  invoke void @_ZNK14PaymentService13WalletService18getRpcTransactionsERKN6Crypto4HashEmRKNS_29TransactionsInBlockInfoFilterE(ptr dead_on_unwind writable sret(%"class.std::vector.274") align 8 %22, ptr noundef nonnull align 8 dereferenceable(224) %38, ptr noundef nonnull align 1 dereferenceable(32) %20, i64 noundef %79, ptr noundef nonnull align 8 dereferenceable(89) %19)
          to label %80 unwind label %102

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  store ptr %22, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %81 = load ptr, ptr %23, align 8, !tbaa !5
  %82 = call ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #10
  %83 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.279", ptr %24, i32 0, i32 0
  store ptr %82, ptr %83, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %84 = load ptr, ptr %23, align 8, !tbaa !5
  %85 = call ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #10
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.279", ptr %25, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  br label %87

87:                                               ; preds = %149, %80
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  br i1 %88, label %106, label %89

89:                                               ; preds = %87
  store i32 2, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %151

90:                                               ; preds = %70
  %91 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %15, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %16, align 4
  br label %162

94:                                               ; preds = %73
  %95 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %15, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %16, align 4
  br label %161

98:                                               ; preds = %76
  %99 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %15, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %16, align 4
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #10
  br label %161

102:                                              ; preds = %77
  %103 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %15, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %16, align 4
  br label %160

106:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %107 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  store ptr %107, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %108 = load ptr, ptr %27, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.PaymentService::TransactionsInBlockRpcInfo", ptr %108, i32 0, i32 1
  store ptr %109, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %110 = load ptr, ptr %28, align 8, !tbaa !5
  %111 = call ptr @_ZNSt6vectorIN14PaymentService18TransactionRpcInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #10
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.285", ptr %29, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %113 = load ptr, ptr %28, align 8, !tbaa !5
  %114 = call ptr @_ZNSt6vectorIN14PaymentService18TransactionRpcInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #10
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.285", ptr %30, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  br label %116

116:                                              ; preds = %142, %106
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  br i1 %117, label %119, label %118

118:                                              ; preds = %116
  store i32 4, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %148

119:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %120 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #10
  store ptr %120, ptr %31, align 8, !tbaa !5
  %121 = load ptr, ptr %31, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.PaymentService::TransactionRpcInfo", ptr %121, i32 0, i32 2
  %123 = load i32, ptr %122, align 8, !tbaa !29
  %124 = icmp ne i32 %123, -1
  br i1 %124, label %125, label %137

125:                                              ; preds = %119
  %126 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 2
  %127 = load ptr, ptr %126, align 8, !tbaa !35
  %128 = load ptr, ptr %127, align 8, !tbaa !36
  %129 = getelementptr inbounds ptr, ptr %128, i64 45
  %130 = load ptr, ptr %129, align 8
  %131 = invoke noundef i32 %130(ptr noundef nonnull align 8 dereferenceable(8) %127)
          to label %132 unwind label %144

132:                                              ; preds = %125
  %133 = load ptr, ptr %31, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.PaymentService::TransactionRpcInfo", ptr %133, i32 0, i32 2
  %135 = load i32, ptr %134, align 8, !tbaa !29
  %136 = sub i32 %131, %135
  br label %138

137:                                              ; preds = %119
  br label %138

138:                                              ; preds = %137, %132
  %139 = phi i32 [ %136, %132 ], [ 0, %137 ]
  %140 = load ptr, ptr %31, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.PaymentService::TransactionRpcInfo", ptr %140, i32 0, i32 3
  store i32 %139, ptr %141, align 4, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %142

142:                                              ; preds = %138
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #10
  br label %116

144:                                              ; preds = %125
  %145 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %15, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %159

148:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %149

149:                                              ; preds = %148
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br label %87

151:                                              ; preds = %89
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %154 unwind label %155

154:                                              ; preds = %151
  call void @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @_ZN14PaymentService29TransactionsInBlockInfoFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %19) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #10
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %243

155:                                              ; preds = %151
  %156 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %15, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %16, align 4
  br label %159

159:                                              ; preds = %155, %144
  call void @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  br label %160

160:                                              ; preds = %159, %102
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  br label %161

161:                                              ; preds = %160, %98, %94
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @_ZN14PaymentService29TransactionsInBlockInfoFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %19) #10
  br label %162

162:                                              ; preds = %161, %90
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #10
  br label %163

163:                                              ; preds = %162, %66, %62, %58
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %164

164:                                              ; preds = %163, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %16, align 4
  %167 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt12system_error) #10
  %168 = icmp eq i32 %166, %167
  br i1 %168, label %169, label %185

169:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %170 = load ptr, ptr %15, align 8
  %171 = call ptr @__cxa_begin_catch(ptr %170) #10
  store ptr %171, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 432, ptr %36) #10
  %172 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 7
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %36, ptr noundef nonnull align 8 dereferenceable(40) %172, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
          to label %173 unwind label %228

173:                                              ; preds = %169
  %174 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %36, ptr noundef nonnull align 1 dereferenceable(35) @.str.96)
          to label %175 unwind label %232

175:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %176 = load ptr, ptr %35, align 8, !tbaa !5
  %177 = load ptr, ptr %176, align 8, !tbaa !36
  %178 = getelementptr inbounds ptr, ptr %177, i64 2
  %179 = load ptr, ptr %178, align 8
  %180 = call noundef ptr %179(ptr noundef nonnull align 8 dereferenceable(16) %176) #10
  store ptr %180, ptr %37, align 8, !tbaa !5
  %181 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEPKcEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %174, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %182 unwind label %236

182:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %36) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %36) #10
  %183 = load ptr, ptr %35, align 8, !tbaa !5
  %184 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32) %183) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %184, i64 16, i1 false), !tbaa.struct !39
  store i32 1, ptr %26, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %244

185:                                              ; preds = %165
  %186 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %187 = icmp eq i32 %166, %186
  br i1 %187, label %188, label %246

188:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %189 = load ptr, ptr %15, align 8
  %190 = call ptr @__cxa_begin_catch(ptr %189) #10
  store ptr %190, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 432, ptr %33) #10
  %191 = getelementptr inbounds %"class.PaymentService::WalletService", ptr %38, i32 0, i32 7
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %33, ptr noundef nonnull align 8 dereferenceable(40) %191, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
          to label %192 unwind label %208

192:                                              ; preds = %188
  %193 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %33, ptr noundef nonnull align 1 dereferenceable(35) @.str.96)
          to label %194 unwind label %212

194:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %195 = load ptr, ptr %32, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !36
  %197 = getelementptr inbounds ptr, ptr %196, i64 2
  %198 = load ptr, ptr %197, align 8
  %199 = call noundef ptr %198(ptr noundef nonnull align 8 dereferenceable(8) %195) #10
  store ptr %199, ptr %34, align 8, !tbaa !5
  %200 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEPKcEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %193, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %201 unwind label %216

201:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %33) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr %33) #10
  %202 = invoke { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 5)
          to label %203 unwind label %222

203:                                              ; preds = %201
  %204 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 0
  %205 = extractvalue { i32, ptr } %202, 0
  store i32 %205, ptr %204, align 8
  %206 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 1
  %207 = extractvalue { i32, ptr } %202, 1
  store ptr %207, ptr %206, align 8
  store i32 1, ptr %26, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %244

208:                                              ; preds = %188
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %15, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %16, align 4
  br label %221

212:                                              ; preds = %192
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %15, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %16, align 4
  br label %220

216:                                              ; preds = %194
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %15, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %220

220:                                              ; preds = %216, %212
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %33) #10
  br label %221

221:                                              ; preds = %220, %208
  call void @llvm.lifetime.end.p0(i64 432, ptr %33) #10
  br label %226

222:                                              ; preds = %201
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %15, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %16, align 4
  br label %226

226:                                              ; preds = %222, %221
  invoke void @__cxa_end_catch()
          to label %227 unwind label %251

227:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %246

228:                                              ; preds = %169
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %15, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %16, align 4
  br label %241

232:                                              ; preds = %173
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %15, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %16, align 4
  br label %240

236:                                              ; preds = %175
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %15, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  br label %240

240:                                              ; preds = %236, %232
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %36) #10
  br label %241

241:                                              ; preds = %240, %228
  call void @llvm.lifetime.end.p0(i64 432, ptr %36) #10
  invoke void @__cxa_end_catch()
          to label %242 unwind label %251

242:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %246

243:                                              ; preds = %154
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  br label %244

244:                                              ; preds = %243, %203, %182
  %245 = load { i32, ptr }, ptr %7, align 8
  ret { i32, ptr } %245

246:                                              ; preds = %242, %227, %185
  %247 = load ptr, ptr %15, align 8
  %248 = load i32, ptr %16, align 4
  %249 = insertvalue { ptr, i32 } poison, ptr %247, 0
  %250 = insertvalue { ptr, i32 } %249, i32 %248, 1
  resume { ptr, i32 } %250

251:                                              ; preds = %241, %226
  %252 = landingpad { ptr, i32 }
          catch ptr null
  %253 = extractvalue { ptr, i32 } %252, 0
  call void @__clang_call_terminate(ptr %253) #11
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14PaymentService13WalletService18getRpcTransactionsERKN6Crypto4HashEmRKNS_29TransactionsInBlockInfoFilterE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.274") align 8, ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 1 dereferenceable(32), i64 noundef, ptr noundef nonnull align 8 dereferenceable(89)) #9 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_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 = { "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 = { 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 = { 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 nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSN14PaymentService13WalletServiceE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !14, i64 56, !6, i64 96, !18, i64 104, !19, i64 136, !21, i64 176}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !15, i64 8}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN6System5EventE", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!"_ZTSN6System12ContextGroupE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSN6System18NativeContextGroupE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4lessIS5_ESaISt4pairIKS5_mEEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !17, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!30, !10, i64 40}
!30 = !{!"_ZTSN14PaymentService18TransactionRpcInfoE", !7, i64 0, !15, i64 8, !10, i64 40, !10, i64 44, !17, i64 48, !13, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !31, i64 88, !15, i64 112, !15, i64 144}
!31 = !{!"_ZTSSt6vectorIN14PaymentService15TransferRpcInfoESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!12, !6, i64 16}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !8, i64 0}
!38 = !{!30, !10, i64 44}
!39 = !{i64 0, i64 4, !9, i64 8, i64 8, !5}


; 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 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::error_code" = type { i32, ptr }
%"class.System::EventLock" = type { ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"struct.PaymentService::TransactionsInBlockInfoFilter" = type <{ %"class.std::unordered_set", i8, %"struct.Crypto::Hash", [7 x i8] }>
%"class.std::unordered_set" = type { %"class.std::_Hashtable.251" }
%"class.std::_Hashtable.251" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.274" = type { %"struct.std::_Vector_base.275" }
%"struct.std::_Vector_base.275" = type { %"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PaymentService::TransactionsInBlockRpcInfo, std::allocator<PaymentService::TransactionsInBlockRpcInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.279" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.285" = type { ptr }

@_ZTISt12system_error = external constant ptr
@_ZTISt9exception = external constant ptr
@_ZN7Logging13BRIGHT_YELLOWB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.96 = external hidden unnamed_addr constant [35 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare void @__cxa_end_catch() local_unnamed_addr

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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef) local_unnamed_addr #6

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_117validateAddressesERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKN7DynexCN8CurrencyEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(984), ptr noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_117validatePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14PaymentService29TransactionsInBlockInfoFilterC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN14PaymentService12_GLOBAL__N_19parseHashERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr dead_on_unwind noalias writable sret(%"struct.Crypto::Hash") align 1, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN14PaymentService13WalletService15getTransactionsERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_jSD_RS1_INS_26TransactionsInBlockRpcInfoESaISE_EE(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) local_unnamed_addr #9 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::error_code", align 8
  %8 = alloca %"class.System::EventLock", align 8
  %9 = alloca %"class.Logging::LoggerRef", align 8
  %10 = alloca %"class.Logging::LoggerRef", align 8
  %11 = alloca %"struct.PaymentService::TransactionsInBlockInfoFilter", align 8
  %12 = alloca %"struct.Crypto::Hash", align 1
  %13 = alloca %"class.Logging::LoggerRef", align 8
  %14 = alloca %"class.std::vector.274", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.279", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.279", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.285", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.285", align 8
  %19 = alloca %"class.Logging::LoggerMessage", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.Logging::LoggerMessage", align 8
  %22 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %23 = getelementptr inbounds i8, ptr %0, i64 104
  invoke void @_ZN6System9EventLockC1ERNS_5EventE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %24 unwind label %34

24:                                               ; preds = %6
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %0, i64 56
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %28 unwind label %36

28:                                               ; preds = %24
  invoke void @_ZN14PaymentService12_GLOBAL__N_117validateAddressesERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKN7DynexCN8CurrencyEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(984) %26, ptr noundef nonnull %9)
          to label %29 unwind label %38

29:                                               ; preds = %28
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  %30 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  br i1 %30, label %42, label %31

31:                                               ; preds = %29
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %32 unwind label %36

32:                                               ; preds = %31
  invoke void @_ZN14PaymentService12_GLOBAL__N_117validatePaymentIdERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %10)
          to label %33 unwind label %40

33:                                               ; preds = %32
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  br label %42

34:                                               ; preds = %6
  %35 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %96

36:                                               ; preds = %31, %24
  %37 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %95

38:                                               ; preds = %28
  %39 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  br label %95

40:                                               ; preds = %32
  %41 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  br label %95

42:                                               ; preds = %33, %29
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #10
  invoke void @_ZN14PaymentService29TransactionsInBlockInfoFilterC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKS7_(ptr noundef nonnull align 8 dereferenceable(89) %11, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %43 unwind label %53

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  invoke void @_ZN7Logging9LoggerRefC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %44 unwind label %55

44:                                               ; preds = %43
  invoke void @_ZN14PaymentService12_GLOBAL__N_19parseHashERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN7Logging9LoggerRefE(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %12, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %13)
          to label %45 unwind label %57

45:                                               ; preds = %44
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  %46 = zext i32 %3 to i64
  invoke void @_ZNK14PaymentService13WalletService18getRpcTransactionsERKN6Crypto4HashEmRKNS_29TransactionsInBlockInfoFilterE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.274") align 8 %14, ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull align 1 dereferenceable(32) %12, i64 noundef %46, ptr noundef nonnull align 8 dereferenceable(89) %11)
          to label %47 unwind label %59

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %48 = call ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  store ptr %48, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %49 = call ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  store ptr %49, ptr %16, align 8
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br i1 %50, label %.lr.ph48, label %._crit_edge49

.lr.ph48:                                         ; preds = %47
  %51 = getelementptr inbounds i8, ptr %0, i64 16
  br label %61

._crit_edge49:                                    ; preds = %._crit_edge, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %88 unwind label %89

53:                                               ; preds = %42
  %54 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %94

55:                                               ; preds = %43
  %56 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %93

57:                                               ; preds = %44
  %58 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @_ZN7Logging9LoggerRefD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #10
  br label %93

59:                                               ; preds = %45
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  br label %92

61:                                               ; preds = %.lr.ph48, %._crit_edge
  %62 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  %63 = getelementptr inbounds i8, ptr %62, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %64 = call ptr @_ZNSt6vectorIN14PaymentService18TransactionRpcInfoESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #10
  store ptr %64, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %65 = call ptr @_ZNSt6vectorIN14PaymentService18TransactionRpcInfoESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #10
  store ptr %65, ptr %18, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br i1 %66, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %81, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService26TransactionsInBlockRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br i1 %68, label %61, label %._crit_edge49

.lr.ph:                                           ; preds = %61, %81
  %69 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  %70 = getelementptr inbounds i8, ptr %69, i64 40
  %71 = load i32, ptr %70, align 8, !tbaa !26
  %.not = icmp eq i32 %71, -1
  br i1 %.not, label %81, label %72

72:                                               ; preds = %.lr.ph
  %73 = load ptr, ptr %51, align 8, !tbaa !33
  %74 = load ptr, ptr %73, align 8, !tbaa !34
  %75 = getelementptr inbounds i8, ptr %74, i64 360
  %76 = load ptr, ptr %75, align 8
  %77 = invoke noundef i32 %76(ptr noundef nonnull align 8 dereferenceable(8) %73)
          to label %78 unwind label %86

78:                                               ; preds = %72
  %79 = load i32, ptr %70, align 8, !tbaa !26
  %80 = sub i32 %77, %79
  br label %81

81:                                               ; preds = %.lr.ph, %78
  %82 = phi i32 [ %80, %78 ], [ 0, %.lr.ph ]
  %83 = getelementptr inbounds i8, ptr %69, i64 44
  store i32 %82, ptr %83, align 4, !tbaa !36
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  %85 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN14PaymentService18TransactionRpcInfoESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br i1 %85, label %.lr.ph, label %._crit_edge

86:                                               ; preds = %72
  %87 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt12system_error
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %91

88:                                               ; preds = %._crit_edge49
  call void @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @_ZN14PaymentService29TransactionsInBlockInfoFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %11) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #10
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  br label %147

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

91:                                               ; preds = %89, %86
  %.pn = phi { ptr, i32 } [ %87, %86 ], [ %90, %89 ]
  call void @_ZNSt6vectorIN14PaymentService26TransactionsInBlockRpcInfoESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  br label %92

92:                                               ; preds = %91, %59
  %.pn.pn = phi { ptr, i32 } [ %.pn, %91 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br label %93

93:                                               ; preds = %92, %57, %55
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %92 ], [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @_ZN14PaymentService29TransactionsInBlockInfoFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(89) %11) #10
  br label %94

94:                                               ; preds = %93, %53
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %93 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #10
  br label %95

95:                                               ; preds = %94, %40, %38, %36
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %94 ], [ %41, %40 ], [ %37, %36 ], [ %39, %38 ]
  call void @_ZN6System9EventLockD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %96

96:                                               ; preds = %95, %34
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %95 ], [ %35, %34 ]
  %.5 = extractvalue { ptr, i32 } %.pn.pn.pn.pn.pn.pn, 0
  %.529 = extractvalue { ptr, i32 } %.pn.pn.pn.pn.pn.pn, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  %97 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt12system_error) #10
  %98 = icmp eq i32 %.529, %97
  br i1 %98, label %99, label %112

99:                                               ; preds = %96
  %100 = call ptr @__cxa_begin_catch(ptr %.5) #10
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %21) #10
  %101 = getelementptr inbounds i8, ptr %0, i64 56
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %21, ptr noundef nonnull align 8 dereferenceable(40) %101, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
          to label %102 unwind label %139

102:                                              ; preds = %99
  %103 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %21, ptr noundef nonnull align 1 dereferenceable(35) @.str.96)
          to label %104 unwind label %141

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #10
  %105 = load ptr, ptr %100, align 8, !tbaa !34
  %106 = getelementptr inbounds i8, ptr %105, i64 16
  %107 = load ptr, ptr %106, align 8
  %108 = call noundef ptr %107(ptr noundef nonnull align 8 dereferenceable(16) %100) #10
  store ptr %108, ptr %22, align 8, !tbaa !37
  %109 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEPKcEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %103, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %110 unwind label %143

110:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %21) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %21) #10
  %111 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt12system_error4codeEv(ptr noundef nonnull align 8 dereferenceable(32) %100) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %111, i64 16, i1 false), !tbaa.struct !38
  call void @__cxa_end_catch()
  br label %147

112:                                              ; preds = %96
  %113 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %114 = icmp eq i32 %.529, %113
  br i1 %114, label %115, label %148

115:                                              ; preds = %112
  %116 = call ptr @__cxa_begin_catch(ptr %.5) #10
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %19) #10
  %117 = getelementptr inbounds i8, ptr %0, i64 56
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %19, ptr noundef nonnull align 8 dereferenceable(40) %117, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging13BRIGHT_YELLOWB5cxx11E)
          to label %118 unwind label %131

118:                                              ; preds = %115
  %119 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA35_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %19, ptr noundef nonnull align 1 dereferenceable(35) @.str.96)
          to label %120 unwind label %133

120:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #10
  %121 = load ptr, ptr %116, align 8, !tbaa !34
  %122 = getelementptr inbounds i8, ptr %121, i64 16
  %123 = load ptr, ptr %122, align 8
  %124 = call noundef ptr %123(ptr noundef nonnull align 8 dereferenceable(8) %116) #10
  store ptr %124, ptr %20, align 8, !tbaa !37
  %125 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEPKcEOT_S5_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %119, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %126 unwind label %135

126:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %19) #10
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %19) #10
  %127 = call { i32, ptr } @_Z15make_error_codeN7DynexCN5error16WalletErrorCodesE(i32 noundef 5)
  %128 = extractvalue { i32, ptr } %127, 0
  store i32 %128, ptr %7, align 8
  %129 = getelementptr inbounds i8, ptr %7, i64 8
  %130 = extractvalue { i32, ptr } %127, 1
  store ptr %130, ptr %129, align 8
  call void @__cxa_end_catch()
  br label %147

131:                                              ; preds = %115
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %138

133:                                              ; preds = %118
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %137

135:                                              ; preds = %120
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  br label %137

137:                                              ; preds = %135, %133
  %.pn41 = phi { ptr, i32 } [ %136, %135 ], [ %134, %133 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %19) #10
  br label %138

138:                                              ; preds = %137, %131
  %.pn41.pn = phi { ptr, i32 } [ %.pn41, %137 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %19) #10
  invoke void @__cxa_end_catch()
          to label %148 unwind label %149

139:                                              ; preds = %99
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %146

141:                                              ; preds = %102
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %104
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  br label %145

145:                                              ; preds = %143, %141
  %.pn44 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %21) #10
  br label %146

146:                                              ; preds = %145, %139
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %145 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %21) #10
  invoke void @__cxa_end_catch()
          to label %148 unwind label %149

147:                                              ; preds = %88, %126, %110
  %.fca.0.load = load i32, ptr %7, align 8
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %7, i64 8
  %.fca.1.load = load ptr, ptr %.fca.1.gep, align 8
  %.fca.1.insert = insertvalue { i32, ptr } %.fca.0.insert, ptr %.fca.1.load, 1
  ret { i32, ptr } %.fca.1.insert

148:                                              ; preds = %146, %138, %112
  %.merged = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %112 ], [ %.pn41.pn, %138 ], [ %.pn44.pn, %146 ]
  resume { ptr, i32 } %.merged

149:                                              ; preds = %146, %138
  %150 = landingpad { ptr, i32 }
          catch ptr null
  %151 = extractvalue { ptr, i32 } %150, 0
  call void @__clang_call_terminate(ptr %151) #11
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14PaymentService13WalletService18getRpcTransactionsERKN6Crypto4HashEmRKNS_29TransactionsInBlockInfoFilterE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.274") align 8, ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 1 dereferenceable(32), i64 noundef, ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #9 align 2

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 = { 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 nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTSN14PaymentService13WalletServiceE", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56, !7, i64 96, !15, i64 104, !16, i64 136, !18, i64 176}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSN7Logging9LoggerRefE", !7, i64 0, !12, i64 8}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !8, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"_ZTSN6System5EventE", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24}
!16 = !{!"_ZTSN6System12ContextGroupE", !7, i64 0, !17, i64 8}
!17 = !{!"_ZTSN6System18NativeContextGroupE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!18 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4lessIS5_ESaISt4pairIKS5_mEEE", !19, i64 0}
!19 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !20, i64 0}
!20 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !21, i64 0, !23, i64 8}
!21 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !22, i64 0}
!22 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!23 = !{!"_ZTSSt15_Rb_tree_header", !24, i64 0, !14, i64 32}
!24 = !{!"_ZTSSt18_Rb_tree_node_base", !25, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!25 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!26 = !{!27, !28, i64 40}
!27 = !{!"_ZTSN14PaymentService18TransactionRpcInfoE", !8, i64 0, !12, i64 8, !28, i64 40, !28, i64 44, !14, i64 48, !10, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !29, i64 88, !12, i64 112, !12, i64 144}
!28 = !{!"int", !8, i64 0}
!29 = !{!"_ZTSSt6vectorIN14PaymentService15TransferRpcInfoESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN14PaymentService15TransferRpcInfoESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!33 = !{!6, !7, i64 16}
!34 = !{!35, !35, i64 0}
!35 = !{!"vtable pointer", !9, i64 0}
!36 = !{!27, !28, i64 44}
!37 = !{!7, !7, i64 0}
!38 = !{i64 0, i64 4, !39, i64 8, i64 8, !37}
!39 = !{!28, !28, i64 0}


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