	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_screen                    ## -- Begin function draw_screen
	.p2align	4, 0x90
_draw_screen:                           ## @draw_screen
	.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	_curr_line@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_scr_vert@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movq	_text_win@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_wclrtobot
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_last_line@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r12d
	jg	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdx
	movl	16(%rbx), %r8d
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_draw_line
	leal	1(%r12), %esi
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r13), %r12d
	movl	%esi, %r12d
	jl	LBB0_2
	jmp	LBB0_6
LBB0_5:
	movl	%r12d, %esi
LBB0_6:
	movl	(%r15), %edi
	xorl	%edx, %edx
	callq	_wmove
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_scr_horz@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_horiz_offset@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wmove                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_line,8,3                  ## @curr_line
	.comm	_scr_vert,4,2                   ## @scr_vert
	.comm	_text_win,4,2                   ## @text_win
	.comm	_last_line,4,2                  ## @last_line
	.comm	_scr_horz,8,3                   ## @scr_horz
	.comm	_horiz_offset,8,3               ## @horiz_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_screen                    ; -- Begin function draw_screen
	.p2align	2
_draw_screen:                           ; @draw_screen
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _curr_line@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curr_line@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x20, _scr_vert@GOTPAGE
Lloh4:
	ldr	x20, [x20, _scr_vert@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh5:
	adrp	x21, _text_win@GOTPAGE
Lloh6:
	ldr	x21, [x21, _text_win@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_wclrtobot
Lloh7:
	adrp	x23, _last_line@GOTPAGE
Lloh8:
	ldr	x23, [x23, _last_line@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	x22, #0
	ccmp	w19, w8, #0, ne
	b.le	LBB0_2
; %bb.1:
	mov	x1, x19
	b	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x22]
	ldr	w4, [x22, #16]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #1
	bl	_draw_line
	add	w1, w19, #1
	ldr	x22, [x22, #8]
	ldr	w8, [x23]
	cmp	x22, #0
	ccmp	w19, w8, #0, ne
	mov	x19, x1
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x21]
	mov	x2, #0
	bl	_wmove
	ldr	w0, [x21]
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _scr_horz@GOTPAGE
Lloh10:
	ldr	x8, [x8, _scr_horz@GOTPAGEOFF]
Lloh11:
	adrp	x9, _horiz_offset@GOTPAGE
Lloh12:
	ldr	x9, [x9, _horiz_offset@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	ldr	x9, [x9]
	sub	x2, x8, x9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wmove
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_line,8,3                  ; @curr_line
	.comm	_scr_vert,4,2                   ; @scr_vert
	.comm	_text_win,4,2                   ; @text_win
	.comm	_last_line,4,2                  ; @last_line
	.comm	_scr_horz,8,3                   ; @scr_horz
	.comm	_horiz_offset,8,3               ; @horiz_offset
.subsections_via_symbols
