	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_vertical_data_scroll       ## -- Begin function tui_vertical_data_scroll
	.p2align	4, 0x90
_tui_vertical_data_scroll:              ## @tui_vertical_data_scroll
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_tui_first_data_item_displayed
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_tui_line_from_reg_element_no
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	_FORWARD_SCROLL@GOTPCREL(%rip), %rcx
	movl	%r15d, %ebx
	negl	%ebx
	cmpl	%r14d, (%rcx)
	cmovel	%r15d, %ebx
	addl	%eax, %ebx
	xorl	%edi, %edi
	callq	_tui_erase_data_content
	xorl	%eax, %eax
	callq	_tui_delete_data_content_windows
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tui_display_data_from_line     ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUI_DATA_WIN,8,3               ## @TUI_DATA_WIN
	.comm	_FORWARD_SCROLL,4,2             ## @FORWARD_SCROLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_vertical_data_scroll       ; -- Begin function tui_vertical_data_scroll
	.p2align	2
_tui_vertical_data_scroll:              ; @tui_vertical_data_scroll
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_tui_first_data_item_displayed
Lloh0:
	adrp	x8, _TUI_DATA_WIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUI_DATA_WIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_3
; %bb.1:
	bl	_tui_line_from_reg_element_no
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _FORWARD_SCROLL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FORWARD_SCROLL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	cneg	w8, w19, ne
	add	w19, w8, w0
	mov	x0, #0
	bl	_tui_erase_data_content
	bl	_tui_delete_data_content_windows
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tui_display_data_from_line
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
	.comm	_FORWARD_SCROLL,4,2             ; @FORWARD_SCROLL
.subsections_via_symbols
