	.file	"extr_qlnx_os.c_qlnx_fp_isr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"illegal interrupt[%d]\n"
	.text
	.p2align 4
	.type	qlnx_fp_isr, @function
qlnx_fp_isr:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR QLNX_STATE_OPEN[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L1
	movsx	rdx, DWORD PTR [rdi]
	cmp	DWORD PTR 8[rbp], edx
	jle	.L18
	mov	rax, QWORD PTR 40[rbp]
	lea	rdx, [rdx+rdx*8]
	lea	r12, [rax+rdx*8]
	test	r12, r12
	je	.L19
	mov	rax, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR 12[r12]
	xor	edx, edx
	lea	r14, 48[r12]
	mov	esi, DWORD PTR IGU_INT_DISABLE[rip]
	mov	r15d, DWORD PTR [rax]
	and	r15d, DWORD PTR IFCAP_LRO[rip]
	call	ecore_sb_ack@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 12[rbp]
	test	eax, eax
	jle	.L5
	xor	ebx, ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	add	rbx, 1
	cmp	DWORD PTR 12[rbp], ebx
	jle	.L5
.L9:
	mov	rax, QWORD PTR 64[r12]
	lea	r13, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	ecore_chain_get_elem_left@PLT
	cmp	DWORD PTR QLNX_TX_ELEM_THRESH[rip], eax
	jle	.L7
	mov	rdi, r14
	call	mtx_trylock@PLT
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR 64[r12]
	mov	rsi, r12
	mov	rdi, rbp
	add	rbx, 1
	mov	rdx, QWORD PTR [rax+r13]
	call	qlnx_tx_int@PLT
	mov	rdi, r14
	call	mtx_unlock@PLT
	cmp	DWORD PTR 12[rbp], ebx
	jg	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 16[rbp]
	mov	ecx, r15d
	mov	rsi, r12
	mov	rdi, rbp
	call	qlnx_rx_int@PLT
	test	eax, eax
	jne	.L20
	mov	edi, DWORD PTR 12[r12]
	call	ecore_sb_update_sb_idx@PLT
	xor	eax, eax
	call	rmb@PLT
	mov	edi, DWORD PTR 12[r12]
	mov	esi, DWORD PTR IGU_INT_ENABLE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	edx, 1
	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
	jmp	ecore_sb_ack@PLT
.L18:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	QL_DPRINT1@PLT
	add	DWORD PTR 48[rbp], 1
.L1:
	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
.L20:
	.cfi_restore_state
	add	DWORD PTR 8[r12], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L19:
	add	DWORD PTR 32[rbp], 1
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	qlnx_fp_isr, .-qlnx_fp_isr
	.comm	tx_compl,4,4
	.comm	next,4,4
	.comm	QLNX_TX_ELEM_THRESH,4,4
	.comm	QLNX_STATE_OPEN,8,8
	.comm	IGU_INT_ENABLE,4,4
	.comm	IGU_INT_DISABLE,4,4
	.comm	IFCAP_LRO,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_qlnx_os.c_qlnx_fp_isr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"illegal interrupt[%d]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlnx_fp_isr, %function
qlnx_fp_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L21
	ldr	r5, [r0, #4]
	ldr	r3, [r3]
	ldr	r2, [r5]
	cmp	r2, r3
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, [r0]
	ldr	r3, [r5, #4]
	cmp	r3, r2
	ble	.L18
	ldr	r6, [r5, #24]
	add	r3, r2, r2, lsl #1
	add	r2, r2, r3, lsl #2
	adds	r6, r6, r2, lsl #2
	beq	.L19
	ldr	r1, [r5, #16]
	ldr	r3, .L21+4
	ldr	r2, .L21+8
	ldr	r9, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r0, [r6, #12]
	mov	r2, #0
	and	r9, r9, r3
	bl	ecore_sb_ack
	ldr	r7, .L21+12
	add	r8, r6, #40
.L11:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	ble	.L5
	mov	r4, #0
	b	.L9
.L7:
	ldr	r3, [r5, #8]
	cmp	r3, r4
	ble	.L5
.L9:
	ldr	r3, [r6, #48]
	lsl	r10, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	ecore_chain_get_elem_left
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r0
	ble	.L7
	mov	r0, r8
	bl	mtx_trylock
	cmp	r0, #0
	beq	.L7
	ldr	r3, [r6, #48]
	mov	r1, r6
	ldr	r2, [r3, r10]
	mov	r0, r5
	bl	qlnx_tx_int
	mov	r0, r8
	bl	mtx_unlock
	ldr	r3, [r5, #8]
	cmp	r3, r4
	bgt	.L9
.L5:
	mov	r3, r9
	mov	r1, r6
	mov	r0, r5
	ldr	r2, [r5, #12]
	bl	qlnx_rx_int
	cmp	r0, #0
	bne	.L20
	ldr	r0, [r6, #12]
	bl	ecore_sb_update_sb_idx
	bl	rmb
	ldr	r3, .L21+16
	ldr	r0, [r6, #12]
	mov	r2, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	ecore_sb_ack
.L20:
	ldr	r3, [r6, #8]
	add	r0, r3, r0
	str	r0, [r6, #8]
	b	.L11
.L18:
	mov	r0, r5
	ldr	r1, .L21+20
	bl	QL_DPRINT1
	ldr	r3, [r5, #28]
	add	r3, r3, #1
	str	r3, [r5, #28]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r3, [r5, #20]
	add	r3, r3, #1
	str	r3, [r5, #20]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	.align	2
.L21:
	.word	QLNX_STATE_OPEN
	.word	IFCAP_LRO
	.word	IGU_INT_DISABLE
	.word	QLNX_TX_ELEM_THRESH
	.word	IGU_INT_ENABLE
	.word	.LC0
	.size	qlnx_fp_isr, .-qlnx_fp_isr
	.comm	tx_compl,4,4
	.comm	next,4,4
	.comm	QLNX_TX_ELEM_THRESH,4,4
	.comm	QLNX_STATE_OPEN,4,4
	.comm	IGU_INT_ENABLE,4,4
	.comm	IGU_INT_DISABLE,4,4
	.comm	IFCAP_LRO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
