	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xdp_xmit                 ## -- Begin function mlx5e_xdp_xmit
	.p2align	4, 0x90
_mlx5e_xdp_xmit:                        ## @mlx5e_xdp_xmit
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movl	%esi, %r12d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mlx5e_xdp_tx_is_enabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_XDP_XMIT_FLAGS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%r15d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_19:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %r12d
	jmp	LBB0_19
LBB0_7:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	8(%rbx), %rax
	movslq	%r13d, %rcx
	movq	(%rax,%rcx,8), %rbx
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.8:
	movl	%r12d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%r14d
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %r13
	movl	4(%r13), %esi
	movl	%esi, -48(%rbp)
	movl	(%r13), %edx
	movl	%edx, -56(%rbp)
	movl	8(%rbx), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, -52(%rbp)
	movl	8(%rbx), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MLX5E_XDP_XMIT_MODE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	%r13, -96(%rbp)
	movl	-52(%rbp), %eax
	movl	%eax, -104(%rbp)
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	*16(%rbx)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%rbx), %edi
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	jmp	LBB0_12
LBB0_14:
	movq	_XDP_XMIT_FLUSH@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.15:
	cmpq	$0, (%rbx)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_mlx5e_xdp_mpwqe_complete
LBB0_17:
	movq	%rbx, %rdi
	callq	_mlx5e_xmit_xdp_doorbell
LBB0_18:
	subl	%r14d, %r12d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ## @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_MLX5E_XDP_XMIT_MODE_FRAME,4,2  ## @MLX5E_XDP_XMIT_MODE_FRAME
	.comm	_XDP_XMIT_FLUSH,4,2             ## @XDP_XMIT_FLUSH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xdp_xmit                 ; -- Begin function mlx5e_xdp_xmit
	.p2align	2
_mlx5e_xdp_xmit:                        ; @mlx5e_xdp_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x22, x0
	bl	_mlx5e_xdp_tx_is_enabled
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh2:
	adrp	x8, _XDP_XMIT_FLAGS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XDP_XMIT_FLAGS_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w0, w20, w8
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	bl	_smp_processor_id
	mov	x23, x0
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	ldr	x8, [x22, #8]
	ldr	x22, [x8, w23, sxtw #3]
	cmp	w19, #1
	b.lt	LBB0_15
; %bb.9:
	mov	w24, #0
Lloh9:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	adrp	x26, _MLX5E_XDP_XMIT_MODE_FRAME@GOTPAGE
Lloh12:
	ldr	x26, [x26, _MLX5E_XDP_XMIT_MODE_FRAME@GOTPAGEOFF]
	mov	w27, w19
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	bl	_xdp_return_frame_rx_napi
	add	w24, w24, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #8
	subs	x27, x27, #1
	b.eq	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x21]
	ldr	w1, [x23, #4]
	str	w1, [sp, #40]
	ldr	w2, [x23]
	str	w2, [sp, #32]
	ldr	w0, [x22, #8]
	ldr	w3, [x25]
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [sp, #36]
	ldr	w0, [x22, #8]
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x26]
	str	w8, [sp, #24]
	str	x23, [sp, #16]
	ldr	w8, [sp, #36]
	str	w8, [sp, #8]
	ldr	x8, [x22, #16]
	add	x1, sp, #32
	add	x2, sp, #8
	mov	x0, x22
	mov	w3, #0
	blr	x8
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x22, #8]
	ldp	w2, w1, [sp, #32]
	ldr	w3, [x25]
	bl	_dma_unmap_single
	b	LBB0_10
LBB0_15:
	mov	w24, #0
LBB0_16:
Lloh13:
	adrp	x8, _XDP_XMIT_FLUSH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XDP_XMIT_FLUSH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_20
; %bb.17:
	ldr	x8, [x22]
	cbz	x8, LBB0_19
; %bb.18:
	mov	x0, x22
	bl	_mlx5e_xdp_mpwqe_complete
LBB0_19:
	mov	x0, x22
	bl	_mlx5e_xmit_xdp_doorbell
LBB0_20:
	sub	w0, w19, w24
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ; @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_MLX5E_XDP_XMIT_MODE_FRAME,4,2  ; @MLX5E_XDP_XMIT_MODE_FRAME
	.comm	_XDP_XMIT_FLUSH,4,2             ; @XDP_XMIT_FLUSH
.subsections_via_symbols
