	.file	"extr_n_tty.c_n_tty_receive_char.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	n_tty_receive_char, @function
n_tty_receive_char:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	QWORD PTR 112[rdi], 0
	mov	ebx, esi
	jne	.L146
	mov	r12d, esi
	and	ebx, 127
	call	I_ISTRIP@PLT
	mov	rdi, rbp
	test	rax, rax
	cmovne	r12d, ebx
	call	I_IUCLC@PLT
	test	rax, rax
	jne	.L147
.L4:
	cmp	QWORD PTR 104[rbp], 0
	je	.L6
	mov	eax, DWORD PTR 96[rbp]
	test	eax, eax
	je	.L148
.L6:
	cmp	QWORD PTR 88[rbp], 0
	jne	.L149
	movzx	r13d, r12b
	mov	esi, DWORD PTR 80[rbp]
	mov	edi, r13d
	call	test_bit@PLT
	test	eax, eax
	je	.L13
	mov	ebx, DWORD PTR 0[rbp]
	test	ebx, ebx
	je	.L14
.L13:
	mov	DWORD PTR 0[rbp], 0
	xor	ebx, ebx
	cmp	r12b, -1
	je	.L150
.L15:
	mov	eax, ebx
	mov	rdi, rbp
	not	eax
	add	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	cmp	DWORD PTR 4[rbp], eax
	jge	.L151
	call	L_ECHO@PLT
	test	rax, rax
	jne	.L152
.L58:
	test	ebx, ebx
	jne	.L153
.L62:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	edi, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	put_tty_queue@PLT
	.p2align 4,,10
	.p2align 3
.L149:
	.cfi_restore_state
	mov	rdi, rbp
	call	I_IXON@PLT
	test	rax, rax
	jne	.L154
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L147:
	.cfi_restore_state
	mov	rdi, rbp
	call	L_IEXTEN@PLT
	test	rax, rax
	je	.L4
	movzx	edi, r12b
	call	tolower@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L146:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movzx	edi, sil
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	put_tty_queue@PLT
	.p2align 4,,10
	.p2align 3
.L151:
	.cfi_restore_state
	call	L_ECHO@PLT
	test	rax, rax
	je	.L1
.L43:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	edi, 7
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	process_output@PLT
	.p2align 4,,10
	.p2align 3
.L148:
	.cfi_restore_state
	mov	rdi, rbp
	call	I_IXON@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbp
	call	I_IXANY@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbp
	call	START_CHAR@PLT
	cmp	al, r12b
	je	.L6
	mov	rdi, rbp
	call	STOP_CHAR@PLT
	cmp	al, r12b
	je	.L6
	mov	rdi, rbp
	call	INTR_CHAR@PLT
	cmp	al, r12b
	je	.L6
	mov	rdi, rbp
	call	QUIT_CHAR@PLT
	cmp	al, r12b
	je	.L6
	mov	rdi, rbp
	call	SUSP_CHAR@PLT
	cmp	al, r12b
	je	.L6
	mov	rdi, rbp
	call	start_tty@PLT
	mov	rdi, rbp
	call	process_echoes@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L154:
	mov	rdi, rbp
	call	START_CHAR@PLT
	cmp	al, r12b
	je	.L21
	mov	rdi, rbp
	call	STOP_CHAR@PLT
	cmp	al, r12b
	jne	.L1
.L22:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	stop_tty@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, rbp
	call	I_IXON@PLT
	test	rax, rax
	je	.L20
	mov	rdi, rbp
	call	START_CHAR@PLT
	cmp	al, r12b
	je	.L21
	mov	rdi, rbp
	call	STOP_CHAR@PLT
	cmp	al, r12b
	je	.L22
.L20:
	mov	rdi, rbp
	call	L_ISIG@PLT
	test	rax, rax
	jne	.L155
.L23:
	cmp	r12b, 13
	je	.L156
	cmp	r12b, 10
	je	.L157
	cmp	QWORD PTR 64[rbp], 0
	jne	.L63
.L33:
	cmp	r12b, -1
	je	.L158
.L56:
	mov	eax, ebx
	not	eax
	add	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	cmp	DWORD PTR 4[rbp], eax
	jge	.L138
	mov	rdi, rbp
	movzx	r13d, r12b
	call	L_ECHO@PLT
	test	rax, rax
	je	.L58
	mov	rdi, rbp
	call	finish_erasing@PLT
	cmp	r12b, 10
	je	.L159
	mov	rax, QWORD PTR 16[rbp]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L61
	.p2align 4,,10
	.p2align 3
.L144:
	mov	rdi, rbp
	call	echo_set_canon_col@PLT
.L61:
	mov	rsi, rbp
	mov	edi, r13d
	call	echo_char@PLT
.L60:
	mov	rdi, rbp
	call	process_echoes@PLT
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L150:
	mov	rdi, rbp
	xor	ebx, ebx
	call	I_PARMRK@PLT
	test	rax, rax
	setne	bl
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L153:
	mov	rsi, rbp
	mov	edi, r13d
	call	put_tty_queue@PLT
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L152:
	mov	rdi, rbp
	call	finish_erasing@PLT
	mov	rax, QWORD PTR 16[rbp]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L61
	jmp	.L144
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, rbp
	call	start_tty@PLT
.L141:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	process_echoes@PLT
	.p2align 4,,10
	.p2align 3
.L155:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r14d, DWORD PTR SIGINT[rip]
	call	INTR_CHAR@PLT
	cmp	al, r12b
	je	.L24
	mov	rdi, rbp
	mov	r14d, DWORD PTR SIGQUIT[rip]
	call	QUIT_CHAR@PLT
	cmp	al, r12b
	je	.L24
	mov	rdi, rbp
	mov	r14d, DWORD PTR SIGTSTP[rip]
	call	SUSP_CHAR@PLT
	cmp	al, r12b
	jne	.L23
.L24:
	mov	rdi, rbp
	call	L_NOFLSH@PLT
	test	eax, eax
	je	.L160
.L25:
	mov	rdi, rbp
	call	I_IXON@PLT
	test	rax, rax
	jne	.L161
.L26:
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	jne	.L162
.L27:
	mov	rdi, QWORD PTR 72[rbp]
	test	rdi, rdi
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r14d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	edx, 1
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	kill_pgrp@PLT
	.p2align 4,,10
	.p2align 3
.L156:
	.cfi_restore_state
	mov	rdi, rbp
	call	I_IGNCR@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, rbp
	call	I_ICRNL@PLT
	test	rax, rax
	je	.L30
.L29:
	mov	r12d, 10
.L32:
	cmp	QWORD PTR 64[rbp], 0
	je	.L56
.L63:
	mov	rdi, rbp
	call	ERASE_CHAR@PLT
	cmp	al, r12b
	je	.L35
	mov	rdi, rbp
	call	KILL_CHAR@PLT
	cmp	al, r12b
	je	.L35
	mov	rdi, rbp
	call	WERASE_CHAR@PLT
	cmp	al, r12b
	je	.L163
.L36:
	mov	rdi, rbp
	call	LNEXT_CHAR@PLT
	cmp	al, r12b
	je	.L164
.L37:
	mov	rdi, rbp
	call	REPRINT_CHAR@PLT
	cmp	al, r12b
	je	.L165
.L38:
	cmp	r12b, 10
	jne	.L41
	mov	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	cmp	DWORD PTR 4[rbp], eax
	jl	.L42
	.p2align 4,,10
	.p2align 3
.L138:
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	je	.L1
	jmp	.L43
.L157:
	mov	rdi, rbp
	call	I_INLCR@PLT
	test	rax, rax
	je	.L29
.L30:
	mov	r12d, 13
	jmp	.L32
.L163:
	mov	rdi, rbp
	call	L_IEXTEN@PLT
	test	rax, rax
	je	.L36
.L35:
	movzx	edi, r12b
	mov	rsi, rbp
	call	eraser@PLT
	jmp	.L141
.L158:
	mov	rdi, rbp
	xor	ebx, ebx
	call	I_PARMRK@PLT
	test	rax, rax
	setne	bl
	jmp	.L56
.L162:
	mov	edi, r13d
	mov	rsi, rbp
	call	echo_char@PLT
	mov	rdi, rbp
	call	process_echoes@PLT
	jmp	.L27
.L161:
	mov	rdi, rbp
	call	start_tty@PLT
	jmp	.L26
.L160:
	mov	rdi, rbp
	call	n_tty_flush_buffer@PLT
	mov	rdi, rbp
	call	tty_driver_flush_buffer@PLT
	jmp	.L25
.L41:
	mov	rdi, rbp
	call	EOF_CHAR@PLT
	cmp	al, r12b
	jne	.L47
	mov	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	cmp	DWORD PTR 4[rbp], eax
	jge	.L1
	mov	rax, QWORD PTR 16[rbp]
	cmp	QWORD PTR 8[rbp], rax
	je	.L48
	mov	rdi, QWORD PTR TTY_PUSH[rip]
	lea	rsi, 56[rbp]
	call	set_bit@PLT
.L48:
	movzx	r13d, BYTE PTR __DISABLED_CHAR[rip]
.L45:
	lea	r12, 40[rbp]
	xor	r14d, r14d
	mov	rsi, r14
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rsi, QWORD PTR 48[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	call	set_bit@PLT
	mov	rsi, rbp
	mov	edi, r13d
	call	put_tty_queue_nolock@PLT
	mov	rax, QWORD PTR 16[rbp]
	add	DWORD PTR 44[rbp], 1
	mov	rsi, r14
	mov	rdi, r12
	mov	QWORD PTR 8[rbp], rax
	call	spin_unlock_irqrestore@PLT
	mov	edx, DWORD PTR POLL_IN[rip]
	mov	esi, DWORD PTR SIGIO[rip]
	lea	rdi, 36[rbp]
	add	rbp, 32
	call	kill_fasync@PLT
	mov	rdi, rbp
	call	waitqueue_active@PLT
	test	rax, rax
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	wake_up_interruptible@PLT
.L164:
	.cfi_restore_state
	mov	rdi, rbp
	call	L_IEXTEN@PLT
	test	rax, rax
	je	.L37
	mov	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	finish_erasing@PLT
	mov	rdi, rbp
	call	L_ECHOCTL@PLT
	test	rax, rax
	je	.L1
	mov	rsi, rbp
	mov	edi, 94
	call	echo_char_raw@PLT
	mov	rsi, rbp
	mov	edi, 8
	call	echo_char_raw@PLT
	jmp	.L141
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rdi, rbp
	call	EOL_CHAR@PLT
	cmp	al, r12b
	je	.L52
	mov	rdi, rbp
	call	EOL2_CHAR@PLT
	cmp	al, r12b
	jne	.L33
	mov	rdi, rbp
	call	L_IEXTEN@PLT
	test	rax, rax
	je	.L33
.L52:
	cmp	r12b, -1
	je	.L166
.L51:
	mov	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	sub	eax, ebx
	cmp	DWORD PTR 4[rbp], eax
	jge	.L138
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	jne	.L135
	movzx	r13d, r12b
.L54:
	test	ebx, ebx
	je	.L45
	mov	rsi, rbp
	mov	edi, r13d
	call	put_tty_queue@PLT
	jmp	.L45
.L159:
	mov	rsi, rbp
	mov	edi, 10
	call	echo_char_raw@PLT
	jmp	.L60
.L165:
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	je	.L38
	mov	rdi, rbp
	call	L_IEXTEN@PLT
	test	rax, rax
	je	.L38
	mov	rdi, rbp
	mov	rbx, QWORD PTR 8[rbp]
	call	finish_erasing@PLT
	movzx	edi, r12b
	mov	rsi, rbp
	call	echo_char@PLT
	mov	rsi, rbp
	mov	edi, 10
	call	echo_char_raw@PLT
	jmp	.L39
.L40:
	mov	rax, QWORD PTR 24[rbp]
	mov	rsi, rbp
	movzx	edi, BYTE PTR [rax+rbx]
	add	rbx, 1
	call	echo_char@PLT
	mov	eax, DWORD PTR N_TTY_BUF_SIZE[rip]
	sub	eax, 1
	cdqe
	and	rbx, rax
.L39:
	cmp	QWORD PTR 16[rbp], rbx
	jne	.L40
	jmp	.L141
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, rbp
	call	L_ECHO@PLT
	test	rax, rax
	jne	.L46
	mov	rdi, rbp
	mov	r13d, 10
	call	L_ECHONL@PLT
	test	rax, rax
	je	.L45
.L46:
	mov	rsi, rbp
	mov	edi, 10
	mov	r13d, 10
	call	echo_char_raw@PLT
	mov	rdi, rbp
	call	process_echoes@PLT
	jmp	.L45
.L135:
	mov	rax, QWORD PTR 16[rbp]
	cmp	QWORD PTR 8[rbp], rax
	je	.L167
.L55:
	movzx	r13d, r12b
	mov	rsi, rbp
	mov	edi, r13d
	call	echo_char@PLT
	mov	rdi, rbp
	call	process_echoes@PLT
	jmp	.L54
.L166:
	mov	rdi, rbp
	xor	ebx, ebx
	call	I_PARMRK@PLT
	test	rax, rax
	setne	bl
	jmp	.L51
.L167:
	mov	rdi, rbp
	call	echo_set_canon_col@PLT
	jmp	.L55
	.cfi_endproc
.LFE0:
	.size	n_tty_receive_char, .-n_tty_receive_char
	.comm	__DISABLED_CHAR,1,1
	.comm	TTY_PUSH,8,8
	.comm	SIGTSTP,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGIO,4,4
	.comm	SIGINT,4,4
	.comm	POLL_IN,4,4
	.comm	N_TTY_BUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_n_tty.c_n_tty_receive_char.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	n_tty_receive_char, %function
n_tty_receive_char:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #68]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	bne	.L62
	bl	I_ISTRIP
	cmp	r0, #0
	mov	r0, r4
	andne	r5, r5, #127
	bl	I_IUCLC
	cmp	r0, #0
	bne	.L151
.L4:
	ldr	r3, [r4, #64]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r4, #60]
	cmp	r3, #0
	beq	.L152
.L6:
	ldr	r6, [r4, #56]
	cmp	r6, #0
	bne	.L153
	mov	r0, r5
	ldr	r1, [r4, #52]
	bl	test_bit
	cmp	r0, #0
	beq	.L13
	ldr	r7, [r4]
	cmp	r7, #0
	beq	.L14
.L13:
	mov	r3, #0
	cmp	r5, #255
	str	r3, [r4]
	beq	.L154
.L15:
	ldr	r3, .L173
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	mov	r0, r4
	sub	r3, r3, r6
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L155
	bl	L_ECHO
	cmp	r0, #0
	bne	.L156
.L17:
	cmp	r6, #0
	beq	.L62
.L149:
	mov	r1, r4
	mov	r0, r5
	bl	put_tty_queue
.L62:
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	put_tty_queue
.L153:
	mov	r0, r4
	bl	I_IXON
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	START_CHAR
	cmp	r0, r5
	beq	.L21
	mov	r0, r4
	bl	STOP_CHAR
	cmp	r0, r5
	popne	{r4, r5, r6, r7, r8, pc}
.L22:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	stop_tty
.L151:
	mov	r0, r4
	bl	L_IEXTEN
	cmp	r0, #0
	beq	.L4
	mov	r0, r5
	bl	tolower
	mov	r5, r0
	b	.L4
.L155:
	bl	L_ECHO
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L43:
	mov	r1, r4
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #7
	b	process_output
.L152:
	mov	r0, r4
	bl	I_IXON
	cmp	r0, #0
	beq	.L6
	mov	r0, r4
	bl	I_IXANY
	cmp	r0, #0
	beq	.L6
	mov	r0, r4
	bl	START_CHAR
	cmp	r0, r5
	beq	.L6
	mov	r0, r4
	bl	STOP_CHAR
	cmp	r0, r5
	beq	.L6
	mov	r0, r4
	bl	INTR_CHAR
	cmp	r0, r5
	beq	.L6
	mov	r0, r4
	bl	QUIT_CHAR
	cmp	r0, r5
	beq	.L6
	mov	r0, r4
	bl	SUSP_CHAR
	cmp	r0, r5
	beq	.L6
	mov	r0, r4
	bl	start_tty
	mov	r0, r4
	bl	process_echoes
	b	.L6
.L14:
	mov	r0, r4
	bl	I_IXON
	cmp	r0, #0
	beq	.L20
	mov	r0, r4
	bl	START_CHAR
	cmp	r0, r5
	beq	.L21
	mov	r0, r4
	bl	STOP_CHAR
	cmp	r0, r5
	beq	.L22
.L20:
	mov	r0, r4
	bl	L_ISIG
	cmp	r0, #0
	bne	.L157
.L23:
	cmp	r5, #13
	beq	.L158
	cmp	r5, #10
	beq	.L159
	ldr	r3, [r4, #44]
	cmp	r3, #0
	bne	.L63
.L33:
	cmp	r5, #255
	beq	.L160
.L56:
	ldr	r3, .L173
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	sub	r3, r3, r7
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L147
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	bne	.L161
.L58:
	cmp	r7, #0
	beq	.L62
	b	.L149
.L154:
	mov	r0, r4
	bl	I_PARMRK
	subs	r6, r0, #0
	movne	r6, #1
	b	.L15
.L156:
	mov	r0, r4
	bl	finish_erasing
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r2, r3
	beq	.L162
.L18:
	mov	r1, r4
	mov	r0, r5
	bl	echo_char
	mov	r0, r4
	bl	process_echoes
	b	.L17
.L21:
	mov	r0, r4
	bl	start_tty
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	process_echoes
.L157:
	ldr	r3, .L173+4
	mov	r0, r4
	ldr	r6, [r3]
	bl	INTR_CHAR
	cmp	r0, r5
	beq	.L24
	ldr	r3, .L173+8
	mov	r0, r4
	ldr	r6, [r3]
	bl	QUIT_CHAR
	cmp	r0, r5
	beq	.L24
	ldr	r3, .L173+12
	mov	r0, r4
	ldr	r6, [r3]
	bl	SUSP_CHAR
	cmp	r0, r5
	bne	.L23
.L24:
	mov	r0, r4
	bl	L_NOFLSH
	cmp	r0, #0
	beq	.L163
.L25:
	mov	r0, r4
	bl	I_IXON
	cmp	r0, #0
	bne	.L164
.L26:
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	bne	.L165
.L27:
	ldr	r0, [r4, #48]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r6
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r2, #1
	b	kill_pgrp
.L162:
	mov	r0, r4
	bl	echo_set_canon_col
	b	.L18
.L158:
	mov	r0, r4
	bl	I_IGNCR
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	I_ICRNL
	cmp	r0, #0
	beq	.L29
.L32:
	mov	r5, #10
.L30:
	ldr	r3, [r4, #44]
	cmp	r3, #0
	moveq	r7, r3
	beq	.L56
.L63:
	mov	r0, r4
	bl	ERASE_CHAR
	cmp	r0, r5
	beq	.L35
	mov	r0, r4
	bl	KILL_CHAR
	cmp	r0, r5
	beq	.L35
	mov	r0, r4
	bl	WERASE_CHAR
	cmp	r0, r5
	beq	.L166
.L36:
	mov	r0, r4
	bl	LNEXT_CHAR
	cmp	r0, r5
	beq	.L167
.L37:
	mov	r0, r4
	bl	REPRINT_CHAR
	cmp	r0, r5
	beq	.L168
.L38:
	cmp	r5, #10
	bne	.L41
	ldr	r3, .L173
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L42
.L147:
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L43
.L159:
	mov	r0, r4
	bl	I_INLCR
	cmp	r0, #0
	beq	.L32
.L29:
	mov	r5, #13
	b	.L30
.L166:
	mov	r0, r4
	bl	L_IEXTEN
	cmp	r0, #0
	beq	.L36
.L35:
	mov	r0, r5
	mov	r1, r4
	bl	eraser
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	process_echoes
.L161:
	mov	r0, r4
	bl	finish_erasing
	cmp	r5, #10
	beq	.L169
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r2, r3
	beq	.L170
.L61:
	mov	r1, r4
	mov	r0, r5
	bl	echo_char
.L60:
	mov	r0, r4
	bl	process_echoes
	b	.L58
.L160:
	mov	r0, r4
	bl	I_PARMRK
	subs	r7, r0, #0
	movne	r7, #1
	b	.L56
.L165:
	mov	r0, r5
	mov	r1, r4
	bl	echo_char
	mov	r0, r4
	bl	process_echoes
	b	.L27
.L164:
	mov	r0, r4
	bl	start_tty
	b	.L26
.L163:
	mov	r0, r4
	bl	n_tty_flush_buffer
	mov	r0, r4
	bl	tty_driver_flush_buffer
	b	.L25
.L41:
	mov	r0, r4
	bl	EOF_CHAR
	cmp	r0, r5
	bne	.L47
	ldr	r3, .L173
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	popge	{r4, r5, r6, r7, r8, pc}
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r2, r3
	beq	.L48
	ldr	r3, .L173+16
	add	r1, r4, #40
	ldr	r0, [r3]
	bl	set_bit
.L48:
	ldr	r3, .L173+20
	ldrb	r5, [r3]	@ zero_extendqisi2
.L45:
	mov	r7, #0
	add	r6, r4, #28
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r1, [r4, #36]
	ldr	r0, [r4, #12]
	bl	set_bit
	mov	r1, r4
	mov	r0, r5
	bl	put_tty_queue_nolock
	ldr	r3, [r4, #32]
	ldr	r2, [r4, #12]
	add	r3, r3, #1
	str	r3, [r4, #32]
	str	r2, [r4, #8]
	mov	r1, r7
	mov	r0, r6
	bl	spin_unlock_irqrestore
	ldr	r3, .L173+24
	ldr	r2, .L173+28
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r0, r4, #24
	add	r4, r4, #20
	bl	kill_fasync
	mov	r0, r4
	bl	waitqueue_active
	cmp	r0, r7
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	wake_up_interruptible
.L167:
	mov	r0, r4
	bl	L_IEXTEN
	cmp	r0, #0
	beq	.L37
	mov	r3, #1
	mov	r0, r4
	str	r3, [r4]
	bl	L_ECHO
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	finish_erasing
	mov	r0, r4
	bl	L_ECHOCTL
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r4
	mov	r0, #94
	bl	echo_char_raw
	mov	r1, r4
	mov	r0, #8
	bl	echo_char_raw
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	process_echoes
.L47:
	mov	r0, r4
	bl	EOL_CHAR
	cmp	r0, r5
	beq	.L52
	mov	r0, r4
	bl	EOL2_CHAR
	cmp	r0, r5
	bne	.L33
	mov	r0, r4
	bl	L_IEXTEN
	cmp	r0, #0
	beq	.L33
.L52:
	cmp	r5, #255
	beq	.L171
.L51:
	ldr	r3, .L173
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	sub	r3, r3, r7
	cmp	r2, r3
	bge	.L147
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	beq	.L54
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #12]
	cmp	r2, r3
	beq	.L172
.L55:
	mov	r1, r4
	mov	r0, r5
	bl	echo_char
	mov	r0, r4
	bl	process_echoes
.L54:
	cmp	r7, #0
	beq	.L45
	mov	r1, r4
	mov	r0, r5
	bl	put_tty_queue
	b	.L45
.L169:
	mov	r1, r4
	mov	r0, r5
	bl	echo_char_raw
	b	.L60
.L168:
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	beq	.L38
	mov	r0, r4
	bl	L_IEXTEN
	cmp	r0, #0
	beq	.L38
	mov	r0, r4
	ldr	r6, [r4, #8]
	bl	finish_erasing
	mov	r1, r4
	mov	r0, r5
	bl	echo_char
	mov	r1, r4
	mov	r0, #10
	bl	echo_char_raw
	ldr	r5, .L173
	b	.L39
.L40:
	ldr	r3, [r4, #16]
	mov	r1, r4
	ldrb	r0, [r3, r6]	@ zero_extendqisi2
	bl	echo_char
	ldr	r3, [r5]
	add	r6, r6, #1
	sub	r3, r3, #1
	and	r6, r6, r3
.L39:
	ldr	r3, [r4, #12]
	cmp	r3, r6
	bne	.L40
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	process_echoes
.L170:
	mov	r0, r4
	bl	echo_set_canon_col
	b	.L61
.L42:
	mov	r0, r4
	bl	L_ECHO
	cmp	r0, #0
	bne	.L46
	mov	r0, r4
	bl	L_ECHONL
	cmp	r0, #0
	beq	.L45
.L46:
	mov	r1, r4
	mov	r0, #10
	bl	echo_char_raw
	mov	r0, r4
	bl	process_echoes
	b	.L45
.L171:
	mov	r0, r4
	bl	I_PARMRK
	subs	r7, r0, #0
	movne	r7, #1
	b	.L51
.L172:
	mov	r0, r4
	bl	echo_set_canon_col
	b	.L55
.L174:
	.align	2
.L173:
	.word	N_TTY_BUF_SIZE
	.word	SIGINT
	.word	SIGQUIT
	.word	SIGTSTP
	.word	TTY_PUSH
	.word	__DISABLED_CHAR
	.word	SIGIO
	.word	POLL_IN
	.size	n_tty_receive_char, .-n_tty_receive_char
	.comm	__DISABLED_CHAR,1,1
	.comm	TTY_PUSH,4,4
	.comm	SIGTSTP,4,4
	.comm	SIGQUIT,4,4
	.comm	SIGIO,4,4
	.comm	SIGINT,4,4
	.comm	POLL_IN,4,4
	.comm	N_TTY_BUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
