; LLVM IR from dynexcoin/Dynex :: src/NodeRpcProxy (NodeRpcProxy)

; 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::error_code" = type { i32, ptr }
%"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request" = type { %"struct.Crypto::Hash" }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.boost::value_initialized.344" = type { %"class.boost::initialized.345" }
%"class.boost::initialized.345" = type { %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request" }
%"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response" = type { %"class.std::vector.39", %"class.std::__cxx11::basic_string" }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.boost::value_initialized.346" = type { %"class.boost::initialized.347" }
%"class.boost::initialized.347" = type { %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response" }
%"class.std::allocator" = type { i8 }

@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1

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

; Function Attrs: nocallback nofree 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

; 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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy33doGetTransactionHashesByPaymentIdERKN6Crypto4HashERSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 1 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::error_code", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request", align 1
  %9 = alloca %"class.boost::value_initialized.344", align 1
  %10 = alloca %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response", align 8
  %11 = alloca %"class.boost::value_initialized.346", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %9)
  %18 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestEEcvRS3_Ev(ptr noundef nonnull align 1 dereferenceable(32) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 %18, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #6
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11)
  %19 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(56) %11)
          to label %20 unwind label %33

20:                                               ; preds = %3
  invoke void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 8 dereferenceable(56) %19)
          to label %21 unwind label %33

21:                                               ; preds = %20
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #6
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request", ptr %8, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %23, ptr align 1 %22, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %24 unwind label %37

24:                                               ; preds = %21
  %25 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestENS2_8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %17, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %26 unwind label %41

26:                                               ; preds = %24
  %27 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 0
  %28 = extractvalue { i32, ptr } %25, 0
  store i32 %28, ptr %27, align 8
  %29 = getelementptr inbounds { i32, ptr }, ptr %4, i32 0, i32 1
  %30 = extractvalue { i32, ptr } %25, 1
  store ptr %30, ptr %29, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  %31 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br i1 %31, label %32, label %46

32:                                               ; preds = %26
  store i32 1, ptr %16, align 4
  br label %50

33:                                               ; preds = %20, %3
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %12, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %13, align 4
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #6
  br label %52

37:                                               ; preds = %21
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %12, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %13, align 4
  br label %45

41:                                               ; preds = %24
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %12, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %45

45:                                               ; preds = %41, %37
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  br label %52

46:                                               ; preds = %26
  %47 = getelementptr inbounds %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response", ptr %10, i32 0, i32 0
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(24) %47) #6
  store i32 1, ptr %16, align 4
  br label %50

50:                                               ; preds = %46, %32
  call void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %51 = load { i32, ptr }, ptr %4, align 8
  ret { i32, ptr } %51

52:                                               ; preds = %45, %33
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %12, align 8
  %55 = load i32, ptr %13, align 4
  %56 = insertvalue { ptr, i32 } poison, ptr %54, 0
  %57 = insertvalue { ptr, i32 } %56, i32 %55, 1
  resume { ptr, i32 } %57
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestENS2_8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { 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 = !{i64 0, i64 32, !10}
!10 = !{!7, !7, i64 0}


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

%"class.std::error_code" = type { i32, ptr }
%"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request" = type { %"struct.Crypto::Hash" }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.boost::value_initialized.344" = type { %"class.boost::initialized.345" }
%"class.boost::initialized.345" = type { %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request" }
%"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response" = type { %"class.std::vector.39", %"class.std::__cxx11::basic_string" }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.boost::value_initialized.346" = type { %"class.boost::initialized.347" }
%"class.boost::initialized.347" = type { %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response" }
%"class.std::allocator" = type { i8 }

@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; 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 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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy33doGetTransactionHashesByPaymentIdERKN6Crypto4HashERSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr nocapture noundef nonnull readonly align 1 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::error_code", align 8
  %5 = alloca %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::request", align 1
  %6 = alloca %"class.boost::value_initialized.344", align 1
  %7 = alloca %"struct.DynexCN::COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID::response", align 8
  %8 = alloca %"class.boost::value_initialized.346", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %6)
  %11 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestEEcvRS3_Ev(ptr noundef nonnull align 1 dereferenceable(32) %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #6
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8)
  %12 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEEcvRS3_Ev(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %13 unwind label %22

13:                                               ; preds = %3
  invoke void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %12)
          to label %14 unwind label %22

14:                                               ; preds = %13
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %15 unwind label %24

15:                                               ; preds = %14
  %16 = invoke { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestENS2_8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560) %0, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %17 unwind label %26

17:                                               ; preds = %15
  %18 = extractvalue { i32, ptr } %16, 0
  store i32 %18, ptr %4, align 8
  %19 = getelementptr inbounds i8, ptr %4, i64 8
  %20 = extractvalue { i32, ptr } %16, 1
  store ptr %20, ptr %19, align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  %21 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br i1 %21, label %31, label %29

22:                                               ; preds = %13, %3
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost17value_initializedIN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  br label %32

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

26:                                               ; preds = %15
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %28

28:                                               ; preds = %26, %24
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  br label %32

29:                                               ; preds = %17
  %30 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN6Crypto4HashESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %31

31:                                               ; preds = %17, %29
  call void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  %.fca.0.load = load i32, ptr %4, align 8
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.fca.0.load, 0
  %.fca.1.load = load ptr, ptr %19, align 8
  %.fca.1.insert = insertvalue { i32, ptr } %.fca.0.insert, ptr %.fca.1.load, 1
  ret { i32, ptr } %.fca.1.insert

32:                                               ; preds = %28, %22
  %.pn.pn = phi { ptr, i32 } [ %.pn, %28 ], [ %23, %22 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN12NodeRpcProxy11jsonCommandINS_48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID7requestENS2_8responseEEESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_RT0_(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DynexCN48COMMAND_RPC_GET_TRANSACTION_HASHES_BY_PAYMENT_ID8responseD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { 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 #6 = { 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 = !{i64 0, i64 32, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass