	.file	"extr_pci-epc-core.c_pci_epc_set_msi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pci_epc_set_msi
	.type	pci_epc_set_msi, @function
pci_epc_set_msi:
.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
	mov	r14, rsi
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	call	IS_ERR_OR_NULL@PLT
	test	rax, rax
	jne	.L2
	cmp	QWORD PTR 0[rbp], r14
	jle	.L2
	cmp	r13, 32
	jg	.L2
	mov	rax, QWORD PTR 16[rbp]
	xor	r12d, r12d
	cmp	QWORD PTR [rax], 0
	je	.L1
	mov	rdi, r13
	xor	r15d, r15d
	lea	r13, 8[rbp]
	call	order_base_2@PLT
	mov	rsi, r15
	mov	rdi, r13
	mov	r12, rax
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	rsi, r15
	mov	rdi, r13
	mov	r12d, eax
	call	spin_unlock_irqrestore@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	pci_epc_set_msi, .-pci_epc_set_msi
	.comm	EINVAL,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_pci-epc-core.c_pci_epc_set_msi.c"
	.text
	.align	2
	.global	pci_epc_set_msi
	.syntax unified
	.arm
	.fpu softvfp
	.type	pci_epc_set_msi, %function
pci_epc_set_msi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r2
	mov	r5, r0
	bl	IS_ERR_OR_NULL
	subs	r4, r0, #0
	bne	.L2
	cmp	r7, #32
	movle	r3, #0
	movgt	r3, #1
	ldr	r2, [r5]
	cmp	r2, r6
	orrle	r3, r3, #1
	cmp	r3, #0
	beq	.L3
.L2:
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r3, [r5, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	mov	r0, r7
	bl	order_base_2
	mov	r8, #0
	mov	r4, r0
	add	r7, r5, #4
	mov	r1, r8
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r3, [r5, #8]
	mov	r2, r4
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r5
	blx	r3
	mov	r4, r0
	mov	r1, r8
	mov	r0, r7
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.size	pci_epc_set_msi, .-pci_epc_set_msi
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
