	.file	"extr_kfd_iommu.c_iommu_invalid_ppr_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Invalid PPR device %x:%x.%x pasid %d address 0x%lX flags 0x%X"
	.text
	.p2align 4
	.type	iommu_invalid_ppr_cb, @function
iommu_invalid_ppr_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rdi]
	call	PCI_FUNC@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r15d, eax
	call	PCI_SLOT@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14d, eax
	call	PCI_BUS_NUM@PLT
	push	rbx
	.cfi_def_cfa_offset 72
	mov	edi, DWORD PTR kfd_device[rip]
	mov	ecx, r14d
	push	r13
	.cfi_def_cfa_offset 80
	mov	edx, eax
	mov	r9d, r12d
	mov	r8d, r15d
	lea	rsi, .LC0[rip]
	call	dev_warn_ratelimited@PLT
	mov	rdi, rbp
	call	kfd_device_by_pci_dev@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	WARN_ON@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	eax, eax
	je	.L5
.L2:
	mov	eax, DWORD PTR AMD_IOMMU_INV_PRI_RSP_INVALID[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	ecx, DWORD PTR PPR_FAULT_WRITE[rip]
	mov	rdx, r13
	mov	esi, r12d
	mov	rdi, rbp
	and	ecx, ebx
	and	ebx, DWORD PTR PPR_FAULT_EXEC[rip]
	mov	r8d, ebx
	call	kfd_signal_iommu_event@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	iommu_invalid_ppr_cb, .-iommu_invalid_ppr_cb
	.comm	kfd_device,4,4
	.comm	PPR_FAULT_WRITE,4,4
	.comm	PPR_FAULT_EXEC,4,4
	.comm	AMD_IOMMU_INV_PRI_RSP_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_kfd_iommu.c_iommu_invalid_ppr_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid PPR device %x:%x.%x pasid %d address 0x%lX "
	.ascii	"flags 0x%X\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iommu_invalid_ppr_cb, %function
iommu_invalid_ppr_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	ip, .L6
	sub	sp, sp, #16
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r10, [ip]
	mov	r6, r1
	mov	r7, r2
	mov	r5, r3
	bl	PCI_BUS_NUM
	mov	r8, r0
	ldr	r0, [r4]
	bl	PCI_SLOT
	mov	r9, r0
	ldr	r0, [r4]
	bl	PCI_FUNC
	mov	r1, r0
	mov	r3, r9
	mov	r2, r8
	str	r1, [sp]
	mov	r0, r10
	ldr	r1, .L6+4
	stmib	sp, {r6, r7}
	str	r5, [sp, #12]
	bl	dev_warn_ratelimited
	mov	r0, r4
	bl	kfd_device_by_pci_dev
	mov	r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L6+8
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r2, .L6+12
	ldr	r3, .L6+16
	ldr	ip, [r2]
	ldr	r3, [r3]
	and	ip, ip, r5
	and	r3, r3, r5
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	str	ip, [sp]
	bl	kfd_signal_iommu_event
	ldr	r3, .L6+8
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	kfd_device
	.word	.LC0
	.word	AMD_IOMMU_INV_PRI_RSP_INVALID
	.word	PPR_FAULT_EXEC
	.word	PPR_FAULT_WRITE
	.size	iommu_invalid_ppr_cb, .-iommu_invalid_ppr_cb
	.comm	kfd_device,4,4
	.comm	PPR_FAULT_WRITE,4,4
	.comm	PPR_FAULT_EXEC,4,4
	.comm	AMD_IOMMU_INV_PRI_RSP_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
