	.file	"extr_lpfc_init.c_lpfc_sli4_enable_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpfc_sli4_enable_intr, @function
lpfc_sli4_enable_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12d, DWORD PTR LPFC_INTR_ERROR[rip]
	cmp	esi, 2
	je	.L14
	mov	rax, QWORD PTR [rdi]
	test	esi, esi
	jg	.L4
.L5:
	cmp	QWORD PTR NONE[rip], rax
	je	.L15
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	call	lpfc_sli4_enable_msix@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR [rbx]
.L4:
	cmp	QWORD PTR NONE[rip], rax
	jne	.L1
.L16:
	mov	rdi, rbx
	call	lpfc_sli4_enable_msi@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 24[rbx]
	mov	ecx, DWORD PTR LPFC_DRIVER_NAME[rip]
	mov	r8, rbx
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	mov	esi, DWORD PTR lpfc_sli4_intr_handler[rip]
	mov	edi, DWORD PTR [rax]
	call	request_irq@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR INTx[rip]
	mov	ecx, DWORD PTR 8[rbx]
	mov	QWORD PTR [rbx], rax
	test	ecx, ecx
	jle	.L10
	mov	rdx, QWORD PTR 16[rbx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR [rdx], eax
	add	eax, 1
	add	rdx, 16
	mov	QWORD PTR -8[rdx], rbx
	cmp	ecx, eax
	jne	.L9
.L10:
	xor	r12d, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR MSIX[rip]
	cmp	QWORD PTR NONE[rip], rax
	mov	r12d, 2
	mov	QWORD PTR [rbx], rax
	jne	.L1
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR MSI[rip]
	mov	r12d, 1
	mov	QWORD PTR [rbx], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	lpfc_sli4_enable_intr, .-lpfc_sli4_enable_intr
	.comm	lpfc_sli4_intr_handler,4,4
	.comm	NONE,8,8
	.comm	MSIX,8,8
	.comm	MSI,8,8
	.comm	LPFC_INTR_ERROR,4,4
	.comm	LPFC_DRIVER_NAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	INTx,8,8
	.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_lpfc_init.c_lpfc_sli4_enable_intr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_sli4_enable_intr, %function
lpfc_sli4_enable_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L16
	cmp	r1, #2
	mov	r5, r1
	mov	r4, r0
	ldr	r6, [r3]
	sub	sp, sp, #8
	beq	.L15
	cmp	r1, #0
	ldr	r3, [r0]
	bgt	.L4
	ldr	r5, .L16+4
.L5:
	ldr	r2, [r5]
	cmp	r2, r3
	bne	.L1
	ldr	r2, [r4, #12]
	ldr	r3, .L16+8
	ldr	r0, [r2]
	ldr	r1, .L16+12
	ldr	r2, .L16+16
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	request_irq
	subs	r3, r0, #0
	bne	.L1
	ldr	r1, .L16+20
	ldr	r2, [r4, #4]
	ldr	r1, [r1]
	cmp	r2, #0
	str	r1, [r4]
	ldrgt	r1, [r4, #8]
	addgt	r0, r1, #4
	ble	.L10
.L9:
	str	r3, [r1, r3, lsl #3]
	str	r4, [r0, r3, lsl #3]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L9
.L10:
	mov	r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	bl	lpfc_sli4_enable_msix
	cmp	r0, #0
	moveq	r6, r5
	ldreq	r3, .L16+24
	ldrne	r3, [r4]
	ldreq	r3, [r3]
	streq	r3, [r4]
.L4:
	ldr	r5, .L16+4
	ldr	r2, [r5]
	cmp	r2, r3
	bne	.L1
	mov	r0, r4
	bl	lpfc_sli4_enable_msi
	cmp	r0, #0
	ldreq	r3, .L16+28
	moveq	r6, #1
	ldreq	r3, [r3]
	ldrne	r3, [r4]
	streq	r3, [r4]
	b	.L5
.L17:
	.align	2
.L16:
	.word	LPFC_INTR_ERROR
	.word	NONE
	.word	LPFC_DRIVER_NAME
	.word	lpfc_sli4_intr_handler
	.word	IRQF_SHARED
	.word	INTx
	.word	MSIX
	.word	MSI
	.size	lpfc_sli4_enable_intr, .-lpfc_sli4_enable_intr
	.comm	lpfc_sli4_intr_handler,4,4
	.comm	NONE,4,4
	.comm	MSIX,4,4
	.comm	MSI,4,4
	.comm	LPFC_INTR_ERROR,4,4
	.comm	LPFC_DRIVER_NAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	INTx,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
