	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expect_continuation_of_headers
_expect_continuation_of_headers:        ## @expect_continuation_of_headers
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdi, %r14
	movq	_H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-64(%rbp), %rdi
	movq	%r15, %r8
	callq	_h2o_http2_decode_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movq	-64(%rbp), %rax
	movq	_H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	callq	_get_stream
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	_STREAM_STATE_CLOSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rax
LBB0_3:
	movq	%rax, (%r15)
	movq	_H2O_HTTP2_ERROR_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_STREAM_STATE_BODY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_h2o_buffer_reserve
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	8(%rax), %rdi
	movl	-40(%rbp), %esi
	movq	-48(%rbp), %rdx
	callq	_memcpy
	movq	(%r14), %rax
	movq	(%rax), %rcx
	addq	-48(%rbp), %rcx
	movq	%rcx, (%rax)
	movl	-56(%rbp), %edx
	movq	_H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_10
## %bb.9:
	movq	_H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPCREL(%rip), %rsi
	xorl	%r9d, %r9d
	andl	(%rsi), %edx
	setne	%r9b
	movq	_expect_default@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 8(%r14)
	movq	8(%rax), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %r8
	callq	_on_head
	testl	%eax, %eax
	cmovnel	%eax, %ebx
	movq	%r14, %rdi
	callq	_h2o_buffer_dispose
	movq	$0, (%r14)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE,4,2 ## @H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE
	.comm	_H2O_HTTP2_FRAME_TYPE_CONTINUATION,8,3 ## @H2O_HTTP2_FRAME_TYPE_CONTINUATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected CONTINUATION frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ## @H2O_HTTP2_ERROR_PROTOCOL
	.comm	_STREAM_STATE_CLOSED,8,3        ## @STREAM_STATE_CLOSED
L_.str.1:                               ## @.str.1
	.asciz	"unexpected stream id in CONTINUATION frame"

	.comm	_STREAM_STATE_BODY,8,3          ## @STREAM_STATE_BODY
	.comm	_H2O_HTTP2_FRAME_FLAG_END_HEADERS,4,2 ## @H2O_HTTP2_FRAME_FLAG_END_HEADERS
	.comm	_H2O_HTTP2_FRAME_FLAG_END_STREAM,4,2 ## @H2O_HTTP2_FRAME_FLAG_END_STREAM
	.comm	_expect_default,4,2             ## @expect_default
	.no_dead_strip	_expect_continuation_of_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expect_continuation_of_headers
_expect_continuation_of_headers:        ; @expect_continuation_of_headers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, sp
	mov	x4, x21
	bl	_h2o_http2_decode_frame
	mov	x19, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
	ldr	x8, [sp]
Lloh3:
	adrp	x9, _H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _H2O_HTTP2_FRAME_TYPE_CONTINUATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [sp, #28]
	mov	x0, x20
	bl	_get_stream
	cbz	x0, LBB0_4
; %bb.3:
	mov	x22, x0
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _STREAM_STATE_CLOSED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STREAM_STATE_CLOSED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, l_.str@PAGE
Lloh12:
	add	x8, x8, l_.str@PAGEOFF
LBB0_6:
	str	x8, [x21]
Lloh13:
	adrp	x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_PROTOCOL@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
Lloh16:
	adrp	x9, _STREAM_STATE_BODY@GOTPAGE
Lloh17:
	ldr	x9, [x9, _STREAM_STATE_BODY@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.9:
	ldr	x1, [sp, #16]
	mov	x0, x20
	bl	_h2o_buffer_reserve
	ldr	x8, [x20]
	ldp	x8, x9, [x8]
	add	x0, x8, x9
	ldr	w1, [sp, #24]
	ldr	x2, [sp, #16]
	bl	_memcpy
	ldr	x9, [sp, #16]
	ldr	x8, [x20]
	ldr	x10, [x8]
	add	x3, x10, x9
	str	x3, [x8]
	ldr	w9, [sp, #8]
Lloh19:
	adrp	x10, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGE
Lloh20:
	ldr	x10, [x10, _H2O_HTTP2_FRAME_FLAG_END_HEADERS@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.10:
Lloh22:
	adrp	x10, _H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPAGE
Lloh23:
	ldr	x10, [x10, _H2O_HTTP2_FRAME_FLAG_END_STREAM@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w5, ne
Lloh25:
	adrp	x9, _expect_default@GOTPAGE
Lloh26:
	ldr	x9, [x9, _expect_default@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	str	w9, [x20, #8]
	ldr	x2, [x8, #8]
	mov	x0, x20
	mov	x1, x22
	mov	x4, x21
	bl	_on_head
	cmp	w0, #0
	csel	w19, w19, w0, eq
	mov	x0, x20
	bl	_h2o_buffer_dispose
	str	xzr, [x20]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE,4,2 ; @H2O_HTTP2_SETTINGS_CLIENT_MAX_FRAME_SIZE
	.comm	_H2O_HTTP2_FRAME_TYPE_CONTINUATION,8,3 ; @H2O_HTTP2_FRAME_TYPE_CONTINUATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected CONTINUATION frame"

	.comm	_H2O_HTTP2_ERROR_PROTOCOL,4,2   ; @H2O_HTTP2_ERROR_PROTOCOL
	.comm	_STREAM_STATE_CLOSED,8,3        ; @STREAM_STATE_CLOSED
l_.str.1:                               ; @.str.1
	.asciz	"unexpected stream id in CONTINUATION frame"

	.comm	_STREAM_STATE_BODY,8,3          ; @STREAM_STATE_BODY
	.comm	_H2O_HTTP2_FRAME_FLAG_END_HEADERS,4,2 ; @H2O_HTTP2_FRAME_FLAG_END_HEADERS
	.comm	_H2O_HTTP2_FRAME_FLAG_END_STREAM,4,2 ; @H2O_HTTP2_FRAME_FLAG_END_STREAM
	.comm	_expect_default,4,2             ; @expect_default
	.no_dead_strip	_expect_continuation_of_headers
.subsections_via_symbols
