	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_dcbx_set_params
_qed_dcbx_set_params:                   ## @qed_dcbx_set_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
	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, %rbx
	movq	%rdi, %r14
	movl	32(%rbp), %edi
	movl	24(%rbp), %esi
	movl	16(%rbp), %r12d
	movq	(%r14), %rax
	leaq	(%rsi,%rsi,4), %r13
	movl	%r8d, (%rax,%r13,4)
	movl	%r9d, 4(%rax,%r13,4)
	movl	%r12d, 8(%rax,%r13,4)
	testl	%r8d, %r8d
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_DONT_UPDATE_DCB_DSCP@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_UPDATE_DCB@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax,%r13,4)
	movq	_QED_MF_DONT_ADD_VLAN0_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movl	$1, 12(%rax,%r13,4)
LBB0_5:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 8(%rbx)
	jne	LBB0_8
## %bb.7:
	leaq	8(%rbx), %rdi
	movl	%r12d, %esi
	callq	_qed_hw_info_set_offload_tc
LBB0_8:
	movq	_QED_MF_UFP_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_DCBX_PROTOCOL_ROCE@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_10
## %bb.11:
	movq	_DORQ_REG_TAG1_OVRD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_qed_wr
	movq	_DORQ_REG_PF_PCP_BB_K2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_wr                         ## TAILCALL
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UPDATE_DCB,4,2                 ## @UPDATE_DCB
	.comm	_DONT_UPDATE_DCB_DSCP,4,2       ## @DONT_UPDATE_DCB_DSCP
	.comm	_QED_MF_DONT_ADD_VLAN0_TAG,4,2  ## @QED_MF_DONT_ADD_VLAN0_TAG
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ## @QED_MF_UFP_SPECIFIC
	.comm	_DCBX_PROTOCOL_ROCE,4,2         ## @DCBX_PROTOCOL_ROCE
	.comm	_DORQ_REG_TAG1_OVRD_MODE,4,2    ## @DORQ_REG_TAG1_OVRD_MODE
	.comm	_DORQ_REG_PF_PCP_BB_K2,4,2      ## @DORQ_REG_PF_PCP_BB_K2
	.no_dead_strip	_qed_dcbx_set_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_dcbx_set_params
_qed_dcbx_set_params:                   ; @qed_dcbx_set_params
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x7
	mov	x23, x6
	mov	x19, x5
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x25, x0
	ldr	w26, [x29, #16]
	ldr	x8, [x0]
	mov	w9, #20
	umaddl	x8, w7, w9, x8
	stp	w4, w5, [x8]
	str	w6, [x8, #8]
Lloh0:
	adrp	x9, _DONT_UPDATE_DCB_DSCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DONT_UPDATE_DCB_DSCP@GOTPAGEOFF]
Lloh2:
	adrp	x10, _UPDATE_DCB@GOTPAGE
Lloh3:
	ldr	x10, [x10, _UPDATE_DCB@GOTPAGEOFF]
	cmp	w4, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x8, #16]
Lloh4:
	adrp	x8, _QED_MF_DONT_ADD_VLAN0_TAG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QED_MF_DONT_ADD_VLAN0_TAG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x1]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, w22
	ldr	x9, [x25]
	mov	w10, #20
	madd	x8, x8, x10, x9
	mov	w9, #1
	str	w9, [x8, #12]
LBB0_2:
	cbz	w24, LBB0_5
; %bb.3:
	mov	x0, x21
	ldr	w8, [x0, #8]!
	cmp	w8, w26
	b.ne	LBB0_5
; %bb.4:
	mov	x1, x23
	bl	_qed_hw_info_set_offload_tc
LBB0_5:
Lloh7:
	adrp	x8, _QED_MF_UFP_SPECIFIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QED_MF_UFP_SPECIFIC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_test_bit
Lloh10:
	adrp	x8, _DCBX_PROTOCOL_ROCE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCBX_PROTOCOL_ROCE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, w22, #0, ne
	b.eq	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh13:
	adrp	x8, _DORQ_REG_TAG1_OVRD_MODE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DORQ_REG_TAG1_OVRD_MODE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #1
	bl	_qed_wr
Lloh16:
	adrp	x8, _DORQ_REG_PF_PCP_BB_K2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DORQ_REG_PF_PCP_BB_K2@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	lsl	w3, w19, #1
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_qed_wr
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UPDATE_DCB,4,2                 ; @UPDATE_DCB
	.comm	_DONT_UPDATE_DCB_DSCP,4,2       ; @DONT_UPDATE_DCB_DSCP
	.comm	_QED_MF_DONT_ADD_VLAN0_TAG,4,2  ; @QED_MF_DONT_ADD_VLAN0_TAG
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ; @QED_MF_UFP_SPECIFIC
	.comm	_DCBX_PROTOCOL_ROCE,4,2         ; @DCBX_PROTOCOL_ROCE
	.comm	_DORQ_REG_TAG1_OVRD_MODE,4,2    ; @DORQ_REG_TAG1_OVRD_MODE
	.comm	_DORQ_REG_PF_PCP_BB_K2,4,2      ; @DORQ_REG_PF_PCP_BB_K2
	.no_dead_strip	_qed_dcbx_set_params
.subsections_via_symbols
