	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_strtosizefwd               ## -- Begin function h2o_strtosizefwd
	.p2align	4, 0x90
_h2o_strtosizefwd:                      ## @h2o_strtosizefwd
	.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_13
## %bb.1:
	movq	(%rdi), %r10
	movzbl	(%r10), %r11d
	leal	-48(%r11), %ecx
	cmpb	$9, %cl
	ja	LBB0_13
## %bb.2:
	leaq	(%r10,%rsi), %r8
	addl	$-48, %r11d
	leaq	-3(%rsi), %r9
	addq	$-2, %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%r10,%rcx), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r11,%r11,4), %eax
	leal	(%rdx,%rax,2), %r11d
	addl	$-48, %r11d
	cmpq	%rcx, %rsi
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$18, %ecx
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	2(%r10,%rcx), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r11,%r11,4), %eax
	leal	(%rdx,%rax,2), %r11d
	addl	$-48, %r11d
	cmpq	%rcx, %r9
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %rcx
	jmp	LBB0_3
LBB0_10:
	leaq	(%r10,%rcx), %r8
	incq	%r8
	jmp	LBB0_11
LBB0_9:
	leaq	(%r10,%rcx), %r8
	addq	$2, %r8
LBB0_11:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r11d
	jge	LBB0_13
## %bb.12:
	movq	%r8, (%rdi)
	jmp	LBB0_14
LBB0_13:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
LBB0_14:
	movslq	%r11d, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_strtosizefwd               ; -- Begin function h2o_strtosizefwd
	.p2align	2
_h2o_strtosizefwd:                      ; @h2o_strtosizefwd
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
	cbz	x1, LBB0_9
; %bb.1:
	ldr	x12, [x0]
	ldrb	w8, [x12]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_9
; %bb.2:
	mov	x11, #0
	add	x10, x12, x1
	add	x12, x12, #1
	sub	x13, x1, #2
	mov	w14, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x12, x11]
	sub	w16, w15, #48
	cmp	w16, #9
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	w8, w8, w14, w15
	sub	w8, w8, #48
	cmp	x13, x11
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #1
	cmp	w11, #19
	b.ne	LBB0_3
	b	LBB0_9
LBB0_6:
	add	x10, x12, x11
LBB0_7:
	ldr	w11, [x9]
	cmp	w8, w11
	b.ge	LBB0_9
; %bb.8:
	str	x10, [x0]
	sxtw	x0, w8
	ret
LBB0_9:
	ldr	w8, [x9]
	sxtw	x0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
.subsections_via_symbols
