	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_crl
_check_crl:                             ## @check_crl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	movl	32(%rdi), %edi
	callq	_sk_X509_num
	movq	16(%r12), %r15
	testq	%r15, %r15
	jne	LBB0_6
## %bb.1:
	decl	%eax
	movl	32(%r12), %edi
	cmpl	%eax, %ebx
	jge	LBB0_3
## %bb.2:
	incl	%ebx
	movl	%ebx, %esi
	callq	_sk_X509_value
	movq	%rax, %r15
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %esi
	callq	_sk_X509_value
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	*24(%r12)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
LBB0_5:
	testq	%r15, %r15
	je	LBB0_14
LBB0_6:
	cmpl	$0, 4(%r14)
	je	LBB0_15
LBB0_7:
	movq	_CRL_SCORE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	jne	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_check_crl_time
	testl	%eax, %eax
	je	LBB0_34
LBB0_9:
	movq	%r15, %rdi
	callq	_X509_get0_pubkey
	testq	%rax, %rax
	je	LBB0_27
## %bb.10:
	movq	%rax, %rbx
	movq	8(%r12), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_X509_CRL_check_suiteb
	movq	_X509_V_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
LBB0_12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_X509_CRL_verify
	testq	%rax, %rax
	jg	LBB0_14
## %bb.13:
	movq	_X509_V_ERR_CRL_SIGNATURE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
LBB0_14:
	movl	$1, %eax
	jmp	LBB0_35
LBB0_15:
	movq	_EXFLAG_KUSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_18
## %bb.16:
	movq	_KU_CRL_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_18
## %bb.17:
	movq	_X509_V_ERR_KEYUSAGE_NO_CRL_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
LBB0_18:
	movl	4(%r12), %eax
	movq	_CRL_SCORE_SCOPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_21
## %bb.19:
	movq	_X509_V_ERR_DIFFERENT_CRL_SCOPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
## %bb.20:
	movl	4(%r12), %eax
LBB0_21:
	movq	_CRL_SCORE_SAME_PATH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_24
## %bb.22:
	movq	16(%r12), %rsi
	movq	%r12, %rdi
	callq	_check_crl_path
	testq	%rax, %rax
	jg	LBB0_24
## %bb.23:
	movq	_X509_V_ERR_CRL_PATH_VALIDATION_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	je	LBB0_34
LBB0_24:
	movq	_IDP_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.25:
	movq	_X509_V_ERR_INVALID_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	testl	%eax, %eax
	jne	LBB0_7
LBB0_34:
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_27:
	movq	_X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_verify_cb_crl
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_35:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER,4,2 ## @X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER
	.comm	_EXFLAG_KUSAGE,4,2              ## @EXFLAG_KUSAGE
	.comm	_KU_CRL_SIGN,4,2                ## @KU_CRL_SIGN
	.comm	_X509_V_ERR_KEYUSAGE_NO_CRL_SIGN,4,2 ## @X509_V_ERR_KEYUSAGE_NO_CRL_SIGN
	.comm	_CRL_SCORE_SCOPE,4,2            ## @CRL_SCORE_SCOPE
	.comm	_X509_V_ERR_DIFFERENT_CRL_SCOPE,4,2 ## @X509_V_ERR_DIFFERENT_CRL_SCOPE
	.comm	_CRL_SCORE_SAME_PATH,4,2        ## @CRL_SCORE_SAME_PATH
	.comm	_X509_V_ERR_CRL_PATH_VALIDATION_ERROR,4,2 ## @X509_V_ERR_CRL_PATH_VALIDATION_ERROR
	.comm	_IDP_INVALID,4,2                ## @IDP_INVALID
	.comm	_X509_V_ERR_INVALID_EXTENSION,4,2 ## @X509_V_ERR_INVALID_EXTENSION
	.comm	_CRL_SCORE_TIME,4,2             ## @CRL_SCORE_TIME
	.comm	_X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY,4,2 ## @X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
	.comm	_X509_V_OK,4,2                  ## @X509_V_OK
	.comm	_X509_V_ERR_CRL_SIGNATURE_FAILURE,4,2 ## @X509_V_ERR_CRL_SIGNATURE_FAILURE
	.no_dead_strip	_check_crl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_crl
_check_crl:                             ; @check_crl
	.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	x20, x1
	mov	x19, x0
	ldr	w22, [x0]
	ldr	w0, [x0, #32]
	bl	_sk_X509_num
	ldr	x21, [x19, #16]
	cbnz	x21, LBB0_6
; %bb.1:
	sub	w1, w0, #1
	ldr	w0, [x19, #32]
	cmp	w22, w1
	b.ge	LBB0_3
; %bb.2:
	add	w1, w22, #1
	bl	_sk_X509_value
	mov	x21, x0
	b	LBB0_5
LBB0_3:
	bl	_sk_X509_value
	mov	x21, x0
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	blr	x8
	cbnz	w0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
LBB0_5:
	cbz	x21, LBB0_14
LBB0_6:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_15
LBB0_7:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _CRL_SCORE_TIME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRL_SCORE_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_check_crl_time
	cbz	w0, LBB0_27
LBB0_9:
	mov	x0, x21
	bl	_X509_get0_pubkey
	cbz	x0, LBB0_26
; %bb.10:
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_X509_CRL_check_suiteb
Lloh6:
	adrp	x8, _X509_V_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X509_V_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x1, x0
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
LBB0_12:
	mov	x0, x20
	mov	x1, x21
	bl	_X509_CRL_verify
	cmp	x0, #0
	b.gt	LBB0_14
; %bb.13:
Lloh9:
	adrp	x8, _X509_V_ERR_CRL_SIGNATURE_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509_V_ERR_CRL_SIGNATURE_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
LBB0_14:
	mov	w0, #1
	b	LBB0_27
LBB0_15:
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _EXFLAG_KUSAGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EXFLAG_KUSAGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.16:
	ldr	w8, [x21, #4]
Lloh15:
	adrp	x9, _KU_CRL_SIGN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _KU_CRL_SIGN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.17:
Lloh18:
	adrp	x8, _X509_V_ERR_KEYUSAGE_NO_CRL_SIGN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _X509_V_ERR_KEYUSAGE_NO_CRL_SIGN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
LBB0_18:
	ldr	w8, [x19, #4]
Lloh21:
	adrp	x9, _CRL_SCORE_SCOPE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CRL_SCORE_SCOPE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_21
; %bb.19:
Lloh24:
	adrp	x8, _X509_V_ERR_DIFFERENT_CRL_SCOPE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _X509_V_ERR_DIFFERENT_CRL_SCOPE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
; %bb.20:
	ldr	w8, [x19, #4]
LBB0_21:
Lloh27:
	adrp	x9, _CRL_SCORE_SAME_PATH@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CRL_SCORE_SAME_PATH@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_24
; %bb.22:
	ldr	x1, [x19, #16]
	mov	x0, x19
	bl	_check_crl_path
	cmp	x0, #0
	b.gt	LBB0_24
; %bb.23:
Lloh30:
	adrp	x8, _X509_V_ERR_CRL_PATH_VALIDATION_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _X509_V_ERR_CRL_PATH_VALIDATION_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbz	w0, LBB0_27
LBB0_24:
	ldr	w8, [x20]
Lloh33:
	adrp	x9, _IDP_INVALID@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IDP_INVALID@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.25:
Lloh36:
	adrp	x8, _X509_V_ERR_INVALID_EXTENSION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _X509_V_ERR_INVALID_EXTENSION@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cbnz	w0, LBB0_7
	b	LBB0_27
LBB0_26:
Lloh39:
	adrp	x8, _X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_cb_crl
	cmp	w0, #0
	cset	w0, ne
LBB0_27:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER,4,2 ; @X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER
	.comm	_EXFLAG_KUSAGE,4,2              ; @EXFLAG_KUSAGE
	.comm	_KU_CRL_SIGN,4,2                ; @KU_CRL_SIGN
	.comm	_X509_V_ERR_KEYUSAGE_NO_CRL_SIGN,4,2 ; @X509_V_ERR_KEYUSAGE_NO_CRL_SIGN
	.comm	_CRL_SCORE_SCOPE,4,2            ; @CRL_SCORE_SCOPE
	.comm	_X509_V_ERR_DIFFERENT_CRL_SCOPE,4,2 ; @X509_V_ERR_DIFFERENT_CRL_SCOPE
	.comm	_CRL_SCORE_SAME_PATH,4,2        ; @CRL_SCORE_SAME_PATH
	.comm	_X509_V_ERR_CRL_PATH_VALIDATION_ERROR,4,2 ; @X509_V_ERR_CRL_PATH_VALIDATION_ERROR
	.comm	_IDP_INVALID,4,2                ; @IDP_INVALID
	.comm	_X509_V_ERR_INVALID_EXTENSION,4,2 ; @X509_V_ERR_INVALID_EXTENSION
	.comm	_CRL_SCORE_TIME,4,2             ; @CRL_SCORE_TIME
	.comm	_X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY,4,2 ; @X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
	.comm	_X509_V_OK,4,2                  ; @X509_V_OK
	.comm	_X509_V_ERR_CRL_SIGNATURE_FAILURE,4,2 ; @X509_V_ERR_CRL_SIGNATURE_FAILURE
	.no_dead_strip	_check_crl
.subsections_via_symbols
