	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_cee_peer_get_pfc
_qlcnic_dcb_cee_peer_get_pfc:           ## @qlcnic_dcb_cee_peer_get_pfc
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	(%rax), %rsi
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$0, 4(%r14)
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	movq	_QLC_DCB_PEER_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r13,8), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_qlcnic_dcb_prio_count
	movq	$0, -56(%rbp)
	movq	%r15, %rdi
	movq	%rax, %rsi
	leaq	-56(%rbp), %rdx
	callq	_qlcnic_dcb_get_pfc_cfg
	cmpq	$0, -56(%rbp)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_QLC_DCB_GET_MAP
	orl	%eax, 4(%r14)
	jmp	LBB0_5
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ## @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_PEER_IDX,8,3           ## @QLC_DCB_PEER_IDX
	.comm	_QLC_DCB_MAX_TC,8,3             ## @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_cee_peer_get_pfc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dcb_cee_peer_get_pfc
_qlcnic_dcb_cee_peer_get_pfc:           ; @qlcnic_dcb_cee_peer_get_pfc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x1, [x0]
	ldr	x22, [x1, #8]
	str	wzr, [x19, #4]
Lloh0:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x23, _QLC_DCB_MAX_TC@GOTPAGE
Lloh4:
	ldr	x23, [x23, _QLC_DCB_MAX_TC@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x21, #0
Lloh5:
	adrp	x8, _QLC_DCB_PEER_IDX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QLC_DCB_PEER_IDX@GOTPAGEOFF]
Lloh7:
	ldr	x24, [x8]
	ldr	x25, [x22, #8]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x23]
	cmp	x21, x8
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, x24, lsl #3]
	ldr	w0, [x8, x21, lsl #2]
	bl	_qlcnic_dcb_prio_count
	mov	x1, x0
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_qlcnic_dcb_get_pfc_cfg
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_QLC_DCB_GET_MAP
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_6:
	ldr	w8, [x22]
	str	w8, [x19]
LBB0_7:
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_DCB_STATE,4,2           ; @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_PEER_IDX,8,3           ; @QLC_DCB_PEER_IDX
	.comm	_QLC_DCB_MAX_TC,8,3             ; @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_cee_peer_get_pfc
.subsections_via_symbols
