	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crl_akid_check
_crl_akid_check:                        ## @crl_akid_check
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_X509_CRL_get_issuer
	movq	%rax, %r13
	movl	(%r15), %ebx
	movl	16(%r15), %edi
	callq	_sk_X509_num
	decl	%eax
	xorl	%r14d, %r14d
	cmpl	%eax, %ebx
	setne	%r14b
	addl	%ebx, %r14d
	movl	16(%r15), %edi
	movl	%r14d, %esi
	callq	_sk_X509_value
	movq	%rax, %rbx
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_X509_check_akid
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	_X509_V_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	(%rsi), %eax
	movq	_CRL_SCORE_ISSUER_NAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_CRL_SCORE_AKID@GOTPCREL(%rip), %rcx
	movq	_CRL_SCORE_ISSUER_CERT@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	%eax, (%rsi)
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r14d
	movl	16(%r15), %edi
	callq	_sk_X509_num
	cmpl	%eax, %r14d
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r15), %edi
	movl	%r14d, %esi
	callq	_sk_X509_value
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_X509_get_subject_name
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_X509_NAME_cmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_X509_check_akid
	movq	_X509_V_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.7:
	movq	_CRL_SCORE_AKID@GOTPCREL(%rip), %rax
	movq	_CRL_SCORE_SAME_PATH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	orl	%ecx, (%rax)
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	jmp	LBB0_15
LBB0_8:
	movq	8(%r15), %rax
	movq	_X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.9:
	movl	4(%r15), %edi
	callq	_sk_X509_num
	testl	%eax, %eax
	jle	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	movl	4(%r15), %edi
	callq	_sk_X509_num
	cmpl	%eax, %ebx
	jge	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %edi
	movl	%ebx, %esi
	callq	_sk_X509_value
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_X509_get_subject_name
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_X509_NAME_cmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_X509_check_akid
	movq	_X509_V_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	_CRL_SCORE_AKID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_OK,8,3                  ## @X509_V_OK
	.comm	_CRL_SCORE_ISSUER_NAME,4,2      ## @CRL_SCORE_ISSUER_NAME
	.comm	_CRL_SCORE_AKID,4,2             ## @CRL_SCORE_AKID
	.comm	_CRL_SCORE_ISSUER_CERT,4,2      ## @CRL_SCORE_ISSUER_CERT
	.comm	_CRL_SCORE_SAME_PATH,4,2        ## @CRL_SCORE_SAME_PATH
	.comm	_X509_V_FLAG_EXTENDED_CRL_SUPPORT,4,2 ## @X509_V_FLAG_EXTENDED_CRL_SUPPORT
	.no_dead_strip	_crl_akid_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crl_akid_check
_crl_akid_check:                        ; @crl_akid_check
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_X509_CRL_get_issuer
	mov	x23, x0
	ldr	w24, [x22]
	ldr	w0, [x22, #16]
	bl	_sk_X509_num
	sub	w8, w0, #1
	cmp	w24, w8
	cinc	w25, w24, ne
	ldr	w0, [x22, #16]
	mov	x1, x25
	bl	_sk_X509_value
	mov	x24, x0
	ldr	w1, [x21]
	bl	_X509_check_akid
Lloh0:
	adrp	x26, _X509_V_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _X509_V_OK@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _CRL_SCORE_ISSUER_NAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CRL_SCORE_ISSUER_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _CRL_SCORE_AKID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CRL_SCORE_AKID@GOTPAGEOFF]
Lloh7:
	adrp	x10, _CRL_SCORE_ISSUER_CERT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _CRL_SCORE_ISSUER_CERT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x19]
	str	x24, [x20]
	b	LBB0_16
LBB0_3:
	add	w24, w25, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #16]
	bl	_sk_X509_num
	cmp	w24, w0
	b.ge	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22, #16]
	mov	x1, x24
	bl	_sk_X509_value
	mov	x25, x0
	bl	_X509_get_subject_name
	mov	x1, x23
	bl	_X509_NAME_cmp
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x21]
	mov	x0, x25
	bl	_X509_check_akid
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.8:
Lloh11:
	adrp	x8, _CRL_SCORE_AKID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRL_SCORE_AKID@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _CRL_SCORE_SAME_PATH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CRL_SCORE_SAME_PATH@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	str	x25, [x20]
	b	LBB0_16
LBB0_9:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _X509_V_FLAG_EXTENDED_CRL_SUPPORT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.10:
	ldr	w0, [x22, #4]
	bl	_sk_X509_num
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.11:
	mov	w24, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w24, w24, #1
	ldr	w0, [x22, #4]
	bl	_sk_X509_num
	cmp	w24, w0
	b.ge	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]
	mov	x1, x24
	bl	_sk_X509_value
	mov	x25, x0
	bl	_X509_get_subject_name
	mov	x1, x23
	bl	_X509_NAME_cmp
	cbnz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x21]
	mov	x0, x25
	bl	_X509_check_akid
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.15:
	str	x25, [x20]
Lloh20:
	adrp	x8, _CRL_SCORE_AKID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CRL_SCORE_AKID@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_OK,8,3                  ; @X509_V_OK
	.comm	_CRL_SCORE_ISSUER_NAME,4,2      ; @CRL_SCORE_ISSUER_NAME
	.comm	_CRL_SCORE_AKID,4,2             ; @CRL_SCORE_AKID
	.comm	_CRL_SCORE_ISSUER_CERT,4,2      ; @CRL_SCORE_ISSUER_CERT
	.comm	_CRL_SCORE_SAME_PATH,4,2        ; @CRL_SCORE_SAME_PATH
	.comm	_X509_V_FLAG_EXTENDED_CRL_SUPPORT,4,2 ; @X509_V_FLAG_EXTENDED_CRL_SUPPORT
	.no_dead_strip	_crl_akid_check
.subsections_via_symbols
