	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_bnx2x_iscsi_update
_cnic_bnx2x_iscsi_update:               ## @cnic_bnx2x_iscsi_update
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	(%rsi), %edi
	callq	_BNX2X_SW_CID
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cnic_get_l5_cid
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	movl	-36(%rbp), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_cnic_get_kwqe_16_data
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_ISCSI_RAMROD_CMD_ID_UPDATE_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	_ISCSI_CONNECTION_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %r8
	movq	%r14, %rdi
	callq	_cnic_submit_kwqe_16
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ISCSI_RAMROD_CMD_ID_UPDATE_CONN,4,2 ## @ISCSI_RAMROD_CMD_ID_UPDATE_CONN
	.comm	_ISCSI_CONNECTION_TYPE,4,2      ## @ISCSI_CONNECTION_TYPE
	.no_dead_strip	_cnic_bnx2x_iscsi_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_bnx2x_iscsi_update
_cnic_bnx2x_iscsi_update:               ; @cnic_bnx2x_iscsi_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	ldr	w0, [x1]
	bl	_BNX2X_SW_CID
	mov	x1, x0
	add	x2, sp, #4
	mov	x0, x21
	bl	_cnic_get_l5_cid
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	ldr	w1, [sp, #4]
	add	x2, sp, #8
	mov	x0, x21
	bl	_cnic_get_kwqe_16_data
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
Lloh2:
	adrp	x8, _ISCSI_RAMROD_CMD_ID_UPDATE_CONN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISCSI_RAMROD_CMD_ID_UPDATE_CONN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh5:
	adrp	x8, _ISCSI_CONNECTION_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISCSI_CONNECTION_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x19
	bl	_cnic_submit_kwqe_16
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ISCSI_RAMROD_CMD_ID_UPDATE_CONN,4,2 ; @ISCSI_RAMROD_CMD_ID_UPDATE_CONN
	.comm	_ISCSI_CONNECTION_TYPE,4,2      ; @ISCSI_CONNECTION_TYPE
	.no_dead_strip	_cnic_bnx2x_iscsi_update
.subsections_via_symbols
