	.file	"extr_bnx2x_vfpf.c_bnx2x_vfpf_teardown_queue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Sending TEARDOWN for queue %d failed: %d\n"
	.align 8
.LC1:
	.string	"TEARDOWN for queue %d failed: %d\n"
	.text
	.p2align 4
	.type	bnx2x_vfpf_teardown_queue, @function
bnx2x_vfpf_teardown_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, DWORD PTR CHANNEL_TLV_TEARDOWN_Q[rip]
	mov	ecx, 8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 8[rdi]
	lea	r14, 8[rbx]
	lea	r12, 4[rbx]
	mov	rsi, r14
	call	bnx2x_vfpf_prep@PLT
	mov	DWORD PTR 4[rbx], r13d
	mov	edx, DWORD PTR 8[rbx]
	mov	rsi, r12
	mov	ecx, DWORD PTR CHANNEL_TLV_LIST_END[rip]
	mov	r8d, 4
	mov	rdi, rbp
	call	bnx2x_add_tlv@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	bnx2x_dp_tlv_list@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, rbx
	mov	rdi, rbp
	call	bnx2x_send_msg2pf@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	mov	edx, DWORD PTR [rbx]
	cmp	edx, DWORD PTR PFVF_STATUS_SUCCESS[rip]
	jne	.L7
.L3:
	mov	rsi, r14
	mov	rdi, rbp
	call	bnx2x_vfpf_finalize@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, r13d
	lea	rdi, .LC1[rip]
	call	BNX2X_ERR@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, eax
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	BNX2X_ERR@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	bnx2x_vfpf_teardown_queue, .-bnx2x_vfpf_teardown_queue
	.comm	PFVF_STATUS_SUCCESS,4,4
	.comm	EINVAL,4,4
	.comm	CHANNEL_TLV_TEARDOWN_Q,4,4
	.comm	CHANNEL_TLV_LIST_END,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_bnx2x_vfpf.c_bnx2x_vfpf_teardown_queue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sending TEARDOWN for queue %d failed: %d\012\000"
	.align	2
.LC1:
	.ascii	"TEARDOWN for queue %d failed: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_vfpf_teardown_queue, %function
bnx2x_vfpf_teardown_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0, #4]
	ldr	r3, .L8
	add	r8, r5, #8
	sub	sp, sp, #8
	ldr	r2, [r3]
	mov	r7, r1
	mov	r3, #8
	mov	r1, r8
	mov	r4, r0
	bl	bnx2x_vfpf_prep
	mov	ip, #4
	ldr	r3, .L8+4
	add	r6, r5, ip
	ldr	r2, [r5, #8]
	str	r7, [r5, #4]
	str	ip, [sp]
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r4
	bl	bnx2x_add_tlv
	mov	r1, r6
	mov	r0, r4
	bl	bnx2x_dp_tlv_list
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r4]
	bl	bnx2x_send_msg2pf
	subs	r6, r0, #0
	bne	.L6
	ldr	r3, .L8+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
.L3:
	mov	r1, r8
	mov	r0, r4
	bl	bnx2x_vfpf_finalize
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r1, r7
	ldr	r0, .L8+12
	bl	BNX2X_ERR
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r6, r0, #0
	b	.L3
.L6:
	mov	r1, r7
	mov	r2, r6
	ldr	r0, .L8+20
	bl	BNX2X_ERR
	b	.L3
.L9:
	.align	2
.L8:
	.word	CHANNEL_TLV_TEARDOWN_Q
	.word	CHANNEL_TLV_LIST_END
	.word	PFVF_STATUS_SUCCESS
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	bnx2x_vfpf_teardown_queue, .-bnx2x_vfpf_teardown_queue
	.comm	PFVF_STATUS_SUCCESS,4,4
	.comm	EINVAL,4,4
	.comm	CHANNEL_TLV_TEARDOWN_Q,4,4
	.comm	CHANNEL_TLV_LIST_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
