	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dec_u16
_get_dec_u16:                           ## @get_dec_u16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rsi), %r9
	movl	$-1, %eax
	cmpl	%edx, %r9d
	jge	LBB0_5
## %bb.1:
	movb	(%rdi,%r9), %r8b
	leal	-48(%r8), %ecx
	cmpb	$9, %cl
	ja	LBB0_5
## %bb.2:
	addq	%r9, %rdi
	incq	%rdi
	leal	1(%r9), %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%r8b, %r8d
	leal	(%rax,%rax,4), %eax
	leal	(%r8,%rax,2), %eax
	addl	$-48, %eax
	movl	%ecx, (%rsi)
	cmpl	%ecx, %edx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rdi), %r8d
	leal	-48(%r8), %r9d
	incq	%rdi
	incl	%ecx
	cmpb	$9, %r9b
	jbe	LBB0_4
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_dec_u16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dec_u16
_get_dec_u16:                           ; @get_dec_u16
	.cfi_startproc
; %bb.0:
	ldrsw	x10, [x1]
	cmp	w10, w2
	b.ge	LBB0_6
; %bb.1:
	mov	x8, x0
	ldrb	w9, [x0, x10]
	sub	w11, w9, #48
	cmp	w11, #9
	b.hi	LBB0_6
; %bb.2:
	mov	w0, #0
	add	x8, x10, x8
	add	x8, x8, #1
	add	w10, w10, #1
	mov	w11, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	madd	w9, w0, w11, w9
	sub	w0, w9, #48
	str	w10, [x1]
	cmp	w2, w10
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x8], #1
	sub	w12, w9, #48
	add	w10, w10, #1
	cmp	w12, #9
	b.ls	LBB0_3
LBB0_5:
	ret
LBB0_6:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_dec_u16
.subsections_via_symbols
