	.file	"extr_qlge_main.c_ql_update_sbq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"sbq: try cleaning clean_idx = %d.\n"
	.align 8
.LC1:
	.string	"sbq: getting new skb for index %d.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"PCI mapping failed.\n"
.LC3:
	.string	"sbq: updating prod idx = %d.\n"
	.text
	.p2align 4
	.type	ql_update_sbq, @function
ql_update_sbq:
.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, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rsi]
	cmp	DWORD PTR 8[rsi], 16
	mov	QWORD PTR 8[rsp], rax
	jle	.L1
	mov	r15, rdi
	mov	r14, rsi
	mov	rbx, rax
	mov	rbp, rax
	xor	r13d, r13d
.L2:
	and	ebp, 15
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[r14]
	add	rbx, 1
	cmp	rax, rbx
	cmove	rbx, r13
	add	ebp, 1
	cmp	ebp, 16
	je	.L19
.L8:
	mov	rdx, QWORD PTR 40[r14]
	lea	rax, [rbx+rbx*2]
	mov	ecx, DWORD PTR [r15]
	mov	r9, rbx
	mov	esi, DWORD PTR rx_status[rip]
	lea	r8, .LC0[rip]
	mov	rdi, r15
	lea	r12, [rdx+rax*8]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	call	netif_printk@PLT
	cmp	QWORD PTR 16[r12], 0
	jne	.L4
	mov	r9, QWORD PTR [r12]
	mov	ecx, DWORD PTR [r15]
	mov	rdi, r15
	lea	r8, .LC1[rip]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	esi, DWORD PTR rx_status[rip]
	call	netif_printk@PLT
	mov	edi, DWORD PTR [r15]
	mov	esi, DWORD PTR SMALL_BUFFER_SIZE[rip]
	call	netdev_alloc_skb@PLT
	mov	QWORD PTR 16[r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L20
	mov	esi, DWORD PTR QLGE_SB_PAD[rip]
	call	skb_reserve@PLT
	mov	rax, QWORD PTR 16[r12]
	mov	edx, DWORD PTR 32[r14]
	mov	edi, DWORD PTR 4[r15]
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	mov	esi, DWORD PTR [rax]
	call	pci_map_single@PLT
	mov	edi, DWORD PTR 4[r15]
	mov	esi, eax
	mov	DWORD PTR 4[rsp], eax
	call	pci_dma_mapping_error@PLT
	mov	r8d, DWORD PTR 4[rsp]
	test	rax, rax
	jne	.L21
	mov	esi, DWORD PTR mapaddr[rip]
	mov	edx, r8d
	mov	rdi, r12
	mov	DWORD PTR 4[rsp], r8d
	call	dma_unmap_addr_set@PLT
	mov	edx, DWORD PTR 32[r14]
	mov	esi, DWORD PTR maplen[rip]
	mov	rdi, r12
	call	dma_unmap_len_set@PLT
	mov	r8d, DWORD PTR 4[rsp]
	mov	r12, QWORD PTR 8[r12]
	mov	edi, r8d
	call	cpu_to_le64@PLT
	mov	DWORD PTR [r12], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	ecx, DWORD PTR 24[r14]
	mov	QWORD PTR [r14], rbx
	lea	r9d, 16[rcx]
	movsx	rdx, r9d
	cmp	rax, rdx
	mov	eax, 0
	cmove	r9d, eax
	mov	eax, DWORD PTR 8[r14]
	sub	eax, 16
	mov	DWORD PTR 24[r14], r9d
	mov	DWORD PTR 8[r14], eax
	cmp	eax, 16
	jle	.L22
	mov	rbp, rbx
	jmp	.L2
.L20:
	mov	QWORD PTR [r14], rbx
.L1:
	add	rsp, 24
	.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
.L21:
	.cfi_restore_state
	mov	edx, DWORD PTR [r15]
	mov	esi, DWORD PTR ifup[rip]
	mov	rdi, r15
	lea	rcx, .LC2[rip]
	call	netif_err@PLT
	mov	QWORD PTR [r14], rbx
	mov	rdi, QWORD PTR 16[r12]
	call	dev_kfree_skb_any@PLT
	mov	QWORD PTR 16[r12], 0
	add	rsp, 24
	.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
.L22:
	.cfi_restore_state
	cmp	rbx, QWORD PTR 8[rsp]
	je	.L1
	mov	ecx, DWORD PTR [r15]
	mov	esi, DWORD PTR rx_status[rip]
	mov	rdi, r15
	movsx	r9, r9d
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	lea	r8, .LC3[rip]
	call	netif_printk@PLT
	mov	esi, DWORD PTR 28[r14]
	movsx	rdi, DWORD PTR 24[r14]
	add	rsp, 24
	.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
	jmp	ql_write_db_reg@PLT
	.cfi_endproc
.LFE0:
	.size	ql_update_sbq, .-ql_update_sbq
	.comm	rx_status,4,4
	.comm	maplen,4,4
	.comm	mapaddr,4,4
	.comm	ifup,4,4
	.comm	SMALL_BUFFER_SIZE,4,4
	.comm	QLGE_SB_PAD,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	KERN_DEBUG,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_qlge_main.c_ql_update_sbq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sbq: try cleaning clean_idx = %d.\012\000"
	.align	2
.LC1:
	.ascii	"sbq: getting new skb for index %d.\012\000"
	.align	2
.LC2:
	.ascii	"PCI mapping failed.\012\000"
	.align	2
.LC3:
	.ascii	"sbq: updating prod idx = %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_update_sbq, %function
ql_update_sbq:
	@ 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, [r1, #4]
	sub	sp, sp, #20
	cmp	r3, #16
	ldr	r3, [r1]
	str	r3, [sp, #12]
	ble	.L1
	mov	r10, r1
	mov	r6, r0
	mov	r4, r3
	mov	r5, r3
.L2:
	and	r5, r5, #15
	b	.L8
.L4:
	ldr	r3, [r10, #8]
	add	r4, r4, #1
	cmp	r3, r4
	moveq	r4, #0
	cmp	r5, #16
	beq	.L17
.L8:
	ldr	r3, .L21
	ldr	r8, [r10, #24]
	ldr	r2, .L21+4
	ldr	r1, .L21+8
	str	r4, [sp, #4]
	str	r3, [sp]
	add	r9, r4, r4, lsl #1
	mov	r0, r6
	ldr	r3, [r6]
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r7, r8, r9, lsl #2
	bl	netif_printk
	ldr	fp, [r7, #8]
	add	r5, r5, #1
	cmp	fp, #0
	bne	.L4
	ldr	r2, [r8, r9, lsl #2]
	ldr	r3, [r6]
	str	r2, [sp, #4]
	ldr	r2, .L21+12
	ldr	r1, .L21+8
	str	r2, [sp]
	ldr	r2, .L21+4
	ldr	r1, [r1]
	ldr	r2, [r2]
	mov	r0, r6
	bl	netif_printk
	ldr	r3, .L21+16
	ldr	r0, [r6]
	ldr	r1, [r3]
	bl	netdev_alloc_skb
	cmp	r0, #0
	str	r0, [r7, #8]
	beq	.L18
	ldr	r3, .L21+20
	ldr	r1, [r3]
	bl	skb_reserve
	ldr	r2, [r7, #8]
	ldr	r3, .L21+24
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r10, #20]
	ldr	r0, [r6, #4]
	bl	pci_map_single
	mov	r8, r0
	ldr	r0, [r6, #4]
	mov	r1, r8
	bl	pci_dma_mapping_error
	cmp	r0, #0
	bne	.L19
	ldr	r3, .L21+28
	mov	r2, r8
	ldr	r1, [r3]
	mov	r0, r7
	bl	dma_unmap_addr_set
	ldr	r3, .L21+32
	mov	r0, r7
	ldr	r2, [r10, #20]
	ldr	r1, [r3]
	bl	dma_unmap_len_set
	mov	r0, r8
	ldr	r7, [r7, #4]
	bl	cpu_to_le64
	str	r0, [r7]
	b	.L4
.L17:
	ldr	r2, [r10, #12]
	str	r4, [r10]
	add	r2, r2, #16
	cmp	r2, r3
	moveq	r3, #0
	streq	r3, [r10, #12]
	ldr	r3, [r10, #4]
	strne	r2, [r10, #12]
	sub	r3, r3, #16
	cmp	r3, #16
	str	r3, [r10, #4]
	ble	.L20
	mov	r5, r4
	b	.L2
.L18:
	str	r4, [r10]
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r2, .L21+36
	ldr	r3, .L21+40
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, [r6]
	bl	netif_err
	ldr	r0, [r7, #8]
	str	r4, [r10]
	bl	dev_kfree_skb_any
	str	fp, [r7, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r3, [sp, #12]
	cmp	r4, r3
	beq	.L1
	ldr	r0, [r10, #12]
	ldr	r3, .L21+44
	ldr	r2, .L21+4
	ldr	r1, .L21+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r0, [sp, #4]
	str	r3, [sp]
	mov	r0, r6
	ldr	r3, [r6]
	bl	netif_printk
	ldr	r1, [r10, #16]
	ldr	r0, [r10, #12]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ql_write_db_reg
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	KERN_DEBUG
	.word	rx_status
	.word	.LC1
	.word	SMALL_BUFFER_SIZE
	.word	QLGE_SB_PAD
	.word	PCI_DMA_FROMDEVICE
	.word	mapaddr
	.word	maplen
	.word	ifup
	.word	.LC2
	.word	.LC3
	.size	ql_update_sbq, .-ql_update_sbq
	.comm	rx_status,4,4
	.comm	maplen,4,4
	.comm	mapaddr,4,4
	.comm	ifup,4,4
	.comm	SMALL_BUFFER_SIZE,4,4
	.comm	QLGE_SB_PAD,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	KERN_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
