; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src/ocsp-helper.ll (ZN7UapkiNS4Ocsp10OcspHelper19scanSingleResponsesEv)

; 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::Ocsp::OcspHelper" = type <{ %"class.std::vector", ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo, std::allocator<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo, std::allocator<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo, std::allocator<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo, std::allocator<UapkiNS::Ocsp::OcspHelper::SingleResponseInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.BasicOCSPResponse = type { %struct.ResponseData, %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, ptr, %struct.asn_struct_ctx_s }
%struct.ResponseData = type { ptr, %struct.ResponderID, %struct.OCTET_STRING, %"struct.ResponseData::responses", ptr, %struct.asn_struct_ctx_s }
%struct.ResponderID = type { i32, %"union.ResponderID::ResponderID_u", %struct.asn_struct_ctx_s }
%"union.ResponderID::ResponderID_u" = type { %struct.Name }
%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.13, %struct.asn_struct_ctx_s }
%struct.anon.13 = type { ptr, i32, i32, ptr }
%struct.OCTET_STRING = type { ptr, i32, %struct.asn_struct_ctx_s }
%"struct.ResponseData::responses" = type { %struct.anon.14, %struct.asn_struct_ctx_s }
%struct.anon.14 = type { ptr, i32, i32, ptr }
%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.OCSPRequest = type { %struct.TBSRequest, ptr, %struct.asn_struct_ctx_s }
%struct.TBSRequest = type { ptr, ptr, %"struct.TBSRequest::requestList", ptr, %struct.asn_struct_ctx_s }
%"struct.TBSRequest::requestList" = type { %struct.anon, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%struct.Request = type { %struct.CertID, ptr, %struct.asn_struct_ctx_s }
%struct.CertID = type { %struct.AlgorithmIdentifier, %struct.OCTET_STRING, %struct.OCTET_STRING, %struct.ASN__PRIMITIVE_TYPE_s, %struct.asn_struct_ctx_s }
%struct.SingleResponse = type { %struct.CertID, %struct.CertStatus, %struct.OCTET_STRING, ptr, ptr, %struct.asn_struct_ctx_s }
%struct.CertStatus = type { i32, %"union.CertStatus::CertStatus_u", %struct.asn_struct_ctx_s }
%"union.CertStatus::CertStatus_u" = type { %struct.RevokedInfo }
%struct.RevokedInfo = type { %struct.OCTET_STRING, ptr, %struct.asn_struct_ctx_s }
%"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo" = type <{ i32, [4 x i8], i64, i64, i64, i32, [4 x i8] }>

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

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

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

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

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

declare noundef i32 @_ZN7UapkiNS4Util18enumeratedFromAsn1EPK21ASN__PRIMITIVE_TYPE_sPj(ptr noundef, ptr noundef) #1

declare noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS4Ocsp10OcspHelper19scanSingleResponsesEv(ptr noundef nonnull align 8 dereferenceable(92) %0) #3 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %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 i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = icmp ne ptr %17, null
  br i1 %18, label %20, label %19

19:                                               ; preds = %1
  store i32 4101, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %228

20:                                               ; preds = %1
  %21 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = getelementptr inbounds %struct.BasicOCSPResponse, ptr %22, i32 0, i32 0
  store ptr %23, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ResponseData, ptr %24, i32 0, i32 3
  %26 = getelementptr inbounds %"struct.ResponseData::responses", ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds %struct.anon.14, ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 8, !tbaa !19
  store i32 %28, ptr %9, align 4, !tbaa !9
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = icmp sle i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %20
  store i32 4152, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %227

32:                                               ; preds = %20
  %33 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 0
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  call void @_ZNSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35)
  %36 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !28
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %56

39:                                               ; preds = %32
  %40 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !28
  %42 = getelementptr inbounds %struct.OCSPRequest, ptr %41, i32 0, i32 0
  store ptr %42, ptr %5, align 8, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.TBSRequest, ptr %43, i32 0, i32 2
  %45 = getelementptr inbounds %"struct.TBSRequest::requestList", ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %struct.anon, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !29
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = icmp ne i32 %47, %48
  br i1 %49, label %50, label %55

50:                                               ; preds = %39
  br label %51

51:                                               ; preds = %50
  store i32 4198, ptr %4, align 4, !tbaa !9
  %52 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 522, i32 noundef %52, ptr noundef null)
  br label %225

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54, %39
  br label %56

56:                                               ; preds = %55, %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !33
  br label %57

57:                                               ; preds = %219, %56
  %58 = load i64, ptr %10, align 8, !tbaa !33
  %59 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 0
  %60 = call noundef i64 @_ZNKSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #4
  %61 = icmp ult i64 %58, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %57
  store i32 5, ptr %8, align 4
  br label %222

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ResponseData, ptr %64, i32 0, i32 3
  %66 = getelementptr inbounds %"struct.ResponseData::responses", ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds %struct.anon.14, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !34
  %69 = load i64, ptr %10, align 8, !tbaa !33
  %70 = getelementptr inbounds ptr, ptr %68, i64 %69
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  store ptr %71, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %72 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 0
  %73 = load i64, ptr %10, align 8, !tbaa !33
  %74 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %73) #4
  store ptr %74, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  %75 = getelementptr inbounds %"class.UapkiNS::Ocsp::OcspHelper", ptr %15, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !28
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %126

78:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.TBSRequest, ptr %79, i32 0, i32 2
  %81 = getelementptr inbounds %"struct.TBSRequest::requestList", ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %struct.anon, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !35
  %84 = load i64, ptr %10, align 8, !tbaa !33
  %85 = getelementptr inbounds ptr, ptr %83, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.Request, ptr %86, i32 0, i32 0
  store ptr %87, ptr %14, align 8, !tbaa !5
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.CertID, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.SingleResponse, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds %struct.CertID, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %93, i32 0, i32 0
  %95 = call noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(16) %94)
  br i1 %95, label %96, label %117

96:                                               ; preds = %78
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.CertID, ptr %97, i32 0, i32 1
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.SingleResponse, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %struct.CertID, ptr %100, i32 0, i32 1
  %102 = call noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40) %98, ptr noundef nonnull align 8 dereferenceable(40) %101)
  br i1 %102, label %103, label %117

103:                                              ; preds = %96
  %104 = load ptr, ptr %14, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.CertID, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.SingleResponse, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %struct.CertID, ptr %107, i32 0, i32 2
  %109 = call noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40) %105, ptr noundef nonnull align 8 dereferenceable(40) %108)
  br i1 %109, label %110, label %117

110:                                              ; preds = %103
  %111 = load ptr, ptr %14, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.CertID, ptr %111, i32 0, i32 3
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.SingleResponse, ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds %struct.CertID, ptr %114, i32 0, i32 3
  %116 = call noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %112, ptr noundef nonnull align 8 dereferenceable(16) %115)
  br i1 %116, label %122, label %117

117:                                              ; preds = %110, %103, %96, %78
  br label %118

118:                                              ; preds = %117
  store i32 4198, ptr %4, align 4, !tbaa !9
  %119 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 539, i32 noundef %119, ptr noundef null)
  store i32 4, ptr %8, align 4
  br label %123

120:                                              ; No predecessors!
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121, %110
  store i32 0, ptr %8, align 4
  br label %123

123:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  %124 = load i32, ptr %8, align 4
  switch i32 %124, label %216 [
    i32 0, label %125
  ]

125:                                              ; preds = %123
  br label %126

126:                                              ; preds = %125, %63
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.SingleResponse, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds %struct.CertStatus, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 8, !tbaa !36
  switch i32 %130, label %177 [
    i32 1, label %131
    i32 2, label %134
    i32 3, label %174
  ]

131:                                              ; preds = %126
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %132, i32 0, i32 0
  store i32 0, ptr %133, align 8, !tbaa !43
  br label %182

134:                                              ; preds = %126
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %135, i32 0, i32 0
  store i32 1, ptr %136, align 8, !tbaa !43
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.SingleResponse, ptr %137, i32 0, i32 1
  %139 = getelementptr inbounds %struct.CertStatus, ptr %138, i32 0, i32 1
  store ptr %139, ptr %7, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %134
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.RevokedInfo, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %143, i32 0, i32 4
  %145 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef %142, ptr noundef nonnull align 8 dereferenceable(8) %144)
  store i32 %145, ptr %4, align 4, !tbaa !9
  %146 = load i32, ptr %4, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %150

148:                                              ; preds = %140
  %149 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 550, i32 noundef %149)
  store i32 4, ptr %8, align 4
  br label %216

150:                                              ; preds = %140
  br label %151

151:                                              ; preds = %150
  br label %152

152:                                              ; preds = %151
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.RevokedInfo, ptr %153, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !47
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %173

157:                                              ; preds = %152
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.RevokedInfo, ptr %159, i32 0, i32 1
  %161 = load ptr, ptr %160, align 8, !tbaa !47
  %162 = call noundef i32 @_ZN7UapkiNS4Util18enumeratedFromAsn1EPK21ASN__PRIMITIVE_TYPE_sPj(ptr noundef %161, ptr noundef %13)
  store i32 %162, ptr %4, align 4, !tbaa !9
  %163 = load i32, ptr %4, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %167

165:                                              ; preds = %158
  %166 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 552, i32 noundef %166)
  store i32 4, ptr %8, align 4
  br label %216

167:                                              ; preds = %158
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %13, align 4, !tbaa !9
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %171, i32 0, i32 5
  store i32 %170, ptr %172, align 8, !tbaa !49
  br label %173

173:                                              ; preds = %169, %152
  br label %182

174:                                              ; preds = %126
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %175, i32 0, i32 0
  store i32 2, ptr %176, align 8, !tbaa !43
  br label %182

177:                                              ; preds = %126
  br label %178

178:                                              ; preds = %177
  store i32 4198, ptr %4, align 4, !tbaa !9
  %179 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 560, i32 noundef %179, ptr noundef null)
  store i32 4, ptr %8, align 4
  br label %216

180:                                              ; No predecessors!
  br label %181

181:                                              ; preds = %180
  br label %182

182:                                              ; preds = %181, %174, %173, %131
  br label %183

183:                                              ; preds = %182
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.SingleResponse, ptr %184, i32 0, i32 2
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %186, i32 0, i32 2
  %188 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef %185, ptr noundef nonnull align 8 dereferenceable(8) %187)
  store i32 %188, ptr %4, align 4, !tbaa !9
  %189 = load i32, ptr %4, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %193

191:                                              ; preds = %183
  %192 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 563, i32 noundef %192)
  store i32 4, ptr %8, align 4
  br label %216

193:                                              ; preds = %183
  br label %194

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %194
  %196 = load ptr, ptr %11, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.SingleResponse, ptr %196, i32 0, i32 3
  %198 = load ptr, ptr %197, align 8, !tbaa !50
  %199 = icmp ne ptr %198, null
  br i1 %199, label %200, label %215

200:                                              ; preds = %195
  br label %201

201:                                              ; preds = %200
  %202 = load ptr, ptr %11, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.SingleResponse, ptr %202, i32 0, i32 3
  %204 = load ptr, ptr %203, align 8, !tbaa !50
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.UapkiNS::Ocsp::OcspHelper::SingleResponseInfo", ptr %205, i32 0, i32 3
  %207 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef %204, ptr noundef nonnull align 8 dereferenceable(8) %206)
  store i32 %207, ptr %4, align 4, !tbaa !9
  %208 = load i32, ptr %4, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %212

210:                                              ; preds = %201
  %211 = load i32, ptr %4, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 565, i32 noundef %211)
  store i32 4, ptr %8, align 4
  br label %216

212:                                              ; preds = %201
  br label %213

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214, %195
  store i32 0, ptr %8, align 4
  br label %216

216:                                              ; preds = %215, %210, %191, %178, %165, %148, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %217 = load i32, ptr %8, align 4
  switch i32 %217, label %222 [
    i32 0, label %218
  ]

218:                                              ; preds = %216
  br label %219

219:                                              ; preds = %218
  %220 = load i64, ptr %10, align 8, !tbaa !33
  %221 = add i64 %220, 1
  store i64 %221, ptr %10, align 8, !tbaa !33
  br label %57, !llvm.loop !51

222:                                              ; preds = %216, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %223 = load i32, ptr %8, align 4
  switch i32 %223, label %227 [
    i32 5, label %224
    i32 4, label %225
  ]

224:                                              ; preds = %222
  br label %225

225:                                              ; preds = %224, %222, %51
  %226 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %226, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %227

227:                                              ; preds = %225, %222, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %228

228:                                              ; preds = %227, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %229 = load i32, ptr %2, align 4
  ret i32 %229
}

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

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

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

declare noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"_ZTSN7UapkiNS4Ocsp10OcspHelperE", !13, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !18, i64 88}
!13 = !{!"_ZTSSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN7UapkiNS4Ocsp14ResponseStatusE", !7, i64 0}
!19 = !{!20, !10, i64 168}
!20 = !{!"_ZTS12ResponseData", !6, i64 0, !21, i64 8, !25, i64 120, !26, i64 160, !6, i64 208, !23, i64 216}
!21 = !{!"_ZTS11ResponderID", !22, i64 0, !7, i64 8, !23, i64 88}
!22 = !{!"_ZTS14ResponderID_PR", !7, i64 0}
!23 = !{!"_ZTS16asn_struct_ctx_s", !24, i64 0, !24, i64 2, !10, i64 4, !6, i64 8, !17, i64 16}
!24 = !{!"short", !7, i64 0}
!25 = !{!"_ZTS12OCTET_STRING", !6, i64 0, !10, i64 8, !23, i64 16}
!26 = !{!"_ZTSN12ResponseData9responsesE", !27, i64 0, !23, i64 24}
!27 = !{!"_ZTSN12ResponseData9responsesUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!28 = !{!12, !6, i64 24}
!29 = !{!30, !10, i64 24}
!30 = !{!"_ZTS10TBSRequest", !6, i64 0, !6, i64 8, !31, i64 16, !6, i64 64, !23, i64 72}
!31 = !{!"_ZTSN10TBSRequest11requestListE", !32, i64 0, !23, i64 24}
!32 = !{!"_ZTSN10TBSRequest11requestListUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!33 = !{!17, !17, i64 0}
!34 = !{!20, !6, i64 160}
!35 = !{!30, !6, i64 16}
!36 = !{!37, !42, i64 168}
!37 = !{!"_ZTS14SingleResponse", !38, i64 0, !41, i64 168, !25, i64 272, !6, i64 312, !6, i64 320, !23, i64 328}
!38 = !{!"_ZTS6CertID", !39, i64 0, !25, i64 48, !25, i64 88, !40, i64 128, !23, i64 144}
!39 = !{!"_ZTS19AlgorithmIdentifier", !40, i64 0, !6, i64 16, !23, i64 24}
!40 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!41 = !{!"_ZTS10CertStatus", !42, i64 0, !7, i64 8, !23, i64 80}
!42 = !{!"_ZTS13CertStatus_PR", !7, i64 0}
!43 = !{!44, !45, i64 0}
!44 = !{!"_ZTSN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoE", !45, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !46, i64 32}
!45 = !{!"_ZTSN7UapkiNS10CertStatusE", !7, i64 0}
!46 = !{!"_ZTSN7UapkiNS9CrlReasonE", !7, i64 0}
!47 = !{!48, !6, i64 40}
!48 = !{!"_ZTS11RevokedInfo", !25, i64 0, !6, i64 40, !23, i64 48}
!49 = !{!44, !46, i64 32}
!50 = !{!37, !6, i64 312}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}


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

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

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

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

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

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

declare noundef i32 @_ZN7UapkiNS4Util18enumeratedFromAsn1EPK21ASN__PRIMITIVE_TYPE_sPj(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS4Ocsp10OcspHelper19scanSingleResponsesEv(ptr noundef nonnull align 8 dereferenceable(92) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca i32, align 4
  %3 = getelementptr inbounds i8, ptr %0, i64 32
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %.loopexit, label %5

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %4, i64 160
  %7 = getelementptr inbounds i8, ptr %4, i64 168
  %8 = load i32, ptr %7, align 8, !tbaa !16
  %9 = icmp slt i32 %8, 1
  br i1 %9, label %.loopexit, label %10

10:                                               ; preds = %5
  %11 = zext nneg i32 %8 to i64
  tail call void @_ZNSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %11)
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load ptr, ptr %12, align 8, !tbaa !26
  %.not70 = icmp eq ptr %13, null
  br i1 %.not70, label %18, label %14

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %13, i64 24
  %16 = load i32, ptr %15, align 8, !tbaa !27
  %.not71 = icmp eq i32 %16, %8
  br i1 %.not71, label %18, label %17

17:                                               ; preds = %14
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 522, i32 noundef 4198, ptr noundef null)
  br label %.loopexit

18:                                               ; preds = %14, %10
  %19 = tail call noundef i64 @_ZNKSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %.not92 = icmp eq i64 %19, 0
  br i1 %.not92, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %18
  %20 = getelementptr inbounds i8, ptr %13, i64 16
  br label %21

21:                                               ; preds = %.lr.ph, %76
  %.05591 = phi i64 [ 0, %.lr.ph ], [ %77, %76 ]
  %22 = load ptr, ptr %6, align 8, !tbaa !31
  %23 = getelementptr inbounds ptr, ptr %22, i64 %.05591
  %24 = load ptr, ptr %23, align 8, !tbaa !32
  %25 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.05591) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  store i32 0, ptr %2, align 4, !tbaa !33
  %26 = load ptr, ptr %12, align 8, !tbaa !26
  %.not72 = icmp eq ptr %26, null
  br i1 %.not72, label %.thread, label %27

27:                                               ; preds = %21
  %28 = load ptr, ptr %20, align 8, !tbaa !34
  %29 = getelementptr inbounds ptr, ptr %28, i64 %.05591
  %30 = load ptr, ptr %29, align 8, !tbaa !32
  %31 = call noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %24)
  br i1 %31, label %32, label %44

32:                                               ; preds = %27
  %33 = getelementptr inbounds i8, ptr %30, i64 48
  %34 = getelementptr inbounds i8, ptr %24, i64 48
  %35 = call noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %34)
  br i1 %35, label %36, label %44

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %30, i64 88
  %38 = getelementptr inbounds i8, ptr %24, i64 88
  %39 = call noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40) %37, ptr noundef nonnull align 8 dereferenceable(40) %38)
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = getelementptr inbounds i8, ptr %30, i64 128
  %42 = getelementptr inbounds i8, ptr %24, i64 128
  %43 = call noundef zeroext i1 @_ZN7UapkiNS4Util23equalValuePrimitiveTypeERK21ASN__PRIMITIVE_TYPE_sS3_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %42)
  br i1 %43, label %.thread, label %44

44:                                               ; preds = %40, %36, %32, %27
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 539, i32 noundef 4198, ptr noundef null)
  br label %.thread82

.thread:                                          ; preds = %40, %21
  %45 = getelementptr inbounds i8, ptr %24, i64 168
  %46 = load i32, ptr %45, align 8, !tbaa !35
  switch i32 %46, label %63 [
    i32 1, label %47
    i32 2, label %48
    i32 3, label %62
  ]

47:                                               ; preds = %.thread
  store i32 0, ptr %25, align 8, !tbaa !42
  br label %64

48:                                               ; preds = %.thread
  store i32 1, ptr %25, align 8, !tbaa !42
  %49 = getelementptr inbounds i8, ptr %24, i64 176
  %50 = getelementptr inbounds i8, ptr %25, i64 24
  %51 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef nonnull %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
  %.not73 = icmp eq i32 %51, 0
  br i1 %.not73, label %53, label %52

52:                                               ; preds = %48
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 550, i32 noundef %51)
  br label %.thread82

53:                                               ; preds = %48
  %54 = getelementptr inbounds i8, ptr %24, i64 216
  %55 = load ptr, ptr %54, align 8, !tbaa !46
  %.not74 = icmp eq ptr %55, null
  br i1 %.not74, label %64, label %56

56:                                               ; preds = %53
  %57 = call noundef i32 @_ZN7UapkiNS4Util18enumeratedFromAsn1EPK21ASN__PRIMITIVE_TYPE_sPj(ptr noundef nonnull %55, ptr noundef nonnull %2)
  %.not75 = icmp eq i32 %57, 0
  br i1 %.not75, label %59, label %58

58:                                               ; preds = %56
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 552, i32 noundef %57)
  br label %.thread82

59:                                               ; preds = %56
  %60 = load i32, ptr %2, align 4, !tbaa !33
  %61 = getelementptr inbounds i8, ptr %25, i64 32
  store i32 %60, ptr %61, align 8, !tbaa !48
  br label %64

62:                                               ; preds = %.thread
  store i32 2, ptr %25, align 8, !tbaa !42
  br label %64

63:                                               ; preds = %.thread
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 560, i32 noundef 4198, ptr noundef null)
  br label %.thread82

64:                                               ; preds = %47, %62, %59, %53
  %65 = getelementptr inbounds i8, ptr %24, i64 272
  %66 = getelementptr inbounds i8, ptr %25, i64 8
  %67 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef nonnull %65, ptr noundef nonnull align 8 dereferenceable(8) %66)
  %.not76 = icmp eq i32 %67, 0
  br i1 %.not76, label %69, label %68

68:                                               ; preds = %64
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 563, i32 noundef %67)
  br label %.thread82

69:                                               ; preds = %64
  %70 = getelementptr inbounds i8, ptr %24, i64 312
  %71 = load ptr, ptr %70, align 8, !tbaa !49
  %.not77 = icmp eq ptr %71, null
  br i1 %.not77, label %76, label %72

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %25, i64 16
  %74 = call noundef i32 @_ZN7UapkiNS4Util15genTimeFromAsn1EPK12OCTET_STRINGRm(ptr noundef nonnull %71, ptr noundef nonnull align 8 dereferenceable(8) %73)
  %.not78 = icmp eq i32 %74, 0
  br i1 %.not78, label %76, label %75

75:                                               ; preds = %72
  call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 565, i32 noundef %74)
  br label %.thread82

.thread82:                                        ; preds = %63, %68, %75, %52, %58, %44
  %.3.ph = phi i32 [ 4198, %44 ], [ %57, %58 ], [ %51, %52 ], [ %74, %75 ], [ %67, %68 ], [ 4198, %63 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br label %.loopexit

76:                                               ; preds = %72, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  %77 = add nuw i64 %.05591, 1
  %78 = call noundef i64 @_ZNKSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %79 = icmp ult i64 %77, %78
  br i1 %79, label %21, label %.loopexit, !llvm.loop !50

.loopexit:                                        ; preds = %76, %18, %.thread82, %5, %17, %1
  %.1 = phi i32 [ 4101, %1 ], [ 4152, %5 ], [ 4198, %17 ], [ %.3.ph, %.thread82 ], [ 0, %18 ], [ 0, %76 ]
  ret i32 %.1
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 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 #1

declare noundef zeroext i1 @_ZN7UapkiNS4Util21equalValueOctetStringERK12OCTET_STRINGS3_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"_ZTSN7UapkiNS4Ocsp10OcspHelperE", !7, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !14, i64 80, !15, i64 88}
!7 = !{!"_ZTSSt6vectorIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"long", !12, i64 0}
!15 = !{!"_ZTSN7UapkiNS4Ocsp14ResponseStatusE", !12, i64 0}
!16 = !{!17, !22, i64 168}
!17 = !{!"_ZTS12ResponseData", !11, i64 0, !18, i64 8, !23, i64 120, !24, i64 160, !11, i64 208, !20, i64 216}
!18 = !{!"_ZTS11ResponderID", !19, i64 0, !12, i64 8, !20, i64 88}
!19 = !{!"_ZTS14ResponderID_PR", !12, i64 0}
!20 = !{!"_ZTS16asn_struct_ctx_s", !21, i64 0, !21, i64 2, !22, i64 4, !11, i64 8, !14, i64 16}
!21 = !{!"short", !12, i64 0}
!22 = !{!"int", !12, i64 0}
!23 = !{!"_ZTS12OCTET_STRING", !11, i64 0, !22, i64 8, !20, i64 16}
!24 = !{!"_ZTSN12ResponseData9responsesE", !25, i64 0, !20, i64 24}
!25 = !{!"_ZTSN12ResponseData9responsesUt_E", !11, i64 0, !22, i64 8, !22, i64 12, !11, i64 16}
!26 = !{!6, !11, i64 24}
!27 = !{!28, !22, i64 24}
!28 = !{!"_ZTS10TBSRequest", !11, i64 0, !11, i64 8, !29, i64 16, !11, i64 64, !20, i64 72}
!29 = !{!"_ZTSN10TBSRequest11requestListE", !30, i64 0, !20, i64 24}
!30 = !{!"_ZTSN10TBSRequest11requestListUt_E", !11, i64 0, !22, i64 8, !22, i64 12, !11, i64 16}
!31 = !{!17, !11, i64 160}
!32 = !{!11, !11, i64 0}
!33 = !{!22, !22, i64 0}
!34 = !{!28, !11, i64 16}
!35 = !{!36, !41, i64 168}
!36 = !{!"_ZTS14SingleResponse", !37, i64 0, !40, i64 168, !23, i64 272, !11, i64 312, !11, i64 320, !20, i64 328}
!37 = !{!"_ZTS6CertID", !38, i64 0, !23, i64 48, !23, i64 88, !39, i64 128, !20, i64 144}
!38 = !{!"_ZTS19AlgorithmIdentifier", !39, i64 0, !11, i64 16, !20, i64 24}
!39 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !11, i64 0, !22, i64 8}
!40 = !{!"_ZTS10CertStatus", !41, i64 0, !12, i64 8, !20, i64 80}
!41 = !{!"_ZTS13CertStatus_PR", !12, i64 0}
!42 = !{!43, !44, i64 0}
!43 = !{!"_ZTSN7UapkiNS4Ocsp10OcspHelper18SingleResponseInfoE", !44, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !45, i64 32}
!44 = !{!"_ZTSN7UapkiNS10CertStatusE", !12, i64 0}
!45 = !{!"_ZTSN7UapkiNS9CrlReasonE", !12, i64 0}
!46 = !{!47, !11, i64 40}
!47 = !{!"_ZTS11RevokedInfo", !23, i64 0, !11, i64 40, !20, i64 48}
!48 = !{!43, !45, i64 32}
!49 = !{!36, !11, i64 312}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}


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