	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_interrupt_allowed
_svm_interrupt_allowed:                 ## @svm_interrupt_allowed
	.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
	callq	_to_svm
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	_X86_EFLAGS_IF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, 4(%rax)
	je	LBB0_6
## %bb.1:
	movq	_SVM_INTERRUPT_SHADOW_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_gif_set
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_is_nested
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_HF_VINTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rbx)
	sete	%r14b
	jmp	LBB0_6
LBB0_4:
	movl	$1, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_EFLAGS_IF,4,2              ## @X86_EFLAGS_IF
	.comm	_SVM_INTERRUPT_SHADOW_MASK,4,2  ## @SVM_INTERRUPT_SHADOW_MASK
	.comm	_HF_VINTR_MASK,4,2              ## @HF_VINTR_MASK
	.no_dead_strip	_svm_interrupt_allowed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_interrupt_allowed
_svm_interrupt_allowed:                 ; @svm_interrupt_allowed
	.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
	bl	_to_svm
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #4]
Lloh0:
	adrp	x10, _X86_EFLAGS_IF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _X86_EFLAGS_IF@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SVM_INTERRUPT_SHADOW_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVM_INTERRUPT_SHADOW_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x0
	bl	_gif_set
	cbz	x0, LBB0_3
; %bb.5:
	mov	x0, x19
	bl	_is_nested
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _HF_VINTR_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HF_VINTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	b	LBB0_3
LBB0_7:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_EFLAGS_IF,4,2              ; @X86_EFLAGS_IF
	.comm	_SVM_INTERRUPT_SHADOW_MASK,4,2  ; @SVM_INTERRUPT_SHADOW_MASK
	.comm	_HF_VINTR_MASK,4,2              ; @HF_VINTR_MASK
	.no_dead_strip	_svm_interrupt_allowed
.subsections_via_symbols
