	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_both
_print_both:                            ## @print_both
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	24(%rax), %rdi
	callq	_wgetparent
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_getyx
	movq	%r15, %rbx
	movq	8(%r15), %rax
	movq	24(%rax), %r12
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %esi
	movq	%rax, %r15
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_index2row
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$-1, %esi
	xorl	%edx, %edx
	callq	_index2row
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_getmaxy
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r14), %r12d
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	callq	_print_1_list
	xorl	%edi, %edi
	callq	_dlg_mouse_setcode
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movslq	(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_MIN
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	16(%r15), %r14
	movq	(%rbx), %r15
	addq	%r14, %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_getmaxx
	movq	%rax, %r13
	addq	%r14, %r13
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movq	%r12, %rdi
	callq	_getmaxy
	cltq
	leaq	(%r14,%rax), %r10
	incq	%r10
	movq	_menubox_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_menubox_border_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	%r15, %r9
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	%r14
	pushq	%r13
	callq	_dlg_draw_scrollbar
	addq	$48, %rsp
	movq	%rbx, %r12
	movq	8(%rbx), %r14
	movq	56(%r14), %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	32(%r14), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_index2row
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$-1, %esi
	movl	$1, %edx
	callq	_index2row
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_getmaxy
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15), %ebx
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
	callq	_print_1_list
	movq	_KEY_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dlg_mouse_setcode
	movslq	32(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_MIN
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	48(%r14), %r15
	movq	(%r12), %rbx
	addq	%r15, %rbx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_getmaxx
	movq	%rax, %r12
	addq	%r15, %r12
	movq	40(%r14), %r14
	movq	%r13, %rdi
	callq	_getmaxy
	cltq
	leaq	(%r14,%rax), %r10
	incq	%r10
	movq	_menubox_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_menubox_border_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	%r14
	pushq	%r12
	callq	_dlg_draw_scrollbar
	addq	$48, %rsp
	movq	%r15, %rdi
	callq	_wmove
	xorl	%edi, %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlg_mouse_setcode              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_MAX,4,2                    ## @KEY_MAX
	.comm	_menubox_border2_attr,4,2       ## @menubox_border2_attr
	.comm	_menubox_border_attr,4,2        ## @menubox_border_attr
	.no_dead_strip	_print_both
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_both
_print_both:                            ; @print_both
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8, #24]
	bl	_wgetparent
	mov	x19, x0
	sxtw	x0, w26
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	bl	_TRACE
	mov	x0, x19
	mov	x21, x19
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	bl	_getyx
	ldr	x19, [x20, #8]
	ldr	x22, [x19, #24]
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_index2row
	mov	x23, x0
	mov	x0, x20
	mov	w1, #-1
	mov	w2, #0
	bl	_index2row
	mov	x24, x0
	mov	x0, x22
	bl	_getmaxy
	add	w25, w0, w23
	mov	x0, x20
	mov	x1, x26
	mov	w2, #0
	bl	_print_1_list
	mov	w0, #0
	bl	_dlg_mouse_setcode
	ldrsw	x26, [x19]
	sxtw	x23, w23
	mov	x0, x25
	mov	x1, x24
	bl	_MIN
	mov	x25, x0
	sxtw	x24, w24
	ldr	x28, [x19, #16]
	ldr	x8, [x20]
	add	x27, x8, x28
	mov	x0, x22
	bl	_getmaxx
	add	x28, x0, x28
	ldr	x19, [x19, #8]
	mov	x0, x22
	bl	_getmaxy
	add	x8, x19, w0, sxtw
	add	x8, x8, #1
Lloh0:
	adrp	x9, _menubox_border2_attr@GOTPAGE
Lloh1:
	ldr	x9, [x9, _menubox_border2_attr@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _menubox_border_attr@GOTPAGE
Lloh4:
	ldr	x10, [x10, _menubox_border_attr@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w9, w10, [sp, #8]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x26
	mov	x2, x23
	mov	x3, x25
	mov	x4, x24
	mov	x5, x27
	mov	x6, x28
	mov	x7, x19
	bl	_dlg_draw_scrollbar
	ldr	x26, [x20, #8]
	ldr	x19, [x26, #56]
	ldr	w1, [x26, #32]
	mov	x0, x20
	mov	w2, #1
	bl	_index2row
	mov	x22, x0
	mov	x0, x20
	mov	w1, #-1
	mov	w2, #1
	bl	_index2row
	mov	x23, x0
	mov	x0, x19
	bl	_getmaxy
	add	w24, w0, w22
	mov	x0, x20
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #1
	bl	_print_1_list
Lloh6:
	adrp	x8, _KEY_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_dlg_mouse_setcode
	ldrsw	x21, [x26, #32]
	sxtw	x22, w22
	mov	x0, x24
	mov	x1, x23
	bl	_MIN
	mov	x24, x0
	sxtw	x23, w23
	ldr	x25, [x26, #48]
	ldr	x8, [x20]
	add	x20, x8, x25
	mov	x0, x19
	bl	_getmaxx
	add	x25, x0, x25
	ldr	x26, [x26, #40]
	mov	x0, x19
	bl	_getmaxy
	add	x8, x26, w0, sxtw
	add	x8, x8, #1
Lloh9:
	adrp	x9, _menubox_border2_attr@GOTPAGE
Lloh10:
	ldr	x9, [x9, _menubox_border2_attr@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _menubox_border_attr@GOTPAGE
Lloh13:
	ldr	x10, [x10, _menubox_border_attr@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w9, w10, [sp, #8]
	str	x8, [sp]
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	mov	x6, x25
	mov	x7, x26
	bl	_dlg_draw_scrollbar
	mov	x0, x19
	bl	_wmove
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_dlg_mouse_setcode
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_MAX,4,2                    ; @KEY_MAX
	.comm	_menubox_border2_attr,4,2       ; @menubox_border2_attr
	.comm	_menubox_border_attr,4,2        ; @menubox_border_attr
	.no_dead_strip	_print_both
.subsections_via_symbols
