	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecd_item_verify
_ecd_item_verify:                       ## @ecd_item_verify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	xorl	%edx, %edx
	callq	_X509_ALGOR_get0
	movq	-32(%rbp), %rdi
	callq	_OBJ_obj2nid
	movq	_NID_ED25519@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_NID_ED448@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
LBB0_2:
	movl	-20(%rbp), %eax
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_EVP_DigestVerifyInit
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	addl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_EC_F_ECD_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_INVALID_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_ED25519,4,2                ## @NID_ED25519
	.comm	_NID_ED448,4,2                  ## @NID_ED448
	.comm	_V_ASN1_UNDEF,4,2               ## @V_ASN1_UNDEF
	.comm	_EC_F_ECD_ITEM_VERIFY,4,2       ## @EC_F_ECD_ITEM_VERIFY
	.comm	_EC_R_INVALID_ENCODING,4,2      ## @EC_R_INVALID_ENCODING
	.no_dead_strip	_ecd_item_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecd_item_verify
_ecd_item_verify:                       ; @ecd_item_verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x5
	mov	x20, x0
	add	x0, sp, #8
	add	x1, sp, #4
	mov	x2, #0
	bl	_X509_ALGOR_get0
	ldr	x0, [sp, #8]
	bl	_OBJ_obj2nid
Lloh0:
	adrp	x8, _NID_ED25519@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_ED25519@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NID_ED448@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NID_ED448@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [sp, #4]
Lloh6:
	adrp	x9, _V_ASN1_UNDEF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V_ASN1_UNDEF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x19
	bl	_EVP_DigestVerifyInit
	cmp	w0, #0
	cset	w8, ne
	lsl	w0, w8, #1
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _EC_F_ECD_ITEM_VERIFY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EC_F_ECD_ITEM_VERIFY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _EC_R_INVALID_ENCODING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EC_R_INVALID_ENCODING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_ED25519,4,2                ; @NID_ED25519
	.comm	_NID_ED448,4,2                  ; @NID_ED448
	.comm	_V_ASN1_UNDEF,4,2               ; @V_ASN1_UNDEF
	.comm	_EC_F_ECD_ITEM_VERIFY,4,2       ; @EC_F_ECD_ITEM_VERIFY
	.comm	_EC_R_INVALID_ENCODING,4,2      ; @EC_R_INVALID_ENCODING
	.no_dead_strip	_ecd_item_verify
.subsections_via_symbols
