; 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::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 }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"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 }
%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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::error_code" = type { i32, ptr }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::vector.168" = type { %"struct.std::_Vector_base.169" }
%"struct.std::_Vector_base.169" = type { %"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.173" = type { ptr }
%"struct.DynexCN::TransactionOutputInformationIn" = type { %"struct.DynexCN::TransactionOutputInformation", %"struct.Crypto::KeyImage" }
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.174 }
%union.anon.174 = type { i32, [28 x i8] }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"struct.DynexCN::KeyOutput" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::KeyPair" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.110" = type { %"struct.std::__detail::_Node_iterator_base.111" }
%"struct.std::__detail::_Node_iterator_base.111" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.175" = type { ptr }
%"struct.DynexCN::MultisignatureOutput" = type <{ %"class.std::vector.168", i8, [7 x i8] }>
%"struct.std::pair.108" = type <{ %"struct.std::__detail::_Node_iterator.110", i8, [7 x i8] }>
%"class.std::insert_iterator" = type { ptr, %"struct.std::__detail::_Node_iterator" }
%"struct.DynexCN::TransactionBlockInfo" = type { i32, i64, i32 }
%"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 }
%"struct.DynexCN::SynchronizationStart" = type { i64, i64 }
%"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.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }

@transactions_hash_seen = external dso_local global %"class.std::unordered_set", align 8
@public_keys_seen = external dso_local global %"class.std::unordered_set.6", align 8
@seen_mutex = external dso_local global { %union.pthread_mutex_t }, align 8
@.str.11 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE = external hidden unnamed_addr constant [248 x i8], align 1
@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [63 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, ptr } @_ZSt15make_error_codeSt4errc(i32 noundef) #5

; 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 #3 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
define dso_local { 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) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::error_code", align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.Crypto::PublicKey", align 1
  %17 = alloca %"struct.Crypto::Hash", align 1
  %18 = alloca %"class.std::vector.168", align 8
  %19 = alloca %"class.std::lock_guard", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.173", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.173", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i8, align 1
  %28 = alloca %"struct.DynexCN::TransactionOutputInformationIn", align 8
  %29 = alloca i64, align 8
  %30 = alloca %"struct.DynexCN::KeyOutput", align 1
  %31 = alloca %"struct.DynexCN::KeyPair", align 1
  %32 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %33 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %34 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %35 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %36 = alloca %"class.Logging::LoggerMessage", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %42 = alloca %"class.Logging::LoggerMessage", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca i64, align 8
  %45 = alloca %"struct.DynexCN::MultisignatureOutput", align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %51 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %52 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %53 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %54 = alloca %"class.Logging::LoggerMessage", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %59 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %60 = alloca %"class.Logging::LoggerMessage", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"struct.std::pair.108", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %65 = alloca %"class.std::insert_iterator", align 8
  %66 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %67 = alloca %"class.std::insert_iterator", align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %68 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #9
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = getelementptr inbounds ptr, ptr %70, i64 4
  %72 = load ptr, ptr %71, align 8
  call void %72(ptr dead_on_unwind writable sret(%"struct.Crypto::PublicKey") align 1 %16, ptr noundef nonnull align 8 dereferenceable(8) %69)
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds ptr, ptr %74, i64 2
  %76 = load ptr, ptr %75, align 8
  call void %76(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %17, ptr noundef nonnull align 8 dereferenceable(8) %73)
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  invoke void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(40) @seen_mutex)
          to label %77 unwind label %88

77:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %78, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %79 = load ptr, ptr %22, align 8, !tbaa !5
  %80 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.173", ptr %23, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %82 = load ptr, ptr %22, align 8, !tbaa !5
  %83 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #9
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.173", ptr %24, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  br label %85

85:                                               ; preds = %479, %77
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br i1 %86, label %92, label %87

87:                                               ; preds = %85
  store i32 2, ptr %25, align 4
  br label %488

88:                                               ; preds = %7
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %20, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %21, align 4
  br label %534

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  %94 = load i32, ptr %93, align 4, !tbaa !11
  store i32 %94, ptr %26, align 4, !tbaa !11
  %95 = load i32, ptr %26, align 4, !tbaa !11
  %96 = zext i32 %95 to i64
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds ptr, ptr %98, i64 15
  %100 = load ptr, ptr %99, align 8
  %101 = invoke noundef i64 %100(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %102 unwind label %110

102:                                              ; preds = %92
  %103 = icmp uge i64 %96, %101
  br i1 %103, label %104, label %114

104:                                              ; preds = %102
  %105 = call { i32, ptr } @_ZSt15make_error_codeSt4errc(i32 noundef 33) #9
  %106 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 0
  %107 = extractvalue { i32, ptr } %105, 0
  store i32 %107, ptr %106, align 8
  %108 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 1
  %109 = extractvalue { i32, ptr } %105, 1
  store ptr %109, ptr %108, align 8
  store i32 1, ptr %25, align 4
  br label %476

110:                                              ; preds = %92
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %20, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %21, align 4
  br label %487

114:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = load i32, ptr %26, align 4, !tbaa !11
  %117 = zext i32 %116 to i64
  %118 = load ptr, ptr %115, align 8, !tbaa !9
  %119 = getelementptr inbounds ptr, ptr %118, i64 17
  %120 = load ptr, ptr %119, align 8
  %121 = invoke noundef zeroext i8 %120(ptr noundef nonnull align 8 dereferenceable(8) %115, i64 noundef %117)
          to label %122 unwind label %129

122:                                              ; preds = %114
  store i8 %121, ptr %27, align 1, !tbaa !13
  %123 = load i8, ptr %27, align 1, !tbaa !13
  %124 = icmp ne i8 %123, 1
  br i1 %124, label %125, label %133

125:                                              ; preds = %122
  %126 = load i8, ptr %27, align 1, !tbaa !13
  %127 = icmp ne i8 %126, 2
  br i1 %127, label %128, label %133

128:                                              ; preds = %125
  store i32 3, ptr %25, align 4
  br label %473

129:                                              ; preds = %114
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %20, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %21, align 4
  br label %486

133:                                              ; preds = %125, %122
  call void @llvm.lifetime.start.p0(i64 152, ptr %28) #9
  %134 = load i8, ptr %27, align 1, !tbaa !13
  %135 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 0
  store i8 %134, ptr %135, align 8, !tbaa !15
  %136 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %136, ptr align 1 %16, i64 32, i1 false), !tbaa.struct !20
  %137 = load i32, ptr %26, align 4, !tbaa !11
  %138 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 3
  store i32 %137, ptr %138, align 4, !tbaa !22
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 8, !tbaa !23
  %142 = icmp eq i32 %141, -1
  br i1 %142, label %143, label %144

143:                                              ; preds = %133
  br label %150

144:                                              ; preds = %133
  %145 = load ptr, ptr %14, align 8, !tbaa !5
  %146 = load i32, ptr %26, align 4, !tbaa !11
  %147 = zext i32 %146 to i64
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %147) #9
  %149 = load i32, ptr %148, align 4, !tbaa !11
  br label %150

150:                                              ; preds = %144, %143
  %151 = phi i32 [ -1, %143 ], [ %149, %144 ]
  %152 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 2
  store i32 %151, ptr %152, align 8, !tbaa !25
  %153 = load i8, ptr %27, align 1, !tbaa !13
  %154 = icmp eq i8 %153, 1
  br i1 %154, label %155, label %307

155:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = load i32, ptr %26, align 4, !tbaa !11
  %158 = zext i32 %157 to i64
  %159 = load ptr, ptr %156, align 8, !tbaa !9
  %160 = getelementptr inbounds ptr, ptr %159, i64 18
  %161 = load ptr, ptr %160, align 8
  invoke void %161(ptr noundef nonnull align 8 dereferenceable(8) %156, i64 noundef %158, ptr noundef nonnull align 1 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %162 unwind label %175

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #9
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = load i32, ptr %26, align 4, !tbaa !11
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformationIn", ptr %28, i32 0, i32 1
  %167 = invoke noundef zeroext i1 @_ZN7DynexCN25generate_key_image_helperERKNS_11AccountKeysERKN6Crypto9PublicKeyEmRNS_7KeyPairERNS3_8KeyImageE(ptr noundef nonnull align 1 dereferenceable(128) %163, ptr noundef nonnull align 1 dereferenceable(32) %16, i64 noundef %165, ptr noundef nonnull align 1 dereferenceable(64) %31, ptr noundef nonnull align 1 dereferenceable(32) %166)
          to label %168 unwind label %179

168:                                              ; preds = %162
  %169 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %30, i32 0, i32 0
  %170 = getelementptr inbounds %"struct.DynexCN::KeyPair", ptr %31, i32 0, i32 0
  %171 = invoke noundef zeroext i1 @_ZN6CryptoeqERKNS_9PublicKeyES2_(ptr noundef nonnull align 1 dereferenceable(32) %169, ptr noundef nonnull align 1 dereferenceable(32) %170)
          to label %172 unwind label %179

172:                                              ; preds = %168
  br i1 %171, label %173, label %174

173:                                              ; preds = %172
  br label %184

174:                                              ; preds = %172
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.11, i32 noundef 455, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE) #10
  unreachable

175:                                              ; preds = %155
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %20, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %21, align 4
  br label %306

179:                                              ; preds = %168, %162
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %20, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %21, align 4
  br label %305

183:                                              ; No predecessors!
  br label %184

184:                                              ; preds = %183, %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %185 = invoke ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %186 unwind label %213

186:                                              ; preds = %184
  %187 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.110", ptr %32, i32 0, i32 0
  %188 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.111", ptr %187, i32 0, i32 0
  store ptr %185, ptr %188, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %189 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen) #9
  %190 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.110", ptr %33, i32 0, i32 0
  %191 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.111", ptr %190, i32 0, i32 0
  store ptr %189, ptr %191, align 8
  %192 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br i1 %192, label %193, label %296

193:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %194 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %30, i32 0, i32 0
  %195 = invoke ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr noundef nonnull align 1 dereferenceable(32) %194)
          to label %196 unwind label %217

196:                                              ; preds = %193
  %197 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %34, i32 0, i32 0
  %198 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %197, i32 0, i32 0
  store ptr %195, ptr %198, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %199 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  %200 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %35, i32 0, i32 0
  %201 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %200, i32 0, i32 0
  store ptr %199, ptr %201, align 8
  %202 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto9PublicKeyELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br i1 %202, label %203, label %240

203:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 432, ptr %36) #9
  %204 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %68, i32 0, i32 8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %36, ptr noundef nonnull align 8 dereferenceable(40) %204, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %205 unwind label %221

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %36, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %207 unwind label %225

207:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %37, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %208 unwind label %229

208:                                              ; preds = %207
  %209 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %206, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %210 unwind label %233

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA33_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %209, ptr noundef nonnull align 1 dereferenceable(33) @.str.15)
          to label %212 unwind label %233

212:                                              ; preds = %210
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %36) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %36) #9
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  store i32 1, ptr %25, align 4
  br label %292

213:                                              ; preds = %184
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %20, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %21, align 4
  br label %304

217:                                              ; preds = %289, %193
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %20, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %21, align 4
  br label %295

221:                                              ; preds = %203
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %20, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %21, align 4
  br label %239

225:                                              ; preds = %205
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %20, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %21, align 4
  br label %238

229:                                              ; preds = %207
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %20, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %21, align 4
  br label %237

233:                                              ; preds = %210, %208
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %20, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %237

237:                                              ; preds = %233, %229
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  br label %238

238:                                              ; preds = %237, %225
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %36) #9
  br label %239

239:                                              ; preds = %238, %221
  call void @llvm.lifetime.end.p0(i64 432, ptr %36) #9
  br label %295

240:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %241 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %242 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %39, i32 0, i32 0
  store ptr %241, ptr %242, align 8
  %243 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %244 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %40, i32 0, i32 0
  store ptr %243, ptr %244, align 8
  %245 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %30, i32 0, i32 0
  %246 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %39, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8
  %248 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %40, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8
  %250 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %247, ptr %249, ptr noundef nonnull align 1 dereferenceable(32) %245)
          to label %251 unwind label %266

251:                                              ; preds = %240
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %38, i32 0, i32 0
  store ptr %250, ptr %252, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %253 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %254 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %41, i32 0, i32 0
  store ptr %253, ptr %254, align 8
  %255 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br i1 %255, label %256, label %289

256:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 432, ptr %42) #9
  %257 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %68, i32 0, i32 8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %42, ptr noundef nonnull align 8 dereferenceable(40) %257, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %258 unwind label %270

258:                                              ; preds = %256
  %259 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %42, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %260 unwind label %274

260:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %43, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %261 unwind label %278

261:                                              ; preds = %260
  %262 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %259, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %263 unwind label %282

263:                                              ; preds = %261
  %264 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA48_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %262, ptr noundef nonnull align 1 dereferenceable(48) @.str.16)
          to label %265 unwind label %282

265:                                              ; preds = %263
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %42) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %42) #9
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  store i32 1, ptr %25, align 4
  br label %292

266:                                              ; preds = %240
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %20, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %295

270:                                              ; preds = %256
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %20, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %21, align 4
  br label %288

274:                                              ; preds = %258
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %20, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %21, align 4
  br label %287

278:                                              ; preds = %260
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %20, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %21, align 4
  br label %286

282:                                              ; preds = %263, %261
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %20, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %286

286:                                              ; preds = %282, %278
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  br label %287

287:                                              ; preds = %286, %274
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %42) #9
  br label %288

288:                                              ; preds = %287, %270
  call void @llvm.lifetime.end.p0(i64 432, ptr %42) #9
  br label %295

289:                                              ; preds = %251
  %290 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %30, i32 0, i32 0
  invoke void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 1 dereferenceable(32) %290)
          to label %291 unwind label %217

291:                                              ; preds = %289
  store i32 0, ptr %25, align 4
  br label %292

292:                                              ; preds = %291, %265, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  %293 = load i32, ptr %25, align 4
  switch i32 %293, label %301 [
    i32 0, label %294
  ]

294:                                              ; preds = %292
  br label %296

295:                                              ; preds = %288, %266, %239, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %304

296:                                              ; preds = %294, %186
  %297 = load i64, ptr %29, align 8, !tbaa !26
  %298 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 1
  store i64 %297, ptr %298, align 8, !tbaa !27
  %299 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %30, i32 0, i32 0
  %300 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %300, ptr align 1 %299, i64 32, i1 false), !tbaa.struct !20
  store i32 0, ptr %25, align 4
  br label %301

301:                                              ; preds = %296, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  %302 = load i32, ptr %25, align 4
  switch i32 %302, label %472 [
    i32 0, label %303
  ]

303:                                              ; preds = %301
  br label %469

304:                                              ; preds = %295, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %305

305:                                              ; preds = %304, %179
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #9
  br label %306

306:                                              ; preds = %305, %175
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %485

307:                                              ; preds = %150
  %308 = load i8, ptr %27, align 1, !tbaa !13
  %309 = icmp eq i8 %308, 2
  br i1 %309, label %310, label %468

310:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #9
  call void @_ZN7DynexCN20MultisignatureOutputC2Ev(ptr noundef nonnull align 8 dereferenceable(25) %45) #9
  %311 = load ptr, ptr %12, align 8, !tbaa !5
  %312 = load i32, ptr %26, align 4, !tbaa !11
  %313 = zext i32 %312 to i64
  %314 = load ptr, ptr %311, align 8, !tbaa !9
  %315 = getelementptr inbounds ptr, ptr %314, i64 19
  %316 = load ptr, ptr %315, align 8
  invoke void %316(ptr noundef nonnull align 8 dereferenceable(8) %311, i64 noundef %313, ptr noundef nonnull align 8 dereferenceable(25) %45, ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %317 unwind label %328

317:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  %318 = getelementptr inbounds %"struct.DynexCN::MultisignatureOutput", ptr %45, i32 0, i32 0
  store ptr %318, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %319 = load ptr, ptr %46, align 8, !tbaa !5
  %320 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %319) #9
  %321 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %47, i32 0, i32 0
  store ptr %320, ptr %321, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  %322 = load ptr, ptr %46, align 8, !tbaa !5
  %323 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %322) #9
  %324 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %48, i32 0, i32 0
  store ptr %323, ptr %324, align 8
  br label %325

325:                                              ; preds = %452, %317
  %326 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #9
  br i1 %326, label %332, label %327

327:                                              ; preds = %325
  store i32 4, ptr %25, align 4
  br label %455

328:                                              ; preds = %310
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %20, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %21, align 4
  br label %467

332:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %333 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #9
  store ptr %333, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  %334 = invoke ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %335 unwind label %362

335:                                              ; preds = %332
  %336 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.110", ptr %50, i32 0, i32 0
  %337 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.111", ptr %336, i32 0, i32 0
  store ptr %334, ptr %337, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #9
  %338 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen) #9
  %339 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.110", ptr %51, i32 0, i32 0
  %340 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.111", ptr %339, i32 0, i32 0
  store ptr %338, ptr %340, align 8
  %341 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  br i1 %341, label %342, label %445

342:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  %343 = load ptr, ptr %49, align 8, !tbaa !5
  %344 = invoke ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr noundef nonnull align 1 dereferenceable(32) %343)
          to label %345 unwind label %366

345:                                              ; preds = %342
  %346 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %52, i32 0, i32 0
  %347 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %346, i32 0, i32 0
  store ptr %344, ptr %347, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #9
  %348 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  %349 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %53, i32 0, i32 0
  %350 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %349, i32 0, i32 0
  store ptr %348, ptr %350, align 8
  %351 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto9PublicKeyELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  br i1 %351, label %352, label %389

352:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 432, ptr %54) #9
  %353 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %68, i32 0, i32 8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %54, ptr noundef nonnull align 8 dereferenceable(40) %353, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %354 unwind label %370

354:                                              ; preds = %352
  %355 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %54, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %356 unwind label %374

356:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %55, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %357 unwind label %378

357:                                              ; preds = %356
  %358 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %355, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %359 unwind label %382

359:                                              ; preds = %357
  %360 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA47_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %358, ptr noundef nonnull align 1 dereferenceable(47) @.str.17)
          to label %361 unwind label %382

361:                                              ; preds = %359
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %54) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %54) #9
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  store i32 1, ptr %25, align 4
  br label %441

362:                                              ; preds = %332
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %20, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %21, align 4
  br label %454

366:                                              ; preds = %438, %342
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %20, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %21, align 4
  br label %444

370:                                              ; preds = %352
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %20, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %21, align 4
  br label %388

374:                                              ; preds = %354
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %20, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %21, align 4
  br label %387

378:                                              ; preds = %356
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %20, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %21, align 4
  br label %386

382:                                              ; preds = %359, %357
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %20, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  br label %386

386:                                              ; preds = %382, %378
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br label %387

387:                                              ; preds = %386, %374
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %54) #9
  br label %388

388:                                              ; preds = %387, %370
  call void @llvm.lifetime.end.p0(i64 432, ptr %54) #9
  br label %444

389:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #9
  %390 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %391 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %57, i32 0, i32 0
  store ptr %390, ptr %391, align 8
  %392 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %393 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %58, i32 0, i32 0
  store ptr %392, ptr %393, align 8
  %394 = load ptr, ptr %49, align 8, !tbaa !5
  %395 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %57, i32 0, i32 0
  %396 = load ptr, ptr %395, align 8
  %397 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %58, i32 0, i32 0
  %398 = load ptr, ptr %397, align 8
  %399 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %396, ptr %398, ptr noundef nonnull align 1 dereferenceable(32) %394)
          to label %400 unwind label %415

400:                                              ; preds = %389
  %401 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %56, i32 0, i32 0
  store ptr %399, ptr %401, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  %402 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %403 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %59, i32 0, i32 0
  store ptr %402, ptr %403, align 8
  %404 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #9
  br i1 %404, label %405, label %438

405:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 432, ptr %60) #9
  %406 = getelementptr inbounds %"class.DynexCN::TransfersConsumer", ptr %68, i32 0, i32 8
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.Logging::LoggerMessage") align 8 %60, ptr noundef nonnull align 8 dereferenceable(40) %406, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %407 unwind label %419

407:                                              ; preds = %405
  %408 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %60, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %409 unwind label %423

409:                                              ; preds = %407
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %61, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %410 unwind label %427

410:                                              ; preds = %409
  %411 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %408, ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %412 unwind label %431

412:                                              ; preds = %410
  %413 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA63_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %411, ptr noundef nonnull align 1 dereferenceable(63) @.str.18)
          to label %414 unwind label %431

414:                                              ; preds = %412
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %60) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr %60) #9
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  store i32 1, ptr %25, align 4
  br label %441

415:                                              ; preds = %389
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %20, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #9
  br label %444

419:                                              ; preds = %405
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %20, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %21, align 4
  br label %437

423:                                              ; preds = %407
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %20, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %21, align 4
  br label %436

427:                                              ; preds = %409
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %20, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %21, align 4
  br label %435

431:                                              ; preds = %412, %410
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %20, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #9
  br label %435

435:                                              ; preds = %431, %427
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #9
  br label %436

436:                                              ; preds = %435, %423
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %60) #9
  br label %437

437:                                              ; preds = %436, %419
  call void @llvm.lifetime.end.p0(i64 432, ptr %60) #9
  br label %444

438:                                              ; preds = %400
  %439 = load ptr, ptr %49, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 1 dereferenceable(32) %439)
          to label %440 unwind label %366

440:                                              ; preds = %438
  store i32 0, ptr %25, align 4
  br label %441

441:                                              ; preds = %440, %414, %361
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  %442 = load i32, ptr %25, align 4
  switch i32 %442, label %446 [
    i32 0, label %443
  ]

443:                                              ; preds = %441
  br label %445

444:                                              ; preds = %437, %415, %388, %366
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %454

445:                                              ; preds = %443, %335
  store i32 0, ptr %25, align 4
  br label %446

446:                                              ; preds = %445, %441
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  %447 = load i32, ptr %25, align 4
  switch i32 %447, label %449 [
    i32 0, label %448
  ]

448:                                              ; preds = %446
  store i32 0, ptr %25, align 4
  br label %449

449:                                              ; preds = %448, %446
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  %450 = load i32, ptr %25, align 4
  switch i32 %450, label %455 [
    i32 0, label %451
  ]

451:                                              ; preds = %449
  br label %452

452:                                              ; preds = %451
  %453 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #9
  br label %325

454:                                              ; preds = %444, %362
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  br label %467

455:                                              ; preds = %449, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  %456 = load i32, ptr %25, align 4
  switch i32 %456, label %464 [
    i32 4, label %457
  ]

457:                                              ; preds = %455
  %458 = load i64, ptr %44, align 8, !tbaa !26
  %459 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 1
  store i64 %458, ptr %459, align 8, !tbaa !27
  %460 = getelementptr inbounds %"struct.DynexCN::MultisignatureOutput", ptr %45, i32 0, i32 1
  %461 = load i8, ptr %460, align 8, !tbaa !28
  %462 = zext i8 %461 to i32
  %463 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %28, i32 0, i32 6
  store i32 %462, ptr %463, align 8, !tbaa !21
  store i32 0, ptr %25, align 4
  br label %464

464:                                              ; preds = %457, %455
  call void @_ZN7DynexCN20MultisignatureOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  %465 = load i32, ptr %25, align 4
  switch i32 %465, label %472 [
    i32 0, label %466
  ]

466:                                              ; preds = %464
  br label %468

467:                                              ; preds = %454, %328
  call void @_ZN7DynexCN20MultisignatureOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %485

468:                                              ; preds = %466, %307
  br label %469

469:                                              ; preds = %468, %303
  %470 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN7DynexCN30TransactionOutputInformationInESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %470, ptr noundef nonnull align 8 dereferenceable(152) %28)
          to label %471 unwind label %481

471:                                              ; preds = %469
  store i32 0, ptr %25, align 4
  br label %472

472:                                              ; preds = %471, %464, %301
  call void @llvm.lifetime.end.p0(i64 152, ptr %28) #9
  br label %473

473:                                              ; preds = %472, %128
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  %474 = load i32, ptr %25, align 4
  switch i32 %474, label %476 [
    i32 0, label %475
  ]

475:                                              ; preds = %473
  store i32 0, ptr %25, align 4
  br label %476

476:                                              ; preds = %475, %473, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  %477 = load i32, ptr %25, align 4
  switch i32 %477, label %488 [
    i32 0, label %478
    i32 3, label %479
  ]

478:                                              ; preds = %476
  br label %479

479:                                              ; preds = %478, %476
  %480 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %85

481:                                              ; preds = %469
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %20, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %21, align 4
  br label %485

485:                                              ; preds = %481, %467, %306
  call void @llvm.lifetime.end.p0(i64 152, ptr %28) #9
  br label %486

486:                                              ; preds = %485, %129
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %487

487:                                              ; preds = %486, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %533

488:                                              ; preds = %476, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  %489 = load i32, ptr %25, align 4
  switch i32 %489, label %531 [
    i32 2, label %490
  ]

490:                                              ; preds = %488
  %491 = invoke { ptr, i8 } @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE7emplaceIJRS1_EEESt4pairINSt8__detail14_Node_iteratorIS1_Lb1ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %492 unwind label %527

492:                                              ; preds = %490
  %493 = getelementptr inbounds { ptr, i8 }, ptr %62, i32 0, i32 0
  %494 = extractvalue { ptr, i8 } %491, 0
  store ptr %494, ptr %493, align 8
  %495 = getelementptr inbounds { ptr, i8 }, ptr %62, i32 0, i32 1
  %496 = extractvalue { ptr, i8 } %491, 1
  store i8 %496, ptr %495, align 8
  %497 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %498 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %63, i32 0, i32 0
  store ptr %497, ptr %498, align 8
  %499 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %500 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %64, i32 0, i32 0
  store ptr %499, ptr %500, align 8
  %501 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  %502 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %66, i32 0, i32 0
  %503 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %502, i32 0, i32 0
  store ptr %501, ptr %503, align 8
  %504 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %66, i32 0, i32 0
  %505 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %504, i32 0, i32 0
  %506 = load ptr, ptr %505, align 8
  %507 = invoke { ptr, ptr } @_ZSt8inserterISt13unordered_setIN6Crypto9PublicKeyESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEESt15insert_iteratorIT_ERSA_NSA_8iteratorE(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr %506)
          to label %508 unwind label %527

508:                                              ; preds = %492
  %509 = getelementptr inbounds { ptr, ptr }, ptr %65, i32 0, i32 0
  %510 = extractvalue { ptr, ptr } %507, 0
  store ptr %510, ptr %509, align 8
  %511 = getelementptr inbounds { ptr, ptr }, ptr %65, i32 0, i32 1
  %512 = extractvalue { ptr, ptr } %507, 1
  store ptr %512, ptr %511, align 8
  %513 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %63, i32 0, i32 0
  %514 = load ptr, ptr %513, align 8
  %515 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.175", ptr %64, i32 0, i32 0
  %516 = load ptr, ptr %515, align 8
  %517 = getelementptr inbounds { ptr, ptr }, ptr %65, i32 0, i32 0
  %518 = load ptr, ptr %517, align 8
  %519 = getelementptr inbounds { ptr, ptr }, ptr %65, i32 0, i32 1
  %520 = load ptr, ptr %519, align 8
  %521 = invoke { ptr, ptr } @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEESt15insert_iteratorISt13unordered_setIS3_St4hashIS3_ESt8equal_toIS3_ES6_EEET0_T_SI_SH_(ptr %514, ptr %516, ptr %518, ptr %520)
          to label %522 unwind label %527

522:                                              ; preds = %508
  %523 = getelementptr inbounds { ptr, ptr }, ptr %67, i32 0, i32 0
  %524 = extractvalue { ptr, ptr } %521, 0
  store ptr %524, ptr %523, align 8
  %525 = getelementptr inbounds { ptr, ptr }, ptr %67, i32 0, i32 1
  %526 = extractvalue { ptr, ptr } %521, 1
  store ptr %526, ptr %525, align 8
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  store i32 1, ptr %25, align 4
  br label %531

527:                                              ; preds = %508, %492, %490
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %20, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %21, align 4
  br label %533

531:                                              ; preds = %522, %488
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  %532 = load { i32, ptr }, ptr %8, align 8
  ret { i32, ptr } %532

533:                                              ; preds = %527, %487
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %534

534:                                              ; preds = %533, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  br label %535

535:                                              ; preds = %534
  %536 = load ptr, ptr %20, align 8
  %537 = load i32, ptr %21, align 4
  %538 = insertvalue { ptr, i32 } poison, ptr %536, 0
  %539 = insertvalue { ptr, i32 } %538, i32 %537, 1
  resume { ptr, i32 } %539
}

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN7DynexCN25generate_key_image_helperERKNS_11AccountKeysERKN6Crypto9PublicKeyEmRNS_7KeyPairERNS3_8KeyImageE(ptr noundef nonnull align 1 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(32), i64 noundef, ptr noundef nonnull align 1 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(32)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6CryptoeqERKNS_9PublicKeyES2_(ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(32)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr, ptr, ptr noundef nonnull align 1 dereferenceable(32)) #7

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEESt15insert_iteratorISt13unordered_setIS3_St4hashIS3_ESt8equal_toIS3_ES6_EEET0_T_SI_SH_(ptr, ptr, ptr, ptr) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZSt8inserterISt13unordered_setIN6Crypto9PublicKeyESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEESt15insert_iteratorIT_ERSA_NSA_8iteratorE(ptr noundef nonnull align 8 dereferenceable(56), ptr) #7

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !14, i64 0, !17, i64 8, !12, i64 16, !12, i64 20, !18, i64 24, !19, i64 56, !7, i64 88}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!19 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!20 = !{i64 0, i64 32, !21}
!21 = !{!7, !7, i64 0}
!22 = !{!16, !12, i64 20}
!23 = !{!24, !12, i64 0}
!24 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !12, i64 0, !17, i64 8, !12, i64 16}
!25 = !{!16, !12, i64 16}
!26 = !{!17, !17, i64 0}
!27 = !{!16, !17, i64 8}
!28 = !{!29, !7, i64 24}
!29 = !{!"_ZTSN7DynexCN20MultisignatureOutputE", !30, i64 0, !7, i64 24}
!30 = !{!"_ZTSSt6vectorIN6Crypto9PublicKeyESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; 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::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 }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"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 }
%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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::error_code" = type { i32, ptr }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.std::vector.168" = type { %"struct.std::_Vector_base.169" }
%"struct.std::_Vector_base.169" = type { %"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::PublicKey, std::allocator<Crypto::PublicKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::lock_guard" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.173" = type { ptr }
%"struct.DynexCN::TransactionOutputInformationIn" = type { %"struct.DynexCN::TransactionOutputInformation", %"struct.Crypto::KeyImage" }
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.174 }
%union.anon.174 = type { i32, [28 x i8] }
%"struct.Crypto::KeyImage" = type { [32 x i8] }
%"struct.DynexCN::KeyOutput" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::KeyPair" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"struct.std::__detail::_Node_iterator.110" = type { %"struct.std::__detail::_Node_iterator_base.111" }
%"struct.std::__detail::_Node_iterator_base.111" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Logging::LoggerMessage" = type <{ %"class.std::basic_ostream.base", %"class.std::basic_streambuf", ptr, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.boost::posix_time::ptime", i8, [7 x i8], %"class.std::basic_ios" }>
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.boost::posix_time::ptime" = type { %"class.boost::date_time::base_time" }
%"class.boost::date_time::base_time" = type { %"struct.boost::date_time::counted_time_rep" }
%"struct.boost::date_time::counted_time_rep" = type { %"class.boost::date_time::int_adapter" }
%"class.boost::date_time::int_adapter" = type { i64 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.175" = type { ptr }
%"struct.DynexCN::MultisignatureOutput" = type <{ %"class.std::vector.168", i8, [7 x i8] }>

@transactions_hash_seen = external dso_local global %"class.std::unordered_set", align 8
@public_keys_seen = external dso_local global %"class.std::unordered_set.6", align 8
@seen_mutex = external dso_local global { %union.pthread_mutex_t }, align 8
@.str.11 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE = external hidden unnamed_addr constant [248 x i8], align 1
@_ZN7Logging10BRIGHT_REDB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [63 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local { i32, ptr } @_ZSt15make_error_codeSt4errc(i32 noundef) local_unnamed_addr #5

; 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 #3 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
define dso_local { 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) %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::error_code", align 8
  %9 = alloca %"struct.Crypto::PublicKey", align 1
  %10 = alloca %"struct.Crypto::Hash", align 1
  %11 = alloca %"class.std::vector.168", align 8
  %12 = alloca %"class.std::lock_guard", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.173", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.173", align 8
  %15 = alloca %"struct.DynexCN::TransactionOutputInformationIn", align 8
  %16 = alloca i64, align 8
  %17 = alloca %"struct.DynexCN::KeyOutput", align 1
  %18 = alloca %"struct.DynexCN::KeyPair", align 1
  %19 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %20 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %21 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %22 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %23 = alloca %"class.Logging::LoggerMessage", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %27 = alloca %"class.Logging::LoggerMessage", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca i64, align 8
  %30 = alloca %"struct.DynexCN::MultisignatureOutput", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %33 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %34 = alloca %"struct.std::__detail::_Node_iterator.110", align 8
  %35 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %36 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %37 = alloca %"class.Logging::LoggerMessage", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.175", align 8
  %41 = alloca %"class.Logging::LoggerMessage", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 32
  %45 = load ptr, ptr %44, align 8
  call void %45(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::PublicKey") align 1 %9, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %48 = load ptr, ptr %47, align 8
  call void %48(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %10, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  invoke void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(40) @seen_mutex)
          to label %49 unwind label %60

49:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %50 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store ptr %50, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %51 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store ptr %51, ptr %14, align 8
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br i1 %52, label %.lr.ph147, label %._crit_edge

.lr.ph147:                                        ; preds = %49
  %53 = getelementptr inbounds i8, ptr %15, i64 56
  %54 = getelementptr inbounds i8, ptr %15, i64 20
  %55 = getelementptr inbounds i8, ptr %15, i64 16
  %56 = getelementptr inbounds i8, ptr %15, i64 8
  %57 = getelementptr inbounds i8, ptr %30, i64 24
  %58 = getelementptr inbounds i8, ptr %15, i64 88
  %59 = getelementptr inbounds i8, ptr %15, i64 120
  br label %62

60:                                               ; preds = %7
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %289

62:                                               ; preds = %.lr.ph147, %.thread139
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %64 = load i32, ptr %63, align 4, !tbaa !8
  %65 = zext i32 %64 to i64
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 120
  %68 = load ptr, ptr %67, align 8
  %69 = invoke noundef i64 %68(ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %70 unwind label %75

70:                                               ; preds = %62
  %.not = icmp ugt i64 %69, %65
  br i1 %.not, label %77, label %.thread137

.thread137:                                       ; preds = %70
  %71 = call { i32, ptr } @_ZSt15make_error_codeSt4errc(i32 noundef 33) #9
  %72 = extractvalue { i32, ptr } %71, 0
  store i32 %72, ptr %8, align 8
  %73 = getelementptr inbounds i8, ptr %8, i64 8
  %74 = extractvalue { i32, ptr } %71, 1
  store ptr %74, ptr %73, align 8
  br label %.thread144

75:                                               ; preds = %62
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %273

77:                                               ; preds = %70
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 136
  %80 = load ptr, ptr %79, align 8
  %81 = invoke noundef zeroext i8 %80(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %65)
          to label %82 unwind label %84

82:                                               ; preds = %77
  %83 = add i8 %81, -3
  %or.cond = icmp ult i8 %83, -2
  br i1 %or.cond, label %.thread139, label %86

84:                                               ; preds = %77
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %273

86:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %15) #9
  store i8 %81, ptr %15, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !17
  store i32 %64, ptr %54, align 4, !tbaa !19
  %87 = load i32, ptr %2, align 8, !tbaa !20
  %88 = icmp eq i32 %87, -1
  br i1 %88, label %92, label %89

89:                                               ; preds = %86
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %65) #9
  %91 = load i32, ptr %90, align 4, !tbaa !8
  br label %92

92:                                               ; preds = %86, %89
  %93 = phi i32 [ %91, %89 ], [ -1, %86 ]
  store i32 %93, ptr %55, align 8, !tbaa !22
  %switch = icmp eq i8 %81, 1
  br i1 %switch, label %94, label %179

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i64 144
  %97 = load ptr, ptr %96, align 8
  invoke void %97(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %65, ptr noundef nonnull align 1 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %98 unwind label %103

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #9
  %99 = invoke noundef zeroext i1 @_ZN7DynexCN25generate_key_image_helperERKNS_11AccountKeysERKN6Crypto9PublicKeyEmRNS_7KeyPairERNS3_8KeyImageE(ptr noundef nonnull align 1 dereferenceable(128) %1, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 noundef %65, ptr noundef nonnull align 1 dereferenceable(64) %18, ptr noundef nonnull align 1 dereferenceable(32) %59)
          to label %100 unwind label %105

100:                                              ; preds = %98
  %101 = call noundef zeroext i1 @_ZN6CryptoeqERKNS_9PublicKeyES2_(ptr noundef nonnull align 1 dereferenceable(32) %17, ptr noundef nonnull align 1 dereferenceable(32) %18)
  br i1 %101, label %107, label %102

102:                                              ; preds = %100
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.11, i32 noundef 455, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer15createTransfersERKNS_11AccountKeysERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorIjSaIjEESE_RSA_INS_30TransactionOutputInformationInESaISF_EE) #10
  unreachable

103:                                              ; preds = %94
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %178

105:                                              ; preds = %98
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %177

107:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %108 = invoke ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %109 unwind label %127

109:                                              ; preds = %107
  store ptr %108, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %110 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen) #9
  store ptr %110, ptr %20, align 8
  %111 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br i1 %111, label %112, label %.critedge128

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %113 = invoke ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %114 unwind label %129

114:                                              ; preds = %112
  store ptr %113, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %115 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  store ptr %115, ptr %22, align 8
  %116 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto9PublicKeyELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br i1 %116, label %117, label %142

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %23) #9
  %118 = getelementptr inbounds i8, ptr %0, i64 304
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %23, ptr noundef nonnull align 8 dereferenceable(40) %118, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %119 unwind label %131

119:                                              ; preds = %117
  %120 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %23, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %121 unwind label %133

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %122 unwind label %135

122:                                              ; preds = %121
  %123 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %120, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %124 unwind label %137

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA33_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %123, ptr noundef nonnull align 1 dereferenceable(33) @.str.15)
          to label %126 unwind label %137

126:                                              ; preds = %124
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %23) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %23) #9
  br label %.critedge

127:                                              ; preds = %107
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %176

129:                                              ; preds = %172, %112
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %174

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

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

135:                                              ; preds = %121
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %124, %122
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %139

139:                                              ; preds = %137, %135
  %.pn112 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %140

140:                                              ; preds = %139, %133
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %139 ], [ %134, %133 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %23) #9
  br label %141

141:                                              ; preds = %140, %131
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn112.pn, %140 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %23) #9
  br label %174

142:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %143 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %144 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %145 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %143, ptr %144, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %146 unwind label %159

146:                                              ; preds = %142
  store ptr %145, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %147 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  store ptr %147, ptr %26, align 8
  %148 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br i1 %148, label %149, label %172

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %27) #9
  %150 = getelementptr inbounds i8, ptr %0, i64 304
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %27, ptr noundef nonnull align 8 dereferenceable(40) %150, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %151 unwind label %161

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %27, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %153 unwind label %163

153:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %154 unwind label %165

154:                                              ; preds = %153
  %155 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %152, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %156 unwind label %167

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA48_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %155, ptr noundef nonnull align 1 dereferenceable(48) @.str.16)
          to label %158 unwind label %167

158:                                              ; preds = %156
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %27) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %27) #9
  br label %.critedge

159:                                              ; preds = %142
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %174

161:                                              ; preds = %149
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %171

163:                                              ; preds = %151
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %170

165:                                              ; preds = %153
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %156, %154
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %169

169:                                              ; preds = %167, %165
  %.pn108 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  br label %170

170:                                              ; preds = %169, %163
  %.pn108.pn = phi { ptr, i32 } [ %.pn108, %169 ], [ %164, %163 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %27) #9
  br label %171

171:                                              ; preds = %170, %161
  %.pn108.pn.pn = phi { ptr, i32 } [ %.pn108.pn, %170 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %27) #9
  br label %174

172:                                              ; preds = %146
  invoke void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %173 unwind label %129

173:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %.critedge128

174:                                              ; preds = %171, %159, %141, %129
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %141 ], [ %.pn108.pn.pn, %171 ], [ %130, %129 ], [ %160, %159 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %176

.critedge128:                                     ; preds = %173, %109
  %175 = load i64, ptr %16, align 8, !tbaa !23
  store i64 %175, ptr %56, align 8, !tbaa !24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 1 dereferenceable(32) %17, i64 32, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %266

.critedge:                                        ; preds = %158, %126
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %.thread141

176:                                              ; preds = %174, %127
  %.pn112.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn, %174 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %177

177:                                              ; preds = %176, %105
  %.pn112.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn, %176 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #9
  br label %178

178:                                              ; preds = %177, %103
  %.pn112.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn, %177 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %272

179:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #9
  call void @_ZN7DynexCN20MultisignatureOutputC2Ev(ptr noundef nonnull align 8 dereferenceable(25) %30) #9
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 152
  %182 = load ptr, ptr %181, align 8
  invoke void %182(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %65, ptr noundef nonnull align 8 dereferenceable(25) %30, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %183 unwind label %187

183:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  %184 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  store ptr %184, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  %185 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  store ptr %185, ptr %32, align 8
  %186 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  br i1 %186, label %.lr.ph, label %.thread134

187:                                              ; preds = %179
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %265

.lr.ph:                                           ; preds = %183, %257
  %189 = call noundef nonnull align 1 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  %190 = invoke ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %191 unwind label %209

191:                                              ; preds = %.lr.ph
  store ptr %190, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  %192 = call ptr @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen) #9
  store ptr %192, ptr %34, align 8
  %193 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseIN6Crypto4HashELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  br i1 %193, label %194, label %257

194:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #9
  %195 = invoke ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE4findERKS1_(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr noundef nonnull align 1 dereferenceable(32) %189)
          to label %196 unwind label %211

196:                                              ; preds = %194
  store ptr %195, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #9
  %197 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  store ptr %197, ptr %36, align 8
  %198 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIN6Crypto9PublicKeyELb1EEES5_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #9
  br i1 %198, label %199, label %224

199:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %37) #9
  %200 = getelementptr inbounds i8, ptr %0, i64 304
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %37, ptr noundef nonnull align 8 dereferenceable(40) %200, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %201 unwind label %213

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %37, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %203 unwind label %215

203:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %204 unwind label %217

204:                                              ; preds = %203
  %205 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %202, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %206 unwind label %219

206:                                              ; preds = %204
  %207 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA47_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %205, ptr noundef nonnull align 1 dereferenceable(47) @.str.17)
          to label %208 unwind label %219

208:                                              ; preds = %206
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %37) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %37) #9
  br label %264

209:                                              ; preds = %.lr.ph
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %260

211:                                              ; preds = %254, %194
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %256

213:                                              ; preds = %199
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %223

215:                                              ; preds = %201
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %222

217:                                              ; preds = %203
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %206, %204
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  br label %221

221:                                              ; preds = %219, %217
  %.pn101 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  br label %222

222:                                              ; preds = %221, %215
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %221 ], [ %216, %215 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %37) #9
  br label %223

223:                                              ; preds = %222, %213
  %.pn101.pn.pn = phi { ptr, i32 } [ %.pn101.pn, %222 ], [ %214, %213 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %37) #9
  br label %256

224:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #9
  %225 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %226 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %227 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr %225, ptr %226, ptr noundef nonnull align 1 dereferenceable(32) %189)
          to label %228 unwind label %241

228:                                              ; preds = %224
  store ptr %227, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #9
  %229 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  store ptr %229, ptr %40, align 8
  %230 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  br i1 %230, label %231, label %254

231:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 432, ptr nonnull %41) #9
  %232 = getelementptr inbounds i8, ptr %0, i64 304
  invoke void @_ZNK7Logging9LoggerRefclENS_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.Logging::LoggerMessage") align 8 %41, ptr noundef nonnull align 8 dereferenceable(40) %232, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7Logging10BRIGHT_REDB5cxx11E)
          to label %233 unwind label %243

233:                                              ; preds = %231
  %234 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA31_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %41, ptr noundef nonnull align 1 dereferenceable(31) @.str.14)
          to label %235 unwind label %245

235:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #9
  invoke void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %42, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %236 unwind label %247

236:                                              ; preds = %235
  %237 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEOT_S9_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %234, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %238 unwind label %249

238:                                              ; preds = %236
  %239 = invoke noundef nonnull align 8 dereferenceable(161) ptr @_ZStlsIN7Logging13LoggerMessageEA63_cEOT_S4_RKT0_(ptr noundef nonnull align 8 dereferenceable(161) %237, ptr noundef nonnull align 1 dereferenceable(63) @.str.18)
          to label %240 unwind label %249

240:                                              ; preds = %238
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #9
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %41) #9
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %41) #9
  br label %264

241:                                              ; preds = %224
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #9
  br label %256

243:                                              ; preds = %231
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %253

245:                                              ; preds = %233
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %252

247:                                              ; preds = %235
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %251

249:                                              ; preds = %238, %236
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  br label %251

251:                                              ; preds = %249, %247
  %.pn = phi { ptr, i32 } [ %250, %249 ], [ %248, %247 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #9
  br label %252

252:                                              ; preds = %251, %245
  %.pn.pn = phi { ptr, i32 } [ %.pn, %251 ], [ %246, %245 ]
  call void @_ZN7Logging13LoggerMessageD1Ev(ptr noundef nonnull align 8 dereferenceable(161) %41) #9
  br label %253

253:                                              ; preds = %252, %243
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %252 ], [ %244, %243 ]
  call void @llvm.lifetime.end.p0(i64 432, ptr nonnull %41) #9
  br label %256

254:                                              ; preds = %228
  invoke void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(32) %189)
          to label %255 unwind label %211

255:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  br label %257

256:                                              ; preds = %253, %241, %223, %211
  %.pn101.pn.pn.pn = phi { ptr, i32 } [ %.pn101.pn.pn, %223 ], [ %.pn.pn.pn, %253 ], [ %212, %211 ], [ %242, %241 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  br label %260

257:                                              ; preds = %191, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  %259 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6Crypto9PublicKeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  br i1 %259, label %.lr.ph, label %.thread134

260:                                              ; preds = %256, %209
  %.pn101.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn101.pn.pn.pn, %256 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  br label %265

.thread134:                                       ; preds = %257, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  %261 = load i64, ptr %29, align 8, !tbaa !23
  store i64 %261, ptr %56, align 8, !tbaa !24
  %262 = load i8, ptr %57, align 8, !tbaa !25
  %263 = zext i8 %262 to i32
  store i32 %263, ptr %58, align 8, !tbaa !18
  call void @_ZN7DynexCN20MultisignatureOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  br label %266

264:                                              ; preds = %208, %240
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @_ZN7DynexCN20MultisignatureOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  br label %.thread141

265:                                              ; preds = %260, %187
  %.pn101.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn101.pn.pn.pn.pn, %260 ], [ %188, %187 ]
  call void @_ZN7DynexCN20MultisignatureOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  br label %272

266:                                              ; preds = %.thread134, %.critedge128
  invoke void @_ZNSt6vectorIN7DynexCN30TransactionOutputInformationInESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(152) %15)
          to label %267 unwind label %270

.thread141:                                       ; preds = %.critedge, %264
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %15) #9
  br label %.thread144

267:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %15) #9
  br label %.thread139

.thread139:                                       ; preds = %82, %267
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %269 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br i1 %269, label %62, label %._crit_edge

270:                                              ; preds = %266
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %272

272:                                              ; preds = %270, %265, %178
  %.pn120 = phi { ptr, i32 } [ %271, %270 ], [ %.pn112.pn.pn.pn.pn.pn.pn, %178 ], [ %.pn101.pn.pn.pn.pn.pn, %265 ]
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %15) #9
  br label %273

273:                                              ; preds = %84, %272, %75
  %.pn120.pn.pn = phi { ptr, i32 } [ %76, %75 ], [ %.pn120, %272 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %288

.thread144:                                       ; preds = %.thread137, %.thread141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %287

._crit_edge:                                      ; preds = %.thread139, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  %274 = invoke { ptr, i8 } @_ZNSt13unordered_setIN6Crypto4HashESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE7emplaceIJRS1_EEESt4pairINSt8__detail14_Node_iteratorIS1_Lb1ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) @transactions_hash_seen, ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %275 unwind label %285

275:                                              ; preds = %._crit_edge
  %276 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %277 = call ptr @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %278 = call ptr @_ZNSt13unordered_setIN6Crypto9PublicKeyESt4hashIS1_ESt8equal_toIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen) #9
  %279 = invoke { ptr, ptr } @_ZSt8inserterISt13unordered_setIN6Crypto9PublicKeyESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEESt15insert_iteratorIT_ERSA_NSA_8iteratorE(ptr noundef nonnull align 8 dereferenceable(56) @public_keys_seen, ptr %278)
          to label %280 unwind label %285

280:                                              ; preds = %275
  %281 = extractvalue { ptr, ptr } %279, 0
  %282 = extractvalue { ptr, ptr } %279, 1
  %283 = invoke { ptr, ptr } @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEESt15insert_iteratorISt13unordered_setIS3_St4hashIS3_ESt8equal_toIS3_ES6_EEET0_T_SI_SH_(ptr %276, ptr %277, ptr %281, ptr %282)
          to label %284 unwind label %285

284:                                              ; preds = %280
  call void @_ZNSt10error_codeC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br label %287

285:                                              ; preds = %280, %275, %._crit_edge
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %288

287:                                              ; preds = %.thread144, %284
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  %.fca.0.load = load i32, ptr %8, align 8
  %.fca.0.insert = insertvalue { i32, ptr } poison, i32 %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %8, 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

288:                                              ; preds = %285, %273
  %.pn124 = phi { ptr, i32 } [ %286, %285 ], [ %.pn120.pn.pn, %273 ]
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br label %289

289:                                              ; preds = %288, %60
  %.pn124.pn = phi { ptr, i32 } [ %.pn124, %288 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  resume { ptr, i32 } %.pn124.pn
}

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN7DynexCN25generate_key_image_helperERKNS_11AccountKeysERKN6Crypto9PublicKeyEmRNS_7KeyPairERNS3_8KeyImageE(ptr noundef nonnull align 1 dereferenceable(128), ptr noundef nonnull align 1 dereferenceable(32), i64 noundef, ptr noundef nonnull align 1 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6CryptoeqERKNS_9PublicKeyES2_(ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Common8podToHexIN6Crypto4HashEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEES3_ET_S9_S9_RKT0_(ptr, ptr, ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #7

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN6Crypto9PublicKeyESt6vectorIS3_SaIS3_EEEESt15insert_iteratorISt13unordered_setIS3_St4hashIS3_ESt8equal_toIS3_ES6_EEET0_T_SI_SH_(ptr, ptr, ptr, ptr) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZSt8inserterISt13unordered_setIN6Crypto9PublicKeyESt4hashIS2_ESt8equal_toIS2_ESaIS2_EEESt15insert_iteratorIT_ERSA_NSA_8iteratorE(ptr noundef nonnull align 8 dereferenceable(56), ptr) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN6Crypto9PublicKeyESaIS1_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 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !13, i64 0, !14, i64 8, !9, i64 16, !9, i64 20, !15, i64 24, !16, i64 56, !10, i64 88}
!13 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !10, i64 0}
!14 = !{!"long", !10, i64 0}
!15 = !{!"_ZTSN6Crypto4HashE", !10, i64 0}
!16 = !{!"_ZTSN6Crypto9PublicKeyE", !10, i64 0}
!17 = !{i64 0, i64 32, !18}
!18 = !{!10, !10, i64 0}
!19 = !{!12, !9, i64 20}
!20 = !{!21, !9, i64 0}
!21 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !9, i64 0, !14, i64 8, !9, i64 16}
!22 = !{!12, !9, i64 16}
!23 = !{!14, !14, i64 0}
!24 = !{!12, !14, i64 8}
!25 = !{!26, !10, i64 24}
!26 = !{!"_ZTSN7DynexCN20MultisignatureOutputE", !27, i64 0, !10, i64 24}
!27 = !{!"_ZTSSt6vectorIN6Crypto9PublicKeyESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN6Crypto9PublicKeyESaIS1_EE17_Vector_impl_dataE", !31, i64 0, !31, i64 8, !31, i64 16}
!31 = !{!"any pointer", !10, i64 0}


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