	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_iscsi_nl_msg_recv
_cnic_iscsi_nl_msg_recv:                ## @cnic_iscsi_nl_msg_recv
	.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	%rdx, %r13
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	cmpl	$128, %esi
	jne	LBB0_15
## %bb.1:
	cmpl	$24, %ecx
	jb	LBB0_15
## %bb.2:
	movslq	20(%r13), %rbx
	movq	_MAX_CM_SK_TBL_SZ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jge	LBB0_15
## %bb.3:
	movq	(%rdi), %r14
	movq	8(%r14), %rax
	movq	_CNIC_ULP_L4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_access_pointer
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r14), %r12
	shlq	$5, %rbx
	leaq	(%r12,%rbx), %r15
	movq	%r15, %rdi
	callq	_csk_hold
	movq	%r15, %rdi
	callq	_cnic_in_use
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movq	_SK_F_CONNECT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movl	16(%r13), %eax
	movl	%eax, 24(%r12,%rbx)
	leaq	(%r12,%rbx), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12,%rbx), %rdi
	movq	8(%r13), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_SK_F_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	16(%r12,%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	addq	$4, %r13
LBB0_9:
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_cnic_cm_set_pg
	jmp	LBB0_14
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_11:
	movq	_SK_F_OFFLD_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movq	_SK_F_OFFLD_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cnic_cm_upcall
	movq	_SK_F_CONNECT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
LBB0_14:
	movq	%r15, %rdi
	callq	_csk_put
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_CM_SK_TBL_SZ,4,2           ## @MAX_CM_SK_TBL_SZ
	.comm	_CNIC_ULP_L4,8,3                ## @CNIC_ULP_L4
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SK_F_CONNECT_START,4,2         ## @SK_F_CONNECT_START
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_SK_F_IPV6,4,2                  ## @SK_F_IPV6
	.comm	_SK_F_OFFLD_SCHED,4,2           ## @SK_F_OFFLD_SCHED
	.comm	_SK_F_OFFLD_COMPLETE,4,2        ## @SK_F_OFFLD_COMPLETE
	.comm	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE,4,2 ## @L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE
	.no_dead_strip	_cnic_iscsi_nl_msg_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_iscsi_nl_msg_recv
_cnic_iscsi_nl_msg_recv:                ; @cnic_iscsi_nl_msg_recv
	.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	x8, x0
Lloh0:
	adrp	x9, _EINVAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w0, w9
	cmp	w1, #128
	b.ne	LBB0_16
; %bb.1:
	cmp	w3, #24
	b.lo	LBB0_16
; %bb.2:
	mov	x21, x2
	ldrsw	x23, [x2, #20]
Lloh3:
	adrp	x9, _MAX_CM_SK_TBL_SZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_CM_SK_TBL_SZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w23, w9
	b.ge	LBB0_16
; %bb.3:
	ldr	x20, [x8]
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _CNIC_ULP_L4@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CNIC_ULP_L4@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_access_pointer
	cbz	w0, LBB0_8
; %bb.4:
	ldr	x24, [x20]
	add	x19, x24, x23, lsl #5
	mov	x0, x19
	bl	_csk_hold
	mov	x0, x19
	bl	_cnic_in_use
	cbz	w0, LBB0_15
; %bb.5:
Lloh9:
	adrp	x22, _SK_F_CONNECT_START@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SK_F_CONNECT_START@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_15
; %bb.6:
	add	x23, x24, x23, lsl #5
	ldr	x0, [x23, #8]!
	ldr	w8, [x21, #16]
	str	w8, [x23, #16]
	ldr	x1, [x21, #8]
Lloh11:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_memcpy
Lloh14:
	adrp	x8, _SK_F_IPV6@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SK_F_IPV6@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	mov	x8, x0
	ldr	x0, [x23, #8]
	cbz	w8, LBB0_9
; %bb.7:
	add	x1, x21, #4
	b	LBB0_10
LBB0_8:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_9:
	mov	x1, x21
LBB0_10:
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x23]
	bl	_is_valid_ether_addr
	cbz	w0, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_cnic_cm_set_pg
	b	LBB0_15
LBB0_12:
Lloh20:
	adrp	x8, _SK_F_OFFLD_SCHED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SK_F_OFFLD_SCHED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_15
; %bb.13:
Lloh23:
	adrp	x8, _SK_F_OFFLD_COMPLETE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SK_F_OFFLD_COMPLETE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_15
; %bb.14:
Lloh26:
	adrp	x8, _L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_cnic_cm_upcall
	ldr	w0, [x22]
	mov	x1, x19
	bl	_clear_bit
LBB0_15:
	mov	x0, x19
	bl	_csk_put
	mov	w0, #0
LBB0_16:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_CM_SK_TBL_SZ,4,2           ; @MAX_CM_SK_TBL_SZ
	.comm	_CNIC_ULP_L4,8,3                ; @CNIC_ULP_L4
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SK_F_CONNECT_START,4,2         ; @SK_F_CONNECT_START
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_SK_F_IPV6,4,2                  ; @SK_F_IPV6
	.comm	_SK_F_OFFLD_SCHED,4,2           ; @SK_F_OFFLD_SCHED
	.comm	_SK_F_OFFLD_COMPLETE,4,2        ; @SK_F_OFFLD_COMPLETE
	.comm	_L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE,4,2 ; @L4_KCQE_OPCODE_VALUE_CONNECT_COMPLETE
	.no_dead_strip	_cnic_iscsi_nl_msg_recv
.subsections_via_symbols
