	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function page_down_module
_page_down_module:                      ## @page_down_module
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_get_num_expanded_data_rows
                                        ## kill: def $eax killed $eax def $rax
	movq	_gscroll@GOTPCREL(%rip), %rdx
	cmpl	$0, 8(%rdx)
	je	LBB0_7
## %bb.1:
	movq	(%rdx), %rcx
	movq	16(%rdx), %r9
	movl	(%r9,%rcx,8), %edx
	addl	%eax, %edx
	movl	%edx, (%r9,%rcx,8)
	movq	_dash@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi), %r8
	movl	(%r8,%rcx,4), %esi
	decl	%esi
	cmpl	%esi, %edx
	cmovll	%edx, %esi
	movl	%esi, (%r9,%rcx,8)
	movl	4(%r9,%rcx,8), %edi
	cmpl	%eax, %esi
	jl	LBB0_4
## %bb.2:
	leal	(%rdi,%rax), %edx
	cmpl	%edx, %esi
	jl	LBB0_4
## %bb.3:
	movl	%edx, 4(%r9,%rcx,8)
	movl	%edx, %edi
LBB0_4:
	movl	(%r8,%rcx,4), %r10d
	leal	-1(%rax), %r8d
	cmpl	%r8d, %esi
	jl	LBB0_6
## %bb.5:
	addl	%eax, %edi
	leal	-1(%r10), %edx
	cmpl	%edx, %edi
	jge	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	subl	%eax, %r10d
	xorl	%eax, %eax
	cmpl	%r8d, %esi
	cmovgel	%r10d, %eax
	movl	%eax, 4(%r9,%rcx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gscroll,24,3                   ## @gscroll
	.comm	_dash,8,3                       ## @dash
	.no_dead_strip	_page_down_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function page_down_module
_page_down_module:                      ; @page_down_module
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_num_expanded_data_rows
Lloh0:
	adrp	x8, _gscroll@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gscroll@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_5
; %bb.1:
	ldr	x12, [x8, #16]
	ldr	x9, [x8]
	add	x8, x12, x9, lsl #3
	lsl	x13, x9, #3
	ldr	w10, [x12, x13]
	add	w10, w10, w0
	str	w10, [x12, x13]
Lloh2:
	adrp	x11, _dash@GOTPAGE
Lloh3:
	ldr	x11, [x11, _dash@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	ldr	x11, [x11]
	ldr	w14, [x11, x9, lsl #2]
	sub	w14, w14, #1
	cmp	w10, w14
	csel	w10, w10, w14, lt
	str	w10, [x12, x13]
	ldr	w12, [x8, #4]!
	cmp	w10, w0
	add	w13, w12, w0
	ccmp	w10, w13, #8, ge
	b.lt	LBB0_3
; %bb.2:
	str	w13, [x8]
	mov	x12, x13
LBB0_3:
	add	w12, w12, w0
	ldr	w9, [x11, x9, lsl #2]
	sub	w13, w9, #1
	sub	w11, w0, #1
	cmp	w10, w11
	ccmp	w12, w13, #0, ge
	b.lt	LBB0_5
; %bb.4:
	sub	w9, w9, w0
	cmp	w10, w11
	csel	w9, wzr, w9, lt
	str	w9, [x8]
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_gscroll,24,3                   ; @gscroll
	.comm	_dash,8,3                       ; @dash
	.no_dead_strip	_page_down_module
.subsections_via_symbols
