	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_input_post_trailers     ## -- Begin function handle_input_post_trailers
	.p2align	4, 0x90
_handle_input_post_trailers:            ## @handle_input_post_trailers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r9
	movq	%rdx, %r8
	movq	%rsi, %rcx
	movq	%rdi, %r14
	movq	_H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_h2o_http3_read_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-24(%rbp), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_7
## %bb.2:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_quicly_recvstate_transfer_complete
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	movq	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_quicly_request_stop
LBB0_4:
	movq	(%r14), %rdi
	callq	_quicly_sendstate_is_open
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rdi
	movq	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_quicly_reset_stream
LBB0_6:
	movq	_H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_state
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_STREAM_TYPE_REQUEST,4,2 ## @H2O_HTTP3_STREAM_TYPE_REQUEST
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ## @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT,4,2 ## @H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_input_post_trailers     ; -- Begin function handle_input_post_trailers
	.p2align	2
_handle_input_post_trailers:            ; @handle_input_post_trailers
	.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	x5, x3
	mov	x4, x2
	mov	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP3_STREAM_TYPE_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_h2o_http3_read_frame
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #8]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_7
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_quicly_recvstate_transfer_complete
Lloh3:
	adrp	x21, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGE
Lloh4:
	ldr	x21, [x21, _H2O_HTTP3_ERROR_FRAME_UNEXPECTED@GOTPAGEOFF]
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_quicly_request_stop
LBB0_4:
	ldr	x0, [x19]
	bl	_quicly_sendstate_is_open
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_quicly_reset_stream
LBB0_6:
Lloh5:
	adrp	x8, _H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_state
LBB0_7:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_STREAM_TYPE_REQUEST,4,2 ; @H2O_HTTP3_STREAM_TYPE_REQUEST
	.comm	_H2O_HTTP3_ERROR_FRAME_UNEXPECTED,4,2 ; @H2O_HTTP3_ERROR_FRAME_UNEXPECTED
	.comm	_H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT,4,2 ; @H2O_HTTP3_SERVER_STREAM_STATE_CLOSE_WAIT
.subsections_via_symbols
