	.file	"extr_bnx2x_sp.c_bnx2x_q_send_terminate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"queue[%d]: cid_index (%d) is out of range\n"
	.text
	.p2align 4
	.type	bnx2x_q_send_terminate, @function
bnx2x_q_send_terminate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rsi]
	mov	rdx, QWORD PTR [rsi]
	cmp	QWORD PTR [rax], rdx
	jbe	.L9
	mov	rax, QWORD PTR 8[rax]
	mov	r9d, DWORD PTR ETH_CONNECTION_TYPE[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	esi, DWORD PTR RAMROD_CMD_ID_ETH_TERMINATE[rip]
	mov	edx, DWORD PTR [rax+rdx*4]
	jmp	bnx2x_sp_post@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR 16[rax]
	lea	rdi, .LC0[rip]
	call	BNX2X_ERR@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	bnx2x_q_send_terminate, .-bnx2x_q_send_terminate
	.comm	RAMROD_CMD_ID_ETH_TERMINATE,4,4
	.comm	ETH_CONNECTION_TYPE,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_bnx2x_sp.c_bnx2x_q_send_terminate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"queue[%d]: cid_index (%d) is out of range\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_q_send_terminate, %function
bnx2x_q_send_terminate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldm	r1, {r2, ip}
	ldr	r3, [ip]
	sub	sp, sp, #12
	cmp	r3, r2
	bls	.L6
	mov	r3, #0
	ldr	ip, [ip, #4]
	ldr	r1, .L7
	ldr	r2, [ip, r2, lsl #2]
	ldr	ip, [r1]
	ldr	r1, .L7+4
	stm	sp, {r3, ip}
	ldr	r1, [r1]
	bl	bnx2x_sp_post
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L6:
	ldr	r1, [ip, #8]
	ldr	r0, .L7+8
	bl	BNX2X_ERR
	ldr	r3, .L7+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L8:
	.align	2
.L7:
	.word	ETH_CONNECTION_TYPE
	.word	RAMROD_CMD_ID_ETH_TERMINATE
	.word	.LC0
	.word	EINVAL
	.size	bnx2x_q_send_terminate, .-bnx2x_q_send_terminate
	.comm	RAMROD_CMD_ID_ETH_TERMINATE,4,4
	.comm	ETH_CONNECTION_TYPE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
