	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_nmi_blocking
_enable_nmi_blocking:                   ## @enable_nmi_blocking
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_nmi_blocked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %esi
	callq	_VCPU_CTR0
	movq	_VMCB_CTRL1_INTCPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VMCB_INTCPT_IRET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_svm_enable_intercept           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vNMI already blocked"

L_.str.1:                               ## @.str.1
	.asciz	"vNMI blocking enabled"

	.comm	_VMCB_CTRL1_INTCPT,4,2          ## @VMCB_CTRL1_INTCPT
	.comm	_VMCB_INTCPT_IRET,4,2           ## @VMCB_INTCPT_IRET
	.no_dead_strip	_enable_nmi_blocking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_nmi_blocking
_enable_nmi_blocking:                   ; @enable_nmi_blocking
	.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	_nmi_blocked
	cmp	w0, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w0, [x20]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_VCPU_CTR0
Lloh4:
	adrp	x8, _VMCB_CTRL1_INTCPT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VMCB_CTRL1_INTCPT@GOTPAGEOFF]
Lloh6:
	adrp	x9, _VMCB_INTCPT_IRET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VMCB_INTCPT_IRET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	ldr	w3, [x9]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svm_enable_intercept
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vNMI already blocked"

l_.str.1:                               ; @.str.1
	.asciz	"vNMI blocking enabled"

	.comm	_VMCB_CTRL1_INTCPT,4,2          ; @VMCB_CTRL1_INTCPT
	.comm	_VMCB_INTCPT_IRET,4,2           ; @VMCB_INTCPT_IRET
	.no_dead_strip	_enable_nmi_blocking
.subsections_via_symbols
