	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_get_iscsi_info           ## -- Begin function bnx2x_get_iscsi_info
	.p2align	4, 0x90
_bnx2x_get_iscsi_info:                  ## @bnx2x_get_iscsi_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_NO_ISCSI_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_BP_PORT
	movq	_FW_ENCODE_32BIT_PATTERN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_drv_lic_key@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %esi
	movq	%r14, %rdi
	callq	_SHMEM_RD
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_CNIC_SUPPORT
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %ebx
	movq	_BNX2X_MAX_ISCSI_INIT_CONN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_BNX2X_MAX_ISCSI_INIT_CONN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movl	%ebx, 4(%r14)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_DEV_INFO
	cmpl	$0, 4(%r14)
	jne	LBB0_3
LBB0_2:
	orl	%r15d, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_ISCSI_FLAG,4,2              ## @NO_ISCSI_FLAG
	.comm	_FW_ENCODE_32BIT_PATTERN,4,2    ## @FW_ENCODE_32BIT_PATTERN
	.comm	_drv_lic_key,8,3                ## @drv_lic_key
	.comm	_BNX2X_MAX_ISCSI_INIT_CONN_MASK,4,2 ## @BNX2X_MAX_ISCSI_INIT_CONN_MASK
	.comm	_BNX2X_MAX_ISCSI_INIT_CONN_SHIFT,4,2 ## @BNX2X_MAX_ISCSI_INIT_CONN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"max_iscsi_conn 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_get_iscsi_info           ; -- Begin function bnx2x_get_iscsi_info
	.p2align	2
_bnx2x_get_iscsi_info:                  ; @bnx2x_get_iscsi_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _NO_ISCSI_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_ISCSI_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_BP_PORT
Lloh3:
	adrp	x8, _FW_ENCODE_32BIT_PATTERN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_ENCODE_32BIT_PATTERN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _drv_lic_key@GOTPAGE
Lloh7:
	ldr	x8, [x8, _drv_lic_key@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w1, [x8, w0, sxtw #2]
	mov	x0, x19
	bl	_SHMEM_RD
	mov	x20, x0
	mov	x0, x19
	bl	_CNIC_SUPPORT
	cbz	w0, LBB0_2
; %bb.1:
	eor	w8, w20, w22
Lloh9:
	adrp	x9, _BNX2X_MAX_ISCSI_INIT_CONN_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNX2X_MAX_ISCSI_INIT_CONN_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _BNX2X_MAX_ISCSI_INIT_CONN_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNX2X_MAX_ISCSI_INIT_CONN_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	asr	w1, w8, w9
	str	w1, [x19, #4]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_DEV_INFO
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_3
LBB0_2:
	ldr	w8, [x19]
	orr	w8, w8, w21
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_ISCSI_FLAG,4,2              ; @NO_ISCSI_FLAG
	.comm	_FW_ENCODE_32BIT_PATTERN,4,2    ; @FW_ENCODE_32BIT_PATTERN
	.comm	_drv_lic_key,8,3                ; @drv_lic_key
	.comm	_BNX2X_MAX_ISCSI_INIT_CONN_MASK,4,2 ; @BNX2X_MAX_ISCSI_INIT_CONN_MASK
	.comm	_BNX2X_MAX_ISCSI_INIT_CONN_SHIFT,4,2 ; @BNX2X_MAX_ISCSI_INIT_CONN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"max_iscsi_conn 0x%x\n"

.subsections_via_symbols
