	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function from_hex
_from_hex:                              ## @from_hex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r9d
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$-48, %edx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	shll	$4, %eax
	movzbl	%dl, %ecx
	addl	%ecx, %eax
	incq	%rsi
	cmpl	%esi, %r9d
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rsi), %edx
	leal	-48(%rdx), %ecx
	cmpb	$9, %cl
	jbe	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rdx), %ecx
	cmpb	$5, %cl
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-55, %edx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rdx), %ecx
	addl	$-87, %edx
	cmpb	$6, %cl
	cmovael	%r8d, %edx
	jmp	LBB0_8
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_from_hex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function from_hex
_from_hex:                              ; @from_hex
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	cbz	w1, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0], #1
	sub	w10, w9, #48
	sub	w11, w9, #65
	sub	w12, w9, #97
	sub	w13, w9, #87
	cmp	w12, #6
	csel	w12, w13, wzr, lo
	sub	w9, w9, #55
	cmp	w11, #5
	csel	w9, w12, w9, hi
	cmp	w10, #9
	csel	w9, w9, w10, hi
	lsl	w8, w8, #4
	add	w8, w8, w9, uxtb
	sub	w1, w1, #1
	cbnz	w1, LBB0_1
LBB0_2:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_from_hex
.subsections_via_symbols
