	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_cnic_probe               ## -- Begin function bnx2x_cnic_probe
	.p2align	4, 0x90
_bnx2x_cnic_probe:                      ## @bnx2x_cnic_probe
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_NO_ISCSI
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_NO_FCOE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_3:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movq	%rbx, %rdi
	callq	_CHIP_ID
	movl	%eax, 88(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 84(%rbx)
	movq	(%rbx), %rax
	movq	%rax, 76(%rbx)
	movl	$8, 16(%rbx)
	movq	_CDU_ILT_PAGE_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	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, 32(%rbx)
	movq	_CNIC_ILT_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_bnx2x_cid_ilt_lines
	movq	_ILT_PAGE_CIDS@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movl	%eax, 20(%rbx)
	movq	_bnx2x_cnic_sp_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_bnx2x_drv_ctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_bnx2x_register_cnic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_bnx2x_unregister_cnic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	%rbx, %rdi
	callq	_BNX2X_FCOE_ETH_CID
	movl	%eax, 56(%rbx)
	movq	_BNX2X_ISCSI_ETH_CL_ID_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_cnic_eth_cl_id
	movl	%eax, 52(%rbx)
	movq	%rbx, %rdi
	callq	_BNX2X_ISCSI_ETH_CID
	movl	%eax, 48(%rbx)
	movq	%rbx, %rdi
	callq	_NO_ISCSI_OOO
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_NO_ISCSI
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_CNIC_DRV_STATE_NO_ISCSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	callq	_NO_FCOE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_CNIC_DRV_STATE_NO_FCOE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
LBB0_9:
	movq	%rbx, %r14
	addq	$16, %r14
	movl	40(%rbx), %esi
	movq	32(%rbx), %rdx
	movl	20(%rbx), %r8d
	movl	24(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_DEV_INFO
LBB0_10:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_CDU_ILT_PAGE_SZ,4,2            ## @CDU_ILT_PAGE_SZ
	.comm	_CNIC_ILT_LINES,4,2             ## @CNIC_ILT_LINES
	.comm	_ILT_PAGE_CIDS,4,2              ## @ILT_PAGE_CIDS
	.comm	_bnx2x_cnic_sp_queue,4,2        ## @bnx2x_cnic_sp_queue
	.comm	_bnx2x_drv_ctl,4,2              ## @bnx2x_drv_ctl
	.comm	_bnx2x_register_cnic,4,2        ## @bnx2x_register_cnic
	.comm	_bnx2x_unregister_cnic,4,2      ## @bnx2x_unregister_cnic
	.comm	_BNX2X_ISCSI_ETH_CL_ID_IDX,4,2  ## @BNX2X_ISCSI_ETH_CL_ID_IDX
	.comm	_CNIC_DRV_STATE_NO_ISCSI_OOO,4,2 ## @CNIC_DRV_STATE_NO_ISCSI_OOO
	.comm	_CNIC_DRV_STATE_NO_ISCSI,4,2    ## @CNIC_DRV_STATE_NO_ISCSI
	.comm	_CNIC_DRV_STATE_NO_FCOE,4,2     ## @CNIC_DRV_STATE_NO_FCOE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"page_size %d, tbl_offset %d, tbl_lines %d, starting cid %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_cnic_probe               ; -- Begin function bnx2x_cnic_probe
	.p2align	2
_bnx2x_cnic_probe:                      ; @bnx2x_cnic_probe
	.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
	bl	_netdev_priv
	mov	x19, x0
	bl	_NO_ISCSI
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_NO_FCOE
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, #0
	b	LBB0_10
LBB0_3:
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #92]
	mov	x0, x19
	bl	_CHIP_ID
	ldr	w8, [x19, #8]
	stp	w8, w0, [x19, #84]
	ldr	d0, [x19]
	stur	d0, [x19, #76]
	mov	w8, #8
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _CDU_ILT_PAGE_SZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CDU_ILT_PAGE_SZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	x0, x19
	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, #32]
Lloh6:
	adrp	x8, _CNIC_ILT_LINES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CNIC_ILT_LINES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_bnx2x_cid_ilt_lines
Lloh9:
	adrp	x8, _ILT_PAGE_CIDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ILT_PAGE_CIDS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mul	w8, w8, w0
	str	w8, [x19, #20]
Lloh12:
	adrp	x8, _bnx2x_cnic_sp_queue@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bnx2x_cnic_sp_queue@GOTPAGEOFF]
Lloh14:
	adrp	x9, _bnx2x_drv_ctl@GOTPAGE
Lloh15:
	ldr	x9, [x9, _bnx2x_drv_ctl@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #68]
Lloh18:
	adrp	x8, _bnx2x_register_cnic@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bnx2x_register_cnic@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _bnx2x_unregister_cnic@GOTPAGE
Lloh22:
	ldr	x9, [x9, _bnx2x_unregister_cnic@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #60]
	mov	x0, x19
	bl	_BNX2X_FCOE_ETH_CID
	str	w0, [x19, #56]
Lloh24:
	adrp	x8, _BNX2X_ISCSI_ETH_CL_ID_IDX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_ISCSI_ETH_CL_ID_IDX@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_cnic_eth_cl_id
	str	w0, [x19, #52]
	mov	x0, x19
	bl	_BNX2X_ISCSI_ETH_CID
	str	w0, [x19, #48]
	mov	x0, x19
	bl	_NO_ISCSI_OOO
	cbz	x0, LBB0_5
; %bb.4:
Lloh27:
	adrp	x8, _CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CNIC_DRV_STATE_NO_ISCSI_OOO@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x19, #44]
	orr	w8, w9, w8
	str	w8, [x19, #44]
LBB0_5:
	mov	x0, x19
	bl	_NO_ISCSI
	cbz	x0, LBB0_7
; %bb.6:
Lloh30:
	adrp	x8, _CNIC_DRV_STATE_NO_ISCSI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CNIC_DRV_STATE_NO_ISCSI@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x19, #44]
	orr	w8, w9, w8
	str	w8, [x19, #44]
LBB0_7:
	add	x20, x19, #16
	mov	x0, x19
	bl	_NO_FCOE
	cbz	x0, LBB0_9
; %bb.8:
Lloh33:
	adrp	x8, _CNIC_DRV_STATE_NO_FCOE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CNIC_DRV_STATE_NO_FCOE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x19, #44]
	orr	w8, w9, w8
	str	w8, [x19, #44]
LBB0_9:
	ldr	w1, [x19, #40]
	ldr	x2, [x19, #32]
	ldp	w4, w3, [x19, #20]
Lloh36:
	adrp	x0, l_.str@PAGE
Lloh37:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_DEV_INFO
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_CDU_ILT_PAGE_SZ,4,2            ; @CDU_ILT_PAGE_SZ
	.comm	_CNIC_ILT_LINES,4,2             ; @CNIC_ILT_LINES
	.comm	_ILT_PAGE_CIDS,4,2              ; @ILT_PAGE_CIDS
	.comm	_bnx2x_cnic_sp_queue,4,2        ; @bnx2x_cnic_sp_queue
	.comm	_bnx2x_drv_ctl,4,2              ; @bnx2x_drv_ctl
	.comm	_bnx2x_register_cnic,4,2        ; @bnx2x_register_cnic
	.comm	_bnx2x_unregister_cnic,4,2      ; @bnx2x_unregister_cnic
	.comm	_BNX2X_ISCSI_ETH_CL_ID_IDX,4,2  ; @BNX2X_ISCSI_ETH_CL_ID_IDX
	.comm	_CNIC_DRV_STATE_NO_ISCSI_OOO,4,2 ; @CNIC_DRV_STATE_NO_ISCSI_OOO
	.comm	_CNIC_DRV_STATE_NO_ISCSI,4,2    ; @CNIC_DRV_STATE_NO_ISCSI
	.comm	_CNIC_DRV_STATE_NO_FCOE,4,2     ; @CNIC_DRV_STATE_NO_FCOE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"page_size %d, tbl_offset %d, tbl_lines %d, starting cid %d\n"

.subsections_via_symbols
