	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_mmu_page_fault             ## -- Begin function kvm_mmu_page_fault
	.p2align	4, 0x90
_kvm_mmu_page_fault:                    ## @kvm_mmu_page_fault
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	*16(%rdi)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	$1, %ebx
	je	LBB0_10
## %bb.3:
	movq	%r14, %rdi
	callq	_mmu_topup_memory_caches
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	_x86_emulate_instruction
	cmpl	$128, %eax
	je	LBB0_8
## %bb.5:
	movl	$1, %ebx
	cmpl	$130, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.7:
	incl	8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_KVM_EXIT_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	_KVM_INTERNAL_ERROR_EMULATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	$0, (%rcx)
	jmp	LBB0_10
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_EXIT_INTERNAL_ERROR,4,2    ## @KVM_EXIT_INTERNAL_ERROR
	.comm	_KVM_INTERNAL_ERROR_EMULATION,4,2 ## @KVM_INTERNAL_ERROR_EMULATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_mmu_page_fault             ; -- Begin function kvm_mmu_page_fault
	.p2align	2
_kvm_mmu_page_fault:                    ; @kvm_mmu_page_fault
	.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	x20, x4
	mov	x21, x3
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	blr	x8
	tbnz	w0, #31, LBB0_8
; %bb.1:
	cbz	w0, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_mmu_topup_memory_caches
	cbnz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	bl	_x86_emulate_instruction
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.4:
	cmp	w0, #130
	b.eq	LBB0_7
; %bb.5:
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
LBB0_9:
	mov	w0, #0
Lloh0:
	adrp	x8, _KVM_EXIT_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KVM_EXIT_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #8]
Lloh3:
	adrp	x8, _KVM_INTERNAL_ERROR_EMULATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KVM_INTERNAL_ERROR_EMULATION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	wzr, w8, [x9]
	b	LBB0_8
LBB0_10:
	bl	_BUG
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_EXIT_INTERNAL_ERROR,4,2    ; @KVM_EXIT_INTERNAL_ERROR
	.comm	_KVM_INTERNAL_ERROR_EMULATION,4,2 ; @KVM_INTERNAL_ERROR_EMULATION
.subsections_via_symbols
