	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_xmit_xdp_frame
_mlx5e_xmit_xdp_frame:                  ## @mlx5e_xmit_xdp_frame
	.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
	movl	%ecx, %r12d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	48(%rdi), %rbx
	movl	(%rdi), %esi
	movq	%rbx, %rdi
	callq	_mlx5_wq_cyc_ctr2ix
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mlx5_wq_cyc_get_wqe
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	12(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rbx
	movq	40(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_prefetchw
	movq	_MLX5E_XDP_MIN_INLINE@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpq	(%rax), %rbx
	jl	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r15)
	setl	%dil
LBB0_2:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	$4, %rcx
	xorl	%eax, %eax
LBB0_11:
	incl	(%rcx)
	jmp	LBB0_12
LBB0_4:
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_mlx5e_xmit_xdp_frame_check
	movl	%eax, %r12d
LBB0_6:
	shrl	$31, %r12d
	movl	%r12d, %edi
	callq	_unlikely
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_7
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %r12
	addq	$16, %r12
	movq	$0, 24(%r14)
	movq	16(%r15), %rax
	movq	_MLX5_INLINE_MODE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_9:
	movl	12(%r14), %edi
	movl	8(%r13), %esi
	movq	_MLX5E_XDP_MIN_INLINE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	callq	_memcpy
	movq	(%r13), %rdi
	callq	_cpu_to_be16
	movl	%eax, 8(%r14)
	movq	(%r13), %rax
	subq	%rax, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addl	%eax, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	addq	$16, %r14
LBB0_10:
	callq	_cpu_to_be64
	movl	%eax, 8(%r14)
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, (%r14)
	movl	(%r15), %edi
	shll	$8, %edi
	movq	_MLX5_OPCODE_SEND@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	incl	(%r15)
	movq	%r12, 32(%r15)
	addq	$24, %r15
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_mlx5e_xdpi_fifo_push
	movl	$1, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_XDP_MIN_INLINE,8,3       ## @MLX5E_XDP_MIN_INLINE
	.comm	_MLX5_INLINE_MODE_NONE,8,3      ## @MLX5_INLINE_MODE_NONE
	.comm	_MLX5_OPCODE_SEND,4,2           ## @MLX5_OPCODE_SEND
	.no_dead_strip	_mlx5e_xmit_xdp_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_xmit_xdp_frame
_mlx5e_xmit_xdp_frame:                  ; @mlx5e_xmit_xdp_frame
	.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
	mov	x25, x3
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x1
	mov	x20, x0
	add	x21, x0, #48
	ldr	w1, [x0]
	mov	x0, x21
	bl	_mlx5_wq_cyc_ctr2ix
	mov	x1, x0
	mov	x0, x21
	bl	_mlx5_wq_cyc_get_wqe
	mov	x24, x0
	mov	x27, x0
	ldr	x28, [x27], #16
	ldr	w22, [x23, #12]
	ldr	x21, [x23]
	ldr	x26, [x20, #40]
	bl	_prefetchw
Lloh0:
	adrp	x19, _MLX5E_XDP_MIN_INLINE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MLX5E_XDP_MIN_INLINE@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x21, x8
	b.ge	LBB0_4
; %bb.1:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #0
	add	x26, x26, #4
LBB0_3:
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20, #8]
	cmp	x8, x21
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_5:
	cbnz	w25, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_mlx5e_xmit_xdp_frame_check
	mov	x25, x0
LBB0_7:
	lsr	w0, w25, #31
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.8:
	mov	w0, #0
LBB0_9:
	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
LBB0_10:
	str	xzr, [x24, #24]
	ldr	x8, [x20, #16]
Lloh2:
	adrp	x9, _MLX5_INLINE_MODE_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLX5_INLINE_MODE_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x24, #12]
	ldr	w1, [x23, #8]
	ldr	x2, [x19]
	bl	_memcpy
	ldr	x0, [x19]
	bl	_cpu_to_be16
	str	w0, [x24, #8]
	ldr	x8, [x19]
	sub	x21, x21, x8
	add	w22, w22, w8
	add	x28, x28, #16
LBB0_12:
	mov	x0, x22
	bl	_cpu_to_be64
	str	w0, [x28, #8]
	mov	x0, x21
	bl	_cpu_to_be32
	str	x0, [x28]
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _MLX5_OPCODE_SEND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX5_OPCODE_SEND@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8, lsl #8
	bl	_cpu_to_be32
	str	x0, [x27]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	str	x27, [x20, #32]
	add	x0, x20, #24
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_mlx5e_xdpi_fifo_push
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_XDP_MIN_INLINE,8,3       ; @MLX5E_XDP_MIN_INLINE
	.comm	_MLX5_INLINE_MODE_NONE,8,3      ; @MLX5_INLINE_MODE_NONE
	.comm	_MLX5_OPCODE_SEND,4,2           ; @MLX5_OPCODE_SEND
	.no_dead_strip	_mlx5e_xmit_xdp_frame
.subsections_via_symbols
