; LLVM IR from specinfo-ua/UAPKI :: library/common/pkix (envelopeddata-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"

%struct.ContentInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.ANY, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.ANY = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%"class.UapkiNS::Pkcs7::EnvelopedDataParser" = type { ptr, i32, %"struct.UapkiNS::Pkcs7::EnvelopedDataParser::OriginatorInfo", %"class.std::vector.13", %"struct.UapkiNS::Pkcs7::EncryptedContentInfo", %"class.std::vector.18" }
%"struct.UapkiNS::Pkcs7::EnvelopedDataParser::OriginatorInfo" = type { %"class.UapkiNS::VectorBA", %"class.UapkiNS::VectorBA" }
%"class.UapkiNS::VectorBA" = type { %"class.std::vector.8" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<RecipientInfo_PR, std::allocator<RecipientInfo_PR>>::_Vector_impl" }
%"struct.std::_Vector_base<RecipientInfo_PR, std::allocator<RecipientInfo_PR>>::_Vector_impl" = type { %"struct.std::_Vector_base<RecipientInfo_PR, std::allocator<RecipientInfo_PR>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RecipientInfo_PR, std::allocator<RecipientInfo_PR>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Pkcs7::EncryptedContentInfo" = type { %"class.std::__cxx11::basic_string", %"struct.UapkiNS::AlgorithmIdentifier", 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::AlgorithmIdentifier" = type { %"class.std::__cxx11::basic_string", ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.EnvelopedData = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.RecipientInfos, %struct.EncryptedContentInfo, ptr, %struct.asn_struct_ctx_s }
%struct.RecipientInfos = type { %struct.anon, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%struct.EncryptedContentInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.AlgorithmIdentifier, ptr, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.RecipientInfo = type { i32, %"union.RecipientInfo::RecipientInfo_u", %struct.asn_struct_ctx_s }
%"union.RecipientInfo::RecipientInfo_u" = type { %struct.KeyAgreeRecipientInfo }
%struct.KeyAgreeRecipientInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.OriginatorIdentifierOrKey, ptr, %struct.AlgorithmIdentifier, %struct.RecipientEncryptedKeys, %struct.asn_struct_ctx_s }
%struct.OriginatorIdentifierOrKey = type { i32, %"union.OriginatorIdentifierOrKey::OriginatorIdentifierOrKey_u", %struct.asn_struct_ctx_s }
%"union.OriginatorIdentifierOrKey::OriginatorIdentifierOrKey_u" = type { %struct.IssuerAndSerialNumber }
%struct.IssuerAndSerialNumber = type { %struct.Name, %struct.ASN__PRIMITIVE_TYPE_s, %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.3, %struct.asn_struct_ctx_s }
%struct.anon.3 = type { ptr, i32, i32, ptr }
%struct.RecipientEncryptedKeys = type { %struct.anon.7, %struct.asn_struct_ctx_s }
%struct.anon.7 = type { ptr, i32, i32, ptr }
%struct.Attributes = type { %struct.anon.4, %struct.asn_struct_ctx_s }
%struct.anon.4 = type { ptr, i32, i32, ptr }

@.str = external hidden unnamed_addr constant [37 x i8], align 1
@OID_PKCS7_ENVELOPED_DATA = external global ptr, align 8

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

declare ptr @get_EnvelopedData_desc() #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

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

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

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) #0

declare ptr @get_ContentInfo_desc() #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser5parseEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !11
  br label %11

11:                                               ; preds = %2
  %12 = call ptr @get_ContentInfo_desc()
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call ptr @asn_decode_ba_with_alloc(ptr noundef %12, ptr noundef %13)
  store ptr %14, ptr %6, align 8, !tbaa !5
  %15 = icmp eq ptr null, %14
  br i1 %15, label %16, label %18

16:                                               ; preds = %11
  store i32 2, ptr %5, align 4, !tbaa !9
  %17 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 556, i32 noundef %17)
  br label %187

18:                                               ; preds = %11
  br label %19

19:                                               ; preds = %18
  br label %20

20:                                               ; preds = %19
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ContentInfo, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr @OID_PKCS7_ENVELOPED_DATA, align 8, !tbaa !5
  %24 = call zeroext i1 @OID_is_equal_oid(ptr noundef %22, ptr noundef %23)
  br i1 %24, label %30, label %25

25:                                               ; preds = %20
  br label %26

26:                                               ; preds = %25
  store i32 4144, ptr %5, align 4, !tbaa !9
  %27 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 559, i32 noundef %27, ptr noundef null)
  br label %187

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28
  br label %30

30:                                               ; preds = %29, %20
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ContentInfo, ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds %struct.ANY, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %42

36:                                               ; preds = %30
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ContentInfo, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds %struct.ANY, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !19
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %47, label %42

42:                                               ; preds = %36, %30
  br label %43

43:                                               ; preds = %42
  store i32 4144, ptr %5, align 4, !tbaa !9
  %44 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 563, i32 noundef %44, ptr noundef null)
  br label %187

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46, %36
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ContentInfo, ptr %49, i32 0, i32 1
  %51 = call ptr @get_EnvelopedData_desc()
  %52 = call ptr @asn_any2type(ptr noundef %50, ptr noundef %51)
  %53 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  store ptr %52, ptr %53, align 8, !tbaa !20
  %54 = icmp eq ptr null, %52
  br i1 %54, label %55, label %57

55:                                               ; preds = %48
  store i32 2, ptr %5, align 4, !tbaa !9
  %56 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 566, i32 noundef %56)
  br label %187

57:                                               ; preds = %48
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  %61 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !20
  %63 = getelementptr inbounds %struct.EnvelopedData, ptr %62, i32 0, i32 0
  %64 = call i32 @asn_INTEGER2long(ptr noundef %63, ptr noundef %7)
  store i32 %64, ptr %5, align 4, !tbaa !9
  %65 = load i32, ptr %5, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %69

67:                                               ; preds = %60
  %68 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 569, i32 noundef %68)
  br label %187

69:                                               ; preds = %60
  br label %70

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70
  %72 = load i64, ptr %7, align 8, !tbaa !11
  %73 = trunc i64 %72 to i32
  %74 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 1
  store i32 %73, ptr %74, align 8, !tbaa !40
  %75 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !20
  %77 = getelementptr inbounds %struct.EnvelopedData, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !41
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %95

80:                                               ; preds = %71
  br label %81

81:                                               ; preds = %80
  %82 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !20
  %84 = getelementptr inbounds %struct.EnvelopedData, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !41
  %86 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 2
  %87 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser19parseOriginatorInfoERK14OriginatorInfoRNS1_14OriginatorInfoE(ptr noundef nonnull align 8 dereferenceable(40) %85, ptr noundef nonnull align 8 dereferenceable(48) %86)
  store i32 %87, ptr %5, align 4, !tbaa !9
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %92

90:                                               ; preds = %81
  %91 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 574, i32 noundef %91)
  br label %187

92:                                               ; preds = %81
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94, %71
  %96 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !20
  %98 = getelementptr inbounds %struct.EnvelopedData, ptr %97, i32 0, i32 2
  %99 = getelementptr inbounds %struct.RecipientInfos, ptr %98, i32 0, i32 0
  %100 = getelementptr inbounds %struct.anon, ptr %99, i32 0, i32 1
  %101 = load i32, ptr %100, align 8, !tbaa !47
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %103, label %138

103:                                              ; preds = %95
  %104 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 3
  %105 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !20
  %107 = getelementptr inbounds %struct.EnvelopedData, ptr %106, i32 0, i32 2
  %108 = getelementptr inbounds %struct.RecipientInfos, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %struct.anon, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 8, !tbaa !47
  %111 = sext i32 %110 to i64
  call void @_ZNSt6vectorI16RecipientInfo_PRSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %111)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %112

112:                                              ; preds = %134, %103
  %113 = load i64, ptr %8, align 8, !tbaa !11
  %114 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 3
  %115 = call noundef i64 @_ZNKSt6vectorI16RecipientInfo_PRSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #4
  %116 = icmp ult i64 %113, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %137

118:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %119 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !20
  %121 = getelementptr inbounds %struct.EnvelopedData, ptr %120, i32 0, i32 2
  %122 = getelementptr inbounds %struct.RecipientInfos, ptr %121, i32 0, i32 0
  %123 = getelementptr inbounds %struct.anon, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !48
  %125 = load i64, ptr %8, align 8, !tbaa !11
  %126 = getelementptr inbounds ptr, ptr %124, i64 %125
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  store ptr %127, ptr %9, align 8, !tbaa !5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.RecipientInfo, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 8, !tbaa !49
  %131 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 3
  %132 = load i64, ptr %8, align 8, !tbaa !11
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorI16RecipientInfo_PRSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %132) #4
  store i32 %130, ptr %133, align 4, !tbaa !52
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %134

134:                                              ; preds = %118
  %135 = load i64, ptr %8, align 8, !tbaa !11
  %136 = add i64 %135, 1
  store i64 %136, ptr %8, align 8, !tbaa !11
  br label %112, !llvm.loop !53

137:                                              ; preds = %117
  br label %143

138:                                              ; preds = %95
  br label %139

139:                                              ; preds = %138
  store i32 4145, ptr %5, align 4, !tbaa !9
  %140 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 586, i32 noundef %140, ptr noundef null)
  br label %187

141:                                              ; No predecessors!
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142, %137
  br label %144

144:                                              ; preds = %143
  %145 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8, !tbaa !20
  %147 = getelementptr inbounds %struct.EnvelopedData, ptr %146, i32 0, i32 3
  %148 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 4
  %149 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser25parseEncryptedContentInfoERK20EncryptedContentInfoRNS0_20EncryptedContentInfoE(ptr noundef nonnull align 8 dereferenceable(96) %147, ptr noundef nonnull align 8 dereferenceable(80) %148)
  store i32 %149, ptr %5, align 4, !tbaa !9
  %150 = load i32, ptr %5, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %154

152:                                              ; preds = %144
  %153 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 590, i32 noundef %153)
  br label %187

154:                                              ; preds = %144
  br label %155

155:                                              ; preds = %154
  br label %156

156:                                              ; preds = %155
  %157 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8, !tbaa !20
  %159 = getelementptr inbounds %struct.EnvelopedData, ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !55
  %161 = icmp ne ptr %160, null
  br i1 %161, label %162, label %186

162:                                              ; preds = %156
  %163 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %164 = load ptr, ptr %163, align 8, !tbaa !20
  %165 = getelementptr inbounds %struct.EnvelopedData, ptr %164, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !55
  %167 = getelementptr inbounds %struct.Attributes, ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds %struct.anon.4, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 8, !tbaa !56
  %170 = icmp sgt i32 %169, 0
  br i1 %170, label %171, label %186

171:                                              ; preds = %162
  br label %172

172:                                              ; preds = %171
  %173 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8, !tbaa !20
  %175 = getelementptr inbounds %struct.EnvelopedData, ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !55
  %177 = getelementptr inbounds %"class.UapkiNS::Pkcs7::EnvelopedDataParser", ptr %10, i32 0, i32 5
  %178 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser21parseUnprotectedAttrsEPK10AttributesRSt6vectorINS_9AttributeESaIS6_EE(ptr noundef %176, ptr noundef nonnull align 8 dereferenceable(24) %177)
  store i32 %178, ptr %5, align 4, !tbaa !9
  %179 = load i32, ptr %5, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %183

181:                                              ; preds = %172
  %182 = load i32, ptr %5, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 594, i32 noundef %182)
  br label %187

183:                                              ; preds = %172
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185, %162, %156
  br label %187

187:                                              ; preds = %186, %181, %152, %139, %90, %67, %55, %43, %26, %16
  %188 = call ptr @get_ContentInfo_desc()
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  call void @asn_free(ptr noundef %188, ptr noundef %189)
  %190 = load i32, ptr %5, align 4, !tbaa !9
  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 4, ptr %5) #4
  ret i32 %190
}

declare zeroext i1 @OID_is_equal_oid(ptr noundef, ptr noundef) #0

declare ptr @asn_any2type(ptr noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser19parseOriginatorInfoERK14OriginatorInfoRNS1_14OriginatorInfoE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser25parseEncryptedContentInfoERK20EncryptedContentInfoRNS0_20EncryptedContentInfoE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTS11ContentInfo", !15, i64 0, !16, i64 16, !17, i64 56}
!15 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!16 = !{!"_ZTS3ANY", !6, i64 0, !10, i64 8, !17, i64 16}
!17 = !{!"_ZTS16asn_struct_ctx_s", !18, i64 0, !18, i64 2, !10, i64 4, !6, i64 8, !12, i64 16}
!18 = !{!"short", !7, i64 0}
!19 = !{!14, !10, i64 24}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSN7UapkiNS5Pkcs719EnvelopedDataParserE", !6, i64 0, !10, i64 8, !22, i64 16, !28, i64 64, !32, i64 88, !36, i64 168}
!22 = !{!"_ZTSN7UapkiNS5Pkcs719EnvelopedDataParser14OriginatorInfoE", !23, i64 0, !23, i64 24}
!23 = !{!"_ZTSN7UapkiNS8VectorBAE", !24, i64 0}
!24 = !{!"_ZTSSt6vectorIP12ByteArray_stSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP12ByteArray_stSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorI16RecipientInfo_PRSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7UapkiNS5Pkcs720EncryptedContentInfoE", !33, i64 0, !35, i64 32, !6, i64 72}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !34, i64 0, !12, i64 8, !7, i64 16}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!35 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !33, i64 0, !6, i64 32}
!36 = !{!"_ZTSSt6vectorIN7UapkiNS9AttributeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!21, !10, i64 8}
!41 = !{!42, !6, i64 16}
!42 = !{!"_ZTS13EnvelopedData", !15, i64 0, !6, i64 16, !43, i64 24, !45, i64 72, !6, i64 168, !17, i64 176}
!43 = !{!"_ZTS14RecipientInfos", !44, i64 0, !17, i64 24}
!44 = !{!"_ZTSN14RecipientInfosUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!45 = !{!"_ZTS20EncryptedContentInfo", !15, i64 0, !46, i64 16, !6, i64 64, !17, i64 72}
!46 = !{!"_ZTS19AlgorithmIdentifier", !15, i64 0, !6, i64 16, !17, i64 24}
!47 = !{!42, !10, i64 32}
!48 = !{!42, !6, i64 24}
!49 = !{!50, !51, i64 0}
!50 = !{!"_ZTS13RecipientInfo", !51, i64 0, !7, i64 8, !17, i64 304}
!51 = !{!"_ZTS16RecipientInfo_PR", !7, i64 0}
!52 = !{!51, !51, i64 0}
!53 = distinct !{!53, !54}
!54 = !{!"llvm.loop.mustprogress"}
!55 = !{!42, !6, i64 168}
!56 = !{!57, !10, i64 8}
!57 = !{!"_ZTS10Attributes", !58, i64 0, !17, i64 24}
!58 = !{!"_ZTSN10AttributesUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}


; 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 [37 x i8], align 1
@OID_PKCS7_ENVELOPED_DATA = external local_unnamed_addr global ptr, align 8

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

declare ptr @get_EnvelopedData_desc() local_unnamed_addr #0

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

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

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

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

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @get_ContentInfo_desc() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser5parseEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  store i64 0, ptr %3, align 8, !tbaa !5
  %4 = tail call ptr @get_ContentInfo_desc()
  %5 = tail call ptr @asn_decode_ba_with_alloc(ptr noundef %4, ptr noundef %1)
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %2
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 556, i32 noundef 2)
  br label %75

8:                                                ; preds = %2
  %9 = load ptr, ptr @OID_PKCS7_ENVELOPED_DATA, align 8, !tbaa !9
  %10 = tail call zeroext i1 @OID_is_equal_oid(ptr noundef nonnull %5, ptr noundef %9)
  br i1 %10, label %12, label %11

11:                                               ; preds = %8
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 559, i32 noundef 4144, ptr noundef null)
  br label %75

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %5, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %18, label %15

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %5, i64 24
  %17 = load i32, ptr %16, align 8, !tbaa !18
  %.not36 = icmp eq i32 %17, 0
  br i1 %.not36, label %18, label %19

18:                                               ; preds = %12, %15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 563, i32 noundef 4144, ptr noundef null)
  br label %75

19:                                               ; preds = %15
  %20 = tail call ptr @get_EnvelopedData_desc()
  %21 = tail call ptr @asn_any2type(ptr noundef nonnull %13, ptr noundef %20)
  store ptr %21, ptr %0, align 8, !tbaa !19
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %19
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 566, i32 noundef 2)
  br label %75

24:                                               ; preds = %19
  %25 = call i32 @asn_INTEGER2long(ptr noundef nonnull %21, ptr noundef nonnull %3)
  %.not37 = icmp eq i32 %25, 0
  br i1 %.not37, label %27, label %26

26:                                               ; preds = %24
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 569, i32 noundef %25)
  br label %75

27:                                               ; preds = %24
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = trunc i64 %28 to i32
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %29, ptr %30, align 8, !tbaa !39
  %31 = load ptr, ptr %0, align 8, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !40
  %.not38 = icmp eq ptr %33, null
  br i1 %.not38, label %38, label %34

34:                                               ; preds = %27
  %35 = getelementptr inbounds i8, ptr %0, i64 16
  %36 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser19parseOriginatorInfoERK14OriginatorInfoRNS1_14OriginatorInfoE(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(48) %35)
  %.not39 = icmp eq i32 %36, 0
  br i1 %.not39, label %._crit_edge45, label %37

._crit_edge45:                                    ; preds = %34
  %.pre = load ptr, ptr %0, align 8, !tbaa !19
  br label %38

37:                                               ; preds = %34
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 574, i32 noundef %36)
  br label %75

38:                                               ; preds = %._crit_edge45, %27
  %39 = phi ptr [ %.pre, %._crit_edge45 ], [ %31, %27 ]
  %40 = getelementptr inbounds i8, ptr %39, i64 32
  %41 = load i32, ptr %40, align 8, !tbaa !46
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %43, label %61

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %0, i64 64
  %45 = zext nneg i32 %41 to i64
  call void @_ZNSt6vectorI16RecipientInfo_PRSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %45)
  %46 = call noundef i64 @_ZNKSt6vectorI16RecipientInfo_PRSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #4
  %.not44 = icmp eq i64 %46, 0
  br i1 %.not44, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %43
  %47 = load ptr, ptr %0, align 8, !tbaa !19
  %48 = getelementptr inbounds i8, ptr %47, i64 72
  %49 = getelementptr inbounds i8, ptr %0, i64 88
  %50 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser25parseEncryptedContentInfoERK20EncryptedContentInfoRNS0_20EncryptedContentInfoE(ptr noundef nonnull align 8 dereferenceable(96) %48, ptr noundef nonnull align 8 dereferenceable(80) %49)
  %.not40 = icmp eq i32 %50, 0
  br i1 %.not40, label %63, label %62

.lr.ph:                                           ; preds = %43, %.lr.ph
  %.02543 = phi i64 [ %58, %.lr.ph ], [ 0, %43 ]
  %51 = load ptr, ptr %0, align 8, !tbaa !19
  %52 = getelementptr inbounds i8, ptr %51, i64 24
  %53 = load ptr, ptr %52, align 8, !tbaa !47
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.02543
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = load i32, ptr %55, align 8, !tbaa !48
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorI16RecipientInfo_PRSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %.02543) #4
  store i32 %56, ptr %57, align 4, !tbaa !51
  %58 = add nuw i64 %.02543, 1
  %59 = call noundef i64 @_ZNKSt6vectorI16RecipientInfo_PRSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #4
  %60 = icmp ult i64 %58, %59
  br i1 %60, label %.lr.ph, label %._crit_edge, !llvm.loop !52

61:                                               ; preds = %38
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 586, i32 noundef 4145, ptr noundef null)
  br label %75

62:                                               ; preds = %._crit_edge
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 590, i32 noundef %50)
  br label %75

63:                                               ; preds = %._crit_edge
  %64 = load ptr, ptr %0, align 8, !tbaa !19
  %65 = getelementptr inbounds i8, ptr %64, i64 168
  %66 = load ptr, ptr %65, align 8, !tbaa !54
  %.not41 = icmp eq ptr %66, null
  br i1 %.not41, label %75, label %67

67:                                               ; preds = %63
  %68 = getelementptr inbounds i8, ptr %66, i64 8
  %69 = load i32, ptr %68, align 8, !tbaa !55
  %70 = icmp sgt i32 %69, 0
  br i1 %70, label %71, label %75

71:                                               ; preds = %67
  %72 = getelementptr inbounds i8, ptr %0, i64 168
  %73 = call noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser21parseUnprotectedAttrsEPK10AttributesRSt6vectorINS_9AttributeESaIS6_EE(ptr noundef nonnull %66, ptr noundef nonnull align 8 dereferenceable(24) %72)
  %.not42 = icmp eq i32 %73, 0
  br i1 %.not42, label %75, label %74

74:                                               ; preds = %71
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 594, i32 noundef %73)
  br label %75

75:                                               ; preds = %63, %67, %71, %74, %62, %61, %37, %26, %23, %18, %11, %7
  %.0 = phi i32 [ 2, %7 ], [ 2, %23 ], [ %25, %26 ], [ %36, %37 ], [ %50, %62 ], [ %73, %74 ], [ 0, %71 ], [ 0, %67 ], [ 0, %63 ], [ 4145, %61 ], [ 4144, %18 ], [ 4144, %11 ]
  %76 = call ptr @get_ContentInfo_desc()
  call void @asn_free(ptr noundef %76, ptr noundef %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret i32 %.0
}

declare zeroext i1 @OID_is_equal_oid(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @asn_any2type(ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser19parseOriginatorInfoERK14OriginatorInfoRNS1_14OriginatorInfoE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS5Pkcs719EnvelopedDataParser25parseEncryptedContentInfoERK20EncryptedContentInfoRNS0_20EncryptedContentInfoE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"_ZTS11ContentInfo", !13, i64 0, !15, i64 16, !16, i64 56}
!13 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !10, i64 0, !14, i64 8}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS3ANY", !10, i64 0, !14, i64 8, !16, i64 16}
!16 = !{!"_ZTS16asn_struct_ctx_s", !17, i64 0, !17, i64 2, !14, i64 4, !10, i64 8, !6, i64 16}
!17 = !{!"short", !7, i64 0}
!18 = !{!12, !14, i64 24}
!19 = !{!20, !10, i64 0}
!20 = !{!"_ZTSN7UapkiNS5Pkcs719EnvelopedDataParserE", !10, i64 0, !14, i64 8, !21, i64 16, !27, i64 64, !31, i64 88, !35, i64 168}
!21 = !{!"_ZTSN7UapkiNS5Pkcs719EnvelopedDataParser14OriginatorInfoE", !22, i64 0, !22, i64 24}
!22 = !{!"_ZTSN7UapkiNS8VectorBAE", !23, i64 0}
!23 = !{!"_ZTSSt6vectorIP12ByteArray_stSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP12ByteArray_stSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP12ByteArray_stSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!27 = !{!"_ZTSSt6vectorI16RecipientInfo_PRSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI16RecipientInfo_PRSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!31 = !{!"_ZTSN7UapkiNS5Pkcs720EncryptedContentInfoE", !32, i64 0, !34, i64 32, !10, i64 72}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !33, i64 0, !6, i64 8, !7, i64 16}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!34 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !32, i64 0, !10, i64 32}
!35 = !{!"_ZTSSt6vectorIN7UapkiNS9AttributeESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS9AttributeESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!39 = !{!20, !14, i64 8}
!40 = !{!41, !10, i64 16}
!41 = !{!"_ZTS13EnvelopedData", !13, i64 0, !10, i64 16, !42, i64 24, !44, i64 72, !10, i64 168, !16, i64 176}
!42 = !{!"_ZTS14RecipientInfos", !43, i64 0, !16, i64 24}
!43 = !{!"_ZTSN14RecipientInfosUt_E", !10, i64 0, !14, i64 8, !14, i64 12, !10, i64 16}
!44 = !{!"_ZTS20EncryptedContentInfo", !13, i64 0, !45, i64 16, !10, i64 64, !16, i64 72}
!45 = !{!"_ZTS19AlgorithmIdentifier", !13, i64 0, !10, i64 16, !16, i64 24}
!46 = !{!41, !14, i64 32}
!47 = !{!41, !10, i64 24}
!48 = !{!49, !50, i64 0}
!49 = !{!"_ZTS13RecipientInfo", !50, i64 0, !7, i64 8, !16, i64 304}
!50 = !{!"_ZTS16RecipientInfo_PR", !7, i64 0}
!51 = !{!50, !50, i64 0}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!41, !10, i64 168}
!55 = !{!56, !14, i64 8}
!56 = !{!"_ZTS10Attributes", !57, i64 0, !16, i64 24}
!57 = !{!"_ZTSN10AttributesUt_E", !10, i64 0, !14, i64 8, !14, i64 12, !10, i64 16}


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