	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd_iommu_report_page_fault
_amd_iommu_report_page_fault:           ## @amd_iommu_report_page_fault
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_PCI_BUS_NUM
	movzbl	%bl, %edx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_pci_get_domain_bus_and_slot
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r13, %rdi
	callq	_get_dev_data
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rdi
	callq	___ratelimit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_pci_err
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_printk_ratelimit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	callq	_PCI_BUS_NUM
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_PCI_SLOT
	movl	%r15d, %r14d
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_PCI_FUNC
	movl	%r12d, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_pr_err
LBB0_7:
	testq	%r13, %r13
	je	LBB0_8
LBB0_4:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_dev_put                    ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Event logged [IO_PAGE_FAULT domain=0x%04x address=0x%llx flags=0x%04x]\n"

L_.str.1:                               ## @.str.1
	.asciz	"Event logged [IO_PAGE_FAULT device=%02x:%02x.%x domain=0x%04x address=0x%llx flags=0x%04x]\n"

	.no_dead_strip	_amd_iommu_report_page_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd_iommu_report_page_fault
_amd_iommu_report_page_fault:           ; @amd_iommu_report_page_fault
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	bl	_PCI_BUS_NUM
	mov	x1, x0
	and	w2, w23, #0xff
	mov	w0, #0
	bl	_pci_get_domain_bus_and_slot
	mov	x22, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_get_dev_data
	cbz	x0, LBB0_4
; %bb.2:
	bl	___ratelimit
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_pci_err
	b	LBB0_7
LBB0_4:
	bl	_printk_ratelimit
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_PCI_BUS_NUM
	mov	x24, x0
	mov	x0, x23
	bl	_PCI_SLOT
	mov	x25, x0
	mov	x0, x23
	bl	_PCI_FUNC
	mov	x3, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x24
	mov	x2, x25
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_pr_err
LBB0_6:
	cbz	x22, LBB0_8
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pci_dev_put
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Event logged [IO_PAGE_FAULT domain=0x%04x address=0x%llx flags=0x%04x]\n"

l_.str.1:                               ; @.str.1
	.asciz	"Event logged [IO_PAGE_FAULT device=%02x:%02x.%x domain=0x%04x address=0x%llx flags=0x%04x]\n"

	.no_dead_strip	_amd_iommu_report_page_fault
.subsections_via_symbols
