	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_fault_intr_clear
_dmar_fault_intr_clear:                 ## @dmar_fault_intr_clear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_DMAR_FSTS_ITE@GOTPCREL(%rip), %rbx
	testl	%esi, (%rbx)
	je	LBB0_1
## %bb.2:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	(%rbx), %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_DMAR_FSTS_ICE@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	orl	(%r12), %ebx
LBB0_5:
	movq	_DMAR_FSTS_IQE@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_7
## %bb.6:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	orl	(%r12), %ebx
LBB0_7:
	movq	_DMAR_FSTS_APF@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_9
## %bb.8:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	orl	(%r12), %ebx
LBB0_9:
	movq	_DMAR_FSTS_AFO@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_11
## %bb.10:
	movl	(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	orl	(%r12), %ebx
LBB0_11:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.13:
	movq	_DMAR_FSTS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dmar_write4                    ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAR_FSTS_ITE,4,2              ## @DMAR_FSTS_ITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMAR%d: Invalidation timed out\n"

	.comm	_DMAR_FSTS_ICE,4,2              ## @DMAR_FSTS_ICE
L_.str.1:                               ## @.str.1
	.asciz	"DMAR%d: Invalidation completion error\n"

	.comm	_DMAR_FSTS_IQE,4,2              ## @DMAR_FSTS_IQE
L_.str.2:                               ## @.str.2
	.asciz	"DMAR%d: Invalidation queue error\n"

	.comm	_DMAR_FSTS_APF,4,2              ## @DMAR_FSTS_APF
L_.str.3:                               ## @.str.3
	.asciz	"DMAR%d: Advanced pending fault\n"

	.comm	_DMAR_FSTS_AFO,4,2              ## @DMAR_FSTS_AFO
L_.str.4:                               ## @.str.4
	.asciz	"DMAR%d: Advanced fault overflow\n"

	.comm	_DMAR_FSTS_REG,4,2              ## @DMAR_FSTS_REG
	.no_dead_strip	_dmar_fault_intr_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_fault_intr_clear
_dmar_fault_intr_clear:                 ; @dmar_fault_intr_clear
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _DMAR_FSTS_ITE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DMAR_FSTS_ITE@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w20, [x20]
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
Lloh4:
	adrp	x22, _DMAR_FSTS_ICE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _DMAR_FSTS_ICE@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x19]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x22]
	orr	w20, w8, w20
LBB0_5:
Lloh8:
	adrp	x22, _DMAR_FSTS_IQE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _DMAR_FSTS_IQE@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x22]
	orr	w20, w8, w20
LBB0_7:
Lloh12:
	adrp	x22, _DMAR_FSTS_APF@GOTPAGE
Lloh13:
	ldr	x22, [x22, _DMAR_FSTS_APF@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	w1, [x19]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w8, [x22]
	orr	w20, w8, w20
LBB0_9:
Lloh16:
	adrp	x22, _DMAR_FSTS_AFO@GOTPAGE
Lloh17:
	ldr	x22, [x22, _DMAR_FSTS_AFO@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:
	ldr	w1, [x19]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w8, [x22]
	orr	w20, w8, w20
LBB0_11:
	cbz	w20, LBB0_13
; %bb.12:
Lloh20:
	adrp	x8, _DMAR_FSTS_REG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DMAR_FSTS_REG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dmar_write4
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAR_FSTS_ITE,4,2              ; @DMAR_FSTS_ITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMAR%d: Invalidation timed out\n"

	.comm	_DMAR_FSTS_ICE,4,2              ; @DMAR_FSTS_ICE
l_.str.1:                               ; @.str.1
	.asciz	"DMAR%d: Invalidation completion error\n"

	.comm	_DMAR_FSTS_IQE,4,2              ; @DMAR_FSTS_IQE
l_.str.2:                               ; @.str.2
	.asciz	"DMAR%d: Invalidation queue error\n"

	.comm	_DMAR_FSTS_APF,4,2              ; @DMAR_FSTS_APF
l_.str.3:                               ; @.str.3
	.asciz	"DMAR%d: Advanced pending fault\n"

	.comm	_DMAR_FSTS_AFO,4,2              ; @DMAR_FSTS_AFO
l_.str.4:                               ; @.str.4
	.asciz	"DMAR%d: Advanced fault overflow\n"

	.comm	_DMAR_FSTS_REG,4,2              ; @DMAR_FSTS_REG
	.no_dead_strip	_dmar_fault_intr_clear
.subsections_via_symbols
