	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MempIsPageMapped               ## -- Begin function MempIsPageMapped
	.p2align	4, 0x90
_MempIsPageMapped:                      ## @MempIsPageMapped
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_VAtoPXI
	movq	_PxeBase@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpl	$0, 8(%rcx,%rax)
	je	LBB0_6
## %bb.1:
	movslq	(%rcx,%rax), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %rbx
	imulq	%rax, %rbx
	movq	%r12, %rdi
	callq	_VAtoPPI
	shlq	$4, %rax
	cmpl	$0, (%rbx,%rax)
	je	LBB0_6
## %bb.2:
	movslq	8(%rbx,%rax), %rax
	movslq	(%r15), %rbx
	imulq	%rax, %rbx
	movq	%r12, %rdi
	callq	_VAtoPDI
	shlq	$4, %rax
	cmpl	$0, (%rbx,%rax)
	je	LBB0_6
## %bb.3:
	movslq	8(%rbx,%rax), %rax
	movslq	(%r15), %rbx
	imulq	%rax, %rbx
	movq	%r12, %rdi
	callq	_VAtoPTI
	shlq	$4, %rax
	cmpl	$0, (%rbx,%rax)
	jne	LBB0_4
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %r14
LBB0_6:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PxeBase,8,3                    ## @PxeBase
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MempIsPageMapped               ; -- Begin function MempIsPageMapped
	.p2align	2
_MempIsPageMapped:                      ; @MempIsPageMapped
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_VAtoPXI
Lloh0:
	adrp	x8, _PxeBase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PxeBase@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x8, x0, lsl #4
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_4
; %bb.1:
	lsl	x9, x0, #4
	ldrsw	x8, [x8, x9]
Lloh3:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
	ldrsw	x9, [x21]
	mul	x20, x9, x8
	mov	x0, x19
	bl	_VAtoPPI
	lsl	x8, x0, #4
	ldr	w8, [x20, x8]
	cbz	w8, LBB0_4
; %bb.2:
	add	x8, x20, x0, lsl #4
	ldrsw	x8, [x8, #8]
	ldrsw	x9, [x21]
	mul	x22, x9, x8
	mov	x0, x19
	bl	_VAtoPDI
	lsl	x8, x0, #4
	ldr	w8, [x22, x8]
Lloh5:
	adrp	x20, _FALSE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cbz	w8, LBB0_5
; %bb.3:
	add	x8, x22, x0, lsl #4
	ldrsw	x8, [x8, #8]
	ldrsw	x9, [x21]
	mul	x21, x9, x8
	mov	x0, x19
	bl	_VAtoPTI
	lsl	x8, x0, #4
	ldr	w8, [x21, x8]
Lloh7:
	adrp	x9, _TRUE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
	cmp	w8, #0
	csel	x20, x20, x9, eq
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x20, _FALSE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PxeBase,8,3                    ; @PxeBase
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
