	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nested_svm_intr
_nested_svm_intr:                       ## @nested_svm_intr
	.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	%rdi, %rbx
	callq	_is_nested
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	movl	24(%rbx), %ecx
	movq	_HF_VINTR_MASK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.2:
	movq	_HF_HIF_MASK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.3:
	movq	_SVM_EXIT_INTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	16(%rbx), %rdx
	movl	%ecx, (%rdx)
	testb	$1, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	$1, 8(%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_nsvm_printk
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HF_VINTR_MASK,4,2              ## @HF_VINTR_MASK
	.comm	_HF_HIF_MASK,4,2                ## @HF_HIF_MASK
	.comm	_SVM_EXIT_INTR,4,2              ## @SVM_EXIT_INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VMexit -> INTR\n"

	.no_dead_strip	_nested_svm_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nested_svm_intr
_nested_svm_intr:                       ; @nested_svm_intr
	.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, x0
	bl	_is_nested
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19, #24]
Lloh0:
	adrp	x9, _HF_VINTR_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HF_VINTR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _HF_HIF_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HF_HIF_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _SVM_EXIT_INTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVM_EXIT_INTR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldrb	w8, [x19]
	tbnz	w8, #0, LBB0_6
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w20, #1
	str	w20, [x19, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_nsvm_printk
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HF_VINTR_MASK,4,2              ; @HF_VINTR_MASK
	.comm	_HF_HIF_MASK,4,2                ; @HF_HIF_MASK
	.comm	_SVM_EXIT_INTR,4,2              ; @SVM_EXIT_INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VMexit -> INTR\n"

	.no_dead_strip	_nested_svm_intr
.subsections_via_symbols
