; 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::ValidationStatusHelper" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.49" = type { ptr }
%"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::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.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 i32 @__gxx_personality_v0(...)

; 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 dso_local ptr @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo19validateStatusCertsEv(ptr noundef nonnull align 8 dereferenceable(2568) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.UapkiNS::Doc::Verify::ValidationStatusHelper", align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector.34", align 8
  %10 = alloca %"class.std::vector.39", align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i1, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %16 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %15, i32 0, i32 5
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelperC2ERNS1_16ValidationStatusE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %17 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper11isUndefinedEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %17, label %20, label %18

18:                                               ; preds = %1
  %19 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper13isTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %19, label %20, label %21

20:                                               ; preds = %18, %1
  store i32 1, ptr %4, align 4
  br label %81

21:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %22 = getelementptr inbounds %"class.UapkiNS::Doc::Verify::VerifiedSignerInfo", ptr %15, i32 0, i32 21
  store ptr %22, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call ptr @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  %25 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %6, i32 0, i32 0
  store ptr %24, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call ptr @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  %28 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.49", ptr %7, i32 0, i32 0
  store ptr %27, ptr %28, align 8
  br label %29

29:                                               ; preds = %54, %21
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  store i32 2, ptr %4, align 4
  br label %56

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  store ptr %33, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = call noundef i32 @_ZNK7UapkiNS13CertValidator13CertChainItem15getVerifyStatusEv(ptr noundef nonnull align 8 dereferenceable(280) %35)
  switch i32 %36, label %41 [
    i32 5, label %37
    i32 1, label %40
    i32 4, label %40
  ]

37:                                               ; preds = %32
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper18setByCertChainItemERKNS_13CertValidator13CertChainItemE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(280) %39)
  br label %42

40:                                               ; preds = %32, %32
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper16setIndeterminateEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br label %42

41:                                               ; preds = %32
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper14setTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br label %42

42:                                               ; preds = %41, %40, %37
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = call noundef zeroext i1 @_ZNK7UapkiNS13CertValidator13CertChainItem9isExpiredEv(ptr noundef nonnull align 8 dereferenceable(280) %44)
  br i1 %45, label %46, label %47

46:                                               ; preds = %42
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper14setTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br label %47

47:                                               ; preds = %46, %42
  %48 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper13isTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %48, label %49, label %50

49:                                               ; preds = %47
  store i32 1, ptr %4, align 4
  br label %51

50:                                               ; preds = %47
  store i32 0, ptr %4, align 4
  br label %51

51:                                               ; preds = %50, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %52 = load i32, ptr %4, align 4
  switch i32 %52, label %56 [
    i32 0, label %53
  ]

53:                                               ; preds = %51
  br label %54

54:                                               ; preds = %53
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br label %29

56:                                               ; preds = %51, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %57 = load i32, ptr %4, align 4
  switch i32 %57, label %81 [
    i32 2, label %58
  ]

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  call void @_ZNK7UapkiNS13CertValidator13CertValidator20getExpectedCertItemsEv(ptr dead_on_unwind writable sret(%"class.std::vector.34") align 8 %9, ptr noundef nonnull align 8 dereferenceable(88) %15)
  %59 = call noundef zeroext i1 @_ZNKSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  store i1 false, ptr %11, align 1
  store i1 false, ptr %14, align 1
  br i1 %59, label %60, label %64

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #4
  store i1 true, ptr %11, align 1
  invoke void @_ZNK7UapkiNS13CertValidator13CertValidator19getExpectedCrlItemsEv(ptr dead_on_unwind writable sret(%"class.std::vector.39") align 8 %10, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %61 unwind label %73

61:                                               ; preds = %60
  store i1 true, ptr %14, align 1
  %62 = call noundef zeroext i1 @_ZNKSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %63 = xor i1 %62, true
  br label %64

64:                                               ; preds = %61, %58
  %65 = phi i1 [ true, %58 ], [ %63, %61 ]
  %66 = load i1, ptr %14, align 1
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %68

68:                                               ; preds = %67, %64
  %69 = load i1, ptr %11, align 1
  br i1 %69, label %70, label %71

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  br label %71

71:                                               ; preds = %70, %68
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  br i1 %65, label %72, label %80

72:                                               ; preds = %71
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper16setIndeterminateEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br label %80

73:                                               ; preds = %60
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %12, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %13, align 4
  %77 = load i1, ptr %11, align 1
  br i1 %77, label %78, label %79

78:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  br label %79

79:                                               ; preds = %78, %73
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %84

80:                                               ; preds = %72, %71
  store i32 0, ptr %4, align 4
  br label %81

81:                                               ; preds = %80, %56, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %82 = load i32, ptr %4, align 4
  switch i32 %82, label %89 [
    i32 0, label %83
    i32 1, label %83
  ]

83:                                               ; preds = %81, %81
  ret void

84:                                               ; preds = %79
  %85 = load ptr, ptr %12, align 8
  %86 = load i32, ptr %13, align 4
  %87 = insertvalue { ptr, i32 } poison, ptr %85, 0
  %88 = insertvalue { ptr, i32 } %87, i32 %86, 1
  resume { ptr, i32 } %88

89:                                               ; preds = %81
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7UapkiNS13CertValidator13CertChainItem15getVerifyStatusEv(ptr noundef nonnull align 8 dereferenceable(280)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UapkiNS13CertValidator13CertValidator20getExpectedCertItemsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.34") align 8, ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UapkiNS13CertValidator13CertValidator19getExpectedCrlItemsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.39") align 8, ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 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 = { 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 #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"}


; 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.UapkiNS::Doc::Verify::ValidationStatusHelper" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.49" = type { ptr }
%"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 }

declare i32 @__gxx_personality_v0(...)

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7UapkiNS3Doc6Verify18VerifiedSignerInfo19validateStatusCertsEv(ptr noundef nonnull align 8 dereferenceable(2568) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.UapkiNS::Doc::Verify::ValidationStatusHelper", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.49", align 8
  %5 = alloca %"class.std::vector.34", align 8
  %6 = alloca %"class.std::vector.39", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 320
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelperC2ERNS1_16ValidationStatusE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %8 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper11isUndefinedEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br i1 %8, label %39, label %9

9:                                                ; preds = %1
  %10 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper13isTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br i1 %10, label %39, label %11

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %0, i64 2424
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %13 = call ptr @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  store ptr %13, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %14 = call ptr @_ZNSt6vectorIPN7UapkiNS13CertValidator13CertChainItemESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  store ptr %14, ptr %4, align 8
  %15 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %11, %29
  %16 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = call noundef i32 @_ZNK7UapkiNS13CertValidator13CertChainItem15getVerifyStatusEv(ptr noundef nonnull align 8 dereferenceable(280) %17)
  switch i32 %18, label %22 [
    i32 5, label %19
    i32 1, label %21
    i32 4, label %21
  ]

19:                                               ; preds = %.lr.ph
  %20 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper18setByCertChainItemERKNS_13CertValidator13CertChainItemE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(280) %20)
  br label %23

21:                                               ; preds = %.lr.ph, %.lr.ph
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper16setIndeterminateEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %23

22:                                               ; preds = %.lr.ph
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper14setTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %23

23:                                               ; preds = %22, %21, %19
  %24 = load ptr, ptr %16, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK7UapkiNS13CertValidator13CertChainItem9isExpiredEv(ptr noundef nonnull align 8 dereferenceable(280) %24)
  br i1 %25, label %26, label %27

26:                                               ; preds = %23
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper14setTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %27

27:                                               ; preds = %26, %23
  %28 = call noundef zeroext i1 @_ZNK7UapkiNS3Doc6Verify22ValidationStatusHelper13isTotalFailedEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br i1 %28, label %32, label %29

29:                                               ; preds = %27
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS13CertValidator13CertChainItemESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  br i1 %31, label %.lr.ph, label %._crit_edge

32:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %39

._crit_edge:                                      ; preds = %29, %11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNK7UapkiNS13CertValidator13CertValidator20getExpectedCertItemsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.34") align 8 %5, ptr noundef nonnull align 8 dereferenceable(88) %0)
  %33 = call noundef zeroext i1 @_ZNKSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br i1 %33, label %34, label %.critedge16.thread

.critedge16.thread:                               ; preds = %._crit_edge
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  br label %36

34:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  invoke void @_ZNK7UapkiNS13CertValidator13CertValidator19getExpectedCrlItemsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.39") align 8 %6, ptr noundef nonnull align 8 dereferenceable(88) %0)
          to label %.critedge16 unwind label %37

.critedge16:                                      ; preds = %34
  %35 = call noundef zeroext i1 @_ZNKSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator15ExpectedCrlItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  br i1 %35, label %39, label %36

36:                                               ; preds = %.critedge16.thread, %.critedge16
  call void @_ZN7UapkiNS3Doc6Verify22ValidationStatusHelper16setIndeterminateEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %39

37:                                               ; preds = %34
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNSt6vectorIPN7UapkiNS13CertValidator16ExpectedCertItemESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  resume { ptr, i32 } %38

39:                                               ; preds = %32, %.critedge16, %36, %1, %9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7UapkiNS13CertValidator13CertChainItem15getVerifyStatusEv(ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UapkiNS13CertValidator13CertValidator20getExpectedCertItemsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.34") align 8, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UapkiNS13CertValidator13CertValidator19getExpectedCrlItemsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.39") align 8, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

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

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

attributes #0 = { mustprogress 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 = { 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 #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"}


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