	.file	"extr_qede_fp.c_qede_tx_int.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"hw_bd_cons = %d, chain_cons=%d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Wake queue was called\n"
	.text
	.p2align 4
	.type	qede_tx_int, @function
qede_tx_int:
.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, rdi
	lea	r15, 8[r14]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR 24[rsi]
	mov	edi, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbx, 20[rsp]
	call	netdev_get_tx_queue@PLT
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 16[r14]
	mov	edi, DWORD PTR [rax]
	call	le16_to_cpu@PLT
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	barrier@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r13
	mov	DWORD PTR 20[rsp], 0
	call	qede_free_tx_pkt@PLT
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR [r14]
	add	DWORD PTR 12[r14], 1
	add	ebp, 1
	add	r12d, DWORD PTR 20[rsp]
	add	eax, 1
	cdq
	idiv	DWORD PTR 4[r14]
	mov	DWORD PTR [r14], edx
.L2:
	mov	rdi, r15
	call	qed_chain_get_cons_idx@PLT
	cmp	rax, QWORD PTR [rsp]
	jne	.L5
.L4:
	mov	rbx, QWORD PTR 8[rsp]
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, rbx
	call	netdev_tx_completed_queue@PLT
	xor	eax, eax
	call	smp_mb@PLT
	mov	rdi, rbx
	call	netif_tx_queue_stopped@PLT
	mov	rdi, rax
	call	unlikely@PLT
	test	rax, rax
	jne	.L17
.L6:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L16:
	.cfi_restore_state
	mov	rdi, r15
	call	qed_chain_get_cons_idx@PLT
	mov	rdx, QWORD PTR [rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	mov	rcx, rax
	call	DP_NOTICE@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	xor	eax, eax
	call	smp_processor_id@PLT
	mov	rbx, QWORD PTR 8[rsp]
	mov	esi, eax
	mov	rdi, rbx
	call	__netif_tx_lock@PLT
	mov	rdi, rbx
	call	netif_tx_queue_stopped@PLT
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR QEDE_STATE_OPEN[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L19
.L8:
	mov	rdi, QWORD PTR 8[rsp]
	call	__netif_tx_unlock@PLT
	jmp	.L6
.L19:
	mov	rdi, r15
	call	qed_chain_get_elem_left@PLT
	cmp	rax, QWORD PTR MAX_SKB_FRAGS[rip]
	jle	.L8
	mov	rdi, QWORD PTR 8[rsp]
	call	netif_tx_wake_queue@PLT
	mov	esi, DWORD PTR NETIF_MSG_TX_DONE[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r13
	call	DP_VERBOSE@PLT
	jmp	.L8
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qede_tx_int, .-qede_tx_int
	.comm	QEDE_STATE_OPEN,8,8
	.comm	NETIF_MSG_TX_DONE,4,4
	.comm	MAX_SKB_FRAGS,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_qede_fp.c_qede_tx_int.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hw_bd_cons = %d, chain_cons=%d\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC1:
	.ascii	"Wake queue was called\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qede_tx_int, %function
qede_tx_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L20
	mov	r4, r1
	sub	sp, sp, #12
	ldr	r1, [r1, #20]
	mov	r7, r0
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	netdev_get_tx_queue
	ldr	r3, [r4, #16]
	mov	fp, r0
	ldr	r0, [r3]
	bl	le16_to_cpu
	mov	r5, #0
	mov	r8, r0
	mov	r6, r5
	bl	barrier
	mov	r10, r5
	add	r9, r4, #8
	b	.L2
.L5:
	mov	r2, sp
	mov	r1, r4
	mov	r0, r7
	str	r10, [sp]
	bl	qede_free_tx_pkt
	cmp	r0, #0
	bne	.L16
	ldr	r0, [r4]
	ldr	r3, [sp]
	ldr	r1, [r4, #4]
	add	r0, r0, #1
	add	r5, r5, r3
	bl	__aeabi_idivmod
	ldr	r3, [r4, #12]
	add	r6, r6, #1
	add	r3, r3, #1
	str	r1, [r4]
	str	r3, [r4, #12]
.L2:
	mov	r0, r9
	bl	qed_chain_get_cons_idx
	cmp	r0, r8
	bne	.L5
.L4:
	mov	r2, r5
	mov	r1, r6
	mov	r0, fp
	bl	netdev_tx_completed_queue
	bl	smp_mb
	mov	r0, fp
	bl	netif_tx_queue_stopped
	bl	unlikely
	cmp	r0, #0
	bne	.L17
.L6:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r0, r9
	bl	qed_chain_get_cons_idx
	mov	r2, r8
	mov	r3, r0
	ldr	r1, .L20+4
	mov	r0, r7
	bl	DP_NOTICE
	b	.L4
.L17:
	bl	smp_processor_id
	mov	r1, r0
	mov	r0, fp
	bl	__netif_tx_lock
	mov	r0, fp
	bl	netif_tx_queue_stopped
	cmp	r0, #0
	beq	.L8
	ldr	r3, .L20+8
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L19
.L8:
	mov	r0, fp
	bl	__netif_tx_unlock
	b	.L6
.L19:
	mov	r0, r9
	bl	qed_chain_get_elem_left
	ldr	r3, .L20+12
	ldr	r3, [r3]
	cmp	r0, r3
	ble	.L8
	mov	r0, fp
	bl	netif_tx_wake_queue
	ldr	r3, .L20+16
	mov	r0, r7
	ldr	r1, [r3]
	ldr	r2, .L20+20
	bl	DP_VERBOSE
	b	.L8
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	.LC0
	.word	QEDE_STATE_OPEN
	.word	MAX_SKB_FRAGS
	.word	NETIF_MSG_TX_DONE
	.word	.LC1
	.size	qede_tx_int, .-qede_tx_int
	.comm	QEDE_STATE_OPEN,4,4
	.comm	NETIF_MSG_TX_DONE,4,4
	.comm	MAX_SKB_FRAGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
