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

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

declare void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoD1Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(2568) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @_ZN7UapkiNS13CertValidator13CertValidatorC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5)
  %6 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 1
  store i8 0, ptr %6, align 8, !tbaa !9
  %7 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 2
  store i32 0, ptr %7, align 4, !tbaa !75
  %8 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 3
  invoke void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %8)
          to label %9 unwind label %34

9:                                                ; preds = %1
  %10 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 4
  store ptr null, ptr %10, align 8, !tbaa !76
  %11 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 5
  store i32 0, ptr %11, align 8, !tbaa !77
  %12 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 6
  store i32 0, ptr %12, align 4, !tbaa !78
  %13 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 7
  store i32 0, ptr %13, align 8, !tbaa !79
  %14 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 8
  store i64 0, ptr %14, align 8, !tbaa !80
  %15 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 9
  call void @_ZNSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %16 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 10
  store i32 0, ptr %16, align 8, !tbaa !81
  %17 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  %18 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 12
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %18)
          to label %19 unwind label %38

19:                                               ; preds = %9
  %20 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 13
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %20)
          to label %21 unwind label %42

21:                                               ; preds = %19
  %22 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 14
  invoke void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %22)
          to label %23 unwind label %46

23:                                               ; preds = %21
  %24 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 15
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %24)
          to label %25 unwind label %50

25:                                               ; preds = %23
  %26 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 16
  invoke void @_ZN7UapkiNS5Pkcs716ArchiveTs3HelperC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %26)
          to label %27 unwind label %54

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 17
  store i32 0, ptr %28, align 8, !tbaa !82
  %29 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 18
  store i8 0, ptr %29, align 4, !tbaa !83
  %30 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 19
  store i8 0, ptr %30, align 1, !tbaa !84
  %31 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 20
  store i64 0, ptr %31, align 8, !tbaa !85
  %32 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 21
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %33 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %5, i32 0, i32 22
  call void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo14ListAddedCertsC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #5
  ret void

34:                                               ; preds = %1
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %3, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %4, align 4
  br label %62

38:                                               ; preds = %9
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %3, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %4, align 4
  br label %61

42:                                               ; preds = %19
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %3, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %4, align 4
  br label %60

46:                                               ; preds = %21
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %3, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %4, align 4
  br label %59

50:                                               ; preds = %23
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  br label %58

54:                                               ; preds = %25
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %3, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %4, align 4
  call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %24) #5
  br label %58

58:                                               ; preds = %54, %50
  call void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(216) %22) #5
  br label %59

59:                                               ; preds = %58, %46
  call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %20) #5
  br label %60

60:                                               ; preds = %59, %42
  call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %18) #5
  br label %61

61:                                               ; preds = %60, %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoD1Ev(ptr noundef nonnull align 8 dereferenceable(216) %8) #5
  br label %62

62:                                               ; preds = %61, %34
  call void @_ZN7UapkiNS13CertValidator13CertValidatorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #5
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %3, align 8
  %65 = load i32, ptr %4, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67
}

declare void @_ZN7UapkiNS13CertValidator13CertValidatorC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0

declare void @_ZN7UapkiNS5Pkcs716ArchiveTs3HelperC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

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

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

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

; Function Attrs: nounwind
declare void @_ZN7UapkiNS13CertValidator13CertValidatorD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2

declare void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr)

declare void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr)

declare void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoC1Ev(ptr)

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


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

declare void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoD1Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(2568) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN7UapkiNS13CertValidator13CertValidatorC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %0)
  %2 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 0, ptr %2, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 0, ptr %3, align 4, !tbaa !74
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %4)
          to label %5 unwind label %27

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 312
  %7 = getelementptr inbounds i8, ptr %0, i64 336
  store i64 0, ptr %7, align 8, !tbaa !75
  %8 = getelementptr inbounds i8, ptr %0, i64 344
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %6, i8 0, i64 20, i1 false)
  tail call void @_ZNSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %9 = getelementptr inbounds i8, ptr %0, i64 368
  store i32 0, ptr %9, align 8, !tbaa !76
  %10 = getelementptr inbounds i8, ptr %0, i64 376
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %11 = getelementptr inbounds i8, ptr %0, i64 408
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %11)
          to label %12 unwind label %29

12:                                               ; preds = %5
  %13 = getelementptr inbounds i8, ptr %0, i64 960
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %13)
          to label %14 unwind label %31

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 1512
  invoke void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %15)
          to label %16 unwind label %33

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 1728
  invoke void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr noundef nonnull align 8 dereferenceable(552) %17)
          to label %18 unwind label %35

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %0, i64 2280
  invoke void @_ZN7UapkiNS5Pkcs716ArchiveTs3HelperC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %19)
          to label %20 unwind label %37

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 2408
  store i32 0, ptr %21, align 8, !tbaa !77
  %22 = getelementptr inbounds i8, ptr %0, i64 2412
  store i8 0, ptr %22, align 4, !tbaa !78
  %23 = getelementptr inbounds i8, ptr %0, i64 2413
  store i8 0, ptr %23, align 1, !tbaa !79
  %24 = getelementptr inbounds i8, ptr %0, i64 2416
  store i64 0, ptr %24, align 8, !tbaa !80
  %25 = getelementptr inbounds i8, ptr %0, i64 2424
  tail call void @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 2448
  tail call void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo14ListAddedCertsC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %26) #6
  ret void

27:                                               ; preds = %1
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %43

29:                                               ; preds = %5
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %42

31:                                               ; preds = %12
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %41

33:                                               ; preds = %14
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %40

35:                                               ; preds = %16
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %18
  %38 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %17) #6
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  tail call void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(216) %15) #6
  br label %40

40:                                               ; preds = %39, %33
  %.pn.pn = phi { ptr, i32 } [ %.pn, %39 ], [ %34, %33 ]
  tail call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %13) #6
  br label %41

41:                                               ; preds = %40, %31
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %40 ], [ %32, %31 ]
  tail call void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr noundef nonnull align 8 dereferenceable(552) %11) #6
  br label %42

42:                                               ; preds = %41, %29
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %41 ], [ %30, %29 ]
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  tail call void @_ZNSt6vectorIN7UapkiNS10AttrCertIdESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  tail call void @_ZN7UapkiNS5Pkcs716SignedDataParser10SignerInfoD1Ev(ptr noundef nonnull align 8 dereferenceable(216) %4) #6
  br label %43

43:                                               ; preds = %42, %27
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %42 ], [ %28, %27 ]
  tail call void @_ZN7UapkiNS13CertValidator13CertValidatorD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %0) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

declare void @_ZN7UapkiNS13CertValidator13CertValidatorC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0

declare void @_ZN7UapkiNS5Pkcs716ArchiveTs3HelperC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

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

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

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

; Function Attrs: nounwind
declare void @_ZN7UapkiNS13CertValidator13CertValidatorD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2

declare void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampC1Ev(ptr) local_unnamed_addr

declare void @_ZN7UapkiNS3Doc6Verify13AttrTimeStampD1Ev(ptr) local_unnamed_addr

declare void @_ZN7UapkiNS3Doc6Verify11CadesXlInfoC1Ev(ptr) local_unnamed_addr

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #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 = { 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 = { 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 #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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !20, i64 88}
!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, !21, i64 92}
!75 = !{!6, !27, i64 336}
!76 = !{!6, !34, i64 368}
!77 = !{!6, !64, i64 2408}
!78 = !{!6, !20, i64 2412}
!79 = !{!6, !20, i64 2413}
!80 = !{!6, !27, i64 2416}


; Effective O3 passes: GlobalOptPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass