; LLVM IR from dynexcoin/Dynex :: src/DynexCNCore (Currency)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"struct.DynexCN::KeyPair" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.27" }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.22" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::BaseInput" = type { i32 }
%"class.boost::variant.37" = type { i32, [4 x i8], %"class.boost::aligned_storage.38" }
%"class.boost::aligned_storage.38" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.39" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.39" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<64, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<64, 8>::data_t" = type { [64 x i8] }
%"struct.Crypto::KeyDerivation" = type { [32 x i8] }
%"class.boost::value_initialized.35" = type { %"class.boost::initialized.36" }
%"class.boost::initialized.36" = type { %"struct.Crypto::KeyDerivation" }
%"class.boost::value_initialized.0" = type { %"class.boost::initialized.1" }
%"class.boost::initialized.1" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::KeyOutput" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::TransactionOutput" = type { i64, %"class.boost::variant" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" = type { [32 x i8] }
%"class.DynexCN::CurrencyBuilder" = type { %"class.DynexCN::Currency" }
%"class.DynexCN::Currency" = type { i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, %"struct.DynexCN::Block", %"struct.Crypto::Hash", %"class.Logging::LoggerRef" }
%"struct.DynexCN::Block" = type { %"struct.DynexCN::BlockHeader", %"struct.DynexCN::ParentBlock", %"struct.DynexCN::Transaction", %"class.std::vector.7" }
%"struct.DynexCN::BlockHeader" = type { i8, i8, i32, i64, %"struct.Crypto::Hash" }
%"struct.DynexCN::ParentBlock" = type { i8, i8, %"struct.Crypto::Hash", i16, %"class.std::vector.7", %"struct.DynexCN::Transaction", %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl" = type { %"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Crypto::Hash, std::allocator<Crypto::Hash>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"class.Logging::LoggerRef" = type { ptr, %"class.std::__cxx11::basic_string" }
%"struct.DynexCN::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }

@.str.9 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE = external hidden unnamed_addr constant [108 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [11 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.54 = external hidden unnamed_addr constant [7 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

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

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

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

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

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

declare void @_ZN7DynexCN15generateKeyPairEv(ptr dead_on_unwind writable sret(%"struct.DynexCN::KeyPair") align 1) #5

declare noundef zeroext i1 @_ZN7DynexCN30addTransactionPublicKeyToExtraERSt6vectorIhSaIhEERKN6Crypto9PublicKeyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6Crypto17derive_public_keyERKNS_13KeyDerivationEmRKNS_9PublicKeyERS3_(ptr noundef nonnull align 1 dereferenceable(32), i64 noundef, ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(32)) #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEEC2IS2_EERT_NS_9enable_ifINS_3mpl3or_INSA_4and_INSA_4not_INS_8is_constIS7_EEEENSD_INS_7is_sameIS7_S5_EEEENS_6detail7variant29is_variant_constructible_fromIS8_NSA_6l_itemIN4mpl_5long_ILl3EEES2_NSN_INSP_ILl2EEES3_NSN_INSP_ILl1EEES4_NSA_5l_endEEEEEEEEENSO_5bool_ILb1EEESZ_EENSH_IS7_NS_18recursive_variant_EEENSY_ILb0EEES13_S13_EEbE4typeE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"struct.DynexCN::Transaction") align 8 %0, ptr noundef nonnull align 8 dereferenceable(984) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %"struct.DynexCN::KeyPair", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.DynexCN::BaseInput", align 4
  %12 = alloca %"class.boost::variant.37", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"struct.Crypto::KeyDerivation", align 1
  %18 = alloca %"class.boost::value_initialized.35", align 1
  %19 = alloca %"struct.Crypto::PublicKey", align 1
  %20 = alloca %"class.boost::value_initialized.0", align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca %"struct.DynexCN::KeyOutput", align 1
  %24 = alloca %"struct.DynexCN::TransactionOutput", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #8
  %29 = xor i1 %28, true
  br i1 %29, label %30, label %31

30:                                               ; preds = %3
  br label %33

31:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.51, ptr noundef @.str.9, i32 noundef 851, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  store i1 false, ptr %7, align 1
  call void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  %34 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 2
  call void @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  %35 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 3
  call void @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  %36 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 4
  call void @_ZNSt6vectorIhSaIhEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  %37 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 0
  store i8 1, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.DynexCN::CurrencyBuilder", ptr %26, i32 0, i32 0
  %39 = getelementptr inbounds %"class.DynexCN::Currency", ptr %38, i32 0, i32 4
  %40 = load i64, ptr %39, align 8, !tbaa !24
  %41 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 1
  store i64 %40, ptr %41, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #8
  invoke void @_ZN7DynexCN15generateKeyPairEv(ptr dead_on_unwind writable sret(%"struct.DynexCN::KeyPair") align 1 %8)
          to label %42 unwind label %70

42:                                               ; preds = %33
  %43 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 4
  %44 = getelementptr inbounds %"struct.DynexCN::KeyPair", ptr %8, i32 0, i32 0
  %45 = invoke noundef zeroext i1 @_ZN7DynexCN30addTransactionPublicKeyToExtraERSt6vectorIhSaIhEERKN6Crypto9PublicKeyE(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 1 dereferenceable(32) %44)
          to label %46 unwind label %70

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %47 = getelementptr inbounds %"struct.DynexCN::BaseInput", ptr %11, i32 0, i32 0
  store i32 0, ptr %47, align 4, !tbaa !47
  %48 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #8
  invoke void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEEC2IS2_EERT_NS_9enable_ifINS_3mpl3or_INSA_4and_INSA_4not_INS_8is_constIS7_EEEENSD_INS_7is_sameIS7_S5_EEEENS_6detail7variant29is_variant_constructible_fromIS8_NSA_6l_itemIN4mpl_5long_ILl3EEES2_NSN_INSP_ILl2EEES3_NSN_INSP_ILl1EEES4_NSA_5l_endEEEEEEEEENSO_5bool_ILb1EEESZ_EENSH_IS7_NS_18recursive_variant_EEENSY_ILb0EEES13_S13_EEbE4typeE(ptr noundef nonnull align 8 dereferenceable(72) %12, ptr noundef nonnull align 4 dereferenceable(4) %11, i1 noundef zeroext true)
          to label %49 unwind label %74

49:                                               ; preds = %46
  invoke void @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %50 unwind label %78

50:                                               ; preds = %49
  call void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %51 = getelementptr inbounds %"class.DynexCN::CurrencyBuilder", ptr %26, i32 0, i32 0
  %52 = getelementptr inbounds %"class.DynexCN::Currency", ptr %51, i32 0, i32 14
  %53 = load i64, ptr %52, align 8, !tbaa !49
  store i64 %53, ptr %13, align 8, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %54 = load i64, ptr %13, align 8, !tbaa !50
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %57 = udiv i64 %54, %56
  store i64 %57, ptr %14, align 8, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %58 = load i64, ptr %14, align 8, !tbaa !50
  %59 = load i64, ptr %13, align 8, !tbaa !50
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  %62 = urem i64 %59, %61
  %63 = add i64 %58, %62
  store i64 %63, ptr %15, align 8, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i64 0, ptr %16, align 8, !tbaa !50
  br label %64

64:                                               ; preds = %162, %50
  %65 = load i64, ptr %16, align 8, !tbaa !50
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  %68 = icmp ult i64 %65, %67
  br i1 %68, label %83, label %69

69:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %183

70:                                               ; preds = %42, %33
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %9, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %10, align 4
  br label %186

74:                                               ; preds = %46
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %9, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %10, align 4
  br label %82

78:                                               ; preds = %49
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %9, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %10, align 4
  call void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #8
  br label %82

82:                                               ; preds = %78, %74
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #8
  br label %185

83:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %18)
          to label %84 unwind label %104

84:                                               ; preds = %83
  %85 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %18)
          to label %86 unwind label %104

86:                                               ; preds = %84
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %17, ptr align 1 %85, i64 32, i1 false), !tbaa.struct !51
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %20)
          to label %87 unwind label %108

87:                                               ; preds = %86
  %88 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %20)
          to label %89 unwind label %108

89:                                               ; preds = %87
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 %88, i64 32, i1 false), !tbaa.struct !51
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load i64, ptr %16, align 8, !tbaa !50
  %92 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #8
  %93 = getelementptr inbounds %"struct.DynexCN::AccountPublicAddress", ptr %92, i32 0, i32 1
  %94 = getelementptr inbounds %"struct.DynexCN::KeyPair", ptr %8, i32 0, i32 1
  %95 = invoke noundef zeroext i1 @_ZN6Crypto23generate_key_derivationERKNS_9PublicKeyERKNS_9SecretKeyERNS_13KeyDerivationE(ptr noundef nonnull align 1 dereferenceable(32) %93, ptr noundef nonnull align 1 dereferenceable(32) %94, ptr noundef nonnull align 1 dereferenceable(32) %17)
          to label %96 unwind label %112

96:                                               ; preds = %89
  %97 = zext i1 %95 to i8
  store i8 %97, ptr %21, align 1, !tbaa !53
  %98 = load i8, ptr %21, align 1, !tbaa !53, !range !54, !noundef !55
  %99 = trunc i8 %98 to i1
  %100 = zext i1 %99 to i32
  %101 = icmp eq i32 %100, 1
  br i1 %101, label %102, label %103

102:                                              ; preds = %96
  br label %117

103:                                              ; preds = %96
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.9, i32 noundef 871, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

104:                                              ; preds = %84, %83
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %9, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  br label %182

108:                                              ; preds = %87, %86
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %9, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  br label %181

112:                                              ; preds = %89
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %9, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %10, align 4
  br label %180

116:                                              ; No predecessors!
  br label %117

117:                                              ; preds = %116, %102
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  %118 = load i64, ptr %16, align 8, !tbaa !50
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i64, ptr %16, align 8, !tbaa !50
  %121 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %120) #8
  %122 = getelementptr inbounds %"struct.DynexCN::AccountPublicAddress", ptr %121, i32 0, i32 0
  %123 = invoke noundef zeroext i1 @_ZN6Crypto17derive_public_keyERKNS_13KeyDerivationEmRKNS_9PublicKeyERS3_(ptr noundef nonnull align 1 dereferenceable(32) %17, i64 noundef %118, ptr noundef nonnull align 1 dereferenceable(32) %122, ptr noundef nonnull align 1 dereferenceable(32) %19)
          to label %124 unwind label %132

124:                                              ; preds = %117
  %125 = zext i1 %123 to i8
  store i8 %125, ptr %22, align 1, !tbaa !53
  %126 = load i8, ptr %22, align 1, !tbaa !53, !range !54, !noundef !55
  %127 = trunc i8 %126 to i1
  %128 = zext i1 %127 to i32
  %129 = icmp eq i32 %128, 1
  br i1 %129, label %130, label %131

130:                                              ; preds = %124
  br label %137

131:                                              ; preds = %124
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.9, i32 noundef 874, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

132:                                              ; preds = %117
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %9, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %10, align 4
  br label %179

136:                                              ; No predecessors!
  br label %137

137:                                              ; preds = %136, %130
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  %138 = getelementptr inbounds %"struct.DynexCN::KeyOutput", ptr %23, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %138, ptr align 1 %19, i64 32, i1 false), !tbaa.struct !51
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  call void @_ZN7DynexCN17TransactionOutputC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  %139 = load i64, ptr %16, align 8, !tbaa !50
  %140 = icmp eq i64 %139, 0
  br i1 %140, label %141, label %143

141:                                              ; preds = %137
  %142 = load i64, ptr %15, align 8, !tbaa !50
  br label %145

143:                                              ; preds = %137
  %144 = load i64, ptr %14, align 8, !tbaa !50
  br label %145

145:                                              ; preds = %143, %141
  %146 = phi i64 [ %142, %141 ], [ %144, %143 ]
  %147 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %24, i32 0, i32 0
  store i64 %146, ptr %147, align 8, !tbaa !56
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.54)
          to label %149 unwind label %165

149:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  %150 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %24, i32 0, i32 0
  %151 = load i64, ptr %150, align 8, !tbaa !56
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, i64 noundef %151)
          to label %152 unwind label %169

152:                                              ; preds = %149
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %154 unwind label %173

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %156 unwind label %173

156:                                              ; preds = %154
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  %157 = getelementptr inbounds %"struct.DynexCN::TransactionOutput", ptr %24, i32 0, i32 1
  %158 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEEaSIS2_EENS_9enable_ifINS_3mpl3or_INS_7is_sameIT_S4_EENS_6detail7variant29is_variant_constructible_fromIRKSA_NS7_6l_itemIN4mpl_5long_ILl2EEES2_NSH_INSJ_ILl1EEES3_NS7_5l_endEEEEEEENSI_5bool_ILb0EEESR_SR_EERS4_E4typeESG_(ptr noundef nonnull align 8 dereferenceable(40) %157, ptr noundef nonnull align 1 dereferenceable(32) %23)
          to label %159 unwind label %165

159:                                              ; preds = %156
  %160 = getelementptr inbounds %"struct.DynexCN::TransactionPrefix", ptr %0, i32 0, i32 3
  invoke void @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %161 unwind label %165

161:                                              ; preds = %159
  call void @_ZN7DynexCN17TransactionOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %162

162:                                              ; preds = %161
  %163 = load i64, ptr %16, align 8, !tbaa !50
  %164 = add i64 %163, 1
  store i64 %164, ptr %16, align 8, !tbaa !50
  br label %64, !llvm.loop !61

165:                                              ; preds = %159, %156, %145
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %9, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %10, align 4
  br label %178

169:                                              ; preds = %149
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %9, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %10, align 4
  br label %177

173:                                              ; preds = %154, %152
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %9, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %177

177:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %178

178:                                              ; preds = %177, %165
  call void @_ZN7DynexCN17TransactionOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  br label %179

179:                                              ; preds = %178, %132
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %180

180:                                              ; preds = %179, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  br label %181

181:                                              ; preds = %180, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %182

182:                                              ; preds = %181, %104
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %185

183:                                              ; preds = %69
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #8
  %184 = load i1, ptr %7, align 1
  br i1 %184, label %188, label %187

185:                                              ; preds = %182, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %186

186:                                              ; preds = %185, %70
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #8
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  br label %189

187:                                              ; preds = %183
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  br label %188

188:                                              ; preds = %187, %183
  ret void

189:                                              ; preds = %186
  %190 = load ptr, ptr %9, align 8
  %191 = load i32, ptr %10, align 4
  %192 = insertvalue { ptr, i32 } poison, ptr %190, 0
  %193 = insertvalue { ptr, i32 } %192, i32 %191, 1
  resume { ptr, i32 } %193
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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, !7, i64 0}
!10 = !{!"_ZTSN7DynexCN17TransactionPrefixE", !7, i64 0, !11, i64 8, !12, i64 16, !16, i64 40, !20, i64 64}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIhSaIhEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!25, !11, i64 32}
!25 = !{!"_ZTSN7DynexCN15CurrencyBuilderE", !26, i64 0}
!26 = !{!"_ZTSN7DynexCN8CurrencyE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !27, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !27, i64 336, !27, i64 340, !27, i64 344, !27, i64 348, !27, i64 352, !27, i64 356, !28, i64 360, !28, i64 392, !28, i64 424, !28, i64 456, !28, i64 488, !30, i64 520, !31, i64 528, !33, i64 912, !45, i64 944}
!27 = !{!"int", !7, i64 0}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !11, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"_ZTSN7DynexCN5BlockE", !32, i64 0, !34, i64 48, !40, i64 248, !36, i64 360}
!32 = !{!"_ZTSN7DynexCN11BlockHeaderE", !7, i64 0, !7, i64 1, !27, i64 4, !11, i64 8, !33, i64 16}
!33 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!34 = !{!"_ZTSN7DynexCN11ParentBlockE", !7, i64 0, !7, i64 1, !33, i64 2, !35, i64 34, !36, i64 40, !40, i64 64, !36, i64 176}
!35 = !{!"short", !7, i64 0}
!36 = !{!"_ZTSSt6vectorIN6Crypto4HashESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN6Crypto4HashESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTSN7DynexCN11TransactionE", !10, i64 0, !41, i64 88}
!41 = !{!"_ZTSSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN7Logging9LoggerRefE", !6, i64 0, !28, i64 8}
!46 = !{!10, !11, i64 8}
!47 = !{!48, !27, i64 0}
!48 = !{!"_ZTSN7DynexCN9BaseInputE", !27, i64 0}
!49 = !{!25, !11, i64 112}
!50 = !{!11, !11, i64 0}
!51 = !{i64 0, i64 32, !52}
!52 = !{!7, !7, i64 0}
!53 = !{!30, !30, i64 0}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!57, !11, i64 0}
!57 = !{!"_ZTSN7DynexCN17TransactionOutputE", !11, i64 0, !58, i64 8}
!58 = !{!"_ZTSN5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEEE", !27, i64 0, !59, i64 8}
!59 = !{!"_ZTSN5boost15aligned_storageILm32ELm8EEE", !60, i64 0}
!60 = !{!"_ZTSN5boost6detail15aligned_storage19aligned_storage_impILm32ELm8EEE", !7, i64 0}
!61 = distinct !{!61, !62}
!62 = !{!"llvm.loop.mustprogress"}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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.std::locale" = type { ptr }
%"struct.DynexCN::KeyPair" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::SecretKey" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.DynexCN::Transaction" = type { %"struct.DynexCN::TransactionPrefix", %"class.std::vector.27" }
%"struct.DynexCN::TransactionPrefix" = type { i8, i64, %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.22" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>, std::allocator<boost::variant<DynexCN::BaseInput, DynexCN::KeyInput, DynexCN::MultisignatureInput>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutput, std::allocator<DynexCN::TransactionOutput>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Crypto::Signature>, std::allocator<std::vector<Crypto::Signature>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.DynexCN::BaseInput" = type { i32 }
%"class.boost::variant.37" = type { i32, [4 x i8], %"class.boost::aligned_storage.38" }
%"class.boost::aligned_storage.38" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.39" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.39" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<64, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<64, 8>::data_t" = type { [64 x i8] }
%"struct.Crypto::KeyDerivation" = type { [32 x i8] }
%"class.boost::value_initialized.35" = type { %"class.boost::initialized.36" }
%"class.boost::initialized.36" = type { %"struct.Crypto::KeyDerivation" }
%"class.boost::value_initialized.0" = type { %"class.boost::initialized.1" }
%"class.boost::initialized.1" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::KeyOutput" = type { %"struct.Crypto::PublicKey" }
%"struct.DynexCN::TransactionOutput" = type { i64, %"class.boost::variant" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<32, 8>::data_t" = type { [32 x i8] }

@.str.9 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE = external hidden unnamed_addr constant [108 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [11 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.54 = external hidden unnamed_addr constant [7 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

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

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

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

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

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

declare void @_ZN7DynexCN15generateKeyPairEv(ptr dead_on_unwind writable sret(%"struct.DynexCN::KeyPair") align 1) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN7DynexCN30addTransactionPublicKeyToExtraERSt6vectorIhSaIhEERKN6Crypto9PublicKeyE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #5

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEEC2IS2_EERT_NS_9enable_ifINS_3mpl3or_INSA_4and_INSA_4not_INS_8is_constIS7_EEEENSD_INS_7is_sameIS7_S5_EEEENS_6detail7variant29is_variant_constructible_fromIS8_NSA_6l_itemIN4mpl_5long_ILl3EEES2_NSN_INSP_ILl2EEES3_NSN_INSP_ILl1EEES4_NSA_5l_endEEEEEEEEENSO_5bool_ILb1EEESZ_EENSH_IS7_NS_18recursive_variant_EEENSY_ILb0EEES13_S13_EEbE4typeE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(4), i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"struct.DynexCN::Transaction") align 8 %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(984) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.DynexCN::KeyPair", align 1
  %5 = alloca %"struct.DynexCN::BaseInput", align 4
  %6 = alloca %"class.boost::variant.37", align 8
  %7 = alloca %"struct.Crypto::KeyDerivation", align 1
  %8 = alloca %"class.boost::value_initialized.35", align 1
  %9 = alloca %"struct.Crypto::PublicKey", align 1
  %10 = alloca %"class.boost::value_initialized.0", align 1
  %11 = alloca %"struct.DynexCN::KeyOutput", align 1
  %12 = alloca %"struct.DynexCN::TransactionOutput", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = tail call noundef zeroext i1 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.9, i32 noundef 851, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

16:                                               ; preds = %3
  tail call void @_ZN7DynexCN11TransactionC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %19 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorIhSaIhEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  store i8 1, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load i64, ptr %20, align 8, !tbaa !23
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %21, ptr %22, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  invoke void @_ZN7DynexCN15generateKeyPairEv(ptr dead_on_unwind nonnull writable sret(%"struct.DynexCN::KeyPair") align 1 %4)
          to label %23 unwind label %66

23:                                               ; preds = %16
  %24 = invoke noundef zeroext i1 @_ZN7DynexCN30addTransactionPublicKeyToExtraERSt6vectorIhSaIhEERKN6Crypto9PublicKeyE(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 1 dereferenceable(32) %4)
          to label %25 unwind label %66

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  store i32 0, ptr %5, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #8
  invoke void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEEC2IS2_EERT_NS_9enable_ifINS_3mpl3or_INSA_4and_INSA_4not_INS_8is_constIS7_EEEENSD_INS_7is_sameIS7_S5_EEEENS_6detail7variant29is_variant_constructible_fromIS8_NSA_6l_itemIN4mpl_5long_ILl3EEES2_NSN_INSP_ILl2EEES3_NSN_INSP_ILl1EEES4_NSA_5l_endEEEEEEEEENSO_5bool_ILb1EEESZ_EENSH_IS7_NS_18recursive_variant_EEENSY_ILb0EEES13_S13_EEbE4typeE(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef nonnull align 4 dereferenceable(4) %5, i1 noundef zeroext true)
          to label %26 unwind label %68

26:                                               ; preds = %25
  invoke void @_ZNSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(72) %6)
          to label %27 unwind label %70

27:                                               ; preds = %26
  call void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #8
  %28 = getelementptr inbounds i8, ptr %1, i64 112
  %29 = load i64, ptr %28, align 8, !tbaa !48
  %30 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %31 = udiv i64 %29, %30
  %32 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %33 = urem i64 %29, %32
  %34 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %.not = icmp eq i64 %34, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %27
  %35 = getelementptr inbounds i8, ptr %4, i64 32
  %36 = getelementptr inbounds i8, ptr %12, i64 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %8)
          to label %37 unwind label %.loopexit.split-lp

37:                                               ; preds = %.lr.ph
  %38 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %8)
          to label %39 unwind label %.loopexit.split-lp

39:                                               ; preds = %37
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(32) %38, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %40 unwind label %.loopexit.split-lp46

40:                                               ; preds = %39
  %41 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %42 unwind label %.loopexit.split-lp46

42:                                               ; preds = %40
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(32) %41, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  %43 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #8
  %44 = getelementptr inbounds i8, ptr %43, i64 32
  %45 = invoke noundef zeroext i1 @_ZN6Crypto23generate_key_derivationERKNS_9PublicKeyERKNS_9SecretKeyERNS_13KeyDerivationE(ptr noundef nonnull align 1 dereferenceable(32) %44, ptr noundef nonnull align 1 dereferenceable(32) %35, ptr noundef nonnull align 1 dereferenceable(32) %7)
          to label %46 unwind label %.loopexit.split-lp51

46:                                               ; preds = %42
  br i1 %45, label %47, label %.loopexit55

47:                                               ; preds = %46
  %48 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #8
  %49 = invoke noundef zeroext i1 @_ZN6Crypto17derive_public_keyERKNS_13KeyDerivationEmRKNS_9PublicKeyERS3_(ptr noundef nonnull align 1 dereferenceable(32) %7, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(32) %48, ptr noundef nonnull align 1 dereferenceable(32) %9)
          to label %50 unwind label %.loopexit.split-lp57

50:                                               ; preds = %47
  br i1 %49, label %51, label %.loopexit61

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #8
  call void @_ZN7DynexCN17TransactionOutputC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  %52 = add i64 %33, %31
  store i64 %52, ptr %12, align 8, !tbaa !51
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.54)
          to label %54 unwind label %.loopexit.split-lp63

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %55 = load i64, ptr %12, align 8, !tbaa !51
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i64 noundef %55)
          to label %56 unwind label %.loopexit.split-lp68

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %58 unwind label %.loopexit.split-lp73

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %60 unwind label %.loopexit.split-lp73

60:                                               ; preds = %58
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  %61 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEEaSIS2_EENS_9enable_ifINS_3mpl3or_INS_7is_sameIT_S4_EENS_6detail7variant29is_variant_constructible_fromIRKSA_NS7_6l_itemIN4mpl_5long_ILl2EEES2_NSH_INSJ_ILl1EEES3_NS7_5l_endEEEEEEENSI_5bool_ILb0EEESR_SR_EERS4_E4typeESG_(ptr noundef nonnull align 8 dereferenceable(40) %36, ptr noundef nonnull align 1 dereferenceable(32) %11)
          to label %62 unwind label %.loopexit.split-lp63

62:                                               ; preds = %60
  invoke void @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %63 unwind label %.loopexit.split-lp63

63:                                               ; preds = %62
  call void @_ZN7DynexCN17TransactionOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  %64 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %65 = icmp ugt i64 %64, 1
  br i1 %65, label %.peel.next, label %._crit_edge

._crit_edge:                                      ; preds = %100, %63, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  ret void

66:                                               ; preds = %23, %16
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %110

68:                                               ; preds = %25
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %26
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost7variantIN7DynexCN9BaseInputEJNS1_8KeyInputENS1_19MultisignatureInputEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6) #8
  br label %72

72:                                               ; preds = %70, %68
  %.pn = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #8
  br label %109

.peel.next:                                       ; preds = %63, %100
  %.02243 = phi i64 [ %101, %100 ], [ 1, %63 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %8)
          to label %73 unwind label %.loopexit

73:                                               ; preds = %.peel.next
  %74 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto13KeyDerivationEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %8)
          to label %75 unwind label %.loopexit

75:                                               ; preds = %73
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(32) %74, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEC2Ev(ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %76 unwind label %.loopexit45

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 1 dereferenceable(32) ptr @_ZN5boost17value_initializedIN6Crypto9PublicKeyEEcvRS2_Ev(ptr noundef nonnull align 1 dereferenceable(32) %10)
          to label %78 unwind label %.loopexit45

78:                                               ; preds = %76
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(32) %77, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  %79 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.02243) #8
  %80 = getelementptr inbounds i8, ptr %79, i64 32
  %81 = invoke noundef zeroext i1 @_ZN6Crypto23generate_key_derivationERKNS_9PublicKeyERKNS_9SecretKeyERNS_13KeyDerivationE(ptr noundef nonnull align 1 dereferenceable(32) %80, ptr noundef nonnull align 1 dereferenceable(32) %35, ptr noundef nonnull align 1 dereferenceable(32) %7)
          to label %82 unwind label %.loopexit50

82:                                               ; preds = %78
  br i1 %81, label %85, label %.loopexit55

.loopexit55:                                      ; preds = %82, %46
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.9, i32 noundef 871, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

.loopexit:                                        ; preds = %.peel.next, %73
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %83

.loopexit.split-lp:                               ; preds = %.lr.ph, %37
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %108

.loopexit45:                                      ; preds = %75, %76
  %lpad.loopexit47 = landingpad { ptr, i32 }
          cleanup
  br label %84

.loopexit.split-lp46:                             ; preds = %39, %40
  %lpad.loopexit.split-lp48 = landingpad { ptr, i32 }
          cleanup
  br label %84

84:                                               ; preds = %.loopexit.split-lp46, %.loopexit45
  %lpad.phi49 = phi { ptr, i32 } [ %lpad.loopexit47, %.loopexit45 ], [ %lpad.loopexit.split-lp48, %.loopexit.split-lp46 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %107

.loopexit50:                                      ; preds = %78
  %lpad.loopexit52 = landingpad { ptr, i32 }
          cleanup
  br label %107

.loopexit.split-lp51:                             ; preds = %42
  %lpad.loopexit.split-lp53 = landingpad { ptr, i32 }
          cleanup
  br label %107

85:                                               ; preds = %82
  %86 = call noundef nonnull align 1 dereferenceable(64) ptr @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.02243) #8
  %87 = invoke noundef zeroext i1 @_ZN6Crypto17derive_public_keyERKNS_13KeyDerivationEmRKNS_9PublicKeyERS3_(ptr noundef nonnull align 1 dereferenceable(32) %7, i64 noundef %.02243, ptr noundef nonnull align 1 dereferenceable(32) %86, ptr noundef nonnull align 1 dereferenceable(32) %9)
          to label %88 unwind label %.loopexit56

88:                                               ; preds = %85
  br i1 %87, label %89, label %.loopexit61

.loopexit61:                                      ; preds = %88, %50
  call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.9, i32 noundef 874, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN15CurrencyBuilder26generateGenesisTransactionERKSt6vectorINS_20AccountPublicAddressESaIS2_EE) #9
  unreachable

.loopexit56:                                      ; preds = %85
  %lpad.loopexit58 = landingpad { ptr, i32 }
          cleanup
  br label %107

.loopexit.split-lp57:                             ; preds = %47
  %lpad.loopexit.split-lp59 = landingpad { ptr, i32 }
          cleanup
  br label %107

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !49
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #8
  call void @_ZN7DynexCN17TransactionOutputC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  store i64 %31, ptr %12, align 8, !tbaa !51
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.54)
          to label %91 unwind label %.loopexit62

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %92 = load i64, ptr %12, align 8, !tbaa !51
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i64 noundef %92)
          to label %93 unwind label %.loopexit67

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %95 unwind label %.loopexit72

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %97 unwind label %.loopexit72

97:                                               ; preds = %95
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  %98 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEEaSIS2_EENS_9enable_ifINS_3mpl3or_INS_7is_sameIT_S4_EENS_6detail7variant29is_variant_constructible_fromIRKSA_NS7_6l_itemIN4mpl_5long_ILl2EEES2_NSH_INSJ_ILl1EEES3_NS7_5l_endEEEEEEENSI_5bool_ILb0EEESR_SR_EERS4_E4typeESG_(ptr noundef nonnull align 8 dereferenceable(40) %36, ptr noundef nonnull align 1 dereferenceable(32) %11)
          to label %99 unwind label %.loopexit62

99:                                               ; preds = %97
  invoke void @_ZNSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %100 unwind label %.loopexit62

100:                                              ; preds = %99
  call void @_ZN7DynexCN17TransactionOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  %101 = add nuw i64 %.02243, 1
  %102 = call noundef i64 @_ZNKSt6vectorIN7DynexCN20AccountPublicAddressESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %103 = icmp ult i64 %101, %102
  br i1 %103, label %.peel.next, label %._crit_edge, !llvm.loop !56

.loopexit62:                                      ; preds = %89, %97, %99
  %lpad.loopexit64 = landingpad { ptr, i32 }
          cleanup
  br label %106

.loopexit.split-lp63:                             ; preds = %51, %60, %62
  %lpad.loopexit.split-lp65 = landingpad { ptr, i32 }
          cleanup
  br label %106

.loopexit67:                                      ; preds = %91
  %lpad.loopexit69 = landingpad { ptr, i32 }
          cleanup
  br label %105

.loopexit.split-lp68:                             ; preds = %54
  %lpad.loopexit.split-lp70 = landingpad { ptr, i32 }
          cleanup
  br label %105

.loopexit72:                                      ; preds = %93, %95
  %lpad.loopexit74 = landingpad { ptr, i32 }
          cleanup
  br label %104

.loopexit.split-lp73:                             ; preds = %56, %58
  %lpad.loopexit.split-lp75 = landingpad { ptr, i32 }
          cleanup
  br label %104

104:                                              ; preds = %.loopexit.split-lp73, %.loopexit72
  %lpad.phi76 = phi { ptr, i32 } [ %lpad.loopexit74, %.loopexit72 ], [ %lpad.loopexit.split-lp75, %.loopexit.split-lp73 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %105

105:                                              ; preds = %.loopexit67, %.loopexit.split-lp68, %104
  %.pn33 = phi { ptr, i32 } [ %lpad.phi76, %104 ], [ %lpad.loopexit69, %.loopexit67 ], [ %lpad.loopexit.split-lp70, %.loopexit.split-lp68 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %106

106:                                              ; preds = %.loopexit62, %.loopexit.split-lp63, %105
  %.pn35 = phi { ptr, i32 } [ %.pn33, %105 ], [ %lpad.loopexit64, %.loopexit62 ], [ %lpad.loopexit.split-lp65, %.loopexit.split-lp63 ]
  call void @_ZN7DynexCN17TransactionOutputD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %107

107:                                              ; preds = %.loopexit56, %.loopexit.split-lp57, %.loopexit50, %.loopexit.split-lp51, %106, %84
  %.pn35.pn.pn.pn = phi { ptr, i32 } [ %lpad.phi49, %84 ], [ %.pn35, %106 ], [ %lpad.loopexit52, %.loopexit50 ], [ %lpad.loopexit.split-lp53, %.loopexit.split-lp51 ], [ %lpad.loopexit58, %.loopexit56 ], [ %lpad.loopexit.split-lp59, %.loopexit.split-lp57 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %108

108:                                              ; preds = %107, %83
  %.pn35.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn35.pn.pn.pn, %107 ], [ %lpad.phi, %83 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  br label %109

109:                                              ; preds = %108, %72
  %.pn35.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn35.pn.pn.pn.pn, %108 ], [ %.pn, %72 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %110

110:                                              ; preds = %109, %66
  %.pn35.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn35.pn.pn.pn.pn.pn, %109 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  call void @_ZN7DynexCN11TransactionD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  resume { ptr, i32 } %.pn35.pn.pn.pn.pn.pn.pn
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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, !7, i64 0}
!6 = !{!"_ZTSN7DynexCN17TransactionPrefixE", !7, i64 0, !9, i64 8, !10, i64 16, !15, i64 40, !19, i64 64}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"long", !7, i64 0}
!10 = !{!"_ZTSSt6vectorIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN5boost7variantIN7DynexCN9BaseInputEJNS2_8KeyInputENS2_19MultisignatureInputEEEESaIS6_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIN7DynexCN17TransactionOutputESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7DynexCN17TransactionOutputESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_ZTSSt6vectorIhSaIhEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!23 = !{!24, !9, i64 32}
!24 = !{!"_ZTSN7DynexCN15CurrencyBuilderE", !25, i64 0}
!25 = !{!"_ZTSN7DynexCN8CurrencyE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !26, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !26, i64 336, !26, i64 340, !26, i64 344, !26, i64 348, !26, i64 352, !26, i64 356, !27, i64 360, !27, i64 392, !27, i64 424, !27, i64 456, !27, i64 488, !29, i64 520, !30, i64 528, !32, i64 912, !44, i64 944}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !9, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"_ZTSN7DynexCN5BlockE", !31, i64 0, !33, i64 48, !39, i64 248, !35, i64 360}
!31 = !{!"_ZTSN7DynexCN11BlockHeaderE", !7, i64 0, !7, i64 1, !26, i64 4, !9, i64 8, !32, i64 16}
!32 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!33 = !{!"_ZTSN7DynexCN11ParentBlockE", !7, i64 0, !7, i64 1, !32, i64 2, !34, i64 34, !35, i64 40, !39, i64 64, !35, i64 176}
!34 = !{!"short", !7, i64 0}
!35 = !{!"_ZTSSt6vectorIN6Crypto4HashESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIN6Crypto4HashESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN6Crypto4HashESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!39 = !{!"_ZTSN7DynexCN11TransactionE", !6, i64 0, !40, i64 88}
!40 = !{!"_ZTSSt6vectorIS_IN6Crypto9SignatureESaIS1_EESaIS3_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt6vectorIN6Crypto9SignatureESaIS2_EESaIS4_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!44 = !{!"_ZTSN7Logging9LoggerRefE", !14, i64 0, !27, i64 8}
!45 = !{!6, !9, i64 8}
!46 = !{!47, !26, i64 0}
!47 = !{!"_ZTSN7DynexCN9BaseInputE", !26, i64 0}
!48 = !{!24, !9, i64 112}
!49 = !{i64 0, i64 32, !50}
!50 = !{!7, !7, i64 0}
!51 = !{!52, !9, i64 0}
!52 = !{!"_ZTSN7DynexCN17TransactionOutputE", !9, i64 0, !53, i64 8}
!53 = !{!"_ZTSN5boost7variantIN7DynexCN9KeyOutputEJNS1_20MultisignatureOutputEEEE", !26, i64 0, !54, i64 8}
!54 = !{!"_ZTSN5boost15aligned_storageILm32ELm8EEE", !55, i64 0}
!55 = !{!"_ZTSN5boost6detail15aligned_storage19aligned_storage_impILm32ELm8EEE", !7, i64 0}
!56 = distinct !{!56, !57, !58}
!57 = !{!"llvm.loop.mustprogress"}
!58 = !{!"llvm.loop.peeled.count", i32 1}


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