	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_domain_is_sp_lvl               ## -- Begin function domain_is_sp_lvl
	.p2align	4, 0x90
_domain_is_sp_lvl:                      ## @domain_is_sp_lvl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	notl	%ebx
	addl	(%rdi), %ebx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_DMAR_CAP_SPS
	movl	%eax, %r14d
	leaq	_domain_is_sp_lvl.sagaw_sp(%rip), %r15
	movq	%r15, %rdi
	callq	_nitems
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jge	LBB0_2
## %bb.1:
	movslq	%ebx, %rcx
	xorl	%eax, %eax
	testl	%r14d, (%r15,%rcx,4)
	setne	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @domain_is_sp_lvl.sagaw_sp
_domain_is_sp_lvl.sagaw_sp:
	.long	129                             ## 0x81
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	130                             ## 0x82

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_domain_is_sp_lvl               ; -- Begin function domain_is_sp_lvl
	.p2align	2
_domain_is_sp_lvl:                      ; @domain_is_sp_lvl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0]
	mvn	w9, w1
	add	w21, w8, w9
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_DMAR_CAP_SPS
	mov	x19, x0
Lloh0:
	adrp	x20, _domain_is_sp_lvl.sagaw_sp@PAGE
Lloh1:
	add	x20, x20, _domain_is_sp_lvl.sagaw_sp@PAGEOFF
	mov	x0, x20
	bl	_nitems
	cmp	w21, w0
	b.ge	LBB0_2
; %bb.1:
	ldr	w8, [x20, w21, sxtw #2]
	tst	w8, w19
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @domain_is_sp_lvl.sagaw_sp
_domain_is_sp_lvl.sagaw_sp:
	.long	129                             ; 0x81
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	130                             ; 0x82

.subsections_via_symbols
