	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_init_bnx2x_hw
_cnic_cm_init_bnx2x_hw:                 ## @cnic_cm_init_bnx2x_hw
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_netdev_priv
	movl	(%rax), %r14d
	movq	%rax, %rdi
	callq	_BP_PORT
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_cnic_init_bnx2x_mac
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_cnic_bnx2x_set_tcp_options
	movq	_BAR_XSTRORM_INTMEM@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movl	%r14d, %edi
	callq	_XSTORM_ISCSI_LOCAL_VLAN_OFFSET
	addq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_CNIC_WR16
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_XSTORM_TCP_GLOBAL_DEL_ACK_COUNTER_ENABLED_OFFSET
	addq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_CNIC_WR
	movq	(%r13), %rbx
	movl	%r15d, %edi
	callq	_XSTORM_TCP_GLOBAL_DEL_ACK_COUNTER_MAX_COUNT_OFFSET
	addq	%rax, %rbx
	movq	_DEF_MAX_DA_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CNIC_WR
	movq	(%r13), %rbx
	movl	%r14d, %edi
	callq	_XSTORM_ISCSI_TCP_VARS_TTL_OFFSET
	addq	%rax, %rbx
	movq	_DEF_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CNIC_WR8
	movq	(%r13), %rbx
	movl	%r14d, %edi
	callq	_XSTORM_ISCSI_TCP_VARS_TOS_OFFSET
	addq	%rax, %rbx
	movq	_DEF_TOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CNIC_WR8
	movq	(%r13), %rbx
	movl	%r14d, %edi
	callq	_XSTORM_ISCSI_TCP_VARS_ADV_WND_SCL_OFFSET
	addq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_CNIC_WR8
	movq	(%r13), %rbx
	movl	%r14d, %edi
	callq	_XSTORM_TCP_TX_SWS_TIMER_VAL_OFFSET
	addq	%rax, %rbx
	movq	_DEF_SWS_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CNIC_WR
	movq	_BAR_TSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r14d, %edi
	callq	_TSTORM_TCP_MAX_CWND_OFFSET
	addq	%rax, %rbx
	movq	_DEF_MAX_CWND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CNIC_WR
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAR_XSTRORM_INTMEM,8,3         ## @BAR_XSTRORM_INTMEM
	.comm	_DEF_MAX_DA_COUNT,4,2           ## @DEF_MAX_DA_COUNT
	.comm	_DEF_TTL,4,2                    ## @DEF_TTL
	.comm	_DEF_TOS,4,2                    ## @DEF_TOS
	.comm	_DEF_SWS_TIMER,4,2              ## @DEF_SWS_TIMER
	.comm	_BAR_TSTRORM_INTMEM,8,3         ## @BAR_TSTRORM_INTMEM
	.comm	_DEF_MAX_CWND,4,2               ## @DEF_MAX_CWND
	.no_dead_strip	_cnic_cm_init_bnx2x_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_cm_init_bnx2x_hw
_cnic_cm_init_bnx2x_hw:                 ; @cnic_cm_init_bnx2x_hw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0]
	bl	_netdev_priv
	ldr	w20, [x0]
	bl	_BP_PORT
	mov	x21, x0
	mov	x0, x19
	bl	_cnic_init_bnx2x_mac
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_cnic_bnx2x_set_tcp_options
Lloh0:
	adrp	x22, _BAR_XSTRORM_INTMEM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BAR_XSTRORM_INTMEM@GOTPAGEOFF]
	ldr	x23, [x22]
	mov	x0, x20
	bl	_XSTORM_ISCSI_LOCAL_VLAN_OFFSET
	add	x1, x0, x23
	mov	x0, x19
	mov	w2, #0
	bl	_CNIC_WR16
	ldr	x23, [x22]
	mov	x0, x21
	bl	_XSTORM_TCP_GLOBAL_DEL_ACK_COUNTER_ENABLED_OFFSET
	add	x1, x0, x23
	mov	x0, x19
	mov	w2, #1
	bl	_CNIC_WR
	ldr	x23, [x22]
	mov	x0, x21
	bl	_XSTORM_TCP_GLOBAL_DEL_ACK_COUNTER_MAX_COUNT_OFFSET
	add	x1, x0, x23
Lloh2:
	adrp	x8, _DEF_MAX_DA_COUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEF_MAX_DA_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CNIC_WR
	ldr	x21, [x22]
	mov	x0, x20
	bl	_XSTORM_ISCSI_TCP_VARS_TTL_OFFSET
	add	x1, x0, x21
Lloh5:
	adrp	x8, _DEF_TTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEF_TTL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CNIC_WR8
	ldr	x21, [x22]
	mov	x0, x20
	bl	_XSTORM_ISCSI_TCP_VARS_TOS_OFFSET
	add	x1, x0, x21
Lloh8:
	adrp	x8, _DEF_TOS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEF_TOS@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CNIC_WR8
	ldr	x21, [x22]
	mov	x0, x20
	bl	_XSTORM_ISCSI_TCP_VARS_ADV_WND_SCL_OFFSET
	add	x1, x0, x21
	mov	x0, x19
	mov	w2, #2
	bl	_CNIC_WR8
	ldr	x21, [x22]
	mov	x0, x20
	bl	_XSTORM_TCP_TX_SWS_TIMER_VAL_OFFSET
	add	x1, x0, x21
Lloh11:
	adrp	x8, _DEF_SWS_TIMER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DEF_SWS_TIMER@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CNIC_WR
Lloh14:
	adrp	x8, _BAR_TSTRORM_INTMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BAR_TSTRORM_INTMEM@GOTPAGEOFF]
Lloh16:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_TSTORM_TCP_MAX_CWND_OFFSET
	add	x1, x0, x21
Lloh17:
	adrp	x8, _DEF_MAX_CWND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DEF_MAX_CWND@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CNIC_WR
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BAR_XSTRORM_INTMEM,8,3         ; @BAR_XSTRORM_INTMEM
	.comm	_DEF_MAX_DA_COUNT,4,2           ; @DEF_MAX_DA_COUNT
	.comm	_DEF_TTL,4,2                    ; @DEF_TTL
	.comm	_DEF_TOS,4,2                    ; @DEF_TOS
	.comm	_DEF_SWS_TIMER,4,2              ; @DEF_SWS_TIMER
	.comm	_BAR_TSTRORM_INTMEM,8,3         ; @BAR_TSTRORM_INTMEM
	.comm	_DEF_MAX_CWND,4,2               ; @DEF_MAX_CWND
	.no_dead_strip	_cnic_cm_init_bnx2x_hw
.subsections_via_symbols
