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

; 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.115" = type { %"struct.std::_Vector_base.116" }
%"struct.std::_Vector_base.116" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"struct.std::pair.88" = type { %"class.boost::multi_index::detail::hashed_index_iterator.90", %"class.boost::multi_index::detail::hashed_index_iterator.90" }
%"class.boost::multi_index::detail::hashed_index_iterator.90" = type { ptr }
%"struct.std::pair.120" = type { %"class.boost::multi_index::detail::hashed_index_iterator.122", %"class.boost::multi_index::detail::hashed_index_iterator.122" }
%"class.boost::multi_index::detail::hashed_index_iterator.122" = type { ptr }
%"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::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.4 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%union.anon.4 = type { i32, [28 x i8] }

; 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 { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES5_NS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESM_EENSH_INSI_INSJ_26ContainingTransactionIndexESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESA_SM_SM_EESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESaIS5_EEENS_3mpl6v_itemISS_NSY_7vector0ISM_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS5_SW_EEEENS1_12bucket_arrayISW_EES13_NS1_32hashed_index_global_iterator_tagEEES1F_ERKT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS3_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS8_EEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSI_RSH_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #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 uwtable
declare dso_local noundef zeroext i1 @_ZNK7DynexCN18TransfersContainer10isIncludedERKNS_30TransactionOutputInformationExEj(ptr noundef nonnull align 8 dereferenceable(656), ptr noundef nonnull align 8 dereferenceable(169), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext, i32 noundef, i32 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_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(112) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funINS2_30TransactionOutputInformationExENS2_21SpentOutputDescriptorEXadL_ZNKSD_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS0_17hashed_non_uniqueINS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_ISD_RKN6Crypto4HashEXadL_ZNKSD_18getTransactionHashEvEEEESA_SA_EENSI_INS6_INS7_24SpendingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_SO_XadL_ZNKS3_26getSpendingTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISJ_EERKNSX_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(192)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESN_EENS0_17hashed_non_uniqueINSJ_INSK_26ContainingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESA_SN_SN_EENST_INSJ_INSK_24SpendingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_ISG_S9_XadL_ZNKSG_26getSpendingTransactionHashEvEEEESN_SN_EESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESaISG_EEENS_3mpl6v_itemISU_NS14_7vector0ISN_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1E_INS1_15index_node_baseISG_S12_EEEEEENS1_12bucket_arrayIS12_EES19_NS1_32hashed_index_global_iterator_tagEEES1M_ERKT_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7DynexCN18TransfersContainer21getTransactionOutputsERKN6Crypto4HashEj(ptr dead_on_unwind noalias writable sret(%"class.std::vector.115") align 8 %0, ptr noundef nonnull align 8 dereferenceable(656) %1, ptr noundef nonnull align 1 dereferenceable(32) %2, i32 noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::lock_guard", align 8
  %10 = alloca i1, align 1
  %11 = alloca %"struct.std::pair.88", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.90", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.std::pair.88", align 8
  %17 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.90", align 8
  %18 = alloca %"struct.std::pair.120", align 8
  %19 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.122", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %20 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %21 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %20, i32 0, i32 8
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(40) %21)
  store i1 false, ptr %10, align 1
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %22 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %20, i32 0, i32 3
  %23 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN30TransactionOutputInformationExENS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funIS3_NS2_21SpentOutputDescriptorEXadL_ZNKS3_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS5_INS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_RKN6Crypto4HashEXadL_ZNKS3_18getTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISH_EERKNSR_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(136) %22) #4
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES5_NS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESM_EENSH_INSI_INSJ_26ContainingTransactionIndexESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESA_SM_SM_EESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESaIS5_EEENS_3mpl6v_itemISS_NSY_7vector0ISM_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS5_SW_EEEENS1_12bucket_arrayISW_EES13_NS1_32hashed_index_global_iterator_tagEEES1F_ERKT_(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 1 dereferenceable(32) %24)
          to label %26 unwind label %37

26:                                               ; preds = %4
  %27 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 0
  %28 = extractvalue { ptr, ptr } %25, 0
  store ptr %28, ptr %27, align 8
  %29 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 1
  %30 = extractvalue { ptr, ptr } %25, 1
  store ptr %30, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %31 = getelementptr inbounds %"struct.std::pair.88", ptr %11, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %31, i64 8, i1 false)
  br label %32

32:                                               ; preds = %62, %26
  %33 = getelementptr inbounds %"struct.std::pair.88", ptr %11, i32 0, i32 1
  %34 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS2_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS7_EEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %35 unwind label %41

35:                                               ; preds = %32
  br i1 %34, label %45, label %36

36:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %64

37:                                               ; preds = %4
  %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 %158

41:                                               ; preds = %60, %32
  %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
  br label %63

45:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %46 = invoke noundef nonnull align 8 dereferenceable(169) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %47 unwind label %55

47:                                               ; preds = %45
  store ptr %46, ptr %15, align 8, !tbaa !5
  %48 = load ptr, ptr %15, align 8, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = invoke noundef zeroext i1 @_ZNK7DynexCN18TransfersContainer10isIncludedERKNS_30TransactionOutputInformationExEj(ptr noundef nonnull align 8 dereferenceable(656) %20, ptr noundef nonnull align 8 dereferenceable(169) %48, i32 noundef %49)
          to label %51 unwind label %55

51:                                               ; preds = %47
  br i1 %50, label %52, label %59

52:                                               ; preds = %51
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %53)
          to label %54 unwind label %55

54:                                               ; preds = %52
  br label %59

55:                                               ; preds = %52, %47, %45
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %63

59:                                               ; preds = %54, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %60

60:                                               ; preds = %59
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %62 unwind label %41

62:                                               ; preds = %60
  br label %32, !llvm.loop !11

63:                                               ; preds = %55, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %158

64:                                               ; preds = %36
  %65 = load i32, ptr %8, align 4, !tbaa !9
  %66 = and i32 %65, 2
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %110

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %69 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %20, i32 0, i32 2
  %70 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN30TransactionOutputInformationExENS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funIS3_NS2_21SpentOutputDescriptorEXadL_ZNKS3_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS5_INS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_RKN6Crypto4HashEXadL_ZNKS3_18getTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISH_EERKNSR_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(136) %69) #4
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES5_NS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESM_EENSH_INSI_INSJ_26ContainingTransactionIndexESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESA_SM_SM_EESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESaIS5_EEENS_3mpl6v_itemISS_NSY_7vector0ISM_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS5_SW_EEEENS1_12bucket_arrayISW_EES13_NS1_32hashed_index_global_iterator_tagEEES1F_ERKT_(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef nonnull align 1 dereferenceable(32) %71)
          to label %73 unwind label %84

73:                                               ; preds = %68
  %74 = getelementptr inbounds { ptr, ptr }, ptr %16, i32 0, i32 0
  %75 = extractvalue { ptr, ptr } %72, 0
  store ptr %75, ptr %74, align 8
  %76 = getelementptr inbounds { ptr, ptr }, ptr %16, i32 0, i32 1
  %77 = extractvalue { ptr, ptr } %72, 1
  store ptr %77, ptr %76, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %78 = getelementptr inbounds %"struct.std::pair.88", ptr %16, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %78, i64 8, i1 false)
  br label %79

79:                                               ; preds = %107, %73
  %80 = getelementptr inbounds %"struct.std::pair.88", ptr %16, i32 0, i32 1
  %81 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS2_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS7_EEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %80)
          to label %82 unwind label %88

82:                                               ; preds = %79
  br i1 %81, label %92, label %83

83:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %108

84:                                               ; preds = %68
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %12, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %13, align 4
  br label %109

88:                                               ; preds = %105, %102, %100, %94, %92, %79
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %109

92:                                               ; preds = %82
  %93 = invoke noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS3_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS8_EEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSI_RSH_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %94 unwind label %88

94:                                               ; preds = %92
  %95 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %93, i32 0, i32 0
  %96 = load i8, ptr %95, align 8, !tbaa !13
  %97 = load i32, ptr %8, align 4, !tbaa !9
  %98 = invoke noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext %96, i32 noundef 2, i32 noundef %97)
          to label %99 unwind label %88

99:                                               ; preds = %94
  br i1 %98, label %100, label %104

100:                                              ; preds = %99
  %101 = invoke noundef nonnull align 8 dereferenceable(169) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %102 unwind label %88

102:                                              ; preds = %100
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %101)
          to label %103 unwind label %88

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103, %99
  br label %105

105:                                              ; preds = %104
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %107 unwind label %88

107:                                              ; preds = %105
  br label %79, !llvm.loop !19

108:                                              ; preds = %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  br label %110

109:                                              ; preds = %88, %84
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  br label %158

110:                                              ; preds = %108, %64
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = and i32 %111, 8
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %156

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  %115 = getelementptr inbounds %"class.DynexCN::TransfersContainer", ptr %20, i32 0, i32 4
  %116 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funINS2_30TransactionOutputInformationExENS2_21SpentOutputDescriptorEXadL_ZNKSD_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS0_17hashed_non_uniqueINS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_ISD_RKN6Crypto4HashEXadL_ZNKSD_18getTransactionHashEvEEEESA_SA_EENSI_INS6_INS7_24SpendingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_SO_XadL_ZNKS3_26getSpendingTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISJ_EERKNSX_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(192) %115) #4
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESN_EENS0_17hashed_non_uniqueINSJ_INSK_26ContainingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESA_SN_SN_EENST_INSJ_INSK_24SpendingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_ISG_S9_XadL_ZNKSG_26getSpendingTransactionHashEvEEEESN_SN_EESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESaISG_EEENS_3mpl6v_itemISU_NS14_7vector0ISN_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1E_INS1_15index_node_baseISG_S12_EEEEEENS1_12bucket_arrayIS12_EES19_NS1_32hashed_index_global_iterator_tagEEES1M_ERKT_(ptr noundef nonnull align 8 dereferenceable(112) %116, ptr noundef nonnull align 1 dereferenceable(32) %117)
          to label %119 unwind label %130

119:                                              ; preds = %114
  %120 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 0
  %121 = extractvalue { ptr, ptr } %118, 0
  store ptr %121, ptr %120, align 8
  %122 = getelementptr inbounds { ptr, ptr }, ptr %18, i32 0, i32 1
  %123 = extractvalue { ptr, ptr } %118, 1
  store ptr %123, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %124 = getelementptr inbounds %"struct.std::pair.120", ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %124, i64 8, i1 false)
  br label %125

125:                                              ; preds = %153, %119
  %126 = getelementptr inbounds %"struct.std::pair.120", ptr %18, i32 0, i32 1
  %127 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESI_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %126)
          to label %128 unwind label %134

128:                                              ; preds = %125
  br i1 %127, label %138, label %129

129:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %154

130:                                              ; preds = %114
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %12, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %13, align 4
  br label %155

134:                                              ; preds = %151, %148, %146, %140, %138, %125
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %12, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %155

138:                                              ; preds = %128
  %139 = invoke noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS5_INS3_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS8_EEEEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSJ_RSI_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %140 unwind label %134

140:                                              ; preds = %138
  %141 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %139, i32 0, i32 0
  %142 = load i8, ptr %141, align 8, !tbaa !13
  %143 = load i32, ptr %8, align 4, !tbaa !9
  %144 = invoke noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext %142, i32 noundef 255, i32 noundef %143)
          to label %145 unwind label %134

145:                                              ; preds = %140
  br i1 %144, label %146, label %150

146:                                              ; preds = %145
  %147 = invoke noundef nonnull align 8 dereferenceable(236) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %148 unwind label %134

148:                                              ; preds = %146
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %147)
          to label %149 unwind label %134

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149, %145
  br label %151

151:                                              ; preds = %150
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %153 unwind label %134

153:                                              ; preds = %151
  br label %125, !llvm.loop !20

154:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  br label %156

155:                                              ; preds = %134, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  br label %158

156:                                              ; preds = %154, %110
  store i1 true, ptr %10, align 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  %157 = load i1, ptr %10, align 1
  br i1 %157, label %160, label %159

158:                                              ; preds = %155, %109, %63, %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %161

159:                                              ; preds = %156
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %160

160:                                              ; preds = %159, %156
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void

161:                                              ; preds = %158
  %162 = load ptr, ptr %12, align 8
  %163 = load i32, ptr %13, align 4
  %164 = insertvalue { ptr, i32 } poison, ptr %162, 0
  %165 = insertvalue { ptr, i32 } %164, i32 %163, 1
  resume { ptr, i32 } %165
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !15, i64 0, !16, i64 8, !10, i64 16, !10, i64 20, !17, i64 24, !18, i64 56, !7, i64 88}
!15 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!18 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


; 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.115" = type { %"struct.std::_Vector_base.116" }
%"struct.std::_Vector_base.116" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"struct.std::pair.88" = type { %"class.boost::multi_index::detail::hashed_index_iterator.90", %"class.boost::multi_index::detail::hashed_index_iterator.90" }
%"class.boost::multi_index::detail::hashed_index_iterator.90" = type { ptr }
%"struct.std::pair.120" = type { %"class.boost::multi_index::detail::hashed_index_iterator.122", %"class.boost::multi_index::detail::hashed_index_iterator.122" }
%"class.boost::multi_index::detail::hashed_index_iterator.122" = type { ptr }

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS3_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS8_EEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSI_RSH_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 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 #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7DynexCN18TransfersContainer10isIncludedERKNS_30TransactionOutputInformationExEj(ptr noundef nonnull align 8 dereferenceable(656), ptr noundef nonnull align 8 dereferenceable(169), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESN_EENS0_17hashed_non_uniqueINSJ_INSK_26ContainingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESA_SN_SN_EENST_INSJ_INSK_24SpendingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_ISG_S9_XadL_ZNKSG_26getSpendingTransactionHashEvEEEESN_SN_EESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESaISG_EEENS_3mpl6v_itemISU_NS14_7vector0ISN_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1E_INS1_15index_node_baseISG_S12_EEEEEENS1_12bucket_arrayIS12_EES19_NS1_32hashed_index_global_iterator_tagEEES1M_ERKT_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7DynexCN18TransfersContainer21getTransactionOutputsERKN6Crypto4HashEj(ptr dead_on_unwind noalias writable sret(%"class.std::vector.115") align 8 %0, ptr noundef nonnull align 8 dereferenceable(656) %1, ptr noundef nonnull align 1 dereferenceable(32) %2, i32 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::lock_guard", align 8
  %6 = alloca %"struct.std::pair.88", align 8
  %7 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.90", align 8
  %8 = alloca %"struct.std::pair.88", align 8
  %9 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.90", align 8
  %10 = alloca %"struct.std::pair.120", align 8
  %11 = alloca %"class.boost::multi_index::detail::hashed_index_iterator.122", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %12 = getelementptr inbounds i8, ptr %1, i64 576
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(40) %12)
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
  %13 = getelementptr inbounds i8, ptr %1, i64 224
  %14 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN30TransactionOutputInformationExENS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funIS3_NS2_21SpentOutputDescriptorEXadL_ZNKS3_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS5_INS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_RKN6Crypto4HashEXadL_ZNKS3_18getTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISH_EERKNSR_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(136) %13) #3
  %15 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES5_NS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESM_EENSH_INSI_INSJ_26ContainingTransactionIndexESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESA_SM_SM_EESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESaIS5_EEENS_3mpl6v_itemISS_NSY_7vector0ISM_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS5_SW_EEEENS1_12bucket_arrayISW_EES13_NS1_32hashed_index_global_iterator_tagEEES1F_ERKT_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 1 dereferenceable(32) %2)
          to label %16 unwind label %25

16:                                               ; preds = %4
  %17 = extractvalue { ptr, ptr } %15, 0
  store ptr %17, ptr %6, align 8
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  %19 = extractvalue { ptr, ptr } %15, 1
  store ptr %19, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %.cast = ptrtoint ptr %17 to i64
  store i64 %.cast, ptr %7, align 8
  br label %20

20:                                               ; preds = %36, %16
  %21 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS2_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS7_EEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %22 unwind label %27

22:                                               ; preds = %20
  br i1 %21, label %29, label %23

23:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  %24 = and i32 %3, 2
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %64, label %39

25:                                               ; preds = %4
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %93

27:                                               ; preds = %36, %20
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %38

29:                                               ; preds = %22
  %30 = call noundef nonnull align 8 dereferenceable(169) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %31 = invoke noundef zeroext i1 @_ZNK7DynexCN18TransfersContainer10isIncludedERKNS_30TransactionOutputInformationExEj(ptr noundef nonnull align 8 dereferenceable(656) %1, ptr noundef nonnull align 8 dereferenceable(169) %30, i32 noundef %3)
          to label %32 unwind label %34

32:                                               ; preds = %29
  br i1 %31, label %33, label %36

33:                                               ; preds = %32
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %30)
          to label %36 unwind label %34

34:                                               ; preds = %33, %29
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %33, %32
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %20 unwind label %27, !llvm.loop !5

38:                                               ; preds = %34, %27
  %.pn23 = phi { ptr, i32 } [ %28, %27 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br label %93

39:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
  %40 = getelementptr inbounds i8, ptr %1, i64 88
  %41 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN30TransactionOutputInformationExENS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funIS3_NS2_21SpentOutputDescriptorEXadL_ZNKS3_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS5_INS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_RKN6Crypto4HashEXadL_ZNKS3_18getTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISH_EERKNSR_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(136) %40) #3
  %42 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ES5_NS0_10indexed_byINS0_17hashed_non_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESM_EENSH_INSI_INSJ_26ContainingTransactionIndexESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESA_SM_SM_EESM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_SM_EESaIS5_EEENS_3mpl6v_itemISS_NSY_7vector0ISM_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIS5_SW_EEEENS1_12bucket_arrayISW_EES13_NS1_32hashed_index_global_iterator_tagEEES1F_ERKT_(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 1 dereferenceable(32) %2)
          to label %43 unwind label %51

43:                                               ; preds = %39
  %44 = extractvalue { ptr, ptr } %42, 0
  store ptr %44, ptr %8, align 8
  %45 = getelementptr inbounds i8, ptr %8, i64 8
  %46 = extractvalue { ptr, ptr } %42, 1
  store ptr %46, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %.cast17 = ptrtoint ptr %44 to i64
  store i64 %.cast17, ptr %9, align 8
  br label %47

47:                                               ; preds = %61, %43
  %48 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS2_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS7_EEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %49 unwind label %53

49:                                               ; preds = %47
  br i1 %48, label %55, label %50

50:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  br label %64

51:                                               ; preds = %39
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %63

53:                                               ; preds = %61, %59, %47
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  br label %63

55:                                               ; preds = %49
  %56 = call noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS3_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS8_EEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSI_RSH_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9)
  %57 = load i8, ptr %56, align 8, !tbaa !7
  %58 = call noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext %57, i32 noundef 2, i32 noundef %3)
  br i1 %58, label %59, label %61

59:                                               ; preds = %55
  %60 = call noundef nonnull align 8 dereferenceable(169) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %60)
          to label %61 unwind label %53

61:                                               ; preds = %55, %59
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS1_15index_node_baseIN7DynexCN30TransactionOutputInformationExESaIS6_EEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %47 unwind label %53, !llvm.loop !16

63:                                               ; preds = %53, %51
  %.pn21 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  br label %93

64:                                               ; preds = %50, %23
  %65 = and i32 %3, 8
  %.not18 = icmp eq i32 %65, 0
  br i1 %.not18, label %92, label %66

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #3
  %67 = getelementptr inbounds i8, ptr %1, i64 360
  %68 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK5boost11multi_index21multi_index_containerIN7DynexCN22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS2_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENS0_13const_mem_funINS2_30TransactionOutputInformationExENS2_21SpentOutputDescriptorEXadL_ZNKSD_24getSpentOutputDescriptorEvEEEENS2_27SpentOutputDescriptorHasherESA_EENS0_17hashed_non_uniqueINS6_INS7_26ContainingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_ISD_RKN6Crypto4HashEXadL_ZNKSD_18getTransactionHashEvEEEESA_SA_EENSI_INS6_INS7_24SpendingTransactionIndexESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EENSC_IS3_SO_XadL_ZNKS3_26getSpendingTransactionHashEvEEEESA_SA_EESA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_SA_EESaIS3_EE3getISJ_EERKNSX_5indexIT_E4typeEv(ptr noundef nonnull align 8 dereferenceable(192) %67) #3
  %69 = invoke { ptr, ptr } @_ZNK5boost11multi_index6detail12hashed_indexINS0_13const_mem_funIN7DynexCN30TransactionOutputInformationExERKN6Crypto4HashEXadL_ZNKS5_18getTransactionHashEvEEEENS_4hashIS8_EESt8equal_toIS8_ENS1_9nth_layerILi2ENS4_22SpentTransactionOutputENS0_10indexed_byINS0_13hashed_uniqueINS0_3tagINS4_18TransfersContainer26SpentOutputDescriptorIndexEN4mpl_2naESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_IS5_NS4_21SpentOutputDescriptorEXadL_ZNKS5_24getSpentOutputDescriptorEvEEEENS4_27SpentOutputDescriptorHasherESN_EENS0_17hashed_non_uniqueINSJ_INSK_26ContainingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESA_SN_SN_EENST_INSJ_INSK_24SpendingTransactionIndexESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EENS3_ISG_S9_XadL_ZNKSG_26getSpendingTransactionHashEvEEEESN_SN_EESN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_SN_EESaISG_EEENS_3mpl6v_itemISU_NS14_7vector0ISN_EELi0EEENS1_21hashed_non_unique_tagEE11equal_rangeIS7_EESt4pairINS1_21hashed_index_iteratorINS1_17hashed_index_nodeINS1E_INS1_15index_node_baseISG_S12_EEEEEENS1_12bucket_arrayIS12_EES19_NS1_32hashed_index_global_iterator_tagEEES1M_ERKT_(ptr noundef nonnull align 8 dereferenceable(112) %68, ptr noundef nonnull align 1 dereferenceable(32) %2)
          to label %70 unwind label %78

70:                                               ; preds = %66
  %71 = extractvalue { ptr, ptr } %69, 0
  store ptr %71, ptr %10, align 8
  %72 = getelementptr inbounds i8, ptr %10, i64 8
  %73 = extractvalue { ptr, ptr } %69, 1
  store ptr %73, ptr %72, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %.cast19 = ptrtoint ptr %71 to i64
  store i64 %.cast19, ptr %11, align 8
  br label %74

74:                                               ; preds = %89, %70
  %75 = invoke noundef zeroext i1 @_ZN5boost14operators_implneERKNS_11multi_index6detail21hashed_index_iteratorINS2_17hashed_index_nodeINS4_INS2_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS7_EEEEEEENS2_12bucket_arrayIS8_EENS2_21hashed_non_unique_tagENS2_32hashed_index_global_iterator_tagEEESI_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %76 unwind label %80

76:                                               ; preds = %74
  br i1 %75, label %82, label %77

77:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #3
  br label %92

78:                                               ; preds = %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %91

80:                                               ; preds = %89, %87, %82, %74
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %91

82:                                               ; preds = %76
  %83 = invoke noundef ptr @_ZNK5boost14operators_impl15dereferenceableINS_11multi_index6detail21hashed_index_iteratorINS3_17hashed_index_nodeINS5_INS3_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS8_EEEEEEENS3_12bucket_arrayIS9_EENS3_21hashed_non_unique_tagENS3_32hashed_index_global_iterator_tagEEEPKS8_NS0_15iterator_helperISt20forward_iterator_tagS8_lSJ_RSI_EEEptEv(ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %84 unwind label %80

84:                                               ; preds = %82
  %85 = load i8, ptr %83, align 8, !tbaa !7
  %86 = call noundef zeroext i1 @_ZN7DynexCN18TransfersContainer10isIncludedENS_16TransactionTypes10OutputTypeEjj(i8 noundef zeroext %85, i32 noundef 255, i32 noundef %3)
  br i1 %86, label %87, label %89

87:                                               ; preds = %84
  %88 = call noundef nonnull align 8 dereferenceable(236) ptr @_ZNK5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  invoke void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(120) %88)
          to label %89 unwind label %80

89:                                               ; preds = %84, %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost11multi_index6detail21hashed_index_iteratorINS1_17hashed_index_nodeINS3_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %74 unwind label %80, !llvm.loop !17

91:                                               ; preds = %80, %78
  %.pn = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #3
  br label %93

92:                                               ; preds = %77, %64
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret void

93:                                               ; preds = %91, %63, %38, %25
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %38 ], [ %.pn21, %63 ], [ %.pn, %91 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  resume { ptr, i32 } %.pn23.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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_INS1_15index_node_baseIN7DynexCN22SpentTransactionOutputESaIS6_EEEEEEENS1_12bucket_arrayIS7_EENS1_21hashed_non_unique_tagENS1_32hashed_index_global_iterator_tagEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !9, i64 0, !12, i64 8, !13, i64 16, !13, i64 20, !14, i64 24, !15, i64 56, !10, i64 88}
!9 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!"_ZTSN6Crypto4HashE", !10, i64 0}
!15 = !{!"_ZTSN6Crypto9PublicKeyE", !10, i64 0}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}


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