	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_item
_print_item:                            ## @print_item
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_dlg_get_attrs
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %ecx
	movq	_GUTTER@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_ItemToRow
	movl	%eax, %r15d
	movq	_dialog_vars@GOTPCREL(%rip), %rcx
	cmpl	$0, 8(%rcx)
	sete	%dl
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	sete	%al
	movq	_TRUE@GOTPCREL(%rip), %r8
	cmpl	$129, %r13d
	movq	_item_selected_attr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_item_attr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edi
	cmovel	%esi, %edi
	cmpl	$130, %r13d
	jne	LBB0_2
## %bb.1:
	movq	_dialog_attr@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_2:
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	andb	%al, %dl
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	movl	(%r8), %edx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	(%r12,%rax,8), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.3:
	cmpl	$128, %r13d
	cmovel	%ecx, %esi
	movq	%rbx, %rdi
	callq	_dlg_attrset
	leal	-1(%r15), %r14d
	movq	_INPUT_ROWS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	addl	%r14d, %eax
	cmpl	%eax, %r15d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jg	LBB0_7
## %bb.4:
	movl	%r14d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_wmove
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	leaq	L_.str.1(%rip), %rcx
	callq	_wprintw
	incl	%r13d
	movl	(%r12), %eax
	addl	%r14d, %eax
	cmpl	%eax, %r13d
	jl	LBB0_5
LBB0_7:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_8
LBB0_9:
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r15d
	subl	-68(%rbp), %r15d                ## 4-byte Folded Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_wmove
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_dlg_print_listitem
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_10
LBB0_6:
	movq	_menubox_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dlg_attrset
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_wmove
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_wprintw
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_9
LBB0_8:
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_wmove
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.12:
	movl	%r12d, %esi
	decl	%esi
	movq	_INPUT_ROWS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%r14), %r8d
	addl	%r13d, %r8d
	notl	%r8d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	addl	%r14d, %r8d
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	movl	%r9d, (%rsp)
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_dlg_draw_box
	addl	$-2, %r14d
	incl	%r13d
	jmp	LBB0_13
LBB0_11:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_13:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_wmove
	subl	%r13d, %r14d
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_dlg_print_listitem
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %edi
	callq	_dlg_item_help
LBB0_15:
	movq	%rbx, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlg_attrset                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GUTTER,4,2                     ## @GUTTER
	.comm	_dialog_vars,16,3               ## @dialog_vars
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_item_attr,4,2                  ## @item_attr
	.comm	_item_selected_attr,4,2         ## @item_selected_attr
	.comm	_dialog_attr,4,2                ## @dialog_attr
	.comm	_INPUT_ROWS,4,2                 ## @INPUT_ROWS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%*s"

L_.str.1:                               ## @.str.1
	.asciz	" "

	.comm	_menubox_attr,4,2               ## @menubox_attr
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_print_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_item
_print_item:                            ; @print_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x5
	mov	x22, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x28, x0
	mov	x0, x1
	bl	_dlg_get_attrs
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
	ldp	w23, w8, [x28]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _GUTTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GUTTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w24, [x28, #8]
	mov	x0, x21
	bl	_ItemToRow
	mov	x25, x0
Lloh3:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	cmp	w9, #0
	cset	w9, eq
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, eq
	and	w9, w9, w8
	str	w9, [sp, #52]                   ; 4-byte Folded Spill
Lloh5:
	adrp	x9, _TRUE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x8, [x20, w8, uxtw #3]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh8:
	adrp	x8, _dialog_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dialog_attr@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x8]
Lloh11:
	adrp	x8, _item_selected_attr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _item_selected_attr@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _item_attr@GOTPAGE
Lloh15:
	ldr	x9, [x9, _item_attr@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w22, #129
	csel	w11, w8, w9, eq
	cmp	w22, #130
	csel	w10, w10, w11, eq
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
Lloh17:
	adrp	x20, _INPUT_ROWS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _INPUT_ROWS@GOTPAGEOFF]
	str	w26, [sp, #56]                  ; 4-byte Folded Spill
	str	w22, [sp, #36]                  ; 4-byte Folded Spill
	cbz	w26, LBB0_6
; %bb.1:
	cmp	w22, #128
	csel	w1, w9, w8, eq
	mov	x0, x19
	bl	_dlg_attrset
	sub	w22, w25, #1
	ldr	w8, [x20]
	add	w8, w22, w8
	cmp	w25, w8
	b.gt	LBB0_4
; %bb.2:
Lloh19:
	adrp	x21, l_.str@PAGE
Lloh20:
	add	x21, x21, l_.str@PAGEOFF
	mov	x26, x22
Lloh21:
	adrp	x27, l_.str.1@PAGE
Lloh22:
	add	x27, x27, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x26
	mov	w2, #0
	bl	_wmove
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x27
	bl	_wprintw
	add	w26, w26, #1
	ldr	w8, [x20]
	add	w8, w22, w8
	cmp	w26, w8
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_7
LBB0_5:
	ldp	w9, w8, [sp, #12]               ; 8-byte Folded Reload
	add	w8, w8, w9
	sub	w21, w23, w8
	ldr	w2, [x28, #4]
	mov	x0, x19
	mov	x1, x25
	bl	_wmove
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x1, [x22]
	mov	x0, x19
	mov	x2, x21
	ldr	w3, [sp, #60]                   ; 4-byte Folded Reload
	ldr	w26, [sp, #36]                  ; 4-byte Folded Reload
	mov	x4, x26
	bl	_dlg_print_listitem
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	ldr	w21, [sp, #48]                  ; 4-byte Folded Reload
	b	LBB0_8
LBB0_6:
Lloh26:
	adrp	x8, _menubox_attr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _menubox_attr@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlg_attrset
	mov	x0, x19
	mov	x1, x25
	mov	w2, #0
	bl	_wmove
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
Lloh31:
	adrp	x3, l_.str.1@PAGE
Lloh32:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x24
	bl	_wprintw
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_5
LBB0_7:
	ldr	w21, [sp, #48]                  ; 4-byte Folded Reload
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w26, [sp, #36]                  ; 4-byte Folded Reload
LBB0_8:
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_wmove
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_10
; %bb.9:
	sub	w1, w25, #1
	ldr	w3, [x20]
	ldr	w8, [x28, #4]
	add	w8, w8, w23
	mvn	w8, w8
	add	w4, w24, w8
	mov	x0, x19
	mov	x2, x23
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	mov	x6, x5
	bl	_dlg_draw_box
	sub	w24, w24, #2
	add	w23, w23, #1
LBB0_10:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_wmove
	sub	w2, w24, w23
	mov	x0, x19
	mov	x1, x27
	ldr	w3, [sp, #60]                   ; 4-byte Folded Reload
	mov	x4, x26
	bl	_dlg_print_listitem
	cbz	w26, LBB0_12
; %bb.11:
	ldr	w0, [x22, #16]
	bl	_dlg_item_help
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_dlg_attrset
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_GUTTER,4,2                     ; @GUTTER
	.comm	_dialog_vars,16,3               ; @dialog_vars
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_item_attr,4,2                  ; @item_attr
	.comm	_item_selected_attr,4,2         ; @item_selected_attr
	.comm	_dialog_attr,4,2                ; @dialog_attr
	.comm	_INPUT_ROWS,4,2                 ; @INPUT_ROWS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%*s"

l_.str.1:                               ; @.str.1
	.asciz	" "

	.comm	_menubox_attr,4,2               ; @menubox_attr
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_print_item
.subsections_via_symbols
