	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pte_mfn_to_pfn
_pte_mfn_to_pfn:                        ## @pte_mfn_to_pfn
	.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	%edi, %ebx
	movq	__PAGE_PRESENT@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_PTE_PFN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %eax
	movslq	%eax, %rdi
	movq	_PTE_FLAGS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	callq	_mfn_to_pfn
	movb	(%r14), %cl
	shll	%cl, %eax
	orl	%ebx, %eax
	movl	%eax, %ebx
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PAGE_PRESENT,4,2              ## @_PAGE_PRESENT
	.comm	_PTE_PFN_MASK,4,2               ## @PTE_PFN_MASK
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_PTE_FLAGS_MASK,4,2             ## @PTE_FLAGS_MASK
	.no_dead_strip	_pte_mfn_to_pfn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pte_mfn_to_pfn
_pte_mfn_to_pfn:                        ; @pte_mfn_to_pfn
	.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
Lloh0:
	adrp	x8, __PAGE_PRESENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PAGE_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PTE_PFN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTE_PFN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x19, _PAGE_SHIFT@GOTPAGE
Lloh7:
	ldr	x19, [x19, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	w9, [x19]
	asr	w8, w8, w9
	sxtw	x8, w8
Lloh8:
	adrp	x9, _PTE_FLAGS_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PTE_FLAGS_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w20, w9, w0
	mov	x0, x8
	bl	_mfn_to_pfn
	ldr	w8, [x19]
	lsl	w8, w0, w8
	orr	w0, w8, w20
LBB0_2:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__PAGE_PRESENT,4,2              ; @_PAGE_PRESENT
	.comm	_PTE_PFN_MASK,4,2               ; @PTE_PFN_MASK
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_PTE_FLAGS_MASK,4,2             ; @PTE_FLAGS_MASK
	.no_dead_strip	_pte_mfn_to_pfn
.subsections_via_symbols
