	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_translate  ## -- Begin function kvm_arch_vcpu_ioctl_translate
	.p2align	4, 0x90
_kvm_arch_vcpu_ioctl_translate:         ## @kvm_arch_vcpu_ioctl_translate
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r15
	callq	_vcpu_load
	movq	(%r14), %rdi
	callq	_srcu_read_lock
	movl	%eax, %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_kvm_mmu_gva_to_gpa_system
	movq	%rax, %r15
	movq	(%r14), %rdi
	movl	%r12d, %esi
	callq	_srcu_read_unlock
	movq	%r15, 24(%rbx)
	movq	_UNMAPPED_GVA@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	(%rax), %r15
	setne	%cl
	movl	%ecx, 8(%rbx)
	movl	$1, 12(%rbx)
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	callq	_vcpu_put
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNMAPPED_GVA,8,3               ## @UNMAPPED_GVA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_translate  ; -- Begin function kvm_arch_vcpu_ioctl_translate
	.p2align	2
_kvm_arch_vcpu_ioctl_translate:         ; @kvm_arch_vcpu_ioctl_translate
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
	bl	_vcpu_load
	ldr	x0, [x20]
	bl	_srcu_read_lock
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_kvm_mmu_gva_to_gpa_system
	mov	x21, x0
	ldr	x0, [x20]
	mov	x1, x22
	bl	_srcu_read_unlock
Lloh0:
	adrp	x8, _UNMAPPED_GVA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNMAPPED_GVA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x8
	cset	w8, ne
	mov	w9, #1
	stp	w8, w9, [x19, #8]
	stp	xzr, x21, [x19, #16]
	mov	x0, x20
	bl	_vcpu_put
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_UNMAPPED_GVA,8,3               ; @UNMAPPED_GVA
.subsections_via_symbols
