	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hex_val
_hex_val:                               ## @hex_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_3
## %bb.1:
	addl	$-48, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	leal	-97(%rax), %ecx
	cmpb	$5, %cl
	ja	LBB0_5
## %bb.4:
	addl	$-87, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	leal	-65(%rax), %ecx
	addl	$-55, %eax
	cmpb	$6, %cl
	movl	$-1, %ecx
	cmovbl	%eax, %ecx
	movl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hex_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hex_val
_hex_val:                               ; @hex_val
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #48
	sub	w9, w0, #97
	sub	w10, w0, #65
	sub	w11, w0, #55
	cmp	w10, #6
	csinv	w10, w11, wzr, lo
	sub	w11, w0, #87
	cmp	w9, #5
	csel	w9, w10, w11, hi
	cmp	w8, #9
	csel	w0, w9, w8, hi
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hex_val
.subsections_via_symbols
