	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_is_mapped            ## -- Begin function pmap_page_is_mapped
	.p2align	4, 0x90
_pmap_page_is_mapped:                   ## @pmap_page_is_mapped
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_VPO_UNMANAGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	callq	_VM_PAGE_TO_PV_LIST_LOCK
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_rw_rlock
	leaq	8(%r15), %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_PG_FICTITIOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, 4(%r15)
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %edi
	callq	_pa_to_pvh
	movq	%rax, %rdi
	callq	_TAILQ_EMPTY
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_5
LBB0_2:
	movl	$1, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_rw_runlock
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPO_UNMANAGED,4,2              ## @VPO_UNMANAGED
	.comm	_PG_FICTITIOUS,4,2              ## @PG_FICTITIOUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_page_is_mapped            ; -- Begin function pmap_page_is_mapped
	.p2align	2
_pmap_page_is_mapped:                   ; @pmap_page_is_mapped
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VPO_UNMANAGED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPO_UNMANAGED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_8
LBB0_2:
	mov	x20, x0
	bl	_VM_PAGE_TO_PV_LIST_LOCK
	mov	x19, x0
	bl	_rw_rlock
	add	x0, x20, #8
	bl	_TAILQ_EMPTY
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _PG_FICTITIOUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PG_FICTITIOUS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w20, #0
	b	LBB0_7
LBB0_5:
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_VM_PAGE_TO_PHYS
	bl	_pa_to_pvh
	bl	_TAILQ_EMPTY
	cmp	w0, #0
	cset	w20, eq
LBB0_7:
	mov	x0, x19
	bl	_rw_runlock
LBB0_8:
	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	_VPO_UNMANAGED,4,2              ; @VPO_UNMANAGED
	.comm	_PG_FICTITIOUS,4,2              ; @PG_FICTITIOUS
.subsections_via_symbols
