	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_qi_invalidate_ctx_glob_locked ## -- Begin function dmar_qi_invalidate_ctx_glob_locked
	.p2align	4, 0x90
_dmar_qi_invalidate_ctx_glob_locked:    ## @dmar_qi_invalidate_ctx_glob_locked
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_DMAR_ASSERT_LOCKED
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_dmar_qi_ensure
	movq	_DMAR_IQ_DESCR_CTX_INV@GOTPCREL(%rip), %rax
	movq	_DMAR_IQ_DESCR_CTX_GLOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dmar_qi_emit
	leaq	-24(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_dmar_qi_emit_wait_seq
	movq	%rbx, %rdi
	callq	_dmar_qi_advance_tail
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_dmar_qi_wait_for_seq
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAR_IQ_DESCR_CTX_INV,4,2      ## @DMAR_IQ_DESCR_CTX_INV
	.comm	_DMAR_IQ_DESCR_CTX_GLOB,4,2     ## @DMAR_IQ_DESCR_CTX_GLOB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_qi_invalidate_ctx_glob_locked ; -- Begin function dmar_qi_invalidate_ctx_glob_locked
	.p2align	2
_dmar_qi_invalidate_ctx_glob_locked:    ; @dmar_qi_invalidate_ctx_glob_locked
	.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
	bl	_DMAR_ASSERT_LOCKED
	mov	x0, x19
	mov	w1, #2
	bl	_dmar_qi_ensure
Lloh0:
	adrp	x8, _DMAR_IQ_DESCR_CTX_INV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAR_IQ_DESCR_CTX_INV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DMAR_IQ_DESCR_CTX_GLOB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMAR_IQ_DESCR_CTX_GLOB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_dmar_qi_emit
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_dmar_qi_emit_wait_seq
	mov	x0, x19
	bl	_dmar_qi_advance_tail
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_dmar_qi_wait_for_seq
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAR_IQ_DESCR_CTX_INV,4,2      ; @DMAR_IQ_DESCR_CTX_INV
	.comm	_DMAR_IQ_DESCR_CTX_GLOB,4,2     ; @DMAR_IQ_DESCR_CTX_GLOB
.subsections_via_symbols
