	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_match_by_path
_dmar_match_by_path:                    ## @dmar_match_by_path
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r15d
	movl	%esi, %ebx
	movl	(%rdi), %edi
	callq	_dmar_find_by_index
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	cmpl	%ebx, (%rax)
	jne	LBB0_8
## %bb.2:
	movq	_ACPI_DMAR_INCLUDE_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_10
## %bb.3:
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rax
LBB0_5:
	movq	%rax, (%r14)
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_10:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	12(%rax), %r14
	movslq	8(%rax), %rbx
	addq	%rax, %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r14
	jae	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	(%r14), %r12
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_dmar_match_devscope
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%r12, %r14
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.14:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_6
## %bb.15:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_DMAR_INCLUDE_ALL,4,2      ## @ACPI_DMAR_INCLUDE_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INCLUDE_ALL"

L_.str.1:                               ## @.str.1
	.asciz	"specific match"

	.no_dead_strip	_dmar_match_by_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_match_by_path
_dmar_match_by_path:                    ; @dmar_match_by_path
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldr	w0, [x0]
	bl	_dmar_find_by_index
	cbz	x0, LBB0_14
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, w23
	b.ne	LBB0_13
; %bb.2:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _ACPI_DMAR_INCLUDE_ALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_DMAR_INCLUDE_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	cbz	x19, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
LBB0_5:
	str	x8, [x19]
LBB0_6:
	mov	w0, #1
	b	LBB0_14
LBB0_7:
	add	x23, x0, #12
	ldrsw	x8, [x0, #8]
	add	x24, x0, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x24
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x25, [x23]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_dmar_match_devscope
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, x25
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.11:
	cbz	x19, LBB0_6
; %bb.12:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_DMAR_INCLUDE_ALL,4,2      ; @ACPI_DMAR_INCLUDE_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INCLUDE_ALL"

l_.str.1:                               ; @.str.1
	.asciz	"specific match"

	.no_dead_strip	_dmar_match_by_path
.subsections_via_symbols
