	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function service_kcqes
_service_kcqes:                         ## @service_kcqes
	.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
	testl	%esi, %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%esi, %r12d
	movq	8(%rdi), %r14
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	%r12d, %r15d
	movl	%r12d, %r12d
	movq	(%r14), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	movq	%rcx, %r14
	callq	_cnic_get_kcqe_layer_mask
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_KCQE_RAMROD_COMPLETION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	andl	%ebx, %edi
	callq	_unlikely
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	movl	$1, %ebx
	cmpl	$2, %r15d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jl	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%r14,8), %r15
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	addq	%r15, %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_cnic_get_kcqe_layer_mask
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %rax
	jne	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_KCQE_RAMROD_COMPLETION@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_unlikely
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	incq	%rbx
	movq	%r14, %r12
	cmpq	%rbx, %r14
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_CNIC_ULP_RDMA@GOTPCREL(%rip), %rax
	movq	_KCQE_FLAGS_LAYER_MASK_L5_RDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CNIC_ULP_ISCSI@GOTPCREL(%rip), %rax
	movq	_KCQE_FLAGS_LAYER_MASK_L5_ISCSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CNIC_ULP_FCOE@GOTPCREL(%rip), %rax
	movq	_KCQE_FLAGS_LAYER_MASK_L5_FCOE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CNIC_ULP_L4@GOTPCREL(%rip), %rax
	movq	_KCQE_FLAGS_LAYER_MASK_L4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rax), %r15
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	16(%r14), %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r15,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,8), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edx
	callq	*(%r15)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	subl	%ebx, %r12d
	jne	LBB0_3
	jmp	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_KCQE_FLAGS_LAYER_MASK_L2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_netdev_err
	jmp	LBB0_18
LBB0_1:
	xorl	%r13d, %r13d
LBB0_19:
	movl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_20
## %bb.22:
	movq	_DRV_CTL_RET_L5_SPQ_CREDIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cnic_spq_completion            ## TAILCALL
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KCQE_RAMROD_COMPLETION,8,3     ## @KCQE_RAMROD_COMPLETION
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_RDMA,8,3 ## @KCQE_FLAGS_LAYER_MASK_L5_RDMA
	.comm	_CNIC_ULP_RDMA,4,2              ## @CNIC_ULP_RDMA
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_ISCSI,8,3 ## @KCQE_FLAGS_LAYER_MASK_L5_ISCSI
	.comm	_CNIC_ULP_ISCSI,4,2             ## @CNIC_ULP_ISCSI
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_FCOE,8,3 ## @KCQE_FLAGS_LAYER_MASK_L5_FCOE
	.comm	_CNIC_ULP_FCOE,4,2              ## @CNIC_ULP_FCOE
	.comm	_KCQE_FLAGS_LAYER_MASK_L4,8,3   ## @KCQE_FLAGS_LAYER_MASK_L4
	.comm	_CNIC_ULP_L4,4,2                ## @CNIC_ULP_L4
	.comm	_KCQE_FLAGS_LAYER_MASK_L2,8,3   ## @KCQE_FLAGS_LAYER_MASK_L2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown type of KCQE(0x%x)\n"

	.comm	_DRV_CTL_RET_L5_SPQ_CREDIT_CMD,4,2 ## @DRV_CTL_RET_L5_SPQ_CREDIT_CMD
	.no_dead_strip	_service_kcqes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function service_kcqes
_service_kcqes:                         ; @service_kcqes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cbz	w1, LBB0_19
; %bb.1:
	mov	x22, x1
	mov	w8, #0
	mov	w20, #0
	ldr	x26, [x0, #8]
Lloh0:
	adrp	x27, _KCQE_RAMROD_COMPLETION@GOTPAGE
Lloh1:
	ldr	x27, [x27, _KCQE_RAMROD_COMPLETION@GOTPAGEOFF]
Lloh2:
	adrp	x25, _KCQE_FLAGS_LAYER_MASK_L5_RDMA@GOTPAGE
Lloh3:
	ldr	x25, [x25, _KCQE_FLAGS_LAYER_MASK_L5_RDMA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	w19, w22
	ldr	x9, [x26]
	mov	w28, w8
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_cnic_get_kcqe_layer_mask
	mov	x24, x0
	ldr	w8, [x27]
	and	w0, w8, w23
	bl	_unlikely
	cmp	x0, #0
	cinc	w20, w20, ne
	cmp	w22, #2
	b.lt	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x21, x28, #3
	mov	w22, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26]
	add	x8, x8, x21
	ldr	x8, [x8, x22, lsl #3]
	ldr	x25, [x8]
	mov	x0, x25
	bl	_cnic_get_kcqe_layer_mask
	cmp	x0, x24
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x27]
	and	w0, w8, w25
	bl	_unlikely
	cmp	x0, #0
	cinc	w20, w20, ne
	add	x22, x22, #1
	cmp	x19, x22
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x19
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x25, _KCQE_FLAGS_LAYER_MASK_L5_RDMA@GOTPAGE
Lloh5:
	ldr	x25, [x25, _KCQE_FLAGS_LAYER_MASK_L5_RDMA@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x25]
Lloh6:
	adrp	x8, _CNIC_ULP_RDMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CNIC_ULP_RDMA@GOTPAGEOFF]
	cmp	x24, x9
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x8, _KCQE_FLAGS_LAYER_MASK_L5_ISCSI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KCQE_FLAGS_LAYER_MASK_L5_ISCSI@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
Lloh11:
	adrp	x8, _CNIC_ULP_ISCSI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CNIC_ULP_ISCSI@GOTPAGEOFF]
	cmp	x24, x9
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x8, _KCQE_FLAGS_LAYER_MASK_L5_FCOE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KCQE_FLAGS_LAYER_MASK_L5_FCOE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x8]
Lloh16:
	adrp	x8, _CNIC_ULP_FCOE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CNIC_ULP_FCOE@GOTPAGEOFF]
	cmp	x24, x9
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x8, _KCQE_FLAGS_LAYER_MASK_L4@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KCQE_FLAGS_LAYER_MASK_L4@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x8]
Lloh21:
	adrp	x8, _CNIC_ULP_L4@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CNIC_ULP_L4@GOTPAGEOFF]
	cmp	x24, x9
	b.ne	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x21, [x8]
	bl	_rcu_read_lock
	ldr	x8, [x26, #16]
	ldr	w0, [x8, x21, lsl #2]
	bl	_rcu_dereference
	mov	x23, x0
	bl	_likely
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	ldp	x10, x9, [x26]
	ldr	w0, [x9, x21, lsl #2]
	add	x1, x10, x28, lsl #3
	mov	x2, x22
	blr	x8
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_rcu_read_unlock
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w22, w28
	subs	w22, w19, w22
	b.ne	LBB0_2
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh23:
	adrp	x8, _KCQE_FLAGS_LAYER_MASK_L2@GOTPAGE
Lloh24:
	ldr	x8, [x8, _KCQE_FLAGS_LAYER_MASK_L2@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x24, x8
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_netdev_err
	b	LBB0_16
LBB0_19:
	mov	w20, #0
LBB0_20:
	mov	x0, x20
	bl	_unlikely
	cbz	x0, LBB0_22
; %bb.21:
Lloh28:
	adrp	x8, _DRV_CTL_RET_L5_SPQ_CREDIT_CMD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DRV_CTL_RET_L5_SPQ_CREDIT_CMD@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x20
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_cnic_spq_completion
LBB0_22:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_KCQE_RAMROD_COMPLETION,8,3     ; @KCQE_RAMROD_COMPLETION
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_RDMA,8,3 ; @KCQE_FLAGS_LAYER_MASK_L5_RDMA
	.comm	_CNIC_ULP_RDMA,4,2              ; @CNIC_ULP_RDMA
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_ISCSI,8,3 ; @KCQE_FLAGS_LAYER_MASK_L5_ISCSI
	.comm	_CNIC_ULP_ISCSI,4,2             ; @CNIC_ULP_ISCSI
	.comm	_KCQE_FLAGS_LAYER_MASK_L5_FCOE,8,3 ; @KCQE_FLAGS_LAYER_MASK_L5_FCOE
	.comm	_CNIC_ULP_FCOE,4,2              ; @CNIC_ULP_FCOE
	.comm	_KCQE_FLAGS_LAYER_MASK_L4,8,3   ; @KCQE_FLAGS_LAYER_MASK_L4
	.comm	_CNIC_ULP_L4,4,2                ; @CNIC_ULP_L4
	.comm	_KCQE_FLAGS_LAYER_MASK_L2,8,3   ; @KCQE_FLAGS_LAYER_MASK_L2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown type of KCQE(0x%x)\n"

	.comm	_DRV_CTL_RET_L5_SPQ_CREDIT_CMD,4,2 ; @DRV_CTL_RET_L5_SPQ_CREDIT_CMD
	.no_dead_strip	_service_kcqes
.subsections_via_symbols
