	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_year
_draw_year:                             ## @draw_year
	.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
	movl	$1900, %r14d                    ## imm = 0x76C
	addl	(%rsi), %r14d
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	movq	_dialog_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlg_attrset
	movl	40(%rbx), %r15d
	movl	24(%rbx), %r12d
	movl	32(%rbx), %r13d
	addl	$-2, %r13d
	decl	%r12d
	leaq	L_.str(%rip), %rdi
	callq	__
	movslq	%eax, %rcx
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_mvwprintw
	movl	40(%rbx), %edi
	movq	32(%rbx), %rsi
	decq	%rsi
	movq	24(%rbx), %rdx
	decq	%rdx
	movq	8(%rbx), %r8
	movq	16(%rbx), %rcx
	addq	$2, %rcx
	addq	$2, %r8
	movq	_menubox_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_menubox_border_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_menubox_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pushq	%rax
	pushq	%r10
	callq	_dlg_draw_box2
	addq	$16, %rsp
	movl	(%rbx), %edi
	movq	_item_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlg_attrset
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_mvwprintw
	movl	(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_attr,4,2                ## @dialog_attr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Year"

	.comm	_menubox_attr,4,2               ## @menubox_attr
	.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
L_.str.1:                               ## @.str.1
	.asciz	"%4d"

	.no_dead_strip	_draw_year
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_year
_draw_year:                             ; @draw_year
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x1]
	add	w23, w8, #1900
	ldr	w0, [x0, #40]
Lloh0:
	adrp	x8, _dialog_attr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_attr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_dlg_attrset
	ldr	w20, [x19, #40]
	ldr	w8, [x19, #32]
	sub	w21, w8, #2
	ldr	w8, [x19, #24]
	sub	w22, w8, #1
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mvwprintw
	ldr	w0, [x19, #40]
	ldp	x9, x8, [x19, #24]
	sub	x1, x8, #1
	sub	x2, x9, #1
	ldp	x9, x8, [x19, #8]
	add	x3, x8, #2
	add	x4, x9, #2
Lloh5:
	adrp	x8, _menubox_attr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _menubox_attr@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
Lloh8:
	adrp	x8, _menubox_border_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _menubox_border_attr@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
Lloh11:
	adrp	x8, _menubox_border2_attr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _menubox_border2_attr@GOTPAGEOFF]
Lloh13:
	ldr	w7, [x8]
	bl	_dlg_draw_box2
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _item_attr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _item_attr@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_dlg_attrset
	ldr	w0, [x19]
	str	x23, [sp]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_mvwprintw
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #0
	bl	_wmove
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_attr,4,2                ; @dialog_attr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Year"

	.comm	_menubox_attr,4,2               ; @menubox_attr
	.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
l_.str.1:                               ; @.str.1
	.asciz	"%4d"

	.no_dead_strip	_draw_year
.subsections_via_symbols
