	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_enable_translation        ## -- Begin function dmar_enable_translation
	.p2align	4, 0x90
_dmar_enable_translation:               ## @dmar_enable_translation
	.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	%rdi, %rbx
	callq	_DMAR_ASSERT_LOCKED
	movq	_DMAR_GCMD_TE@GOTPCREL(%rip), %rax
	movl	(%rbx), %edx
	orl	(%rax), %edx
	movl	%edx, (%rbx)
	movq	_DMAR_GCMD_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dmar_write4
	movq	_DMAR_GSTS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dmar_read4
	movq	_DMAR_GSTS_TES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	setne	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DMAR_WAIT_UNTIL                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAR_GCMD_TE,4,2               ## @DMAR_GCMD_TE
	.comm	_DMAR_GCMD_REG,4,2              ## @DMAR_GCMD_REG
	.comm	_DMAR_GSTS_REG,4,2              ## @DMAR_GSTS_REG
	.comm	_DMAR_GSTS_TES,4,2              ## @DMAR_GSTS_TES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_enable_translation        ; -- Begin function dmar_enable_translation
	.p2align	2
_dmar_enable_translation:               ; @dmar_enable_translation
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_DMAR_ASSERT_LOCKED
Lloh0:
	adrp	x8, _DMAR_GCMD_TE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAR_GCMD_TE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w2, w9, w8
	str	w2, [x19]
Lloh3:
	adrp	x8, _DMAR_GCMD_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMAR_GCMD_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dmar_write4
Lloh6:
	adrp	x8, _DMAR_GSTS_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMAR_GSTS_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dmar_read4
Lloh9:
	adrp	x8, _DMAR_GSTS_TES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMAR_GSTS_TES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DMAR_WAIT_UNTIL
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAR_GCMD_TE,4,2               ; @DMAR_GCMD_TE
	.comm	_DMAR_GCMD_REG,4,2              ; @DMAR_GCMD_REG
	.comm	_DMAR_GSTS_REG,4,2              ; @DMAR_GSTS_REG
	.comm	_DMAR_GSTS_TES,4,2              ; @DMAR_GSTS_TES
.subsections_via_symbols
