	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea_is_prefaultable           ## -- Begin function moea_is_prefaultable
	.p2align	4, 0x90
_moea_is_prefaultable:                  ## @moea_is_prefaultable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_PMAP_LOCK
	movq	_ADDR_POFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%ebx, %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_moea_pvo_find_va
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_PTE_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%rax)
	sete	%bl
	jmp	LBB0_3
LBB0_1:
	movl	$1, %ebx
LBB0_3:
	movl	%r14d, %edi
	callq	_PMAP_UNLOCK
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_POFF,4,2                  ## @ADDR_POFF
	.comm	_PTE_VALID,4,2                  ## @PTE_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea_is_prefaultable           ; -- Begin function moea_is_prefaultable
	.p2align	2
_moea_is_prefaultable:                  ; @moea_is_prefaultable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_PMAP_LOCK
Lloh0:
	adrp	x8, _ADDR_POFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_POFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w1, w20, w8
	mov	x0, x19
	mov	x2, #0
	bl	_moea_pvo_find_va
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _PTE_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PTE_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w20, eq
	b	LBB0_3
LBB0_2:
	mov	w20, #1
LBB0_3:
	mov	x0, x19
	bl	_PMAP_UNLOCK
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_POFF,4,2                  ; @ADDR_POFF
	.comm	_PTE_VALID,4,2                  ; @PTE_VALID
.subsections_via_symbols
