	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redraw_border
_redraw_border:                         ## @redraw_border
	.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	_NROWS@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	cmpl	$0, (%r15)
	movl	$0, %edi
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_NCOLS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%ebx, %edi
	movl	$124, %edx
	callq	_mvaddch
	incl	%ebx
	movl	(%r15), %edi
	cmpl	%edi, %ebx
	jb	LBB0_2
LBB0_3:
	movq	_NCOLS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_8
## %bb.4:
	xorl	%esi, %esi
	movl	$45, %edx
	callq	_mvaddch
	movl	(%r12), %r14d
	cmpl	$2, %r14d
	jb	LBB0_7
## %bb.5:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	movl	$45, %edx
	callq	_mvaddch
	incl	%ebx
	movl	(%r12), %r14d
	cmpl	%r14d, %ebx
	jb	LBB0_6
LBB0_7:
	movl	(%r15), %edi
LBB0_8:
	movl	%r14d, %esi
	movl	$43, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvaddch                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NROWS,4,2                      ## @NROWS
	.comm	_NCOLS,4,2                      ## @NCOLS
	.no_dead_strip	_redraw_border
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redraw_border
_redraw_border:                         ; @redraw_border
	.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	x20, _NROWS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NROWS@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x21, _NCOLS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NCOLS@GOTPAGEOFF]
	cbz	w8, LBB0_8
; %bb.1:
	mov	w19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #124
	bl	_mvaddch
	add	w19, w19, #1
	ldr	w0, [x20]
	cmp	w19, w0
	b.lo	LBB0_2
; %bb.3:
	ldr	w8, [x21]
	cbz	w8, LBB0_9
LBB0_4:
	mov	w1, #0
	mov	w2, #45
	bl	_mvaddch
	ldr	w1, [x21]
	cmp	w1, #2
	b.lo	LBB0_7
; %bb.5:
	mov	w19, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	mov	w2, #45
	bl	_mvaddch
	add	w19, w19, #1
	ldr	w1, [x21]
	cmp	w19, w1
	b.lo	LBB0_6
LBB0_7:
	ldr	w0, [x20]
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	ldr	w8, [x21]
	cbnz	w8, LBB0_4
LBB0_9:
	mov	w1, #0
LBB0_10:
	mov	w2, #43
	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	_mvaddch
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NROWS,4,2                      ; @NROWS
	.comm	_NCOLS,4,2                      ; @NCOLS
	.no_dead_strip	_redraw_border
.subsections_via_symbols
