	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redraw_all
_redraw_all:                            ## @redraw_all
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	movq	_NROWS@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_6
## %bb.1:
	movq	_NCOLS@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%edx, %edx
	leaq	-40(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	movq	%rdx, -40(%rbp)
	cmpq	%rax, %rdx
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	$0, -32(%rbp)
	testq	%rcx, %rcx
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_printchar
	movq	-32(%rbp), %rax
	incq	%rax
	movq	%rax, -32(%rbp)
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-40(%rbp), %rdx
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_redraw_border
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NROWS,8,3                      ## @NROWS
	.comm	_NCOLS,8,3                      ## @NCOLS
	.no_dead_strip	_redraw_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redraw_all
_redraw_all:                            ; @redraw_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	xzr, [sp]
Lloh0:
	adrp	x19, _NROWS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _NROWS@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x10, #0
Lloh2:
	adrp	x20, _NCOLS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _NCOLS@GOTPAGEOFF]
	ldr	x8, [x20]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	str	x10, [sp]
	cmp	x10, x9
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	str	xzr, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, sp
	bl	_printchar
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldr	x8, [x20]
	cmp	x9, x8
	b.lt	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [sp]
	ldr	x9, [x19]
	b	LBB0_2
LBB0_6:
	bl	_redraw_border
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NROWS,8,3                      ; @NROWS
	.comm	_NCOLS,8,3                      ; @NCOLS
	.no_dead_strip	_redraw_all
.subsections_via_symbols
