	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_separate_pauseable_from_non
_bnx2x_dcbx_separate_pauseable_from_non: ## @bnx2x_dcbx_separate_pauseable_from_non
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	_LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	$1, (%rax)
	movq	$0, 12(%rax)
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BNX2X_DCBX_STRICT_COS_HIGHEST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 8(%rax,%rcx,4)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %ebx
	movl	$1, %r12d
	movl	%ebx, %ecx
	shll	%cl, %r12d
	movq	%r13, %rdi
	callq	_DCBX_PFC_PRI_NON_PAUSE_MASK
	xorl	%ecx, %ecx
	btl	%ebx, %eax
	setb	%cl
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	(%rcx,%rcx,2), %rcx
	orl	%r12d, 4(%rax,%rcx,4)
	movq	(%r13), %rdx
	movslq	(%rdx,%r15,4), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi,%rdx,4), %rsi
	movq	_DCBX_MAX_NUM_PG_BW_ENTRIES@GOTPCREL(%rip), %rdx
	cmpq	%rsi, (%rdx)
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rcx,4), %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_DCBX_PG_BW_GET
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_bnx2x_dcbx_add_to_cos_bw
	jmp	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_8
LBB0_7:
	cmpl	$0, 16(%rax)
	je	LBB0_9
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ## @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.comm	_DCBX_MAX_NUM_PG_BW_ENTRIES,8,3 ## @DCBX_MAX_NUM_PG_BW_ENTRIES
	.comm	_BNX2X_DCBX_STRICT_COS_HIGHEST,4,2 ## @BNX2X_DCBX_STRICT_COS_HIGHEST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dcbx error: Both groups must have priorities\n"

	.no_dead_strip	_bnx2x_dcbx_separate_pauseable_from_non
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bnx2x_dcbx_separate_pauseable_from_non
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bnx2x_dcbx_separate_pauseable_from_non: ; @bnx2x_dcbx_separate_pauseable_from_non
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	ldr	x8, [x1]
	stp	wzr, wzr, [x8, #12]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	cbz	x24, LBB0_7
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x25, #0
	mov	w26, #1
	mov	w27, #12
Lloh5:
	adrp	x28, _DCBX_MAX_NUM_PG_BW_ENTRIES@GOTPAGE
Lloh6:
	ldr	x28, [x28, _DCBX_MAX_NUM_PG_BW_ENTRIES@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x10, _BNX2X_DCBX_STRICT_COS_HIGHEST@GOTPAGE
Lloh8:
	ldr	x10, [x10, _BNX2X_DCBX_STRICT_COS_HIGHEST@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	madd	x8, x8, x27, x9
	str	w10, [x8, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x24, x25
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x23, x25, #2
	ldr	w8, [x8, x23]
	lsl	w19, w26, w8
	mov	x0, x22
	bl	_DCBX_PFC_PRI_NON_PAUSE_MASK
	tst	w19, w0
	cset	w8, ne
	ldr	x9, [x20]
	umaddl	x10, w8, w27, x9
	ldr	w11, [x10, #4]
	orr	w11, w11, w19
	str	w11, [x10, #4]
	ldr	x10, [x22]
	ldrsw	x10, [x10, x23]
	ldrsw	x1, [x21, x10, lsl #2]
	ldr	x10, [x28]
	cmp	x10, x1
	b.ls	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x23, x8, x27, x9
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_DCBX_PG_BW_GET
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_bnx2x_dcbx_add_to_cos_bw
	b	LBB0_3
LBB0_6:
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_8
LBB0_7:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_BNX2X_ERR
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ; @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.comm	_DCBX_MAX_NUM_PG_BW_ENTRIES,8,3 ; @DCBX_MAX_NUM_PG_BW_ENTRIES
	.comm	_BNX2X_DCBX_STRICT_COS_HIGHEST,4,2 ; @BNX2X_DCBX_STRICT_COS_HIGHEST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dcbx error: Both groups must have priorities\n"

	.no_dead_strip	_bnx2x_dcbx_separate_pauseable_from_non
.subsections_via_symbols
