	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_dcb_get_pfc_cfg
_qlcnic_dcb_get_pfc_cfg:                ## @qlcnic_dcb_get_pfc_cfg
	.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	%rdx, %r14
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %r12
	movl	%r15d, %edi
	callq	_QLC_DCB_GET_MAP
	movq	%rax, %rbx
	movq	$0, (%r14)
	movq	(%r12), %rsi
	movq	8(%rsi), %rax
	movq	(%rax), %r12
	movq	_QLC_DCB_OPER_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	shlq	$4, %r13
	cmpl	$0, 8(%r12,%r13)
	je	LBB0_9
## %bb.2:
	movq	_QLC_DCB_MAX_TC@GOTPCREL(%rip), %r8
	movq	(%r8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:
	movq	(%r12,%r13), %rdx
	movslq	%r15d, %rsi
	addq	$16, %rdx
	xorl	%edi, %edi
	shlq	$4, %rsi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	addq	$24, %rdx
	cmpq	%rcx, %rdi
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, -16(%rdx)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%rdx), %rax
	cmpq	$0, 8(%rax,%rsi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax,%rsi), %rax
	movq	%rax, (%r14)
	movq	(%r8), %rcx
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLC_DCB_OPER_IDX,8,3           ## @QLC_DCB_OPER_IDX
	.comm	_QLCNIC_DCB_STATE,4,2           ## @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_MAX_TC,8,3             ## @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_get_pfc_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_dcb_get_pfc_cfg
_qlcnic_dcb_get_pfc_cfg:                ; @qlcnic_dcb_get_pfc_cfg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x21
	bl	_QLC_DCB_GET_MAP
	mov	x20, x0
	str	xzr, [x19]
	ldr	x1, [x22]
	ldr	x8, [x1, #8]
	ldr	x22, [x8]
Lloh0:
	adrp	x8, _QLC_DCB_OPER_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLC_DCB_OPER_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
Lloh3:
	adrp	x8, _QLCNIC_DCB_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	add	x8, x22, x23, lsl #4
	ldr	w10, [x8, #8]
Lloh6:
	adrp	x8, _QLC_DCB_MAX_TC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLC_DCB_MAX_TC@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	w10, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x10, #0
	lsl	x11, x23, #4
	ldr	x12, [x22, x11]
	sxtw	x11, w21
	add	x12, x12, #16
	lsl	x13, x11, #4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #1
	add	x12, x12, #24
	cmp	x10, x9
	b.hs	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x12]
	cbz	w14, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x14, [x12, #-16]
	tst	x14, x20
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x14, [x12, #-8]
	add	x15, x14, x11, lsl #4
	ldr	x15, [x15, #8]
	cbz	x15, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x14, x13]
	str	x9, [x19]
	ldr	x9, [x8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QLC_DCB_OPER_IDX,8,3           ; @QLC_DCB_OPER_IDX
	.comm	_QLCNIC_DCB_STATE,4,2           ; @QLCNIC_DCB_STATE
	.comm	_QLC_DCB_MAX_TC,8,3             ; @QLC_DCB_MAX_TC
	.no_dead_strip	_qlcnic_dcb_get_pfc_cfg
.subsections_via_symbols
