	.file	"extr_i40e_common.c_i40e_aq_send_driver_version.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_aq_send_driver_version
	.type	i40e_aq_send_driver_version, @function
i40e_aq_send_driver_version:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR I40E_ERR_PARAM[rip]
	test	rsi, rsi
	je	.L1
	mov	rbx, rsi
	mov	r12, rsp
	mov	esi, DWORD PTR i40e_aqc_opc_driver_version[rip]
	mov	rbp, rdi
	mov	rdi, r12
	mov	r13, rdx
	call	i40e_fill_default_direct_cmd_desc@PLT
	mov	edi, DWORD PTR I40E_AQ_FLAG_BUF[rip]
	or	edi, DWORD PTR I40E_AQ_FLAG_RD[rip]
	call	cpu_to_le16@PLT
	or	DWORD PTR [rsp], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR 4[rsp], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 12[rsp], rax
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	r9d, eax
	test	ecx, ecx
	je	.L5
	cmp	ecx, 127
	jg	.L5
	add	rax, 1
	cmp	rax, 8
	jne	.L4
	mov	r9d, 8
.L5:
	mov	r8, r13
	mov	ecx, r9d
	mov	rsi, r12
	mov	rdi, rbp
	call	i40e_asq_send_command@PLT
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40e_aq_send_driver_version, .-i40e_aq_send_driver_version
	.comm	i40e_aqc_opc_driver_version,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	I40E_AQ_FLAG_RD,4,4
	.comm	I40E_AQ_FLAG_BUF,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_i40e_common.c_i40e_aq_send_driver_version.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40e_aq_send_driver_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_aq_send_driver_version, %function
i40e_aq_send_driver_version:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L16
	sub	sp, sp, #24
	subs	r4, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L14
	ldr	r3, .L16+4
	mov	r5, r0
	ldr	r1, [r3]
	add	r0, sp, #12
	mov	r6, r2
	bl	i40e_fill_default_direct_cmd_desc
	ldr	r2, .L16+8
	ldr	r3, .L16+12
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bl	cpu_to_le16
	ldr	r2, [r4, #16]
	ldr	r3, [sp, #12]
	ldr	r1, [r4, #8]
	orr	r3, r3, r0
	ldr	r0, [r4, #12]
	str	r2, [sp, #28]
	str	r3, [sp, #12]
	ldm	r4, {r2, r3}
	str	r3, [sp, #16]
	mov	r3, #0
	str	r0, [sp, #24]
	str	r1, [sp, #20]
	sub	lr, r2, #4
.L4:
	ldr	ip, [lr, #4]!
	cmp	ip, #127
	movgt	r1, #0
	movle	r1, #1
	cmp	ip, #0
	moveq	r1, #0
	cmp	r1, #0
	beq	.L5
	add	r3, r3, #1
	cmp	r3, #4
	bne	.L4
.L5:
	mov	r0, r5
	str	r6, [sp]
	add	r1, sp, #12
	bl	i40e_asq_send_command
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L16+16
	ldr	r0, [r3]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	i40e_aqc_opc_driver_version
	.word	I40E_AQ_FLAG_BUF
	.word	I40E_AQ_FLAG_RD
	.word	I40E_ERR_PARAM
	.size	i40e_aq_send_driver_version, .-i40e_aq_send_driver_version
	.comm	i40e_aqc_opc_driver_version,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	I40E_AQ_FLAG_RD,4,4
	.comm	I40E_AQ_FLAG_BUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
