; LLVM IR from dynexcoin/Dynex :: src/Transfers/TransfersContainer.ll (ZNK7DynexCN18TransfersContainer15getSpentOutputsEv)

; 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::vector.129" = type { %"struct.std::_Vector_base.130" }
%"struct.std::_Vector_base.130" = type { %"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"class.boost::multi_index::detail::hashed_index_iterator.70" = type { ptr }
%"struct.DynexCN::TransactionSpentOutputInformation" = type <{ %"struct.DynexCN::TransactionOutputInformation", i32, [4 x i8], i64, %"struct.Crypto::Hash", %"struct.Crypto::KeyImage", i32, [4 x i8] }>
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.4 }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%union.anon.4 = type { i32, [28 x i8] }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"class.DynexCN::TransfersContainer" = type { %"class.DynexCN::ITransfersContainer", %"class.boost::multi_index::multi_index_container", %"class.boost::multi_index::multi_index_container.5", %"class.boost::multi_index::multi_index_container.5", %"class.boost::multi_index::multi_index_container.14", i32, i64, ptr, %"class.std::mutex", %"class.Logging::LoggerRef" }
%"class.DynexCN::ITransfersContainer" = type { %"class.DynexCN::IStreamSerializable" }
%"class.DynexCN::IStreamSerializable" = type { ptr }
%"class.boost::multi_index::multi_index_container" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder", %"class.boost::multi_index::detail::hashed_index", i64 }
%"struct.boost::multi_index::detail::header_holder" = type { ptr }
%"class.boost::multi_index::detail::hashed_index" = type { [8 x i8], %"class.boost::multi_index::detail::bucket_array", float, i64 }
%"class.boost::multi_index::detail::bucket_array" = type { i64, %"struct.boost::multi_index::detail::auto_space" }
%"struct.boost::multi_index::detail::auto_space" = type { [8 x i8], i64, ptr }
%"class.boost::multi_index::multi_index_container.5" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder.7", %"class.boost::multi_index::detail::hashed_index.8", i64 }
%"struct.boost::multi_index::detail::header_holder.7" = type { ptr }
%"class.boost::multi_index::detail::hashed_index.8" = type { %"class.boost::multi_index::detail::hashed_index.9", [8 x i8], %"class.boost::multi_index::detail::bucket_array.12", float, i64 }
%"class.boost::multi_index::detail::hashed_index.9" = type { [8 x i8], %"class.boost::multi_index::detail::bucket_array.12", float, i64 }
%"class.boost::multi_index::detail::bucket_array.12" = type { i64, %"struct.boost::multi_index::detail::auto_space.13" }
%"struct.boost::multi_index::detail::auto_space.13" = type { [8 x i8], i64, ptr }
%"class.boost::multi_index::multi_index_container.14" = type { [8 x i8], %"struct.boost::multi_index::detail::header_holder.16", %"class.boost::multi_index::detail::hashed_index.17", i64 }
%"struct.boost::multi_index::detail::header_holder.16" = type { ptr }
%"class.boost::multi_index::detail::hashed_index.17" = type { %"class.boost::multi_index::detail::hashed_index.18", [8 x i8], %"class.boost::multi_index::detail::bucket_array.22", float, i64 }
%"class.boost::multi_index::detail::hashed_index.18" = type { %"class.boost::multi_index::detail::hashed_index.19", [8 x i8], %"class.boost::multi_index::detail::bucket_array.22", float, i64 }
%"class.boost::multi_index::detail::hashed_index.19" = type { [8 x i8], %"class.boost::multi_index::detail::bucket_array.22", float, i64 }
%"class.boost::multi_index::detail::bucket_array.22" = type { i64, %"struct.boost::multi_index::detail::auto_space.23" }
%"struct.boost::multi_index::detail::auto_space.23" = type { [8 x i8], i64, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.27 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.27 = type { i64, [8 x i8] }
%"struct.DynexCN::SpentTransactionOutput" = type <{ %"struct.DynexCN::TransactionOutputInformationEx.base", [7 x i8], %"struct.DynexCN::TransactionBlockInfo", %"struct.Crypto::Hash", i32, [4 x i8] }>
%"struct.DynexCN::TransactionOutputInformationEx.base" = type <{ %"struct.DynexCN::TransactionOutputInformationIn", i64, i32, i32, i8 }>
%"struct.DynexCN::TransactionOutputInformationIn" = type { %"struct.DynexCN::TransactionOutputInformation", %"struct.Crypto::KeyImage" }
%"struct.DynexCN::TransactionBlockInfo" = type { i32, i64, i32 }

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEEEENS2_12bucket_arrayIS8_EENS2_17hashed_unique_tagENS2_32hashed_index_global_iterator_tagEEESJ_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7DynexCN18TransfersContainer15getSpentOutputsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.129") align 8 %0, ptr noundef nonnull align 8 dereferenceable(656) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::lock_guard", align 8
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.70", align 8
  %11 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.70", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.DynexCN::TransactionSpentOutputInformation", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %15 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %14, i32 0, i32 8
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(40) %15)
  store i1 false, ptr %6, align 1
  call void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %16 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %14, i32 0, i32 4
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  %18 = call noundef i64 @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(168) %17) #4
  invoke void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %18)
          to label %19 unwind label %33

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %20 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %14, i32 0, i32 4
  store ptr %20, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  %23 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE5beginEv(ptr noundef nonnull align 8 dereferenceable(168) %22) #4
  %24 = getelementptr inbounds %"class.boost::multi_index::detail::hashed_index_iterator.70", ptr %10, i32 0, i32 0
  store ptr %23, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %27 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE3endEv(ptr noundef nonnull align 8 dereferenceable(168) %26) #4
  %28 = getelementptr inbounds %"class.boost::multi_index::detail::hashed_index_iterator.70", ptr %11, i32 0, i32 0
  store ptr %27, ptr %28, align 8
  br label %29

29:                                               ; preds = %68, %19
  %30 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEEEENS2_12bucket_arrayIS8_EENS2_17hashed_unique_tagENS2_32hashed_index_global_iterator_tagEEESJ_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %31 unwind label %37

31:                                               ; preds = %29
  br i1 %30, label %41, label %32

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

33:                                               ; preds = %2
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %7, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %8, align 4
  br label %83

37:                                               ; preds = %66, %29
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  br label %78

41:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %42 = invoke noundef nonnull align 8 dereferenceable(236) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEEEENS1_12bucket_arrayIS7_EENS1_17hashed_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %43 unwind label %69

43:                                               ; preds = %41
  store ptr %42, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 208, ptr %13) #4
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %44, i64 120, i1 false), !tbaa.struct !9
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.DynexCN::SpentTransactionOutput", ptr %45, i32 0, i32 2
  %47 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !17
  %49 = getelementptr inbounds %"struct.DynexCN::TransactionSpentOutputInformation", ptr %13, i32 0, i32 1
  store i32 %48, ptr %49, align 8, !tbaa !27
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.DynexCN::SpentTransactionOutput", ptr %50, i32 0, i32 2
  %52 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %51, i32 0, i32 1
  %53 = load i64, ptr %52, align 8, !tbaa !29
  %54 = getelementptr inbounds %"struct.DynexCN::TransactionSpentOutputInformation", ptr %13, i32 0, i32 3
  store i64 %53, ptr %54, align 8, !tbaa !30
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.DynexCN::SpentTransactionOutput", ptr %55, i32 0, i32 3
  %57 = getelementptr inbounds %"struct.DynexCN::TransactionSpentOutputInformation", ptr %13, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %56, i64 32, i1 false), !tbaa.struct !31
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformationIn", ptr %58, i32 0, i32 1
  %60 = getelementptr inbounds %"struct.DynexCN::TransactionSpentOutputInformation", ptr %13, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %60, ptr align 8 %59, i64 32, i1 false), !tbaa.struct !31
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.DynexCN::SpentTransactionOutput", ptr %61, i32 0, i32 4
  %63 = load i32, ptr %62, align 8, !tbaa !32
  %64 = getelementptr inbounds %"struct.DynexCN::TransactionSpentOutputInformation", ptr %13, i32 0, i32 6
  store i32 %63, ptr %64, align 8, !tbaa !33
  invoke void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(204) %13)
          to label %65 unwind label %73

65:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 208, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %66

66:                                               ; preds = %65
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEEEENS1_12bucket_arrayIS7_EENS1_17hashed_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %68 unwind label %37

68:                                               ; preds = %66
  br label %29

69:                                               ; preds = %41
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %7, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %8, align 4
  br label %77

73:                                               ; preds = %43
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %7, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 208, ptr %13) #4
  br label %77

77:                                               ; preds = %73, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %78

78:                                               ; preds = %77, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %83

79:                                               ; preds = %32
  store i1 true, ptr %6, align 1
  %80 = load i1, ptr %6, align 1
  br i1 %80, label %82, label %81

81:                                               ; preds = %79
  call void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %82

82:                                               ; preds = %81, %79
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void

83:                                               ; preds = %78, %33
  call void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %84

84:                                               ; preds = %83
  %85 = load ptr, ptr %7, align 8
  %86 = load i32, ptr %8, align 4
  %87 = insertvalue { ptr, i32 } poison, ptr %85, 0
  %88 = insertvalue { ptr, i32 } %87, i32 %86, 1
  resume { ptr, i32 } %88
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 1, !10, i64 8, i64 8, !12, i64 16, i64 4, !14, i64 20, i64 4, !14, i64 24, i64 32, !16, i64 56, i64 32, !16, i64 88, i64 32, !16}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !15, i64 176}
!18 = !{!"_ZTSN7DynexCN22SpentTransactionOutputE", !19, i64 0, !26, i64 176, !22, i64 200, !15, i64 232}
!19 = !{!"_ZTSN7DynexCN30TransactionOutputInformationExE", !20, i64 0, !13, i64 152, !15, i64 160, !15, i64 164, !25, i64 168}
!20 = !{!"_ZTSN7DynexCN30TransactionOutputInformationInE", !21, i64 0, !24, i64 120}
!21 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !11, i64 0, !13, i64 8, !15, i64 16, !15, i64 20, !22, i64 24, !23, i64 56, !7, i64 88}
!22 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!23 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!24 = !{!"_ZTSN6Crypto8KeyImageE", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !15, i64 0, !13, i64 8, !15, i64 16}
!27 = !{!28, !15, i64 120}
!28 = !{!"_ZTSN7DynexCN33TransactionSpentOutputInformationE", !21, i64 0, !15, i64 120, !13, i64 128, !22, i64 136, !24, i64 168, !15, i64 200}
!29 = !{!18, !13, i64 184}
!30 = !{!28, !13, i64 128}
!31 = !{i64 0, i64 32, !16}
!32 = !{!18, !15, i64 232}
!33 = !{!28, !15, i64 200}


; 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::vector.129" = type { %"struct.std::_Vector_base.130" }
%"struct.std::_Vector_base.130" = type { %"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionSpentOutputInformation, std::allocator<DynexCN::TransactionSpentOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"class.boost::multi_index::detail::hashed_index_iterator.70" = type { ptr }
%"struct.DynexCN::TransactionSpentOutputInformation" = type <{ %"struct.DynexCN::TransactionOutputInformation", i32, [4 x i8], i64, %"struct.Crypto::Hash", %"struct.Crypto::KeyImage", i32, [4 x i8] }>
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.4 }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%union.anon.4 = type { i32, [28 x i8] }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.Crypto::KeyImage" = type { [32 x i8] }

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEEEENS2_12bucket_arrayIS8_EENS2_17hashed_unique_tagENS2_32hashed_index_global_iterator_tagEEESJ_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7DynexCN18TransfersContainer15getSpentOutputsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.129") align 8 %0, ptr noundef nonnull align 8 dereferenceable(656) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::lock_guard", align 8
  %4 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.70", align 8
  %5 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.70", align 8
  %6 = alloca %"struct.DynexCN::TransactionSpentOutputInformation", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %7 = getelementptr inbounds i8, ptr %1, i64 576
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(40) %7)
  call void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %8 = getelementptr inbounds i8, ptr %1, i64 376
  %9 = call noundef i64 @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(168) %8) #4
  invoke void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %9)
          to label %10 unwind label %22

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %11 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE5beginEv(ptr noundef nonnull align 8 dereferenceable(168) %8) #4
  store ptr %11, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %12 = call ptr @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExENS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESt8equal_toIS6_ENS1_9nth_layerILi1ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EES7_S8_SJ_EENS0_17hashed_non_uniqueINSF_INSG_26ContainingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_IS5_RKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEESJ_SJ_EENSM_INSF_INSG_24SpendingTransactionIndexESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EENS3_ISC_SS_XadL_ZNKSC_26getSpendingTransactionHashEvEEEESJ_SJ_EESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_EESaISC_EEENS_3mpl6v_itemISH_NS12_7vector0ISJ_EELi0EEENS1_17hashed_unique_tagEE3endEv(ptr noundef nonnull align 8 dereferenceable(168) %8) #4
  store ptr %12, ptr %5, align 8
  %13 = getelementptr inbounds i8, ptr %6, i64 120
  %14 = getelementptr inbounds i8, ptr %6, i64 128
  %15 = getelementptr inbounds i8, ptr %6, i64 136
  %16 = getelementptr inbounds i8, ptr %6, i64 168
  %17 = getelementptr inbounds i8, ptr %6, i64 200
  br label %18

18:                                               ; preds = %36, %10
  %19 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEEEENS2_12bucket_arrayIS8_EENS2_17hashed_unique_tagENS2_32hashed_index_global_iterator_tagEEESJ_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %20 unwind label %24

20:                                               ; preds = %18
  br i1 %19, label %26, label %21

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret void

22:                                               ; preds = %2
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %41

24:                                               ; preds = %36, %18
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %40

26:                                               ; preds = %20
  %27 = call noundef nonnull align 8 dereferenceable(236) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEEEENS1_12bucket_arrayIS7_EENS1_17hashed_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %6, ptr noundef nonnull align 8 dereferenceable(120) %27, i64 120, i1 false), !tbaa.struct !5
  %28 = getelementptr inbounds i8, ptr %27, i64 176
  %29 = load i32, ptr %28, align 8, !tbaa !15
  store i32 %29, ptr %13, align 8, !tbaa !25
  %30 = getelementptr inbounds i8, ptr %27, i64 184
  %31 = load i64, ptr %30, align 8, !tbaa !27
  store i64 %31, ptr %14, align 8, !tbaa !28
  %32 = getelementptr inbounds i8, ptr %27, i64 200
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %32, i64 32, i1 false), !tbaa.struct !29
  %33 = getelementptr inbounds i8, ptr %27, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %33, i64 32, i1 false), !tbaa.struct !29
  %34 = getelementptr inbounds i8, ptr %27, i64 232
  %35 = load i32, ptr %34, align 8, !tbaa !30
  store i32 %35, ptr %17, align 8, !tbaa !31
  invoke void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(204) %6)
          to label %36 unwind label %38

36:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %6) #4
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEEEENS1_12bucket_arrayIS7_EENS1_17hashed_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %18 unwind label %24

38:                                               ; preds = %26
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %6) #4
  br label %40

40:                                               ; preds = %38, %24
  %.pn = phi { ptr, i32 } [ %25, %24 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %41

41:                                               ; preds = %40, %22
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %23, %22 ]
  call void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7DynexCN33TransactionSpentOutputInformationESaIS1_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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 1, !6, i64 8, i64 8, !10, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 32, !14, i64 56, i64 32, !14, i64 88, i64 32, !14}
!6 = !{!7, !7, i64 0}
!7 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !13, i64 176}
!16 = !{!"_ZTSN7DynexCN22SpentTransactionOutputE", !17, i64 0, !24, i64 176, !20, i64 200, !13, i64 232}
!17 = !{!"_ZTSN7DynexCN30TransactionOutputInformationExE", !18, i64 0, !11, i64 152, !13, i64 160, !13, i64 164, !23, i64 168}
!18 = !{!"_ZTSN7DynexCN30TransactionOutputInformationInE", !19, i64 0, !22, i64 120}
!19 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !7, i64 0, !11, i64 8, !13, i64 16, !13, i64 20, !20, i64 24, !21, i64 56, !8, i64 88}
!20 = !{!"_ZTSN6Crypto4HashE", !8, i64 0}
!21 = !{!"_ZTSN6Crypto9PublicKeyE", !8, i64 0}
!22 = !{!"_ZTSN6Crypto8KeyImageE", !8, i64 0}
!23 = !{!"bool", !8, i64 0}
!24 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !13, i64 0, !11, i64 8, !13, i64 16}
!25 = !{!26, !13, i64 120}
!26 = !{!"_ZTSN7DynexCN33TransactionSpentOutputInformationE", !19, i64 0, !13, i64 120, !11, i64 128, !20, i64 136, !22, i64 168, !13, i64 200}
!27 = !{!16, !11, i64 184}
!28 = !{!26, !11, i64 128}
!29 = !{i64 0, i64 32, !14}
!30 = !{!16, !13, i64 232}
!31 = !{!26, !13, i64 200}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,SROAPass,SimplifyCFGPass