	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_platform_optin            ## -- Begin function dmar_platform_optin
	.p2align	4, 0x90
_dmar_platform_optin:                   ## @dmar_platform_optin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ACPI_SIG_DMAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	leaq	-16(%rbp), %rdx
	xorl	%esi, %esi
	callq	_acpi_get_table
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rdi
	movq	_DMAR_PLATFORM_OPT_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	andl	(%rdi), %eax
	setne	%bl
	callq	_acpi_put_table
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_SIG_DMAR,4,2              ## @ACPI_SIG_DMAR
	.comm	_DMAR_PLATFORM_OPT_IN,4,2       ## @DMAR_PLATFORM_OPT_IN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_platform_optin            ; -- Begin function dmar_platform_optin
	.p2align	2
_dmar_platform_optin:                   ; @dmar_platform_optin
	.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
Lloh0:
	adrp	x8, _ACPI_SIG_DMAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_SIG_DMAR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #0
	bl	_acpi_get_table
	bl	_ACPI_FAILURE
	mov	w19, #0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _DMAR_PLATFORM_OPT_IN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMAR_PLATFORM_OPT_IN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w19, ne
	bl	_acpi_put_table
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_SIG_DMAR,4,2              ; @ACPI_SIG_DMAR
	.comm	_DMAR_PLATFORM_OPT_IN,4,2       ; @DMAR_PLATFORM_OPT_IN
.subsections_via_symbols
