	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Rawmode                        ## -- Begin function Rawmode
	.p2align	4, 0x90
_Rawmode:                               ## @Rawmode
	.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	_Tty_raw_mode@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	cmpl	$0, (%r13)
	je	LBB0_1
LBB0_41:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_SHTTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tstty@GOTPCREL(%rip), %r15
	movq	%r15, %rsi
	callq	_tty_getty
	movl	$-1, %ebx
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.2:
	movq	%r15, %rdi
	callq	_tty_getspeed
	movq	_T_Speed@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%r15, %rdi
	callq	_tty_geteightbit
	movq	_Tty_eight_bit@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_extty@GOTPCREL(%rip), %r14
	movq	8(%r15), %rax
	cmpq	%rax, 8(%r14)
	je	LBB0_4
## %bb.3:
	movq	%rax, 8(%r14)
	movq	_edtty@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
LBB0_4:
	movq	16(%r15), %rax
	cmpq	%rax, 16(%r14)
	je	LBB0_6
## %bb.5:
	movq	%rax, 16(%r14)
	movq	_edtty@GOTPCREL(%rip), %rcx
	movq	%rax, 16(%rcx)
LBB0_6:
	movq	_tstty@GOTPCREL(%rip), %rdi
	callq	_tty_cooked_mode
	testq	%rax, %rax
	je	LBB0_39
## %bb.7:
	movq	_tstty@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_tty_gettabs
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	xorl	%eax, %eax
	callq	_CanWeTab
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_10:
	movq	_T_Tabs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ttylist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_EX_IO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r8,%rcx,8), %rcx
	movq	_M_CONTROL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	movl	(%rcx,%r9,8), %esi
	notl	%esi
	andl	40(%r15), %esi
	orl	4(%rcx,%r9,8), %esi
	movq	_XTABS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, %edi
	orl	%esi, %edi
	movl	%ebx, %edx
	notl	%edx
	andl	%esi, %edx
	testq	%rax, %rax
	cmovel	%edi, %edx
	movl	%edx, 40(%r14)
	movl	(%r15), %esi
	movq	_M_LOCAL@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r10
	movl	(%rcx,%r10,8), %edi
	notl	%edi
	andl	%esi, %edi
	orl	4(%rcx,%r10,8), %edi
	movl	%edi, (%r14)
	movq	_ED_IO@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%r8,%rcx,8), %rcx
	movl	(%rcx,%r9,8), %edi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	orl	%edi, %ebx
	notl	%ebx
	andl	%ebx, %edx
	orl	4(%rcx,%r9,8), %edx
	jmp	LBB0_13
LBB0_12:
	notl	%edi
	andl	%edi, %edx
	orl	4(%rcx,%r9,8), %edx
	orl	%ebx, %edx
LBB0_13:
	movq	_edtty@GOTPCREL(%rip), %rax
	movl	%edx, 40(%rax)
	movl	(%rcx,%r10,8), %edx
	notl	%edx
	andl	%edx, %esi
	orl	4(%rcx,%r10,8), %esi
	movl	%esi, (%rax)
	movq	_ttychars@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_TS_IO@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_tstty@GOTPCREL(%rip), %rdi
	callq	_tty_getchar
	movq	_C_NCC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_27
## %bb.14:
	movq	(%r12), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	_EX_IO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rcx,%rsi,8), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rcx,8), %rdi
	cmpq	(%rsi,%rcx,8), %rdi
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_15
## %bb.17:
	movl	%eax, %ecx
LBB0_18:
	movq	_didsetty@GOTPCREL(%rip), %rdx
	cmpl	%eax, %ecx
	jne	LBB0_20
## %bb.19:
	cmpq	$0, (%rdx)
	je	LBB0_39
LBB0_20:
	movq	$0, (%rdx)
	xorl	%ebx, %ebx
	movq	_M_CHAR@GOTPCREL(%rip), %r14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movq	_C_NCC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_30
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	_ttylist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%r14), %rcx
	movl	4(%rax,%rcx,8), %r13d
	movl	%ebx, %edi
	callq	_C_SH
	testl	%r13d, %eax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r12), %rax
	movq	_TS_IO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	_EX_IO@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rdx
	cmpq	(%rdx,%rbx,8), %rcx
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r15), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	%rcx, (%rax,%rbx,8)
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_ttylist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,8), %r13d
	movl	%ebx, %edi
	callq	_C_SH
	testl	%r13d, %eax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_vdisable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	jmp	LBB0_26
LBB0_27:
	movq	_didsetty@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	cmpq	$0, (%rcx)
	je	LBB0_39
LBB0_29:
	movq	$0, (%rcx)
LBB0_30:
	movq	(%r12), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_edtty@GOTPCREL(%rip), %rdi
	callq	_tty_setchar
	movq	_C_NCC@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_EX_IO@GOTPCREL(%rip), %rsi
	jle	LBB0_38
## %bb.31:
	xorl	%ebx, %ebx
	movq	_M_CHAR@GOTPCREL(%rip), %r14
	movq	_vdisable@GOTPCREL(%rip), %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_32 Depth=1
	incq	%rbx
	movq	_C_NCC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_38
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	_ttylist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%r14), %rcx
	movl	4(%rax,%rcx,8), %r13d
	movl	%ebx, %edi
	callq	_C_SH
	movq	_EX_IO@GOTPCREL(%rip), %rsi
	testl	%r13d, %eax
	jne	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r12), %rcx
	movq	_TS_IO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rsi), %rdx
	movq	(%rcx,%rdx,8), %rcx
	cmpq	(%rcx,%rbx,8), %rax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, (%rcx,%rbx,8)
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	_ttylist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,8), %r13d
	movl	%ebx, %edi
	callq	_C_SH
	movq	_EX_IO@GOTPCREL(%rip), %rsi
	testl	%r13d, %eax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rsi), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, (%rcx,%rbx,8)
	jmp	LBB0_37
LBB0_38:
	movq	(%r12), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_extty@GOTPCREL(%rip), %rdi
	callq	_tty_setchar
	movq	_Tty_raw_mode@GOTPCREL(%rip), %r13
LBB0_39:
	movq	_SHTTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_edtty@GOTPCREL(%rip), %rsi
	callq	_tty_setty
	cmpl	$-1, %eax
	movl	$-1, %ebx
	je	LBB0_41
## %bb.40:
	movl	$1, (%r13)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_flush
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_Tty_raw_mode,4,2               ## @Tty_raw_mode
	.comm	_SHTTY,4,2                      ## @SHTTY
	.comm	_tstty,48,3                     ## @tstty
	.comm	_T_Speed,8,3                    ## @T_Speed
	.comm	_Tty_eight_bit,4,2              ## @Tty_eight_bit
	.comm	_extty,48,3                     ## @extty
	.comm	_edtty,48,3                     ## @edtty
	.comm	_T_Tabs,8,3                     ## @T_Tabs
	.comm	_ttylist,8,3                    ## @ttylist
	.comm	_EX_IO,8,3                      ## @EX_IO
	.comm	_M_CONTROL,8,3                  ## @M_CONTROL
	.comm	_XTABS,4,2                      ## @XTABS
	.comm	_M_LOCAL,8,3                    ## @M_LOCAL
	.comm	_ED_IO,8,3                      ## @ED_IO
	.comm	_ttychars,8,3                   ## @ttychars
	.comm	_TS_IO,8,3                      ## @TS_IO
	.comm	_C_NCC,4,2                      ## @C_NCC
	.comm	_didsetty,8,3                   ## @didsetty
	.comm	_M_CHAR,8,3                     ## @M_CHAR
	.comm	_vdisable,8,3                   ## @vdisable
	.comm	_M_INPUT,8,3                    ## @M_INPUT
	.comm	_M_LINED,8,3                    ## @M_LINED
	.comm	_M_OUTPUT,8,3                   ## @M_OUTPUT
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Rawmode                        ; -- Begin function Rawmode
	.p2align	2
_Rawmode:                               ; @Rawmode
	.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
Lloh0:
	adrp	x20, _Tty_raw_mode@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Tty_raw_mode@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
Lloh2:
	adrp	x21, _SHTTY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SHTTY@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x19, _tstty@GOTPAGE
Lloh5:
	ldr	x19, [x19, _tstty@GOTPAGEOFF]
	mov	x1, x19
	bl	_tty_getty
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.4:
	mov	x0, x19
	bl	_tty_getspeed
Lloh6:
	adrp	x8, _T_Speed@GOTPAGE
Lloh7:
	ldr	x8, [x8, _T_Speed@GOTPAGEOFF]
Lloh8:
	str	x0, [x8]
	mov	x0, x19
	bl	_tty_geteightbit
Lloh9:
	adrp	x8, _Tty_eight_bit@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Tty_eight_bit@GOTPAGEOFF]
Lloh11:
	adrp	x25, _extty@GOTPAGE
Lloh12:
	ldr	x25, [x25, _extty@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	ldr	x9, [x25, #8]
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x24, _edtty@GOTPAGE
Lloh15:
	ldr	x24, [x24, _edtty@GOTPAGEOFF]
	cmp	x9, x8
	b.eq	LBB0_6
; %bb.5:
	str	x8, [x25, #8]
	str	x8, [x24, #8]
LBB0_6:
	ldr	x9, [x25, #16]
	ldr	x8, [x19, #16]
	cmp	x9, x8
	b.eq	LBB0_8
; %bb.7:
	str	x8, [x25, #16]
	str	x8, [x24, #16]
LBB0_8:
Lloh16:
	adrp	x0, _tstty@GOTPAGE
Lloh17:
	ldr	x0, [x0, _tstty@GOTPAGEOFF]
	bl	_tty_cooked_mode
	cbz	x0, LBB0_40
; %bb.9:
Lloh18:
	adrp	x19, _tstty@GOTPAGE
Lloh19:
	ldr	x19, [x19, _tstty@GOTPAGEOFF]
	mov	x0, x19
	bl	_tty_gettabs
	cbz	x0, LBB0_11
; %bb.10:
	bl	_CanWeTab
LBB0_11:
Lloh20:
	adrp	x8, _T_Tabs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _T_Tabs@GOTPAGEOFF]
Lloh22:
	str	x0, [x8]
	ldr	w8, [x19, #40]
Lloh23:
	adrp	x23, _ttylist@GOTPAGE
Lloh24:
	ldr	x23, [x23, _ttylist@GOTPAGEOFF]
	ldr	x12, [x23]
Lloh25:
	adrp	x22, _EX_IO@GOTPAGE
Lloh26:
	ldr	x22, [x22, _EX_IO@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x14, [x12, x9, lsl #3]
Lloh27:
	adrp	x9, _M_CONTROL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _M_CONTROL@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	lsl	x15, x9, #3
	add	x10, x14, x15
	ldp	w11, w10, [x10]
	bic	w8, w8, w11
Lloh30:
	adrp	x11, _XTABS@GOTPAGE
Lloh31:
	ldr	x11, [x11, _XTABS@GOTPAGEOFF]
	orr	w8, w10, w8
Lloh32:
	ldr	w11, [x11]
	orr	w10, w11, w8
	bic	w8, w8, w11
	cmp	x0, #0
	csel	w13, w10, w8, eq
	str	w13, [x25, #40]
	ldr	w8, [x19]
Lloh33:
	adrp	x10, _M_LOCAL@GOTPAGE
Lloh34:
	ldr	x10, [x10, _M_LOCAL@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	add	x14, x14, x10, lsl #3
	ldp	w16, w14, [x14]
	bic	w16, w8, w16
	orr	w14, w14, w16
Lloh36:
	adrp	x27, _ED_IO@GOTPAGE
Lloh37:
	ldr	x27, [x27, _ED_IO@GOTPAGEOFF]
	str	w14, [x25]
	ldr	x14, [x27]
	ldr	x12, [x12, x14, lsl #3]
	ldr	w14, [x12, x15]
	cbz	x0, LBB0_13
; %bb.12:
	orr	w11, w11, w14
	bic	w11, w13, w11
	add	x9, x12, x9, lsl #3
	ldr	w9, [x9, #4]
	orr	w9, w11, w9
	b	LBB0_14
LBB0_13:
	bic	w13, w13, w14
	add	x9, x12, x9, lsl #3
	ldr	w9, [x9, #4]
	orr	w9, w9, w13
	orr	w9, w9, w11
LBB0_14:
	str	w9, [x24, #40]
	add	x9, x12, x10, lsl #3
	ldp	w10, w9, [x9]
	bic	w8, w8, w10
	orr	w8, w9, w8
	str	w8, [x24]
Lloh38:
	adrp	x24, _ttychars@GOTPAGE
Lloh39:
	ldr	x24, [x24, _ttychars@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh40:
	adrp	x25, _TS_IO@GOTPAGE
Lloh41:
	ldr	x25, [x25, _TS_IO@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x1, [x8, x9, lsl #3]
Lloh42:
	adrp	x0, _tstty@GOTPAGE
Lloh43:
	ldr	x0, [x0, _tstty@GOTPAGEOFF]
	bl	_tty_getchar
Lloh44:
	adrp	x26, _C_NCC@GOTPAGE
Lloh45:
	ldr	x26, [x26, _C_NCC@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.15:
	mov	x9, #0
	ldr	x11, [x24]
	ldr	x10, [x25]
	ldr	x10, [x11, x10, lsl #3]
	ldr	x12, [x22]
	ldr	x11, [x11, x12, lsl #3]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #3
	ldr	x13, [x10, x12]
	ldr	x12, [x11, x12]
	cmp	x13, x12
	b.ne	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.18:
	mov	x9, x8
LBB0_19:
Lloh46:
	adrp	x10, _didsetty@GOTPAGE
Lloh47:
	ldr	x10, [x10, _didsetty@GOTPAGEOFF]
	cmp	w9, w8
	b.ne	LBB0_21
; %bb.20:
	ldr	x8, [x10]
	cbz	x8, LBB0_40
LBB0_21:
	mov	x19, #0
	str	xzr, [x10]
Lloh48:
	adrp	x28, _M_CHAR@GOTPAGE
Lloh49:
	ldr	x28, [x28, _M_CHAR@GOTPAGEOFF]
Lloh50:
	adrp	x21, _vdisable@GOTPAGE
Lloh51:
	ldr	x21, [x21, _vdisable@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x26]
	cmp	x19, x8
	b.ge	LBB0_31
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x28]
	add	x8, x8, x9, lsl #3
	ldr	w20, [x8, #4]
	mov	x0, x19
	bl	_C_SH
	tst	w0, w20
	b.ne	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	x9, [x8, x9, lsl #3]
	lsl	x10, x19, #3
	ldr	x9, [x9, x10]
	ldr	x11, [x22]
	ldr	x11, [x8, x11, lsl #3]
	ldr	x10, [x11, x10]
	cmp	x9, x10
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x10, [x27]
	ldr	x8, [x8, x10, lsl #3]
	str	x9, [x8, x19, lsl #3]
LBB0_26:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x28]
	lsl	x9, x9, #3
	ldr	w20, [x8, x9]
	mov	x0, x19
	bl	_C_SH
	tst	w0, w20
	b.eq	LBB0_22
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x10, [x27]
	ldr	x9, [x9, x10, lsl #3]
	str	x8, [x9, x19, lsl #3]
	b	LBB0_22
LBB0_28:
Lloh52:
	adrp	x9, _didsetty@GOTPAGE
Lloh53:
	ldr	x9, [x9, _didsetty@GOTPAGEOFF]
	cbnz	w8, LBB0_30
; %bb.29:
	ldr	x8, [x9]
	cbz	x8, LBB0_40
LBB0_30:
	str	xzr, [x9]
LBB0_31:
	ldr	x8, [x24]
	ldr	x9, [x27]
	ldr	x1, [x8, x9, lsl #3]
Lloh54:
	adrp	x0, _edtty@GOTPAGE
Lloh55:
	ldr	x0, [x0, _edtty@GOTPAGEOFF]
	bl	_tty_setchar
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_39
; %bb.32:
	mov	x19, #0
Lloh56:
	adrp	x21, _M_CHAR@GOTPAGE
Lloh57:
	ldr	x21, [x21, _M_CHAR@GOTPAGEOFF]
Lloh58:
	adrp	x27, _vdisable@GOTPAGE
Lloh59:
	ldr	x27, [x27, _vdisable@GOTPAGEOFF]
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x26]
	cmp	x19, x8
	b.ge	LBB0_39
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #3
	ldr	w20, [x8, #4]
	mov	x0, x19
	bl	_C_SH
	tst	w0, w20
	b.ne	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x9, [x24]
	ldr	x8, [x25]
	ldr	x8, [x9, x8, lsl #3]
	lsl	x10, x19, #3
	ldr	x8, [x8, x10]
	ldr	x11, [x22]
	ldr	x9, [x9, x11, lsl #3]
	ldr	x10, [x9, x10]
	cmp	x8, x10
	b.eq	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	str	x8, [x9, x19, lsl #3]
LBB0_37:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x21]
	lsl	x9, x9, #3
	ldr	w20, [x8, x9]
	mov	x0, x19
	bl	_C_SH
	tst	w0, w20
	b.eq	LBB0_33
; %bb.38:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x24]
	ldr	x10, [x22]
	ldr	x9, [x9, x10, lsl #3]
	str	x8, [x9, x19, lsl #3]
	b	LBB0_33
LBB0_39:
	ldr	x8, [x24]
	ldr	x9, [x22]
	ldr	x1, [x8, x9, lsl #3]
Lloh60:
	adrp	x0, _extty@GOTPAGE
Lloh61:
	ldr	x0, [x0, _extty@GOTPAGEOFF]
	bl	_tty_setchar
Lloh62:
	adrp	x20, _Tty_raw_mode@GOTPAGE
Lloh63:
	ldr	x20, [x20, _Tty_raw_mode@GOTPAGEOFF]
Lloh64:
	adrp	x21, _SHTTY@GOTPAGE
Lloh65:
	ldr	x21, [x21, _SHTTY@GOTPAGEOFF]
LBB0_40:
	ldr	w0, [x21]
Lloh66:
	adrp	x1, _edtty@GOTPAGE
Lloh67:
	ldr	x1, [x1, _edtty@GOTPAGEOFF]
	bl	_tty_setty
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.41:
	mov	w8, #1
	str	w8, [x20]
	bl	_flush
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_Tty_raw_mode,4,2               ; @Tty_raw_mode
	.comm	_SHTTY,4,2                      ; @SHTTY
	.comm	_tstty,48,3                     ; @tstty
	.comm	_T_Speed,8,3                    ; @T_Speed
	.comm	_Tty_eight_bit,4,2              ; @Tty_eight_bit
	.comm	_extty,48,3                     ; @extty
	.comm	_edtty,48,3                     ; @edtty
	.comm	_T_Tabs,8,3                     ; @T_Tabs
	.comm	_ttylist,8,3                    ; @ttylist
	.comm	_EX_IO,8,3                      ; @EX_IO
	.comm	_M_CONTROL,8,3                  ; @M_CONTROL
	.comm	_XTABS,4,2                      ; @XTABS
	.comm	_M_LOCAL,8,3                    ; @M_LOCAL
	.comm	_ED_IO,8,3                      ; @ED_IO
	.comm	_ttychars,8,3                   ; @ttychars
	.comm	_TS_IO,8,3                      ; @TS_IO
	.comm	_C_NCC,4,2                      ; @C_NCC
	.comm	_didsetty,8,3                   ; @didsetty
	.comm	_M_CHAR,8,3                     ; @M_CHAR
	.comm	_vdisable,8,3                   ; @vdisable
	.comm	_M_INPUT,8,3                    ; @M_INPUT
	.comm	_M_LINED,8,3                    ; @M_LINED
	.comm	_M_OUTPUT,8,3                   ; @M_OUTPUT
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
