	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xdp_mpwqe_complete       ## -- Begin function mlx5e_xdp_mpwqe_complete
	.p2align	4, 0x90
_mlx5e_xdp_mpwqe_complete:              ## @mlx5e_xdp_mpwqe_complete
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$48, %rdi
	movq	32(%rbx), %r12
	movq	24(%rbx), %r15
	movl	(%rbx), %esi
	callq	_mlx5_wq_cyc_ctr2ix
	movq	%rax, %r14
	movq	16(%rbx), %r13
	movl	(%rbx), %edi
	shll	$8, %edi
	movq	_MLX5_OPCODE_ENHANCED_MPSW@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%r12)
	movl	4(%rbx), %eax
	shll	$8, %eax
	movl	%r15d, %edi
	orl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	movq	_MLX5_SEND_WQEBB_NUM_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_DIV_ROUND_UP
	shlq	$4, %r14
	movq	%rax, (%r13,%r14)
	movl	40(%rbx), %ecx
	movl	%ecx, 8(%r13,%r14)
	addl	%eax, (%rbx)
	movq	%r12, 8(%rbx)
	movq	$0, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_OPCODE_ENHANCED_MPSW,4,2  ## @MLX5_OPCODE_ENHANCED_MPSW
	.comm	_MLX5_SEND_WQEBB_NUM_DS,4,2     ## @MLX5_SEND_WQEBB_NUM_DS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xdp_mpwqe_complete       ; -- Begin function mlx5e_xdp_mpwqe_complete
	.p2align	2
_mlx5e_xdp_mpwqe_complete:              ; @mlx5e_xdp_mpwqe_complete
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x0, x0, #48
	ldp	x20, x22, [x19, #24]
	ldr	w1, [x19]
	bl	_mlx5_wq_cyc_ctr2ix
	mov	x21, x0
	ldr	x23, [x19, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MLX5_OPCODE_ENHANCED_MPSW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_OPCODE_ENHANCED_MPSW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #8
	bl	_cpu_to_be32
	str	x0, [x22, #8]
	ldr	w8, [x19, #4]
	orr	w0, w20, w8, lsl #8
	bl	_cpu_to_be32
	str	x0, [x22]
Lloh3:
	adrp	x8, _MLX5_SEND_WQEBB_NUM_DS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_SEND_WQEBB_NUM_DS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DIV_ROUND_UP
	add	x8, x23, x21, lsl #4
	str	x0, [x8]
	ldr	w9, [x19, #40]
	str	w9, [x8, #8]
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	str	x22, [x19, #8]
	str	xzr, [x19, #32]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_OPCODE_ENHANCED_MPSW,4,2  ; @MLX5_OPCODE_ENHANCED_MPSW
	.comm	_MLX5_SEND_WQEBB_NUM_DS,4,2     ; @MLX5_SEND_WQEBB_NUM_DS
.subsections_via_symbols
