	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_phys_fictitious_to_vm_page  ## -- Begin function vm_phys_fictitious_to_vm_page
	.p2align	4, 0x90
_vm_phys_fictitious_to_vm_page:         ## @vm_phys_fictitious_to_vm_page
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rdi, -48(%rbp)
	movq	$0, -32(%rbp)
	movq	_vm_phys_fictitious_reg_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_rw_rlock
	movq	_fict_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_vm_phys_fictitious_tree@GOTPCREL(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_RB_FIND
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_rw_runlock
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %r15
	subq	(%rbx), %r14
	movq	%r14, %rdi
	callq	_atop
	leaq	(%r15,%rax,4), %rbx
	movq	_PG_FICTITIOUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	andl	(%r15,%rax,4), %ecx
	setne	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_phys_fictitious_reg_lock,4,2 ## @vm_phys_fictitious_reg_lock
	.comm	_fict_tree,4,2                  ## @fict_tree
	.comm	_vm_phys_fictitious_tree,4,2    ## @vm_phys_fictitious_tree
	.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	_vm_phys_fictitious_to_vm_page  ; -- Begin function vm_phys_fictitious_to_vm_page
	.p2align	2
_vm_phys_fictitious_to_vm_page:         ; @vm_phys_fictitious_to_vm_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	x0, [sp, #8]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x21, _vm_phys_fictitious_reg_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vm_phys_fictitious_reg_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_rw_rlock
Lloh2:
	adrp	x8, _fict_tree@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fict_tree@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, _vm_phys_fictitious_tree@GOTPAGE
Lloh6:
	ldr	x1, [x1, _vm_phys_fictitious_tree@GOTPAGEOFF]
	add	x2, sp, #8
	bl	_RB_FIND
	mov	x20, x0
	mov	x0, x21
	bl	_rw_runlock
	cbz	x20, LBB0_2
; %bb.1:
	ldp	x8, x21, [x20]
	sub	x0, x19, x8
	bl	_atop
	add	x19, x21, x0, lsl #2
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _PG_FICTITIOUS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PG_FICTITIOUS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	mov	x1, x19
	bl	_KASSERT
	b	LBB0_3
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_phys_fictitious_reg_lock,4,2 ; @vm_phys_fictitious_reg_lock
	.comm	_fict_tree,4,2                  ; @fict_tree
	.comm	_vm_phys_fictitious_tree,4,2    ; @vm_phys_fictitious_tree
	.comm	_PG_FICTITIOUS,4,2              ; @PG_FICTITIOUS
.subsections_via_symbols
