	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_list
_display_list:                          ## @display_list
	.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
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_getmaxy
	movl	%eax, %r15d
	movq	(%r14), %rdi
	callq	_getmaxx
	movq	_item_attr@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_dlg_attr_clear
	movl	8(%r14), %r15d
                                        ## implicit-def: $ebx
	cmpl	12(%r14), %r15d
	jge	LBB0_10
## %bb.2:
	movslq	%r15d, %r13
	movq	24(%r14), %rax
	cmpq	$0, (%rax,%r13,8)
	je	LBB0_3
## %bb.4:
	incq	%r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	subl	8(%r14), %ebx
	movq	(%r14), %rdi
	callq	_getmaxy
	cmpl	%eax, %ebx
	jge	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_wmove
	cmpl	16(%r14), %r15d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rdi
	movq	_item_selected_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dlg_attrset
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rdi
	movq	24(%r14), %rax
	movq	-8(%rax,%r13,8), %rsi
	callq	_waddstr
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_dlg_attrset
	movslq	12(%r14), %rax
	cmpq	%rax, %r13
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r14), %rax
	incl	%r15d
	cmpq	$0, (%rax,%r13,8)
	leaq	1(%r13), %r13
	jne	LBB0_6
	jmp	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
                                        ## implicit-def: $ebx
LBB0_10:
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_dlg_attrset
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	_getparyx
	leal	-1(%rbx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_getmaxy
	movl	%eax, %r15d
	addl	%ebx, %r15d
	movl	20(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	8(%r14), %r13
	movq	(%r14), %rdi
	callq	_getmaxy
	movslq	%eax, %rbx
	addq	%r13, %rbx
	movslq	12(%r14), %r12
	movq	(%r14), %rdi
	callq	_getmaxx
	movq	_menubox_border2_attr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_menubox_border_attr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	pushq	%r10
	pushq	%r9
	pushq	%r15
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_dlg_draw_scrollbar
	addq	$48, %rsp
	movq	(%r14), %rdi
	movl	16(%r14), %esi
	subl	8(%r14), %esi
	xorl	%edx, %edx
	callq	_wmove
	movq	(%r14), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wnoutrefresh                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_item_attr,4,2                  ## @item_attr
	.comm	_item_selected_attr,4,2         ## @item_selected_attr
	.comm	_menubox_border2_attr,4,2       ## @menubox_border2_attr
	.comm	_menubox_border_attr,4,2        ## @menubox_border_attr
	.no_dead_strip	_display_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_list
_display_list:                          ; @display_list
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_getmaxy
	mov	x21, x0
	ldr	x0, [x19]
	bl	_getmaxx
	mov	x2, x0
Lloh0:
	adrp	x22, _item_attr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _item_attr@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_dlg_attr_clear
	ldp	w21, w8, [x19, #8]
                                        ; kill: def $w21 killed $w21 def $x21
	sxtw	x21, w21
                                        ; implicit-def: $w20
	cmp	w21, w8
	b.ge	LBB0_11
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_10
; %bb.3:
Lloh2:
	adrp	x23, _item_selected_attr@GOTPAGE
Lloh3:
	ldr	x23, [x23, _item_selected_attr@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	sub	w20, w21, w8
	ldr	x0, [x19]
	bl	_getmaxy
	cmp	w20, w0
	b.ge	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	mov	x1, x20
	mov	w2, #0
	bl	_wmove
	ldr	w8, [x19, #16]
	cmp	w21, w8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	ldr	w1, [x23]
	bl	_dlg_attrset
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	ldr	x8, [x19, #24]
	ldr	x1, [x8, x21, lsl #3]
	bl	_waddstr
	ldr	x0, [x19]
	ldr	w1, [x22]
	bl	_dlg_attrset
	add	x8, x21, #1
	ldrsw	x9, [x19, #12]
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #24]
	add	x9, x9, x21, lsl #3
	ldr	x9, [x9, #8]
	mov	x21, x8
	cbnz	x9, LBB0_4
	b	LBB0_11
LBB0_9:
	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
LBB0_10:
                                        ; implicit-def: $w20
LBB0_11:
	ldr	x0, [x19]
	ldr	w1, [x22]
	bl	_dlg_attrset
	ldr	x0, [x19]
	mov	x1, x20
	bl	_getparyx
	sub	w21, w20, #1
	ldr	x0, [x19]
	bl	_getmaxy
	add	w25, w0, w20
	ldr	w20, [x19, #20]
	ldrsw	x22, [x19, #8]
	ldr	x0, [x19]
	bl	_getmaxy
	add	x23, x22, w0, sxtw
	ldrsw	x24, [x19, #12]
	ldr	x0, [x19]
	bl	_getmaxx
	mov	x6, x0
Lloh4:
	adrp	x8, _menubox_border2_attr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _menubox_border2_attr@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _menubox_border_attr@GOTPAGE
Lloh8:
	ldr	x9, [x9, _menubox_border_attr@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #4]
	str	w25, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x7, x21
	bl	_dlg_draw_scrollbar
	ldr	x0, [x19]
	ldr	w8, [x19, #16]
	ldr	w9, [x19, #8]
	sub	w1, w8, w9
	mov	w2, #0
	bl	_wmove
	ldr	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	_wnoutrefresh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_item_attr,4,2                  ; @item_attr
	.comm	_item_selected_attr,4,2         ; @item_selected_attr
	.comm	_menubox_border2_attr,4,2       ; @menubox_border2_attr
	.comm	_menubox_border_attr,4,2        ; @menubox_border_attr
	.no_dead_strip	_display_list
.subsections_via_symbols
