	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_send_nlmsg
_cnic_send_nlmsg:                       ## @cnic_send_nlmsg
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$-1, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rdx, %rbx
	movq	%rdi, %r13
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	leaq	-80(%rbp), %r12
	movl	$32, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_ISCSI_KEVENT_PATH_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	24(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	_SK_F_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	leaq	-68(%rbp), %rax
	leaq	-64(%rbp), %rdi
	cmoveq	%rax, %rdi
	movl	$4, %eax
	movl	$16, %r14d
	cmovel	%eax, %r14d
	movq	8(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	%r14d, -80(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -72(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -76(%rbp)
	jmp	LBB0_6
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_4:
	movq	_ISCSI_KEVENT_IF_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r13), %rax
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%r13), %rcx
	movq	(%r14), %rdx
	movl	(%rcx,%rdx,4), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	*(%rax)
	movq	%r15, %r14
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.9:
	movq	_ISCSI_KEVENT_PATH_REQ@GOTPCREL(%rip), %rax
	movl	%r15d, %ebx
	cmpq	(%rax), %r14
	jne	LBB0_18
## %bb.10:
	movl	$100, %edi
	callq	_msleep
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r13), %rax
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rdx
	je	LBB0_7
## %bb.11:
	movq	(%r13), %rcx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	*(%rax)
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	movq	_ISCSI_KEVENT_PATH_REQ@GOTPCREL(%rip), %rax
	je	LBB0_18
## %bb.12:
	movl	%r15d, %ebx
	cmpq	(%rax), %r14
	jne	LBB0_18
## %bb.13:
	movl	$100, %edi
	callq	_msleep
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r13), %rax
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rdx
	je	LBB0_7
## %bb.14:
	movq	(%r13), %rcx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	*(%rax)
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	movq	_ISCSI_KEVENT_PATH_REQ@GOTPCREL(%rip), %rax
	je	LBB0_18
## %bb.15:
	cmpq	(%rax), %r14
	jne	LBB0_17
## %bb.16:
	movl	$100, %edi
	callq	_msleep
LBB0_17:
	movl	%r15d, %ebx
	jmp	LBB0_18
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISCSI_KEVENT_IF_DOWN,8,3       ## @ISCSI_KEVENT_IF_DOWN
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ISCSI_KEVENT_PATH_REQ,8,3      ## @ISCSI_KEVENT_PATH_REQ
	.comm	_SK_F_IPV6,4,2                  ## @SK_F_IPV6
	.comm	_CNIC_ULP_ISCSI,8,3             ## @CNIC_ULP_ISCSI
	.no_dead_strip	_cnic_send_nlmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_send_nlmsg
_cnic_send_nlmsg:                       ; @cnic_send_nlmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.2:
	mov	x23, x2
	mov	x19, x0
Lloh0:
	adrp	x24, _ISCSI_KEVENT_PATH_REQ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ISCSI_KEVENT_PATH_REQ@GOTPAGEOFF]
	cbz	x2, LBB0_5
; %bb.3:
	mov	x21, sp
	mov	w22, #32
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x20, [x24]
	ldr	x8, [x23, #24]
	str	x8, [sp, #24]
Lloh2:
	adrp	x8, _SK_F_IPV6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SK_F_IPV6@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x23, #16
	bl	_test_bit
	add	x8, x21, #12
	add	x9, x21, #16
	cmp	x0, #0
	csel	x0, x8, x9, eq
	mov	w8, #16
	mov	w9, #4
	csel	w25, w9, w8, eq
	ldr	x1, [x23, #8]
	mov	w2, #4
	bl	_memcpy
	str	w25, [sp]
	ldr	d0, [x23]
	stur	d0, [sp, #4]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
LBB0_5:
	mov	w22, #0
	mov	x21, #0
Lloh8:
	adrp	x8, _ISCSI_KEVENT_IF_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISCSI_KEVENT_IF_DOWN@GOTPAGEOFF]
Lloh10:
	ldr	x20, [x8]
LBB0_6:
	bl	_rcu_read_lock
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x25, _CNIC_ULP_ISCSI@GOTPAGE
Lloh12:
	ldr	x25, [x25, _CNIC_ULP_ISCSI@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_16
; %bb.7:
	ldr	x8, [x0]
	ldr	x9, [x19]
	ldr	x10, [x25]
	ldr	w0, [x9, x10, lsl #2]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	blr	x8
	mov	x23, x0
	bl	_rcu_read_unlock
	cbz	w23, LBB0_17
; %bb.8:
	ldr	x8, [x24]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.9:
	mov	w0, #100
	bl	_msleep
	bl	_rcu_read_lock
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_16
; %bb.10:
	ldr	x8, [x0]
	ldr	x9, [x19]
	ldr	x10, [x25]
	ldr	w0, [x9, x10, lsl #2]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	blr	x8
	mov	x23, x0
	bl	_rcu_read_unlock
	cbz	w23, LBB0_17
; %bb.11:
	ldr	x8, [x24]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.12:
	mov	w0, #100
	bl	_msleep
	bl	_rcu_read_lock
	ldr	x8, [x19, #8]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_16
; %bb.13:
	ldr	x8, [x0]
	ldr	x9, [x19]
	ldr	x10, [x25]
	ldr	w0, [x9, x10, lsl #2]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	blr	x8
	mov	x23, x0
	bl	_rcu_read_unlock
	cbz	w23, LBB0_17
; %bb.14:
	ldr	x8, [x24]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.15:
	mov	w0, #100
	bl	_msleep
	b	LBB0_17
LBB0_16:
	bl	_rcu_read_unlock
	mov	w23, #0
LBB0_17:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ISCSI_KEVENT_IF_DOWN,8,3       ; @ISCSI_KEVENT_IF_DOWN
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ISCSI_KEVENT_PATH_REQ,8,3      ; @ISCSI_KEVENT_PATH_REQ
	.comm	_SK_F_IPV6,4,2                  ; @SK_F_IPV6
	.comm	_CNIC_ULP_ISCSI,8,3             ; @CNIC_ULP_ISCSI
	.no_dead_strip	_cnic_send_nlmsg
.subsections_via_symbols
