	.file	"extr_pcie-spear13xx.c_spear13xx_pcie_irq_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spear13xx_pcie_irq_handler, @function
spear13xx_pcie_irq_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	r12, QWORD PTR 8[rsi]
	mov	r13, QWORD PTR [rsi]
	lea	rdi, 4[r12]
	call	readl@PLT
	mov	ebp, eax
	test	DWORD PTR MSI_CTRL_INT[rip], eax
	jne	.L8
.L2:
	mov	rsi, r12
	mov	edi, ebp
	call	writel@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR CONFIG_PCI_MSI[rip]
	call	IS_ENABLED@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	BUG_ON@PLT
	mov	rdi, r13
	call	dw_handle_msi_irq@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	spear13xx_pcie_irq_handler, .-spear13xx_pcie_irq_handler
	.comm	MSI_CTRL_INT,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	CONFIG_PCI_MSI,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_pcie-spear13xx.c_spear13xx_pcie_irq_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spear13xx_pcie_irq_handler, %function
spear13xx_pcie_irq_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r1, #4]
	ldr	r6, [r1]
	add	r0, r5, #4
	bl	readl
	ldr	r3, .L9
	mov	r4, r0
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L8
.L2:
	mov	r1, r5
	mov	r0, r4
	bl	writel
	ldr	r3, .L9+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	bl	IS_ENABLED
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r0, r6
	bl	dw_handle_msi_irq
	b	.L2
.L10:
	.align	2
.L9:
	.word	MSI_CTRL_INT
	.word	IRQ_HANDLED
	.word	CONFIG_PCI_MSI
	.size	spear13xx_pcie_irq_handler, .-spear13xx_pcie_irq_handler
	.comm	MSI_CTRL_INT,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	CONFIG_PCI_MSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
