	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_cell
_draw_cell:                             ## @draw_cell
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_werase
	movl	40(%rbx), %edi
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	_MARGIN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	subq	%r8, %rsi
	subq	%r8, %rdx
	addq	%r8, %r8
	movq	16(%rbx), %rcx
	addq	%r8, %rcx
	addq	8(%rbx), %r8
	movq	_menubox_border_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_menubox_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	callq	_dlg_draw_box
	movl	4(%rbx), %edi
	movq	_item_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlg_attrset
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wprintw
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MARGIN,4,2                     ## @MARGIN
	.comm	_menubox_border_attr,4,2        ## @menubox_border_attr
	.comm	_menubox_border2_attr,4,2       ## @menubox_border2_attr
	.comm	_item_attr,4,2                  ## @item_attr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02d"

	.no_dead_strip	_draw_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_cell
_draw_cell:                             ; @draw_cell
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_werase
	ldr	w0, [x19, #40]
Lloh0:
	adrp	x8, _MARGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MARGIN@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldp	x10, x9, [x19, #24]
	sub	x1, x9, x8
	sub	x2, x10, x8
	lsl	x8, x8, #1
	ldp	x10, x9, [x19, #8]
	add	x3, x9, x8
	add	x4, x10, x8
Lloh3:
	adrp	x8, _menubox_border_attr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _menubox_border_attr@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x8, _menubox_border2_attr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _menubox_border2_attr@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	bl	_dlg_draw_box
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _item_attr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _item_attr@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_dlg_attrset
	ldp	w2, w0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wprintw
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MARGIN,4,2                     ; @MARGIN
	.comm	_menubox_border_attr,4,2        ; @menubox_border_attr
	.comm	_menubox_border2_attr,4,2       ; @menubox_border2_attr
	.comm	_item_attr,4,2                  ; @item_attr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02d"

	.no_dead_strip	_draw_cell
.subsections_via_symbols
