	.file	"extr_i40e_common.c_i40e_aq_get_firmware_version.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_aq_get_firmware_version
	.type	i40e_aq_get_firmware_version, @function
i40e_aq_get_firmware_version:
.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, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR i40e_aqc_opc_get_version[rip]
	mov	r8, QWORD PTR 96[rsp]
	mov	QWORD PTR 8[rsp], rcx
	lea	r15, 20[rsp]
	mov	rdi, r15
	mov	QWORD PTR [rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	i40e_fill_default_direct_cmd_desc@PLT
	mov	r8, QWORD PTR [rsp]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r12
	mov	rsi, r15
	call	i40e_asq_send_command@PLT
	cmp	eax, DWORD PTR I40E_SUCCESS[rip]
	mov	r12d, eax
	je	.L32
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L32:
	.cfi_restore_state
	test	rbx, rbx
	je	.L4
	mov	edi, DWORD PTR 36[rsp]
	call	LE16_TO_CPU@PLT
	mov	DWORD PTR [rbx], eax
.L4:
	test	rbp, rbp
	je	.L5
	mov	edi, DWORD PTR 32[rsp]
	call	LE16_TO_CPU@PLT
	mov	DWORD PTR 0[rbp], eax
.L5:
	mov	r15, QWORD PTR 8[rsp]
	test	r15, r15
	je	.L6
	mov	edi, DWORD PTR 28[rsp]
	call	LE32_TO_CPU@PLT
	mov	DWORD PTR [r15], eax
.L6:
	test	r13, r13
	je	.L7
	mov	edi, DWORD PTR 24[rsp]
	call	LE16_TO_CPU@PLT
	mov	DWORD PTR 0[r13], eax
	test	r14, r14
	je	.L1
	mov	edi, DWORD PTR 20[rsp]
	call	LE16_TO_CPU@PLT
	mov	DWORD PTR [r14], eax
	test	rbx, rbx
	je	.L1
	test	rbp, rbp
	je	.L1
	cmp	DWORD PTR 0[r13], 1
	jne	.L1
	cmp	eax, 1
	jne	.L1
	cmp	DWORD PTR [rbx], 4
	je	.L34
	jle	.L1
.L11:
	mov	DWORD PTR [r14], 2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	test	r14, r14
	je	.L1
	mov	edi, DWORD PTR 20[rsp]
	call	LE16_TO_CPU@PLT
	mov	DWORD PTR [r14], eax
	jmp	.L1
.L34:
	cmp	DWORD PTR 0[rbp], 1
	jg	.L11
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40e_aq_get_firmware_version, .-i40e_aq_get_firmware_version
	.comm	i40e_aqc_opc_get_version,4,4
	.comm	I40E_SUCCESS,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_get_firmware_version.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40e_aq_get_firmware_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_aq_get_firmware_version, %function
i40e_aq_get_firmware_version:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	ldr	r1, .L31
	sub	sp, sp, #16
	mov	r7, r3
	ldr	r3, .L31+4
	mov	r4, r0
	ldr	r1, [r1]
	add	r0, sp, #8
	add	r8, sp, #48
	mov	r6, r2
	ldm	r8, {r8, r9, r10}
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	i40e_fill_default_direct_cmd_desc
	mov	r3, #0
	mov	r0, r4
	mov	r2, r3
	str	r10, [sp]
	add	r1, sp, #8
	bl	i40e_asq_send_command
	ldr	r3, .L31+8
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L28
.L1:
	ldr	r3, .L31+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L28:
	cmp	r5, #0
	beq	.L4
	ldr	r0, [sp, #24]
	bl	LE16_TO_CPU
	str	r0, [r5]
.L4:
	cmp	r6, #0
	beq	.L5
	ldr	r0, [sp, #20]
	bl	LE16_TO_CPU
	str	r0, [r6]
.L5:
	cmp	r7, #0
	beq	.L6
	ldr	r0, [sp, #16]
	bl	LE32_TO_CPU
	str	r0, [r7]
.L6:
	cmp	r8, #0
	beq	.L7
	ldr	r0, [sp, #12]
	bl	LE16_TO_CPU
	cmp	r9, #0
	str	r0, [r8]
	beq	.L1
	ldr	r0, [sp, #8]
	bl	LE16_TO_CPU
	cmp	r5, #0
	cmpne	r6, #0
	str	r0, [r9]
	beq	.L1
	ldr	r3, [r8]
	cmp	r3, #1
	bne	.L1
	cmp	r0, #1
	bne	.L1
	ldr	r3, [r5]
	cmp	r3, #4
	beq	.L30
	ble	.L1
.L11:
	mov	r3, #2
	str	r3, [r9]
	b	.L1
.L7:
	cmp	r9, #0
	beq	.L1
	ldr	r0, [sp, #8]
	bl	LE16_TO_CPU
	str	r0, [r9]
	b	.L1
.L30:
	ldr	r3, [r6]
	cmp	r3, #1
	bgt	.L11
	b	.L1
.L29:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	i40e_aqc_opc_get_version
	.word	.LC0
	.word	I40E_SUCCESS
	.size	i40e_aq_get_firmware_version, .-i40e_aq_get_firmware_version
	.comm	i40e_aqc_opc_get_version,4,4
	.comm	I40E_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
