	.file	"extr_qlcnic_main.c_qlcnic_request_irq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"qlcnic"
.LC1:
	.string	"%s-tx-0-rx-%d"
.LC2:
	.string	"%s-rx-%d"
.LC3:
	.string	"%s-tx-%d"
	.text
	.p2align 4
	.type	qlcnic_request_irq, @function
qlcnic_request_irq:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 48[rdi]
	mov	r15, QWORD PTR 40[rdi]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR QLCNIC_INTERRUPT_TEST[rip]
	je	.L37
	mov	edx, DWORD PTR [rdi]
	test	DWORD PTR QLCNIC_MSIX_ENABLED[rip], edx
	jne	.L38
	test	DWORD PTR QLCNIC_MSI_ENABLED[rip], edx
	je	.L7
	mov	r13d, DWORD PTR qlcnic_msi_intr[rip]
	xor	r14d, r14d
.L5:
	mov	rsi, QWORD PTR 8[rsp]
	cmp	QWORD PTR QLCNIC_LOOPBACK_TEST[rip], rax
	mov	edx, DWORD PTR 8[rsi]
	mov	DWORD PTR 32[rbp], edx
	je	.L16
	mov	rdi, rbp
	call	qlcnic_82xx_check@PLT
	test	rax, rax
	je	.L11
.L17:
	mov	eax, DWORD PTR 4[rbp]
	xor	ebx, ebx
	lea	edx, -1[rax]
	mov	DWORD PTR 28[rsp], edx
	mov	QWORD PTR 16[rsp], rdx
	test	eax, eax
	jg	.L22
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 8[rsp]
	lea	rdx, .LC2[rip]
	mov	esi, 4
	mov	rcx, QWORD PTR [rax]
	xor	eax, eax
	call	snprintf@PLT
.L21:
	mov	edi, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR [r12]
	mov	r8, r12
	mov	rdx, r14
	mov	esi, r13d
	call	request_irq@PLT
	test	eax, eax
	jne	.L1
	lea	rax, 1[rbx]
	cmp	QWORD PTR 16[rsp], rbx
	je	.L13
	mov	rbx, rax
.L22:
	mov	rax, QWORD PTR [r15]
	mov	rdi, rbp
	mov	DWORD PTR 24[rsp], ebx
	lea	r12, [rax+rbx*8]
	call	qlcnic_82xx_check@PLT
	mov	edi, DWORD PTR [r12]
	mov	r8d, DWORD PTR 24[rsp]
	test	rax, rax
	je	.L19
	cmp	DWORD PTR 28[rsp], ebx
	jne	.L19
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR QLCNIC_MSIX_ENABLED[rip], eax
	jne	.L20
	lea	rdx, .LC0[rip]
	mov	esi, 4
	xor	eax, eax
	call	snprintf@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L38:
	mov	r13d, DWORD PTR qlcnic_msix_intr[rip]
	xor	r14d, r14d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	call	qlcnic_83xx_check@PLT
	test	rax, rax
	je	.L13
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR QLCNIC_MSIX_ENABLED[rip], eax
	jne	.L17
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	qlcnic_83xx_check@PLT
	test	rax, rax
	je	.L16
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR QLCNIC_MSIX_ENABLED[rip], eax
	je	.L16
	test	DWORD PTR QLCNIC_TX_INTR_SHARED[rip], eax
	je	.L39
	.p2align 4,,10
	.p2align 3
.L16:
	xor	eax, eax
.L1:
	add	rsp, 40
	.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
.L20:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	esi, 4
	lea	rdx, .LC1[rip]
	mov	rcx, QWORD PTR [rax]
	xor	eax, eax
	call	snprintf@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L37:
	call	qlcnic_82xx_check@PLT
	mov	rdi, rbp
	mov	r13d, 0
	test	rax, rax
	cmovne	r13d, DWORD PTR qlcnic_tmp_intr[rip]
	call	QLCNIC_IS_MSI_FAMILY@PLT
	test	eax, eax
	jne	.L40
	mov	rax, QWORD PTR 24[rbp]
	mov	r14, QWORD PTR IRQF_SHARED[rip]
	mov	rax, QWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rax, QWORD PTR 24[rbp]
	xor	r14d, r14d
	mov	rax, QWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r14, QWORD PTR IRQF_SHARED[rip]
	call	qlcnic_82xx_check@PLT
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR 24[rbp]
	mov	r13d, DWORD PTR qlcnic_intr[rip]
	mov	rax, QWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 24[rbp]
	mov	r13d, DWORD PTR qlcnic_83xx_intr[rip]
	mov	rax, QWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L39:
	mov	eax, DWORD PTR 8[rbp]
	mov	ebx, DWORD PTR qlcnic_msix_tx_intr[rip]
	test	eax, eax
	jle	.L16
	mov	rax, rbp
	xor	r13d, r13d
	lea	r12, .LC3[rip]
	mov	ebp, ebx
	mov	rbx, rax
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L41:
	add	r13, 1
	cmp	DWORD PTR 8[rbx], r13d
	jle	.L16
.L23:
	mov	rax, QWORD PTR 16[rbx]
	mov	r8d, r13d
	mov	rdx, r12
	mov	esi, 4
	lea	r15, [rax+r13*8]
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [r15]
	mov	rcx, QWORD PTR [rax]
	xor	eax, eax
	call	snprintf@PLT
	mov	edi, DWORD PTR 4[r15]
	mov	ecx, DWORD PTR [r15]
	mov	r8, r15
	mov	rdx, r14
	mov	esi, ebp
	call	request_irq@PLT
	test	eax, eax
	je	.L41
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	qlcnic_request_irq, .-qlcnic_request_irq
	.comm	qlcnic_tmp_intr,4,4
	.comm	qlcnic_msix_tx_intr,4,4
	.comm	qlcnic_msix_intr,4,4
	.comm	qlcnic_msi_intr,4,4
	.comm	qlcnic_intr,4,4
	.comm	qlcnic_83xx_intr,4,4
	.comm	QLCNIC_TX_INTR_SHARED,4,4
	.comm	QLCNIC_MSI_ENABLED,4,4
	.comm	QLCNIC_MSIX_ENABLED,4,4
	.comm	QLCNIC_LOOPBACK_TEST,8,8
	.comm	QLCNIC_INTERRUPT_TEST,8,8
	.comm	IRQF_SHARED,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_qlcnic_main.c_qlcnic_request_irq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"qlcnic\000"
	.align	2
.LC1:
	.ascii	"%s-tx-0-rx-%d\000"
	.align	2
.LC2:
	.ascii	"%s-rx-%d\000"
	.align	2
.LC3:
	.ascii	"%s-tx-%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_request_irq, %function
qlcnic_request_irq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L42
	ldr	r3, [r0, #16]
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #28
	cmp	r3, r2
	ldr	r2, [r0, #24]
	mov	r5, r0
	ldr	r10, [r0, #28]
	str	r2, [sp, #12]
	beq	.L36
	ldr	r1, .L42+4
	ldr	r2, [r0]
	ldr	r8, [r1]
	ands	r8, r2, r8
	bne	.L37
	ldr	r1, .L42+8
	ldr	r1, [r1]
	tst	r2, r1
	beq	.L7
	ldr	r2, .L42+12
	ldr	fp, [r2]
.L5:
	ldr	r2, .L42+16
	ldr	r1, [r10, #4]
	ldr	r2, [r2]
	str	r1, [r5, #20]
	cmp	r2, r3
	beq	.L16
	mov	r0, r5
	bl	qlcnic_82xx_check
	cmp	r0, #0
	beq	.L11
.L17:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	str	r3, [sp, #16]
	ble	.L13
	ldr	r3, [sp, #16]
	mov	r4, #0
	sub	r3, r3, #1
	str	r3, [sp, #20]
	b	.L12
.L39:
	ldr	r3, [sp, #20]
	ldr	r0, [r6, r4, lsl #3]
	cmp	r3, r4
	beq	.L38
.L19:
	ldr	r3, [r10]
	mov	r1, #4
	ldr	r2, .L42+20
	str	r4, [sp]
	bl	snprintf
.L21:
	ldr	r3, [r6, r9]
	ldr	r0, [r7, #4]
	mov	r2, r8
	mov	r1, fp
	str	r7, [sp]
	bl	request_irq
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L1
	ldr	r3, [sp, #16]
	cmp	r3, r4
	beq	.L13
.L12:
	ldr	r3, [sp, #12]
	mov	r0, r5
	ldr	r6, [r3]
	bl	qlcnic_82xx_check
	cmp	r0, #0
	add	r7, r6, r4, lsl #3
	lsl	r9, r4, #3
	bne	.L39
	ldr	r0, [r6, r4, lsl #3]
	b	.L19
.L37:
	ldr	r2, .L42+24
	mov	r8, #0
	ldr	fp, [r2]
	b	.L5
.L11:
	mov	r0, r5
	bl	qlcnic_83xx_check
	cmp	r0, #0
	beq	.L13
	ldr	r3, .L42+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L17
.L13:
	mov	r0, r5
	bl	qlcnic_83xx_check
	cmp	r0, #0
	beq	.L16
	ldr	r3, .L42+4
	ldr	r4, [r5]
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L16
	ldr	r3, .L42+28
	ldr	r3, [r3]
	ands	r4, r4, r3
	beq	.L40
.L16:
	mov	r0, #0
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	ldr	r3, .L42+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L20
	mov	r1, #4
	ldr	r2, .L42+32
	bl	snprintf
	b	.L21
.L20:
	ldr	r2, [sp, #20]
	ldr	r3, [r10]
	mov	r1, #4
	str	r2, [sp]
	ldr	r2, .L42+36
	bl	snprintf
	b	.L21
.L36:
	bl	qlcnic_82xx_check
	cmp	r0, #0
	ldrne	r3, .L42+40
	mov	r0, r5
	ldrne	fp, [r3]
	bl	QLCNIC_IS_MSI_FAMILY
	cmp	r0, #0
	ldrne	r3, [r5, #16]
	ldreq	r2, .L42+44
	ldreq	r3, [r5, #16]
	movne	r8, #0
	ldreq	r8, [r2]
	ldr	r3, [r3]
	b	.L5
.L7:
	ldr	r3, .L42+44
	ldr	r8, [r3]
	bl	qlcnic_82xx_check
	cmp	r0, #0
	ldrne	r2, .L42+48
	ldreq	r2, .L42+52
	ldr	r3, [r5, #16]
	ldr	fp, [r2]
	ldr	r3, [r3]
	b	.L5
.L40:
	ldr	r2, [r5, #8]
	ldr	r3, .L42+56
	cmp	r2, #0
	ldr	r6, [r3]
	ble	.L16
	ldr	r7, .L42+60
	b	.L22
.L41:
	ldr	r3, [r5, #8]
	cmp	r3, r4
	ble	.L16
.L22:
	ldr	r9, [r5, #12]
	ldr	r3, [r10]
	ldr	r0, [r9, r4, lsl #3]
	add	fp, r9, r4, lsl #3
	mov	r2, r7
	mov	r1, #4
	str	r4, [sp]
	bl	snprintf
	ldr	r3, [r9, r4, lsl #3]
	ldr	r0, [fp, #4]
	mov	r2, r8
	mov	r1, r6
	str	fp, [sp]
	bl	request_irq
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L41
	b	.L1
.L43:
	.align	2
.L42:
	.word	QLCNIC_INTERRUPT_TEST
	.word	QLCNIC_MSIX_ENABLED
	.word	QLCNIC_MSI_ENABLED
	.word	qlcnic_msi_intr
	.word	QLCNIC_LOOPBACK_TEST
	.word	.LC2
	.word	qlcnic_msix_intr
	.word	QLCNIC_TX_INTR_SHARED
	.word	.LC0
	.word	.LC1
	.word	qlcnic_tmp_intr
	.word	IRQF_SHARED
	.word	qlcnic_intr
	.word	qlcnic_83xx_intr
	.word	qlcnic_msix_tx_intr
	.word	.LC3
	.size	qlcnic_request_irq, .-qlcnic_request_irq
	.comm	qlcnic_tmp_intr,4,4
	.comm	qlcnic_msix_tx_intr,4,4
	.comm	qlcnic_msix_intr,4,4
	.comm	qlcnic_msi_intr,4,4
	.comm	qlcnic_intr,4,4
	.comm	qlcnic_83xx_intr,4,4
	.comm	QLCNIC_TX_INTR_SHARED,4,4
	.comm	QLCNIC_MSI_ENABLED,4,4
	.comm	QLCNIC_MSIX_ENABLED,4,4
	.comm	QLCNIC_LOOPBACK_TEST,4,4
	.comm	QLCNIC_INTERRUPT_TEST,4,4
	.comm	IRQF_SHARED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
