	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vs_scroll
_vs_scroll:                             ## @vs_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %r13
	callq	_VIP
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_IS_ONELINE
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	8(%r13), %rcx
	movq	(%r12), %rax
	cmpq	(%rbx), %rax
	jge	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_LASTLINE
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %rsi
	subq	(%r12), %rsi
	jmp	LBB0_4
LBB0_2:
	xorl	%esi, %esi
LBB0_4:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*%rcx
	movq	%rbx, %rdi
	callq	*16(%r13)
	movq	_q@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_LASTLINE
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	%rbx, %rdi
	callq	*(%r13)
LBB0_6:
	movq	_SCROLL_W_QUIT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_9
## %bb.7:
	movq	8(%r12), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_9
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vs_wait                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_q,4,2                          ## @q
	.comm	_SCROLL_W_QUIT,8,3              ## @SCROLL_W_QUIT
	.no_dead_strip	_vs_scroll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vs_scroll
_vs_scroll:                             ; @vs_scroll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
	bl	_VIP
	mov	x22, x0
	mov	x0, x21
	bl	_IS_ONELINE
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x24, [x23, #8]
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_LASTLINE
	ldr	x8, [x22]
	sub	x1, x0, x8
	b	LBB0_4
LBB0_3:
	mov	x1, #0
LBB0_4:
	mov	x0, x21
	mov	w2, #0
	blr	x24
	ldr	x8, [x23, #16]
	mov	x0, x21
	blr	x8
Lloh0:
	adrp	x8, _q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _q@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_TAILQ_NEXT
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x24, [x23, #8]
	mov	x0, x21
	bl	_LASTLINE
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	blr	x24
	ldr	x8, [x23]
	mov	x0, x21
	blr	x8
LBB0_6:
Lloh3:
	adrp	x8, _SCROLL_W_QUIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCROLL_W_QUIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x22, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_vs_wait
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_q,4,2                          ; @q
	.comm	_SCROLL_W_QUIT,8,3              ; @SCROLL_W_QUIT
	.no_dead_strip	_vs_scroll
.subsections_via_symbols
