	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function reset_buffer_flags
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_reset_buffer_flags:                    ## @reset_buffer_flags
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	64(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rbx)
	movq	$0, 88(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	32(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_n_tty_set_room
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_check_unthrottle               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_reset_buffer_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_buffer_flags
_reset_buffer_flags:                    ; @reset_buffer_flags
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #64
	mov	x0, x20
	bl	_spin_lock_irqsave
	stp	xzr, xzr, [x19, #80]
	str	xzr, [x19, #72]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x20, x19, #32
	mov	x0, x20
	bl	_mutex_lock
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #40]
	mov	x0, x20
	bl	_mutex_unlock
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_n_tty_set_room
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_check_unthrottle
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_reset_buffer_flags
.subsections_via_symbols
