	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guest_vaddr2paddr
_guest_vaddr2paddr:                     ## @guest_vaddr2paddr
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	leaq	-40(%rbp), %rsi
	callq	_guest_paging_info
	movl	$-1, %r12d
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-40(%rbp), %rdx
	movl	%ebx, %esi
	movl	%r15d, %ecx
	movq	%r14, %r9
	callq	_vm_gla2gpa_nofault
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	xorl	%r12d, %r12d
	cmpl	$0, -44(%rbp)
	sete	%r12b
LBB0_3:
	movl	%r12d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,4,2                        ## @ctx
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.no_dead_strip	_guest_vaddr2paddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guest_vaddr2paddr
_guest_vaddr2paddr:                     ; @guest_vaddr2paddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #8
	bl	_guest_paging_info
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ctx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x2, sp, #8
	add	x6, sp, #4
	mov	x1, x21
	mov	x3, x20
	mov	x5, x19
	bl	_vm_gla2gpa_nofault
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [sp, #4]
	cmp	w8, #0
	cset	w0, eq
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,4,2                        ; @ctx
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.no_dead_strip	_guest_vaddr2paddr
.subsections_via_symbols
