	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_quick_enter_page        ## -- Begin function moea64_quick_enter_page
	.p2align	4, 0x90
_moea64_quick_enter_page:               ## @moea64_quick_enter_page
	.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, %r15d
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_VM_PAGE_TO_PHYS
	movq	%rax, %rbx
	movq	_hw_direct_map@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PHYS_TO_DMAP                   ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	callq	_sched_pin
	movq	_aim@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_PCPU_PTR
	movq	_MA_NOTOWNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_mtx_assert
	movl	4(%r13), %edi
	callq	_PCPU_GET
	movq	%rax, %r12
	movl	(%r13), %edi
	callq	_PCPU_PTR
	movl	%eax, %edi
	callq	_mtx_lock
	movl	%r15d, %edi
	callq	_pmap_page_get_memattr
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_moea64_calc_wimg
	orl	%eax, %ebx
	movl	%ebx, (%r12)
	movq	_MOEA64_PTE_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_MOEA64_PTE_REPLACE
	xorl	%eax, %eax
	callq	_isync
	movq	_qmap_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PCPU_GET                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hw_direct_map,8,3              ## @hw_direct_map
	.comm	_aim,8,2                        ## @aim
	.comm	_MA_NOTOWNED,4,2                ## @MA_NOTOWNED
	.comm	_MOEA64_PTE_INVALIDATE,4,2      ## @MOEA64_PTE_INVALIDATE
	.comm	_qmap_addr,4,2                  ## @qmap_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_quick_enter_page        ; -- Begin function moea64_quick_enter_page
	.p2align	2
_moea64_quick_enter_page:               ; @moea64_quick_enter_page
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_VM_PAGE_TO_PHYS
	mov	x20, x0
Lloh0:
	adrp	x8, _hw_direct_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hw_direct_map@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	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	_PHYS_TO_DMAP
LBB0_2:
	bl	_sched_pin
Lloh3:
	adrp	x23, _aim@GOTPAGE
Lloh4:
	ldr	x23, [x23, _aim@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_PCPU_PTR
Lloh5:
	adrp	x8, _MA_NOTOWNED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MA_NOTOWNED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_mtx_assert
	ldr	w0, [x23, #4]
	bl	_PCPU_GET
	mov	x22, x0
	ldr	w0, [x23]
	bl	_PCPU_PTR
	bl	_mtx_lock
	mov	x0, x21
	bl	_pmap_page_get_memattr
	mov	x1, x0
	mov	x0, x20
	bl	_moea64_calc_wimg
	orr	w8, w0, w20
	str	w8, [x22]
Lloh8:
	adrp	x8, _MOEA64_PTE_INVALIDATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MOEA64_PTE_INVALIDATE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_MOEA64_PTE_REPLACE
	bl	_isync
Lloh11:
	adrp	x8, _qmap_addr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _qmap_addr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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	_PCPU_GET
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hw_direct_map,8,3              ; @hw_direct_map
	.comm	_aim,8,2                        ; @aim
	.comm	_MA_NOTOWNED,4,2                ; @MA_NOTOWNED
	.comm	_MOEA64_PTE_INVALIDATE,4,2      ; @MOEA64_PTE_INVALIDATE
	.comm	_qmap_addr,4,2                  ; @qmap_addr
.subsections_via_symbols
