	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dcbx_get_priority_tc       ## -- Begin function qed_dcbx_get_priority_tc
	.p2align	4, 0x90
_qed_dcbx_get_priority_tc:              ## @qed_dcbx_get_priority_tc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rdx
	movq	_QED_MAX_PFC_PRIORITIES@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_4
## %bb.2:
	shlq	$3, %rdx
	addq	(%rax), %rdx
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	callq	_DP_ERR
	jmp	LBB0_5
LBB0_4:
	movq	_QED_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_DP_VERBOSE
LBB0_5:
	movq	_QED_DCBX_DEFAULT_TC@GOTPCREL(%rip), %rdx
LBB0_6:
	movq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MAX_PFC_PRIORITIES,8,3     ## @QED_MAX_PFC_PRIORITIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid priority %d\n"

	.comm	_QED_DCBX_DEFAULT_TC,8,3        ## @QED_DCBX_DEFAULT_TC
	.comm	_QED_MSG_DCB,4,2                ## @QED_MSG_DCB
L_.str.1:                               ## @.str.1
	.asciz	"Dcbx parameters not available\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dcbx_get_priority_tc       ; -- Begin function qed_dcbx_get_priority_tc
	.p2align	2
_qed_dcbx_get_priority_tc:              ; @qed_dcbx_get_priority_tc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
Lloh0:
	adrp	x8, _QED_MAX_PFC_PRIORITIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MAX_PFC_PRIORITIES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	x8, [x8]
	add	x8, x8, x2, lsl #3
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP_ERR
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _QED_MSG_DCB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_MSG_DCB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_DP_VERBOSE
LBB0_5:
Lloh10:
	adrp	x8, _QED_DCBX_DEFAULT_TC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QED_DCBX_DEFAULT_TC@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MAX_PFC_PRIORITIES,8,3     ; @QED_MAX_PFC_PRIORITIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid priority %d\n"

	.comm	_QED_DCBX_DEFAULT_TC,8,3        ; @QED_DCBX_DEFAULT_TC
	.comm	_QED_MSG_DCB,4,2                ; @QED_MSG_DCB
l_.str.1:                               ; @.str.1
	.asciz	"Dcbx parameters not available\n"

.subsections_via_symbols
