; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src (doc-verify)

; 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.UapkiNS::Doc::Verify::VerifiedSignerInfo" = type { %"class.UapkiNS::CertValidator::CertValidator", i8, i32, %"class.UapkiNS::Pkcs7::SignedDataParser::SignerInfo", ptr, i32, i32, i32, i64, %"class.std::vector.13", i32, %"class.std::__cxx11::basic_string", %"struct.UapkiNS::Doc::Verify::AttrTimeStamp", %"struct.UapkiNS::Doc::Verify::AttrTimeStamp", %"struct.UapkiNS::Doc::Verify::CadesXlInfo", %"struct.UapkiNS::Doc::Verify::AttrTimeStamp", %"class.UapkiNS::Pkcs7::ArchiveTs3Helper", i32, i8, i8, i64, %"class.std::vector.44", %"struct.UapkiNS::Doc::Verify::VerifiedSignerInfo::ListAddedCerts" }
%"class.UapkiNS::CertValidator::CertValidator" = type { ptr, ptr, ptr, %"class.std::vector.34", %"class.std::vector.39", %"class.UapkiNS::SmartBA", %"class.UapkiNS::SmartBA" }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCertItem *, std::allocator<UapkiNS::CertValidator::ExpectedCertItem *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCertItem *, std::allocator<UapkiNS::CertValidator::ExpectedCertItem *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCertItem *, std::allocator<UapkiNS::CertValidator::ExpectedCertItem *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCertItem *, std::allocator<UapkiNS::CertValidator::ExpectedCertItem *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCrlItem *, std::allocator<UapkiNS::CertValidator::ExpectedCrlItem *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCrlItem *, std::allocator<UapkiNS::CertValidator::ExpectedCrlItem *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCrlItem *, std::allocator<UapkiNS::CertValidator::ExpectedCrlItem *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::ExpectedCrlItem *, std::allocator<UapkiNS::CertValidator::ExpectedCrlItem *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.UapkiNS::SmartBA" = type { ptr }
%"class.UapkiNS::Pkcs7::SignedDataParser::SignerInfo" = type { ptr, i32, i64, %"class.UapkiNS::SmartBA", %"struct.UapkiNS::AlgorithmIdentifier", %"class.std::vector.8", %"struct.UapkiNS::AlgorithmIdentifier", %"class.UapkiNS::SmartBA", %"class.std::vector.8", %"class.UapkiNS::SmartBA", %"struct.UapkiNS::Pkcs7::SignedDataParser::SignerInfo::MandatoryAttrs" }
%"struct.UapkiNS::AlgorithmIdentifier" = type { %"class.std::__cxx11::basic_string", ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<UapkiNS::Attribute, std::allocator<UapkiNS::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Attribute, std::allocator<UapkiNS::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Attribute, std::allocator<UapkiNS::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Attribute, std::allocator<UapkiNS::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Pkcs7::SignedDataParser::SignerInfo::MandatoryAttrs" = type { %"class.std::__cxx11::basic_string", %"class.UapkiNS::SmartBA" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<UapkiNS::AttrCertId, std::allocator<UapkiNS::AttrCertId>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::AttrCertId, std::allocator<UapkiNS::AttrCertId>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::AttrCertId, std::allocator<UapkiNS::AttrCertId>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::AttrCertId, std::allocator<UapkiNS::AttrCertId>>::_Vector_impl_data" = type { ptr, 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] }
%"struct.UapkiNS::Doc::Verify::CadesXlInfo" = type { i8, i8, i8, i8, %"class.std::vector.13", %"class.UapkiNS::VectorBA", %"class.UapkiNS::AttributeHelper::RevocationRefsParser", %"class.UapkiNS::AttributeHelper::RevocationValuesParser", %"class.UapkiNS::VectorBA", i32, %"class.std::vector.18" }
%"class.UapkiNS::AttributeHelper::RevocationRefsParser" = type { ptr, i64 }
%"class.UapkiNS::AttributeHelper::RevocationValuesParser" = type { %"class.UapkiNS::VectorBA", %"class.UapkiNS::VectorBA", %"struct.UapkiNS::Attribute" }
%"struct.UapkiNS::Attribute" = type { %"class.std::__cxx11::basic_string", ptr }
%"class.UapkiNS::VectorBA" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<ByteArray_st *, std::allocator<ByteArray_st *>>::_Vector_impl" }
%"struct.std::_Vector_base<ByteArray_st *, std::allocator<ByteArray_st *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ByteArray_st *, std::allocator<ByteArray_st *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ByteArray_st *, std::allocator<ByteArray_st *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<UapkiNS::VerifyStatus, std::allocator<UapkiNS::VerifyStatus>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::VerifyStatus, std::allocator<UapkiNS::VerifyStatus>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::VerifyStatus, std::allocator<UapkiNS::VerifyStatus>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::VerifyStatus, std::allocator<UapkiNS::VerifyStatus>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Doc::Verify::AttrTimeStamp" = type { %"class.UapkiNS::Tsp::TsTokenParser", %"class.UapkiNS::Pkcs7::SignedDataParser::SignerInfo", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.UapkiNS::SmartBA", i64, ptr, i32, i32 }
%"class.UapkiNS::Tsp::TsTokenParser" = type { %"class.UapkiNS::Pkcs7::SignedDataParser", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", ptr, ptr, i64, i8, i8, ptr }
%"class.UapkiNS::Pkcs7::SignedDataParser" = type { ptr, i32, %"class.std::vector", %"struct.UapkiNS::Pkcs7::EncapsulatedContentInfo", %"class.UapkiNS::VectorBA", %"class.UapkiNS::VectorBA", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Pkcs7::EncapsulatedContentInfo" = type { %"class.std::__cxx11::basic_string", ptr }
%"class.UapkiNS::Pkcs7::ArchiveTs3Helper" = type { ptr, i32, %"struct.UapkiNS::Pkcs7::ArchiveTs3Helper::ATSHashIndex", %struct.anon, %"class.UapkiNS::SmartBA" }
%"struct.UapkiNS::Pkcs7::ArchiveTs3Helper::ATSHashIndex" = type { %"class.UapkiNS::VectorBA", %"class.UapkiNS::VectorBA", %"class.UapkiNS::VectorBA" }
%struct.anon = type { %"class.UapkiNS::SmartBA", %"class.UapkiNS::SmartBA", %"class.UapkiNS::SmartBA", %"class.UapkiNS::SmartBA" }
%"class.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::CertChainItem *, std::allocator<UapkiNS::CertValidator::CertChainItem *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::CertChainItem *, std::allocator<UapkiNS::CertValidator::CertChainItem *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::CertValidator::CertChainItem *, std::allocator<UapkiNS::CertValidator::CertChainItem *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::CertValidator::CertChainItem *, std::allocator<UapkiNS::CertValidator::CertChainItem *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Doc::Verify::VerifiedSignerInfo::ListAddedCerts" = type { %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.24" }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<UapkiNS::Cert::CerItem *, std::allocator<UapkiNS::Cert::CerItem *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Cert::CerItem *, std::allocator<UapkiNS::Cert::CerItem *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Cert::CerItem *, std::allocator<UapkiNS::Cert::CerItem *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Cert::CerItem *, std::allocator<UapkiNS::Cert::CerItem *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [21 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo21verifySignedAttributeEv(ptr noundef nonnull align 8 dereferenceable(2568) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  %5 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %6 = call noundef i64 @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo10getSidTypeEv(ptr noundef nonnull align 8 dereferenceable(216) %5)
  switch i64 %6, label %16 [
    i64 1, label %7
    i64 2, label %14
  ]

7:                                                ; preds = %1
  %8 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 10
  %9 = load i32, ptr %8, align 8, !tbaa !11
  %10 = icmp eq i32 %9, 2
  %11 = zext i1 %10 to i64
  %12 = select i1 %10, i32 3, i32 2
  %13 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 17
  store i32 %12, ptr %13, align 8, !tbaa !76
  br label %21

14:                                               ; preds = %1
  %15 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 17
  store i32 2, ptr %15, align 8, !tbaa !76
  br label %21

16:                                               ; preds = %1
  br label %17

17:                                               ; preds = %16
  store i32 4145, ptr %3, align 4, !tbaa !9
  %18 = load i32, ptr %3, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1038, i32 noundef %18, ptr noundef null)
  br label %65

19:                                               ; No predecessors!
  br label %20

20:                                               ; preds = %19
  br label %21

21:                                               ; preds = %20, %14, %7
  %22 = call noundef ptr @_ZNK7UapkiNS13CertValidator13CertValidator11getCerStoreEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %23 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %24 = call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo13getSidEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %23)
  %25 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 4
  %26 = call noundef i32 @_ZN7UapkiNS4Cert8CerStore12getCertBySIDEPK12ByteArray_stPPNS0_7CerItemE(ptr noundef nonnull align 8 dereferenceable(96) %22, ptr noundef %24, ptr noundef %25)
  store i32 %26, ptr %3, align 4, !tbaa !9
  %27 = load i32, ptr %3, align 4, !tbaa !9
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %42

29:                                               ; preds = %21
  %30 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %31 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo21getSignatureAlgorithmEv(ptr noundef nonnull align 8 dereferenceable(216) %30)
  %32 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %31, i32 0, i32 0
  %33 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #4
  %34 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %35 = call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo21getSignedAttrsEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %34)
  %36 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 4
  %37 = load ptr, ptr %36, align 8, !tbaa !77
  %38 = call noundef ptr @_ZNK7UapkiNS4Cert7CerItem7getSpkiEv(ptr noundef nonnull align 8 dereferenceable(401) %37)
  %39 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %40 = call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo12getSignatureEv(ptr noundef nonnull align 8 dereferenceable(216) %39)
  %41 = call noundef i32 @_ZN7UapkiNS6Verify15verifySignatureEPKcPK12ByteArray_stbS5_S5_(ptr noundef %33, ptr noundef %35, i1 noundef zeroext false, ptr noundef %38, ptr noundef %40)
  store i32 %41, ptr %3, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %29, %21
  %43 = load i32, ptr %3, align 4, !tbaa !9
  switch i32 %43, label %62 [
    i32 0, label %44
    i32 3, label %46
    i32 4161, label %48
  ]

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 6
  store i32 5, ptr %45, align 4, !tbaa !78
  br label %64

46:                                               ; preds = %42
  %47 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 6
  store i32 4, ptr %47, align 4, !tbaa !78
  br label %64

48:                                               ; preds = %42
  %49 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 2
  store i32 4161, ptr %49, align 4, !tbaa !79
  %50 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 6
  store i32 2, ptr %50, align 4, !tbaa !78
  br label %51

51:                                               ; preds = %48
  %52 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 3
  %53 = call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo13getSidEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %52)
  %54 = call noundef i32 @_ZN7UapkiNS13CertValidator13CertValidator20addExpectedCertBySIDENS0_10CertEntityEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 1, ptr noundef %53)
  store i32 %54, ptr %3, align 4, !tbaa !9
  %55 = load i32, ptr %3, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %59

57:                                               ; preds = %51
  %58 = load i32, ptr %3, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1062, i32 noundef %58)
  br label %65

59:                                               ; preds = %51
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  br label %64

62:                                               ; preds = %42
  %63 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %4, i32 0, i32 6
  store i32 3, ptr %63, align 4, !tbaa !78
  br label %64

64:                                               ; preds = %62, %61, %46, %44
  br label %65

65:                                               ; preds = %64, %57, %17
  %66 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret i32 %66
}

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #2

declare noundef i32 @_ZN7UapkiNS4Cert8CerStore12getCertBySIDEPK12ByteArray_stPPNS0_7CerItemE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef, ptr noundef) #2

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

declare noundef i32 @_ZN7UapkiNS6Verify15verifySignatureEPKcPK12ByteArray_stbS5_S5_(ptr noundef, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #2

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

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

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

declare noundef i32 @_ZN7UapkiNS13CertValidator13CertValidator20addExpectedCertBySIDENS0_10CertEntityEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !36, i64 368}
!12 = !{!"_ZTSN7UapkiNS3Doc6Verify18VerifiedSignerInfoE", !13, i64 0, !23, i64 88, !10, i64 92, !24, i64 96, !6, i64 312, !35, i64 320, !36, i64 324, !36, i64 328, !29, i64 336, !37, i64 344, !36, i64 368, !27, i64 376, !41, i64 408, !41, i64 960, !54, i64 1512, !41, i64 1728, !62, i64 2280, !66, i64 2408, !23, i64 2412, !23, i64 2413, !29, i64 2416, !67, i64 2424, !71, i64 2448}
!13 = !{!"_ZTSN7UapkiNS13CertValidator13CertValidatorE", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !18, i64 48, !22, i64 72, !22, i64 80}
!14 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN7UapkiNS7SmartBAE", !6, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParser10SignerInfoE", !6, i64 0, !10, i64 8, !25, i64 16, !22, i64 24, !26, i64 32, !30, i64 72, !26, i64 96, !22, i64 136, !30, i64 144, !22, i64 168, !34, i64 176}
!25 = !{!"_ZTSN7UapkiNS5Pkcs720SignerIdentifierTypeE", !7, i64 0}
!26 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !27, i64 0, !6, i64 32}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !29, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTSSt6vectorIN7UapkiNS9AttributeESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParser10SignerInfo14MandatoryAttrsE", !27, i64 0, !22, i64 32}
!35 = !{!"_ZTSN7UapkiNS3Doc6Verify16ValidationStatusE", !7, i64 0}
!36 = !{!"_ZTSN7UapkiNS12VerifyStatusE", !7, i64 0}
!37 = !{!"_ZTSSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSN7UapkiNS3Doc6Verify13AttrTimeStampE", !42, i64 0, !24, i64 240, !27, i64 456, !27, i64 488, !22, i64 520, !29, i64 528, !6, i64 536, !36, i64 544, !36, i64 548}
!42 = !{!"_ZTSN7UapkiNS3Tsp13TsTokenParserE", !43, i64 0, !27, i64 136, !27, i64 168, !6, i64 200, !6, i64 208, !29, i64 216, !23, i64 224, !23, i64 225, !6, i64 232}
!43 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParserE", !6, i64 0, !10, i64 8, !44, i64 16, !48, i64 40, !49, i64 80, !49, i64 104, !29, i64 128}
!44 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSN7UapkiNS5Pkcs723EncapsulatedContentInfoE", !27, i64 0, !6, i64 32}
!49 = !{!"_ZTSN7UapkiNS8VectorBAE", !50, i64 0}
!50 = !{!"_ZTSSt6vectorIP12ByteArray_stSaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIP12ByteArray_stSaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSN7UapkiNS3Doc6Verify11CadesXlInfoE", !23, i64 0, !23, i64 1, !23, i64 2, !23, i64 3, !37, i64 8, !49, i64 32, !55, i64 56, !56, i64 72, !49, i64 160, !36, i64 184, !58, i64 192}
!55 = !{!"_ZTSN7UapkiNS15AttributeHelper20RevocationRefsParserE", !6, i64 0, !29, i64 8}
!56 = !{!"_ZTSN7UapkiNS15AttributeHelper22RevocationValuesParserE", !49, i64 0, !49, i64 24, !57, i64 48}
!57 = !{!"_ZTSN7UapkiNS9AttributeE", !27, i64 0, !6, i64 32}
!58 = !{!"_ZTSSt6vectorIN7UapkiNS12VerifyStatusESaIS1_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3HelperE", !6, i64 0, !63, i64 8, !64, i64 16, !65, i64 88, !22, i64 120}
!63 = !{!"_ZTS7HashAlg", !7, i64 0}
!64 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3Helper12ATSHashIndexE", !49, i64 0, !49, i64 24, !49, i64 48}
!65 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3HelperUt_E", !22, i64 0, !22, i64 8, !22, i64 16, !22, i64 24}
!66 = !{!"_ZTSN7UapkiNS15SignatureFormatE", !7, i64 0}
!67 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!71 = !{!"_ZTSN7UapkiNS3Doc6Verify18VerifiedSignerInfo14ListAddedCertsE", !72, i64 0, !72, i64 24, !72, i64 48, !72, i64 72, !72, i64 96}
!72 = !{!"_ZTSSt6vectorIPN7UapkiNS4Cert7CerItemESaIS3_EE", !73, i64 0}
!73 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE12_Vector_implE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!76 = !{!12, !66, i64 2408}
!77 = !{!12, !6, i64 312}
!78 = !{!12, !36, i64 324}
!79 = !{!12, !10, i64 92}


; 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"

@.str = external hidden unnamed_addr constant [21 x i8], align 1

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

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

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo21verifySignedAttributeEv(ptr noundef nonnull align 8 dereferenceable(2568) %0) local_unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 96
  %3 = tail call noundef i64 @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo10getSidTypeEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  switch i64 %3, label %9 [
    i64 1, label %4
    i64 2, label %10
  ]

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 368
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 2
  %8 = select i1 %7, i32 3, i32 2
  br label %10

9:                                                ; preds = %1
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1038, i32 noundef 4145, ptr noundef null)
  br label %38

10:                                               ; preds = %1, %4
  %.sink = phi i32 [ %8, %4 ], [ 2, %1 ]
  %11 = getelementptr inbounds i8, ptr %0, i64 2408
  store i32 %.sink, ptr %11, align 8, !tbaa !74
  %12 = tail call noundef ptr @_ZNK7UapkiNS13CertValidator13CertValidator11getCerStoreEv(ptr noundef nonnull align 8 dereferenceable(88) %0)
  %13 = tail call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo13getSidEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  %14 = getelementptr inbounds i8, ptr %0, i64 312
  %15 = tail call noundef i32 @_ZN7UapkiNS4Cert8CerStore12getCertBySIDEPK12ByteArray_stPPNS0_7CerItemE(ptr noundef nonnull align 8 dereferenceable(96) %12, ptr noundef %13, ptr noundef nonnull %14)
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %25

17:                                               ; preds = %10
  %18 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo21getSignatureAlgorithmEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  %19 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #3
  %20 = tail call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo21getSignedAttrsEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  %21 = load ptr, ptr %14, align 8, !tbaa !75
  %22 = tail call noundef ptr @_ZNK7UapkiNS4Cert7CerItem7getSpkiEv(ptr noundef nonnull align 8 dereferenceable(401) %21)
  %23 = tail call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo12getSignatureEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  %24 = tail call noundef i32 @_ZN7UapkiNS6Verify15verifySignatureEPKcPK12ByteArray_stbS5_S5_(ptr noundef %19, ptr noundef %20, i1 noundef zeroext false, ptr noundef %22, ptr noundef %23)
  br label %25

25:                                               ; preds = %17, %10
  %.0 = phi i32 [ %24, %17 ], [ %15, %10 ]
  switch i32 %.0, label %36 [
    i32 0, label %26
    i32 3, label %28
    i32 4161, label %30
  ]

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 5, ptr %27, align 4, !tbaa !76
  br label %38

28:                                               ; preds = %25
  %29 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 4, ptr %29, align 4, !tbaa !76
  br label %38

30:                                               ; preds = %25
  %31 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 4161, ptr %31, align 4, !tbaa !77
  %32 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 2, ptr %32, align 4, !tbaa !76
  %33 = tail call noundef ptr @_ZNK7UapkiNS5Pkcs716SignedDataParser10SignerInfo13getSidEncodedEv(ptr noundef nonnull align 8 dereferenceable(216) %2)
  %34 = tail call noundef i32 @_ZN7UapkiNS13CertValidator13CertValidator20addExpectedCertBySIDENS0_10CertEntityEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 1, ptr noundef %33)
  %.not = icmp eq i32 %34, 0
  br i1 %.not, label %38, label %35

35:                                               ; preds = %30
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1062, i32 noundef %34)
  br label %38

36:                                               ; preds = %25
  %37 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 3, ptr %37, align 4, !tbaa !76
  br label %38

38:                                               ; preds = %26, %28, %36, %30, %35, %9
  %.1 = phi i32 [ 4145, %9 ], [ %.0, %36 ], [ %34, %35 ], [ 0, %30 ], [ 3, %28 ], [ 0, %26 ]
  ret i32 %.1
}

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare noundef i32 @_ZN7UapkiNS4Cert8CerStore12getCertBySIDEPK12ByteArray_stPPNS0_7CerItemE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare noundef i32 @_ZN7UapkiNS6Verify15verifySignatureEPKcPK12ByteArray_stbS5_S5_(ptr noundef, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

declare noundef i32 @_ZN7UapkiNS13CertValidator13CertValidator20addExpectedCertBySIDENS0_10CertEntityEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !34, i64 368}
!6 = !{!"_ZTSN7UapkiNS3Doc6Verify18VerifiedSignerInfoE", !7, i64 0, !20, i64 88, !21, i64 92, !22, i64 96, !8, i64 312, !33, i64 320, !34, i64 324, !34, i64 328, !27, i64 336, !35, i64 344, !34, i64 368, !25, i64 376, !39, i64 408, !39, i64 960, !52, i64 1512, !39, i64 1728, !60, i64 2280, !64, i64 2408, !20, i64 2412, !20, i64 2413, !27, i64 2416, !65, i64 2424, !69, i64 2448}
!7 = !{!"_ZTSN7UapkiNS13CertValidator13CertValidatorE", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !15, i64 48, !19, i64 72, !19, i64 80}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!15 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!19 = !{!"_ZTSN7UapkiNS7SmartBAE", !8, i64 0}
!20 = !{!"bool", !9, i64 0}
!21 = !{!"int", !9, i64 0}
!22 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParser10SignerInfoE", !8, i64 0, !21, i64 8, !23, i64 16, !19, i64 24, !24, i64 32, !28, i64 72, !24, i64 96, !19, i64 136, !28, i64 144, !19, i64 168, !32, i64 176}
!23 = !{!"_ZTSN7UapkiNS5Pkcs720SignerIdentifierTypeE", !9, i64 0}
!24 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !25, i64 0, !8, i64 32}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !27, i64 8, !9, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !8, i64 0}
!27 = !{!"long", !9, i64 0}
!28 = !{!"_ZTSSt6vectorIN7UapkiNS9AttributeESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!32 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParser10SignerInfo14MandatoryAttrsE", !25, i64 0, !19, i64 32}
!33 = !{!"_ZTSN7UapkiNS3Doc6Verify16ValidationStatusE", !9, i64 0}
!34 = !{!"_ZTSN7UapkiNS12VerifyStatusE", !9, i64 0}
!35 = !{!"_ZTSSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS10AttrCertIdESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!39 = !{!"_ZTSN7UapkiNS3Doc6Verify13AttrTimeStampE", !40, i64 0, !22, i64 240, !25, i64 456, !25, i64 488, !19, i64 520, !27, i64 528, !8, i64 536, !34, i64 544, !34, i64 548}
!40 = !{!"_ZTSN7UapkiNS3Tsp13TsTokenParserE", !41, i64 0, !25, i64 136, !25, i64 168, !8, i64 200, !8, i64 208, !27, i64 216, !20, i64 224, !20, i64 225, !8, i64 232}
!41 = !{!"_ZTSN7UapkiNS5Pkcs716SignedDataParserE", !8, i64 0, !21, i64 8, !42, i64 16, !46, i64 40, !47, i64 80, !47, i64 104, !27, i64 128}
!42 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!46 = !{!"_ZTSN7UapkiNS5Pkcs723EncapsulatedContentInfoE", !25, i64 0, !8, i64 32}
!47 = !{!"_ZTSN7UapkiNS8VectorBAE", !48, i64 0}
!48 = !{!"_ZTSSt6vectorIP12ByteArray_stSaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIP12ByteArray_stSaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!52 = !{!"_ZTSN7UapkiNS3Doc6Verify11CadesXlInfoE", !20, i64 0, !20, i64 1, !20, i64 2, !20, i64 3, !35, i64 8, !47, i64 32, !53, i64 56, !54, i64 72, !47, i64 160, !34, i64 184, !56, i64 192}
!53 = !{!"_ZTSN7UapkiNS15AttributeHelper20RevocationRefsParserE", !8, i64 0, !27, i64 8}
!54 = !{!"_ZTSN7UapkiNS15AttributeHelper22RevocationValuesParserE", !47, i64 0, !47, i64 24, !55, i64 48}
!55 = !{!"_ZTSN7UapkiNS9AttributeE", !25, i64 0, !8, i64 32}
!56 = !{!"_ZTSSt6vectorIN7UapkiNS12VerifyStatusESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS12VerifyStatusESaIS1_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!60 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3HelperE", !8, i64 0, !61, i64 8, !62, i64 16, !63, i64 88, !19, i64 120}
!61 = !{!"_ZTS7HashAlg", !9, i64 0}
!62 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3Helper12ATSHashIndexE", !47, i64 0, !47, i64 24, !47, i64 48}
!63 = !{!"_ZTSN7UapkiNS5Pkcs716ArchiveTs3HelperUt_E", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24}
!64 = !{!"_ZTSN7UapkiNS15SignatureFormatE", !9, i64 0}
!65 = !{!"_ZTSSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!69 = !{!"_ZTSN7UapkiNS3Doc6Verify18VerifiedSignerInfo14ListAddedCertsE", !70, i64 0, !70, i64 24, !70, i64 48, !70, i64 72, !70, i64 96}
!70 = !{!"_ZTSSt6vectorIPN7UapkiNS4Cert7CerItemESaIS3_EE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS4Cert7CerItemESaIS3_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!74 = !{!6, !64, i64 2408}
!75 = !{!6, !8, i64 312}
!76 = !{!6, !34, i64 324}
!77 = !{!6, !21, i64 92}


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