	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dcbx_set_params          ## -- Begin function bnx2x_dcbx_set_params
	.p2align	4, 0x90
_bnx2x_dcbx_set_params:                 ## @bnx2x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_8
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_9
## %bb.3:
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	%rbx, %rdi
	callq	_bnx2x_dcbx_read_shmem_neg_results
	testl	%eax, %eax
	je	LBB0_4
## %bb.10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	movq	_DRV_MSG_CODE_DCBX_PMF_DRV_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_fw_command               ## TAILCALL
LBB0_7:
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	%rbx, %rdi
	callq	_bnx2x_pfc_set_pfc
	movq	%rbx, %rdi
	callq	_bnx2x_dcbx_update_ets_params
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_set_local_cmng           ## TAILCALL
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_4:
	leaq	8(%rbx), %r14
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_dump_dcbx_drv_param
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_get_dcbx_drv_param
	movq	_DRV_FLAGS_DCB_CONFIGURED@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_bnx2x_update_drv_flags
	movq	%rbx, %rdi
	callq	_bnx2x_dcbx_update_tc_mapping
	movq	%rbx, %rdi
	callq	_IS_MF
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_bnx2x_link_sync_notify
LBB0_6:
	movq	_BNX2X_SP_RTNL_TX_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_schedule_sp_rtnl         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_DCB,4,2              ## @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BNX2X_DCBX_STATE_NEG_RECEIVED\n"

	.comm	_DRV_FLAGS_DCB_CONFIGURED,4,2   ## @DRV_FLAGS_DCB_CONFIGURED
	.comm	_BNX2X_SP_RTNL_TX_STOP,4,2      ## @BNX2X_SP_RTNL_TX_STOP
L_.str.1:                               ## @.str.1
	.asciz	"BNX2X_DCBX_STATE_TX_PAUSED\n"

L_.str.2:                               ## @.str.2
	.asciz	"BNX2X_DCBX_STATE_TX_RELEASED\n"

	.comm	_DRV_MSG_CODE_DCBX_PMF_DRV_OK,4,2 ## @DRV_MSG_CODE_DCBX_PMF_DRV_OK
L_.str.3:                               ## @.str.3
	.asciz	"Unknown DCBX_STATE\n"

	.comm	_DCB_CMD_CEE_GET,4,2            ## @DCB_CMD_CEE_GET
	.comm	_RTM_GETDCB,4,2                 ## @RTM_GETDCB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dcbx_set_params          ; -- Begin function bnx2x_dcbx_set_params
	.p2align	2
_bnx2x_dcbx_set_params:                 ; @bnx2x_dcbx_set_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _BNX2X_MSG_DCB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_DCB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	x0, x19
	bl	_bnx2x_dcbx_read_shmem_neg_results
	cbz	w0, LBB0_8
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x8, _BNX2X_MSG_DCB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNX2X_MSG_DCB@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
Lloh10:
	adrp	x8, _DRV_MSG_CODE_DCBX_PMF_DRV_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRV_MSG_CODE_DCBX_PMF_DRV_OK@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_fw_command
LBB0_6:
Lloh13:
	adrp	x8, _BNX2X_MSG_DCB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BNX2X_MSG_DCB@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	mov	x0, x19
	bl	_bnx2x_pfc_set_pfc
	mov	x0, x19
	bl	_bnx2x_dcbx_update_ets_params
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_set_local_cmng
LBB0_7:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BNX2X_ERR
LBB0_8:
	add	x20, x19, #8
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_dump_dcbx_drv_param
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_get_dcbx_drv_param
Lloh20:
	adrp	x8, _DRV_FLAGS_DCB_CONFIGURED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DRV_FLAGS_DCB_CONFIGURED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w1, w9, w8
	mov	x0, x19
	mov	w2, #1
	bl	_bnx2x_update_drv_flags
	mov	x0, x19
	bl	_bnx2x_dcbx_update_tc_mapping
	mov	x0, x19
	bl	_IS_MF
	cbz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_bnx2x_link_sync_notify
LBB0_10:
Lloh23:
	adrp	x8, _BNX2X_SP_RTNL_TX_STOP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BNX2X_SP_RTNL_TX_STOP@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_schedule_sp_rtnl
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_DCB,4,2              ; @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BNX2X_DCBX_STATE_NEG_RECEIVED\n"

	.comm	_DRV_FLAGS_DCB_CONFIGURED,4,2   ; @DRV_FLAGS_DCB_CONFIGURED
	.comm	_BNX2X_SP_RTNL_TX_STOP,4,2      ; @BNX2X_SP_RTNL_TX_STOP
l_.str.1:                               ; @.str.1
	.asciz	"BNX2X_DCBX_STATE_TX_PAUSED\n"

l_.str.2:                               ; @.str.2
	.asciz	"BNX2X_DCBX_STATE_TX_RELEASED\n"

	.comm	_DRV_MSG_CODE_DCBX_PMF_DRV_OK,4,2 ; @DRV_MSG_CODE_DCBX_PMF_DRV_OK
l_.str.3:                               ; @.str.3
	.asciz	"Unknown DCBX_STATE\n"

	.comm	_DCB_CMD_CEE_GET,4,2            ; @DCB_CMD_CEE_GET
	.comm	_RTM_GETDCB,4,2                 ; @RTM_GETDCB
.subsections_via_symbols
