	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OCSP_check_validity            ## -- Begin function OCSP_check_validity
	.p2align	4, 0x90
_OCSP_check_validity:                   ## @OCSP_check_validity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-56(%rbp), %rdi
	callq	_time
	movq	%r12, %rdi
	callq	_ASN1_GENERALIZEDTIME_check
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rax
	addq	%r15, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_X509_cmp_time
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	movq	_OCSP_F_OCSP_CHECK_VALIDITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OCSP_R_STATUS_NOT_YET_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OCSPerr
	xorl	%ebx, %ebx
	testq	%r13, %r13
	jns	LBB0_6
	jmp	LBB0_9
LBB0_1:
	movq	_OCSP_R_ERROR_IN_THISUPDATE_FIELD@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movl	$1, %ebx
	testq	%r13, %r13
	js	LBB0_9
LBB0_6:
	movq	-56(%rbp), %rax
	subq	%r13, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_X509_cmp_time
	testq	%rax, %rax
	jns	LBB0_9
## %bb.7:
	movq	_OCSP_R_STATUS_TOO_OLD@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_OCSP_F_OCSP_CHECK_VALIDITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_OCSPerr
	xorl	%ebx, %ebx
LBB0_9:
	testq	%r14, %r14
	je	LBB0_17
## %bb.10:
	movq	%r14, %rdi
	callq	_ASN1_GENERALIZEDTIME_check
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	-56(%rbp), %rax
	subq	%r15, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_X509_cmp_time
	testq	%rax, %rax
	jns	LBB0_15
## %bb.13:
	movq	_OCSP_R_STATUS_EXPIRED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_OCSP_R_ERROR_IN_NEXTUPDATE_FIELD@GOTPCREL(%rip), %rax
LBB0_14:
	movq	_OCSP_F_OCSP_CHECK_VALIDITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_OCSPerr
	xorl	%ebx, %ebx
LBB0_15:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ASN1_STRING_cmp
	testq	%rax, %rax
	jns	LBB0_17
## %bb.16:
	movq	_OCSP_F_OCSP_CHECK_VALIDITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OCSPerr
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCSP_F_OCSP_CHECK_VALIDITY,4,2 ## @OCSP_F_OCSP_CHECK_VALIDITY
	.comm	_OCSP_R_ERROR_IN_THISUPDATE_FIELD,4,2 ## @OCSP_R_ERROR_IN_THISUPDATE_FIELD
	.comm	_OCSP_R_STATUS_NOT_YET_VALID,4,2 ## @OCSP_R_STATUS_NOT_YET_VALID
	.comm	_OCSP_R_STATUS_TOO_OLD,4,2      ## @OCSP_R_STATUS_TOO_OLD
	.comm	_OCSP_R_ERROR_IN_NEXTUPDATE_FIELD,4,2 ## @OCSP_R_ERROR_IN_NEXTUPDATE_FIELD
	.comm	_OCSP_R_STATUS_EXPIRED,4,2      ## @OCSP_R_STATUS_EXPIRED
	.comm	_OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE,4,2 ## @OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OCSP_check_validity            ; -- Begin function OCSP_check_validity
	.p2align	2
_OCSP_check_validity:                   ; @OCSP_check_validity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_time
	mov	x0, x19
	bl	_ASN1_GENERALIZEDTIME_check
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	add	x8, x8, x21
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_X509_cmp_time
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OCSP_R_STATUS_NOT_YET_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCSP_R_STATUS_NOT_YET_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_OCSPerr
	mov	w22, #0
	tbz	x23, #63, LBB0_5
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _OCSP_R_ERROR_IN_THISUPDATE_FIELD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCSP_R_ERROR_IN_THISUPDATE_FIELD@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	w22, #1
	tbnz	x23, #63, LBB0_8
LBB0_5:
	ldr	x8, [sp, #8]
	sub	x8, x8, x23
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_X509_cmp_time
	tbz	x0, #63, LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _OCSP_R_STATUS_TOO_OLD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OCSP_R_STATUS_TOO_OLD@GOTPAGEOFF]
LBB0_7:
Lloh10:
	adrp	x9, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_OCSPerr
	mov	w22, #0
LBB0_8:
	cbz	x20, LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_ASN1_GENERALIZEDTIME_check
	cbz	w0, LBB0_12
; %bb.10:
	ldr	x8, [sp, #8]
	sub	x8, x8, x21
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_X509_cmp_time
	tbz	x0, #63, LBB0_14
; %bb.11:
Lloh13:
	adrp	x8, _OCSP_R_STATUS_EXPIRED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OCSP_R_STATUS_EXPIRED@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x8, _OCSP_R_ERROR_IN_NEXTUPDATE_FIELD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OCSP_R_ERROR_IN_NEXTUPDATE_FIELD@GOTPAGEOFF]
LBB0_13:
Lloh17:
	adrp	x9, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_OCSPerr
	mov	w22, #0
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_ASN1_STRING_cmp
	tbz	x0, #63, LBB0_16
; %bb.15:
Lloh20:
	adrp	x8, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OCSP_F_OCSP_CHECK_VALIDITY@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_OCSPerr
	mov	w22, #0
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_OCSP_F_OCSP_CHECK_VALIDITY,4,2 ; @OCSP_F_OCSP_CHECK_VALIDITY
	.comm	_OCSP_R_ERROR_IN_THISUPDATE_FIELD,4,2 ; @OCSP_R_ERROR_IN_THISUPDATE_FIELD
	.comm	_OCSP_R_STATUS_NOT_YET_VALID,4,2 ; @OCSP_R_STATUS_NOT_YET_VALID
	.comm	_OCSP_R_STATUS_TOO_OLD,4,2      ; @OCSP_R_STATUS_TOO_OLD
	.comm	_OCSP_R_ERROR_IN_NEXTUPDATE_FIELD,4,2 ; @OCSP_R_ERROR_IN_NEXTUPDATE_FIELD
	.comm	_OCSP_R_STATUS_EXPIRED,4,2      ; @OCSP_R_STATUS_EXPIRED
	.comm	_OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE,4,2 ; @OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE
.subsections_via_symbols
