	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_print_scrolled             ## -- Begin function dlg_print_scrolled
	.p2align	4, 0x90
_dlg_print_scrolled:                    ## @dlg_print_scrolled
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_getyx
	movq	_dialog_attr@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dlg_attrset
	movq	_MARGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	leal	(%r12,%rax), %edx
	incl	%edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_dlg_print_autowrap
	movq	%rbx, %rdi
	callq	_wmove
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_attr,1,0                ## @dialog_attr
	.comm	_MARGIN,4,2                     ## @MARGIN
	.comm	_ACS_HLINE,4,2                  ## @ACS_HLINE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_LINES,4,2                      ## @LINES
	.comm	_border_attr,1,0                ## @border_attr
	.comm	_position_indicator_attr,1,0    ## @position_indicator_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_print_scrolled             ; -- Begin function dlg_print_scrolled
	.p2align	2
_dlg_print_scrolled:                    ; @dlg_print_scrolled
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	bl	_getyx
Lloh0:
	adrp	x8, _dialog_attr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_attr@GOTPAGEOFF]
Lloh2:
	ldrsb	w1, [x8]
	mov	x0, x22
	bl	_dlg_attrset
Lloh3:
	adrp	x8, _MARGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MARGIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	add	w8, w20, w8
	add	w2, w8, #1
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_dlg_print_autowrap
	mov	x0, x22
	bl	_wmove
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_attr,1,0                ; @dialog_attr
	.comm	_MARGIN,4,2                     ; @MARGIN
	.comm	_ACS_HLINE,4,2                  ; @ACS_HLINE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_LINES,4,2                      ; @LINES
	.comm	_border_attr,1,0                ; @border_attr
	.comm	_position_indicator_attr,1,0    ; @position_indicator_attr
.subsections_via_symbols
