	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n_tty_receive_char
_n_tty_receive_char:                    ## @n_tty_receive_char
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	cmpq	$0, 112(%rdi)
	movzbl	%sil, %ebx
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
LBB0_2:
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_tty_queue                  ## TAILCALL
LBB0_3:
	movq	%r13, %rdi
	callq	_I_ISTRIP
	movl	%ebx, %ecx
	andb	$127, %cl
	testq	%rax, %rax
	movzbl	%cl, %r14d
	cmovel	%ebx, %r14d
	movq	%r13, %rdi
	callq	_I_IUCLC
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_L_IEXTEN
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movzbl	%r14b, %edi
	callq	_tolower
	movl	%eax, %r14d
LBB0_6:
	cmpq	$0, 104(%r13)
	je	LBB0_8
## %bb.7:
	cmpl	$0, 96(%r13)
	je	LBB0_17
LBB0_8:
	cmpq	$0, 88(%r13)
	je	LBB0_13
## %bb.9:
	movq	%r13, %rdi
	callq	_I_IXON
	testq	%rax, %rax
	je	LBB0_116
## %bb.10:
	movq	%r13, %rdi
	callq	_START_CHAR
	cmpb	%al, %r14b
	jne	LBB0_25
LBB0_11:
	movq	%r13, %rdi
	callq	_start_tty
LBB0_12:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_echoes                 ## TAILCALL
LBB0_13:
	movl	80(%r13), %esi
	movzbl	%r14b, %r15d
	movl	%r15d, %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	cmpl	$0, (%r13)
	je	LBB0_36
LBB0_15:
	movl	$0, (%r13)
	cmpb	$-1, %r14b
	je	LBB0_27
## %bb.16:
	movl	$-1, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_17:
	movq	%r13, %rdi
	callq	_I_IXON
	testq	%rax, %rax
	je	LBB0_8
## %bb.18:
	movq	%r13, %rdi
	callq	_I_IXANY
	testq	%rax, %rax
	je	LBB0_8
## %bb.19:
	movq	%r13, %rdi
	callq	_START_CHAR
	cmpb	%al, %r14b
	je	LBB0_8
## %bb.20:
	movq	%r13, %rdi
	callq	_STOP_CHAR
	cmpb	%al, %r14b
	je	LBB0_8
## %bb.21:
	movq	%r13, %rdi
	callq	_INTR_CHAR
	cmpb	%al, %r14b
	je	LBB0_8
## %bb.22:
	movq	%r13, %rdi
	callq	_QUIT_CHAR
	cmpb	%al, %r14b
	je	LBB0_8
## %bb.23:
	movq	%r13, %rdi
	callq	_SUSP_CHAR
	cmpb	%al, %r14b
	je	LBB0_8
## %bb.24:
	movq	%r13, %rdi
	callq	_start_tty
	movq	%r13, %rdi
	callq	_process_echoes
	jmp	LBB0_8
LBB0_25:
	movq	%r13, %rdi
	callq	_STOP_CHAR
	cmpb	%al, %r14b
	jne	LBB0_116
LBB0_26:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stop_tty                       ## TAILCALL
LBB0_27:
	movq	%r13, %rdi
	callq	_I_PARMRK
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	movl	%r14d, %ebx
	notl	%ebx
LBB0_28:
	movl	4(%r13), %r12d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_L_ECHO
	cmpl	%ebx, %r12d
	jge	LBB0_111
## %bb.29:
	testq	%rax, %rax
	je	LBB0_33
## %bb.30:
	movq	%r13, %rdi
	callq	_finish_erasing
	movq	8(%r13), %rax
	cmpq	16(%r13), %rax
	jne	LBB0_32
## %bb.31:
	movq	%r13, %rdi
	callq	_echo_set_canon_col
LBB0_32:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_echo_char
	movq	%r13, %rdi
	callq	_process_echoes
LBB0_33:
	testb	%r14b, %r14b
	je	LBB0_35
## %bb.34:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_put_tty_queue
LBB0_35:
	movl	%r15d, %edi
	jmp	LBB0_2
LBB0_36:
	movq	%r13, %rdi
	callq	_I_IXON
	testq	%rax, %rax
	je	LBB0_39
## %bb.37:
	movq	%r13, %rdi
	callq	_START_CHAR
	cmpb	%al, %r14b
	je	LBB0_11
## %bb.38:
	movq	%r13, %rdi
	callq	_STOP_CHAR
	cmpb	%al, %r14b
	je	LBB0_26
LBB0_39:
	movq	%r13, %rdi
	callq	_L_ISIG
	testq	%rax, %rax
	je	LBB0_51
## %bb.40:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_INTR_CHAR
	cmpb	%al, %r14b
	je	LBB0_43
## %bb.41:
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_QUIT_CHAR
	cmpb	%al, %r14b
	je	LBB0_43
## %bb.42:
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_SUSP_CHAR
	cmpb	%al, %r14b
	jne	LBB0_51
LBB0_43:
	movq	%r13, %rdi
	callq	_L_NOFLSH
	testl	%eax, %eax
	jne	LBB0_45
## %bb.44:
	movq	%r13, %rdi
	callq	_n_tty_flush_buffer
	movq	%r13, %rdi
	callq	_tty_driver_flush_buffer
LBB0_45:
	movq	%r13, %rdi
	callq	_I_IXON
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	%r13, %rdi
	callq	_start_tty
LBB0_47:
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_49
## %bb.48:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_echo_char
	movq	%r13, %rdi
	callq	_process_echoes
LBB0_49:
	movq	72(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_116
## %bb.50:
	movl	%r12d, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kill_pgrp                      ## TAILCALL
LBB0_51:
	cmpb	$10, %r14b
	je	LBB0_55
## %bb.52:
	cmpb	$13, %r14b
	jne	LBB0_57
## %bb.53:
	movq	%r13, %rdi
	callq	_I_IGNCR
	testq	%rax, %rax
	jne	LBB0_116
## %bb.54:
	movq	%r13, %rdi
	callq	_I_ICRNL
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	jmp	LBB0_56
LBB0_55:
	movq	%r13, %rdi
	callq	_I_INLCR
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_56:
	leal	(%rcx,%rcx,2), %r14d
	addl	$10, %r14d
LBB0_57:
	cmpq	$0, 64(%r13)
	je	LBB0_89
## %bb.58:
	movq	%r13, %rdi
	callq	_ERASE_CHAR
	cmpb	%al, %r14b
	je	LBB0_62
## %bb.59:
	movq	%r13, %rdi
	callq	_KILL_CHAR
	cmpb	%al, %r14b
	je	LBB0_62
## %bb.60:
	movq	%r13, %rdi
	callq	_WERASE_CHAR
	cmpb	%al, %r14b
	jne	LBB0_63
## %bb.61:
	movq	%r13, %rdi
	callq	_L_IEXTEN
	testq	%rax, %rax
	je	LBB0_63
LBB0_62:
	movzbl	%r14b, %edi
	movq	%r13, %rsi
	callq	_eraser
	jmp	LBB0_12
LBB0_63:
	movq	%r13, %rdi
	callq	_LNEXT_CHAR
	cmpb	%al, %r14b
	jne	LBB0_68
## %bb.64:
	movq	%r13, %rdi
	callq	_L_IEXTEN
	testq	%rax, %rax
	je	LBB0_68
## %bb.65:
	movl	$1, (%r13)
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_116
## %bb.66:
	movq	%r13, %rdi
	callq	_finish_erasing
	movq	%r13, %rdi
	callq	_L_ECHOCTL
	testq	%rax, %rax
	je	LBB0_116
## %bb.67:
	movl	$94, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$8, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	jmp	LBB0_12
LBB0_68:
	movq	%r13, %rdi
	callq	_REPRINT_CHAR
	cmpb	%al, %r14b
	jne	LBB0_74
## %bb.69:
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_74
## %bb.70:
	movq	%r13, %rdi
	callq	_L_IEXTEN
	testq	%rax, %rax
	je	LBB0_74
## %bb.71:
	movq	8(%r13), %rbx
	movq	%r13, %rdi
	callq	_finish_erasing
	movzbl	%r14b, %edi
	movq	%r13, %rsi
	callq	_echo_char
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	cmpq	16(%r13), %rbx
	je	LBB0_12
## %bb.72:
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %r14
LBB0_73:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movzbl	(%rax,%rbx), %edi
	movq	%r13, %rsi
	callq	_echo_char
	incq	%rbx
	movslq	(%r14), %rax
	decq	%rax
	andq	%rax, %rbx
	cmpq	16(%r13), %rbx
	jne	LBB0_73
	jmp	LBB0_12
LBB0_74:
	cmpb	$10, %r14b
	jne	LBB0_79
## %bb.75:
	movl	4(%r13), %r14d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_L_ECHO
	cmpl	%ebx, %r14d
	jge	LBB0_111
## %bb.76:
	testq	%rax, %rax
	jne	LBB0_78
## %bb.77:
	movq	%r13, %rdi
	callq	_L_ECHONL
	testq	%rax, %rax
	je	LBB0_113
LBB0_78:
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movq	%r13, %rdi
	callq	_process_echoes
LBB0_113:
	movb	$10, %r14b
	jmp	LBB0_114
LBB0_79:
	movq	%r13, %rdi
	callq	_EOF_CHAR
	cmpb	%al, %r14b
	jne	LBB0_84
## %bb.80:
	movl	4(%r13), %eax
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_116
## %bb.81:
	movq	8(%r13), %rax
	cmpq	16(%r13), %rax
	je	LBB0_83
## %bb.82:
	movq	_TTY_PUSH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	56(%r13), %rsi
	callq	_set_bit
LBB0_83:
	movq	___DISABLED_CHAR@GOTPCREL(%rip), %rax
	movb	(%rax), %r14b
	jmp	LBB0_114
LBB0_84:
	movq	%r13, %rdi
	callq	_EOL_CHAR
	cmpb	%al, %r14b
	je	LBB0_87
## %bb.85:
	movq	%r13, %rdi
	callq	_EOL2_CHAR
	cmpb	%al, %r14b
	jne	LBB0_89
## %bb.86:
	movq	%r13, %rdi
	callq	_L_IEXTEN
	testq	%rax, %rax
	je	LBB0_89
LBB0_87:
	cmpb	$-1, %r14b
	je	LBB0_103
## %bb.88:
	xorl	%r12d, %r12d
	jmp	LBB0_104
LBB0_89:
	cmpb	$-1, %r14b
	je	LBB0_91
## %bb.90:
	movl	$-1, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_92
LBB0_91:
	movq	%r13, %rdi
	callq	_I_PARMRK
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	movl	%r15d, %ebx
	notl	%ebx
LBB0_92:
	movl	4(%r13), %r12d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_L_ECHO
	cmpl	%ebx, %r12d
	jge	LBB0_111
## %bb.93:
	testq	%rax, %rax
	je	LBB0_100
## %bb.94:
	movq	%r13, %rdi
	callq	_finish_erasing
	cmpb	$10, %r14b
	jne	LBB0_96
## %bb.95:
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	jmp	LBB0_99
LBB0_96:
	movq	8(%r13), %rax
	cmpq	16(%r13), %rax
	jne	LBB0_98
## %bb.97:
	movq	%r13, %rdi
	callq	_echo_set_canon_col
LBB0_98:
	movzbl	%r14b, %edi
	movq	%r13, %rsi
	callq	_echo_char
LBB0_99:
	movq	%r13, %rdi
	callq	_process_echoes
LBB0_100:
	testb	%r15b, %r15b
	je	LBB0_102
## %bb.101:
	movzbl	%r14b, %edi
	movq	%r13, %rsi
	callq	_put_tty_queue
LBB0_102:
	movzbl	%r14b, %edi
	jmp	LBB0_2
LBB0_103:
	movq	%r13, %rdi
	callq	_I_PARMRK
	testq	%rax, %rax
	setne	%r12b
LBB0_104:
	movl	4(%r13), %r15d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movzbl	%r12b, %eax
	subl	%eax, %ebx
	movq	%r13, %rdi
	callq	_L_ECHO
	cmpl	%ebx, %r15d
	jge	LBB0_111
## %bb.105:
	movzbl	%r14b, %r15d
	testq	%rax, %rax
	je	LBB0_109
## %bb.106:
	movq	8(%r13), %rax
	cmpq	16(%r13), %rax
	jne	LBB0_108
## %bb.107:
	movq	%r13, %rdi
	callq	_echo_set_canon_col
LBB0_108:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_echo_char
	movq	%r13, %rdi
	callq	_process_echoes
LBB0_109:
	testb	%r12b, %r12b
	je	LBB0_114
## %bb.110:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_put_tty_queue
LBB0_114:
	leaq	40(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r13), %rdi
	movq	48(%r13), %rsi
	callq	_set_bit
	movzbl	%r14b, %edi
	movq	%r13, %rsi
	callq	_put_tty_queue_nolock
	movq	16(%r13), %rax
	movq	%rax, 8(%r13)
	incl	44(%r13)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	36(%r13), %rdi
	movq	_SIGIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_POLL_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_kill_fasync
	addq	$32, %r13
	movq	%r13, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_116
## %bb.115:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
LBB0_111:
	testq	%rax, %rax
	je	LBB0_116
## %bb.112:
	movl	$7, %edi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_output                 ## TAILCALL
LBB0_116:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_TTY_BUF_SIZE,4,2             ## @N_TTY_BUF_SIZE
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_TTY_PUSH,8,3                   ## @TTY_PUSH
	.comm	___DISABLED_CHAR,1,0            ## @__DISABLED_CHAR
	.comm	_SIGIO,4,2                      ## @SIGIO
	.comm	_POLL_IN,4,2                    ## @POLL_IN
	.no_dead_strip	_n_tty_receive_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n_tty_receive_char
_n_tty_receive_char:                    ; @n_tty_receive_char
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #112]
	cbz	x8, LBB0_2
LBB0_1:
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_tty_queue
LBB0_2:
	mov	x0, x19
	bl	_I_ISTRIP
	and	w8, w20, #0x7f
	cmp	x0, #0
	csel	w20, w20, w8, eq
	mov	x0, x19
	bl	_I_IUCLC
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_L_IEXTEN
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_tolower
	mov	x20, x0
LBB0_5:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w8, [x19, #96]
	cbz	w8, LBB0_16
LBB0_7:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_12
; %bb.8:
	mov	x0, x19
	bl	_I_IXON
	cbz	x0, LBB0_109
; %bb.9:
	mov	x0, x19
	bl	_START_CHAR
	cmp	w20, w0
	b.ne	LBB0_24
LBB0_10:
	mov	x0, x19
	bl	_start_tty
LBB0_11:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_process_echoes
LBB0_12:
	ldr	w1, [x19, #80]
	mov	x0, x20
	bl	_test_bit
	cbz	w0, LBB0_14
; %bb.13:
	ldr	w8, [x19]
	cbz	w8, LBB0_36
LBB0_14:
	str	wzr, [x19]
	cmp	w20, #255
	b.eq	LBB0_26
; %bb.15:
	mov	w21, #0
	mov	w8, #-1
	b	LBB0_27
LBB0_16:
	mov	x0, x19
	bl	_I_IXON
	cbz	x0, LBB0_7
; %bb.17:
	mov	x0, x19
	bl	_I_IXANY
	cbz	x0, LBB0_7
; %bb.18:
	mov	x0, x19
	bl	_START_CHAR
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.19:
	mov	x0, x19
	bl	_STOP_CHAR
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.20:
	mov	x0, x19
	bl	_INTR_CHAR
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.21:
	mov	x0, x19
	bl	_QUIT_CHAR
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.22:
	mov	x0, x19
	bl	_SUSP_CHAR
	cmp	w20, w0
	b.eq	LBB0_7
; %bb.23:
	mov	x0, x19
	bl	_start_tty
	mov	x0, x19
	bl	_process_echoes
	b	LBB0_7
LBB0_24:
	mov	x0, x19
	bl	_STOP_CHAR
	cmp	w20, w0
	b.ne	LBB0_109
LBB0_25:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_stop_tty
LBB0_26:
	mov	x0, x19
	bl	_I_PARMRK
	cmp	x0, #0
	cset	w21, ne
	mov	w8, #-2
	cinc	w8, w8, eq
LBB0_27:
	ldr	w22, [x19, #4]
Lloh0:
	adrp	x9, _N_TTY_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w23, w8, w9
	mov	x0, x19
	bl	_L_ECHO
	cmp	w22, w23
	b.ge	LBB0_104
; %bb.28:
	cbz	x0, LBB0_34
; %bb.29:
	mov	x0, x19
	bl	_finish_erasing
LBB0_30:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.31:
	mov	x0, x19
	bl	_echo_set_canon_col
LBB0_32:
	mov	x0, x20
	mov	x1, x19
	bl	_echo_char
LBB0_33:
	mov	x0, x19
	bl	_process_echoes
LBB0_34:
	cbz	w21, LBB0_1
; %bb.35:
	mov	x0, x20
	mov	x1, x19
	bl	_put_tty_queue
	b	LBB0_1
LBB0_36:
	mov	x0, x19
	bl	_I_IXON
	cbz	x0, LBB0_39
; %bb.37:
	mov	x0, x19
	bl	_START_CHAR
	cmp	w20, w0
	b.eq	LBB0_10
; %bb.38:
	mov	x0, x19
	bl	_STOP_CHAR
	cmp	w20, w0
	b.eq	LBB0_25
LBB0_39:
	mov	x0, x19
	bl	_L_ISIG
	cbz	x0, LBB0_51
; %bb.40:
Lloh3:
	adrp	x8, _SIGINT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_INTR_CHAR
	cmp	w20, w0
	b.eq	LBB0_43
; %bb.41:
Lloh6:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_QUIT_CHAR
	cmp	w20, w0
	b.eq	LBB0_43
; %bb.42:
Lloh9:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_SUSP_CHAR
	cmp	w20, w0
	b.ne	LBB0_51
LBB0_43:
	mov	x0, x19
	bl	_L_NOFLSH
	cbnz	w0, LBB0_45
; %bb.44:
	mov	x0, x19
	bl	_n_tty_flush_buffer
	mov	x0, x19
	bl	_tty_driver_flush_buffer
LBB0_45:
	mov	x0, x19
	bl	_I_IXON
	cbz	x0, LBB0_47
; %bb.46:
	mov	x0, x19
	bl	_start_tty
LBB0_47:
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_49
; %bb.48:
	mov	x0, x20
	mov	x1, x19
	bl	_echo_char
	mov	x0, x19
	bl	_process_echoes
LBB0_49:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_109
; %bb.50:
	mov	x1, x21
	mov	w2, #1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kill_pgrp
LBB0_51:
	cmp	w20, #10
	b.eq	LBB0_55
; %bb.52:
	cmp	w20, #13
	b.ne	LBB0_57
; %bb.53:
	mov	x0, x19
	bl	_I_IGNCR
	cbnz	x0, LBB0_109
; %bb.54:
	mov	x0, x19
	bl	_I_ICRNL
	cmp	x0, #0
	mov	w8, #10
	mov	w9, #13
	b	LBB0_56
LBB0_55:
	mov	x0, x19
	bl	_I_INLCR
	cmp	x0, #0
	mov	w8, #13
	mov	w9, #10
LBB0_56:
	csel	w20, w9, w8, eq
LBB0_57:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_89
; %bb.58:
	mov	x0, x19
	bl	_ERASE_CHAR
	cmp	w20, w0
	b.eq	LBB0_62
; %bb.59:
	mov	x0, x19
	bl	_KILL_CHAR
	cmp	w20, w0
	b.eq	LBB0_62
; %bb.60:
	mov	x0, x19
	bl	_WERASE_CHAR
	cmp	w20, w0
	b.ne	LBB0_63
; %bb.61:
	mov	x0, x19
	bl	_L_IEXTEN
	cbz	x0, LBB0_63
LBB0_62:
	mov	x0, x20
	mov	x1, x19
	bl	_eraser
	b	LBB0_11
LBB0_63:
	mov	x0, x19
	bl	_LNEXT_CHAR
	cmp	w20, w0
	b.ne	LBB0_68
; %bb.64:
	mov	x0, x19
	bl	_L_IEXTEN
	cbz	x0, LBB0_68
; %bb.65:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_109
; %bb.66:
	mov	x0, x19
	bl	_finish_erasing
	mov	x0, x19
	bl	_L_ECHOCTL
	cbz	x0, LBB0_109
; %bb.67:
	mov	w0, #94
	mov	x1, x19
	bl	_echo_char_raw
	mov	w0, #8
	mov	x1, x19
	bl	_echo_char_raw
	b	LBB0_11
LBB0_68:
	mov	x0, x19
	bl	_REPRINT_CHAR
	cmp	w20, w0
	b.ne	LBB0_74
; %bb.69:
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_74
; %bb.70:
	mov	x0, x19
	bl	_L_IEXTEN
	cbz	x0, LBB0_74
; %bb.71:
	ldr	x21, [x19, #8]
	mov	x0, x19
	bl	_finish_erasing
	mov	x0, x20
	mov	x1, x19
	bl	_echo_char
	mov	w0, #10
	mov	x1, x19
	bl	_echo_char_raw
	ldr	x8, [x19, #16]
	cmp	x21, x8
	b.eq	LBB0_11
; %bb.72:
Lloh12:
	adrp	x20, _N_TTY_BUF_SIZE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _N_TTY_BUF_SIZE@GOTPAGEOFF]
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldrb	w0, [x8, x21]
	mov	x1, x19
	bl	_echo_char
	add	x8, x21, #1
	ldrsw	x9, [x20]
	sub	x9, x9, #1
	and	x21, x8, x9
	ldr	x8, [x19, #16]
	cmp	x21, x8
	b.ne	LBB0_73
	b	LBB0_11
LBB0_74:
	cmp	w20, #10
	b.ne	LBB0_79
; %bb.75:
	ldr	w20, [x19, #4]
Lloh14:
	adrp	x8, _N_TTY_BUF_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_L_ECHO
	cmp	w20, w21
	b.ge	LBB0_104
; %bb.76:
	cbnz	x0, LBB0_78
; %bb.77:
	mov	x0, x19
	bl	_L_ECHONL
	cbz	x0, LBB0_106
LBB0_78:
	mov	w20, #10
	mov	w0, #10
	mov	x1, x19
	bl	_echo_char_raw
	mov	x0, x19
	bl	_process_echoes
	b	LBB0_107
LBB0_79:
	mov	x0, x19
	bl	_EOF_CHAR
	cmp	w20, w0
	b.ne	LBB0_84
; %bb.80:
	ldr	w8, [x19, #4]
Lloh17:
	adrp	x9, _N_TTY_BUF_SIZE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_109
; %bb.81:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_83
; %bb.82:
Lloh20:
	adrp	x8, _TTY_PUSH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TTY_PUSH@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	add	x1, x19, #56
	bl	_set_bit
LBB0_83:
Lloh23:
	adrp	x8, ___DISABLED_CHAR@GOTPAGE
Lloh24:
	ldr	x8, [x8, ___DISABLED_CHAR@GOTPAGEOFF]
	ldrb	w20, [x8]
	b	LBB0_107
LBB0_84:
	mov	x0, x19
	bl	_EOL_CHAR
	cmp	w20, w0
	b.eq	LBB0_87
; %bb.85:
	mov	x0, x19
	bl	_EOL2_CHAR
	cmp	w20, w0
	b.ne	LBB0_89
; %bb.86:
	mov	x0, x19
	bl	_L_IEXTEN
	cbz	x0, LBB0_89
LBB0_87:
	cmp	w20, #255
	b.eq	LBB0_96
; %bb.88:
	mov	w21, #0
	b	LBB0_97
LBB0_89:
	cmp	w20, #255
	b.eq	LBB0_91
; %bb.90:
	mov	w21, #0
	mov	w8, #-1
	b	LBB0_92
LBB0_91:
	mov	x0, x19
	bl	_I_PARMRK
	cmp	x0, #0
	cset	w21, ne
	mov	w8, #-2
	cinc	w8, w8, eq
LBB0_92:
	ldr	w22, [x19, #4]
Lloh25:
	adrp	x9, _N_TTY_BUF_SIZE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	add	w23, w8, w9
	mov	x0, x19
	bl	_L_ECHO
	cmp	w22, w23
	b.ge	LBB0_104
; %bb.93:
	cbz	x0, LBB0_34
; %bb.94:
	mov	x0, x19
	bl	_finish_erasing
	cmp	w20, #10
	b.ne	LBB0_30
; %bb.95:
	mov	w0, #10
	mov	x1, x19
	bl	_echo_char_raw
	b	LBB0_33
LBB0_96:
	mov	x0, x19
	bl	_I_PARMRK
	cmp	x0, #0
	cset	w21, ne
LBB0_97:
	ldr	w22, [x19, #4]
Lloh28:
	adrp	x8, _N_TTY_BUF_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	sub	w23, w8, w21
	mov	x0, x19
	bl	_L_ECHO
	cmp	w22, w23
	b.ge	LBB0_104
; %bb.98:
	cbz	x0, LBB0_102
; %bb.99:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_101
; %bb.100:
	mov	x0, x19
	bl	_echo_set_canon_col
LBB0_101:
	mov	x0, x20
	mov	x1, x19
	bl	_echo_char
	mov	x0, x19
	bl	_process_echoes
LBB0_102:
	cbz	w21, LBB0_107
; %bb.103:
	mov	x0, x20
	mov	x1, x19
	bl	_put_tty_queue
	b	LBB0_107
LBB0_104:
	cbz	x0, LBB0_109
; %bb.105:
	mov	w0, #7
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_process_output
LBB0_106:
	mov	w20, #10
LBB0_107:
	add	x21, x19, #40
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x0, [x19, #16]
	ldr	x1, [x19, #48]
	bl	_set_bit
	mov	x0, x20
	mov	x1, x19
	bl	_put_tty_queue_nolock
	ldr	x8, [x19, #16]
	str	x8, [x19, #8]
	ldr	w8, [x19, #44]
	add	w8, w8, #1
	str	w8, [x19, #44]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	add	x0, x19, #36
Lloh31:
	adrp	x8, _SIGIO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIGIO@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _POLL_IN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _POLL_IN@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	bl	_kill_fasync
	add	x19, x19, #32
	mov	x0, x19
	bl	_waitqueue_active
	cbz	x0, LBB0_109
; %bb.108:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wake_up_interruptible
LBB0_109:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TTY_BUF_SIZE,4,2             ; @N_TTY_BUF_SIZE
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_TTY_PUSH,8,3                   ; @TTY_PUSH
	.comm	___DISABLED_CHAR,1,0            ; @__DISABLED_CHAR
	.comm	_SIGIO,4,2                      ; @SIGIO
	.comm	_POLL_IN,4,2                    ; @POLL_IN
	.no_dead_strip	_n_tty_receive_char
.subsections_via_symbols
