	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_visual                      ## -- Begin function ex_visual
	.p2align	4, 0x90
_ex_visual:                             ## @ex_visual
	.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	%r12
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_O_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_O_ISSET
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	8(%r14), %eax
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%r12)
	movl	(%r14), %edi
	movl	$135, %esi
	callq	_FL_ISSET
	addl	$-129, %eax
	cmpl	$6, %eax
	jae	LBB0_3
## %bb.4:
	movl	$57, %ecx
	btl	%eax, %ecx
	jb	LBB0_5
LBB0_3:
	movl	(%r12), %eax
	movq	24(%r12), %rcx
	movl	%eax, (%rcx)
	movl	$0, 32(%rcx)
	movl	(%r12), %esi
	leaq	32(%r12), %rdx
	movq	%r12, %rdi
	callq	_nonblank
	movq	24(%r12), %rdi
	movq	_FR_CURSORSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
LBB0_13:
	movq	_SC_SCR_EXWROTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	_SC_EX_WAIT_NO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_SET
LBB0_15:
	movq	_SC_EX_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	incl	16(%r12)
	movq	8(%r12), %rax
	incl	(%rax)
	movq	%r12, -312(%rbp)
	leaq	-312(%rbp), %rdi
	callq	_vi
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.17:
	movq	%r12, %rdi
	callq	_ex_init
	testq	%rax, %rax
	jne	LBB0_21
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_ex_puts
	jmp	LBB0_20
LBB0_1:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_msgq
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_19:
	movq	_SC_EX@GOTPCREL(%rip), %rax
	movq	_SC_SCR_EX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_CLR
	movq	_SC_VI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_SET
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cltq
	leaq	l_switch.table.ex_visual(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
	movl	(%r14), %edi
	movq	_E_C_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	movl	(%r12), %ecx
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	4(%r14), %r9d
	leaq	L_.str.1(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_8:
	leaq	-304(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_CHAR2INT
	movq	_CH_NOMAP@GOTPCREL(%rip), %rax
	movq	_CH_QUOTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_v_event_push
	movl	(%r14), %edi
	movl	$131, %esi
	callq	_FL_ISSET
	cmpl	$130, %eax
	je	LBB0_11
## %bb.9:
	cmpl	$131, %eax
	jne	LBB0_13
## %bb.10:
	movq	_O_NUMBER@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_O_LIST@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_O_SET
	jmp	LBB0_13
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_O_OPEN,4,2                     ## @O_OPEN
	.comm	_M_ERR,4,2                      ## @M_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"175|The visual command requires that the open option be set"

	.comm	_FR_CURSORSET,4,2               ## @FR_CURSORSET
	.comm	_E_C_COUNT,4,2                  ## @E_C_COUNT
L_.str.1:                               ## @.str.1
	.asciz	"%luz%c%lu"

L_.str.2:                               ## @.str.2
	.asciz	"%luz%c"

	.comm	_CH_NOMAP,4,2                   ## @CH_NOMAP
	.comm	_CH_QUOTED,4,2                  ## @CH_QUOTED
	.comm	_O_NUMBER,4,2                   ## @O_NUMBER
	.comm	_O_LIST,4,2                     ## @O_LIST
	.comm	_SC_SCR_EXWROTE,4,2             ## @SC_SCR_EXWROTE
	.comm	_SC_EX_WAIT_NO,4,2              ## @SC_EX_WAIT_NO
	.comm	_SC_EX_GLOBAL,4,2               ## @SC_EX_GLOBAL
L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.comm	_SC_EX,4,2                      ## @SC_EX
	.comm	_SC_SCR_EX,4,2                  ## @SC_SCR_EX
	.comm	_SC_VI,4,2                      ## @SC_VI
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ex_visual
l_switch.table.ex_visual:
	.long	43                              ## 0x2b
	.long	94                              ## 0x5e
	.long	94                              ## 0x5e
	.long	46                              ## 0x2e
	.long	45                              ## 0x2d
	.long	94                              ## 0x5e

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_visual                      ; -- Begin function ex_visual
	.p2align	2
_ex_visual:                             ; @ex_visual
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _O_OPEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_O_ISSET
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	str	w8, [x19]
	ldr	w0, [x20]
	mov	w1, #135
	bl	_FL_ISSET
	sub	w8, w0, #129
	cmp	w8, #6
	b.hs	LBB0_3
; %bb.2:
	mov	w9, #57
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_16
LBB0_3:
	ldr	w8, [x19]
	ldr	x9, [x19, #24]
	str	w8, [x9]
	str	wzr, [x9, #32]
	ldr	w1, [x19]
	add	x2, x19, #32
	mov	x0, x19
	bl	_nonblank
	ldr	x0, [x19, #24]
Lloh6:
	adrp	x8, _FR_CURSORSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FR_CURSORSET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_F_SET
LBB0_4:
Lloh9:
	adrp	x8, _SC_SCR_EXWROTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SC_SCR_EXWROTE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbnz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _SC_EX_WAIT_NO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SC_EX_WAIT_NO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
LBB0_6:
Lloh15:
	adrp	x8, _SC_EX_GLOBAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SC_EX_GLOBAL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	str	x19, [sp, #16]
	add	x0, sp, #16
	bl	_vi
	cbnz	x0, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_ex_init
	cbnz	x0, LBB0_11
; %bb.9:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ex_puts
	b	LBB0_13
LBB0_10:
Lloh20:
	adrp	x8, _M_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msgq
LBB0_11:
	mov	w0, #1
	b	LBB0_14
LBB0_12:
Lloh25:
	adrp	x8, _SC_EX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SC_EX@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _SC_SCR_EX@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SC_SCR_EX@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_F_CLR
Lloh31:
	adrp	x8, _SC_VI@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SC_VI@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldur	x8, [x29, #-40]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.15:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_16:
Lloh37:
	adrp	x9, l_switch.table.ex_visual@PAGE
Lloh38:
	add	x9, x9, l_switch.table.ex_visual@PAGEOFF
	ldr	w21, [x9, w8, sxtw #2]
	ldr	w0, [x20]
Lloh39:
	adrp	x8, _E_C_COUNT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _E_C_COUNT@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_FL_ISSET
	ldr	w3, [x19]
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w8, [x20, #4]
Lloh42:
	adrp	x2, l_.str.1@PAGE
Lloh43:
	add	x2, x2, l_.str.1@PAGEOFF
	str	x8, [sp]
	b	LBB0_19
LBB0_18:
Lloh44:
	adrp	x2, l_.str.2@PAGE
Lloh45:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_19:
	add	x0, sp, #24
	mov	w1, #256
	mov	x4, x21
	bl	_snprintf
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_CHAR2INT
Lloh46:
	adrp	x8, _CH_NOMAP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CH_NOMAP@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _CH_QUOTED@GOTPAGE
Lloh50:
	ldr	x9, [x9, _CH_QUOTED@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x1, #0
	bl	_v_event_push
	ldr	w0, [x20]
	mov	w1, #131
	bl	_FL_ISSET
	cmp	w0, #130
	b.eq	LBB0_22
; %bb.20:
	cmp	w0, #131
	b.ne	LBB0_4
; %bb.21:
Lloh52:
	adrp	x8, _O_NUMBER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _O_NUMBER@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh54:
	adrp	x8, _O_LIST@GOTPAGE
Lloh55:
	ldr	x8, [x8, _O_LIST@GOTPAGEOFF]
LBB0_23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_SET
	b	LBB0_4
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_O_OPEN,4,2                     ; @O_OPEN
	.comm	_M_ERR,4,2                      ; @M_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"175|The visual command requires that the open option be set"

	.comm	_FR_CURSORSET,4,2               ; @FR_CURSORSET
	.comm	_E_C_COUNT,4,2                  ; @E_C_COUNT
l_.str.1:                               ; @.str.1
	.asciz	"%luz%c%lu"

l_.str.2:                               ; @.str.2
	.asciz	"%luz%c"

	.comm	_CH_NOMAP,4,2                   ; @CH_NOMAP
	.comm	_CH_QUOTED,4,2                  ; @CH_QUOTED
	.comm	_O_NUMBER,4,2                   ; @O_NUMBER
	.comm	_O_LIST,4,2                     ; @O_LIST
	.comm	_SC_SCR_EXWROTE,4,2             ; @SC_SCR_EXWROTE
	.comm	_SC_EX_WAIT_NO,4,2              ; @SC_EX_WAIT_NO
	.comm	_SC_EX_GLOBAL,4,2               ; @SC_EX_GLOBAL
l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.comm	_SC_EX,4,2                      ; @SC_EX
	.comm	_SC_SCR_EX,4,2                  ; @SC_SCR_EX
	.comm	_SC_VI,4,2                      ; @SC_VI
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ex_visual
l_switch.table.ex_visual:
	.long	43                              ; 0x2b
	.long	94                              ; 0x5e
	.long	94                              ; 0x5e
	.long	46                              ; 0x2e
	.long	45                              ; 0x2d
	.long	94                              ; 0x5e

.subsections_via_symbols
