	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_is_prefaultable           ## -- Begin function pmap_is_prefaultable
	.p2align	4, 0x90
_pmap_is_prefaultable:                  ## @pmap_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_pmap_valid_bit
	movl	%eax, %r12d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_PMAP_LOCK
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_pmap_pde
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_PG_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%r12d, %ecx
	andl	(%rax), %ecx
	cmpl	%r12d, %ecx
	jne	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_pmap_pde_to_pte
	xorl	%r14d, %r14d
	testl	%r12d, (%rax)
	sete	%r14b
LBB0_3:
	movl	%ebx, %edi
	callq	_PMAP_UNLOCK
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PG_PS,4,2                      ## @PG_PS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_is_prefaultable           ; -- Begin function pmap_is_prefaultable
	.p2align	2
_pmap_is_prefaultable:                  ; @pmap_is_prefaultable
	.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	x21, x1
	mov	x19, x0
	bl	_pmap_valid_bit
	mov	x22, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_PMAP_LOCK
	mov	x0, x19
	mov	x1, x21
	bl	_pmap_pde
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _PG_PS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PG_PS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w9, w9, w22
	and	w8, w9, w8
	cmp	w8, w22
	b.ne	LBB0_3
; %bb.2:
	mov	x1, x21
	bl	_pmap_pde_to_pte
	ldr	w8, [x0]
	tst	w8, w22
	cset	w20, eq
LBB0_3:
	mov	x0, x19
	bl	_PMAP_UNLOCK
	mov	x0, 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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PG_PS,4,2                      ; @PG_PS
.subsections_via_symbols
