	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_check_pubkey_mx
_ecp_check_pubkey_mx:                   ## @ecp_check_pubkey_mx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_mbedtls_mpi_size
	movl	(%rbx), %edx
	leal	7(%rdx), %ecx
	addl	$14, %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	movl	%eax, %ecx
	sarl	$3, %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jle	LBB0_2
## %bb.1:
	movq	_MBEDTLS_ERR_ECP_INVALID_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_ECP_INVALID_KEY,4,2 ## @MBEDTLS_ERR_ECP_INVALID_KEY
	.no_dead_strip	_ecp_check_pubkey_mx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_check_pubkey_mx
_ecp_check_pubkey_mx:                   ; @ecp_check_pubkey_mx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_mbedtls_mpi_size
	ldr	w8, [x19]
	add	w9, w8, #7
	add	w8, w8, #14
	cmp	w9, #0
	csel	w8, w8, w9, lt
Lloh0:
	adrp	x9, _MBEDTLS_ERR_ECP_INVALID_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MBEDTLS_ERR_ECP_INVALID_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w0, w8, asr #3
	csel	w0, w9, wzr, gt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_ECP_INVALID_KEY,4,2 ; @MBEDTLS_ERR_ECP_INVALID_KEY
	.no_dead_strip	_ecp_check_pubkey_mx
.subsections_via_symbols
