	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_fix_hypercall              ## -- Begin function kvm_fix_hypercall
	.p2align	4, 0x90
_kvm_fix_hypercall:                     ## @kvm_fix_hypercall
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_kvm_rip_read
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_kvm_mmu_zap_all
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-27(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$3, %edx
	movq	%rbx, %rcx
	callq	_emulator_write_emulated
	movq	_X86EMUL_CONTINUE@GOTPCREL(%rip), %rdx
	movq	_EFAULT@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	subl	(%rsi), %ecx
	cmpq	(%rdx), %rax
	cmovel	%edi, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_X86EMUL_CONTINUE,8,3           ## @X86EMUL_CONTINUE
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_fix_hypercall              ; -- Begin function kvm_fix_hypercall
	.p2align	2
_kvm_fix_hypercall:                     ; @kvm_fix_hypercall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_kvm_rip_read
	mov	x20, x0
	ldr	w0, [x19]
	bl	_kvm_mmu_zap_all
Lloh0:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x1, sp, #13
	mov	x0, x19
	blr	x8
	add	x1, sp, #13
	mov	x0, x20
	mov	w2, #3
	mov	x3, x19
	bl	_emulator_write_emulated
Lloh3:
	adrp	x8, _X86EMUL_CONTINUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X86EMUL_CONTINUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _EFAULT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x0, x8
	csneg	w0, wzr, w9, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_X86EMUL_CONTINUE,8,3           ; @X86EMUL_CONTINUE
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
