	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_send_error
_stream_send_error:                     ## @stream_send_error
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testl	%esi, %esi
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	_H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	negl	%r15d
	movslq	%r15d, %rdx
	incl	(%rax,%rdx,4)
	leaq	8(%rbx), %rdi
	movl	%r14d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_h2o_http2_encode_rst_stream_frame
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_conn_request_write   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_CONN_STATE_IS_CLOSING,8,3 ## @H2O_HTTP2_CONN_STATE_IS_CLOSING
	.no_dead_strip	_stream_send_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_send_error
_stream_send_error:                     ; @stream_send_error
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w1, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	neg	w2, w19
	sbfiz	x9, x2, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	add	x0, x21, #8
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_h2o_http2_encode_rst_stream_frame
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_h2o_http2_conn_request_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_CONN_STATE_IS_CLOSING,8,3 ; @H2O_HTTP2_CONN_STATE_IS_CLOSING
	.no_dead_strip	_stream_send_error
.subsections_via_symbols
