	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_get_interrupt_shadow
_svm_get_interrupt_shadow:              ## @svm_get_interrupt_shadow
	.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
	movl	%esi, %ebx
	callq	_to_svm
	movq	(%rax), %rax
	movq	_SVM_INTERRUPT_SHADOW_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_X86_SHADOW_INT_STI@GOTPCREL(%rip), %rdx
	movq	_X86_SHADOW_INT_MOV_SS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdx), %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	andl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVM_INTERRUPT_SHADOW_MASK,4,2  ## @SVM_INTERRUPT_SHADOW_MASK
	.comm	_X86_SHADOW_INT_STI,4,2         ## @X86_SHADOW_INT_STI
	.comm	_X86_SHADOW_INT_MOV_SS,4,2      ## @X86_SHADOW_INT_MOV_SS
	.no_dead_strip	_svm_get_interrupt_shadow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_get_interrupt_shadow
_svm_get_interrupt_shadow:              ; @svm_get_interrupt_shadow
	.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
	bl	_to_svm
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SVM_INTERRUPT_SHADOW_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVM_INTERRUPT_SHADOW_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _X86_SHADOW_INT_STI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _X86_SHADOW_INT_STI@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _X86_SHADOW_INT_MOV_SS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _X86_SHADOW_INT_MOV_SS@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w9, w8
	csel	w8, wzr, w10, eq
	and	w0, w8, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVM_INTERRUPT_SHADOW_MASK,4,2  ; @SVM_INTERRUPT_SHADOW_MASK
	.comm	_X86_SHADOW_INT_STI,4,2         ; @X86_SHADOW_INT_STI
	.comm	_X86_SHADOW_INT_MOV_SS,4,2      ; @X86_SHADOW_INT_MOV_SS
	.no_dead_strip	_svm_get_interrupt_shadow
.subsections_via_symbols
