	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClearLines                     ## -- Begin function ClearLines
	.p2align	4, 0x90
_ClearLines:                            ## @ClearLines
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_T_CanCEOL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_OldvcV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_5
## %bb.1:
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.2:
	movq	_TermH@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_MoveToLine
	xorl	%edi, %edi
	callq	_MoveToChar
	movl	(%r14), %edi
	callq	_ClearEOL
	addl	$-1, %ebx
	jb	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	%ebx, %edi
	callq	_MoveToLine
	movl	$13, %edi
	callq	_putraw
	movl	$10, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_putraw                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_T_CanCEOL,8,3                  ## @T_CanCEOL
	.comm	_OldvcV,4,2                     ## @OldvcV
	.comm	_TermH,4,2                      ## @TermH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClearLines                     ; -- Begin function ClearLines
	.p2align	2
_ClearLines:                            ; @ClearLines
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _T_CanCEOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T_CanCEOL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _OldvcV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OldvcV@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x9]
	cbz	x8, LBB0_5
; %bb.1:
	tbnz	w19, #31, LBB0_4
; %bb.2:
Lloh6:
	adrp	x20, _TermH@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TermH@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_MoveToLine
	mov	w0, #0
	bl	_MoveToChar
	ldr	w0, [x20]
	bl	_ClearEOL
	sub	w19, w19, #1
	cmn	w19, #1
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_MoveToLine
	mov	w0, #13
	bl	_putraw
	mov	w0, #10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_putraw
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_T_CanCEOL,8,3                  ; @T_CanCEOL
	.comm	_OldvcV,4,2                     ; @OldvcV
	.comm	_TermH,4,2                      ; @TermH
.subsections_via_symbols
