	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_eol                      ## -- Begin function clear_eol
	.p2align	4, 0x90
_clear_eol:                             ## @clear_eol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %eax
	testl	%edi, %edi
	jle	LBB0_7
## %bb.1:
	movq	_smart_terminal@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_7
## %bb.2:
	movq	_overstrike@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_7
## %bb.3:
	movl	%edi, %ebx
	movq	_clear_line@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.8:
	callq	_putcap
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	incl	%ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$32, %edi
	callq	_putchar
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_5
## %bb.6:
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smart_terminal,8,3             ## @smart_terminal
	.comm	_overstrike,4,2                 ## @overstrike
	.comm	_clear_line,8,3                 ## @clear_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clear_eol                      ; -- Begin function clear_eol
	.p2align	2
_clear_eol:                             ; @clear_eol
	.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
	mov	x8, x0
	mov	w0, #-1
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, _smart_terminal@GOTPAGE
Lloh1:
	ldr	x9, [x9, _smart_terminal@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _overstrike@GOTPAGE
Lloh4:
	ldr	x10, [x10, _overstrike@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, #0
	ccmp	w10, #0, #0, ne
	b.ne	LBB0_7
; %bb.2:
Lloh6:
	adrp	x9, _clear_line@GOTPAGE
Lloh7:
	ldr	x9, [x9, _clear_line@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x9]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_putcap
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	add	w19, w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #32
	bl	_putchar
	sub	w19, w19, #1
	cmp	w19, #1
	b.hi	LBB0_5
; %bb.6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_smart_terminal,8,3             ; @smart_terminal
	.comm	_overstrike,4,2                 ; @overstrike
	.comm	_clear_line,8,3                 ; @clear_line
.subsections_via_symbols
