	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_setup_cnic_info          ## -- Begin function bnx2x_setup_cnic_info
	.p2align	4, 0x90
_bnx2x_setup_cnic_info:                 ## @bnx2x_setup_cnic_info
	.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
	callq	_BP_FUNC
	movl	%eax, %edi
	callq	_FUNC_ILT_BASE
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bnx2x_cid_ilt_lines
	cltq
	addq	%r14, %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_bnx2x_cid_ilt_lines
	movq	_ILT_PAGE_CIDS@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_BNX2X_FCOE_ETH_CID
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_BNX2X_ISCSI_ETH_CID
	movl	%eax, 8(%rbx)
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_BNX2X_1st_NON_L2_ETH_CID
	movl	12(%rbx), %r8d
	movl	(%rbx), %ecx
	movl	8(%rbx), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_DP
	movq	%rbx, %rdi
	callq	_NO_ISCSI_OOO
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ILT_PAGE_CIDS,4,2              ## @ILT_PAGE_CIDS
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BNX2X_1st_NON_L2_ETH_CID(bp) %x, cp->starting_cid %x, cp->fcoe_init_cid %x, cp->iscsi_l2_cid %x\n"

	.comm	_CNIC_DRV_STATE_NO_ISCSI_OOO,4,2 ## @CNIC_DRV_STATE_NO_ISCSI_OOO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_setup_cnic_info          ; -- Begin function bnx2x_setup_cnic_info
	.p2align	2
_bnx2x_setup_cnic_info:                 ; @bnx2x_setup_cnic_info
	.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
	bl	_BP_FUNC
	bl	_FUNC_ILT_BASE
	mov	x20, x0
	mov	x0, x19
	bl	_bnx2x_cid_ilt_lines
	add	x8, x20, w0, sxtw
	str	x8, [x19, #16]
	mov	x0, x19
	bl	_bnx2x_cid_ilt_lines
Lloh0:
	adrp	x8, _ILT_PAGE_CIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ILT_PAGE_CIDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w0
	str	w8, [x19]
	mov	x0, x19
	bl	_BNX2X_FCOE_ETH_CID
	str	w0, [x19, #12]
	mov	x0, x19
	bl	_BNX2X_ISCSI_ETH_CID
	str	w0, [x19, #8]
Lloh3:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_BNX2X_1st_NON_L2_ETH_CID
	mov	x2, x0
	ldr	w3, [x19]
	ldp	w5, w4, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP
	mov	x0, x19
	bl	_NO_ISCSI_OOO
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ILT_PAGE_CIDS,4,2              ; @ILT_PAGE_CIDS
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BNX2X_1st_NON_L2_ETH_CID(bp) %x, cp->starting_cid %x, cp->fcoe_init_cid %x, cp->iscsi_l2_cid %x\n"

	.comm	_CNIC_DRV_STATE_NO_ISCSI_OOO,4,2 ; @CNIC_DRV_STATE_NO_ISCSI_OOO
.subsections_via_symbols
