	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_handle_rx_cqe_mpwrq      ## -- Begin function mlx5e_handle_rx_cqe_mpwrq
	.p2align	4, 0x90
_mlx5e_handle_rx_cqe_mpwrq:             ## @mlx5e_handle_rx_cqe_mpwrq
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_mpwrq_get_cqe_consumed_strides
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_be16_to_cpu
	movq	%rax, %r14
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r14,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_mpwrq_get_cqe_stride_index
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movb	(%rbx), %cl
	shlq	%cl, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r15d, %r12d
	sarl	%cl, %r12d
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, (%rax,%r14,8)
	movq	%r13, %rdi
	callq	_MLX5E_RX_ERR_CQE
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_trigger_report
	movq	40(%r14), %rax
	incl	8(%rax)
	movq	%r13, %rbx
	jmp	LBB0_6
LBB0_2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_mpwrq_is_filler_cqe
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %r14
	movq	40(%r12), %rax
	incl	4(%rax)
	addl	%ebx, (%rax)
	movq	%r13, %rbx
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rbx
	decl	%ebx
	andl	%r15d, %ebx
	movq	%r13, %rdi
	callq	_mpwrq_get_cqe_byte_cnt
	movq	%rax, %r15
	movq	%r12, %r14
	movl	20(%r12), %edi
	movq	_mlx5e_skb_from_cqe_mpwrq_linear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mlx5e_skb_from_cqe_mpwrq_nonlinear@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	callq	_INDIRECT_CALL_2
	addq	$16, %rsp
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_mlx5e_complete_rx_cqe
	movl	32(%r14), %edi
	movq	%r13, %rsi
	callq	_napi_gro_receive
LBB0_6:
	movq	%rbx, %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	8(%r14), %rax
	setb	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	16(%r14), %r15
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_mlx5_wq_ll_get_wqe
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_mlx5e_free_rx_mpwqe
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5_wq_ll_pop                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_mlx5e_skb_from_cqe_mpwrq_linear,4,2 ## @mlx5e_skb_from_cqe_mpwrq_linear
	.comm	_mlx5e_skb_from_cqe_mpwrq_nonlinear,4,2 ## @mlx5e_skb_from_cqe_mpwrq_nonlinear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_handle_rx_cqe_mpwrq      ; -- Begin function mlx5e_handle_rx_cqe_mpwrq
	.p2align	2
_mlx5e_handle_rx_cqe_mpwrq:             ; @mlx5e_handle_rx_cqe_mpwrq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_mpwrq_get_cqe_consumed_strides
	mov	x23, x0
	ldr	w0, [x19]
	bl	_be16_to_cpu
	mov	x22, x0
	ldr	x8, [x20, #24]
	add	x21, x8, x0, lsl #3
	mov	x0, x19
	bl	_mpwrq_get_cqe_stride_index
	mov	x24, x0
	ldr	x26, [x20]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	ldr	x8, [x21]
	add	x8, x8, x23
	str	x8, [x21]
	mov	x0, x19
	bl	_MLX5E_RX_ERR_CQE
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_trigger_report
	ldr	x8, [x20, #40]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_mpwrq_is_filler_cqe
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #40]
	ldr	d0, [x8]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	str	d0, [x8]
	b	LBB0_6
LBB0_4:
	lsl	x8, x24, x26
	sub	w9, w27, #1
	and	w24, w9, w8
	asr	w25, w8, w25
	mov	x0, x19
	bl	_mpwrq_get_cqe_byte_cnt
	mov	x23, x0
	ldr	w0, [x20, #20]
Lloh6:
	adrp	x8, _mlx5e_skb_from_cqe_mpwrq_linear@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mlx5e_skb_from_cqe_mpwrq_linear@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _mlx5e_skb_from_cqe_mpwrq_nonlinear@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mlx5e_skb_from_cqe_mpwrq_nonlinear@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x3, x20
	mov	x4, x21
	mov	x5, x23
	mov	x6, x24
	mov	x7, x25
	bl	_INDIRECT_CALL_2
	cbz	x0, LBB0_6
; %bb.5:
	mov	x24, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	bl	_mlx5e_complete_rx_cqe
	ldr	w0, [x20, #32]
	mov	x1, x24
	bl	_napi_gro_receive
LBB0_6:
	ldr	x8, [x21]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	cset	w0, lo
	bl	_likely
	cbz	x0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x23, x20, #16
	mov	x0, x23
	mov	x1, x22
	bl	_mlx5_wq_ll_get_wqe
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_mlx5e_free_rx_mpwqe
	ldr	w1, [x19]
	mov	x0, x23
	mov	x2, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mlx5_wq_ll_pop
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_mlx5e_skb_from_cqe_mpwrq_linear,4,2 ; @mlx5e_skb_from_cqe_mpwrq_linear
	.comm	_mlx5e_skb_from_cqe_mpwrq_nonlinear,4,2 ; @mlx5e_skb_from_cqe_mpwrq_nonlinear
.subsections_via_symbols
