	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_clear_hlt
_vmx_clear_hlt:                         ## @vmx_clear_hlt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_yield_on_hlt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_GUEST_ACTIVITY_STATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_vmcs_read32
	movq	_GUEST_ACTIVITY_HLT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	movq	_GUEST_ACTIVITY_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vmcs_write32                   ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yield_on_hlt,4,2               ## @yield_on_hlt
	.comm	_GUEST_ACTIVITY_STATE,4,2       ## @GUEST_ACTIVITY_STATE
	.comm	_GUEST_ACTIVITY_HLT,8,3         ## @GUEST_ACTIVITY_HLT
	.comm	_GUEST_ACTIVITY_ACTIVE,4,2      ## @GUEST_ACTIVITY_ACTIVE
	.no_dead_strip	_vmx_clear_hlt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_clear_hlt
_vmx_clear_hlt:                         ; @vmx_clear_hlt
	.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
Lloh0:
	adrp	x8, _yield_on_hlt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yield_on_hlt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x19, _GUEST_ACTIVITY_STATE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _GUEST_ACTIVITY_STATE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_vmcs_read32
Lloh5:
	adrp	x8, _GUEST_ACTIVITY_HLT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GUEST_ACTIVITY_HLT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _GUEST_ACTIVITY_ACTIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GUEST_ACTIVITY_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vmcs_write32
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_yield_on_hlt,4,2               ; @yield_on_hlt
	.comm	_GUEST_ACTIVITY_STATE,4,2       ; @GUEST_ACTIVITY_STATE
	.comm	_GUEST_ACTIVITY_HLT,8,3         ; @GUEST_ACTIVITY_HLT
	.comm	_GUEST_ACTIVITY_ACTIVE,4,2      ; @GUEST_ACTIVITY_ACTIVE
	.no_dead_strip	_vmx_clear_hlt
.subsections_via_symbols
