	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_mmu_unprotect_page_virt    ## -- Begin function kvm_mmu_unprotect_page_virt
	.p2align	4, 0x90
_kvm_mmu_unprotect_page_virt:           ## @kvm_mmu_unprotect_page_virt
	.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
	movq	_tdp_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	%rdi, %rbx
	xorl	%edx, %edx
	callq	_kvm_mmu_gva_to_gpa_read
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_spin_lock
	movq	(%rbx), %rdi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r14d
	movl	%r14d, %esi
	callq	_kvm_mmu_unprotect_page
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tdp_enabled,8,3                ## @tdp_enabled
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_mmu_unprotect_page_virt    ; -- Begin function kvm_mmu_unprotect_page_virt
	.p2align	2
_kvm_mmu_unprotect_page_virt:           ; @kvm_mmu_unprotect_page_virt
	.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, _tdp_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tdp_enabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	mov	x2, #0
	bl	_kvm_mmu_gva_to_gpa_read
	mov	x20, x0
	ldr	x0, [x19]
	bl	_spin_lock
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	asr	w1, w20, w8
	bl	_kvm_mmu_unprotect_page
	mov	x20, x0
	ldr	x0, [x19]
	bl	_spin_unlock
	mov	x0, x20
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tdp_enabled,8,3                ; @tdp_enabled
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
.subsections_via_symbols
