	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextline                       ## -- Begin function nextline
	.p2align	4, 0x90
_nextline:                              ## @nextline
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_curr_line@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	_absolute_lin@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	%rax, (%r15)
	movl	4(%rax), %eax
	movq	_point@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movq	_position@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_scr_vert@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_last_line@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_text_win@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
	movl	(%rbx), %edi
	callq	_wdeleteln
	movl	(%rbx), %edi
	movq	(%r12), %rsi
	xorl	%edx, %edx
	callq	_wmove
	movl	(%rbx), %edi
	callq	_wclrtobot
	movq	(%r12), %rdi
	movl	(%r14), %edx
	movq	(%r15), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_draw_line                      ## TAILCALL
LBB0_1:
	incq	%rcx
	movq	%rcx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_line,8,3                  ## @curr_line
	.comm	_absolute_lin,4,2               ## @absolute_lin
	.comm	_point,4,2                      ## @point
	.comm	_position,4,2                   ## @position
	.comm	_scr_vert,8,3                   ## @scr_vert
	.comm	_last_line,8,3                  ## @last_line
	.comm	_text_win,4,2                   ## @text_win
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nextline                       ; -- Begin function nextline
	.p2align	2
_nextline:                              ; @nextline
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _curr_line@GOTPAGE
Lloh1:
	ldr	x19, [x19, _curr_line@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	str	x8, [x19]
Lloh2:
	adrp	x9, _absolute_lin@GOTPAGE
Lloh3:
	ldr	x9, [x9, _absolute_lin@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	ldr	w8, [x8, #4]
Lloh4:
	adrp	x20, _point@GOTPAGE
Lloh5:
	ldr	x20, [x20, _point@GOTPAGEOFF]
	str	w8, [x20]
Lloh6:
	adrp	x9, _position@GOTPAGE
Lloh7:
	ldr	x9, [x9, _position@GOTPAGEOFF]
	mov	w10, #1
Lloh8:
	adrp	x8, _scr_vert@GOTPAGE
Lloh9:
	ldr	x8, [x8, _scr_vert@GOTPAGEOFF]
Lloh10:
	str	w10, [x9]
	ldr	x9, [x8]
Lloh11:
	adrp	x21, _last_line@GOTPAGE
Lloh12:
	ldr	x21, [x21, _last_line@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh13:
	adrp	x22, _text_win@GOTPAGE
Lloh14:
	ldr	x22, [x22, _text_win@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, #0
	mov	w2, #0
	bl	_wmove
	ldr	w0, [x22]
	bl	_wdeleteln
	ldr	w0, [x22]
	ldr	x1, [x21]
	mov	w2, #0
	bl	_wmove
	ldr	w0, [x22]
	bl	_wclrtobot
	ldr	x0, [x21]
	ldr	w2, [x20]
	ldr	x8, [x19]
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_draw_line
LBB0_2:
	add	x9, x9, #1
	str	x9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_line,8,3                  ; @curr_line
	.comm	_absolute_lin,4,2               ; @absolute_lin
	.comm	_point,4,2                      ; @point
	.comm	_position,4,2                   ; @position
	.comm	_scr_vert,8,3                   ; @scr_vert
	.comm	_last_line,8,3                  ; @last_line
	.comm	_text_win,4,2                   ; @text_win
.subsections_via_symbols
