	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_xdp_tx_frame
_cpsw_xdp_tx_frame:                     ## @cpsw_xdp_tx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	_CPSW_XMETA_OFFSET@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movq	%rax, 8(%r13,%rsi)
	movq	$0, (%r13,%rsi)
	movq	8(%rcx), %rax
	movq	(%rax), %r12
	movl	(%rcx), %r15d
	addl	(%rdi), %r15d
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rdi
	callq	_page_pool_get_dma_addr
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r13), %ecx
	leal	(%rax,%rcx), %ebx
	addl	$12, %ebx
	movq	%r13, %rdi
	callq	_cpsw_xdpf_to_handle
	movl	4(%r13), %ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	movl	%r15d, %r8d
	callq	_cpdma_chan_submit_mapped
	jmp	LBB0_5
LBB0_2:
	cmpl	$15, (%r13)
	ja	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_xdp_return_frame_rx_napi
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movq	%r13, %rdi
	callq	_cpsw_xdpf_to_handle
	movl	4(%r13), %ecx
	movl	8(%r13), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r15d, %r8d
	callq	_cpdma_chan_submit
LBB0_5:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	8(%r14), %rax
	incl	(%rax)
	movq	%r13, %rdi
	callq	_xdp_return_frame_rx_napi
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPSW_XMETA_OFFSET,4,2          ## @CPSW_XMETA_OFFSET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cpsw_xdp_tx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_xdp_tx_frame
_cpsw_xdp_tx_frame:                     ; @cpsw_xdp_tx_frame
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CPSW_XMETA_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPSW_XMETA_OFFSET@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x1, x8
	ldp	x10, x9, [x0, #8]
	stp	xzr, x10, [x8]
	ldr	x8, [x9, #8]
	ldr	x22, [x8]
	ldr	w8, [x0]
	ldr	w9, [x9]
	add	w21, w9, w8
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x2
	bl	_page_pool_get_dma_addr
	ldr	w8, [x19]
	add	w8, w0, w8
	add	w23, w8, #12
	mov	x0, x19
	bl	_cpsw_xdpf_to_handle
	mov	x1, x0
	ldr	w3, [x19, #4]
	mov	x0, x22
	mov	x2, x23
	mov	x4, x21
	bl	_cpdma_chan_submit_mapped
	mov	x21, x0
	cbnz	w0, LBB0_5
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #15
	b.hi	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_xdp_return_frame_rx_napi
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_cpsw_xdpf_to_handle
	mov	x1, x0
	ldp	w3, w2, [x19, #4]
	mov	x0, x22
	mov	x4, x21
	bl	_cpdma_chan_submit
	mov	x21, x0
	cbz	w0, LBB0_6
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_xdp_return_frame_rx_napi
LBB0_6:
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CPSW_XMETA_OFFSET,4,2          ; @CPSW_XMETA_OFFSET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cpsw_xdp_tx_frame
.subsections_via_symbols
