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

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

%"class.std::error_code" = type { i32, ptr }
%"class.std::unordered_map.181" = type { %"class.std::_Hashtable.182" }
%"class.std::_Hashtable.182" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.195" = type { %"struct.std::__detail::_Node_iterator_base.196" }
%"struct.std::__detail::_Node_iterator_base.196" = type { ptr }
%"struct.std::__detail::_Node_iterator.99" = type { %"struct.std::__detail::_Node_iterator_base.100" }
%"struct.std::__detail::_Node_iterator_base.100" = type { ptr }
%"class.DynexCN::TransfersConsumer" = type { %"class.DynexCN::IObservableImpl", %"struct.DynexCN::SynchronizationStart", %"struct.Crypto::SecretKey", %"class.std::unordered_map", %"class.std::unordered_set.6", %"class.std::unordered_set", ptr, ptr, %"class.Logging::LoggerRef" }
%"class.DynexCN::IObservableImpl" = type { %"class.DynexCN::IBlockchainConsumer", %"class.Tools::ObserverManager" }
%"class.DynexCN::IBlockchainConsumer" = type { %"class.DynexCN::IObservable" }
%"class.DynexCN::IObservable" = type { ptr }
%"class.Tools::ObserverManager" = type { %"class.std::vector", %"class.std::mutex" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainConsumerObserver *, std::allocator<DynexCN::IBlockchainConsumerObserver *>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::IBlockchainConsumerObserver *, std::allocator<DynexCN::IBlockchainConsumerObserver *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::IBlockchainConsumerObserver *, std::allocator<DynexCN::IBlockchainConsumerObserver *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::IBlockchainConsumerObserver *, std::allocator<DynexCN::IBlockchainConsumerObserver *>>::_Vector_impl_data" = type { ptr, ptr, 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 }
%"struct.DynexCN::SynchronizationStart" = type { i64, i64 }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.28" }
%"class.std::_Hashtable.28" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_set.6" = type { %"class.std::_Hashtable.7" }
%"class.std::_Hashtable.7" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"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 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.DynexCN::TransactionBlockInfo" = type { i32, i64, i32 }
%"struct.DynexCN::TransfersConsumer::PreprocessInfo" = type { %"class.std::unordered_map.132", %"class.std::vector.146" }
%"class.std::unordered_map.132" = type { %"class.std::_Hashtable.133" }
%"class.std::_Hashtable.133" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.197" = type { %"struct.Crypto::PublicKey", %"class.std::vector.146" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.std::pair.101" = type { %"struct.Crypto::PublicKey", %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.71" }
%"struct.std::_Head_base.71" = type { ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 1 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN7DynexCN17TransfersConsumer17preprocessOutputsERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERNS0_14PreprocessInfoE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(80) %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::error_code", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::unordered_map.181", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::error_code", align 8
  %15 = alloca %"struct.Crypto::Hash", align 1
  %16 = alloca %"class.std::error_code", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator.195", align 8
  %19 = alloca %"struct.std::__detail::_Node_iterator.195", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.std::__detail::_Node_iterator.99", align 8
  %22 = alloca %"struct.std::__detail::_Node_iterator.99", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::error_code", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #6
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %25, i32 0, i32 2
  %28 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %25, i32 0, i32 4
  invoke void @_ZN12_GLOBAL__N_113findMyOutputsERKN7DynexCN18ITransactionReaderERKN6Crypto9SecretKeyERKSt13unordered_setINS4_9PublicKeyESt4hashIS9_ESt8equal_toIS9_ESaIS9_EERSt13unordered_mapIS9_St6vectorIjSaIjEESB_SD_SaISt4pairIKS9_SL_EEE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 1 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(56) %28, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %29 unwind label %32

29:                                               ; preds = %4
  %30 = call noundef zeroext i1 @_ZNKSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  br i1 %30, label %31, label %36

31:                                               ; preds = %29
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %13, align 4
  br label %151

32:                                               ; preds = %4
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %11, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %12, align 4
  br label %153

36:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 2
  %40 = load ptr, ptr %39, align 8
  invoke void %40(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %15, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %41 unwind label %57

41:                                               ; preds = %36
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = icmp ne i32 %44, -1
  br i1 %45, label %46, label %66

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.DynexCN::TransfersConsumer::PreprocessInfo", ptr %47, i32 0, i32 1
  %49 = invoke { i32, ptr } @_ZN7DynexCN17TransfersConsumer16getGlobalIndicesERKN6Crypto4HashERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(344) %25, ptr noundef nonnull align 1 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %50 unwind label %61

50:                                               ; preds = %46
  %51 = getelementptr inbounds { i32, ptr }, ptr %16, i32 0, i32 0
  %52 = extractvalue { i32, ptr } %49, 0
  store i32 %52, ptr %51, align 8
  %53 = getelementptr inbounds { i32, ptr }, ptr %16, i32 0, i32 1
  %54 = extractvalue { i32, ptr } %49, 1
  store ptr %54, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  %55 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br i1 %55, label %56, label %65

56:                                               ; preds = %50
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !15
  store i32 1, ptr %13, align 4
  br label %149

57:                                               ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %11, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %12, align 4
  br label %150

61:                                               ; preds = %46
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %11, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %150

65:                                               ; preds = %50
  br label %66

66:                                               ; preds = %65, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store ptr %10, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %67) #6
  %69 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.195", ptr %18, i32 0, i32 0
  %70 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.196", ptr %69, i32 0, i32 0
  store ptr %68, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %71 = load ptr, ptr %17, align 8, !tbaa !5
  %72 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %71) #6
  %73 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.195", ptr %19, i32 0, i32 0
  %74 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.196", ptr %73, i32 0, i32 0
  store ptr %72, ptr %74, align 8
  br label %75

75:                                               ; preds = %143, %66
  %76 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb1EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %76, label %78, label %77

77:                                               ; preds = %75
  store i32 2, ptr %13, align 4
  br label %146

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %79 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  store ptr %79, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %80 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %25, i32 0, i32 3
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.std::pair.197", ptr %81, i32 0, i32 0
  %83 = invoke ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull align 1 dereferenceable(32) %82)
          to label %84 unwind label %119

84:                                               ; preds = %78
  %85 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.99", ptr %21, i32 0, i32 0
  %86 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.100", ptr %85, i32 0, i32 0
  store ptr %83, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %87 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %25, i32 0, i32 3
  %88 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %87) #6
  %89 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.99", ptr %22, i32 0, i32 0
  %90 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.100", ptr %89, i32 0, i32 0
  store ptr %88, ptr %90, align 8
  %91 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS7_EEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br i1 %91, label %92, label %136

92:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.DynexCN::TransfersConsumer::PreprocessInfo", ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.std::pair.197", ptr %95, i32 0, i32 0
  %97 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIN7DynexCN30TransactionOutputInformationInESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef nonnull align 1 dereferenceable(32) %96)
          to label %98 unwind label %123

98:                                               ; preds = %92
  store ptr %97, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %99 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS7_EEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %100 = getelementptr inbounds %"struct.std::pair.101", ptr %99, i32 0, i32 1
  %101 = call noundef ptr @_ZNKSt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %102 = invoke noundef nonnull align 1 dereferenceable(128) ptr @_ZNK7DynexCN21TransfersSubscription7getKeysEv(ptr noundef nonnull align 8 dereferenceable(920) %101)
          to label %103 unwind label %127

103:                                              ; preds = %98
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.std::pair.197", ptr %106, i32 0, i32 1
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.DynexCN::TransfersConsumer::PreprocessInfo", ptr %108, i32 0, i32 1
  %110 = load ptr, ptr %23, align 8, !tbaa !5
  %111 = invoke { i32, ptr } @_ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE(ptr noundef nonnull align 8 dereferenceable(344) %25, ptr noundef nonnull align 1 dereferenceable(128) %102, ptr noundef nonnull align 8 dereferenceable(24) %104, ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 8 dereferenceable(24) %110)
          to label %112 unwind label %127

112:                                              ; preds = %103
  %113 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 0
  %114 = extractvalue { i32, ptr } %111, 0
  store i32 %114, ptr %113, align 8
  %115 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 1
  %116 = extractvalue { i32, ptr } %111, 1
  store ptr %116, ptr %115, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  %117 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br i1 %117, label %118, label %131

118:                                              ; preds = %112
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !15
  store i32 1, ptr %13, align 4
  br label %132

119:                                              ; preds = %78
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %11, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %12, align 4
  br label %145

123:                                              ; preds = %92
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %11, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %12, align 4
  br label %135

127:                                              ; preds = %103, %98
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %11, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %135

131:                                              ; preds = %112
  store i32 0, ptr %13, align 4
  br label %132

132:                                              ; preds = %131, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  %133 = load i32, ptr %13, align 4
  switch i32 %133, label %137 [
    i32 0, label %134
  ]

134:                                              ; preds = %132
  br label %136

135:                                              ; preds = %127, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %145

136:                                              ; preds = %134, %84
  store i32 0, ptr %13, align 4
  br label %137

137:                                              ; preds = %136, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %138 = load i32, ptr %13, align 4
  switch i32 %138, label %140 [
    i32 0, label %139
  ]

139:                                              ; preds = %137
  store i32 0, ptr %13, align 4
  br label %140

140:                                              ; preds = %139, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %141 = load i32, ptr %13, align 4
  switch i32 %141, label %146 [
    i32 0, label %142
  ]

142:                                              ; preds = %140
  br label %143

143:                                              ; preds = %142
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %75

145:                                              ; preds = %135, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %150

146:                                              ; preds = %140, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %147 = load i32, ptr %13, align 4
  switch i32 %147, label %149 [
    i32 2, label %148
  ]

148:                                              ; preds = %146
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %13, align 4
  br label %149

149:                                              ; preds = %148, %146, %56
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %151

150:                                              ; preds = %145, %61, %57
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %153

151:                                              ; preds = %149, %31
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  %152 = load { i32, ptr }, ptr %5, align 8
  ret { i32, ptr } %152

153:                                              ; preds = %150, %32
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  br label %154

154:                                              ; preds = %153
  %155 = load ptr, ptr %11, align 8
  %156 = load i32, ptr %12, align 4
  %157 = insertvalue { ptr, i32 } poison, ptr %155, 0
  %158 = insertvalue { ptr, i32 } %157, i32 %156, 1
  resume { ptr, i32 } %158
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113findMyOutputsERKN7DynexCN18ITransactionReaderERKN6Crypto9SecretKeyERKSt13unordered_setINS4_9PublicKeyESt4hashIS9_ESt8equal_toIS9_ESaIS9_EERSt13unordered_mapIS9_St6vectorIjSaIjEESB_SD_SaISt4pairIKS9_SL_EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb1EEESB_(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(56) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIN7DynexCN30TransactionOutputInformationInESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(32)) #3 align 2

declare noundef nonnull align 1 dereferenceable(128) ptr @_ZNK7DynexCN21TransfersSubscription7getKeysEv(ptr noundef nonnull align 8 dereferenceable(920)) #4

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !13, i64 0, !14, i64 8, !13, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{i64 0, i64 4, !16, i64 8, i64 8, !5}
!16 = !{!13, !13, i64 0}


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

%"class.std::error_code" = type { i32, ptr }
%"class.std::unordered_map.181" = type { %"class.std::_Hashtable.182" }
%"class.std::_Hashtable.182" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.195" = type { %"struct.std::__detail::_Node_iterator_base.196" }
%"struct.std::__detail::_Node_iterator_base.196" = type { ptr }
%"struct.std::__detail::_Node_iterator.99" = type { %"struct.std::__detail::_Node_iterator_base.100" }
%"struct.std::__detail::_Node_iterator_base.100" = 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 1 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN7DynexCN17TransfersConsumer17preprocessOutputsERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERNS0_14PreprocessInfoE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(80) %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::error_code", align 8
  %6 = alloca %"class.std::unordered_map.181", align 8
  %7 = alloca %"class.std::error_code", align 8
  %8 = alloca %"struct.Crypto::Hash", align 1
  %9 = alloca %"struct.std::__detail::_Node_iterator.195", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator.195", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator.99", align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.99", align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #6
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  invoke void @_ZN12_GLOBAL__N_113findMyOutputsERKN7DynexCN18ITransactionReaderERKN6Crypto9SecretKeyERKSt13unordered_setINS4_9PublicKeyESt4hashIS9_ESt8equal_toIS9_ESaIS9_EERSt13unordered_mapIS9_St6vectorIjSaIjEESB_SD_SaISt4pairIKS9_SL_EEE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 1 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 8 dereferenceable(56) %6)
          to label %15 unwind label %18

15:                                               ; preds = %4
  %16 = call noundef zeroext i1 @_ZNKSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  br i1 %16, label %17, label %20

17:                                               ; preds = %15
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %76

18:                                               ; preds = %4
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %77

20:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  %23 = load ptr, ptr %22, align 8
  invoke void %23(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %8, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %24 unwind label %34

24:                                               ; preds = %20
  %25 = load i32, ptr %1, align 8, !tbaa !8
  %.not = icmp eq i32 %25, -1
  br i1 %.not, label %38, label %26

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %3, i64 56
  %28 = invoke { i32, ptr } @_ZN7DynexCN17TransfersConsumer16getGlobalIndicesERKN6Crypto4HashERSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 1 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %29 unwind label %36

29:                                               ; preds = %26
  %30 = extractvalue { i32, ptr } %28, 0
  %31 = extractvalue { i32, ptr } %28, 1
  store i32 %30, ptr %7, align 8, !tbaa !13
  %.sroa.512.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %31, ptr %.sroa.512.0..sroa_idx, align 8, !tbaa !14
  %32 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br i1 %32, label %33, label %38

33:                                               ; preds = %29
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !16
  br label %74

34:                                               ; preds = %20
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %75

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %75

38:                                               ; preds = %29, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %39 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  store ptr %39, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %40 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  store ptr %40, ptr %10, align 8
  %41 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb1EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %41, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %38
  %42 = getelementptr inbounds i8, ptr %0, i64 120
  %43 = getelementptr inbounds i8, ptr %3, i64 56
  %.sroa.54.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  br label %44

44:                                               ; preds = %.lr.ph, %.critedge
  %45 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %46 = invoke ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 1 dereferenceable(32) %45)
          to label %47 unwind label %65

47:                                               ; preds = %44
  store ptr %46, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %48 = call ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %42) #6
  store ptr %48, ptr %12, align 8
  %49 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS7_EEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br i1 %49, label %50, label %.critedge

50:                                               ; preds = %47
  %51 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIN7DynexCN30TransactionOutputInformationInESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 1 dereferenceable(32) %45)
          to label %52 unwind label %67

52:                                               ; preds = %50
  %53 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS7_EEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %54 = getelementptr inbounds i8, ptr %53, i64 32
  %55 = call noundef ptr @_ZNKSt10unique_ptrIN7DynexCN21TransfersSubscriptionESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %54) #6
  %56 = invoke noundef nonnull align 1 dereferenceable(128) ptr @_ZNK7DynexCN21TransfersSubscription7getKeysEv(ptr noundef nonnull align 8 dereferenceable(920) %55)
          to label %57 unwind label %69

57:                                               ; preds = %52
  %58 = getelementptr inbounds i8, ptr %45, i64 32
  %59 = invoke { i32, ptr } @_ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 1 dereferenceable(128) %56, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %51)
          to label %60 unwind label %69

60:                                               ; preds = %57
  %61 = extractvalue { i32, ptr } %59, 0
  %62 = extractvalue { i32, ptr } %59, 1
  store i32 %61, ptr %7, align 8, !tbaa !13
  store ptr %62, ptr %.sroa.54.0..sroa_idx, align 8, !tbaa !14
  %63 = call noundef zeroext i1 @_ZNKSt10error_codecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br i1 %63, label %64, label %.critedge

64:                                               ; preds = %60
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %74

65:                                               ; preds = %44
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %73

67:                                               ; preds = %50
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %73

69:                                               ; preds = %57, %52
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

.critedge:                                        ; preds = %60, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %72 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN6Crypto9PublicKeyESt6vectorIjSaIjEEELb1EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %72, label %44, label %._crit_edge

73:                                               ; preds = %67, %69, %65
  %.pn.pn = phi { ptr, i32 } [ %66, %65 ], [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %75

._crit_edge:                                      ; preds = %.critedge, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %74

74:                                               ; preds = %64, %._crit_edge, %33
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %76

75:                                               ; preds = %73, %36, %34
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %73 ], [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %77

76:                                               ; preds = %74, %17
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #6
  %.fca.0.load = load i32, ptr %5, align 8
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %5, i64 8
  %.fca.1.load = load ptr, ptr %.fca.1.gep, align 8
  %.fca.1.insert = insertvalue { i32, ptr } %.fca.0.insert, ptr %.fca.1.load, 1
  ret { i32, ptr } %.fca.1.insert

77:                                               ; preds = %75, %18
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %75 ], [ %19, %18 ]
  call void @_ZNSt13unordered_mapIN6Crypto9PublicKeyESt6vectorIjSaIjEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113findMyOutputsERKN7DynexCN18ITransactionReaderERKN6Crypto9SecretKeyERKSt13unordered_setINS4_9PublicKeyESt4hashIS9_ESt8equal_toIS9_ESaIS9_EERSt13unordered_mapIS9_St6vectorIjSaIjEESB_SD_SaISt4pairIKS9_SL_EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

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

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

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

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

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

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

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

declare noundef nonnull align 1 dereferenceable(128) ptr @_ZNK7DynexCN21TransfersSubscription7getKeysEv(ptr noundef nonnull align 8 dereferenceable(920)) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !10, i64 0, !12, i64 8, !10, i64 16}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"long", !11, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !11, i64 0}
!16 = !{i64 0, i64 4, !13, i64 8, i64 8, !14}


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