	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_set_nmi_window_exiting
_vmx_set_nmi_window_exiting:            ## @vmx_set_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %ecx
	movq	_PROCBASED_NMI_WINDOW_EXITING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r14
	orl	%ecx, %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(%rip), %rdx
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	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:                                 ## @.str
	.asciz	"Enabling NMI window exiting"

	.no_dead_strip	_vmx_set_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_set_nmi_window_exiting
_vmx_set_nmi_window_exiting:            ; @vmx_set_nmi_window_exiting
	.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
	ldr	x8, [x0, #8]
	ldr	w9, [x8, w1, sxtw #2]
Lloh0:
	adrp	x10, _PROCBASED_NMI_WINDOW_EXITING@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PROCBASED_NMI_WINDOW_EXITING@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	sxtw	x11, w19
	orr	w1, w10, w9
	str	w1, [x8, x11, lsl #2]
Lloh3:
	adrp	x8, _VMCS_PRI_PROC_BASED_CTLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMCS_PRI_PROC_BASED_CTLS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_vmcs_write
	ldr	w0, [x20]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_VCPU_CTR0
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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:                                 ; @.str
	.asciz	"Enabling NMI window exiting"

	.no_dead_strip	_vmx_set_nmi_window_exiting
.subsections_via_symbols
