	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qed_dcbx_get_pfc_data
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qed_dcbx_get_pfc_data:                 ## @qed_dcbx_get_pfc_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_DCBX_PFC_WILLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QED_MFW_GET_FIELD
	movq	%rax, 24(%r15)
	movq	_DCBX_PFC_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QED_MFW_GET_FIELD
	movq	%rax, 16(%r15)
	movq	_DCBX_PFC_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QED_MFW_GET_FIELD
	movq	%rax, 8(%r15)
	movq	_DCBX_PFC_PRI_EN_BITMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_QED_MFW_GET_FIELD
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_0@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movq	(%r15), %rcx
	movl	%edx, (%rcx)
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_1@GOTPCREL(%rip), %rdx
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_2@GOTPCREL(%rip), %rsi
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_3@GOTPCREL(%rip), %rdi
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_4@GOTPCREL(%rip), %rbx
	movd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rsi), %xmm0
	pinsrd	$2, (%rdi), %xmm0
	pinsrd	$3, (%rbx), %xmm0
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 4(%rcx)
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_5@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	movl	(%rdx), %edx
	andl	%eax, %edx
	setne	%sil
	movl	%esi, 20(%rcx)
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_6@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	movl	(%rdx), %edx
	andl	%eax, %edx
	setne	%sil
	movl	%esi, 24(%rcx)
	movq	_DCBX_PFC_PRI_EN_BITMAP_PRI_7@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	movl	(%rdx), %edx
	andl	%eax, %edx
	setne	%sil
	movl	%esi, 28(%rcx)
	movq	_QED_MSG_DCB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	24(%r15), %rcx
	movq	8(%r15), %rdx
	movq	16(%r15), %r9
	movq	%rdx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %r8d
	callq	_DP_VERBOSE
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCBX_PFC_WILLING,4,2           ## @DCBX_PFC_WILLING
	.comm	_DCBX_PFC_CAPS,4,2              ## @DCBX_PFC_CAPS
	.comm	_DCBX_PFC_ENABLED,4,2           ## @DCBX_PFC_ENABLED
	.comm	_DCBX_PFC_PRI_EN_BITMAP,4,2     ## @DCBX_PFC_PRI_EN_BITMAP
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_0,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_0
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_1,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_1
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_2,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_2
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_3,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_3
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_4,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_4
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_5,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_5
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_6,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_6
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_7,4,2 ## @DCBX_PFC_PRI_EN_BITMAP_PRI_7
	.comm	_QED_MSG_DCB,4,2                ## @QED_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PFC params: willing %d, pfc_bitmap %u max_tc = %u enabled = %d\n"

	.no_dead_strip	_qed_dcbx_get_pfc_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_dcbx_get_pfc_data
_qed_dcbx_get_pfc_data:                 ; @qed_dcbx_get_pfc_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DCBX_PFC_WILLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCBX_PFC_WILLING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_QED_MFW_GET_FIELD
	str	x0, [x19, #24]
Lloh3:
	adrp	x8, _DCBX_PFC_CAPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCBX_PFC_CAPS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_QED_MFW_GET_FIELD
	str	x0, [x19, #16]
Lloh6:
	adrp	x8, _DCBX_PFC_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCBX_PFC_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_QED_MFW_GET_FIELD
	str	x0, [x19, #8]
Lloh9:
	adrp	x8, _DCBX_PFC_PRI_EN_BITMAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCBX_PFC_PRI_EN_BITMAP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_QED_MFW_GET_FIELD
	mov	x4, x0
Lloh12:
	adrp	x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_0@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w4
	cset	w8, ne
Lloh15:
	adrp	x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_1@GOTPAGEOFF]
	ldp	x10, x6, [x19]
	str	w8, [x10]
Lloh17:
	adrp	x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_2@GOTPAGEOFF]
Lloh19:
	adrp	x11, _DCBX_PFC_PRI_EN_BITMAP_PRI_3@GOTPAGE
Lloh20:
	ldr	x11, [x11, _DCBX_PFC_PRI_EN_BITMAP_PRI_3@GOTPAGEOFF]
Lloh21:
	ldr	s0, [x9]
Lloh22:
	adrp	x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_4@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_4@GOTPAGEOFF]
	ld1.s	{ v0 }[1], [x8]
	ld1.s	{ v0 }[2], [x11]
	ld1.s	{ v0 }[3], [x9]
	dup.4s	v1, w4
	and.16b	v0, v0, v1
	cmeq.4s	v0, v0, #0
	movi.4s	v1, #1
	bic.16b	v0, v1, v0
	stur	q0, [x10, #4]
Lloh24:
	adrp	x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_5@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_5@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w4
	cset	w8, ne
Lloh27:
	adrp	x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_6@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DCBX_PFC_PRI_EN_BITMAP_PRI_6@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w4
	cset	w9, ne
	stp	w8, w9, [x10, #20]
Lloh30:
	adrp	x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_7@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DCBX_PFC_PRI_EN_BITMAP_PRI_7@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w4
	cset	w8, ne
	str	w8, [x10, #28]
Lloh33:
	adrp	x8, _QED_MSG_DCB@GOTPAGE
Lloh34:
	ldr	x8, [x8, _QED_MSG_DCB@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldp	x5, x3, [x19, #16]
Lloh36:
	adrp	x2, l_.str@PAGE
Lloh37:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w4 killed $w4 killed $x4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DP_VERBOSE
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh21
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCBX_PFC_WILLING,4,2           ; @DCBX_PFC_WILLING
	.comm	_DCBX_PFC_CAPS,4,2              ; @DCBX_PFC_CAPS
	.comm	_DCBX_PFC_ENABLED,4,2           ; @DCBX_PFC_ENABLED
	.comm	_DCBX_PFC_PRI_EN_BITMAP,4,2     ; @DCBX_PFC_PRI_EN_BITMAP
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_0,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_0
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_1,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_1
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_2,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_2
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_3,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_3
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_4,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_4
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_5,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_5
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_6,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_6
	.comm	_DCBX_PFC_PRI_EN_BITMAP_PRI_7,4,2 ; @DCBX_PFC_PRI_EN_BITMAP_PRI_7
	.comm	_QED_MSG_DCB,4,2                ; @QED_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PFC params: willing %d, pfc_bitmap %u max_tc = %u enabled = %d\n"

	.no_dead_strip	_qed_dcbx_get_pfc_data
.subsections_via_symbols
