	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eraser
_eraser:                                ## @eraser
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	cmpl	4(%rsi), %eax
	je	LBB0_50
## %bb.1:
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	%rsi, %rdi
	callq	_ERASE_CHAR
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	cmpb	%r14b, %al
	je	LBB0_8
## %bb.2:
	movq	%r13, %rdi
	callq	_WERASE_CHAR
	movb	$1, %cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpb	%r14b, %al
	jne	LBB0_3
LBB0_8:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	28(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_9
LBB0_3:
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_51
## %bb.4:
	movq	%r13, %rdi
	callq	_L_ECHOK
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	movq	%r13, %rdi
	callq	_L_ECHOKE
	testl	%eax, %eax
	je	LBB0_17
## %bb.6:
	movq	%r13, %rdi
	callq	_L_ECHOE
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %esi
LBB0_40:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r14d, %edi
	movq	%r13, %rdx
	callq	_echo_erase_tab
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	cmpb	%r14b, -41(%rbp)                ## 1-byte Folded Reload
	je	LBB0_48
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	movl	(%r13), %ebx
	cmpl	4(%r13), %ebx
	je	LBB0_48
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rax
	decq	%rax
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	decq	%rbx
	andq	%rax, %rbx
	movq	16(%r13), %rax
	movzbl	(%rax,%rbx), %r12d
	movzbl	%r12b, %r15d
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_is_continuation
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpl	4(%r13), %ebx
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_is_continuation
	testq	%rax, %rax
	jne	LBB0_48
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edi
	callq	_isalnum
	cmpb	$95, %r15b
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%rax, %rax
	jne	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	je	LBB0_20
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %eax
	subl	%ebx, %eax
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	decl	%r14d
	andl	%eax, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irqsave
	movl	%ebx, (%r13)
	subl	%r14d, 8(%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_47
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_L_ECHOPRT
	testq	%rax, %rax
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 24(%r13)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$92, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$1, 24(%r13)
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_echo_char
	cmpl	$2, %r14d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %r15
	jl	LBB0_47
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%r14d
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rax
	incq	%rax
	movslq	(%r15), %rbx
	decq	%rbx
	andq	%rax, %rbx
	movq	16(%r13), %rax
	movsbl	(%rax,%rbx), %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movq	%r13, %rdi
	callq	_echo_move_back_col
	decl	%r14d
	cmpl	$2, %r14d
	ja	LBB0_26
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	-41(%rbp), %al                  ## 1-byte Reload
	cmpb	-56(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_L_ECHOE
	testl	%eax, %eax
	je	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$9, %r12b
	jne	LBB0_41
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	(%r13), %rbx
	xorl	%r14d, %r14d
	movl	$0, %esi
	cmpl	4(%r13), %ebx
	je	LBB0_40
## %bb.32:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=2
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_is_continuation
	cmpq	$1, %rax
	adcl	$0, %r14d
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=2
	movslq	4(%r13), %rax
	cmpq	%rax, %rbx
	je	LBB0_39
LBB0_33:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rax
	decq	%rax
	movslq	(%r12), %rbx
	decq	%rbx
	andq	%rax, %rbx
	movq	16(%r13), %rax
	movzbl	(%rax,%rbx), %eax
	cmpb	$9, %al
	je	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=2
	movzbl	%al, %r15d
	movl	%r15d, %edi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	%r13, %rdi
	callq	_L_ECHOCTL
	leal	2(%r14), %ecx
	testq	%rax, %rax
	cmovel	%r14d, %ecx
	movl	%ecx, %r14d
	jmp	LBB0_38
LBB0_41:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_44
## %bb.42:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_L_ECHOCTL
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$8, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$32, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$8, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r15d, %edi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_L_ECHOCTL
	testq	%rax, %rax
	je	LBB0_47
LBB0_46:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$8, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$32, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	movl	$8, %edi
	movq	%r13, %rsi
	callq	_echo_char_raw
	jmp	LBB0_47
LBB0_39:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_40
LBB0_17:
	leaq	28(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %eax
	movl	4(%r13), %ecx
	subl	%ecx, %eax
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	andl	%eax, %edx
	subl	%edx, 8(%r13)
	movl	%ecx, (%r13)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	callq	_finish_erasing
	movq	%r13, %rdi
	callq	_KILL_CHAR
	movzbl	%al, %edi
	movq	%r13, %rsi
	callq	_echo_char
	movq	%r13, %rdi
	callq	_L_ECHOK
	testq	%rax, %rax
	je	LBB0_50
## %bb.18:
	movl	$10, %edi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_echo_char_raw                  ## TAILCALL
LBB0_51:
	leaq	28(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %eax
	movl	4(%r13), %ecx
	subl	%ecx, %eax
	movq	_N_TTY_BUF_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	andl	%eax, %edx
	subl	%edx, 8(%r13)
	movl	%ecx, (%r13)
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_29:
	movq	%r13, %rdi
	callq	_ERASE_CHAR
	movzbl	%al, %edi
	movq	%r13, %rsi
	callq	_echo_char
LBB0_48:
	movl	(%r13), %eax
	cmpl	4(%r13), %eax
	jne	LBB0_50
## %bb.49:
	movq	%r13, %rdi
	callq	_L_ECHO
	testq	%rax, %rax
	je	LBB0_50
## %bb.52:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_erasing                 ## TAILCALL
LBB0_50:
	addq	$24, %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
	.no_dead_strip	_eraser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eraser
_eraser:                                ; @eraser
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	w8, w9, [x1]
	cmp	w8, w9
	b.eq	LBB0_53
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ERASE_CHAR
	mov	x21, x0
	cmp	w0, w20
	b.ne	LBB0_3
LBB0_2:
	mov	w25, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_WERASE_CHAR
	cmp	w0, w20
	b.ne	LBB0_42
; %bb.4:
	mov	w25, #1
LBB0_5:
	mov	w26, #0
	add	x22, x19, #28
Lloh0:
	adrp	x27, _N_TTY_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _N_TTY_BUF_SIZE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #8
	mov	x1, x19
	bl	_echo_char_raw
	mov	w0, #32
	mov	x1, x19
	bl	_echo_char_raw
	mov	w0, #8
	mov	x1, x19
	bl	_echo_char_raw
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	w21, w20
	b.eq	LBB0_50
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
	ldp	w24, w8, [x19]
	cmp	w24, w8
	b.eq	LBB0_50
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x8, w24
	sub	x8, x8, #1
	ldrsw	x9, [x27]
	sub	x9, x9, #1
	and	x24, x9, x8
	ldr	x8, [x19, #16]
	ldrb	w23, [x8, x24]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	mov	x0, x23
	mov	x1, x19
	bl	_is_continuation
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [x19, #4]
	cmp	w24, w8
	b.ne	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_is_continuation
	cbnz	x0, LBB0_50
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	w25, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_isalnum
	cmp	w23, #95
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w26, w26, #1
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w26, LBB0_50
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x27]
	sub	w9, w9, #1
	sub	w8, w8, w24
	and	w28, w9, w8
	mov	x0, x22
	bl	_spin_lock_irqsave
	str	w24, [x19]
	ldr	w8, [x19, #8]
	sub	w8, w8, w28
	str	w8, [x19, #8]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_L_ECHOPRT
	cbz	x0, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #92
	mov	x1, x19
	bl	_echo_char_raw
	mov	w8, #1
	str	w8, [x19, #24]
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_echo_char
	cmp	w28, #2
	b.lt	LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w28, #1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_22:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x8, w24
	add	x8, x8, #1
	ldrsw	x9, [x27]
	sub	x9, x9, #1
	and	x24, x9, x8
	ldr	x8, [x19, #16]
	ldrsb	w0, [x8, x24]
	mov	x1, x19
	bl	_echo_char_raw
	mov	x0, x19
	bl	_echo_move_back_col
	sub	w23, w23, #1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	cmp	w23, #2
	b.hi	LBB0_22
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w21, w20
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_L_ECHOE
	cbz	w0, LBB0_49
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w23, #9
	b.ne	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	w28, w8, [x19]
                                        ; kill: def $w28 killed $w28 def $x28
	sxtw	x28, w28
	cmp	w28, w8
	b.ne	LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w23, #0
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w1, #0
	b	LBB0_41
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_iscntrl
	cbz	x0, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_L_ECHOCTL
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #8
	mov	x1, x19
	bl	_echo_char_raw
	mov	w0, #32
	mov	x1, x19
	bl	_echo_char_raw
	mov	w0, #8
	mov	x1, x19
	bl	_echo_char_raw
LBB0_32:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_iscntrl
	cbz	x0, LBB0_6
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_L_ECHOCTL
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w23, #0
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_37 Depth=2
	mov	x0, x24
	mov	x1, x19
	bl	_is_continuation
	cmp	x0, #0
	cinc	w23, w23, eq
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	ldrsw	x8, [x19, #4]
	cmp	x28, x8
	b.eq	LBB0_28
LBB0_37:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x8, x28, #1
	ldrsw	x9, [x27]
	sub	x9, x9, #1
	and	x28, x8, x9
	ldr	x8, [x19, #16]
	ldrb	w24, [x8, x28]
	cmp	w24, #9
	b.eq	LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x0, x24
	bl	_iscntrl
	cbz	x0, LBB0_35
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x0, x19
	bl	_L_ECHOCTL
	add	w8, w23, #2
	cmp	x0, #0
	csel	w23, w23, w8, eq
	b	LBB0_36
LBB0_40:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w1, #1
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x2, x19
	bl	_echo_erase_tab
	b	LBB0_7
LBB0_42:
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_48
; %bb.43:
	mov	x0, x19
	bl	_L_ECHOK
	cbz	x0, LBB0_46
; %bb.44:
	mov	x0, x19
	bl	_L_ECHOKE
	cbz	w0, LBB0_46
; %bb.45:
	mov	x0, x19
	bl	_L_ECHOE
	cbnz	w0, LBB0_2
LBB0_46:
	add	x20, x19, #28
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	w8, w9, [x19]
Lloh2:
	adrp	x10, _N_TTY_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	sub	w10, w10, #1
	sub	w8, w8, w9
	and	w8, w10, w8
	ldr	w10, [x19, #8]
	sub	w8, w10, w8
	str	w8, [x19, #8]
	str	w9, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_finish_erasing
	mov	x0, x19
	bl	_KILL_CHAR
	mov	x1, x19
	bl	_echo_char
	mov	x0, x19
	bl	_L_ECHOK
	cbz	x0, LBB0_53
; %bb.47:
	mov	w0, #10
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_echo_char_raw
LBB0_48:
	add	x20, x19, #28
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	w8, w9, [x19]
Lloh5:
	adrp	x10, _N_TTY_BUF_SIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _N_TTY_BUF_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	sub	w10, w10, #1
	sub	w8, w8, w9
	and	w8, w10, w8
	ldr	w10, [x19, #8]
	sub	w8, w10, w8
	str	w8, [x19, #8]
	str	w9, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_49:
	mov	x0, x19
	bl	_ERASE_CHAR
	mov	x1, x19
	bl	_echo_char
LBB0_50:
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_53
; %bb.51:
	mov	x0, x19
	bl	_L_ECHO
	cbz	x0, LBB0_53
; %bb.52:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_finish_erasing
LBB0_53:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TTY_BUF_SIZE,4,2             ; @N_TTY_BUF_SIZE
	.no_dead_strip	_eraser
.subsections_via_symbols
