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

; 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.23" = type { ptr }
%"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" = 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 }
%"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 }
%struct.TBSCertListAlt = type { ptr, %struct.AlgorithmIdentifier, %struct.Name, %struct.PKIXTime, %struct.PKIXTime, %struct.ANY, ptr, %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.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 }
%struct.ANY = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl7CrlItem12revokedCertsEPKNS_4Cert7CerItemERSt6vectorIPKNS0_15RevokedCertItemESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(268) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.UapkiNS::SmartBA", align 8
  %10 = alloca %"class.std::vector.18", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.18", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %23, label %22

22:                                               ; preds = %3
  store i32 4101, ptr %4, align 4
  br label %133

23:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %24

24:                                               ; preds = %23
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = invoke noundef ptr @_ZNK7UapkiNS4Cert7CerItem15getSerialNumberEv(ptr noundef nonnull align 8 dereferenceable(401) %25)
          to label %27 unwind label %37

27:                                               ; preds = %24
  %28 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %29 unwind label %37

29:                                               ; preds = %27
  %30 = invoke noundef i32 @_ZN7UapkiNS4Util13encodeIntegerEPK12ByteArray_stPPS1_(ptr noundef %26, ptr noundef %28)
          to label %31 unwind label %37

31:                                               ; preds = %29
  store i32 %30, ptr %8, align 4, !tbaa !9
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %41

34:                                               ; preds = %31
  %35 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 450, i32 noundef %35)
          to label %36 unwind label %37

36:                                               ; preds = %34
  br label %129

37:                                               ; preds = %47, %34, %29, %27, %24
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %11, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %12, align 4
  br label %132

41:                                               ; preds = %31
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  %44 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 10
  %45 = call noundef zeroext i1 @_ZNKSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  store i32 0, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %131

47:                                               ; preds = %43
  %48 = invoke noundef i64 @_ZNK7UapkiNS7SmartBA4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %49 unwind label %37

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 5
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds %struct.TBSCertListAlt, ptr %51, i32 0, i32 5
  %53 = getelementptr inbounds %struct.ANY, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !34
  %55 = sext i32 %54 to i64
  %56 = icmp ugt i64 %48, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %49
  store i32 4145, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %131

58:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %59 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 5
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = getelementptr inbounds %struct.TBSCertListAlt, ptr %60, i32 0, i32 5
  %62 = getelementptr inbounds %struct.ANY, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !45
  %64 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 5
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct.TBSCertListAlt, ptr %65, i32 0, i32 5
  %67 = getelementptr inbounds %struct.ANY, ptr %66, i32 0, i32 1
  %68 = load i32, ptr %67, align 8, !tbaa !34
  %69 = sext i32 %68 to i64
  %70 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3bufEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %71 unwind label %86

71:                                               ; preds = %58
  %72 = invoke noundef i64 @_ZNK7UapkiNS7SmartBA4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %73 unwind label %86

73:                                               ; preds = %71
  %74 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 10
  invoke void @_ZN7UapkiNS3CrlL13find_equal_snEPKhmS2_mRKSt6vectorINS0_17RevokedCertOffsetESaIS4_EE(ptr dead_on_unwind writable sret(%"class.std::vector.18") align 8 %14, ptr noundef %63, i64 noundef %69, ptr noundef %70, i64 noundef %72, ptr noundef nonnull align 8 dereferenceable(24) %74)
          to label %75 unwind label %86

75:                                               ; preds = %73
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store ptr %10, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #5
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %16, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %80 = load ptr, ptr %15, align 8, !tbaa !5
  %81 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %17, i32 0, i32 0
  store ptr %81, ptr %82, align 8
  br label %83

83:                                               ; preds = %124, %75
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br i1 %84, label %90, label %85

85:                                               ; preds = %83
  store i32 5, ptr %13, align 4
  br label %126

86:                                               ; preds = %73, %71, %58
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %11, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  br label %132

90:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  store ptr %91, ptr %18, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %90
  %93 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 5
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = getelementptr inbounds %struct.TBSCertListAlt, ptr %94, i32 0, i32 5
  %96 = getelementptr inbounds %struct.ANY, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !45
  %98 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %19, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds %struct.TBSCertListAlt, ptr %99, i32 0, i32 5
  %101 = getelementptr inbounds %struct.ANY, ptr %100, i32 0, i32 1
  %102 = load i32, ptr %101, align 8, !tbaa !34
  %103 = sext i32 %102 to i64
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  %105 = load i64, ptr %104, align 8, !tbaa !46
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = invoke noundef i32 @_ZN7UapkiNS3CrlL15add_revokedcertEPKhmmRSt6vectorIPKNS0_15RevokedCertItemESaIS6_EE(ptr noundef %97, i64 noundef %103, i64 noundef %105, ptr noundef nonnull align 8 dereferenceable(24) %106)
          to label %108 unwind label %114

108:                                              ; preds = %92
  store i32 %107, ptr %8, align 4, !tbaa !9
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %118

111:                                              ; preds = %108
  %112 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 469, i32 noundef %112)
          to label %113 unwind label %114

113:                                              ; preds = %111
  store i32 4, ptr %13, align 4
  br label %121

114:                                              ; preds = %111, %92
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %132

118:                                              ; preds = %108
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  store i32 0, ptr %13, align 4
  br label %121

121:                                              ; preds = %120, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %122 = load i32, ptr %13, align 4
  switch i32 %122, label %126 [
    i32 0, label %123
  ]

123:                                              ; preds = %121
  br label %124

124:                                              ; preds = %123
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br label %83

126:                                              ; preds = %121, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %127 = load i32, ptr %13, align 4
  switch i32 %127, label %131 [
    i32 5, label %128
    i32 4, label %129
  ]

128:                                              ; preds = %126
  br label %129

129:                                              ; preds = %128, %126, %36
  %130 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %130, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %131

131:                                              ; preds = %129, %126, %57, %46
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %133

132:                                              ; preds = %114, %86, %37
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %135

133:                                              ; preds = %131, %22
  %134 = load i32, ptr %4, align 4
  ret i32 %134

135:                                              ; preds = %132
  %136 = load ptr, ptr %11, align 8
  %137 = load i32, ptr %12, align 4
  %138 = insertvalue { ptr, i32 } poison, ptr %136, 0
  %139 = insertvalue { ptr, i32 } %138, i32 %137, 1
  resume { ptr, i32 } %139
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7UapkiNS3CrlL13find_equal_snEPKhmS2_mRKSt6vectorINS0_17RevokedCertOffsetESaIS4_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.18") align 8, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL15add_revokedcertEPKhmmRSt6vectorIPKNS0_15RevokedCertItemESaIS6_EE(ptr noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 88}
!12 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !13, i64 0, !15, i64 40, !10, i64 72, !18, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !17, i64 112, !17, i64 120, !19, i64 128, !6, i64 152, !6, i64 160, !6, i64 168, !23, i64 176, !28, i64 224, !29, i64 232, !6, i64 256, !33, i64 264}
!13 = !{!"_ZTSSt5mutex", !14, i64 0}
!14 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !24, i64 0, !24, i64 24}
!24 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !7, i64 0}
!29 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !7, i64 0}
!34 = !{!35, !10, i64 288}
!35 = !{!"_ZTS14TBSCertListAlt", !6, i64 0, !36, i64 8, !40, i64 56, !42, i64 136, !42, i64 208, !44, i64 280, !6, i64 320, !38, i64 328}
!36 = !{!"_ZTS19AlgorithmIdentifier", !37, i64 0, !6, i64 16, !38, i64 24}
!37 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!38 = !{!"_ZTS16asn_struct_ctx_s", !39, i64 0, !39, i64 2, !10, i64 4, !6, i64 8, !17, i64 16}
!39 = !{!"short", !7, i64 0}
!40 = !{!"_ZTS4Name", !41, i64 0, !7, i64 8, !38, i64 56}
!41 = !{!"_ZTS7Name_PR", !7, i64 0}
!42 = !{!"_ZTS8PKIXTime", !43, i64 0, !7, i64 8, !38, i64 48}
!43 = !{!"_ZTS11PKIXTime_PR", !7, i64 0}
!44 = !{!"_ZTS3ANY", !6, i64 0, !10, i64 8, !38, i64 16}
!45 = !{!35, !6, i64 280}
!46 = !{!17, !17, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.UapkiNS::SmartBA" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.23" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl7CrlItem12revokedCertsEPKNS_4Cert7CerItemERSt6vectorIPKNS0_15RevokedCertItemESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(268) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.UapkiNS::SmartBA", align 8
  %5 = alloca %"class.std::vector.18", align 8
  %6 = alloca %"class.std::vector.18", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %59, label %9

9:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %10 = call noundef ptr @_ZNK7UapkiNS4Cert7CerItem15getSerialNumberEv(ptr noundef nonnull align 8 dereferenceable(401) %1)
  %11 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %12 = invoke noundef i32 @_ZN7UapkiNS4Util13encodeIntegerEPK12ByteArray_stPPS1_(ptr noundef %10, ptr noundef %11)
          to label %13 unwind label %15

13:                                               ; preds = %9
  %.not26 = icmp eq i32 %12, 0
  br i1 %.not26, label %17, label %14

14:                                               ; preds = %13
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 450, i32 noundef %12)
          to label %57 unwind label %15

15:                                               ; preds = %20, %14, %9
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %58

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %0, i64 128
  %19 = call noundef zeroext i1 @_ZNKSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br i1 %19, label %57, label %20

20:                                               ; preds = %17
  %21 = invoke noundef i64 @_ZNK7UapkiNS7SmartBA4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %22 unwind label %15

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %0, i64 88
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 288
  %26 = load i32, ptr %25, align 8, !tbaa !32
  %27 = sext i32 %26 to i64
  %28 = icmp ugt i64 %21, %27
  br i1 %28, label %57, label %29

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %30 = getelementptr inbounds i8, ptr %24, i64 280
  %31 = load ptr, ptr %30, align 8, !tbaa !43
  %32 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3bufEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %33 unwind label %41

33:                                               ; preds = %29
  %34 = invoke noundef i64 @_ZNK7UapkiNS7SmartBA4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %35 unwind label %41

35:                                               ; preds = %33
  invoke void @_ZN7UapkiNS3CrlL13find_equal_snEPKhmS2_mRKSt6vectorINS0_17RevokedCertOffsetESaIS4_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.18") align 8 %6, ptr noundef %31, i64 noundef %27, ptr noundef %32, i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %36 unwind label %41

36:                                               ; preds = %35
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %38 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  store ptr %38, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %39 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  store ptr %39, ptr %8, align 8
  %40 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %40, label %.lr.ph, label %.loopexit

41:                                               ; preds = %35, %33, %29
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %58

.lr.ph:                                           ; preds = %36, %.critedge
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %44 = load ptr, ptr %23, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 280
  %46 = load ptr, ptr %45, align 8, !tbaa !43
  %47 = getelementptr inbounds i8, ptr %44, i64 288
  %48 = load i32, ptr %47, align 8, !tbaa !32
  %49 = sext i32 %48 to i64
  %50 = load i64, ptr %43, align 8, !tbaa !44
  %51 = invoke noundef i32 @_ZN7UapkiNS3CrlL15add_revokedcertEPKhmmRSt6vectorIPKNS0_15RevokedCertItemESaIS6_EE(ptr noundef %46, i64 noundef %49, i64 noundef %50, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %52 unwind label %.loopexit29

52:                                               ; preds = %.lr.ph
  %.not27 = icmp eq i32 %51, 0
  br i1 %.not27, label %.critedge, label %53

53:                                               ; preds = %52
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 469, i32 noundef %51)
          to label %.loopexit unwind label %.loopexit.split-lp

.loopexit29:                                      ; preds = %.lr.ph
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %54

.loopexit.split-lp:                               ; preds = %53
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %54

54:                                               ; preds = %.loopexit.split-lp, %.loopexit29
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit29 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %58

.critedge:                                        ; preds = %52
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %56, label %.lr.ph, label %.loopexit

.loopexit:                                        ; preds = %.critedge, %36, %53
  %.117 = phi i32 [ %51, %53 ], [ 0, %36 ], [ 0, %.critedge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %57

57:                                               ; preds = %.loopexit, %14, %22, %17
  %.0 = phi i32 [ 0, %17 ], [ 4145, %22 ], [ %12, %14 ], [ %.117, %.loopexit ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %59

58:                                               ; preds = %54, %41, %15
  %.pn = phi { ptr, i32 } [ %16, %15 ], [ %lpad.phi, %54 ], [ %42, %41 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn

59:                                               ; preds = %3, %57
  %.1 = phi i32 [ %.0, %57 ], [ 4101, %3 ]
  ret i32 %.1
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7UapkiNS3CrlL13find_equal_snEPKhmS2_mRKSt6vectorINS0_17RevokedCertOffsetESaIS4_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.18") align 8, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN7UapkiNS3CrlL15add_revokedcertEPKhmmRSt6vectorIPKNS0_15RevokedCertItemESaIS6_EE(ptr noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 88}
!6 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !7, i64 0, !11, i64 40, !15, i64 72, !16, i64 76, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !14, i64 112, !14, i64 120, !17, i64 128, !13, i64 152, !13, i64 160, !13, i64 168, !21, i64 176, !26, i64 224, !27, i64 232, !13, i64 256, !31, i64 264}
!7 = !{!"_ZTSSt5mutex", !8, i64 0}
!8 = !{!"_ZTSSt12__mutex_base", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !9, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !9, i64 0}
!17 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!21 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !22, i64 0, !22, i64 24}
!22 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!26 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !9, i64 0}
!27 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!31 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !9, i64 0}
!32 = !{!33, !15, i64 288}
!33 = !{!"_ZTS14TBSCertListAlt", !13, i64 0, !34, i64 8, !38, i64 56, !40, i64 136, !40, i64 208, !42, i64 280, !13, i64 320, !36, i64 328}
!34 = !{!"_ZTS19AlgorithmIdentifier", !35, i64 0, !13, i64 16, !36, i64 24}
!35 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !13, i64 0, !15, i64 8}
!36 = !{!"_ZTS16asn_struct_ctx_s", !37, i64 0, !37, i64 2, !15, i64 4, !13, i64 8, !14, i64 16}
!37 = !{!"short", !9, i64 0}
!38 = !{!"_ZTS4Name", !39, i64 0, !9, i64 8, !36, i64 56}
!39 = !{!"_ZTS7Name_PR", !9, i64 0}
!40 = !{!"_ZTS8PKIXTime", !41, i64 0, !9, i64 8, !36, i64 48}
!41 = !{!"_ZTS11PKIXTime_PR", !9, i64 0}
!42 = !{!"_ZTS3ANY", !13, i64 0, !15, i64 8, !36, i64 16}
!43 = !{!33, !13, i64 280}
!44 = !{!14, !14, i64 0}


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