	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atoh
_atoh:                                  ## @atoh
	.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, %r8d
	xorl	%eax, %eax
	movl	$1, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$-48, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	imull	%edx, %esi
	addl	%eax, %esi
	movl	%esi, %eax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	shll	$4, %edx
	testq	%r8, %r8
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi,%r8), %esi
	decq	%r8
	leal	-48(%rsi), %ecx
	cmpb	$9, %cl
	jbe	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rsi), %ecx
	cmpb	$5, %cl
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-55, %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rsi), %ecx
	cmpb	$5, %cl
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-87, %esi
	jmp	LBB0_9
LBB0_11:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_atoh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atoh
_atoh:                                  ; @atoh
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	sub	x8, x8, #1
	mov	w9, #1
	mov	w10, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8, x10]
	sub	w12, w11, #48
	sub	w13, w11, #65
	sub	w14, w11, #97
	sub	w15, w11, #87
	madd	w15, w15, w9, w0
	cmp	w14, #5
	csel	w14, w0, w15, hi
	sub	w11, w11, #55
	madd	w11, w11, w9, w0
	cmp	w13, #5
	csel	w11, w14, w11, hi
	madd	w13, w12, w9, w0
	cmp	w12, #9
	csel	w0, w11, w13, hi
	lsl	w9, w9, #4
	sub	x11, x10, #1
	mov	x10, x11
	cbnz	x11, LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_atoh
.subsections_via_symbols
