	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea_copy_pages                ## -- Begin function moea_copy_pages
	.p2align	4, 0x90
_moea_copy_pages:                       ## @moea_copy_pages
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_3
## %bb.1:
	movq	%r8, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	_PAGE_MASK@GOTPCREL(%rip), %r13
	movq	(%r13), %r15
	andq	%rbx, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%r15, %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_min
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movq	%rbx, %rax
	shrq	%cl, %rax
	movl	(%r14,%rax,4), %edi
	callq	_VM_PAGE_TO_PHYS
	addq	%rax, %r15
	movq	(%r13), %r13
	andq	%r12, %r13
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%r13, %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_min
	movl	%eax, %r14d
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movq	%r12, %rax
	shrq	%cl, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edi
	callq	_VM_PAGE_TO_PHYS
	addq	%rax, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memmove
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movslq	%r14d, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	addq	%rax, %rbx
	addq	%rax, %r12
	subl	%eax, %r9d
	jg	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea_copy_pages                ; -- Begin function moea_copy_pages
	.p2align	2
_moea_copy_pages:                       ; @moea_copy_pages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w5, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x22, x2
	mov	x23, x1
Lloh0:
	adrp	x26, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x28, _PAGE_SHIFT@GOTPAGE
Lloh5:
	ldr	x28, [x28, _PAGE_SHIFT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	and	x25, x8, x22
	ldr	x8, [x27]
	sub	x1, x8, x25
	mov	x0, x19
	bl	_min
	mov	x24, x0
	ldr	x8, [x28]
	lsr	x8, x22, x8
	ldr	w0, [x23, x8, lsl #2]
	bl	_VM_PAGE_TO_PHYS
	add	x25, x0, x25
	ldr	x8, [x26]
	and	x21, x8, x20
	ldr	x8, [x27]
	sub	x1, x8, x21
	mov	x0, x24
	bl	_min
	mov	x24, x0
	ldr	x8, [x28]
	lsr	x8, x20, x8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x9, x8, lsl #2]
	bl	_VM_PAGE_TO_PHYS
	add	x0, x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_memmove
	sxtw	x8, w24
	add	x22, x22, x8
	add	x20, x20, x8
	sub	w19, w19, w24
	cmp	w19, #0
	b.gt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
.subsections_via_symbols
