	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_update_ets_config
_bnx2x_dcbx_update_ets_config:          ## @bnx2x_dcbx_update_ets_config
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	16(%r15), %rcx
	movq	_BNX2X_DCBX_STRICT_INVALID@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_DCBX_INVALID_COS_BW@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	addq	$8, %rcx
	movl	$16, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rdi
	addq	$16, %rcx
	decq	%rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rbx
	cmpq	%rdx, -8(%rcx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_7:
	leaq	4(%r15), %r14
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_ets_e3b0_config
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_ets_disabled
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_DCBX_STRICT_INVALID,8,3  ## @BNX2X_DCBX_STRICT_INVALID
	.comm	_DCBX_INVALID_COS_BW,8,3        ## @DCBX_INVALID_COS_BW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COS can't be not BW and not SP\n"

	.comm	_bnx2x_cos_state_strict,4,2     ## @bnx2x_cos_state_strict
	.comm	_bnx2x_cos_state_bw,4,2         ## @bnx2x_cos_state_bw
L_.str.1:                               ## @.str.1
	.asciz	"bnx2x_ets_e3b0_config failed\n"

	.no_dead_strip	_bnx2x_dcbx_update_ets_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_update_ets_config
_bnx2x_dcbx_update_ets_config:          ; @bnx2x_dcbx_update_ets_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	ldr	x8, [x0, #8]
	str	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x11, [x19, #16]
Lloh0:
	adrp	x9, _BNX2X_DCBX_STRICT_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_DCBX_STRICT_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _DCBX_INVALID_COS_BW@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DCBX_INVALID_COS_BW@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x11, x11, #8
	mov	w12, #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x13, x10
	b.eq	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #24
	add	x11, x11, #16
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x14, x13, [x11, #-8]
	cmp	x14, x9
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x13, x10
	b.eq	LBB0_3
LBB0_6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_BNX2X_ERR
LBB0_7:
	add	x20, x19, #4
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_ets_e3b0_config
	cbz	x0, LBB0_9
; %bb.8:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_ets_disabled
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_DCBX_STRICT_INVALID,8,3  ; @BNX2X_DCBX_STRICT_INVALID
	.comm	_DCBX_INVALID_COS_BW,8,3        ; @DCBX_INVALID_COS_BW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COS can't be not BW and not SP\n"

	.comm	_bnx2x_cos_state_strict,4,2     ; @bnx2x_cos_state_strict
	.comm	_bnx2x_cos_state_bw,4,2         ; @bnx2x_cos_state_bw
l_.str.1:                               ; @.str.1
	.asciz	"bnx2x_ets_e3b0_config failed\n"

	.no_dead_strip	_bnx2x_dcbx_update_ets_config
.subsections_via_symbols
