	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpi_get_digit
_mpi_get_digit:                         ## @mpi_get_digit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	leal	-48(%rdx), %eax
	cmpb	$10, %al
	movzbl	%al, %eax
	movl	$255, %ecx
	cmovbl	%eax, %ecx
	leal	-65(%rdx), %r8d
	leal	-55(%rdx), %eax
	cmpb	$6, %r8b
	movzbl	%al, %eax
	cmovael	%ecx, %eax
	leal	-97(%rdx), %ecx
	addb	$-87, %dl
	cmpb	$6, %cl
	movzbl	%dl, %ecx
	cmovael	%eax, %ecx
	movb	%cl, (%rdi)
	movsbl	%cl, %ecx
	movsbl	%sil, %edx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	jg	LBB0_2
## %bb.1:
	movq	_MBEDTLS_ERR_MPI_INVALID_CHARACTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_MPI_INVALID_CHARACTER,4,2 ## @MBEDTLS_ERR_MPI_INVALID_CHARACTER
	.no_dead_strip	_mpi_get_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpi_get_digit
_mpi_get_digit:                         ; @mpi_get_digit
	.cfi_startproc
; %bb.0:
	sub	w8, w2, #48
	cmp	w8, #10
	csinv	w8, w8, wzr, lo
	sub	w9, w2, #65
	sub	w10, w2, #55
	cmp	w9, #6
	csel	w8, w10, w8, lo
	sub	w9, w2, #97
	sub	w10, w2, #87
	cmp	w9, #6
	csel	w8, w10, w8, lo
	strb	w8, [x0]
	sxtb	w9, w1
Lloh0:
	adrp	x10, _MBEDTLS_ERR_MPI_INVALID_CHARACTER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBEDTLS_ERR_MPI_INVALID_CHARACTER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w8, sxtb
	csel	w0, wzr, w10, gt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_MPI_INVALID_CHARACTER,4,2 ; @MBEDTLS_ERR_MPI_INVALID_CHARACTER
	.no_dead_strip	_mpi_get_digit
.subsections_via_symbols
