	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_context_table
_dump_context_table:                    ## @dump_context_table
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_DMAR_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edx, %edi
	callq	_acpi_map_physical
	movq	%rax, %rbx
	movq	_DMAR_CTX_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_DMAR_CTX1_ASR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%rbx,%r12,8), %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	4(%rbx,%r12,8), %edi
	callq	_DMAR_CTX2_GET_DID
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	$10, %edi
	callq	_putchar
	movq	_DMAR_CTX_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DMAR_CTX1_P@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rbx,%r12,8)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_printf
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	%r12d, %ecx
	callq	_pci_find_conf
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r14d
	shrl	$3, %r14d
	movl	%r12d, %r15d
	andl	$7, %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_pci_find_conf
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13), %esi
	movl	16(%r13), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r13), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_printf
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMAR_CTX1_FPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx,%r12,8)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAR_PAGE_SIZE,4,2             ## @DMAR_PAGE_SIZE
	.comm	_DMAR_CTX_CNT,4,2               ## @DMAR_CTX_CNT
	.comm	_DMAR_CTX1_P,4,2                ## @DMAR_CTX1_P
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tPCI bus %d:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t    { %d,%d }"

L_.str.2:                               ## @.str.2
	.asciz	" (%s%lu)"

L_.str.3:                               ## @.str.3
	.asciz	"\t    { %d,%d } (absent)"

	.comm	_DMAR_CTX1_FPD,4,2              ## @DMAR_CTX1_FPD
L_.str.4:                               ## @.str.4
	.asciz	" FPD"

L_.str.8:                               ## @.str.8
	.asciz	" TT3?"

L_.str.9:                               ## @.str.9
	.asciz	" SLPT %#jx"

	.comm	_DMAR_CTX1_ASR_MASK,4,2         ## @DMAR_CTX1_ASR_MASK
L_.str.10:                              ## @.str.10
	.asciz	" domain %d"

	.no_dead_strip	_dump_context_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_context_table
_dump_context_table:                    ; @dump_context_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DMAR_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAR_PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_acpi_map_physical
Lloh3:
	adrp	x8, _DMAR_CTX_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMAR_CTX_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x21, x0
	mov	x22, #0
	mov	w9, #0
Lloh6:
	adrp	x25, _DMAR_CTX1_P@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DMAR_CTX1_P@GOTPAGEOFF]
Lloh8:
	adrp	x26, l_.str.9@PAGE
Lloh9:
	add	x26, x26, l_.str.9@PAGEOFF
Lloh10:
	adrp	x27, l_.str.10@PAGE
Lloh11:
	add	x27, x27, l_.str.10@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x0, l_.str.8@PAGE
Lloh13:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _DMAR_CTX1_ASR_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DMAR_CTX1_ASR_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	x8, [sp]
	mov	x0, x26
	bl	_printf
	ldr	w0, [x21, #4]
	bl	_DMAR_CTX2_GET_DID
	str	x0, [sp]
	mov	x0, x27
	bl	_printf
	mov	w0, #10
	bl	_putchar
Lloh17:
	adrp	x8, _DMAR_CTX_CNT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DMAR_CTX_CNT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mov	w9, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	add	x21, x21, #8
	cmp	x22, w8, sxtw
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x21]
	ldr	w11, [x25]
	tst	w11, w10
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x19, [sp]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x22
	bl	_pci_find_conf
	mov	x23, x0
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ubfx	x28, x22, #3, #29
	and	w24, w22, #0x7
	mov	x0, x20
	mov	x1, x19
	mov	x2, x28
	mov	x3, x24
	bl	_pci_find_conf
	mov	x23, x0
	cbz	x0, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w8, w9, [x23, #12]
	stp	x8, x9, [sp]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	x8, [x23]
	ldrb	w9, [x8]
	cbz	w9, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x23, #8]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	stp	x28, x24, [sp]
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_printf
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
Lloh28:
	adrp	x9, _DMAR_CTX1_FPD@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DMAR_CTX1_FPD@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	b	LBB0_2
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAR_PAGE_SIZE,4,2             ; @DMAR_PAGE_SIZE
	.comm	_DMAR_CTX_CNT,4,2               ; @DMAR_CTX_CNT
	.comm	_DMAR_CTX1_P,4,2                ; @DMAR_CTX1_P
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tPCI bus %d:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t    { %d,%d }"

l_.str.2:                               ; @.str.2
	.asciz	" (%s%lu)"

l_.str.3:                               ; @.str.3
	.asciz	"\t    { %d,%d } (absent)"

	.comm	_DMAR_CTX1_FPD,4,2              ; @DMAR_CTX1_FPD
l_.str.4:                               ; @.str.4
	.asciz	" FPD"

l_.str.8:                               ; @.str.8
	.asciz	" TT3?"

l_.str.9:                               ; @.str.9
	.asciz	" SLPT %#jx"

	.comm	_DMAR_CTX1_ASR_MASK,4,2         ; @DMAR_CTX1_ASR_MASK
l_.str.10:                              ; @.str.10
	.asciz	" domain %d"

	.no_dead_strip	_dump_context_table
.subsections_via_symbols
