	.file	"extr_bnx2x_dcb.c_bnx2x_dcbx_get_num_pg_traf_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NO"
.LC1:
	.string	"YES"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"add_traf_type %d pg_found %s num_of_pg %d\n"
	.text
	.p2align 4
	.type	bnx2x_dcbx_get_num_pg_traf_type, @function
bnx2x_dcbx_get_num_pg_traf_type:
.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, 8
	.cfi_def_cfa_offset 64
	mov	rcx, QWORD PTR LLFC_DRIVER_TRAFFIC_TYPE_MAX[rip]
	mov	rbp, QWORD PTR [rdi]
	mov	r13, QWORD PTR 8[rdx]
	test	rcx, rcx
	je	.L1
	mov	rbx, rdx
	mov	rdx, rcx
	mov	r14, rsi
	mov	rsi, QWORD PTR DCBX_ILLEGAL_PG[rip]
	sal	rdx, 4
	mov	rax, r13
	add	rdx, r13
	.p2align 4,,10
	.p2align 3
.L3:
	mov	QWORD PTR [rax], rsi
	add	rax, 16
	cmp	rdx, rax
	jne	.L3
	xor	r15d, r15d
	lea	r12, .LC0[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR BNX2X_MSG_DCB[rip]
	mov	rcx, r10
	mov	rdx, r15
	lea	rsi, .LC2[rip]
	add	r15, 1
	call	DP@PLT
	mov	rcx, QWORD PTR LLFC_DRIVER_TRAFFIC_TYPE_MAX[rip]
	cmp	rcx, r15
	jbe	.L1
.L8:
	mov	rdi, QWORD PTR 0[rbp+r15*8]
	cmp	rdi, QWORD PTR MAX_PFC_PRIORITIES[rip]
	mov	r10, r12
	mov	r8, QWORD PTR [rbx]
	jnb	.L4
	mov	rsi, QWORD PTR [r14+rdi*8]
	mov	rax, r13
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	QWORD PTR [rax], rsi
	je	.L16
	add	rdx, 1
	add	rax, 16
	cmp	rdx, rcx
	jb	.L7
	mov	rax, r8
	mov	edx, 1
	add	r8, 1
	mov	r10, r12
	sal	rax, 4
	add	rax, r13
	mov	QWORD PTR [rax], rsi
	mov	rcx, QWORD PTR 0[rbp+r15*8]
	mov	DWORD PTR 12[rax], 1
	sal	edx, cl
	mov	DWORD PTR 8[rax], edx
	mov	QWORD PTR [rbx], r8
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 8[rax]
	bt	edx, edi
	jc	.L6
	add	DWORD PTR 12[rax], 1
.L6:
	bts	edx, edi
	lea	r10, .LC1[rip]
	mov	DWORD PTR 8[rax], edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	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_get_num_pg_traf_type, .-bnx2x_dcbx_get_num_pg_traf_type
	.comm	MAX_PFC_PRIORITIES,8,8
	.comm	LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,8
	.comm	DCBX_ILLEGAL_PG,8,8
	.comm	BNX2X_MSG_DCB,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_get_num_pg_traf_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NO\000"
	.align	2
.LC1:
	.ascii	"YES\000"
	.align	2
.LC2:
	.ascii	"add_traf_type %d pg_found %s num_of_pg %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_dcbx_get_num_pg_traf_type, %function
bnx2x_dcbx_get_num_pg_traf_type:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	ldr	r7, .L17
	ldr	ip, [r6, #4]
	ldr	r2, [r7]
	sub	sp, sp, #20
	cmp	r2, #0
	ldr	r5, [r0]
	str	r1, [sp, #12]
	str	ip, [sp, #8]
	beq	.L1
	mov	r3, ip
	ldr	r0, .L17+4
	add	r1, r2, r2, lsl #1
	ldr	r0, [r0]
	add	r1, ip, r1, lsl #2
.L3:
	str	r0, [r3], #12
	cmp	r3, r1
	bne	.L3
	mov	r4, #0
	ldr	r8, .L17+8
	ldr	r9, .L17+12
	sub	r5, r5, #4
	b	.L8
.L4:
	mov	r2, r4
	mov	r1, r9
	str	r10, [sp]
	bl	DP
	ldr	r2, [r7]
	add	r4, r4, #1
	cmp	r2, r4
	bls	.L1
.L8:
	ldr	r3, [r8]
	ldr	fp, [r5, #4]!
	ldr	r1, .L17+16
	cmp	fp, r3
	ldr	r0, [r1]
	ldr	r10, [r6]
	ldrcs	r3, .L17+20
	bcs	.L4
	mov	r1, #0
	ldr	ip, [sp, #12]
	ldr	r3, [sp, #8]
	ldr	lr, [ip, fp, lsl #2]
.L7:
	ldr	ip, [r3]
	add	r1, r1, #1
	cmp	ip, lr
	beq	.L16
	cmp	r1, r2
	add	r3, r3, #12
	bcc	.L7
	mov	r2, #1
	ldr	ip, [sp, #8]
	add	r3, r10, r10, lsl r2
	str	lr, [ip, r3, lsl #2]
	ldr	r1, [r5]
	add	r3, ip, r3, lsl #2
	add	r10, r10, r2
	lsl	r1, r2, r1
	stmib	r3, {r1, r2}
	ldr	r3, .L17+20
	str	r10, [r6]
	b	.L4
.L16:
	ldr	r2, [r3, #4]
	asr	r1, r2, fp
	tst	r1, #1
	ldreq	r1, [r3, #8]
	addeq	r1, r1, #1
	streq	r1, [r3, #8]
	mov	r1, #1
	orr	fp, r2, r1, lsl fp
	str	fp, [r3, #4]
	ldr	r3, .L17+24
	b	.L4
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.word	DCBX_ILLEGAL_PG
	.word	MAX_PFC_PRIORITIES
	.word	.LC2
	.word	BNX2X_MSG_DCB
	.word	.LC0
	.word	.LC1
	.size	bnx2x_dcbx_get_num_pg_traf_type, .-bnx2x_dcbx_get_num_pg_traf_type
	.comm	MAX_PFC_PRIORITIES,4,4
	.comm	LLFC_DRIVER_TRAFFIC_TYPE_MAX,4,4
	.comm	DCBX_ILLEGAL_PG,4,4
	.comm	BNX2X_MSG_DCB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
