	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_submit_kwqe_16
_cnic_submit_kwqe_16:                   ## @cnic_submit_kwqe_16
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_SPE_HDR_CMD_ID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_BNX2X_HW_CID
	orl	%eax, %r15d
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	%rax, -80(%rbp)
	movq	_SPE_HDR_CONN_TYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_SPE_HDR_CONN_TYPE@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	(%r14), %edi
	movq	_SPE_HDR_FUNCTION_ID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_SPE_HDR_FUNCTION_ID@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	orl	%ebx, %edi
	callq	_cpu_to_le16
	movl	%eax, -88(%rbp)
	movq	$0, -96(%rbp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, -104(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, -112(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	8(%r14), %rax
	movl	(%r12), %edi
	leaq	-56(%rbp), %rsi
	movl	$1, %edx
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	cmpl	$1, %ebx
	cmovnel	%ebx, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SPE_HDR_CMD_ID_SHIFT,4,2       ## @SPE_HDR_CMD_ID_SHIFT
	.comm	_SPE_HDR_CONN_TYPE_SHIFT,4,2    ## @SPE_HDR_CONN_TYPE_SHIFT
	.comm	_SPE_HDR_CONN_TYPE,4,2          ## @SPE_HDR_CONN_TYPE
	.comm	_SPE_HDR_FUNCTION_ID_SHIFT,4,2  ## @SPE_HDR_FUNCTION_ID_SHIFT
	.comm	_SPE_HDR_FUNCTION_ID,4,2        ## @SPE_HDR_FUNCTION_ID
	.no_dead_strip	_cnic_submit_kwqe_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_submit_kwqe_16
_cnic_submit_kwqe_16:                   ; @cnic_submit_kwqe_16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x19, [x0, #8]
	ldr	w0, [x0]
	bl	_netdev_priv
	mov	x25, x0
Lloh3:
	adrp	x8, _SPE_HDR_CMD_ID_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPE_HDR_CMD_ID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w24, w24, w8
	mov	x1, x23
	bl	_BNX2X_HW_CID
	orr	w0, w24, w0
	bl	_cpu_to_le32
	str	x0, [sp, #40]
Lloh6:
	adrp	x8, _SPE_HDR_CONN_TYPE_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPE_HDR_CONN_TYPE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w22, w8
Lloh9:
	adrp	x9, _SPE_HDR_CONN_TYPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SPE_HDR_CONN_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w8, w9
	ldr	w9, [x25]
Lloh12:
	adrp	x10, _SPE_HDR_FUNCTION_ID_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SPE_HDR_FUNCTION_ID_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh15:
	adrp	x10, _SPE_HDR_FUNCTION_ID@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SPE_HDR_FUNCTION_ID@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	w0, [sp, #32]
	str	xzr, [sp, #24]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [sp, #16]
	ldr	w0, [x21, #4]
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	add	x8, sp, #8
	str	x8, [sp, #48]
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
	add	x1, sp, #48
	mov	w2, #1
	blr	x8
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock_bh
	cmp	w20, #1
	csel	w0, wzr, w20, eq
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPE_HDR_CMD_ID_SHIFT,4,2       ; @SPE_HDR_CMD_ID_SHIFT
	.comm	_SPE_HDR_CONN_TYPE_SHIFT,4,2    ; @SPE_HDR_CONN_TYPE_SHIFT
	.comm	_SPE_HDR_CONN_TYPE,4,2          ; @SPE_HDR_CONN_TYPE
	.comm	_SPE_HDR_FUNCTION_ID_SHIFT,4,2  ; @SPE_HDR_FUNCTION_ID_SHIFT
	.comm	_SPE_HDR_FUNCTION_ID,4,2        ; @SPE_HDR_FUNCTION_ID
	.no_dead_strip	_cnic_submit_kwqe_16
.subsections_via_symbols
