	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_handle_dmar_rmrr
_acpi_handle_dmar_rmrr:                 ## @acpi_handle_dmar_rmrr
	.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
	movq	%rdi, %r14
	movl	$10, %edi
	callq	_putchar
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	4(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	16(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r14), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%r14), %ebx
	addl	$-24, %ebx
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.1:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r14), %rdi
	addq	%r14, %rdi
	movl	%ebx, %eax
	subq	%rax, %rdi
	movl	%ebx, %esi
	callq	_acpi_handle_dmar_devscope
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	%eax, %ebx
	testl	%ebx, %ebx
	jg	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"\tLength=%d\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"\tBaseAddress=0x%016jx\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tLimitAddress=0x%016jx\n"

L_.str.6:                               ## @.str.6
	.asciz	"\tDevice Scope:"

L_str:                                  ## @str
	.asciz	"\tType=RMRR"

	.no_dead_strip	_acpi_handle_dmar_rmrr
.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_rmrr
_acpi_handle_dmar_rmrr:                 ; @acpi_handle_dmar_rmrr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w0, #10
	bl	_putchar
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x19]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w8, [x19, #4]
	sub	w20, w8, #24
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
Lloh10:
	adrp	x0, l_.str.6@PAGE
Lloh11:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19, #4]
	add	x8, x19, x8
	sub	x0, x8, w20, uxtw
	mov	x1, x20
	bl	_acpi_handle_dmar_devscope
	sub	w20, w20, w0
	cmp	w0, #1
	ccmp	w20, #0, #4, ge
	b.gt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"\tLength=%d\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"\tBaseAddress=0x%016jx\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tLimitAddress=0x%016jx\n"

l_.str.6:                               ; @.str.6
	.asciz	"\tDevice Scope:"

l_str:                                  ; @str
	.asciz	"\tType=RMRR"

	.no_dead_strip	_acpi_handle_dmar_rmrr
.subsections_via_symbols
