	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_fill_cee_tc_params
_qlcnic_dcb_fill_cee_tc_params:         ## @qlcnic_dcb_fill_cee_tc_params
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_QLC_DCB_MAX_PRIO@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	cmpq	$4, %rbx
	setae	%al
	movq	(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	movq	%rbx, %rsi
	callq	_QLC_DCB_GET_PGID_PRIO
	movq	%rax, 8(%r13,%r15,8)
	movq	_QLC_PRIO_LINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r13,%r15,8)
	movq	(%r12), %rcx
	incl	(%rcx,%rax,4)
	incq	%rbx
	movq	_QLC_DCB_MAX_PRIO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_QLC_DCB_GET_TC_PRIO
	movq	16(%r12), %r13
	leaq	(%rax,%rax,4), %r15
	movl	$1, (%r13,%r15,8)
	movq	%rbx, %rdi
	callq	_QLC_DCB_GET_MAP
	orl	%eax, 32(%r13,%r15,8)
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movq	%rbx, %rsi
	callq	_QLC_DCB_GET_PFC_PRIO
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r13,%r15,8), %rax
	movl	$1, (%rax,%rbx,8)
	movq	_QLC_PFC_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax,%rbx,8)
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_DCB_MAX_PRIO,8,3           ## @QLC_DCB_MAX_PRIO
	.comm	_QLC_PFC_FULL,4,2               ## @QLC_PFC_FULL
	.comm	_QLC_PRIO_LINK,4,2              ## @QLC_PRIO_LINK
	.no_dead_strip	_qlcnic_dcb_fill_cee_tc_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dcb_fill_cee_tc_params
_qlcnic_dcb_fill_cee_tc_params:         ; @qlcnic_dcb_fill_cee_tc_params
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _QLC_DCB_MAX_PRIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_DCB_MAX_PRIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x25, #0
	mov	x22, #0
	mov	w26, #40
	mov	w27, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x22, #3
	cset	w8, hi
	ldr	x9, [x20]
	ldr	w0, [x9, w8, uxtw #2]
	mov	x1, x22
	bl	_QLC_DCB_GET_PGID_PRIO
	madd	x8, x23, x26, x24
	str	x0, [x8, #8]
Lloh3:
	adrp	x9, _QLC_PRIO_LINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLC_PRIO_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	ldr	x8, [x19]
	lsl	x9, x0, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	add	x22, x22, #1
Lloh6:
	adrp	x8, _QLC_DCB_MAX_PRIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLC_DCB_MAX_PRIO@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x25, x25, #8
	cmp	x22, x8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x22
	bl	_QLC_DCB_GET_TC_PRIO
	mov	x23, x0
	ldr	x24, [x19, #16]
	madd	x28, x0, x26, x24
	str	w27, [x28]
	mov	x0, x22
	bl	_QLC_DCB_GET_MAP
	ldr	w8, [x28, #32]
	orr	w8, w8, w0
	str	w8, [x28, #32]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	mov	x1, x22
	bl	_QLC_DCB_GET_PFC_PRIO
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x23, x26, x24
	ldr	x8, [x8, #24]
	add	x8, x8, x25
	str	w27, [x8]
Lloh9:
	adrp	x9, _QLC_PFC_FULL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QLC_PFC_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_DCB_MAX_PRIO,8,3           ; @QLC_DCB_MAX_PRIO
	.comm	_QLC_PFC_FULL,4,2               ; @QLC_PFC_FULL
	.comm	_QLC_PRIO_LINK,4,2              ; @QLC_PRIO_LINK
	.no_dead_strip	_qlcnic_dcb_fill_cee_tc_params
.subsections_via_symbols
