	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function def_crl_lookup
_def_crl_lookup:                        ## @def_crl_lookup
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	callq	_sk_X509_REVOKED_is_sorted
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	(%rbx), %rdi
	callq	_sk_X509_REVOKED_sort
	movl	8(%rbx), %edi
	callq	_CRYPTO_THREAD_unlock
LBB0_3:
	movl	(%r13), %eax
	movl	%eax, -64(%rbp)
	movq	(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	callq	_sk_X509_REVOKED_find
	testl	%eax, %eax
	js	LBB0_14
## %bb.4:
	movl	%eax, %r14d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_sk_X509_REVOKED_num
	cmpl	%eax, %r14d
	jge	LBB0_14
## %bb.5:
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	%r14d, %esi
	callq	_sk_X509_REVOKED_value
	movq	%rax, %r12
	leaq	8(%rax), %rdi
	movq	%r13, %rsi
	callq	_ASN1_INTEGER_cmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_crl_revoked_issuer_match
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	cmpl	%r14d, %r15d
	jne	LBB0_6
LBB0_10:
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r12, (%rax)
LBB0_13:
	movq	(%r12), %rax
	movq	_CRL_REASON_REMOVE_FROM_CRL@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	sete	%r12b
	incl	%r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRL_REASON_REMOVE_FROM_CRL,8,3 ## @CRL_REASON_REMOVE_FROM_CRL
	.no_dead_strip	_def_crl_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function def_crl_lookup
_def_crl_lookup:                        ; @def_crl_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_sk_X509_REVOKED_is_sorted
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x22, #8]
	bl	_CRYPTO_THREAD_write_lock
	ldr	x0, [x22]
	bl	_sk_X509_REVOKED_sort
	ldr	w0, [x22, #8]
	bl	_CRYPTO_THREAD_unlock
LBB0_3:
	ldr	w8, [x21]
	str	w8, [sp, #8]
	ldr	x0, [x22]
	mov	x1, sp
	bl	_sk_X509_REVOKED_find
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x23, x0
	ldr	x0, [x22]
	bl	_sk_X509_REVOKED_num
	cmp	w23, w0
	b.ge	LBB0_9
; %bb.5:
	mov	x24, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	mov	x1, x23
	bl	_sk_X509_REVOKED_value
	mov	x25, x0
	add	x0, x0, #8
	mov	x1, x21
	bl	_ASN1_INTEGER_cmp
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x25
	bl	_crl_revoked_issuer_match
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	cmp	w24, w23
	b.ne	LBB0_6
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	cbz	x19, LBB0_13
; %bb.12:
	str	x25, [x19]
LBB0_13:
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _CRL_REASON_REMOVE_FROM_CRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRL_REASON_REMOVE_FROM_CRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cinc	w0, w8, eq
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRL_REASON_REMOVE_FROM_CRL,8,3 ; @CRL_REASON_REMOVE_FROM_CRL
	.no_dead_strip	_def_crl_lookup
.subsections_via_symbols
