	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_strtosize                  ## -- Begin function h2o_strtosize
	.p2align	4, 0x90
_h2o_strtosize:                         ## @h2o_strtosize
	.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:
	movl	$1, %ecx
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi,%rsi), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-48, %edx
	imull	%ecx, %edx
	addl	%edx, %r8d
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	decq	%rsi
	jne	LBB0_2
## %bb.4:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jl	LBB0_6
LBB0_5:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_6:
	movslq	%r8d, %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_strtosize                  ; -- Begin function h2o_strtosize
	.p2align	2
_h2o_strtosize:                         ; @h2o_strtosize
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
	cbz	x1, LBB0_5
; %bb.1:
	mov	w8, #0
	sub	x10, x0, #1
	mov	w11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10, x1]
	sub	w12, w12, #48
	cmp	w12, #9
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	w8, w12, w11, w8
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	subs	x1, x1, #1
	b.ne	LBB0_2
; %bb.4:
	ldr	w10, [x9]
	cmp	w8, w10
	b.lt	LBB0_6
LBB0_5:
	ldr	w8, [x9]
LBB0_6:
	sxtw	x0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
.subsections_via_symbols
