	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_clear_nmi_window_exiting
_vmx_clear_nmi_window_exiting:          ## @vmx_clear_nmi_window_exiting
	.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
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movslq	%esi, %rbx
	movslq	(%rax,%rbx,4), %rsi
	movq	_PROCBASED_NMI_WINDOW_EXITING@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	movl	(%r15), %eax
	andl	%esi, %eax
	setne	%dil
	callq	_KASSERT
	movl	(%r15), %esi
	notl	%esi
	movq	8(%r14), %rax
	andl	(%rax,%rbx,4), %esi
	movl	%esi, (%rax,%rbx,4)
	movq	_VMCS_PRI_PROC_BASED_CTLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_write
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VCPU_CTR0                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PROCBASED_NMI_WINDOW_EXITING,4,2 ## @PROCBASED_NMI_WINDOW_EXITING
	.comm	_VMCS_PRI_PROC_BASED_CTLS,4,2   ## @VMCS_PRI_PROC_BASED_CTLS
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Disabling NMI window exiting"

	.no_dead_strip	_vmx_clear_nmi_window_exiting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_clear_nmi_window_exiting
_vmx_clear_nmi_window_exiting:          ; @vmx_clear_nmi_window_exiting
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	sbfiz	x21, x19, #2, #32
	ldrsw	x1, [x8, x21]
Lloh0:
	adrp	x22, _PROCBASED_NMI_WINDOW_EXITING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PROCBASED_NMI_WINDOW_EXITING@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w1
	cset	w0, ne
	bl	_KASSERT
	ldr	w8, [x22]
	ldr	x9, [x20, #8]
	ldr	w10, [x9, x21]
	bic	w1, w10, w8
	str	w1, [x9, x21]
Lloh2:
	adrp	x8, _VMCS_PRI_PROC_BASED_CTLS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMCS_PRI_PROC_BASED_CTLS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_vmcs_write
	ldr	w0, [x20]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	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	_VCPU_CTR0
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PROCBASED_NMI_WINDOW_EXITING,4,2 ; @PROCBASED_NMI_WINDOW_EXITING
	.comm	_VMCS_PRI_PROC_BASED_CTLS,4,2   ; @VMCS_PRI_PROC_BASED_CTLS
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Disabling NMI window exiting"

	.no_dead_strip	_vmx_clear_nmi_window_exiting
.subsections_via_symbols
