	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_read_shmem_neg_results
_bnx2x_dcbx_read_shmem_neg_results:     ## @bnx2x_dcbx_read_shmem_neg_results
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$0, -24(%rbp)
	movq	$0, -32(%rbp)
	callq	_SHMEM2_RD
	movq	%rax, %rbx
	movq	_BNX2X_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_DP
	movq	_SHMEM_DCBX_NEG_RES_NONE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_DCBX_READ_LOCAL_MIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_bnx2x_dcbx_read_mib
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_5
LBB0_4:
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r14)
	movl	-32(%rbp), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_DCB,4,2              ## @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dcbx_neg_res_offset 0x%x\n"

	.comm	_SHMEM_DCBX_NEG_RES_NONE,8,3    ## @SHMEM_DCBX_NEG_RES_NONE
L_.str.1:                               ## @.str.1
	.asciz	"FW doesn't support dcbx_neg_res_offset\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DCBX_READ_LOCAL_MIB,4,2        ## @DCBX_READ_LOCAL_MIB
L_.str.2:                               ## @.str.2
	.asciz	"Failed to read local mib from FW\n"

	.comm	_dcbx_neg_res_offset,8,3        ## @dcbx_neg_res_offset
	.no_dead_strip	_bnx2x_dcbx_read_shmem_neg_results
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_read_shmem_neg_results
_bnx2x_dcbx_read_shmem_neg_results:     ; @bnx2x_dcbx_read_shmem_neg_results
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	wzr, [sp, #8]
	str	xzr, [sp]
	bl	_SHMEM2_RD
	mov	x20, x0
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
	mov	x2, x20
	bl	_DP
Lloh5:
	adrp	x8, _SHMEM_DCBX_NEG_RES_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHMEM_DCBX_NEG_RES_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_2:
Lloh13:
	adrp	x8, _DCBX_READ_LOCAL_MIB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCBX_READ_LOCAL_MIB@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x20
	bl	_bnx2x_dcbx_read_mib
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_5
LBB0_4:
	ldr	d0, [sp]
	str	d0, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_DCB,4,2              ; @BNX2X_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dcbx_neg_res_offset 0x%x\n"

	.comm	_SHMEM_DCBX_NEG_RES_NONE,8,3    ; @SHMEM_DCBX_NEG_RES_NONE
l_.str.1:                               ; @.str.1
	.asciz	"FW doesn't support dcbx_neg_res_offset\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DCBX_READ_LOCAL_MIB,4,2        ; @DCBX_READ_LOCAL_MIB
l_.str.2:                               ; @.str.2
	.asciz	"Failed to read local mib from FW\n"

	.comm	_dcbx_neg_res_offset,8,3        ; @dcbx_neg_res_offset
	.no_dead_strip	_bnx2x_dcbx_read_shmem_neg_results
.subsections_via_symbols
