	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_input_expect_headers
_handle_input_expect_headers:           ## @handle_input_expect_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_get_conn
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r12
	movq	_H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_h2o_http3_read_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.1:
	movq	%r14, %rdx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	-72(%rbp), %eax
	movq	_H2O_HTTP3_FRAME_TYPE_HEADERS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.4:
	movq	_handle_input_expect_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %r12
	movl	%eax, 40(%rdx)
	leaq	28(%rdx), %r15
	movq	%rdx, %rdi
	callq	_get_conn
	movl	8(%rax), %esi
	movq	32(%r12), %rax
	movl	4(%rax), %edx
	leaq	24(%r12), %rcx
	leaq	12(%r12), %r10
	leaq	20(%r12), %r8
	leaq	16(%r12), %r9
	leaq	8(%r12), %r11
	movl	-68(%rbp), %eax
	movl	-64(%rbp), %ebx
	movq	%r15, %rdi
	pushq	%r13
	pushq	%rax
	pushq	%rbx
	leaq	-96(%rbp), %rax
	pushq	%rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	pushq	%r12
	leaq	-100(%rbp), %rax
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_h2o_qpack_parse_request
	addq	$80, %rsp
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	_H2O_HTTP2_ERROR_INVALID_HEADER_CHAR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.6:
	movq	32(%r12), %rdi
	callq	_quicly_recvstate_transfer_complete
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	32(%r12), %rdi
	movq	_H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_quicly_request_stop
LBB0_8:
	movq	(%r13), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_h2o_send_error_400
	movq	$0, (%r13)
	jmp	LBB0_17
LBB0_2:
	xorl	%ebx, %ebx
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.3:
	movq	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
LBB0_9:
	movq	-96(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	leaq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_h2o_http3_send_qpack_header_ack
LBB0_11:
	movq	(%r12), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.12:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_16
## %bb.13:
	movq	32(%r12), %rdi
	callq	_quicly_recvstate_transfer_complete
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	32(%r12), %rdi
	movq	_H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_quicly_request_stop
LBB0_15:
	movq	_H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_state
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_h2o_send_error_413
	jmp	LBB0_17
LBB0_16:
	movq	_H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_state
	xorl	%ebx, %ebx
LBB0_17:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_18:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ## @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.comm	_H2O_HTTP3_STREAM_TYPE_REQUEST,4,2 ## @H2O_HTTP3_STREAM_TYPE_REQUEST
	.comm	_H2O_HTTP3_FRAME_TYPE_HEADERS,4,2 ## @H2O_HTTP3_FRAME_TYPE_HEADERS
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ## @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.comm	_handle_input_expect_data,4,2   ## @handle_input_expect_data
	.comm	_H2O_HTTP2_ERROR_INVALID_HEADER_CHAR,4,2 ## @H2O_HTTP2_ERROR_INVALID_HEADER_CHAR
	.comm	_H2O_HTTP3_ERROR_EARLY_RESPONSE,4,2 ## @H2O_HTTP3_ERROR_EARLY_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Request"

	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS,4,2 ## @H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS
L_.str.1:                               ## @.str.1
	.asciz	"Request Entity Too Large"

L_.str.2:                               ## @.str.2
	.asciz	"request entity is too large"

	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK,4,2 ## @H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK
	.no_dead_strip	_handle_input_expect_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_input_expect_headers
_handle_input_expect_headers:           ; @handle_input_expect_headers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_get_conn
	mov	x21, x0
	mov	x25, sp
Lloh3:
	adrp	x8, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HPACK_ENCODE_INT_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	sub	x0, x29, #88
	mov	w1, #0
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	bl	_h2o_http3_read_frame
	cbnz	w0, LBB0_17
; %bb.1:
	ldur	w8, [x29, #-88]
Lloh11:
	adrp	x9, _H2O_HTTP3_FRAME_TYPE_HEADERS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _H2O_HTTP3_FRAME_TYPE_HEADERS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.2:
Lloh14:
	adrp	x8, _handle_input_expect_data@GOTPAGE
Lloh15:
	ldr	x8, [x8, _handle_input_expect_data@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	add	x23, x19, #28
	mov	x0, x19
	bl	_get_conn
	ldr	w1, [x0, #8]
	ldr	x8, [x19, #32]
	ldr	w2, [x8, #4]
	add	x3, x19, #24
	add	x6, x19, #12
	add	x4, x19, #20
	add	x5, x19, #16
	add	x7, x19, #8
	ldp	w9, w8, [x29, #-84]
	sub	sp, sp, #64
	str	x20, [sp, #48]
	stp	w8, w9, [sp, #40]
	sub	x8, x29, #104
	stp	x22, x8, [sp, #24]
	sub	x8, x29, #92
	stp	x19, xzr, [sp, #8]
	str	x8, [sp]
	mov	x0, x23
	bl	_h2o_qpack_parse_request
	add	sp, sp, #64
	cbz	w0, LBB0_8
; %bb.3:
Lloh17:
	adrp	x8, _H2O_HTTP2_ERROR_INVALID_HEADER_CHAR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_INVALID_HEADER_CHAR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.4:
	ldr	x0, [x19, #32]
	bl	_quicly_recvstate_transfer_complete
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x19, #32]
Lloh20:
	adrp	x8, _H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_quicly_request_stop
LBB0_6:
	ldr	x2, [x20]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_h2o_send_error_400
	mov	w0, #0
	str	xzr, [x20]
	b	LBB0_17
LBB0_7:
Lloh25:
	adrp	x9, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGE
Lloh26:
	ldr	x9, [x9, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, #128
	csel	w0, w9, wzr, eq
	b	LBB0_17
LBB0_8:
	ldur	x2, [x29, #-104]
	cbz	x2, LBB0_10
; %bb.9:
	add	x0, x21, #8
	mov	x1, x22
	bl	_h2o_http3_send_qpack_header_ack
LBB0_10:
	ldr	x8, [x19]
Lloh28:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.11:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_15
; %bb.12:
	ldr	x0, [x19, #32]
	bl	_quicly_recvstate_transfer_complete
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	x0, [x19, #32]
Lloh31:
	adrp	x8, _H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _H2O_HTTP3_ERROR_EARLY_RESPONSE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_quicly_request_stop
LBB0_14:
Lloh34:
	adrp	x8, _H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_state
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh39:
	adrp	x2, l_.str.2@PAGE
Lloh40:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_h2o_send_error_413
	b	LBB0_16
LBB0_15:
Lloh41:
	adrp	x8, _H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_state
LBB0_16:
	mov	w0, #0
LBB0_17:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HPACK_ENCODE_INT_MAX_LENGTH,4,2 ; @H2O_HPACK_ENCODE_INT_MAX_LENGTH
	.comm	_H2O_HTTP3_STREAM_TYPE_REQUEST,4,2 ; @H2O_HTTP3_STREAM_TYPE_REQUEST
	.comm	_H2O_HTTP3_FRAME_TYPE_HEADERS,4,2 ; @H2O_HTTP3_FRAME_TYPE_HEADERS
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ; @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.comm	_handle_input_expect_data,4,2   ; @handle_input_expect_data
	.comm	_H2O_HTTP2_ERROR_INVALID_HEADER_CHAR,4,2 ; @H2O_HTTP2_ERROR_INVALID_HEADER_CHAR
	.comm	_H2O_HTTP3_ERROR_EARLY_RESPONSE,4,2 ; @H2O_HTTP3_ERROR_EARLY_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Request"

	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS,4,2 ; @H2O_HTTP3_SERVER_STREAM_STATE_SEND_HEADERS
l_.str.1:                               ; @.str.1
	.asciz	"Request Entity Too Large"

l_.str.2:                               ; @.str.2
	.asciz	"request entity is too large"

	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK,4,2 ; @H2O_HTTP3_SERVER_STREAM_STATE_RECV_BODY_BEFORE_BLOCK
	.no_dead_strip	_handle_input_expect_headers
.subsections_via_symbols
