	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_MovePageDown_ML
_EDIT_MovePageDown_ML:                  ## @EDIT_MovePageDown_ML
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movzwl	(%rdi), %r13d
	movswl	2(%rdi), %esi
	movq	_EF_AFTER_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	4(%rdi), %edx
	movl	%edx, -44(%rbp)
	callq	_EDIT_EM_PosFromChar
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_LOWORD
	movq	%rax, %r12
	movl	%r15d, %edi
	callq	_HIWORD
	addw	8(%rbx), %ax
	subw	10(%rbx), %ax
	movswl	%r12w, %esi
	movswl	%ax, %edx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_EDIT_CharFromPos
	testl	%r14d, %r14d
	cmovew	%ax, %r13w
	movl	-44(%rbp), %ecx
	movswl	%ax, %edx
	movswl	%r13w, %esi
	movq	%rbx, %rdi
	callq	_EDIT_EM_SetSel
	movq	%rbx, %rdi
	callq	_EDIT_EM_ScrollCaret
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF_AFTER_WRAP,4,2              ## @EF_AFTER_WRAP
	.no_dead_strip	_EDIT_MovePageDown_ML
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_MovePageDown_ML
_EDIT_MovePageDown_ML:                  ; @EDIT_MovePageDown_ML
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	ldrh	w23, [x0]
	ldrsh	w1, [x0, #2]
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _EF_AFTER_WRAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EF_AFTER_WRAP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w2, w9, w8
	str	w2, [sp, #12]
	bl	_EDIT_EM_PosFromChar
	mov	x21, x0
	bl	_LOWORD
	mov	x22, x0
	mov	x0, x21
	bl	_HIWORD
	ldrh	w8, [x20, #8]
	ldrh	w9, [x20, #10]
	add	w8, w8, w0
	sub	w8, w8, w9
	sxth	w1, w22
	sxth	w2, w8
	add	x3, sp, #12
	mov	x0, x20
	bl	_EDIT_CharFromPos
	mov	x2, x0
	cmp	w19, #0
	csel	w8, w0, w23, eq
	ldr	w3, [sp, #12]
	sxth	w1, w8
	mov	x0, x20
	bl	_EDIT_EM_SetSel
	mov	x0, x20
	bl	_EDIT_EM_ScrollCaret
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EF_AFTER_WRAP,4,2              ; @EF_AFTER_WRAP
	.no_dead_strip	_EDIT_MovePageDown_ML
.subsections_via_symbols
