	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_set_rflags
_vmx_set_rflags:                        ## @vmx_set_rflags
	.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	_to_vmx
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_to_vmx
	movq	%rbx, (%rax)
	movq	_X86_EFLAGS_IOPL@GOTPCREL(%rip), %rax
	movq	_X86_EFLAGS_VM@GOTPCREL(%rip), %rcx
	orq	(%rax), %rbx
	orq	(%rcx), %rbx
LBB0_2:
	movq	_GUEST_RFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vmcs_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_EFLAGS_IOPL,8,3            ## @X86_EFLAGS_IOPL
	.comm	_X86_EFLAGS_VM,8,3              ## @X86_EFLAGS_VM
	.comm	_GUEST_RFLAGS,4,2               ## @GUEST_RFLAGS
	.no_dead_strip	_vmx_set_rflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_set_rflags
_vmx_set_rflags:                        ; @vmx_set_rflags
	.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	_to_vmx
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_to_vmx
	str	x19, [x0]
Lloh0:
	adrp	x8, _X86_EFLAGS_IOPL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_EFLAGS_IOPL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _X86_EFLAGS_VM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _X86_EFLAGS_VM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x8, x19
	orr	x19, x8, x9
LBB0_2:
Lloh6:
	adrp	x8, _GUEST_RFLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GUEST_RFLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vmcs_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_EFLAGS_IOPL,8,3            ; @X86_EFLAGS_IOPL
	.comm	_X86_EFLAGS_VM,8,3              ; @X86_EFLAGS_VM
	.comm	_GUEST_RFLAGS,4,2               ; @GUEST_RFLAGS
	.no_dead_strip	_vmx_set_rflags
.subsections_via_symbols
