	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmap_has_valid_mapping
_pmap_has_valid_mapping:                ## @pmap_has_valid_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-16(%rbp), %rdx
	leaq	-8(%rbp), %rcx
	callq	_pmap_get_pde_pte
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	-8(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_L2_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_L2_TYPE_INV@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L2_TYPE_MASK,4,2               ## @L2_TYPE_MASK
	.comm	_L2_TYPE_INV,4,2                ## @L2_TYPE_INV
	.no_dead_strip	_pmap_has_valid_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmap_has_valid_mapping
_pmap_has_valid_mapping:                ; @pmap_has_valid_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	add	x2, sp, #8
	mov	x3, sp
	bl	_pmap_get_pde_pte
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _L2_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L2_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _L2_TYPE_INV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _L2_TYPE_INV@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_L2_TYPE_MASK,4,2               ; @L2_TYPE_MASK
	.comm	_L2_TYPE_INV,4,2                ; @L2_TYPE_INV
	.no_dead_strip	_pmap_has_valid_mapping
.subsections_via_symbols
