	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_fini_fault_log            ## -- Begin function dmar_fini_fault_log
	.p2align	4, 0x90
_dmar_fini_fault_log:                   ## @dmar_fini_fault_log
	.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
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	callq	_DMAR_LOCK
	movq	%rbx, %rdi
	callq	_dmar_disable_fault_intr
	movq	%rbx, %rdi
	callq	_DMAR_UNLOCK
	movq	32(%rbx), %rdi
	leaq	40(%rbx), %rsi
	callq	_taskqueue_drain
	movq	32(%rbx), %rdi
	callq	_taskqueue_free
	movq	$0, 32(%rbx)
	leaq	24(%rbx), %rdi
	callq	_mtx_destroy
	movq	16(%rbx), %rdi
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmar_fini_fault_log            ; -- Begin function dmar_fini_fault_log
	.p2align	2
_dmar_fini_fault_log:                   ; @dmar_fini_fault_log
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_DMAR_LOCK
	mov	x0, x19
	bl	_dmar_disable_fault_intr
	mov	x0, x19
	bl	_DMAR_UNLOCK
	ldr	x0, [x19, #32]
	add	x1, x19, #40
	bl	_taskqueue_drain
	ldr	x0, [x19, #32]
	bl	_taskqueue_free
	str	xzr, [x19, #32]
	add	x0, x19, #24
	bl	_mtx_destroy
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _M_DEVBUF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_DEVBUF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_free
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
.subsections_via_symbols
