	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_box_win                        ## -- Begin function box_win
	.p2align	4, 0x90
_box_win:                               ## @box_win
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.2:
	movq	_HILITE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_tui_active_border_attrs@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_tui_border_attrs@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_wattron
	movq	_tui_border_vline@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tui_border_hline@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_tui_border_ulcorner@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_tui_border_urcorner@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_tui_border_llcorner@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r11d
	movq	_tui_border_lrcorner@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%edx, %esi
	movl	%ecx, %r8d
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_wborder
	addq	$32, %rsp
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_mvwaddstr
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wattroff                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HILITE,4,2                     ## @HILITE
	.comm	_tui_active_border_attrs,4,2    ## @tui_active_border_attrs
	.comm	_tui_border_attrs,4,2           ## @tui_border_attrs
	.comm	_tui_border_vline,4,2           ## @tui_border_vline
	.comm	_tui_border_hline,4,2           ## @tui_border_hline
	.comm	_tui_border_ulcorner,4,2        ## @tui_border_ulcorner
	.comm	_tui_border_urcorner,4,2        ## @tui_border_urcorner
	.comm	_tui_border_llcorner,4,2        ## @tui_border_llcorner
	.comm	_tui_border_lrcorner,4,2        ## @tui_border_lrcorner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_box_win                        ; -- Begin function box_win
	.p2align	2
_box_win:                               ; @box_win
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _HILITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HILITE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _tui_active_border_attrs@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tui_active_border_attrs@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _tui_border_attrs@GOTPAGE
Lloh6:
	ldr	x10, [x10, _tui_border_attrs@GOTPAGEOFF]
	cmp	w8, w1
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_wattron
Lloh7:
	adrp	x8, _tui_border_vline@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tui_border_vline@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _tui_border_hline@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tui_border_hline@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x8, _tui_border_ulcorner@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tui_border_ulcorner@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
Lloh16:
	adrp	x8, _tui_border_urcorner@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tui_border_urcorner@GOTPAGEOFF]
Lloh18:
	ldr	w6, [x8]
Lloh19:
	adrp	x8, _tui_border_llcorner@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tui_border_llcorner@GOTPAGEOFF]
Lloh21:
	ldr	w7, [x8]
Lloh22:
	adrp	x8, _tui_border_lrcorner@GOTPAGE
Lloh23:
	ldr	x8, [x8, _tui_border_lrcorner@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	x2, x1
	mov	x4, x3
	bl	_wborder
	ldr	w3, [x21]
	cbz	w3, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3
	bl	_mvwaddstr
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #64
	b	_wattroff
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HILITE,4,2                     ; @HILITE
	.comm	_tui_active_border_attrs,4,2    ; @tui_active_border_attrs
	.comm	_tui_border_attrs,4,2           ; @tui_border_attrs
	.comm	_tui_border_vline,4,2           ; @tui_border_vline
	.comm	_tui_border_hline,4,2           ; @tui_border_hline
	.comm	_tui_border_ulcorner,4,2        ; @tui_border_ulcorner
	.comm	_tui_border_urcorner,4,2        ; @tui_border_urcorner
	.comm	_tui_border_llcorner,4,2        ; @tui_border_llcorner
	.comm	_tui_border_lrcorner,4,2        ; @tui_border_lrcorner
.subsections_via_symbols
