	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_post_rx_mpwqes           ## -- Begin function mlx5e_post_rx_mpwqes
	.p2align	4, 0x90
_mlx5e_post_rx_mpwqes:                  ## @mlx5e_post_rx_mpwqes
	.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	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	56(%rdi), %r14
	movq	_MLX5E_RQ_STATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	48(%r12), %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_15
## %bb.1:
	leaq	36(%r12), %r15
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mlx5e_post_rx_mpwqe
	subq	%rbx, 16(%r12)
	movq	$0, 8(%r12)
LBB0_3:
	movq	%r15, %rdi
	callq	_mlx5_wq_ll_missing
	movq	%rax, %rbx
	movq	16(%r12), %rax
	subq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	24(%r12), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	40(%r12), %rax
	incl	(%rax)
LBB0_5:
	xorl	%edi, %edi
	cmpq	$2, %rbx
	setl	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r14
	movl	32(%r12), %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_mlx5e_alloc_rx_mpwqe
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mlx5_wq_ll_get_wqe_next_ix
	movl	%eax, %ebx
	decq	%r14
	jne	LBB0_7
## %bb.9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r14, %rax
	movq	%rax, 24(%r12)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	leaq	16(%r14), %rdi
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	callq	_mlx5e_notify_hw
	movq	$0, (%r14)
	movq	24(%r12), %rax
LBB0_12:
	addq	%rax, 16(%r12)
	movl	%ebx, 32(%r12)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	addl	(%rax), %r13d
	jne	LBB0_14
## %bb.13:
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	setne	%dil
LBB0_14:
	callq	_unlikely
	xorl	%r13d, %r13d
	testq	%rax, %rax
	setne	%r13b
LBB0_15:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_RQ_STATE_ENABLED,4,2     ## @MLX5E_RQ_STATE_ENABLED
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UMR_WQE_BULK,8,3               ## @UMR_WQE_BULK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_post_rx_mpwqes           ; -- Begin function mlx5e_post_rx_mpwqes
	.p2align	2
_mlx5e_post_rx_mpwqes:                  ; @mlx5e_post_rx_mpwqes
	.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	x19, x0
	ldr	x23, [x0, #56]
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _MLX5E_RQ_STATE_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_RQ_STATE_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #48
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_6
; %bb.1:
	add	x20, x19, #36
	cbz	x21, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_mlx5e_post_rx_mpwqe
	ldr	x8, [x19, #16]
	sub	x8, x8, x21
	stp	xzr, x8, [x19, #8]
LBB0_3:
	mov	x0, x20
	bl	_mlx5_wq_ll_missing
	ldp	x8, x9, [x19, #16]
	sub	x24, x0, x8
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19, #40]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_5:
	cmp	x24, #2
	cset	w0, lt
	bl	_likely
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	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_8:
	ldr	w21, [x19, #32]
	mov	x25, x24
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_mlx5e_alloc_rx_mpwqe
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_mlx5_wq_ll_get_wqe_next_ix
	mov	x21, x0
	subs	x25, x25, #1
	b.ne	LBB0_9
LBB0_11:
	sub	x8, x24, x25
	str	x8, [x19, #24]
	ldr	x3, [x23]
	cbz	x3, LBB0_13
; %bb.12:
	add	x0, x23, #16
	ldp	w2, w1, [x23, #8]
	bl	_mlx5e_notify_hw
	str	xzr, [x23]
	ldr	x8, [x19, #24]
LBB0_13:
	ldr	x9, [x19, #16]
	add	x8, x9, x8
	str	x8, [x19, #16]
	str	w21, [x19, #32]
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w22, w8
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	bl	_unlikely
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_RQ_STATE_ENABLED,4,2     ; @MLX5E_RQ_STATE_ENABLED
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UMR_WQE_BULK,8,3               ; @UMR_WQE_BULK
.subsections_via_symbols
