	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_vcpu_ioctl_x86_get_vcpu_events
_kvm_vcpu_ioctl_x86_get_vcpu_events:    ## @kvm_vcpu_ioctl_x86_get_vcpu_events
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_vcpu_load
	movl	36(%r14), %eax
	movl	%eax, 88(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 84(%rbx)
	movl	28(%r14), %eax
	movl	%eax, 80(%rbx)
	movq	$0, 72(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 64(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 56(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 52(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 48(%rbx)
	movq	$0, 40(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	_KVM_VCPUEVENT_VALID_NMI_PENDING@GOTPCREL(%rip), %rax
	movq	_KVM_VCPUEVENT_VALID_SIPI_VECTOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vcpu_put                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_KVM_VCPUEVENT_VALID_NMI_PENDING,4,2 ## @KVM_VCPUEVENT_VALID_NMI_PENDING
	.comm	_KVM_VCPUEVENT_VALID_SIPI_VECTOR,4,2 ## @KVM_VCPUEVENT_VALID_SIPI_VECTOR
	.no_dead_strip	_kvm_vcpu_ioctl_x86_get_vcpu_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_vcpu_ioctl_x86_get_vcpu_events
_kvm_vcpu_ioctl_x86_get_vcpu_events:    ; @kvm_vcpu_ioctl_x86_get_vcpu_events
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_vcpu_load
	ldr	w8, [x20, #36]
	str	w8, [x19, #88]
	ldur	d0, [x20, #28]
	str	d0, [x19, #80]
	ldp	w9, w8, [x20, #20]
	str	w8, [x19, #64]
	str	xzr, [x19, #72]
	str	w9, [x19, #56]
	ldur	d0, [x20, #12]
	str	d0, [x19, #48]
	str	xzr, [x19, #40]
	ldur	d0, [x20, #4]
	stur	d0, [x19, #28]
Lloh0:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	str	w0, [x19, #24]
	str	xzr, [x19, #16]
	ldr	w8, [x20]
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _KVM_VCPUEVENT_VALID_NMI_PENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KVM_VCPUEVENT_VALID_NMI_PENDING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _KVM_VCPUEVENT_VALID_SIPI_VECTOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KVM_VCPUEVENT_VALID_SIPI_VECTOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	add	x0, x19, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vcpu_put
	.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	_KVM_VCPUEVENT_VALID_NMI_PENDING,4,2 ; @KVM_VCPUEVENT_VALID_NMI_PENDING
	.comm	_KVM_VCPUEVENT_VALID_SIPI_VECTOR,4,2 ; @KVM_VCPUEVENT_VALID_SIPI_VECTOR
	.no_dead_strip	_kvm_vcpu_ioctl_x86_get_vcpu_events
.subsections_via_symbols
