	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_process_kcqe
_cnic_cm_process_kcqe:                  ## @cnic_cm_process_kcqe
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rsi), %ebx
	movq	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cnic_process_fcoe_term_conn    ## TAILCALL
LBB0_2:
	movq	_L4_KCQE_OPCODE_VALUE_OFFLOAD_PG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.3:
	movq	_L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_12
## %bb.4:
	movzbl	%bl, %eax
	shrl	$7, %eax
	movq	8(%r12,%rax,8), %r14
	movq	_MAX_CM_SK_TBL_SZ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_13
## %bb.5:
	movq	8(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r14,8), %r15
	movq	%r15, %rdi
	callq	_csk_hold
	movq	%r15, %rdi
	callq	_cnic_in_use
	testl	%eax, %eax
	je	LBB0_31
## %bb.6:
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_31
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movl	24(%r12), %eax
	movq	_L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	_SK_F_HW_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rsi
	addq	$4, %rsi
	callq	_set_bit
LBB0_10:
	movq	%r15, %rdi
	movl	%ebx, %esi
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	jmp	LBB0_31
LBB0_12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cnic_cm_process_offld_pg       ## TAILCALL
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	cmpl	$0, 24(%r12)
	je	LBB0_31
## %bb.15:
	movq	_SK_F_OFFLD_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rsi
	addq	$4, %rsi
	callq	_clear_bit
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_16:
	movl	24(%r12), %edx
	testl	%edx, %edx
	je	LBB0_31
## %bb.17:
	movl	4(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movl	$136, %ebx
	jmp	LBB0_8
LBB0_18:
	movl	24(%r12), %eax
	testl	%eax, %eax
	je	LBB0_26
## %bb.19:
	movq	_L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_28
## %bb.20:
	movq	_SK_F_HW_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_21:
	movq	_CNIC_F_BNX2X_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_25
## %bb.22:
	movq	_SK_F_OFFLD_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rsi
	addq	$4, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_25
## %bb.23:
	cmpl	$136, (%r15)
	jne	LBB0_25
## %bb.24:
	movq	%r15, %rdi
	movl	$133, %esi
	jmp	LBB0_11
LBB0_25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	$135, %edx
	jmp	LBB0_30
LBB0_26:
	movq	_SK_F_OFFLD_COMPLETE@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_27:
	movl	(%rax), %edi
	leaq	(%rbx,%r14,8), %rsi
	addq	$4, %rsi
	callq	_set_bit
LBB0_28:
	xorl	%eax, %eax
	callq	_smp_mb__before_clear_bit
	movq	_SK_F_OFFLD_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%rbx,%r14,8), %rsi
	addq	$4, %rsi
	callq	_clear_bit
	movq	%r12, %rdi
LBB0_29:
	movq	%r15, %rsi
	movl	$134, %edx
LBB0_30:
	callq	_cnic_cm_upcall
LBB0_31:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_csk_put                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN,4,2 ## @FCOE_RAMROD_CMD_ID_TERMINATE_CONN
	.comm	_L4_KCQE_OPCODE_VALUE_OFFLOAD_PG,4,2 ## @L4_KCQE_OPCODE_VALUE_OFFLOAD_PG
	.comm	_L4_KCQE_OPCODE_VALUE_UPDATE_PG,4,2 ## @L4_KCQE_OPCODE_VALUE_UPDATE_PG
	.comm	_MAX_CM_SK_TBL_SZ,8,3           ## @MAX_CM_SK_TBL_SZ
	.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_COMPLETION_STATUS_PARITY_ERROR,4,2 ## @L4_KCQE_COMPLETION_STATUS_PARITY_ERROR
	.comm	_SK_F_HW_ERR,4,2                ## @SK_F_HW_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RAMROD CLOSE compl with status 0x%x\n"

	.comm	_CNIC_F_BNX2X_CLASS,4,2         ## @CNIC_F_BNX2X_CLASS
	.no_dead_strip	_cnic_cm_process_kcqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_cm_process_kcqe
_cnic_cm_process_kcqe:                  ; @cnic_cm_process_kcqe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x23, x0
	ldr	w22, [x1]
Lloh0:
	adrp	x8, _FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FCOE_RAMROD_CMD_ID_TERMINATE_CONN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_cnic_process_fcoe_term_conn
LBB0_2:
Lloh3:
	adrp	x8, _L4_KCQE_OPCODE_VALUE_OFFLOAD_PG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _L4_KCQE_OPCODE_VALUE_OFFLOAD_PG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _L4_KCQE_OPCODE_VALUE_UPDATE_PG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_cnic_cm_process_offld_pg
LBB0_4:
	tst	w22, #0x80
	mov	w8, #16
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	x24, [x21, x8]
Lloh9:
	adrp	x8, _MAX_CM_SK_TBL_SZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_CM_SK_TBL_SZ@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x24, x8
	b.hs	LBB0_12
; %bb.5:
	ldr	x20, [x23, #8]
	ldr	x25, [x20, #8]
	add	x19, x25, x24, lsl #3
	mov	x0, x19
	bl	_csk_hold
	mov	x0, x19
	bl	_cnic_in_use
	cbz	w0, LBB0_29
; %bb.6:
	sub	w8, w22, #128
	cmp	w8, #8
	b.hi	LBB0_29
; %bb.7:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	ldr	w8, [x21, #24]
Lloh14:
	adrp	x9, _L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _SK_F_HW_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SK_F_HW_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x8, x25, x24, lsl #3
	add	x1, x8, #4
	bl	_set_bit
LBB0_10:
	ldr	x8, [x20]
	mov	x0, x19
	mov	x1, x22
LBB0_11:
	blr	x8
	b	LBB0_29
LBB0_12:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	w8, [x21, #24]
	cbnz	w8, LBB0_27
	b	LBB0_29
LBB0_14:
	ldr	w2, [x21, #24]
	cbz	w2, LBB0_29
; %bb.15:
	ldr	w0, [x23, #4]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
	mov	w22, #136
	b	LBB0_8
LBB0_16:
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_24
; %bb.17:
Lloh22:
	adrp	x9, _L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _L4_KCQE_COMPLETION_STATUS_PARITY_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_26
; %bb.18:
Lloh25:
	adrp	x8, _SK_F_HW_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SK_F_HW_ERR@GOTPAGEOFF]
	b	LBB0_25
LBB0_19:
Lloh27:
	adrp	x8, _CNIC_F_BNX2X_CLASS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CNIC_F_BNX2X_CLASS@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	w0, LBB0_23
; %bb.20:
Lloh30:
	adrp	x8, _SK_F_OFFLD_COMPLETE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SK_F_OFFLD_COMPLETE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x8, x25, x24, lsl #3
	add	x1, x8, #4
	bl	_test_bit
	cbnz	w0, LBB0_23
; %bb.21:
	ldr	w8, [x19]
	cmp	w8, #136
	b.ne	LBB0_23
; %bb.22:
	ldr	x8, [x20]
	mov	x0, x19
	mov	w1, #133
	b	LBB0_11
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	b	LBB0_28
LBB0_24:
Lloh33:
	adrp	x8, _SK_F_OFFLD_COMPLETE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SK_F_OFFLD_COMPLETE@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
	add	x8, x25, x24, lsl #3
	add	x1, x8, #4
	bl	_set_bit
LBB0_26:
	bl	_smp_mb__before_clear_bit
LBB0_27:
Lloh35:
	adrp	x8, _SK_F_OFFLD_SCHED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SK_F_OFFLD_SCHED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	add	x8, x25, x24, lsl #3
	add	x1, x8, #4
	bl	_clear_bit
	mov	x0, x20
	mov	x1, x19
	mov	w2, #134
LBB0_28:
	bl	_cnic_cm_upcall
LBB0_29:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_csk_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_FCOE_RAMROD_CMD_ID_TERMINATE_CONN,4,2 ; @FCOE_RAMROD_CMD_ID_TERMINATE_CONN
	.comm	_L4_KCQE_OPCODE_VALUE_OFFLOAD_PG,4,2 ; @L4_KCQE_OPCODE_VALUE_OFFLOAD_PG
	.comm	_L4_KCQE_OPCODE_VALUE_UPDATE_PG,4,2 ; @L4_KCQE_OPCODE_VALUE_UPDATE_PG
	.comm	_MAX_CM_SK_TBL_SZ,8,3           ; @MAX_CM_SK_TBL_SZ
	.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_COMPLETION_STATUS_PARITY_ERROR,4,2 ; @L4_KCQE_COMPLETION_STATUS_PARITY_ERROR
	.comm	_SK_F_HW_ERR,4,2                ; @SK_F_HW_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RAMROD CLOSE compl with status 0x%x\n"

	.comm	_CNIC_F_BNX2X_CLASS,4,2         ; @CNIC_F_BNX2X_CLASS
	.no_dead_strip	_cnic_cm_process_kcqe
.subsections_via_symbols
