	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_print_listitem             ## -- Begin function dlg_print_listitem
	.p2align	4, 0x90
_dlg_print_listitem:                    ## @dlg_print_listitem
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	_A_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %rbx
	cmovneq	%rsi, %rbx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_dlg_index_wchars
	movq	%rax, %r13
	movq	_tag_selected_attr@GOTPCREL(%rip), %rax
	movq	_tag_attr@GOTPCREL(%rip), %rcx
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.3:
	movq	_tag_key_attr@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_7:
	movq	_item_selected_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_item_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_dlg_index_columns
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_dlg_limit_columns
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:
	movl	%eax, %r12d
	testl	%r15d, %r15d
	cmovel	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_dlg_attrset
	movl	%r12d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edx
	leaq	-60(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dlg_print_text
	jmp	LBB0_9
LBB0_2:
	movq	_tag_key_selected_attr@GOTPCREL(%rip), %rdx
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdx), %esi
	movq	%r14, %rdi
	callq	_dlg_attrset
	movl	4(%r13), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_waddnstr
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	%eax, 4(%r13)
	jge	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_dlg_limit_columns
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.6:
	movl	%eax, %r12d
	testl	%r15d, %r15d
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	cmovel	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%r14, %rdi
	callq	_dlg_attrset
	movslq	4(%r13), %rax
	addq	%rax, %rbx
	movl	%r12d, %ecx
	movl	(%r13,%rcx,4), %edx
	subl	%eax, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_waddnstr                       ## TAILCALL
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_NORMAL,4,2                   ## @A_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_tag_key_selected_attr,4,2      ## @tag_key_selected_attr
	.comm	_tag_key_attr,4,2               ## @tag_key_attr
	.comm	_tag_selected_attr,4,2          ## @tag_selected_attr
	.comm	_tag_attr,4,2                   ## @tag_attr
	.comm	_item_selected_attr,4,2         ## @item_selected_attr
	.comm	_item_attr,4,2                  ## @item_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_print_listitem             ; -- Begin function dlg_print_listitem
	.p2align	2
_dlg_print_listitem:                    ; @dlg_print_listitem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x4
	mov	x22, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _A_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x20, x8, x1, eq
	cbz	w3, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_dlg_index_wchars
	mov	x23, x0
Lloh5:
	adrp	x8, _tag_key_selected_attr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tag_key_selected_attr@GOTPAGEOFF]
Lloh7:
	adrp	x9, _tag_key_attr@GOTPAGE
Lloh8:
	ldr	x9, [x9, _tag_key_attr@GOTPAGEOFF]
Lloh9:
	adrp	x10, _tag_selected_attr@GOTPAGE
Lloh10:
	ldr	x10, [x10, _tag_selected_attr@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x10]
Lloh12:
	adrp	x10, _tag_attr@GOTPAGE
Lloh13:
	ldr	x10, [x10, _tag_attr@GOTPAGEOFF]
Lloh14:
	ldr	w25, [x10]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlg_attrset
	ldr	w2, [x23, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_waddnstr
	mov	x0, x20
	bl	_strlen
	ldr	w8, [x23, #4]
	cmp	w8, w0
	b.ge	LBB0_6
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	bl	_dlg_limit_columns
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.3:
	mov	x22, x0
	cmp	w21, #0
	csel	w1, w25, w24, eq
	mov	x0, x19
	bl	_dlg_attrset
	ldrsw	x8, [x23, #4]
	add	x1, x20, x8
	ldr	w9, [x23, w22, uxtw #2]
	sub	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_waddnstr
LBB0_4:
Lloh15:
	adrp	x8, _item_selected_attr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _item_selected_attr@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
Lloh18:
	adrp	x8, _item_attr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _item_attr@GOTPAGEOFF]
Lloh20:
	ldr	w25, [x8]
	mov	x0, x20
	bl	_dlg_index_columns
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_dlg_limit_columns
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x22, x0
	cmp	w21, #0
	csel	w1, w25, w24, eq
	mov	x0, x19
	bl	_dlg_attrset
	ldr	w2, [x23, w22, uxtw #2]
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_dlg_print_text
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_A_NORMAL,4,2                   ; @A_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_tag_key_selected_attr,4,2      ; @tag_key_selected_attr
	.comm	_tag_key_attr,4,2               ; @tag_key_attr
	.comm	_tag_selected_attr,4,2          ; @tag_selected_attr
	.comm	_tag_attr,4,2                   ; @tag_attr
	.comm	_item_selected_attr,4,2         ; @item_selected_attr
	.comm	_item_attr,4,2                  ; @item_attr
.subsections_via_symbols
