	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_fpu_activate
_vmx_fpu_activate:                      ## @vmx_fpu_activate
	.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
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	movq	_GUEST_CR0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_X86_CR0_TS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_vmcs_clear_bits
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_kvm_read_cr0_bits
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_vmcs_set_bits
LBB0_3:
	movq	%rbx, %rdi
	callq	_update_exception_bitmap
	movl	(%r14), %esi
	movl	%esi, 4(%rbx)
	movq	_CR0_GUEST_HOST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmcs_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GUEST_CR0,4,2                  ## @GUEST_CR0
	.comm	_X86_CR0_TS,4,2                 ## @X86_CR0_TS
	.comm	_CR0_GUEST_HOST_MASK,4,2        ## @CR0_GUEST_HOST_MASK
	.no_dead_strip	_vmx_fpu_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_fpu_activate
_vmx_fpu_activate:                      ; @vmx_fpu_activate
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	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_2:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0]
Lloh0:
	adrp	x21, _GUEST_CR0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GUEST_CR0@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x20, _X86_CR0_TS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _X86_CR0_TS@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_vmcs_clear_bits
	ldr	w1, [x20]
	mov	x0, x19
	bl	_kvm_read_cr0_bits
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_vmcs_set_bits
LBB0_4:
	mov	x0, x19
	bl	_update_exception_bitmap
	ldr	w8, [x20]
	str	w8, [x19, #4]
Lloh4:
	adrp	x9, _CR0_GUEST_HOST_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CR0_GUEST_HOST_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	mvn	w1, w8
	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
	b	_vmcs_writel
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GUEST_CR0,4,2                  ; @GUEST_CR0
	.comm	_X86_CR0_TS,4,2                 ; @X86_CR0_TS
	.comm	_CR0_GUEST_HOST_MASK,4,2        ; @CR0_GUEST_HOST_MASK
	.no_dead_strip	_vmx_fpu_activate
.subsections_via_symbols
