	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	_list_width@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	incl	%edi
	callq	_malloc
	movq	%rax, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_item_str
	movl	(%r12), %edx
	movq	_item_x@GOTPCREL(%rip), %r13
	subl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_strncpy
	movslq	(%r12), %rax
	movslq	(%r13), %rcx
	subq	%rcx, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movb	$0, (%r15,%rax)
	movq	_dlg@GOTPCREL(%rip), %rax
	movl	24(%rax), %esi
	movq	%rbx, %rdi
	callq	_wattrset
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %r15d
	xorl	%edx, %edx
	callq	_wmove
	cmpl	$0, (%r12)
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_waddch
	incl	%r14d
	cmpl	(%r12), %r14d
	jl	LBB0_1
LBB0_2:
	movq	_check_x@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %r12d
	movl	%r15d, %esi
	callq	_wmove
	xorl	%eax, %eax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	setne	%al
	movq	_dlg@GOTPCREL(%rip), %r15
	movl	16(%r15,%rax,4), %esi
	movq	%rbx, %rdi
	callq	_wattrset
	movl	$58, %edi
	callq	_item_is_tag
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	$88, %r14d
	movl	$88, %edi
	callq	_item_is_tag
	testq	%rax, %rax
	movl	$32, %edx
	cmovnel	%r14d, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wprintw
LBB0_4:
	leaq	12(%r15), %rax
	leaq	8(%r15), %rcx
	testl	%r13d, %r13d
	cmoveq	%rcx, %rax
	leaq	4(%r15), %r14
	movl	(%rax), %esi
	cmoveq	%r15, %r14
	movq	%rbx, %rdi
	callq	_wattrset
	movq	_item_x@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movsbl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_mvwaddch
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wattrset
	movq	%r15, %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_waddstr
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	movq	_check_x@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_wmove
	movq	%rbx, %rdi
	callq	_wrefresh
LBB0_6:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_list_width,4,2                 ## @list_width
	.comm	_item_x,4,2                     ## @item_x
	.comm	_dlg,28,2                       ## @dlg
	.comm	_check_x,8,3                    ## @check_x
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%c)"

	.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _list_width@GOTPAGE
Lloh1:
	ldr	x25, [x25, _list_width@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w0, w8, #1
	bl	_malloc
	mov	x20, x0
	bl	_item_str
	mov	x1, x0
	ldr	w8, [x25]
Lloh2:
	adrp	x23, _item_x@GOTPAGE
Lloh3:
	ldr	x23, [x23, _item_x@GOTPAGEOFF]
	ldr	w9, [x23]
	sub	w2, w8, w9
	mov	x0, x20
	bl	_strncpy
	ldrsw	x8, [x25]
	ldrsw	x9, [x23]
	sub	x8, x8, x9
	strb	wzr, [x20, x8]
Lloh4:
	adrp	x24, _dlg@GOTPAGE
Lloh5:
	ldr	x24, [x24, _dlg@GOTPAGEOFF]
	ldr	w1, [x24, #24]
	mov	x0, x19
	bl	_wattrset
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_wmove
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w26, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #32
	bl	_waddch
	add	w26, w26, #1
	ldr	w8, [x25]
	cmp	w26, w8
	b.lt	LBB0_2
LBB0_3:
Lloh6:
	adrp	x25, _check_x@GOTPAGE
Lloh7:
	ldr	x25, [x25, _check_x@GOTPAGEOFF]
	ldr	x2, [x25]
	mov	x0, x19
	mov	x1, x21
	bl	_wmove
	add	x8, x24, #20
	add	x9, x24, #16
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wattrset
	mov	w0, #58
	bl	_item_is_tag
	cbnz	x0, LBB0_5
; %bb.4:
	mov	w26, #88
	mov	w0, #88
	bl	_item_is_tag
	cmp	x0, #0
	mov	w8, #32
	csel	w2, w8, w26, eq
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wprintw
LBB0_5:
	add	x8, x24, #12
	add	x9, x24, #8
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	add	x8, x24, #4
	csel	x24, x24, x8, eq
	mov	x0, x19
	bl	_wattrset
	ldr	w2, [x23]
	mov	x23, x20
	ldrsb	w3, [x23], #1
	mov	x0, x19
	mov	x1, x21
	bl	_mvwaddch
	ldr	w1, [x24]
	mov	x0, x19
	bl	_wattrset
	mov	x0, x19
	mov	x1, x23
	bl	_waddstr
	cbz	w22, LBB0_7
; %bb.6:
	ldr	x8, [x25]
	add	x2, x8, #1
	mov	x0, x19
	mov	x1, x21
	bl	_wmove
	mov	x0, x19
	bl	_wrefresh
LBB0_7:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_list_width,4,2                 ; @list_width
	.comm	_item_x,4,2                     ; @item_x
	.comm	_dlg,28,2                       ; @dlg
	.comm	_check_x,8,3                    ; @check_x
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%c)"

	.no_dead_strip	_print_item
.subsections_via_symbols
