	.file	"extr_i40e_common.c_i40e_aq_add_tag.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_aq_add_tag
	.type	i40e_aq_add_tag, @function
i40e_aq_add_tag:
.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, 56
	.cfi_def_cfa_offset 112
	mov	r12d, DWORD PTR I40E_ERR_PARAM[rip]
	mov	QWORD PTR 8[rsp], r8
	mov	r14, QWORD PTR 112[rsp]
	mov	r8, QWORD PTR 120[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	jne	.L18
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.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
.L18:
	.cfi_restore_state
	mov	ebx, esi
	lea	r15, 36[rsp]
	mov	esi, DWORD PTR i40e_aqc_opc_add_tag[rip]
	mov	rbp, rdx
	mov	r12, rdi
	mov	rdi, r15
	mov	QWORD PTR 24[rsp], r8
	mov	r13, r9
	mov	QWORD PTR 16[rsp], rcx
	call	i40e_fill_default_direct_cmd_desc@PLT
	mov	rdi, rbp
	call	CPU_TO_LE16@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR 60[rsp], rax
	mov	rdi, rcx
	call	CPU_TO_LE16@PLT
	test	ebx, ebx
	mov	r8, QWORD PTR 24[rsp]
	mov	QWORD PTR 52[rsp], rax
	jne	.L20
.L4:
	mov	rdi, r12
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r15
	call	i40e_asq_send_command@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	test	r13, r13
	je	.L5
	mov	edi, DWORD PTR 40[rsp]
	call	LE16_TO_CPU@PLT
	mov	QWORD PTR 0[r13], rax
.L5:
	test	r14, r14
	je	.L1
	mov	edi, DWORD PTR 36[rsp]
	call	LE16_TO_CPU@PLT
	mov	QWORD PTR [r14], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR I40E_AQC_ADD_TAG_FLAG_TO_QUEUE[rip]
	mov	QWORD PTR 16[rsp], r8
	call	CPU_TO_LE16@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	QWORD PTR 44[rsp], rax
	call	CPU_TO_LE16@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	QWORD PTR 36[rsp], rax
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40e_aq_add_tag, .-i40e_aq_add_tag
	.comm	i40e_aqc_opc_add_tag,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	I40E_AQC_ADD_TAG_FLAG_TO_QUEUE,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_i40e_common.c_i40e_aq_add_tag.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40e_aq_add_tag
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_aq_add_tag, %function
i40e_aq_add_tag:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r3
	ldr	r3, .L20
	sub	sp, sp, #16
	subs	r5, r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r9, [sp, #52]
	ldr	r8, [sp, #56]
	ldr	r10, [sp, #60]
	bne	.L2
	ldr	r3, .L20+4
	ldr	r4, [r3]
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L20+8
	mov	r6, r1
	mov	r7, r0
	ldr	r1, [r3]
	add	r0, sp, #8
	bl	i40e_fill_default_direct_cmd_desc
	mov	r0, r5
	bl	CPU_TO_LE16
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #20]
	bl	CPU_TO_LE16
	cmp	r6, #0
	str	r0, [sp, #16]
	bne	.L19
.L4:
	mov	r3, #0
	mov	r0, r7
	mov	r2, r3
	str	r10, [sp]
	add	r1, sp, #8
	bl	i40e_asq_send_command
	subs	r4, r0, #0
	bne	.L1
	cmp	r9, #0
	beq	.L5
	ldr	r0, [sp, #12]
	bl	LE16_TO_CPU
	str	r0, [r9]
.L5:
	cmp	r8, #0
	beq	.L1
	ldr	r0, [sp, #8]
	bl	LE16_TO_CPU
	str	r0, [r8]
	b	.L1
.L19:
	ldr	r3, .L20+12
	ldr	r0, [r3]
	bl	CPU_TO_LE16
	mov	r3, r0
	ldr	r0, [sp, #48]
	str	r3, [sp, #12]
	bl	CPU_TO_LE16
	str	r0, [sp, #8]
	b	.L4
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	I40E_ERR_PARAM
	.word	i40e_aqc_opc_add_tag
	.word	I40E_AQC_ADD_TAG_FLAG_TO_QUEUE
	.size	i40e_aq_add_tag, .-i40e_aq_add_tag
	.comm	i40e_aqc_opc_add_tag,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	I40E_AQC_ADD_TAG_FLAG_TO_QUEUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
