	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_check_akid                ## -- Begin function X509_check_akid
	.p2align	4, 0x90
_X509_check_akid:                       ## @X509_check_akid
	.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
	movq	_X509_V_OK@GOTPCREL(%rip), %r12
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	callq	_ASN1_OCTET_STRING_cmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_X509_V_ERR_AKID_SKID_MISMATCH@GOTPCREL(%rip), %r12
	jmp	LBB0_15
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_X509_get_serialNumber
	movq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_ASN1_INTEGER_cmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_14:
	movq	_X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH@GOTPCREL(%rip), %r12
	jmp	LBB0_15
LBB0_7:
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_15
## %bb.8:
	movq	%r15, %rdi
	callq	_sk_GENERAL_NAME_num
	testl	%eax, %eax
	jle	LBB0_15
## %bb.9:
	xorl	%ebx, %ebx
	movq	_GEN_DIRNAME@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sk_GENERAL_NAME_value
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_sk_GENERAL_NAME_num
	cmpl	%eax, %ebx
	jl	LBB0_11
	jmp	LBB0_15
LBB0_12:
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	movq	%r14, %rdi
	callq	_X509_get_issuer_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_X509_NAME_cmp
	testq	%rax, %rax
	jne	LBB0_14
LBB0_15:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_OK,4,2                  ## @X509_V_OK
	.comm	_X509_V_ERR_AKID_SKID_MISMATCH,4,2 ## @X509_V_ERR_AKID_SKID_MISMATCH
	.comm	_X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH,4,2 ## @X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
	.comm	_GEN_DIRNAME,8,3                ## @GEN_DIRNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_check_akid                ; -- Begin function X509_check_akid
	.p2align	2
_X509_check_akid:                       ; @X509_check_akid
	.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
	cbz	x1, LBB0_15
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1, #16]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x1, [x19]
	cbz	x1, LBB0_5
; %bb.3:
	bl	_ASN1_OCTET_STRING_cmp
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _X509_V_ERR_AKID_SKID_MISMATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_V_ERR_AKID_SKID_MISMATCH@GOTPAGEOFF]
	b	LBB0_16
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_X509_get_serialNumber
	ldr	x1, [x20, #8]
	bl	_ASN1_INTEGER_cmp
	cbz	x0, LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
	ldr	x20, [x20]
	cbz	x20, LBB0_15
; %bb.9:
	mov	x0, x20
	bl	_sk_GENERAL_NAME_num
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.10:
	mov	w21, #0
Lloh4:
	adrp	x22, _GEN_DIRNAME@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GEN_DIRNAME@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_sk_GENERAL_NAME_value
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w21, w21, #1
	mov	x0, x20
	bl	_sk_GENERAL_NAME_num
	cmp	w21, w0
	b.lt	LBB0_11
	b	LBB0_15
LBB0_13:
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_X509_get_issuer_name
	mov	x1, x0
	mov	x0, x20
	bl	_X509_NAME_cmp
	cbnz	x0, LBB0_7
LBB0_15:
Lloh6:
	adrp	x8, _X509_V_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X509_V_OK@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_OK,4,2                  ; @X509_V_OK
	.comm	_X509_V_ERR_AKID_SKID_MISMATCH,4,2 ; @X509_V_ERR_AKID_SKID_MISMATCH
	.comm	_X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH,4,2 ; @X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
	.comm	_GEN_DIRNAME,8,3                ; @GEN_DIRNAME
.subsections_via_symbols
