	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_tty_queue_nolock
_put_tty_queue_nolock:                  ## @put_tty_queue_nolock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_2
## %bb.1:
	movq	8(%rsi), %rcx
	movq	16(%rsi), %rdx
	movb	%dil, (%rcx,%rdx)
	movq	16(%rsi), %rcx
	incq	%rcx
	movslq	(%rax), %rax
	decq	%rax
	andq	%rcx, %rax
	movq	%rax, 16(%rsi)
	incl	(%rsi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_TTY_BUF_SIZE,4,2             ## @N_TTY_BUF_SIZE
	.no_dead_strip	_put_tty_queue_nolock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_tty_queue_nolock
_put_tty_queue_nolock:                  ; @put_tty_queue_nolock
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _N_TTY_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_TTY_BUF_SIZE@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	ldp	x9, x10, [x1, #8]
	strb	w0, [x9, x10]
	ldr	x9, [x1, #16]
	add	x9, x9, #1
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	and	x8, x9, x8
	str	x8, [x1, #16]
	ldr	w8, [x1]
	add	w8, w8, #1
	str	w8, [x1]
LBB0_2:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TTY_BUF_SIZE,4,2             ; @N_TTY_BUF_SIZE
	.no_dead_strip	_put_tty_queue_nolock
.subsections_via_symbols
