	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flushln
_flushln:                               ## @flushln
	.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
	movq	_maxcol@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	jle	LBB0_16
## %bb.1:
	movq	_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_obuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax,%r13,4), %esi
	movsbl	%cl, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_outc
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_obuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax,%r13,4), %ecx
	leal	-1(%rcx), %edx
	cmpl	$2, %ecx
	cmovll	%r14d, %edx
	addl	%edx, %r15d
	incl	%r15d
	movq	_maxcol@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movl	(%rax,%r13,4), %edi
	cmpl	%r12d, %edi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	callq	_setnewmode
	movq	_obuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %r12d
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	4(%rax,%r13,4), %ecx
	testb	%cl, %cl
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_upln@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CURS_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PRINT
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$32, %edi
	movl	$1, %esi
	jmp	LBB0_9
LBB0_11:
	movq	_NORMAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_13
## %bb.12:
	xorl	%edi, %edi
	callq	_setnewmode
LBB0_13:
	movq	_must_overstrike@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	setne	%r14b
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_overstrike
	movb	$1, %r14b
LBB0_16:
	movl	$10, %edi
	callq	_putwchar
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.17:
	testb	%r14b, %r14b
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_iattr
LBB0_19:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_upln@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.20:
	decq	%rcx
	movq	%rcx, (%rax)
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_initbuf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NORMAL,4,2                     ## @NORMAL
	.comm	_maxcol,4,2                     ## @maxcol
	.comm	_obuf,8,3                       ## @obuf
	.comm	_upln,8,3                       ## @upln
	.comm	_CURS_RIGHT,4,2                 ## @CURS_RIGHT
	.comm	_must_overstrike,8,3            ## @must_overstrike
	.comm	_iflag,8,3                      ## @iflag
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_flushln
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flushln
_flushln:                               ; @flushln
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _maxcol@GOTPAGE
Lloh1:
	ldr	x21, [x21, _maxcol@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x19, _upln@GOTPAGE
Lloh3:
	ldr	x19, [x19, _upln@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	w20, #0
	mov	w9, #0
Lloh4:
	adrp	x22, _NORMAL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _NORMAL@GOTPAGEOFF]
	ldr	w26, [x22]
Lloh6:
	adrp	x23, _obuf@GOTPAGE
Lloh7:
	ldr	x23, [x23, _obuf@GOTPAGEOFF]
	ldr	x8, [x23]
	mov	w24, #12
Lloh8:
	adrp	x25, _CURS_RIGHT@GOTPAGE
Lloh9:
	ldr	x25, [x25, _CURS_RIGHT@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x27, x24, x8
	ldr	w1, [x8, #8]
	sxtb	w0, w9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_outc
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	madd	x9, x27, x24, x8
	ldr	w9, [x9, #8]
	subs	w9, w9, #1
	csel	w9, w9, wzr, gt
	add	w9, w27, w9
	add	w9, w9, #1
	ldr	w10, [x21]
	cmp	w9, w10
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x27, w9
	smull	x9, w9, w24
	ldr	w0, [x8, x9]
	cmp	w0, w26
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	bl	_setnewmode
	ldr	x8, [x23]
	mul	x9, x27, x24
	ldr	w26, [x8, x9]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	madd	x9, x27, x24, x8
	ldrb	w9, [x9, #4]
	cbnz	w9, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	bl	_PRINT
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #32
	mov	w1, #1
	b	LBB0_3
LBB0_11:
	ldr	w8, [x22]
	cmp	w26, w8
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #0
	bl	_setnewmode
LBB0_13:
Lloh10:
	adrp	x8, _must_overstrike@GOTPAGE
Lloh11:
	ldr	x8, [x8, _must_overstrike@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	w20, #0
	cset	w21, ne
	cbz	x8, LBB0_17
; %bb.14:
	cbz	w20, LBB0_17
; %bb.15:
	bl	_overstrike
	mov	w21, #1
	b	LBB0_17
LBB0_16:
	mov	w21, #0
LBB0_17:
	mov	w0, #10
	bl	_putwchar
Lloh13:
	adrp	x8, _iflag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w21, #0, #4, ne
	b.eq	LBB0_19
; %bb.18:
	bl	_iattr
LBB0_19:
Lloh16:
	adrp	x8, _stdout@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_fflush
	ldr	x8, [x19]
	cbz	x8, LBB0_21
; %bb.20:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_initbuf
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NORMAL,4,2                     ; @NORMAL
	.comm	_maxcol,4,2                     ; @maxcol
	.comm	_obuf,8,3                       ; @obuf
	.comm	_upln,8,3                       ; @upln
	.comm	_CURS_RIGHT,4,2                 ; @CURS_RIGHT
	.comm	_must_overstrike,8,3            ; @must_overstrike
	.comm	_iflag,8,3                      ; @iflag
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_flushln
.subsections_via_symbols
