	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_ulp_stop_one
_cnic_ulp_stop_one:                     ## @cnic_ulp_stop_one
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_ISCSI_KEVENT_IF_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_cnic_send_nlmsg
LBB0_2:
	movq	_cnic_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	16(%r14), %rax
	movslq	%ebx, %r12
	movq	(%rax,%r12,8), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movq	_ULP_F_CALL_PENDING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	(,%r12,4), %rbx
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	callq	_set_bit
	movq	_cnic_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	_ULP_F_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r14), %rax
	movl	(%rax,%r12,4), %edi
	callq	*(%r15)
LBB0_5:
	movl	(%r13), %edi
	addq	(%r14), %rbx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_6:
	movq	_cnic_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CNIC_ULP_ISCSI,4,2             ## @CNIC_ULP_ISCSI
	.comm	_ISCSI_KEVENT_IF_DOWN,4,2       ## @ISCSI_KEVENT_IF_DOWN
	.comm	_cnic_lock,4,2                  ## @cnic_lock
	.comm	_ULP_F_CALL_PENDING,4,2         ## @ULP_F_CALL_PENDING
	.comm	_ULP_F_START,4,2                ## @ULP_F_START
	.no_dead_strip	_cnic_ulp_stop_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_ulp_stop_one
_cnic_ulp_stop_one:                     ; @cnic_ulp_stop_one
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CNIC_ULP_ISCSI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNIC_ULP_ISCSI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ISCSI_KEVENT_IF_DOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISCSI_KEVENT_IF_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_cnic_send_nlmsg
LBB0_2:
Lloh6:
	adrp	x0, _cnic_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _cnic_lock@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x8, [x19, #16]
	ldr	x22, [x8, w20, sxtw #3]
	cbz	x22, LBB0_6
; %bb.3:
	sxtw	x20, w20
Lloh8:
	adrp	x21, _ULP_F_CALL_PENDING@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ULP_F_CALL_PENDING@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x8, [x19]
	lsl	x23, x20, #2
	add	x1, x8, x23
	bl	_set_bit
Lloh10:
	adrp	x0, _cnic_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _cnic_lock@GOTPAGEOFF]
	bl	_mutex_unlock
Lloh12:
	adrp	x8, _ULP_F_START@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ULP_F_START@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19]
	add	x1, x8, x23
	bl	_test_and_clear_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	ldr	w0, [x9, x20, lsl #2]
	blr	x8
LBB0_5:
	ldr	w0, [x21]
	ldr	x8, [x19]
	add	x1, x8, x20, lsl #2
	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
	b	_clear_bit
LBB0_6:
Lloh15:
	adrp	x0, _cnic_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _cnic_lock@GOTPAGEOFF]
	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
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CNIC_ULP_ISCSI,4,2             ; @CNIC_ULP_ISCSI
	.comm	_ISCSI_KEVENT_IF_DOWN,4,2       ; @ISCSI_KEVENT_IF_DOWN
	.comm	_cnic_lock,4,2                  ; @cnic_lock
	.comm	_ULP_F_CALL_PENDING,4,2         ; @ULP_F_CALL_PENDING
	.comm	_ULP_F_START,4,2                ; @ULP_F_START
	.no_dead_strip	_cnic_ulp_stop_one
.subsections_via_symbols
