	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chunked_test
_chunked_test:                          ## @chunked_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	28(%rsi), %r14d
	movl	32(%rsi), %r15d
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	24(%rbx), %r15
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_h2o_strdup
	movl	%eax, -44(%rbp)
	movl	$200, (%rbx)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%rbx)
	leaq	16(%rbx), %r12
	movq	_H2O_TOKEN_CONTENT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_add_header
	leaq	_chunked_test.generator(%rip), %rsi
	movq	%rbx, %rdi
	callq	_h2o_start_response
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_h2o_send
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_chunked_test.generator,16,3 ## @chunked_test.generator
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET"

L_.str.1:                               ## @.str.1
	.asciz	"hello world\n"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
L_.str.2:                               ## @.str.2
	.asciz	"OK"

	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ## @H2O_TOKEN_CONTENT_TYPE
L_.str.3:                               ## @.str.3
	.asciz	"text/plain"

	.no_dead_strip	_chunked_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chunked_test
_chunked_test:                          ; @chunked_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldp	w21, w20, [x1, #28]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_memis
	cbz	w0, LBB0_2
; %bb.1:
	add	x20, x19, #24
Lloh2:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_h2o_strdup
	str	w0, [sp, #12]
	mov	w8, #200
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	str	w8, [x19]
	str	x9, [x19, #8]
	add	x21, x19, #16
Lloh9:
	adrp	x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, #0
	bl	_h2o_add_header
Lloh14:
	adrp	x1, _chunked_test.generator@PAGE
Lloh15:
	add	x1, x1, _chunked_test.generator@PAGEOFF
	mov	x0, x19
	bl	_h2o_start_response
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	bl	_h2o_send
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_chunked_test.generator,16,3 ; @chunked_test.generator
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET"

l_.str.1:                               ; @.str.1
	.asciz	"hello world\n"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
l_.str.2:                               ; @.str.2
	.asciz	"OK"

	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ; @H2O_TOKEN_CONTENT_TYPE
l_.str.3:                               ; @.str.3
	.asciz	"text/plain"

	.no_dead_strip	_chunked_test
.subsections_via_symbols
