	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_tcmd                         ## -- Begin function v_tcmd
	.p2align	4, 0x90
_v_tcmd:                                ## @v_tcmd
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	movl	%eax, 8(%rsi)
	movq	(%rdi), %rax
	movq	%rax, (%rsi)
	callq	_txt_map_init
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	_TMAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movq	_SC_TINPUT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	movq	_TXT_APPENDEOL@GOTPCREL(%rip), %rax
	movq	_TXT_CR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_TXT_ESCAPE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TXT_INFOLINE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TXT_MAPINPUT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_LF_SET
	movq	_O_ALTWERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_TXT_ALTWERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_SET
LBB0_3:
	movq	_O_TTYWERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_TXT_TTYWERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_SET
LBB0_5:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%r13d, %r9d
	pushq	%r12
	pushq	$1
	pushq	$0
	callq	_v_txt
	addq	$32, %rsp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movq	_SC_TINPUT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_CLR
	movq	%rbx, %rdi
	callq	_txt_map_end
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_IS_ONELINE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_SC_SCR_REDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
LBB0_9:
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMAP,8,3                       ## @TMAP
	.comm	_SC_TINPUT_INFO,4,2             ## @SC_TINPUT_INFO
	.comm	_TXT_APPENDEOL,4,2              ## @TXT_APPENDEOL
	.comm	_TXT_CR,4,2                     ## @TXT_CR
	.comm	_TXT_ESCAPE,4,2                 ## @TXT_ESCAPE
	.comm	_TXT_INFOLINE,4,2               ## @TXT_INFOLINE
	.comm	_TXT_MAPINPUT,4,2               ## @TXT_MAPINPUT
	.comm	_O_ALTWERASE,4,2                ## @O_ALTWERASE
	.comm	_TXT_ALTWERASE,4,2              ## @TXT_ALTWERASE
	.comm	_O_TTYWERASE,4,2                ## @O_TTYWERASE
	.comm	_TXT_TTYWERASE,4,2              ## @TXT_TTYWERASE
	.comm	_SC_SCR_REDRAW,4,2              ## @SC_SCR_REDRAW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_tcmd                         ; -- Begin function v_tcmd
	.p2align	2
_v_tcmd:                                ; @v_tcmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
	str	w8, [x1, #8]
	ldr	x8, [x0]
	str	x8, [x1]
	bl	_txt_map_init
	cbz	x0, LBB0_2
LBB0_1:
	mov	w22, #1
	b	LBB0_7
LBB0_2:
Lloh0:
	adrp	x8, _TMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMAP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
Lloh3:
	adrp	x23, _SC_TINPUT_INFO@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SC_TINPUT_INFO@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_F_SET
Lloh5:
	adrp	x8, _TXT_APPENDEOL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TXT_APPENDEOL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _TXT_CR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TXT_CR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _TXT_ESCAPE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TXT_ESCAPE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _TXT_INFOLINE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TXT_INFOLINE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _TXT_MAPINPUT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TXT_MAPINPUT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_LF_SET
Lloh20:
	adrp	x8, _O_ALTWERASE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _O_ALTWERASE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	x0, LBB0_4
; %bb.3:
Lloh23:
	adrp	x8, _TXT_ALTWERASE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TXT_ALTWERASE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_LF_SET
LBB0_4:
Lloh26:
	adrp	x8, _O_TTYWERASE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _O_TTYWERASE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_ISSET
	cbz	x0, LBB0_6
; %bb.5:
Lloh29:
	adrp	x8, _TXT_TTYWERASE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TXT_TTYWERASE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_LF_SET
LBB0_6:
	str	w22, [sp]
	mov	w22, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x5, x21
	mov	w6, #0
	mov	w7, #1
	bl	_v_txt
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_F_CLR
	mov	x0, x19
	bl	_txt_map_end
	cbnz	x0, LBB0_1
; %bb.9:
	mov	x0, x19
	bl	_IS_ONELINE
	cbz	x0, LBB0_11
; %bb.10:
Lloh32:
	adrp	x8, _SC_SCR_REDRAW@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SC_SCR_REDRAW@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
LBB0_11:
	mov	w22, #0
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
	ldr	x8, [x20]
	str	x8, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_TMAP,8,3                       ; @TMAP
	.comm	_SC_TINPUT_INFO,4,2             ; @SC_TINPUT_INFO
	.comm	_TXT_APPENDEOL,4,2              ; @TXT_APPENDEOL
	.comm	_TXT_CR,4,2                     ; @TXT_CR
	.comm	_TXT_ESCAPE,4,2                 ; @TXT_ESCAPE
	.comm	_TXT_INFOLINE,4,2               ; @TXT_INFOLINE
	.comm	_TXT_MAPINPUT,4,2               ; @TXT_MAPINPUT
	.comm	_O_ALTWERASE,4,2                ; @O_ALTWERASE
	.comm	_TXT_ALTWERASE,4,2              ; @TXT_ALTWERASE
	.comm	_O_TTYWERASE,4,2                ; @O_TTYWERASE
	.comm	_TXT_TTYWERASE,4,2              ; @TXT_TTYWERASE
	.comm	_SC_SCR_REDRAW,4,2              ; @SC_SCR_REDRAW
.subsections_via_symbols
