	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_nic_load_afex_dcc
_bnx2x_nic_load_afex_dcc:               ## @bnx2x_nic_load_afex_dcc
	.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
	movq	_FW_MSG_CODE_DRV_LOAD_COMMON@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_FW_MSG_CODE_DRV_LOAD_COMMON_CHIP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
LBB0_2:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.3:
	movq	_dcc_support@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	movq	_SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV@GOTPCREL(%rip), %rax
	movq	_SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_SHMEM2_WR
LBB0_5:
	movq	_afex_driver_support@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r14), %esi
	movq	_SHMEM_AFEX_SUPPORTED_VERSION_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_SHMEM2_WR
LBB0_7:
	movl	$-1, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_MSG_CODE_DRV_LOAD_COMMON,4,2 ## @FW_MSG_CODE_DRV_LOAD_COMMON
	.comm	_FW_MSG_CODE_DRV_LOAD_COMMON_CHIP,4,2 ## @FW_MSG_CODE_DRV_LOAD_COMMON_CHIP
	.comm	_dcc_support,4,2                ## @dcc_support
	.comm	_SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV,4,2 ## @SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV
	.comm	_SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV,4,2 ## @SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV
	.comm	_afex_driver_support,4,2        ## @afex_driver_support
	.comm	_SHMEM_AFEX_SUPPORTED_VERSION_ONE,4,2 ## @SHMEM_AFEX_SUPPORTED_VERSION_ONE
	.no_dead_strip	_bnx2x_nic_load_afex_dcc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_nic_load_afex_dcc
_bnx2x_nic_load_afex_dcc:               ; @bnx2x_nic_load_afex_dcc
	.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
Lloh0:
	adrp	x8, _FW_MSG_CODE_DRV_LOAD_COMMON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_MSG_CODE_DRV_LOAD_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FW_MSG_CODE_DRV_LOAD_COMMON_CHIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FW_MSG_CODE_DRV_LOAD_COMMON_CHIP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh6:
	adrp	x20, _dcc_support@GOTPAGE
Lloh7:
	ldr	x20, [x20, _dcc_support@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_SHMEM2_WR
LBB0_4:
Lloh14:
	adrp	x20, _afex_driver_support@GOTPAGE
Lloh15:
	ldr	x20, [x20, _afex_driver_support@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _SHMEM_AFEX_SUPPORTED_VERSION_ONE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SHMEM_AFEX_SUPPORTED_VERSION_ONE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_SHMEM2_WR
LBB0_6:
	mov	w8, #-1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_MSG_CODE_DRV_LOAD_COMMON,4,2 ; @FW_MSG_CODE_DRV_LOAD_COMMON
	.comm	_FW_MSG_CODE_DRV_LOAD_COMMON_CHIP,4,2 ; @FW_MSG_CODE_DRV_LOAD_COMMON_CHIP
	.comm	_dcc_support,4,2                ; @dcc_support
	.comm	_SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV,4,2 ; @SHMEM_DCC_SUPPORT_DISABLE_ENABLE_PF_TLV
	.comm	_SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV,4,2 ; @SHMEM_DCC_SUPPORT_BANDWIDTH_ALLOCATION_TLV
	.comm	_afex_driver_support,4,2        ; @afex_driver_support
	.comm	_SHMEM_AFEX_SUPPORTED_VERSION_ONE,4,2 ; @SHMEM_AFEX_SUPPORTED_VERSION_ONE
	.no_dead_strip	_bnx2x_nic_load_afex_dcc
.subsections_via_symbols
