	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byte_from_hex_char
_byte_from_hex_char:                    ## @byte_from_hex_char
	.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	%edi, %ebx
	callq	_tolowerW
                                        ## kill: def $eax killed $eax def $rax
	leal	-48(%rax), %ecx
	cmpl	$10, %ecx
	jb	LBB0_4
## %bb.1:
	addl	$-97, %eax
	cmpl	$6, %eax
	jae	LBB0_2
## %bb.3:
	addb	$9, %bl
LBB0_4:
	andb	$15, %bl
LBB0_5:
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_byte_from_hex_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function byte_from_hex_char
_byte_from_hex_char:                    ; @byte_from_hex_char
	.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
	bl	_tolowerW
	sub	w8, w0, #48
	and	w9, w19, #0xf
	sub	w10, w0, #97
	add	w11, w19, #9
	and	w11, w11, #0xf
	cmp	w10, #6
	csel	w10, w11, wzr, lo
	cmp	w8, #10
	csel	w0, w9, w10, lo
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_byte_from_hex_char
.subsections_via_symbols
