	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_handle_dmar_devscope
_acpi_handle_dmar_devscope:             ## @acpi_handle_dmar_devscope
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	cmpl	$16, %esi
	jl	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	cmpl	%esi, (%rdi)
	jg	LBB0_7
## %bb.2:
	movl	$10, %edi
	callq	_putchar
	movl	12(%r15), %edi
	callq	_devscope_type2str
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	16(%r15), %rcx
	movl	(%r15), %eax
	leal	-16(%rax), %edx
	movslq	%edx, %rdx
	andq	$-8, %rdx
	leaq	(%r15,%rdx), %r12
	addq	$16, %r12
	cmpq	%rcx, %r12
	jbe	LBB0_7
## %bb.3:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	16(%r15), %edx
	movl	20(%r15), %ecx
	leaq	L_.str.6(%rip), %rdi
	movl	$123, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	24(%r15), %rbx
	cmpq	%rbx, %r12
	jbe	LBB0_6
## %bb.4:
	leaq	L_.str.6(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	movq	%r14, %rdi
	movl	$44, %esi
	xorl	%eax, %eax
	callq	_printf
	addq	$8, %rbx
	cmpq	%r12, %rbx
	jb	LBB0_5
LBB0_6:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	(%r15), %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\t\tType=%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"\t\tLength=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"\t\tEnumerationId=%d\n"

L_.str.4:                               ## @.str.4
	.asciz	"\t\tStartBusNumber=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"\t\tPath="

L_.str.6:                               ## @.str.6
	.asciz	"%c%d:%d"

L_str:                                  ## @str
	.asciz	"}"

	.no_dead_strip	_acpi_handle_dmar_devscope
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_handle_dmar_devscope
_acpi_handle_dmar_devscope:             ; @acpi_handle_dmar_devscope
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w1, #16
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	mov	w0, #10
	bl	_putchar
	ldr	w0, [x19, #12]
	bl	_devscope_type2str
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	x8, x19, #16
	ldr	w0, [x19]
	sub	w9, w0, #16
	sxtw	x9, w9
	and	x9, x9, #0xfffffffffffffff8
	add	x21, x8, x9
	cmp	x21, x8
	b.ls	LBB0_3
; %bb.5:
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldp	w8, w9, [x19, #16]
	stp	x8, x9, [sp, #8]
	mov	w9, #123
	str	x9, [sp]
Lloh10:
	adrp	x0, l_.str.6@PAGE
Lloh11:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	add	x22, x19, #24
	cmp	x21, x22
	b.ls	LBB0_8
; %bb.6:
	mov	w23, #44
Lloh12:
	adrp	x20, l_.str.6@PAGE
Lloh13:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [x22], #8
	stp	x8, x9, [sp, #8]
	str	x23, [sp]
	mov	x0, x20
	bl	_printf
	cmp	x22, x21
	b.lo	LBB0_7
LBB0_8:
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w0, [x19]
	b	LBB0_3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\t\tType=%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"\t\tLength=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"\t\tEnumerationId=%d\n"

l_.str.4:                               ; @.str.4
	.asciz	"\t\tStartBusNumber=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"\t\tPath="

l_.str.6:                               ; @.str.6
	.asciz	"%c%d:%d"

l_str:                                  ; @str
	.asciz	"}"

	.no_dead_strip	_acpi_handle_dmar_devscope
.subsections_via_symbols
