	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_ctl
_cnic_ctl:                              ## @cnic_ctl
	.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	(%rsi), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	8(%rbx), %r14
	movq	_CNIC_LCL_FL_STOP_ISCSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r14), %rsi
	callq	_set_bit
	movq	_cnic_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r14
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
	jmp	LBB0_16
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_4:
	movq	%rbx, %rdi
	callq	_cnic_hold
	movq	%rbx, %rdi
	callq	_cnic_ulp_stop
	movq	%rbx, %rdi
	callq	_cnic_stop_hw
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_cnic_hold
	movq	%rbx, %rdi
	callq	_cnic_start_hw
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_cnic_ulp_start
	jmp	LBB0_9
LBB0_7:
	movq	_CNIC_ULP_FCOE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_cnic_hold
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cnic_copy_ulp_stats
LBB0_9:
	movq	%rbx, %rdi
	callq	_cnic_put
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rsi, %r14
	movl	8(%rsi), %edi
	callq	_BNX2X_SW_CID
	movq	%rax, %r15
	movq	8(%rbx), %r12
	movq	_CNIC_F_CNIC_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_15
## %bb.11:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cnic_get_l5_cid
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movq	(%r12), %r12
	movq	-48(%rbp), %r13
	movl	4(%r14), %edi
	callq	_unlikely
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	_CTX_FL_CID_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	leaq	(%r12,%rax,4), %rsi
	addq	$8, %rsi
	callq	_set_bit
	movl	(%rbx), %edi
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_netdev_err
LBB0_14:
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	movl	$1, (%r12,%rax,4)
	leaq	(%r12,%rax,4), %rdi
	addq	$4, %rdi
	callq	_wake_up
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_CNIC_ULP_ISCSI,4,2             ## @CNIC_ULP_ISCSI
	.comm	_CNIC_LCL_FL_STOP_ISCSI,4,2     ## @CNIC_LCL_FL_STOP_ISCSI
	.comm	_cnic_wq,4,2                    ## @cnic_wq
	.comm	_CNIC_F_CNIC_UP,4,2             ## @CNIC_F_CNIC_UP
	.comm	_CTX_FL_CID_ERROR,4,2           ## @CTX_FL_CID_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CID %x CFC delete comp error %x\n"

	.comm	_CNIC_ULP_FCOE,4,2              ## @CNIC_ULP_FCOE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cnic_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_ctl
_cnic_ctl:                              ; @cnic_ctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CNIC_ULP_ISCSI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNIC_ULP_ISCSI@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x19, [x19, #8]
Lloh4:
	adrp	x8, _CNIC_LCL_FL_STOP_ISCSI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CNIC_LCL_FL_STOP_ISCSI@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
Lloh7:
	adrp	x8, _cnic_wq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cnic_wq@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x19, #8
	mov	w2, #0
	bl	_queue_delayed_work
	b	LBB0_10
LBB0_3:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_4:
	mov	x0, x19
	bl	_cnic_hold
	mov	x0, x19
	bl	_cnic_ulp_stop
	mov	x0, x19
	bl	_cnic_stop_hw
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_cnic_hold
	mov	x0, x19
	bl	_cnic_start_hw
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_cnic_ulp_start
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _CNIC_ULP_FCOE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CNIC_ULP_FCOE@GOTPAGEOFF]
LBB0_8:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_cnic_hold
	mov	x0, x19
	mov	x1, x20
	bl	_cnic_copy_ulp_stats
LBB0_9:
	mov	x0, x19
	bl	_cnic_put
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	mov	x20, x1
	ldr	w0, [x1, #8]
	bl	_BNX2X_SW_CID
	mov	x21, x0
	ldr	x22, [x19, #8]
Lloh15:
	adrp	x8, _CNIC_F_CNIC_UP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CNIC_F_CNIC_UP@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	w0, LBB0_10
; %bb.13:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_cnic_get_l5_cid
	cbnz	w0, LBB0_10
; %bb.14:
	ldr	x22, [x22]
	ldr	x23, [sp, #8]
	ldr	w0, [x20, #4]
	bl	_unlikely
	cbz	w0, LBB0_16
; %bb.15:
Lloh18:
	adrp	x8, _CTX_FL_CID_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CTX_FL_CID_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w8, #12
	madd	x8, x23, x8, x22
	add	x1, x8, #8
	bl	_set_bit
	ldr	w0, [x19]
	ldr	w3, [x20, #4]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_netdev_err
LBB0_16:
	mov	w8, #12
	madd	x0, x23, x8, x22
	mov	w8, #1
	str	w8, [x0], #4
	bl	_wake_up
	b	LBB0_10
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_CNIC_ULP_ISCSI,4,2             ; @CNIC_ULP_ISCSI
	.comm	_CNIC_LCL_FL_STOP_ISCSI,4,2     ; @CNIC_LCL_FL_STOP_ISCSI
	.comm	_cnic_wq,4,2                    ; @cnic_wq
	.comm	_CNIC_F_CNIC_UP,4,2             ; @CNIC_F_CNIC_UP
	.comm	_CTX_FL_CID_ERROR,4,2           ; @CTX_FL_CID_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CID %x CFC delete comp error %x\n"

	.comm	_CNIC_ULP_FCOE,4,2              ; @CNIC_ULP_FCOE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cnic_ctl
.subsections_via_symbols
