	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_find_iter
_dmar_find_iter:                        ## @dmar_find_iter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_ACPI_DMAR_TYPE_HARDWARE_UNIT@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rsi)
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_DMAR_TYPE_HARDWARE_UNIT,8,3 ## @ACPI_DMAR_TYPE_HARDWARE_UNIT
	.no_dead_strip	_dmar_find_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_find_iter
_dmar_find_iter:                        ; @dmar_find_iter
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _ACPI_DMAR_TYPE_HARDWARE_UNIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ACPI_DMAR_TYPE_HARDWARE_UNIT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x1]
	cbz	x9, LBB0_4
; %bb.2:
	sub	x8, x9, #1
	str	x8, [x1]
LBB0_3:
	mov	w0, #1
	ret
LBB0_4:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_DMAR_TYPE_HARDWARE_UNIT,8,3 ; @ACPI_DMAR_TYPE_HARDWARE_UNIT
	.no_dead_strip	_dmar_find_iter
.subsections_via_symbols
