	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xsk_tx                   ## -- Begin function mlx5e_xsk_tx
	.p2align	4, 0x90
_mlx5e_xsk_tx:                          ## @mlx5e_xsk_tx
	.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	32(%rdi), %rcx
	movq	_MLX5E_XDP_XMIT_MODE_XSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	*(%rdi)
	movl	%eax, %r12d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	xorl	%r13d, %r13d
	movb	$1, %r14b
LBB0_4:
	xorl	%r15d, %r15d
	testb	$1, %r14b
	je	LBB0_15
	jmp	LBB0_18
LBB0_1:
	movb	$1, %r15b
	movl	$1, %r13d
	jmp	LBB0_18
LBB0_5:
	movb	$1, %r14b
	movl	$0, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	callq	_xsk_umem_consume_tx
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-52(%rbp), %esi
	movq	%rbx, %rdi
	callq	_xdp_umem_get_dma
	movl	%eax, -68(%rbp)
	movl	-52(%rbp), %esi
	movq	%rbx, %rdi
	callq	_xdp_umem_get_data
	movl	%eax, -64(%rbp)
	movl	-56(%rbp), %edx
	movl	%edx, -72(%rbp)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %edi
	movl	-68(%rbp), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_sync_single_for_device
	movq	%rbx, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%r12d, %ecx
	callq	*16(%rbx)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_mlx5e_xdp_mpwqe_complete
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	callq	_mlx5e_xsk_tx_post_err
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	decl	%r15d
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r12d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_7
	jmp	LBB0_4
LBB0_8:
	movl	$1, %r13d
	jmp	LBB0_4
LBB0_14:
	movb	$1, %r15b
	movl	$1, %r13d
LBB0_15:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 8(%rbx)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_mlx5e_xdp_mpwqe_complete
LBB0_17:
	movq	%rbx, %rdi
	callq	_mlx5e_xmit_xdp_doorbell
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_xsk_umem_consume_tx_done
LBB0_18:
	testl	%r13d, %r13d
	sete	%al
	orb	%r15b, %al
	movzbl	%al, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_XDP_XMIT_MODE_XSK,4,2    ## @MLX5E_XDP_XMIT_MODE_XSK
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xsk_tx                   ; -- Begin function mlx5e_xsk_tx
	.p2align	2
_mlx5e_xsk_tx:                          ; @mlx5e_xsk_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	x19, [x0, #32]
Lloh0:
	adrp	x8, _MLX5E_XDP_XMIT_MODE_XSK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_XDP_XMIT_MODE_XSK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	cbz	w1, LBB0_7
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0]
	blr	x8
	mov	x22, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.2:
	mov	w21, #0
	mov	w24, #1
LBB0_3:
	mov	w22, #0
	tbnz	w24, #0, LBB0_8
; %bb.4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_mlx5e_xdp_mpwqe_complete
LBB0_6:
	mov	x0, x20
	bl	_mlx5e_xmit_xdp_doorbell
	mov	x0, x19
	bl	_xsk_umem_consume_tx_done
	b	LBB0_8
LBB0_7:
	mov	w21, #1
	mov	w22, #1
LBB0_8:
	cmp	w21, #0
	cset	w8, eq
	orr	w0, w22, w8
	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
	add	sp, sp, #96
	ret
LBB0_9:
	mov	w24, #1
Lloh3:
	adrp	x23, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_xsk_umem_consume_tx
	cbz	w0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x19
	bl	_xdp_umem_get_dma
	str	w0, [sp, #12]
	ldr	w1, [sp, #4]
	mov	x0, x19
	bl	_xdp_umem_get_data
	ldr	w2, [sp]
	str	w0, [sp, #16]
	str	w2, [sp, #8]
	ldr	w0, [x20, #24]
	ldr	w1, [sp, #12]
	ldr	w3, [x23]
	bl	_dma_sync_single_for_device
	ldr	x8, [x20, #16]
	add	x1, sp, #8
	add	x2, sp, #24
	mov	x0, x20
	mov	x3, x22
	blr	x8
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_mlx5e_xdp_mpwqe_complete
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #24
	mov	x0, x20
	bl	_mlx5e_xsk_tx_post_err
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	lsr	w0, w0, #31
	bl	_unlikely
	mov	w24, #0
	cbz	x0, LBB0_10
; %bb.17:
	mov	w24, #0
	mov	w21, #0
	b	LBB0_3
LBB0_18:
	mov	w21, #1
	b	LBB0_3
LBB0_19:
	mov	w21, #1
	mov	w22, #1
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_XDP_XMIT_MODE_XSK,4,2    ; @MLX5E_XDP_XMIT_MODE_XSK
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
.subsections_via_symbols
