	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_check_cert_time           ## -- Begin function x509_check_cert_time
	.p2align	4, 0x90
_x509_check_cert_time:                  ## @x509_check_cert_time
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movl	(%rbx), %eax
	movq	_X509_V_FLAG_USE_CHECK_TIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	addq	$4, %rbx
LBB0_4:
	movq	%r12, %rdi
	callq	_X509_get0_notBefore
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_X509_cmp_time
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	jns	LBB0_6
## %bb.5:
	testl	%eax, %eax
	jns	LBB0_19
LBB0_6:
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	jle	LBB0_11
## %bb.9:
	movq	_X509_V_ERR_CERT_NOT_YET_VALID@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_X509_V_FLAG_NO_CHECK_TIME@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	testl	%eax, (%rcx)
	jne	LBB0_19
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_7:
	movq	_X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_verify_cb_cert
	testl	%eax, %eax
	je	LBB0_19
LBB0_11:
	movq	%r12, %rdi
	callq	_X509_get0_notAfter
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_X509_cmp_time
	testl	%r15d, %r15d
	jns	LBB0_13
## %bb.12:
	testl	%eax, %eax
	jle	LBB0_19
LBB0_13:
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	jns	LBB0_18
## %bb.16:
	movq	_X509_V_ERR_CERT_HAS_EXPIRED@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_verify_cb_cert
	testl	%eax, %eax
	je	LBB0_19
LBB0_18:
	movl	$1, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_FLAG_USE_CHECK_TIME,4,2 ## @X509_V_FLAG_USE_CHECK_TIME
	.comm	_X509_V_FLAG_NO_CHECK_TIME,4,2  ## @X509_V_FLAG_NO_CHECK_TIME
	.comm	_X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD,4,2 ## @X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
	.comm	_X509_V_ERR_CERT_NOT_YET_VALID,4,2 ## @X509_V_ERR_CERT_NOT_YET_VALID
	.comm	_X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD,4,2 ## @X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
	.comm	_X509_V_ERR_CERT_HAS_EXPIRED,4,2 ## @X509_V_ERR_CERT_HAS_EXPIRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_check_cert_time           ; -- Begin function x509_check_cert_time
	.p2align	2
_x509_check_cert_time:                  ; @x509_check_cert_time
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x0]
	ldr	w8, [x9]
Lloh0:
	adrp	x10, _X509_V_FLAG_USE_CHECK_TIME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _X509_V_FLAG_USE_CHECK_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.1:
	add	x22, x9, #4
LBB0_2:
	mov	x0, x20
	bl	_X509_get0_notBefore
	mov	x1, x22
	bl	_X509_cmp_time
	tbz	w19, #31, LBB0_4
; %bb.3:
	tbz	w0, #31, LBB0_13
LBB0_4:
	cbz	w0, LBB0_9
; %bb.5:
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.6:
Lloh3:
	adrp	x8, _X509_V_ERR_CERT_NOT_YET_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509_V_ERR_CERT_NOT_YET_VALID@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x9, _X509_V_FLAG_NO_CHECK_TIME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _X509_V_FLAG_NO_CHECK_TIME@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_8:
	mov	w0, #1
	b	LBB0_14
LBB0_9:
Lloh8:
	adrp	x8, _X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD@GOTPAGEOFF]
LBB0_10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_verify_cb_cert
	cbz	w0, LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_X509_get0_notAfter
	mov	x1, x22
	bl	_X509_cmp_time
	tbz	w19, #31, LBB0_16
; %bb.12:
	cmp	w0, #1
	b.ge	LBB0_16
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x22, #0
	b	LBB0_2
LBB0_16:
	cbz	w0, LBB0_19
; %bb.17:
	tbz	w0, #31, LBB0_8
; %bb.18:
Lloh10:
	adrp	x8, _X509_V_ERR_CERT_HAS_EXPIRED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _X509_V_ERR_CERT_HAS_EXPIRED@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh12:
	adrp	x8, _X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD@GOTPAGEOFF]
LBB0_20:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_verify_cb_cert
	cbnz	w0, LBB0_8
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_FLAG_USE_CHECK_TIME,4,2 ; @X509_V_FLAG_USE_CHECK_TIME
	.comm	_X509_V_FLAG_NO_CHECK_TIME,4,2  ; @X509_V_FLAG_NO_CHECK_TIME
	.comm	_X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD,4,2 ; @X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
	.comm	_X509_V_ERR_CERT_NOT_YET_VALID,4,2 ; @X509_V_ERR_CERT_NOT_YET_VALID
	.comm	_X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD,4,2 ; @X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
	.comm	_X509_V_ERR_CERT_HAS_EXPIRED,4,2 ; @X509_V_ERR_CERT_HAS_EXPIRED
.subsections_via_symbols
