	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_get_regs   ## -- Begin function kvm_arch_vcpu_ioctl_get_regs
	.p2align	4, 0x90
_kvm_arch_vcpu_ioctl_get_regs:          ## @kvm_arch_vcpu_ioctl_get_regs
	.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, %r14
	movq	%rdi, %rbx
	callq	_vcpu_load
	movq	_VCPU_REGS_RAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 128(%r14)
	movq	_VCPU_REGS_RBX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 120(%r14)
	movq	_VCPU_REGS_RCX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 112(%r14)
	movq	_VCPU_REGS_RDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 104(%r14)
	movq	_VCPU_REGS_RSI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 96(%r14)
	movq	_VCPU_REGS_RDI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 88(%r14)
	movq	_VCPU_REGS_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 80(%r14)
	movq	_VCPU_REGS_RBP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kvm_register_read
	movq	%rax, 72(%r14)
	movq	%rbx, %rdi
	callq	_kvm_rip_read
	movl	%eax, 4(%r14)
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, (%r14)
	movq	_KVM_GUESTDBG_SINGLESTEP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_X86_EFLAGS_TF@GOTPCREL(%rip), %rcx
	movq	_X86_EFLAGS_RF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
	movl	%eax, (%r14)
LBB0_2:
	movq	%rbx, %rdi
	callq	_vcpu_put
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCPU_REGS_RAX,4,2              ## @VCPU_REGS_RAX
	.comm	_VCPU_REGS_RBX,4,2              ## @VCPU_REGS_RBX
	.comm	_VCPU_REGS_RCX,4,2              ## @VCPU_REGS_RCX
	.comm	_VCPU_REGS_RDX,4,2              ## @VCPU_REGS_RDX
	.comm	_VCPU_REGS_RSI,4,2              ## @VCPU_REGS_RSI
	.comm	_VCPU_REGS_RDI,4,2              ## @VCPU_REGS_RDI
	.comm	_VCPU_REGS_RSP,4,2              ## @VCPU_REGS_RSP
	.comm	_VCPU_REGS_RBP,4,2              ## @VCPU_REGS_RBP
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ## @KVM_GUESTDBG_SINGLESTEP
	.comm	_X86_EFLAGS_TF,4,2              ## @X86_EFLAGS_TF
	.comm	_X86_EFLAGS_RF,4,2              ## @X86_EFLAGS_RF
	.comm	_VCPU_REGS_R10,4,2              ## @VCPU_REGS_R10
	.comm	_VCPU_REGS_R11,4,2              ## @VCPU_REGS_R11
	.comm	_VCPU_REGS_R12,4,2              ## @VCPU_REGS_R12
	.comm	_VCPU_REGS_R13,4,2              ## @VCPU_REGS_R13
	.comm	_VCPU_REGS_R14,4,2              ## @VCPU_REGS_R14
	.comm	_VCPU_REGS_R15,4,2              ## @VCPU_REGS_R15
	.comm	_VCPU_REGS_R8,4,2               ## @VCPU_REGS_R8
	.comm	_VCPU_REGS_R9,4,2               ## @VCPU_REGS_R9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_get_regs   ; -- Begin function kvm_arch_vcpu_ioctl_get_regs
	.p2align	2
_kvm_arch_vcpu_ioctl_get_regs:          ; @kvm_arch_vcpu_ioctl_get_regs
	.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	x20, x1
	mov	x19, x0
	bl	_vcpu_load
Lloh0:
	adrp	x8, _VCPU_REGS_RAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCPU_REGS_RAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #128]
Lloh3:
	adrp	x8, _VCPU_REGS_RBX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VCPU_REGS_RBX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #120]
Lloh6:
	adrp	x8, _VCPU_REGS_RCX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VCPU_REGS_RCX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #112]
Lloh9:
	adrp	x8, _VCPU_REGS_RDX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VCPU_REGS_RDX@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #104]
Lloh12:
	adrp	x8, _VCPU_REGS_RSI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VCPU_REGS_RSI@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #96]
Lloh15:
	adrp	x8, _VCPU_REGS_RDI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VCPU_REGS_RDI@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #88]
Lloh18:
	adrp	x8, _VCPU_REGS_RSP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VCPU_REGS_RSP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #80]
Lloh21:
	adrp	x8, _VCPU_REGS_RBP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VCPU_REGS_RBP@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvm_register_read
	str	x0, [x20, #72]
	mov	x0, x19
	bl	_kvm_rip_read
	str	w0, [x20, #4]
Lloh24:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh25:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	str	w0, [x20]
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _KVM_GUESTDBG_SINGLESTEP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _KVM_GUESTDBG_SINGLESTEP@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh30:
	adrp	x8, _X86_EFLAGS_TF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _X86_EFLAGS_TF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _X86_EFLAGS_RF@GOTPAGE
Lloh34:
	ldr	x9, [x9, _X86_EFLAGS_RF@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
	str	w8, [x20]
LBB0_2:
	mov	x0, x19
	bl	_vcpu_put
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_VCPU_REGS_RAX,4,2              ; @VCPU_REGS_RAX
	.comm	_VCPU_REGS_RBX,4,2              ; @VCPU_REGS_RBX
	.comm	_VCPU_REGS_RCX,4,2              ; @VCPU_REGS_RCX
	.comm	_VCPU_REGS_RDX,4,2              ; @VCPU_REGS_RDX
	.comm	_VCPU_REGS_RSI,4,2              ; @VCPU_REGS_RSI
	.comm	_VCPU_REGS_RDI,4,2              ; @VCPU_REGS_RDI
	.comm	_VCPU_REGS_RSP,4,2              ; @VCPU_REGS_RSP
	.comm	_VCPU_REGS_RBP,4,2              ; @VCPU_REGS_RBP
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ; @KVM_GUESTDBG_SINGLESTEP
	.comm	_X86_EFLAGS_TF,4,2              ; @X86_EFLAGS_TF
	.comm	_X86_EFLAGS_RF,4,2              ; @X86_EFLAGS_RF
	.comm	_VCPU_REGS_R10,4,2              ; @VCPU_REGS_R10
	.comm	_VCPU_REGS_R11,4,2              ; @VCPU_REGS_R11
	.comm	_VCPU_REGS_R12,4,2              ; @VCPU_REGS_R12
	.comm	_VCPU_REGS_R13,4,2              ; @VCPU_REGS_R13
	.comm	_VCPU_REGS_R14,4,2              ; @VCPU_REGS_R14
	.comm	_VCPU_REGS_R15,4,2              ; @VCPU_REGS_R15
	.comm	_VCPU_REGS_R8,4,2               ; @VCPU_REGS_R8
	.comm	_VCPU_REGS_R9,4,2               ; @VCPU_REGS_R9
.subsections_via_symbols
