	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dcbx_mib_update_event      ## -- Begin function qed_dcbx_mib_update_event
	.p2align	4, 0x90
_qed_dcbx_mib_update_event:             ## @qed_dcbx_mib_update_event
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_qed_dcbx_read_mib
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_QED_DCBX_OPERATIONAL_MIB@GOTPCREL(%rip), %r13
	cmpl	%r14d, (%r13)
	jne	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_qed_dcbx_process_mib_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_qed_qm_reconf
	movq	%r12, %rdi
	callq	_qed_sp_pf_update
	movq	8(%r12), %rax
	movq	_QED_PCI_ETH_ROCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_qed_roce_dpm_dcbx
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	(%r12), %rsi
	addq	$8, %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_qed_dcbx_get_params
	cmpl	%r14d, (%r13)
	jne	LBB0_8
## %bb.7:
	movq	(%r12), %rax
	movq	(%rax), %rdx
	movq	_DCBX_PROTOCOL_ROCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_DCBX_PROTOCOL_ROCE_V2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%rdx,%rax,4), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movb	(%rdx,%rsi,4), %cl
	btsl	%ecx, %eax
	movq	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_NIG_REG_TX_EDPM_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_qed_wr
LBB0_8:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_qed_dcbx_aen
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_DCBX_OPERATIONAL_MIB,4,2   ## @QED_DCBX_OPERATIONAL_MIB
	.comm	_QED_PCI_ETH_ROCE,8,3           ## @QED_PCI_ETH_ROCE
	.comm	_DCBX_PROTOCOL_ROCE,8,3         ## @DCBX_PROTOCOL_ROCE
	.comm	_DCBX_PROTOCOL_ROCE_V2,8,3      ## @DCBX_PROTOCOL_ROCE_V2
	.comm	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT,4,2 ## @NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT
	.comm	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN,4,2 ## @NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN
	.comm	_NIG_REG_TX_EDPM_CTRL,4,2       ## @NIG_REG_TX_EDPM_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dcbx_mib_update_event      ; -- Begin function qed_dcbx_mib_update_event
	.p2align	2
_qed_dcbx_mib_update_event:             ; @qed_dcbx_mib_update_event
	.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
	mov	x20, x0
	bl	_qed_dcbx_read_mib
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x23, _QED_DCBX_OPERATIONAL_MIB@GOTPAGE
Lloh1:
	ldr	x23, [x23, _QED_DCBX_OPERATIONAL_MIB@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w19
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_qed_dcbx_process_mib_info
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	bl	_qed_qm_reconf
	mov	x0, x20
	bl	_qed_sp_pf_update
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _QED_PCI_ETH_ROCE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QED_PCI_ETH_ROCE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_qed_roce_dpm_dcbx
LBB0_5:
	mov	w22, #0
LBB0_6:
	ldr	x8, [x20]
	add	x1, x8, #8
	mov	x0, x20
	mov	x2, x19
	bl	_qed_dcbx_get_params
	ldr	w8, [x23]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _DCBX_PROTOCOL_ROCE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DCBX_PROTOCOL_ROCE@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	mov	w10, #1
	lsl	w9, w10, w9
Lloh8:
	adrp	x11, _DCBX_PROTOCOL_ROCE_V2@GOTPAGE
Lloh9:
	ldr	x11, [x11, _DCBX_PROTOCOL_ROCE_V2@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	ldr	w8, [x8, x11, lsl #2]
	lsl	w8, w10, w8
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh16:
	ldr	w9, [x10]
	orr	w3, w8, w9
Lloh17:
	adrp	x8, _NIG_REG_TX_EDPM_CTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NIG_REG_TX_EDPM_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_qed_wr
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_qed_dcbx_aen
LBB0_9:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_DCBX_OPERATIONAL_MIB,4,2   ; @QED_DCBX_OPERATIONAL_MIB
	.comm	_QED_PCI_ETH_ROCE,8,3           ; @QED_PCI_ETH_ROCE
	.comm	_DCBX_PROTOCOL_ROCE,8,3         ; @DCBX_PROTOCOL_ROCE
	.comm	_DCBX_PROTOCOL_ROCE_V2,8,3      ; @DCBX_PROTOCOL_ROCE_V2
	.comm	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT,4,2 ; @NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT
	.comm	_NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN,4,2 ; @NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN
	.comm	_NIG_REG_TX_EDPM_CTRL,4,2       ; @NIG_REG_TX_EDPM_CTRL
.subsections_via_symbols
