	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __console_clear_line
___console_clear_line:                  ## @__console_clear_line
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_curr_con@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	_FONT_YSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	testl	%r9d, %r9d
	je	LBB0_23
## %bb.2:
	movl	%edx, %r15d
	movq	_FONT_XSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	subl	%esi, %r15d
	imull	%ecx, %r15d
	imull	%r9d, %edi
	movl	(%rax), %edx
	movl	%edx, %r8d
	shrl	$31, %r8d
	addl	%edx, %r8d
	sarl	%r8d
	imull	%r8d, %edi
	imull	%esi, %ecx
	addl	%edi, %ecx
	shlq	$2, %rcx
	addq	8(%rax), %rcx
	leaq	8(%rax), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	negq	%rdi
	leal	-1(%r15), %esi
	leaq	1(%rsi), %r12
	leaq	4(%rax), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %r11
	andq	$-8, %r11
	leaq	-8(%r11), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	shrq	$3, %rbx
	incq	%rbx
	movl	%r15d, %edx
	subl	%r11d, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	andq	$-2, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rcx,%rdi,4), %rcx
	leaq	(%rcx,%r8,4), %rcx
	testl	%r9d, %r9d
	je	LBB0_23
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	decl	%r9d
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$7, %esi
	jb	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rcx,%r12,4), %rdx
	cmpq	%rdx, -80(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %edx
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	-1(%rdx), %r13d
	movl	%edx, %r14d
	andl	$7, %r14d
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rax), %ebx
	movl	%ebx, (%rcx)
	addq	$4, %rcx
	incl	%r10d
	cmpl	%r10d, %r14d
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	subl	%r10d, %edx
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$7, %r13d
	jb	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rax), %ebx
	movl	%ebx, (%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 4(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 8(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 12(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 16(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 20(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 24(%rcx)
	movl	4(%rax), %ebx
	movl	%ebx, 28(%rcx)
	addq	$32, %rcx
	addl	$-8, %edx
	jne	LBB0_21
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movd	4(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rcx,%rdx,4)
	movdqu	%xmm0, 16(%rcx,%rdx,4)
	movdqu	%xmm0, 32(%rcx,%rdx,4)
	movdqu	%xmm0, 48(%rcx,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rbx
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movd	4(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rdx,4)
	movdqu	%xmm0, 16(%rcx,%rdx,4)
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rcx,%r11,4), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $edx killed $edx def $rdx
	cmpq	%r11, %r12
	je	LBB0_3
	jmp	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_15
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FONT_XSIZE,4,2                 ## @FONT_XSIZE
	.comm	_FONT_YSIZE,4,2                 ## @FONT_YSIZE
	.comm	_curr_con,8,3                   ## @curr_con
	.no_dead_strip	___console_clear_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __console_clear_line
___console_clear_line:                  ; @__console_clear_line
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _curr_con@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curr_con@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.1:
Lloh3:
	adrp	x9, _FONT_YSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FONT_YSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _FONT_XSIZE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FONT_XSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w10, #0
	cinc	w10, w10, lt
	cbz	w9, LBB0_14
; %bb.2:
	mov	x14, #0
	asr	w15, w10, #1
	sub	w10, w2, w1
	mul	w10, w15, w10
	mov	x11, x8
	ldr	x16, [x11, #8]!
	mov	x12, x8
	ldr	w13, [x12], #4
	mul	w17, w9, w0
	cmp	w13, #0
	cinc	w13, w13, lt
	asr	w13, w13, #1
	mul	w15, w15, w1
	madd	w15, w17, w13, w15
	add	x2, x16, w15, uxtw #2
	sub	x14, x14, w10, uxtw
	sub	w15, w10, #1
	add	x16, x15, #1
	and	x17, x16, #0x1fffffff0
	sub	w0, w10, w17
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x2
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x1, x14, lsl #2
	add	x2, x1, x13, lsl #2
	cbz	w9, LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	sub	w9, w9, #1
	cbz	w10, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w15, #15
	b.lo	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x2, x11
	b.hs	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x2, x16, lsl #2
	cmp	x12, x1
	b.hs	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x3, x10
	mov	x1, x2
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x8, #4]
	str	w2, [x1], #4
	subs	w3, w3, #1
	b.ne	LBB0_10
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x2, x17, lsl #2
	add	x3, x8, #4
	ld1r.4s	{ v0 }, [x3]
	add	x2, x2, #32
	mov	x3, x17
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x2, #-32]
	stp	q0, q0, [x2], #64
	subs	x3, x3, #16
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x3, x0
	cmp	x16, x17
	b.ne	LBB0_10
	b	LBB0_4
LBB0_14:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FONT_XSIZE,4,2                 ; @FONT_XSIZE
	.comm	_FONT_YSIZE,4,2                 ; @FONT_YSIZE
	.comm	_curr_con,8,3                   ; @curr_con
	.no_dead_strip	___console_clear_line
.subsections_via_symbols
