	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_stop_sending_frame
_handle_stop_sending_frame:             ## @handle_stop_sending_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	leaq	4(%rsi), %rdi
	leaq	-24(%rbp), %rdx
	movl	%eax, %esi
	callq	_quicly_decode_stop_sending_frame
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	-20(%rbp), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_get_stream_or_open_if_new
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	-16(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	addq	$8, %rdi
	callq	_quicly_sendstate_is_open
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-24(%rbp), %edi
	callq	_QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE
	movl	%eax, %ebx
	movq	-16(%rbp), %rdi
	movl	%eax, %esi
	callq	_quicly_reset_stream
	movq	-16(%rbp), %rdi
	movq	(%rdi), %rax
	movl	%ebx, %esi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_handle_stop_sending_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_stop_sending_frame
_handle_stop_sending_frame:             ; @handle_stop_sending_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x1
	mov	x19, x0
	ldr	w1, [x8], #4
	add	x2, sp, #8
	mov	x0, x8
	bl	_quicly_decode_stop_sending_frame
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w1, [sp, #12]
	mov	x2, sp
	mov	x0, x19
	bl	_get_stream_or_open_if_new
	ldr	x8, [sp]
	cmp	w0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_5
; %bb.2:
	add	x0, x8, #8
	bl	_quicly_sendstate_is_open
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	bl	_QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE
	mov	x19, x0
	ldr	x0, [sp]
	mov	x1, x19
	bl	_quicly_reset_stream
	ldr	x0, [sp]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x19
	blr	x8
	cbnz	w0, LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_handle_stop_sending_frame
.subsections_via_symbols
