	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_inv_ctx_glob              ## -- Begin function dmar_inv_ctx_glob
	.p2align	4, 0x90
_dmar_inv_ctx_glob:                     ## @dmar_inv_ctx_glob
	.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, %rbx
	callq	_DMAR_ASSERT_LOCKED
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_DMAR_CCMD_REG@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_DMAR_CCMD_ICC@GOTPCREL(%rip), %rax
	movq	_DMAR_CCMD_CIRG_GLOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_dmar_write8
	movq	(%r14), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_dmar_read4
	movq	_DMAR_CCMD_ICC32@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DMAR_WAIT_UNTIL                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QI enabled"

	.comm	_DMAR_CCMD_REG,8,3              ## @DMAR_CCMD_REG
	.comm	_DMAR_CCMD_ICC,4,2              ## @DMAR_CCMD_ICC
	.comm	_DMAR_CCMD_CIRG_GLOB,4,2        ## @DMAR_CCMD_CIRG_GLOB
	.comm	_DMAR_CCMD_ICC32,4,2            ## @DMAR_CCMD_ICC32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_inv_ctx_glob              ; -- Begin function dmar_inv_ctx_glob
	.p2align	2
_dmar_inv_ctx_glob:                     ; @dmar_inv_ctx_glob
	.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
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh2:
	adrp	x20, _DMAR_CCMD_REG@GOTPAGE
Lloh3:
	ldr	x20, [x20, _DMAR_CCMD_REG@GOTPAGEOFF]
Lloh4:
	adrp	x8, _DMAR_CCMD_ICC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DMAR_CCMD_ICC@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _DMAR_CCMD_CIRG_GLOB@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DMAR_CCMD_CIRG_GLOB@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_dmar_write8
	ldr	x8, [x20]
	add	x1, x8, #4
	mov	x0, x19
	bl	_dmar_read4
Lloh10:
	adrp	x8, _DMAR_CCMD_ICC32@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DMAR_CCMD_ICC32@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DMAR_WAIT_UNTIL
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QI enabled"

	.comm	_DMAR_CCMD_REG,8,3              ; @DMAR_CCMD_REG
	.comm	_DMAR_CCMD_ICC,4,2              ; @DMAR_CCMD_ICC
	.comm	_DMAR_CCMD_CIRG_GLOB,4,2        ; @DMAR_CCMD_CIRG_GLOB
	.comm	_DMAR_CCMD_ICC32,4,2            ; @DMAR_CCMD_ICC32
.subsections_via_symbols
