; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src/crl-item.ll (ZN7UapkiNS3Crl8parseCrlEPK12ByteArray_stPPNS0_7CrlItemE)

; 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::SmartBA" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Crl::CrlItem::Uris" = type { %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.X509Tbs = type { %struct.ANY, %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, %struct.asn_struct_ctx_s }
%struct.ANY = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.BIT_STRING_s = type { ptr, i32, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%struct.TBSCertListAlt = type { ptr, %struct.AlgorithmIdentifier, %struct.Name, %struct.PKIXTime, %struct.PKIXTime, %struct.ANY, ptr, %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, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%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 }
%"class.UapkiNS::Crl::CrlItem" = type <{ %"class.std::mutex", %"class.std::__cxx11::basic_string", i32, i32, ptr, ptr, ptr, ptr, i64, i64, %"class.std::vector", ptr, ptr, ptr, %"struct.UapkiNS::Crl::CrlItem::Uris", i32, [4 x i8], %"class.std::vector.8", ptr, i32, [4 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { 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] }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@OID_X509v3_CRLDistributionPoints = external global ptr, align 8
@OID_X509v3_FreshestCRL = external global ptr, align 8

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

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

declare i32 @__gxx_personality_v0(...)

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

declare ptr @get_TBSCertListAlt_desc() #2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #5

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

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

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

declare ptr @get_X509Tbs_desc() #2

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

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

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

declare ptr @asn_decode_with_alloc(ptr noundef, ptr noundef, i64 noundef) #2

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

declare i32 @asn_encode_ba(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @get_Name_desc() #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl8parseCrlEPK12ByteArray_stPPNS0_7CrlItemE(ptr noundef %0, ptr noundef %1) #6 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.UapkiNS::SmartBA", align 8
  %12 = alloca %"class.UapkiNS::SmartBA", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.UapkiNS::SmartBA", align 8
  %16 = alloca %"class.UapkiNS::SmartBA", align 8
  %17 = alloca %"class.UapkiNS::SmartBA", align 8
  %18 = alloca %"class.UapkiNS::SmartBA", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"struct.UapkiNS::Crl::CrlItem::Uris", align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %31

28:                                               ; preds = %2
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %32, label %31

31:                                               ; preds = %28, %2
  store i32 4101, ptr %3, align 4
  br label %398

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %33 = call ptr @get_X509Tbs_desc()
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call ptr @asn_decode_ba_with_alloc(ptr noundef %33, ptr noundef %34)
  store ptr %35, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %44

38:                                               ; preds = %32
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.X509Tbs, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %struct.ANY, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 8, !tbaa !9
  %43 = icmp slt i32 %42, 12
  br i1 %43, label %44, label %45

44:                                               ; preds = %38, %32
  store i32 4145, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %397

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store i64 0, ptr %10, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  invoke void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %46 unwind label %70

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  invoke void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %47 unwind label %74

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  invoke void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %48 unwind label %78

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  invoke void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %49 unwind label %82

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  invoke void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %50 unwind label %86

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store ptr null, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store i64 0, ptr %22, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %51 = invoke ptr @get_TBSCertListAlt_desc()
          to label %52 unwind label %90

52:                                               ; preds = %50
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.X509Tbs, ptr %53, i32 0, i32 0
  %55 = getelementptr inbounds %struct.ANY, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !23
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.X509Tbs, ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %struct.ANY, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 8, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = invoke ptr @asn_decode_with_alloc(ptr noundef %51, ptr noundef %56, i64 noundef %61)
          to label %63 unwind label %90

63:                                               ; preds = %52
  store ptr %62, ptr %25, align 8, !tbaa !5
  %64 = load ptr, ptr %25, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %96, label %66

66:                                               ; preds = %63
  br label %67

67:                                               ; preds = %66
  store i32 4145, ptr %8, align 4, !tbaa !19
  %68 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 669, i32 noundef %68, ptr noundef null)
          to label %69 unwind label %90

69:                                               ; preds = %67
  br label %377

70:                                               ; preds = %45
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %13, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %14, align 4
  br label %396

74:                                               ; preds = %46
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %13, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %14, align 4
  br label %395

78:                                               ; preds = %47
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %13, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %14, align 4
  br label %394

82:                                               ; preds = %48
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %13, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %14, align 4
  br label %393

86:                                               ; preds = %49
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %13, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %14, align 4
  br label %392

90:                                               ; preds = %383, %381, %379, %377, %363, %359, %355, %351, %349, %337, %333, %321, %314, %309, %297, %292, %280, %275, %270, %268, %265, %259, %254, %252, %249, %243, %236, %233, %228, %223, %220, %214, %209, %206, %197, %184, %178, %171, %165, %158, %152, %147, %143, %141, %135, %125, %120, %110, %102, %67, %52, %50
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %13, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %14, align 4
  br label %391

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95, %63
  %97 = load ptr, ptr %25, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.TBSCertListAlt, ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !24
  %100 = icmp ne ptr %99, null
  br i1 %100, label %101, label %116

101:                                              ; preds = %96
  br label %102

102:                                              ; preds = %101
  %103 = load ptr, ptr %25, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.TBSCertListAlt, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !24
  %106 = invoke i32 @asn_INTEGER2ulong(ptr noundef %105, ptr noundef %10)
          to label %107 unwind label %90

107:                                              ; preds = %102
  store i32 %106, ptr %8, align 4, !tbaa !19
  %108 = load i32, ptr %8, align 4, !tbaa !19
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %113

110:                                              ; preds = %107
  %111 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 673, i32 noundef %111)
          to label %112 unwind label %90

112:                                              ; preds = %110
  br label %377

113:                                              ; preds = %107
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115, %96
  %117 = load i64, ptr %10, align 8, !tbaa !20
  %118 = icmp ult i64 %117, 1
  br i1 %118, label %119, label %125

119:                                              ; preds = %116
  br label %120

120:                                              ; preds = %119
  store i32 4146, ptr %8, align 4, !tbaa !19
  %121 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 676, i32 noundef %121, ptr noundef null)
          to label %122 unwind label %90

122:                                              ; preds = %120
  br label %377

123:                                              ; No predecessors!
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124, %116
  %126 = load ptr, ptr %25, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.TBSCertListAlt, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.X509Tbs, ptr %129, i32 0, i32 1
  %131 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %130, i32 0, i32 0
  %132 = invoke noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef nonnull align 8 dereferenceable(16) %131)
          to label %133 unwind label %90

133:                                              ; preds = %125
  br i1 %132, label %140, label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  store i32 4145, ptr %8, align 4, !tbaa !19
  %136 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 679, i32 noundef %136, ptr noundef null)
          to label %137 unwind label %90

137:                                              ; preds = %135
  br label %377

138:                                              ; No predecessors!
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139, %133
  br label %141

141:                                              ; preds = %140
  %142 = invoke ptr @get_Name_desc()
          to label %143 unwind label %90

143:                                              ; preds = %141
  %144 = load ptr, ptr %25, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.TBSCertListAlt, ptr %144, i32 0, i32 2
  %146 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %147 unwind label %90

147:                                              ; preds = %143
  %148 = invoke i32 @asn_encode_ba(ptr noundef %142, ptr noundef %145, ptr noundef %146)
          to label %149 unwind label %90

149:                                              ; preds = %147
  store i32 %148, ptr %8, align 4, !tbaa !19
  %150 = load i32, ptr %8, align 4, !tbaa !19
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %155

152:                                              ; preds = %149
  %153 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 681, i32 noundef %153)
          to label %154 unwind label %90

154:                                              ; preds = %152
  br label %377

155:                                              ; preds = %149
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %25, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.TBSCertListAlt, ptr %159, i32 0, i32 3
  %161 = invoke noundef i32 @_ZN7UapkiNS4Util16pkixTimeFromAsn1EPK8PKIXTimeRm(ptr noundef %160, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %162 unwind label %90

162:                                              ; preds = %158
  store i32 %161, ptr %8, align 4, !tbaa !19
  %163 = load i32, ptr %8, align 4, !tbaa !19
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %168

165:                                              ; preds = %162
  %166 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 682, i32 noundef %166)
          to label %167 unwind label %90

167:                                              ; preds = %165
  br label %377

168:                                              ; preds = %162
  br label %169

169:                                              ; preds = %168
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  %172 = load ptr, ptr %25, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.TBSCertListAlt, ptr %172, i32 0, i32 4
  %174 = invoke noundef i32 @_ZN7UapkiNS4Util16pkixTimeFromAsn1EPK8PKIXTimeRm(ptr noundef %173, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %175 unwind label %90

175:                                              ; preds = %171
  store i32 %174, ptr %8, align 4, !tbaa !19
  %176 = load i32, ptr %8, align 4, !tbaa !19
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %181

178:                                              ; preds = %175
  %179 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 683, i32 noundef %179)
          to label %180 unwind label %90

180:                                              ; preds = %178
  br label %377

181:                                              ; preds = %175
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  %185 = load ptr, ptr %25, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.TBSCertListAlt, ptr %185, i32 0, i32 5
  %187 = getelementptr inbounds %struct.ANY, ptr %186, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !30
  %189 = load ptr, ptr %25, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.TBSCertListAlt, ptr %189, i32 0, i32 5
  %191 = getelementptr inbounds %struct.ANY, ptr %190, i32 0, i32 1
  %192 = load i32, ptr %191, align 8, !tbaa !31
  %193 = invoke noundef i32 @_ZN7UapkiNS3Crl17parseRevokedCertsERSt6vectorINS0_17RevokedCertOffsetESaIS2_EEPKhi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef %188, i32 noundef %192)
          to label %194 unwind label %90

194:                                              ; preds = %184
  store i32 %193, ptr %8, align 4, !tbaa !19
  %195 = load i32, ptr %8, align 4, !tbaa !19
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %200

197:                                              ; preds = %194
  %198 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 685, i32 noundef %198)
          to label %199 unwind label %90

199:                                              ; preds = %197
  br label %377

200:                                              ; preds = %194
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201
  %203 = load ptr, ptr %25, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.TBSCertListAlt, ptr %203, i32 0, i32 6
  %205 = load ptr, ptr %204, align 8, !tbaa !32
  store ptr %205, ptr %9, align 8, !tbaa !5
  br label %206

206:                                              ; preds = %202
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %209 unwind label %90

209:                                              ; preds = %206
  %210 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper17getAuthorityKeyIdEPK10ExtensionsPP12ByteArray_st(ptr noundef %207, ptr noundef %208)
          to label %211 unwind label %90

211:                                              ; preds = %209
  store i32 %210, ptr %8, align 4, !tbaa !19
  %212 = load i32, ptr %8, align 4, !tbaa !19
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %217

214:                                              ; preds = %211
  %215 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 688, i32 noundef %215)
          to label %216 unwind label %90

216:                                              ; preds = %214
  br label %377

217:                                              ; preds = %211
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %223 unwind label %90

223:                                              ; preds = %220
  %224 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper12getCrlNumberEPK10ExtensionsPP12ByteArray_st(ptr noundef %221, ptr noundef %222)
          to label %225 unwind label %90

225:                                              ; preds = %223
  store i32 %224, ptr %8, align 4, !tbaa !19
  %226 = load i32, ptr %8, align 4, !tbaa !19
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %231

228:                                              ; preds = %225
  %229 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 689, i32 noundef %229)
          to label %230 unwind label %90

230:                                              ; preds = %228
  br label %377

231:                                              ; preds = %225
  br label %232

232:                                              ; preds = %231
  br label %233

233:                                              ; preds = %232
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %236 unwind label %90

236:                                              ; preds = %233
  %237 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper20getDeltaCrlIndicatorEPK10ExtensionsPP12ByteArray_st(ptr noundef %234, ptr noundef %235)
          to label %238 unwind label %90

238:                                              ; preds = %236
  store i32 %237, ptr %8, align 4, !tbaa !19
  %239 = load i32, ptr %8, align 4, !tbaa !19
  switch i32 %239, label %242 [
    i32 0, label %240
    i32 4150, label %241
  ]

240:                                              ; preds = %238
  store i32 2, ptr %20, align 4, !tbaa !21
  br label %248

241:                                              ; preds = %238
  store i32 1, ptr %20, align 4, !tbaa !21
  br label %248

242:                                              ; preds = %238
  br label %243

243:                                              ; preds = %242
  store i32 4145, ptr %8, align 4, !tbaa !19
  %244 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 699, i32 noundef %244, ptr noundef null)
          to label %245 unwind label %90

245:                                              ; preds = %243
  br label %377

246:                                              ; No predecessors!
  br label %247

247:                                              ; preds = %246
  br label %248

248:                                              ; preds = %247, %241, %240
  br label %249

249:                                              ; preds = %248
  %250 = load ptr, ptr %25, align 8, !tbaa !5
  %251 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %252 unwind label %90

252:                                              ; preds = %249
  %253 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %254 unwind label %90

254:                                              ; preds = %252
  %255 = invoke noundef i32 @_ZN7UapkiNS3CrlL12encode_crlidERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352) %250, ptr noundef %251, ptr noundef %253)
          to label %256 unwind label %90

256:                                              ; preds = %254
  store i32 %255, ptr %8, align 4, !tbaa !19
  %257 = load i32, ptr %8, align 4, !tbaa !19
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %262

259:                                              ; preds = %256
  %260 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 701, i32 noundef %260)
          to label %261 unwind label %90

261:                                              ; preds = %259
  br label %377

262:                                              ; preds = %256
  br label %263

263:                                              ; preds = %262
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  %266 = load ptr, ptr %25, align 8, !tbaa !5
  %267 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %268 unwind label %90

268:                                              ; preds = %265
  %269 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %270 unwind label %90

270:                                              ; preds = %268
  %271 = invoke noundef i32 @_ZN7UapkiNS3CrlL20encode_crlidentifierERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352) %266, ptr noundef %267, ptr noundef %269)
          to label %272 unwind label %90

272:                                              ; preds = %270
  store i32 %271, ptr %8, align 4, !tbaa !19
  %273 = load i32, ptr %8, align 4, !tbaa !19
  %274 = icmp ne i32 %273, 0
  br i1 %274, label %275, label %278

275:                                              ; preds = %272
  %276 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 702, i32 noundef %276)
          to label %277 unwind label %90

277:                                              ; preds = %275
  br label %377

278:                                              ; preds = %272
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  %281 = load ptr, ptr %9, align 8, !tbaa !5
  %282 = load ptr, ptr @OID_X509v3_CRLDistributionPoints, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %24, i32 0, i32 0
  %284 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef %281, ptr noundef %282, ptr noundef nonnull align 8 dereferenceable(24) %283)
          to label %285 unwind label %90

285:                                              ; preds = %280
  store i32 %284, ptr %8, align 4, !tbaa !19
  %286 = load i32, ptr %8, align 4, !tbaa !19
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %297

288:                                              ; preds = %285
  %289 = load i32, ptr %8, align 4, !tbaa !19
  %290 = icmp ne i32 %289, 4150
  br i1 %290, label %291, label %297

291:                                              ; preds = %288
  br label %292

292:                                              ; preds = %291
  store i32 4145, ptr %8, align 4, !tbaa !19
  %293 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 705, i32 noundef %293, ptr noundef null)
          to label %294 unwind label %90

294:                                              ; preds = %292
  br label %377

295:                                              ; No predecessors!
  br label %296

296:                                              ; preds = %295
  br label %297

297:                                              ; preds = %296, %288, %285
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = load ptr, ptr @OID_X509v3_FreshestCRL, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %24, i32 0, i32 1
  %301 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef %298, ptr noundef %299, ptr noundef nonnull align 8 dereferenceable(24) %300)
          to label %302 unwind label %90

302:                                              ; preds = %297
  store i32 %301, ptr %8, align 4, !tbaa !19
  %303 = load i32, ptr %8, align 4, !tbaa !19
  %304 = icmp ne i32 %303, 0
  br i1 %304, label %305, label %314

305:                                              ; preds = %302
  %306 = load i32, ptr %8, align 4, !tbaa !19
  %307 = icmp ne i32 %306, 4150
  br i1 %307, label %308, label %314

308:                                              ; preds = %305
  br label %309

309:                                              ; preds = %308
  store i32 4145, ptr %8, align 4, !tbaa !19
  %310 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @stacktrace_create(ptr noundef @.str, i64 noundef 709, i32 noundef %310, ptr noundef null)
          to label %311 unwind label %90

311:                                              ; preds = %309
  br label %377

312:                                              ; No predecessors!
  br label %313

313:                                              ; preds = %312
  br label %314

314:                                              ; preds = %313, %305, %302
  store i32 0, ptr %8, align 4, !tbaa !19
  %315 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 272) #9
          to label %316 unwind label %90

316:                                              ; preds = %314
  %317 = load i32, ptr %20, align 4, !tbaa !21
  invoke void @_ZN7UapkiNS3Crl7CrlItemC1ENS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(268) %315, i32 noundef %317)
          to label %318 unwind label %372

318:                                              ; preds = %316
  store ptr %315, ptr %19, align 8, !tbaa !5
  %319 = load ptr, ptr %19, align 8, !tbaa !5
  %320 = icmp ne ptr %319, null
  br i1 %320, label %321, label %376

321:                                              ; preds = %318
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = load ptr, ptr %19, align 8, !tbaa !5
  %324 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %323, i32 0, i32 4
  store ptr %322, ptr %324, align 8, !tbaa !33
  %325 = load i64, ptr %10, align 8, !tbaa !20
  %326 = trunc i64 %325 to i32
  %327 = load ptr, ptr %19, align 8, !tbaa !5
  %328 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %327, i32 0, i32 2
  store i32 %326, ptr %328, align 8, !tbaa !54
  %329 = load ptr, ptr %25, align 8, !tbaa !5
  %330 = load ptr, ptr %19, align 8, !tbaa !5
  %331 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %330, i32 0, i32 5
  store ptr %329, ptr %331, align 8, !tbaa !55
  %332 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %333 unwind label %90

333:                                              ; preds = %321
  %334 = load ptr, ptr %19, align 8, !tbaa !5
  %335 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %334, i32 0, i32 6
  store ptr %332, ptr %335, align 8, !tbaa !56
  %336 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %337 unwind label %90

337:                                              ; preds = %333
  %338 = load ptr, ptr %19, align 8, !tbaa !5
  %339 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %338, i32 0, i32 7
  store ptr %336, ptr %339, align 8, !tbaa !57
  %340 = load i64, ptr %21, align 8, !tbaa !20
  %341 = load ptr, ptr %19, align 8, !tbaa !5
  %342 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %341, i32 0, i32 8
  store i64 %340, ptr %342, align 8, !tbaa !58
  %343 = load i64, ptr %22, align 8, !tbaa !20
  %344 = load ptr, ptr %19, align 8, !tbaa !5
  %345 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %344, i32 0, i32 9
  store i64 %343, ptr %345, align 8, !tbaa !59
  %346 = load ptr, ptr %19, align 8, !tbaa !5
  %347 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %346, i32 0, i32 10
  %348 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %347, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %349 unwind label %90

349:                                              ; preds = %337
  %350 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %351 unwind label %90

351:                                              ; preds = %349
  %352 = load ptr, ptr %19, align 8, !tbaa !5
  %353 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %352, i32 0, i32 11
  store ptr %350, ptr %353, align 8, !tbaa !60
  %354 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %355 unwind label %90

355:                                              ; preds = %351
  %356 = load ptr, ptr %19, align 8, !tbaa !5
  %357 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %356, i32 0, i32 12
  store ptr %354, ptr %357, align 8, !tbaa !61
  %358 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %359 unwind label %90

359:                                              ; preds = %355
  %360 = load ptr, ptr %19, align 8, !tbaa !5
  %361 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %360, i32 0, i32 13
  store ptr %358, ptr %361, align 8, !tbaa !62
  %362 = invoke noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %363 unwind label %90

363:                                              ; preds = %359
  %364 = load ptr, ptr %19, align 8, !tbaa !5
  %365 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %364, i32 0, i32 18
  store ptr %362, ptr %365, align 8, !tbaa !63
  %366 = load ptr, ptr %19, align 8, !tbaa !5
  %367 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %366, i32 0, i32 14
  %368 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN7UapkiNS3Crl7CrlItem4UrisaSERKS2_(ptr noundef nonnull align 8 dereferenceable(48) %367, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %369 unwind label %90

369:                                              ; preds = %363
  store ptr null, ptr %25, align 8, !tbaa !5
  %370 = load ptr, ptr %19, align 8, !tbaa !5
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %370, ptr %371, align 8, !tbaa !5
  store ptr null, ptr %19, align 8, !tbaa !5
  br label %376

372:                                              ; preds = %316
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %13, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %14, align 4
  call void @_ZdlPvm(ptr noundef %315, i64 noundef 272) #10
  br label %391

376:                                              ; preds = %369, %318
  br label %377

377:                                              ; preds = %376, %311, %294, %277, %261, %245, %230, %216, %199, %180, %167, %154, %137, %122, %112, %69
  %378 = invoke ptr @get_TBSCertListAlt_desc()
          to label %379 unwind label %90

379:                                              ; preds = %377
  %380 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @asn_free(ptr noundef %378, ptr noundef %380)
          to label %381 unwind label %90

381:                                              ; preds = %379
  %382 = invoke ptr @get_X509Tbs_desc()
          to label %383 unwind label %90

383:                                              ; preds = %381
  %384 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @asn_free(ptr noundef %382, ptr noundef %384)
          to label %385 unwind label %90

385:                                              ; preds = %383
  %386 = load ptr, ptr %19, align 8, !tbaa !5
  %387 = icmp eq ptr %386, null
  br i1 %387, label %389, label %388

388:                                              ; preds = %385
  call void @_ZN7UapkiNS3Crl7CrlItemD1Ev(ptr noundef nonnull align 8 dereferenceable(268) %386) #8
  call void @_ZdlPvm(ptr noundef %386, i64 noundef 272) #10
  br label %389

389:                                              ; preds = %388, %385
  %390 = load i32, ptr %8, align 4, !tbaa !19
  store i32 %390, ptr %3, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %397

391:                                              ; preds = %372, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %392

392:                                              ; preds = %391, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %393

393:                                              ; preds = %392, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %394

394:                                              ; preds = %393, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %395

395:                                              ; preds = %394, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %396

396:                                              ; preds = %395, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %400

397:                                              ; preds = %389, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %398

398:                                              ; preds = %397, %31
  %399 = load i32, ptr %3, align 4
  ret i32 %399

400:                                              ; preds = %396
  %401 = load ptr, ptr %13, align 8
  %402 = load i32, ptr %14, align 4
  %403 = insertvalue { ptr, i32 } poison, ptr %401, 0
  %404 = insertvalue { ptr, i32 } %403, i32 %402, 1
  resume { ptr, i32 } %404
}

declare i32 @asn_INTEGER2ulong(ptr noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper17getAuthorityKeyIdEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper12getCrlNumberEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper20getDeltaCrlIndicatorEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL12encode_crlidERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL20encode_crlidentifierERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef, ptr noundef) #6

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN7UapkiNS3Crl7CrlItem4UrisaSERKS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #7 align 2

declare void @_ZN7UapkiNS3Crl7CrlItemC1ENS0_4TypeE(ptr, i32)

declare void @_ZN7UapkiNS3Crl7CrlItemD1Ev(ptr)

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin allocsize(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 #6 = { 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 #7 = { inlinehint 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !12, i64 8}
!10 = !{!"_ZTS7X509Tbs", !11, i64 0, !16, i64 40, !18, i64 88, !13, i64 128}
!11 = !{!"_ZTS3ANY", !6, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS16asn_struct_ctx_s", !14, i64 0, !14, i64 2, !12, i64 4, !6, i64 8, !15, i64 16}
!14 = !{!"short", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS19AlgorithmIdentifier", !17, i64 0, !6, i64 16, !13, i64 24}
!17 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !12, i64 8}
!18 = !{!"_ZTS12BIT_STRING_s", !6, i64 0, !12, i64 8, !12, i64 12, !13, i64 16}
!19 = !{!12, !12, i64 0}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !7, i64 0}
!23 = !{!10, !6, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTS14TBSCertListAlt", !6, i64 0, !16, i64 8, !26, i64 56, !28, i64 136, !28, i64 208, !11, i64 280, !6, i64 320, !13, i64 328}
!26 = !{!"_ZTS4Name", !27, i64 0, !7, i64 8, !13, i64 56}
!27 = !{!"_ZTS7Name_PR", !7, i64 0}
!28 = !{!"_ZTS8PKIXTime", !29, i64 0, !7, i64 8, !13, i64 48}
!29 = !{!"_ZTS11PKIXTime_PR", !7, i64 0}
!30 = !{!25, !6, i64 280}
!31 = !{!25, !12, i64 288}
!32 = !{!25, !6, i64 320}
!33 = !{!34, !6, i64 80}
!34 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !35, i64 0, !37, i64 40, !12, i64 72, !22, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !15, i64 112, !15, i64 120, !39, i64 128, !6, i64 152, !6, i64 160, !6, i64 168, !43, i64 176, !48, i64 224, !49, i64 232, !6, i64 256, !53, i64 264}
!35 = !{!"_ZTSSt5mutex", !36, i64 0}
!36 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !38, i64 0, !15, i64 8, !7, i64 16}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!39 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !44, i64 0, !44, i64 24}
!44 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !7, i64 0}
!49 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !7, i64 0}
!54 = !{!34, !12, i64 72}
!55 = !{!34, !6, i64 88}
!56 = !{!34, !6, i64 96}
!57 = !{!34, !6, i64 104}
!58 = !{!34, !15, i64 112}
!59 = !{!34, !15, i64 120}
!60 = !{!34, !6, i64 152}
!61 = !{!34, !6, i64 160}
!62 = !{!34, !6, i64 168}
!63 = !{!34, !6, i64 256}


; 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::SmartBA" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Crl::CrlItem::Uris" = type { %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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 }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@OID_X509v3_CRLDistributionPoints = external local_unnamed_addr global ptr, align 8
@OID_X509v3_FreshestCRL = external local_unnamed_addr global ptr, align 8

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

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

declare i32 @__gxx_personality_v0(...)

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

declare ptr @get_TBSCertListAlt_desc() local_unnamed_addr #2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

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

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

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

declare ptr @get_X509Tbs_desc() local_unnamed_addr #2

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

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

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

declare ptr @asn_decode_with_alloc(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare noundef i32 @_ZN7UapkiNS4Util16pkixTimeFromAsn1EPK8PKIXTimeRm(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare i32 @asn_encode_ba(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @get_Name_desc() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl8parseCrlEPK12ByteArray_stPPNS0_7CrlItemE(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %3 = alloca i64, align 8
  %4 = alloca %"class.UapkiNS::SmartBA", align 8
  %5 = alloca %"class.UapkiNS::SmartBA", align 8
  %6 = alloca %"class.UapkiNS::SmartBA", align 8
  %7 = alloca %"class.UapkiNS::SmartBA", align 8
  %8 = alloca %"class.UapkiNS::SmartBA", align 8
  %9 = alloca %"class.UapkiNS::SmartBA", align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"struct.UapkiNS::Crl::CrlItem::Uris", align 8
  %14 = icmp ne ptr %0, null
  %15 = icmp ne ptr %1, null
  %or.cond = and i1 %14, %15
  br i1 %or.cond, label %16, label %155

16:                                               ; preds = %2
  %17 = tail call ptr @get_X509Tbs_desc()
  %18 = tail call ptr @asn_decode_ba_with_alloc(ptr noundef %17, ptr noundef nonnull %0)
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %155, label %19

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %18, i64 8
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %22 = icmp slt i32 %21, 12
  br i1 %22, label %155, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 0, ptr %3, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store i64 0, ptr %10, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  store i64 0, ptr %11, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #8
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  %24 = invoke ptr @get_TBSCertListAlt_desc()
          to label %25 unwind label %32

25:                                               ; preds = %23
  %26 = load ptr, ptr %18, align 8, !tbaa !19
  %27 = load i32, ptr %20, align 8, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = invoke ptr @asn_decode_with_alloc(ptr noundef %24, ptr noundef %26, i64 noundef %28)
          to label %30 unwind label %32

30:                                               ; preds = %25
  %.not105 = icmp eq ptr %29, null
  br i1 %.not105, label %31, label %34

31:                                               ; preds = %30
  invoke void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 669, i32 noundef 4145, ptr noundef null)
          to label %147 unwind label %32

32:                                               ; preds = %.invoke, %152, %150, %149, %147, %133, %117, %114, %108, %104, %103, %98, %97, %92, %87, %86, %82, %81, %75, %74, %67, %66, %62, %61, %57, %56, %51, %49, %44, %43, %39, %36, %31, %25, %23
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %154

34:                                               ; preds = %30
  %35 = load ptr, ptr %29, align 8, !tbaa !20
  %.not106 = icmp eq ptr %35, null
  br i1 %.not106, label %40, label %36

36:                                               ; preds = %34
  %37 = invoke i32 @asn_INTEGER2ulong(ptr noundef nonnull %35, ptr noundef nonnull %3)
          to label %38 unwind label %32

38:                                               ; preds = %36
  %.not107 = icmp eq i32 %37, 0
  br i1 %.not107, label %40, label %39

39:                                               ; preds = %38
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 673, i32 noundef %37)
          to label %147 unwind label %32

40:                                               ; preds = %38, %34
  %41 = load i64, ptr %3, align 8, !tbaa !18
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  invoke void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 676, i32 noundef 4146, ptr noundef null)
          to label %147 unwind label %32

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %29, i64 8
  %46 = getelementptr inbounds i8, ptr %18, i64 40
  %47 = invoke noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %48 unwind label %32

48:                                               ; preds = %44
  br i1 %47, label %49, label %.invoke

49:                                               ; preds = %48
  %50 = invoke ptr @get_Name_desc()
          to label %51 unwind label %32

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %29, i64 56
  %53 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  %54 = invoke i32 @asn_encode_ba(ptr noundef %50, ptr noundef nonnull %52, ptr noundef %53)
          to label %55 unwind label %32

55:                                               ; preds = %51
  %.not108 = icmp eq i32 %54, 0
  br i1 %.not108, label %57, label %56

56:                                               ; preds = %55
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 681, i32 noundef %54)
          to label %147 unwind label %32

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %29, i64 136
  %59 = invoke noundef i32 @_ZN7UapkiNS4Util16pkixTimeFromAsn1EPK8PKIXTimeRm(ptr noundef nonnull %58, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %60 unwind label %32

60:                                               ; preds = %57
  %.not109 = icmp eq i32 %59, 0
  br i1 %.not109, label %62, label %61

61:                                               ; preds = %60
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 682, i32 noundef %59)
          to label %147 unwind label %32

62:                                               ; preds = %60
  %63 = getelementptr inbounds i8, ptr %29, i64 208
  %64 = invoke noundef i32 @_ZN7UapkiNS4Util16pkixTimeFromAsn1EPK8PKIXTimeRm(ptr noundef nonnull %63, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %65 unwind label %32

65:                                               ; preds = %62
  %.not110 = icmp eq i32 %64, 0
  br i1 %.not110, label %67, label %66

66:                                               ; preds = %65
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 683, i32 noundef %64)
          to label %147 unwind label %32

67:                                               ; preds = %65
  %68 = getelementptr inbounds i8, ptr %29, i64 280
  %69 = load ptr, ptr %68, align 8, !tbaa !26
  %70 = getelementptr inbounds i8, ptr %29, i64 288
  %71 = load i32, ptr %70, align 8, !tbaa !27
  %72 = invoke noundef i32 @_ZN7UapkiNS3Crl17parseRevokedCertsERSt6vectorINS0_17RevokedCertOffsetESaIS2_EEPKhi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %69, i32 noundef %71)
          to label %73 unwind label %32

73:                                               ; preds = %67
  %.not111 = icmp eq i32 %72, 0
  br i1 %.not111, label %75, label %74

74:                                               ; preds = %73
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 685, i32 noundef %72)
          to label %147 unwind label %32

75:                                               ; preds = %73
  %76 = getelementptr inbounds i8, ptr %29, i64 320
  %77 = load ptr, ptr %76, align 8, !tbaa !28
  %78 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %79 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper17getAuthorityKeyIdEPK10ExtensionsPP12ByteArray_st(ptr noundef %77, ptr noundef %78)
          to label %80 unwind label %32

80:                                               ; preds = %75
  %.not112 = icmp eq i32 %79, 0
  br i1 %.not112, label %82, label %81

81:                                               ; preds = %80
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 688, i32 noundef %79)
          to label %147 unwind label %32

82:                                               ; preds = %80
  %83 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %84 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper12getCrlNumberEPK10ExtensionsPP12ByteArray_st(ptr noundef %77, ptr noundef %83)
          to label %85 unwind label %32

85:                                               ; preds = %82
  %.not113 = icmp eq i32 %84, 0
  br i1 %.not113, label %87, label %86

86:                                               ; preds = %85
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 689, i32 noundef %84)
          to label %147 unwind label %32

87:                                               ; preds = %85
  %88 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %89 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper20getDeltaCrlIndicatorEPK10ExtensionsPP12ByteArray_st(ptr noundef %77, ptr noundef %88)
          to label %90 unwind label %32

90:                                               ; preds = %87
  switch i32 %89, label %.invoke [
    i32 0, label %92
    i32 4150, label %91
  ]

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %90, %91
  %.084 = phi i32 [ 1, %91 ], [ 2, %90 ]
  %93 = call noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %94 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %95 = invoke noundef i32 @_ZN7UapkiNS3CrlL12encode_crlidERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352) %29, ptr noundef %93, ptr noundef %94)
          to label %96 unwind label %32

96:                                               ; preds = %92
  %.not114 = icmp eq i32 %95, 0
  br i1 %.not114, label %98, label %97

97:                                               ; preds = %96
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 701, i32 noundef %95)
          to label %147 unwind label %32

98:                                               ; preds = %96
  %99 = call noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %100 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %101 = invoke noundef i32 @_ZN7UapkiNS3CrlL20encode_crlidentifierERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352) %29, ptr noundef %99, ptr noundef %100)
          to label %102 unwind label %32

102:                                              ; preds = %98
  %.not115 = icmp eq i32 %101, 0
  br i1 %.not115, label %104, label %103

103:                                              ; preds = %102
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 702, i32 noundef %101)
          to label %147 unwind label %32

104:                                              ; preds = %102
  %105 = load ptr, ptr @OID_X509v3_CRLDistributionPoints, align 8, !tbaa !29
  %106 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef %77, ptr noundef %105, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %107 unwind label %32

107:                                              ; preds = %104
  switch i32 %106, label %.invoke [
    i32 4150, label %108
    i32 0, label %108
  ]

108:                                              ; preds = %107, %107
  %109 = load ptr, ptr @OID_X509v3_FreshestCRL, align 8, !tbaa !29
  %110 = getelementptr inbounds i8, ptr %13, i64 24
  %111 = invoke noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef %77, ptr noundef %109, ptr noundef nonnull align 8 dereferenceable(24) %110)
          to label %112 unwind label %32

112:                                              ; preds = %108
  switch i32 %111, label %.invoke [
    i32 4150, label %114
    i32 0, label %114
  ]

.invoke:                                          ; preds = %112, %107, %90, %48
  %113 = phi i64 [ 679, %48 ], [ 699, %90 ], [ 705, %107 ], [ 709, %112 ]
  invoke void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef %113, i32 noundef 4145, ptr noundef null)
          to label %147 unwind label %32

114:                                              ; preds = %112, %112
  %115 = invoke noalias noundef nonnull dereferenceable(272) ptr @_Znwm(i64 noundef 272) #9
          to label %116 unwind label %32

116:                                              ; preds = %114
  invoke void @_ZN7UapkiNS3Crl7CrlItemC1ENS0_4TypeE(ptr noundef nonnull align 8 dereferenceable(268) %115, i32 noundef %.084)
          to label %117 unwind label %145

117:                                              ; preds = %116
  %118 = getelementptr inbounds i8, ptr %115, i64 80
  store ptr %0, ptr %118, align 8, !tbaa !30
  %119 = load i64, ptr %3, align 8, !tbaa !18
  %120 = trunc i64 %119 to i32
  %121 = getelementptr inbounds i8, ptr %115, i64 72
  store i32 %120, ptr %121, align 8, !tbaa !52
  %122 = getelementptr inbounds i8, ptr %115, i64 88
  store ptr %29, ptr %122, align 8, !tbaa !53
  %123 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %124 = getelementptr inbounds i8, ptr %115, i64 96
  store ptr %123, ptr %124, align 8, !tbaa !54
  %125 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  %126 = getelementptr inbounds i8, ptr %115, i64 104
  store ptr %125, ptr %126, align 8, !tbaa !55
  %127 = load i64, ptr %10, align 8, !tbaa !18
  %128 = getelementptr inbounds i8, ptr %115, i64 112
  store i64 %127, ptr %128, align 8, !tbaa !56
  %129 = load i64, ptr %11, align 8, !tbaa !18
  %130 = getelementptr inbounds i8, ptr %115, i64 120
  store i64 %129, ptr %130, align 8, !tbaa !57
  %131 = getelementptr inbounds i8, ptr %115, i64 128
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %133 unwind label %32

133:                                              ; preds = %117
  %134 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %135 = getelementptr inbounds i8, ptr %115, i64 152
  store ptr %134, ptr %135, align 8, !tbaa !58
  %136 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %137 = getelementptr inbounds i8, ptr %115, i64 160
  store ptr %136, ptr %137, align 8, !tbaa !59
  %138 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %139 = getelementptr inbounds i8, ptr %115, i64 168
  store ptr %138, ptr %139, align 8, !tbaa !60
  %140 = call noundef ptr @_ZN7UapkiNS7SmartBA3popEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %141 = getelementptr inbounds i8, ptr %115, i64 256
  store ptr %140, ptr %141, align 8, !tbaa !61
  %142 = getelementptr inbounds i8, ptr %115, i64 176
  %143 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN7UapkiNS3Crl7CrlItem4UrisaSERKS2_(ptr noundef nonnull align 8 dereferenceable(48) %142, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %144 unwind label %32

144:                                              ; preds = %133
  store ptr %115, ptr %1, align 8, !tbaa !29
  br label %147

145:                                              ; preds = %116
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %115, i64 noundef 272) #10
  br label %154

147:                                              ; preds = %.invoke, %144, %103, %97, %86, %81, %74, %66, %61, %56, %43, %39, %31
  %.088 = phi i32 [ %37, %39 ], [ 4146, %43 ], [ %54, %56 ], [ %59, %61 ], [ %64, %66 ], [ %72, %74 ], [ %79, %81 ], [ %84, %86 ], [ %95, %97 ], [ %101, %103 ], [ 0, %144 ], [ 4145, %31 ], [ 4145, %.invoke ]
  %.0 = phi ptr [ %29, %39 ], [ %29, %43 ], [ %29, %56 ], [ %29, %61 ], [ %29, %66 ], [ %29, %74 ], [ %29, %81 ], [ %29, %86 ], [ %29, %97 ], [ %29, %103 ], [ null, %144 ], [ null, %31 ], [ %29, %.invoke ]
  %148 = invoke ptr @get_TBSCertListAlt_desc()
          to label %149 unwind label %32

149:                                              ; preds = %147
  invoke void @asn_free(ptr noundef %148, ptr noundef %.0)
          to label %150 unwind label %32

150:                                              ; preds = %149
  %151 = invoke ptr @get_X509Tbs_desc()
          to label %152 unwind label %32

152:                                              ; preds = %150
  invoke void @asn_free(ptr noundef %151, ptr noundef nonnull %18)
          to label %153 unwind label %32

153:                                              ; preds = %152
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %155

154:                                              ; preds = %145, %32
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %146, %145 ]
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #8
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn

155:                                              ; preds = %153, %19, %16, %2
  %.1 = phi i32 [ 4101, %2 ], [ %.088, %153 ], [ 4145, %19 ], [ 4145, %16 ]
  ret i32 %.1
}

declare i32 @asn_INTEGER2ulong(ptr noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper17getAuthorityKeyIdEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) local_unnamed_addr #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper12getCrlNumberEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) local_unnamed_addr #2

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper20getDeltaCrlIndicatorEPK10ExtensionsPP12ByteArray_st(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL12encode_crlidERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL20encode_crlidentifierERK14TBSCertListAltPK12ByteArray_stPPS4_(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef, ptr noundef) local_unnamed_addr #6

declare noundef i32 @_ZN7UapkiNS15ExtensionHelper10getCrlUrisEPK10ExtensionsPKcRSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EE(ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN7UapkiNS3Crl7CrlItem4UrisaSERKS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #7 align 2

declare void @_ZN7UapkiNS3Crl7CrlItemC1ENS0_4TypeE(ptr, i32) local_unnamed_addr

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin allocsize(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 #6 = { 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 #7 = { inlinehint 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !11, i64 8}
!6 = !{!"_ZTS7X509Tbs", !7, i64 0, !15, i64 40, !17, i64 88, !12, i64 128}
!7 = !{!"_ZTS3ANY", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTS16asn_struct_ctx_s", !13, i64 0, !13, i64 2, !11, i64 4, !8, i64 8, !14, i64 16}
!13 = !{!"short", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!"_ZTS19AlgorithmIdentifier", !16, i64 0, !8, i64 16, !12, i64 24}
!16 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !8, i64 0, !11, i64 8}
!17 = !{!"_ZTS12BIT_STRING_s", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!18 = !{!14, !14, i64 0}
!19 = !{!6, !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"_ZTS14TBSCertListAlt", !8, i64 0, !15, i64 8, !22, i64 56, !24, i64 136, !24, i64 208, !7, i64 280, !8, i64 320, !12, i64 328}
!22 = !{!"_ZTS4Name", !23, i64 0, !9, i64 8, !12, i64 56}
!23 = !{!"_ZTS7Name_PR", !9, i64 0}
!24 = !{!"_ZTS8PKIXTime", !25, i64 0, !9, i64 8, !12, i64 48}
!25 = !{!"_ZTS11PKIXTime_PR", !9, i64 0}
!26 = !{!21, !8, i64 280}
!27 = !{!21, !11, i64 288}
!28 = !{!21, !8, i64 320}
!29 = !{!8, !8, i64 0}
!30 = !{!31, !8, i64 80}
!31 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !32, i64 0, !34, i64 40, !11, i64 72, !36, i64 76, !8, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !14, i64 112, !14, i64 120, !37, i64 128, !8, i64 152, !8, i64 160, !8, i64 168, !41, i64 176, !46, i64 224, !47, i64 232, !8, i64 256, !51, i64 264}
!32 = !{!"_ZTSSt5mutex", !33, i64 0}
!33 = !{!"_ZTSSt12__mutex_base", !9, i64 0}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !35, i64 0, !14, i64 8, !9, i64 16}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !8, i64 0}
!36 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !9, i64 0}
!37 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!41 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !42, i64 0, !42, i64 24}
!42 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!46 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !9, i64 0}
!47 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!51 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !9, i64 0}
!52 = !{!31, !11, i64 72}
!53 = !{!31, !8, i64 88}
!54 = !{!31, !8, i64 96}
!55 = !{!31, !8, i64 104}
!56 = !{!31, !14, i64 112}
!57 = !{!31, !14, i64 120}
!58 = !{!31, !8, i64 152}
!59 = !{!31, !8, i64 160}
!60 = !{!31, !8, i64 168}
!61 = !{!31, !8, i64 256}


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