	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cl_vi_init
_cl_vi_init:                            ## @cl_vi_init
	.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
	movq	%rdi, %r12
	callq	_CLP
	movq	%rax, %rbx
	movq	_CL_SCR_VI_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_1
LBB0_23:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_TCSASOFT@GOTPCREL(%rip), %r13
	movq	_TCSADRAIN@GOTPCREL(%rip), %r15
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EINTR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	orl	(%r13), %esi
	movq	%rbx, %rdx
	callq	_tcsetattr
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	je	LBB0_24
## %bb.27:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_28:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_msgq
LBB0_29:
	movq	(%r12), %rdi
	callq	_cl_vi_end
	jmp	LBB0_30
LBB0_1:
	movq	_CL_STDIN_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_O_TERM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_opts_empty
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_31
## %bb.5:
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_O_STR
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rdi
	callq	_getenv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_cl_putenv
	leaq	L_.str.2(%rip), %r13
	movq	%r13, %rdi
	callq	_getenv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_O_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_O_VAL
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_cl_putenv
	leaq	L_.str.3(%rip), %r13
	movq	%r13, %rdi
	callq	_getenv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_O_COLUMNS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_O_VAL
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_cl_putenv
	movq	_cur_term@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_del_curterm
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_newterm
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_11
## %bb.12:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_13
LBB0_14:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_16
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
	callq	_unsetenv
LBB0_16:
	movq	(%r12), %rdi
	movq	%r12, %rsi
	callq	_sig_init
	xorl	%eax, %eax
	callq	_noecho
	xorl	%eax, %eax
	callq	_nonl
	xorl	%eax, %eax
	callq	_raw
	movq	_stdscr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_idlok
	movl	(%r14), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_keypad
	movq	_TI_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_tcgetattr
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_28
LBB0_25:
	xorl	%r15d, %r15d
	jmp	LBB0_31
LBB0_3:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_msgq
LBB0_30:
	movl	$1, %r15d
LBB0_31:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.7:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_8
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	callq	_unsetenv
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_14
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	callq	_unsetenv
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_16
	jmp	LBB0_15
LBB0_18:
	movl	24(%rbx), %eax
	movq	_IXON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_20
## %bb.19:
	orl	%ecx, (%rbx)
LBB0_20:
	movq	_IXOFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_22
## %bb.21:
	orl	%ecx, (%rbx)
LBB0_22:
	movq	_ISIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movq	__POSIX_VDISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rbx), %rdx
	movq	_VQUIT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	_VSUSP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%r12, %rdi
	callq	_cl_term_init
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_23
LBB0_9:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
LBB0_8:
	movq	%r12, %rdi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_msgq
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_CL_SCR_VI_INIT,4,2             ## @CL_SCR_VI_INIT
	.comm	_CL_STDIN_TTY,4,2               ## @CL_STDIN_TTY
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_M_ERR,4,2                      ## @M_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"016|Vi's standard input and output must be a terminal"

	.comm	_O_TERM,4,2                     ## @O_TERM
L_.str.1:                               ## @.str.1
	.asciz	"TERM"

L_.str.2:                               ## @.str.2
	.asciz	"LINES"

	.comm	_O_LINES,4,2                    ## @O_LINES
L_.str.3:                               ## @.str.3
	.asciz	"COLUMNS"

	.comm	_O_COLUMNS,4,2                  ## @O_COLUMNS
	.comm	_cur_term,4,2                   ## @cur_term
	.comm	_errno,8,3                      ## @errno
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stdin,4,2                      ## @stdin
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
L_.str.4:                               ## @.str.4
	.asciz	"%s"

L_.str.5:                               ## @.str.5
	.asciz	"%s: unknown terminal type"

	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_TI_SENT,4,2                    ## @TI_SENT
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
L_.str.6:                               ## @.str.6
	.asciz	"tcgetattr"

	.comm	_IXON,4,2                       ## @IXON
	.comm	_IXOFF,4,2                      ## @IXOFF
	.comm	_ISIG,4,2                       ## @ISIG
	.comm	__POSIX_VDISABLE,8,3            ## @_POSIX_VDISABLE
	.comm	_VQUIT,8,3                      ## @VQUIT
	.comm	_VSUSP,8,3                      ## @VSUSP
	.comm	_TCSASOFT,4,2                   ## @TCSASOFT
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.7:                               ## @.str.7
	.asciz	"tcsetattr"

	.comm	_VDISCARD,8,3                   ## @VDISCARD
	.comm	_VDSUSP,8,3                     ## @VDSUSP
	.comm	_VLNEXT,8,3                     ## @VLNEXT
	.comm	_VSTATUS,8,3                    ## @VSTATUS
	.no_dead_strip	_cl_vi_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cl_vi_init
_cl_vi_init:                            ; @cl_vi_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	bl	_CLP
	mov	x20, x0
Lloh0:
	adrp	x8, _CL_SCR_VI_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CL_SCR_VI_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_F_ISSET
	cbz	x0, LBB0_7
LBB0_1:
Lloh3:
	adrp	x21, _STDIN_FILENO@GOTPAGE
Lloh4:
	ldr	x21, [x21, _STDIN_FILENO@GOTPAGEOFF]
Lloh5:
	adrp	x22, _TCSASOFT@GOTPAGE
Lloh6:
	ldr	x22, [x22, _TCSASOFT@GOTPAGEOFF]
Lloh7:
	adrp	x23, _TCSADRAIN@GOTPAGE
Lloh8:
	ldr	x23, [x23, _TCSADRAIN@GOTPAGEOFF]
Lloh9:
	adrp	x24, _errno@GOTPAGE
Lloh10:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh11:
	adrp	x25, _EINTR@GOTPAGE
Lloh12:
	ldr	x25, [x25, _EINTR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x2, x20
	bl	_tcsetattr
	cbz	x0, LBB0_20
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.4:
Lloh13:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.7@PAGE
Lloh17:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_msgq
LBB0_6:
	ldr	x0, [x19]
	bl	_cl_vi_end
	b	LBB0_19
LBB0_7:
Lloh18:
	adrp	x8, _CL_STDIN_TTY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CL_STDIN_TTY@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	cbz	x0, LBB0_17
; %bb.8:
Lloh21:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_isatty
	cbz	w0, LBB0_17
; %bb.9:
Lloh24:
	adrp	x21, _O_TERM@GOTPAGE
Lloh25:
	ldr	x21, [x21, _O_TERM@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_opts_empty
	cbnz	x0, LBB0_19
; %bb.10:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_O_STR
	mov	x21, x0
Lloh26:
	adrp	x23, l_.str.1@PAGE
Lloh27:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_getenv
	mov	x22, x0
	mov	x0, x23
	mov	x1, x21
	mov	w2, #0
	bl	_cl_putenv
Lloh28:
	adrp	x24, l_.str.2@PAGE
Lloh29:
	add	x24, x24, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_getenv
	mov	x23, x0
Lloh30:
	adrp	x8, _O_LINES@GOTPAGE
Lloh31:
	ldr	x8, [x8, _O_LINES@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_VAL
	mov	x2, x0
	mov	x0, x24
	mov	x1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_cl_putenv
Lloh33:
	adrp	x25, l_.str.3@PAGE
Lloh34:
	add	x25, x25, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_getenv
	mov	x24, x0
Lloh35:
	adrp	x8, _O_COLUMNS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _O_COLUMNS@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_VAL
	mov	x2, x0
	mov	x0, x25
	mov	x1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_cl_putenv
Lloh38:
	adrp	x8, _cur_term@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cur_term@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_del_curterm
Lloh41:
	adrp	x25, _errno@GOTPAGE
Lloh42:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	str	xzr, [x25]
Lloh43:
	adrp	x8, _stdout@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, _stdin@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_newterm
	cbz	x0, LBB0_21
; %bb.11:
	cbz	x22, LBB0_23
; %bb.12:
	cbz	x23, LBB0_24
LBB0_13:
	cbnz	x24, LBB0_15
LBB0_14:
Lloh49:
	adrp	x0, l_.str.3@PAGE
Lloh50:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_unsetenv
LBB0_15:
	ldr	x0, [x19]
	mov	x1, x19
	bl	_sig_init
	bl	_noecho
	bl	_nonl
	bl	_raw
Lloh51:
	adrp	x21, _stdscr@GOTPAGE
Lloh52:
	ldr	x21, [x21, _stdscr@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #1
	bl	_idlok
	ldr	w0, [x21]
Lloh53:
	adrp	x8, _TRUE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	bl	_keypad
Lloh56:
	adrp	x8, _TI_SENT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TI_SENT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	str	w8, [x20, #28]
Lloh59:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh60:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	bl	_signal
Lloh65:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh66:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_tcgetattr
	cbz	x0, LBB0_25
; %bb.16:
Lloh68:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh69:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
Lloh71:
	adrp	x2, l_.str.6@PAGE
Lloh72:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_5
LBB0_17:
Lloh73:
	adrp	x8, _M_ERR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
Lloh76:
	adrp	x2, l_.str@PAGE
Lloh77:
	add	x2, x2, l_.str@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_msgq
LBB0_19:
	mov	w0, #1
LBB0_20:
	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
	add	sp, sp, #96
	ret
LBB0_21:
	ldr	x8, [x25]
	cbz	x8, LBB0_30
; %bb.22:
Lloh78:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh81:
	adrp	x2, l_.str.4@PAGE
Lloh82:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_23:
Lloh83:
	adrp	x0, l_.str.1@PAGE
Lloh84:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_unsetenv
	cbnz	x23, LBB0_13
LBB0_24:
Lloh85:
	adrp	x0, l_.str.2@PAGE
Lloh86:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_unsetenv
	cbnz	x24, LBB0_15
	b	LBB0_14
LBB0_25:
	ldr	w8, [x20, #24]
Lloh87:
	adrp	x9, _IXON@GOTPAGE
Lloh88:
	ldr	x9, [x9, _IXON@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_27:
Lloh90:
	adrp	x9, _IXOFF@GOTPAGE
Lloh91:
	ldr	x9, [x9, _IXOFF@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
	ldr	w8, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
LBB0_29:
Lloh93:
	adrp	x8, _ISIG@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ISIG@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
Lloh96:
	adrp	x8, __POSIX_VDISABLE@GOTPAGE
Lloh97:
	ldr	x8, [x8, __POSIX_VDISABLE@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x20, #8]
Lloh98:
	adrp	x11, _VQUIT@GOTPAGE
Lloh99:
	ldr	x11, [x11, _VQUIT@GOTPAGEOFF]
Lloh100:
	ldr	x11, [x11]
	str	x9, [x10, x11, lsl #3]
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
Lloh101:
	adrp	x10, _VSUSP@GOTPAGE
Lloh102:
	ldr	x10, [x10, _VSUSP@GOTPAGEOFF]
Lloh103:
	ldr	x10, [x10]
	str	x8, [x9, x10, lsl #3]
	mov	x0, x19
	bl	_cl_term_init
	cbnz	x0, LBB0_6
	b	LBB0_1
LBB0_30:
Lloh104:
	adrp	x8, _M_ERR@GOTPAGE
Lloh105:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh107:
	adrp	x2, l_.str.5@PAGE
Lloh108:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_CL_SCR_VI_INIT,4,2             ; @CL_SCR_VI_INIT
	.comm	_CL_STDIN_TTY,4,2               ; @CL_STDIN_TTY
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_M_ERR,4,2                      ; @M_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"016|Vi's standard input and output must be a terminal"

	.comm	_O_TERM,4,2                     ; @O_TERM
l_.str.1:                               ; @.str.1
	.asciz	"TERM"

l_.str.2:                               ; @.str.2
	.asciz	"LINES"

	.comm	_O_LINES,4,2                    ; @O_LINES
l_.str.3:                               ; @.str.3
	.asciz	"COLUMNS"

	.comm	_O_COLUMNS,4,2                  ; @O_COLUMNS
	.comm	_cur_term,4,2                   ; @cur_term
	.comm	_errno,8,3                      ; @errno
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stdin,4,2                      ; @stdin
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
l_.str.4:                               ; @.str.4
	.asciz	"%s"

l_.str.5:                               ; @.str.5
	.asciz	"%s: unknown terminal type"

	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_TI_SENT,4,2                    ; @TI_SENT
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
l_.str.6:                               ; @.str.6
	.asciz	"tcgetattr"

	.comm	_IXON,4,2                       ; @IXON
	.comm	_IXOFF,4,2                      ; @IXOFF
	.comm	_ISIG,4,2                       ; @ISIG
	.comm	__POSIX_VDISABLE,8,3            ; @_POSIX_VDISABLE
	.comm	_VQUIT,8,3                      ; @VQUIT
	.comm	_VSUSP,8,3                      ; @VSUSP
	.comm	_TCSASOFT,4,2                   ; @TCSASOFT
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.7:                               ; @.str.7
	.asciz	"tcsetattr"

	.comm	_VDISCARD,8,3                   ; @VDISCARD
	.comm	_VDSUSP,8,3                     ; @VDSUSP
	.comm	_VLNEXT,8,3                     ; @VLNEXT
	.comm	_VSTATUS,8,3                    ; @VSTATUS
	.no_dead_strip	_cl_vi_init
.subsections_via_symbols
