; LLVM IR from specinfo-ua/UAPKI :: library/common/pkix (signeddata-helper)

; 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::Pkcs7::SignedDataBuilder" = type { ptr, %"class.std::vector", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *, std::allocator<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *, std::allocator<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *, std::allocator<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *, std::allocator<UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.SignedData = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.DigestAlgorithmIdentifiers, %struct.EncapsulatedContentInfo, ptr, ptr, %struct.SignerInfos, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.DigestAlgorithmIdentifiers = type { %struct.anon, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%struct.EncapsulatedContentInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.SignerInfos = type { %struct.anon.3, %struct.asn_struct_ctx_s }
%struct.anon.3 = type { ptr, i32, i32, ptr }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%struct.CertificateChoices = type { i32, %"union.CertificateChoices::CertificateChoices_u", %struct.asn_struct_ctx_s }
%"union.CertificateChoices::CertificateChoices_u" = type { %struct.ExtendedCertificate }
%struct.ExtendedCertificate = type { %struct.ExtendedCertificateInfo, %struct.AlgorithmIdentifier, %struct.Signature, %struct.asn_struct_ctx_s }
%struct.ExtendedCertificateInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.Certificate, %struct.Attributes, %struct.asn_struct_ctx_s }
%struct.Certificate = type { %struct.TBSCertificate, %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, %struct.asn_struct_ctx_s }
%struct.TBSCertificate = type { ptr, %struct.ASN__PRIMITIVE_TYPE_s, %struct.AlgorithmIdentifier, %struct.Name, %struct.Validity, %struct.Name, %struct.SubjectPublicKeyInfo, ptr, ptr, ptr, %struct.asn_struct_ctx_s }
%struct.Validity = type { %struct.PKIXTime, %struct.PKIXTime, %struct.asn_struct_ctx_s }
%struct.PKIXTime = type { i32, %"union.PKIXTime::PKIXTime_u", %struct.asn_struct_ctx_s }
%"union.PKIXTime::PKIXTime_u" = type { %struct.OCTET_STRING }
%struct.OCTET_STRING = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.Name = type { i32, %"union.Name::Name_u", %struct.asn_struct_ctx_s }
%"union.Name::Name_u" = type { %struct.RDNSequence }
%struct.RDNSequence = type { %struct.anon.4, %struct.asn_struct_ctx_s }
%struct.anon.4 = type { ptr, i32, i32, ptr }
%struct.SubjectPublicKeyInfo = type { %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, %struct.asn_struct_ctx_s }
%struct.BIT_STRING_s = type { ptr, i32, i32, %struct.asn_struct_ctx_s }
%struct.Attributes = type { %struct.anon.5, %struct.asn_struct_ctx_s }
%struct.anon.5 = type { ptr, i32, i32, ptr }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.Signature = type { %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, ptr, %struct.asn_struct_ctx_s }

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

declare void @asn_free(ptr noundef, ptr noundef) #0

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

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs717SignedDataBuilder14addCertificateEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder", ptr %9, i32 0, i32 0
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %16

13:                                               ; preds = %2
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %17, label %16

16:                                               ; preds = %13, %2
  store i32 4101, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %74

17:                                               ; preds = %13
  %18 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder", ptr %9, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = getelementptr inbounds %struct.SignedData, ptr %19, i32 0, i32 3
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = icmp ne ptr %21, null
  br i1 %22, label %39, label %23

23:                                               ; preds = %17
  %24 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 48) #5
  %25 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder", ptr %9, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = getelementptr inbounds %struct.SignedData, ptr %26, i32 0, i32 3
  store ptr %24, ptr %27, align 8, !tbaa !17
  br label %28

28:                                               ; preds = %23
  %29 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder", ptr %9, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds %struct.SignedData, ptr %30, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = icmp eq ptr %32, null
  br i1 %33, label %34, label %36

34:                                               ; preds = %28
  store i32 1, ptr %6, align 4, !tbaa !9
  %35 = load i32, ptr %6, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 133, i32 noundef %35, ptr noundef null)
  br label %70

36:                                               ; preds = %28
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38, %17
  %40 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 984) #5
  store ptr %40, ptr %7, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %39
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = icmp eq ptr %42, null
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  store i32 1, ptr %6, align 4, !tbaa !9
  %45 = load i32, ptr %6, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 136, i32 noundef %45, ptr noundef null)
  br label %70

46:                                               ; preds = %41
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.CertificateChoices, ptr %49, i32 0, i32 0
  store i32 1, ptr %50, align 8, !tbaa !28
  br label %51

51:                                               ; preds = %48
  %52 = call ptr @get_Certificate_desc()
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.CertificateChoices, ptr %53, i32 0, i32 1
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call i32 @asn_decode_ba(ptr noundef %52, ptr noundef %54, ptr noundef %55)
  store i32 %56, ptr %6, align 4, !tbaa !9
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %61

59:                                               ; preds = %51
  %60 = load i32, ptr %6, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 138, i32 noundef %60)
  br label %70

61:                                               ; preds = %51
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  %64 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder", ptr %9, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct.SignedData, ptr %65, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call i32 @asn_set_add(ptr noundef %67, ptr noundef %68)
  store ptr null, ptr %7, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %63, %59, %44, %34
  %71 = call ptr @get_CertificateChoices_desc()
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  call void @asn_free(ptr noundef %71, ptr noundef %72)
  %73 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %73, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %74

74:                                               ; preds = %70, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %75 = load i32, ptr %3, align 4
  ret i32 %75
}

declare i32 @asn_decode_ba(ptr noundef, ptr noundef, ptr noundef) #0

declare ptr @get_Certificate_desc() #0

declare i32 @asn_set_add(ptr noundef, ptr noundef) #0

declare ptr @get_CertificateChoices_desc() #0

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

!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, !6, i64 0}
!12 = !{!"_ZTSN7UapkiNS5Pkcs717SignedDataBuilderE", !6, i64 0, !13, i64 8, !6, i64 32}
!13 = !{!"_ZTSSt6vectorIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!18, !6, i64 112}
!18 = !{!"_ZTS10SignedData", !19, i64 0, !20, i64 16, !25, i64 64, !6, i64 112, !6, i64 120, !26, i64 128, !22, i64 176}
!19 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!20 = !{!"_ZTS26DigestAlgorithmIdentifiers", !21, i64 0, !22, i64 24}
!21 = !{!"_ZTSN26DigestAlgorithmIdentifiersUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!22 = !{!"_ZTS16asn_struct_ctx_s", !23, i64 0, !23, i64 2, !10, i64 4, !6, i64 8, !24, i64 16}
!23 = !{!"short", !7, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTS23EncapsulatedContentInfo", !19, i64 0, !6, i64 16, !22, i64 24}
!26 = !{!"_ZTS11SignerInfos", !27, i64 0, !22, i64 24}
!27 = !{!"_ZTSN11SignerInfosUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!28 = !{!29, !30, i64 0}
!29 = !{!"_ZTS18CertificateChoices", !30, i64 0, !7, i64 8, !22, i64 960}
!30 = !{!"_ZTS21CertificateChoices_PR", !7, i64 0}


; 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 [34 x i8], align 1

declare void @asn_free(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs717SignedDataBuilder14addCertificateEPK12ByteArray_st(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = icmp ne ptr %3, null
  %5 = icmp ne ptr %1, null
  %or.cond = and i1 %5, %4
  br i1 %or.cond, label %6, label %29

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %3, i64 112
  %8 = load ptr, ptr %7, align 8, !tbaa !14
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %13

9:                                                ; preds = %6
  %10 = tail call noalias dereferenceable_or_null(48) ptr @calloc(i64 noundef 1, i64 noundef 48) #3
  store ptr %10, ptr %7, align 8, !tbaa !14
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %13

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

13:                                               ; preds = %9, %6
  %14 = tail call noalias dereferenceable_or_null(984) ptr @calloc(i64 noundef 1, i64 noundef 984) #3
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %13
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 136, i32 noundef 1, ptr noundef null)
  br label %27

17:                                               ; preds = %13
  store i32 1, ptr %14, align 8, !tbaa !26
  %18 = tail call ptr @get_Certificate_desc()
  %19 = getelementptr inbounds i8, ptr %14, i64 8
  %20 = tail call i32 @asn_decode_ba(ptr noundef %18, ptr noundef nonnull %19, ptr noundef nonnull %1)
  %.not21 = icmp eq i32 %20, 0
  br i1 %.not21, label %22, label %21

21:                                               ; preds = %17
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 138, i32 noundef %20)
  br label %27

22:                                               ; preds = %17
  %23 = load ptr, ptr %0, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 112
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = tail call i32 @asn_set_add(ptr noundef %25, ptr noundef nonnull %14)
  br label %27

27:                                               ; preds = %22, %21, %16, %12
  %.014 = phi i32 [ 1, %16 ], [ %20, %21 ], [ 0, %22 ], [ 1, %12 ]
  %.0 = phi ptr [ null, %16 ], [ %14, %21 ], [ null, %22 ], [ null, %12 ]
  %28 = tail call ptr @get_CertificateChoices_desc()
  tail call void @asn_free(ptr noundef %28, ptr noundef %.0)
  br label %29

29:                                               ; preds = %2, %27
  %.015 = phi i32 [ %.014, %27 ], [ 4101, %2 ]
  ret i32 %.015
}

declare i32 @asn_decode_ba(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @get_Certificate_desc() local_unnamed_addr #0

declare i32 @asn_set_add(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @get_CertificateChoices_desc() local_unnamed_addr #0

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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN7UapkiNS5Pkcs717SignedDataBuilderE", !7, i64 0, !10, i64 8, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoESaIS4_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!15, !7, i64 112}
!15 = !{!"_ZTS10SignedData", !16, i64 0, !18, i64 16, !23, i64 64, !7, i64 112, !7, i64 120, !24, i64 128, !20, i64 176}
!16 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !7, i64 0, !17, i64 8}
!17 = !{!"int", !8, i64 0}
!18 = !{!"_ZTS26DigestAlgorithmIdentifiers", !19, i64 0, !20, i64 24}
!19 = !{!"_ZTSN26DigestAlgorithmIdentifiersUt_E", !7, i64 0, !17, i64 8, !17, i64 12, !7, i64 16}
!20 = !{!"_ZTS16asn_struct_ctx_s", !21, i64 0, !21, i64 2, !17, i64 4, !7, i64 8, !22, i64 16}
!21 = !{!"short", !8, i64 0}
!22 = !{!"long", !8, i64 0}
!23 = !{!"_ZTS23EncapsulatedContentInfo", !16, i64 0, !7, i64 16, !20, i64 24}
!24 = !{!"_ZTS11SignerInfos", !25, i64 0, !20, i64 24}
!25 = !{!"_ZTSN11SignerInfosUt_E", !7, i64 0, !17, i64 8, !17, i64 12, !7, i64 16}
!26 = !{!27, !28, i64 0}
!27 = !{!"_ZTS18CertificateChoices", !28, i64 0, !8, i64 8, !20, i64 960}
!28 = !{!"_ZTS21CertificateChoices_PR", !8, i64 0}


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