	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_draw_arrows2               ## -- Begin function dlg_draw_arrows2
	.p2align	4, 0x90
_dlg_draw_arrows2:                      ## @dlg_draw_arrows2
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	24(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_dlg_get_attrs
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_getmaxx
	movl	%eax, %r13d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_wgetparent
	movq	%rax, %r15
	movq	_stdscr@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_getyx
	movq	_dialog_vars@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	cmpq	%r12, %r15
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_getbegy
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	movq	_MARGIN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_1
## %bb.4:
	movq	(%r14), %rdi
	callq	_dlg_count_columns
	subl	%eax, %r13d
	movl	%r13d, %eax
	shrl	$31, %eax
	addl	%r13d, %eax
	sarl	%eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	$5, %ecx
	cmpl	%eax, %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jle	LBB0_6
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_1:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wmove
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:
	movq	_uarrow_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_merge_colors
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dlg_attrset
	movq	_ACS_UARROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_add_acs
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_waddstr
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_dlg_attrset
	movq	_ACS_HLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dlg_boxchar
	movq	_ON_LEFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_whline
LBB0_11:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leal	-1(%r14), %r15d
	movq	_KEY_PPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	$6, %edx
	callq	_mouse_mkbutton
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_wmove
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:
	movq	_darrow_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_merge_colors
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dlg_attrset
	movq	_ACS_DARROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_add_acs
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_waddstr
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_dlg_attrset
	movq	_ACS_HLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dlg_boxchar
	movq	_ON_LEFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_whline
LBB0_14:
	movq	_KEY_NPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	$6, %edx
	callq	_mouse_mkbutton
	movq	%rbx, %rdi
	callq	_wmove
	movq	%rbx, %rdi
	callq	_wrefresh
	movq	%rbx, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlg_attrset                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_stdscr,8,3                     ## @stdscr
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_MARGIN,4,2                     ## @MARGIN
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_uarrow_attr,4,2                ## @uarrow_attr
	.comm	_ACS_UARROW,4,2                 ## @ACS_UARROW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(-)"

	.comm	_ACS_HLINE,4,2                  ## @ACS_HLINE
	.comm	_ON_LEFT,4,2                    ## @ON_LEFT
	.comm	_KEY_PPAGE,4,2                  ## @KEY_PPAGE
	.comm	_darrow_attr,4,2                ## @darrow_attr
	.comm	_ACS_DARROW,4,2                 ## @ACS_DARROW
L_.str.1:                               ## @.str.1
	.asciz	"(+)"

	.comm	_KEY_NPAGE,4,2                  ## @KEY_NPAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_draw_arrows2               ; -- Begin function dlg_draw_arrows2
	.p2align	2
_dlg_draw_arrows2:                      ; @dlg_draw_arrows2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	stp	w6, w7, [sp]                    ; 8-byte Folded Spill
	mov	x26, x5
	mov	x25, x4
	mov	x24, x3
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	mov	x27, x1
	mov	x19, x0
	bl	_dlg_get_attrs
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	bl	_getmaxx
	mov	x28, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_wgetparent
	mov	x20, x0
Lloh3:
	adrp	x8, _stdscr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_getyx
Lloh6:
	adrp	x23, _dialog_vars@GOTPAGE
Lloh7:
	ldr	x23, [x23, _dialog_vars@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, #0
	ccmp	x20, x21, #0, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_getbegy
Lloh8:
	adrp	x8, _MARGIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MARGIN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w9, w25, w0
	cmp	w9, w8
	b.ge	LBB0_3
; %bb.2:
	ldr	x0, [x23]
	bl	_dlg_count_columns
	sub	w8, w28, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w9, w24, #5
Lloh11:
	adrp	x10, _FALSE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w9, w8, asr #1
	csel	w22, w10, w22, gt
LBB0_3:
	mov	x21, x26
	cbz	w22, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	bl	_wmove
	cbz	w27, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _uarrow_attr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _uarrow_attr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [sp]                        ; 4-byte Folded Reload
	bl	_merge_colors
	mov	x1, x0
	mov	x0, x19
	bl	_dlg_attrset
Lloh17:
	adrp	x8, _ACS_UARROW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACS_UARROW@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_add_acs
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_waddstr
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	ldr	w1, [sp]                        ; 4-byte Folded Reload
	bl	_dlg_attrset
Lloh22:
	adrp	x8, _ACS_HLINE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ACS_HLINE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_dlg_boxchar
	mov	x1, x0
Lloh25:
	adrp	x8, _ON_LEFT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ON_LEFT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_whline
LBB0_7:
	sub	w26, w24, #1
Lloh28:
	adrp	x8, _KEY_PPAGE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _KEY_PPAGE@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x26
	mov	w2, #6
	bl	_mouse_mkbutton
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_wmove
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_9
; %bb.8:
Lloh31:
	adrp	x8, _darrow_attr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _darrow_attr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_merge_colors
	mov	x1, x0
	mov	x0, x19
	bl	_dlg_attrset
Lloh34:
	adrp	x8, _ACS_DARROW@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ACS_DARROW@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_add_acs
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_waddstr
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_dlg_attrset
Lloh39:
	adrp	x8, _ACS_HLINE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ACS_HLINE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_dlg_boxchar
	mov	x1, x0
Lloh42:
	adrp	x8, _ON_LEFT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ON_LEFT@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_whline
LBB0_10:
	ldr	w20, [sp, #8]                   ; 4-byte Folded Reload
Lloh45:
	adrp	x8, _KEY_NPAGE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _KEY_NPAGE@GOTPAGEOFF]
Lloh47:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x26
	mov	w2, #6
	bl	_mouse_mkbutton
	mov	x0, x19
	bl	_wmove
	mov	x0, x19
	bl	_wrefresh
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dlg_attrset
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_stdscr,8,3                     ; @stdscr
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_MARGIN,4,2                     ; @MARGIN
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_uarrow_attr,4,2                ; @uarrow_attr
	.comm	_ACS_UARROW,4,2                 ; @ACS_UARROW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(-)"

	.comm	_ACS_HLINE,4,2                  ; @ACS_HLINE
	.comm	_ON_LEFT,4,2                    ; @ON_LEFT
	.comm	_KEY_PPAGE,4,2                  ; @KEY_PPAGE
	.comm	_darrow_attr,4,2                ; @darrow_attr
	.comm	_ACS_DARROW,4,2                 ; @ACS_DARROW
l_.str.1:                               ; @.str.1
	.asciz	"(+)"

	.comm	_KEY_NPAGE,4,2                  ; @KEY_NPAGE
.subsections_via_symbols
