	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dcbx_set_state           ## -- Begin function bnx2x_dcbx_set_state
	.p2align	4, 0x90
_bnx2x_dcbx_set_state:                  ## @bnx2x_dcbx_set_state
	.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, %r14d
	movq	%rdi, %rbx
	callq	_CHIP_IS_E1x
	movl	%r14d, %ecx
	movq	%r15, %rdx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	movq	_BNX2X_DCBX_ENABLED_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_2:
	movl	%ecx, (%rbx)
	movq	%rdx, 8(%rbx)
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BNX2X_DCBX_ENABLED_OFF@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	_BNX2X_DCBX_ENABLED_ON_NEG_OFF@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
LBB0_7:
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_DCBX_ENABLED_INVALID,8,3 ## @BNX2X_DCBX_ENABLED_INVALID
	.comm	_BNX2X_MSG_DCB,4,2              ## @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCB state [%s:%s]\n"

L_.str.1:                               ## @.str.1
	.asciz	"ON"

L_.str.2:                               ## @.str.2
	.asciz	"OFF"

	.comm	_BNX2X_DCBX_ENABLED_OFF,8,3     ## @BNX2X_DCBX_ENABLED_OFF
L_.str.3:                               ## @.str.3
	.asciz	"user-mode"

	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_OFF,8,3 ## @BNX2X_DCBX_ENABLED_ON_NEG_OFF
L_.str.4:                               ## @.str.4
	.asciz	"on-chip static"

	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_ON,8,3 ## @BNX2X_DCBX_ENABLED_ON_NEG_ON
L_.str.5:                               ## @.str.5
	.asciz	"on-chip with negotiation"

L_.str.6:                               ## @.str.6
	.asciz	"invalid"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_dcbx_set_state           ; -- Begin function bnx2x_dcbx_set_state
	.p2align	2
_bnx2x_dcbx_set_state:                  ; @bnx2x_dcbx_set_state
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_CHIP_IS_E1x
Lloh0:
	adrp	x8, _BNX2X_DCBX_ENABLED_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	w0, #0
	csel	w9, w19, wzr, eq
	csel	x8, x20, x8, eq
	str	w9, [x21]
Lloh3:
	adrp	x9, _BNX2X_MSG_DCB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNX2X_MSG_DCB@GOTPAGEOFF]
	str	x8, [x21, #8]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x8, _BNX2X_DCBX_ENABLED_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_OFF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x3, l_.str.3@PAGE
Lloh10:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_2:
Lloh11:
	adrp	x8, _BNX2X_DCBX_ENABLED_ON_NEG_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_ON_NEG_OFF@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x3, l_.str.4@PAGE
Lloh15:
	add	x3, x3, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, l_.str.6@PAGE
Lloh20:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh21:
	adrp	x10, l_.str.5@PAGE
Lloh22:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x8, x20
	csel	x3, x10, x9, eq
LBB0_5:
Lloh23:
	adrp	x8, l_.str.1@PAGE
Lloh24:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh25:
	adrp	x9, l_.str.2@PAGE
Lloh26:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #0
	csel	x2, x9, x8, eq
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_DCBX_ENABLED_INVALID,8,3 ; @BNX2X_DCBX_ENABLED_INVALID
	.comm	_BNX2X_MSG_DCB,4,2              ; @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCB state [%s:%s]\n"

l_.str.1:                               ; @.str.1
	.asciz	"ON"

l_.str.2:                               ; @.str.2
	.asciz	"OFF"

	.comm	_BNX2X_DCBX_ENABLED_OFF,8,3     ; @BNX2X_DCBX_ENABLED_OFF
l_.str.3:                               ; @.str.3
	.asciz	"user-mode"

	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_OFF,8,3 ; @BNX2X_DCBX_ENABLED_ON_NEG_OFF
l_.str.4:                               ; @.str.4
	.asciz	"on-chip static"

	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_ON,8,3 ; @BNX2X_DCBX_ENABLED_ON_NEG_ON
l_.str.5:                               ; @.str.5
	.asciz	"on-chip with negotiation"

l_.str.6:                               ; @.str.6
	.asciz	"invalid"

.subsections_via_symbols
