	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hextoint
_hextoint:                              ## @hextoint
	.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
	movl	$-1, %eax
	cmpl	$127, %edi
	ja	LBB0_6
## %bb.1:
	movl	%edi, %ebx
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	addl	$-48, %ebx
	movl	%ebx, %eax
	jmp	LBB0_6
LBB0_3:
	leal	-97(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.4:
	addl	$-87, %ebx
	movl	%ebx, %eax
	jmp	LBB0_6
LBB0_5:
	leal	-65(%rbx), %eax
	addl	$-55, %ebx
	cmpl	$6, %eax
	movl	$-1, %eax
	cmovbl	%ebx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hextoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hextoint
_hextoint:                              ; @hextoint
	.cfi_startproc
; %bb.0:
	cmp	w0, #127
	b.hi	LBB0_2
; %bb.1:
	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
	bl	_isdigit
	sub	w8, w19, #97
	sub	w9, w19, #65
	sub	w10, w19, #55
	cmp	w9, #6
	csinv	w9, w10, wzr, lo
	sub	w10, w19, #87
	cmp	w8, #5
	csel	w8, w9, w10, hi
	sub	w9, w19, #48
	cmp	x0, #0
	csel	w0, w8, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hextoint
.subsections_via_symbols
