	.file	"extr_bnx2x_dcb.c_bnx2x_dcbx_spread_strict_pri.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Didn't succeed to spread strict priorities\n"
	.text
	.p2align 4
	.type	bnx2x_dcbx_spread_strict_pri, @function
bnx2x_dcbx_spread_strict_pri:
.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
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13d, DWORD PTR BNX2X_DCBX_STRICT_COS_HIGHEST[rip]
	mov	ebx, DWORD PTR MAX_PFC_PRIORITIES[rip]
	mov	QWORD PTR [rsp], rdi
	test	ecx, ecx
	je	.L8
	mov	r14, rsi
	mov	ebp, edx
	mov	r15d, r8d
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L28:
	mov	QWORD PTR 16[rdx], rax
	mov	rdi, QWORD PTR [rsp]
	mov	esi, r15d
	mov	DWORD PTR [rdx], r13d
	mov	DWORD PTR 4[rdx], r15d
	mov	QWORD PTR 8[rsp], rdx
	call	DCBX_IS_PFC_PRI_SOME_PAUSE@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rdx], rax
.L5:
	mov	edi, r13d
	add	ebp, 1
	call	BNX2X_DCBX_STRICT_COS_NEXT_LOWER_PRI@PLT
	mov	r13d, eax
.L3:
	test	r12d, r12d
	je	.L8
.L26:
	test	ebx, ebx
	jle	.L2
	sub	ebx, 1
	mov	esi, 1
	mov	ecx, ebx
	sal	esi, cl
	test	esi, r15d
	je	.L3
	movsx	rax, ebp
	lea	rdx, [rax+rax*2]
	mov	rax, QWORD PTR [r14]
	lea	rdx, [rax+rdx*8]
	mov	rax, QWORD PTR DCBX_INVALID_COS_BW[rip]
	sub	r12d, 1
	je	.L28
	mov	QWORD PTR 16[rdx], rax
	mov	ecx, esi
	mov	rdi, QWORD PTR [rsp]
	mov	DWORD PTR [rdx], r13d
	not	ecx
	mov	DWORD PTR 4[rdx], esi
	and	r15d, ecx
	mov	QWORD PTR 8[rsp], rdx
	call	DCBX_IS_PFC_PRI_SOME_PAUSE@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rdx], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	test	r12d, r12d
	je	.L8
	lea	rdi, .LC0[rip]
	call	BNX2X_ERR@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L8:
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	bnx2x_dcbx_spread_strict_pri, .-bnx2x_dcbx_spread_strict_pri
	.comm	MAX_PFC_PRIORITIES,4,4
	.comm	EINVAL,4,4
	.comm	DCBX_INVALID_COS_BW,8,8
	.comm	BNX2X_DCBX_STRICT_COS_HIGHEST,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_dcb.c_bnx2x_dcbx_spread_strict_pri.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Didn't succeed to spread strict priorities\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_dcbx_spread_strict_pri, %function
bnx2x_dcbx_spread_strict_pri:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L21
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [ip]
	ldr	ip, .L21+4
	cmp	r3, #0
	cmpne	r4, #0
	sub	sp, sp, #12
	mov	r5, r3
	ldr	r6, [ip]
	ldr	fp, [sp, #48]
	str	r1, [sp, #4]
	ble	.L2
	mov	r10, r0
	mov	r7, r2
	mov	r8, #1
.L6:
	sub	r4, r4, #1
	lsl	r1, r8, r4
	tst	r1, fp
	beq	.L3
	ldr	r3, [sp, #4]
	subs	r5, r5, #1
	ldr	r0, [r3]
	ldr	r3, .L21+8
	add	r9, r0, r7, lsl #4
	ldr	ip, [r3]
	moveq	r1, fp
	str	ip, [r9, #12]
	streq	r6, [r0, r7, lsl #4]
	strne	r6, [r0, r7, lsl #4]
	moveq	r0, r10
	movne	r0, r10
	streq	fp, [r9, #4]
	strne	r1, [r9, #4]
	bicne	fp, fp, r1
	bl	DCBX_IS_PFC_PRI_SOME_PAUSE
	str	r0, [r9, #8]
	mov	r0, r6
	bl	BNX2X_DCBX_STRICT_COS_NEXT_LOWER_PRI
	mov	r6, r0
	add	r7, r7, #1
.L3:
	cmp	r5, #0
	cmpne	r4, #0
	bgt	.L6
.L2:
	cmp	r5, #0
	bne	.L20
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r0, .L21+12
	bl	BNX2X_ERR
	ldr	r3, .L21+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	.align	2
.L21:
	.word	MAX_PFC_PRIORITIES
	.word	BNX2X_DCBX_STRICT_COS_HIGHEST
	.word	DCBX_INVALID_COS_BW
	.word	.LC0
	.word	EINVAL
	.size	bnx2x_dcbx_spread_strict_pri, .-bnx2x_dcbx_spread_strict_pri
	.comm	MAX_PFC_PRIORITIES,4,4
	.comm	EINVAL,4,4
	.comm	DCBX_INVALID_COS_BW,4,4
	.comm	BNX2X_DCBX_STRICT_COS_HIGHEST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
