	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_digits
_fetch_digits:                          ## @fetch_digits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %r8d
	leal	-48(%r8), %edx
	cmpb	$9, %dl
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%r8,%rax,2), %eax
	addl	$-48, %eax
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_2
## %bb.4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fetch_digits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_digits
_fetch_digits:                          ; @fetch_digits
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8]
	sub	w11, w10, #48
	cmp	w11, #9
	b.hi	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	w10, w0, w9, w10
	sub	w0, w10, #48
	add	x8, x8, #1
	subs	x1, x1, #1
	b.ne	LBB0_2
; %bb.4:
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fetch_digits
.subsections_via_symbols
