	.file	"extr_qed_l2.c_qed_sp_eth_rx_queues_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qed_sp_eth_rx_queues_update
	.type	qed_sp_eth_rx_queues_update, @function
qed_sp_eth_rx_queues_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	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, 88
	.cfi_def_cfa_offset 144
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	QWORD PTR [rsp], rsi
	mov	rbx, QWORD PTR 144[rsp]
	lea	r14, 48[rsp]
	xor	esi, esi
	mov	QWORD PTR 24[rsp], rdx
	mov	rdi, r14
	mov	edx, 24
	mov	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR 16[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 40[rsp], 0
	call	memset@PLT
	mov	DWORD PTR 48[rsp], r15d
	mov	QWORD PTR 64[rsp], rbx
	test	r13, r13
	je	.L2
	xor	ebx, ebx
	lea	r15, 40[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r13, QWORD PTR 40[rsp]
	mov	eax, DWORD PTR 4[r12]
	mov	edi, DWORD PTR [r12]
	mov	DWORD PTR 20[r13], eax
	call	cpu_to_le16@PLT
	mov	rsi, QWORD PTR 40[rsp]
	xor	edx, edx
	mov	rdi, rbp
	mov	DWORD PTR 16[r13], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[r13], rax
	call	qed_spq_post@PLT
	test	eax, eax
	jne	.L1
	add	rbx, 1
	cmp	QWORD PTR 24[rsp], rbx
	je	.L1
.L4:
	mov	rax, QWORD PTR [rsp]
	mov	ecx, DWORD PTR PROTOCOLID_ETH[rip]
	mov	r8, r14
	mov	rsi, r15
	mov	edx, DWORD PTR ETH_RAMROD_RX_QUEUE_UPDATE[rip]
	mov	rdi, rbp
	mov	r12, QWORD PTR [rax+rbx*8]
	mov	eax, DWORD PTR 12[r12]
	mov	DWORD PTR 56[rsp], eax
	mov	eax, DWORD PTR 8[r12]
	mov	DWORD PTR 52[rsp], eax
	call	qed_sp_init_request@PLT
	test	eax, eax
	je	.L9
.L1:
	mov	rdx, QWORD PTR 72[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 88
	.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
.L2:
	.cfi_restore_state
	mov	eax, r12d
	neg	eax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qed_sp_eth_rx_queues_update, .-qed_sp_eth_rx_queues_update
	.comm	PROTOCOLID_ETH,4,4
	.comm	ETH_RAMROD_RX_QUEUE_UPDATE,4,4
	.comm	EINVAL,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_qed_l2.c_qed_sp_eth_rx_queues_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qed_sp_eth_rx_queues_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	qed_sp_eth_rx_queues_update, %function
qed_sp_eth_rx_queues_update:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	sub	sp, sp, #44
	cmp	r2, #0
	str	r3, [sp, #8]
	ldr	r3, .L13
	str	r2, [sp, #12]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	lr, [sp, #84]
	ldr	ip, [sp, #88]
	ldr	r3, .L13+4
	str	r5, [sp, #16]
	ldr	r2, [r3]
	str	r5, [sp, #24]
	str	r5, [sp, #28]
	str	lr, [sp, #20]
	str	ip, [sp, #32]
	beq	.L2
	mov	r7, r0
	ldr	fp, .L13+8
	ldr	r10, .L13+12
	sub	r6, r1, #4
	b	.L4
.L11:
	ldr	r9, [sp, #16]
	ldm	r4, {r0, r1}
	str	r1, [r9, #12]
	bl	cpu_to_le16
	ldr	r3, [sp, #8]
	mov	r2, r8
	str	r3, [r9]
	ldr	r3, [sp, #80]
	str	r0, [r9, #8]
	ldr	r1, [sp, #16]
	mov	r0, r7
	str	r3, [r9, #4]
	bl	qed_spq_post
	subs	r8, r0, #0
	bne	.L1
	ldr	r3, [sp, #12]
	add	r5, r5, #1
	cmp	r3, r5
	beq	.L1
.L4:
	ldr	r4, [r6, #4]!
	add	r1, sp, #20
	ldr	r0, [r4, #12]
	ldr	ip, [r4, #8]
	ldr	r3, [fp]
	str	r1, [sp]
	str	r0, [sp, #28]
	ldr	r2, [r10]
	mov	r0, r7
	add	r1, sp, #16
	str	ip, [sp, #24]
	bl	qed_sp_init_request
	subs	r8, r0, #0
	beq	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r8
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	rsb	r8, r2, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	EINVAL
	.word	PROTOCOLID_ETH
	.word	ETH_RAMROD_RX_QUEUE_UPDATE
	.size	qed_sp_eth_rx_queues_update, .-qed_sp_eth_rx_queues_update
	.comm	PROTOCOLID_ETH,4,4
	.comm	ETH_RAMROD_RX_QUEUE_UPDATE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
