	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function my_atoui
_my_atoui:                              ## @my_atoui
	.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
	jle	LBB0_5
## %bb.1:
	incl	%esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ecx
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	addl	$-48, %eax
	incq	%rdi
	decl	%esi
	cmpl	$1, %esi
	jg	LBB0_2
LBB0_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
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_my_atoui
.subsections_via_symbols

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