	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nfp_net_tx
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nfp_net_tx:                            ## @nfp_net_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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	$0, -88(%rbp)
	movq	%r15, %rdi
	callq	_skb_get_queue_mapping
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r12
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$6, %r13
	leaq	(%r12,%r13), %r14
	movq	56(%r12,%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movl	%esi, -44(%rbp)
	incl	%esi
	movq	%r14, %rdi
	callq	_nfp_net_tx_full
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %ecx
	movl	48(%r12,%r13), %r8d
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_nn_dp_warn
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_netdev_get_tx_queue
	movq	%rax, %rdi
	callq	_netif_tx_stop_queue
	movq	%r14, %rdi
	callq	_nfp_net_tx_xmit_more_flush
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_u64_stats_update_begin
	incl	12(%rbx)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	jmp	LBB0_32
LBB0_2:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_nfp_net_tls_tx
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_nfp_net_tx_xmit_more_flush
	jmp	LBB0_31
LBB0_4:
	movq	%rbx, %r15
	movq	%r12, %rbx
	movl	-88(%rbp), %esi
	movq	%r14, %rdi
	callq	_nfp_net_prep_tx_meta
	movl	%eax, %r13d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_30
## %bb.5:
	movl	%r13d, -116(%rbp)               ## 4-byte Spill
	movl	4(%r15), %r15d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_headlen
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%r13d, %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_dma_map_single
	movq	%rax, %r15
	movl	4(%r13), %edi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_6
LBB0_29:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_nn_dp_warn
LBB0_30:
	movq	%r12, %rdi
	callq	_nfp_net_tx_xmit_more_flush
	movq	%rbx, %rdi
	callq	_u64_stats_update_begin
	incl	4(%rbx)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
	movl	-88(%rbp), %esi
	movq	%r14, %rdi
	callq	_nfp_net_tls_tx_undo
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
LBB0_31:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
LBB0_32:
	movl	(%rbx), %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r12), %esi
	movq	%r12, %rdi
	callq	_D_IDX
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	24(%rcx,%rsi), %rdi
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r12
	movq	%r12, %rdx
	shlq	$5, %rdx
	leaq	(%rdi,%rdx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r14, 24(%rdi,%rdx)
	movq	%r15, 16(%rdi,%rdx)
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, (%rdi,%rdx)
	movl	(%r14), %eax
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	movl	%eax, 8(%rdi,%rdx)
	movq	40(%rcx,%rsi), %rbx
	shlq	$6, %r12
	leaq	(%rbx,%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	movq	%r15, %r13
	jne	LBB0_8
## %bb.7:
	movq	_PCIE_DESC_TX_EOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	orl	%r15d, %eax
	movl	%eax, (%rbx,%r12)
	movq	%r14, %rdi
	callq	_skb_headlen
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx,%r12)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_nfp_desc_set_dma_addr
	movl	(%r14), %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%rbx,%r12)
	movl	$0, 32(%rbx,%r12)
	xorps	%xmm0, %xmm0
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movups	%xmm0, 40(%rbx,%r12)
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, %r8d
	callq	_nfp_net_tx_tso
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%rdi, %r15
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_nfp_net_tx_csum
	movq	%r13, %rdi
	callq	_skb_vlan_tag_present
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_NFP_NET_CFG_CTRL_TXVLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_11
## %bb.10:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r12), %rax
	addq	$32, %rax
	movq	_PCIE_DESC_TX_VLAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movq	%r13, %rdi
	callq	_skb_vlan_tag_get
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx,%r12)
LBB0_11:
	cmpl	$0, -44(%rbp)
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	jle	LBB0_20
## %bb.12:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%r14, %rax
	addq	$24, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r12), %rax
	movl	4(%rax), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	$-4, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	orl	-116(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, (%r15,%rbx)
	movq	8(%r15,%rbx), %rax
	movl	-148(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, 4(%rax)
	incq	%r12
	movslq	-44(%rbp), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
	cmpq	%rax, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_19
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	addq	%rax, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movl	%eax, %r14d
	movl	4(%r15), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_skb_frag_dma_map
	movq	%r13, %r12
	movq	%rax, %r13
	movl	4(%r15), %edi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_D_IDX
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	(%rsi), %rdx
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rbx
	movq	%rbx, %rcx
	shlq	$5, %rcx
	movq	%r12, 24(%rdx,%rcx)
	movq	%r13, 16(%rdx,%rcx)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, (%rdx,%rcx)
	movq	16(%rsi), %r15
	shlq	$6, %rbx
	leaq	(%r15,%rbx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r15,%rbx)
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_nfp_desc_set_dma_addr
	movl	-44(%rbp), %ecx
	decl	%ecx
	xorl	%eax, %eax
	cmpq	%rcx, %r12
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_PCIE_DESC_TX_EOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_14:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	movl	-84(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_15
## %bb.24:
	incq	%rdx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %rax
	addq	$32, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_25
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	decq	%rdx
	addq	$-4, %rbx
	cmpq	$1, %rdx
	jle	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	addq	%rbx, %rdi
	movl	4(%r13), %r14d
	movq	(%r12), %rax
	movslq	%r15d, %r13
	movq	%r13, %rbx
	shlq	$5, %rbx
	movq	16(%rax,%rbx), %r15
	callq	_skb_frag_size
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_dma_unmap_page
	movq	(%r12), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax,%rbx)
	movl	$-2, (%rax,%rbx)
	leal	-1(%r13), %r15d
	testl	%r13d, %r13d
	jg	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	(%rcx), %r15d
	jmp	LBB0_27
LBB0_19:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_u64_stats_update_begin
	incl	8(%rbx)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
LBB0_20:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_skb_tx_timestamp
	movl	8(%r15), %edi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12,%r14), %rsi
	callq	_netdev_get_tx_queue
	movq	%rax, %r15
	movl	-44(%rbp), %eax
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_nfp_net_tx_ring_should_stop
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nfp_net_tx_ring_stop
LBB0_22:
	movl	-44(%rbp), %eax
	movl	16(%r12,%r14), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, 16(%r12,%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	___netdev_tx_sent_queue
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_32
## %bb.23:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_nfp_net_tx_xmit_more_flush
	jmp	LBB0_32
LBB0_15:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_28:
	movl	4(%r13), %ebx
	movslq	%r15d, %r12
	shlq	$5, %r12
	movq	16(%rax,%r12), %r15
	movq	%r14, %rdi
	callq	_skb_headlen
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax,%r12)
	movl	$-2, (%rax,%r12)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX ring %d busy. wrp=%u rdp=%u\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_PCIE_DESC_TX_EOP,4,2           ## @PCIE_DESC_TX_EOP
	.comm	_NFP_NET_CFG_CTRL_TXVLAN,4,2    ## @NFP_NET_CFG_CTRL_TXVLAN
	.comm	_PCIE_DESC_TX_VLAN,4,2          ## @PCIE_DESC_TX_VLAN
L_.str.1:                               ## @.str.1
	.asciz	"Failed to map DMA TX buffer\n"

	.no_dead_strip	_nfp_net_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nfp_net_tx
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nfp_net_tx:                            ; @nfp_net_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	str	wzr, [sp, #88]
	mov	x0, x22
	bl	_skb_get_queue_mapping
	mov	x23, x0
	ldr	x24, [x21, #16]
	add	x19, x24, x0, lsl #6
	ldr	x20, [x19, #56]
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	stur	w8, [x29, #-84]
	add	w1, w8, #1
	mov	x0, x19
	bl	_nfp_net_tx_full
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #48]
	ldr	w9, [x19]
	stp	x9, x8, [sp, #8]
	str	x23, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_nn_dp_warn
	ldr	w0, [x21, #8]
	mov	x1, x23
	bl	_netdev_get_tx_queue
	bl	_netif_tx_stop_queue
	mov	x0, x19
	bl	_nfp_net_tx_xmit_more_flush
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	mov	x0, x20
	bl	_u64_stats_update_end
Lloh2:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	add	x3, sp, #88
	sub	x4, x29, #84
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_nfp_net_tls_tx
	mov	x28, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_nfp_net_tx_xmit_more_flush
	b	LBB0_8
LBB0_4:
	ldr	w1, [sp, #88]
	mov	x0, x28
	bl	_nfp_net_prep_tx_meta
	mov	x22, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	w25, [x21, #4]
	ldr	w26, [x28, #4]
	mov	x0, x28
	bl	_skb_headlen
	mov	x2, x0
Lloh4:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x26
	bl	_dma_map_single
	mov	x26, x0
	ldr	w0, [x21, #4]
	mov	x1, x26
	bl	_dma_mapping_error
	cbz	x0, LBB0_10
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_nn_dp_warn
LBB0_7:
	mov	x0, x19
	bl	_nfp_net_tx_xmit_more_flush
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_u64_stats_update_end
	ldr	w1, [sp, #88]
	mov	x0, x28
	bl	_nfp_net_tls_tx_undo
	mov	x0, x28
	bl	_dev_kfree_skb_any
LBB0_8:
Lloh9:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_10:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_D_IDX
                                        ; kill: def $w0 killed $w0 def $x0
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	add	x9, x24, x23, lsl #6
	ldr	x10, [x9, #40]!
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	ldr	x8, [x9, #-16]!
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	sxtw	x25, w0
	add	x27, x8, x25, lsl #5
	stp	x26, x28, [x27, #16]
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x27]
	ldr	w8, [x28]
	mov	x9, x27
	str	w8, [x9, #8]!
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	str	x28, [sp, #80]                  ; 8-byte Folded Spill
	str	x10, [sp, #48]                  ; 8-byte Folded Spill
	add	x28, x10, x25, lsl #6
Lloh13:
	adrp	x9, _PCIE_DESC_TX_EOP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PCIE_DESC_TX_EOP@GOTPAGEOFF]
	ldur	w8, [x29, #-84]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, wzr, eq
	orr	w8, w8, w22
	str	w8, [x28]
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_skb_headlen
	bl	_cpu_to_le16
	str	x0, [x28, #16]
	mov	x0, x28
	mov	x1, x26
	bl	_nfp_desc_set_dma_addr
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_cpu_to_le16
	stp	xzr, x0, [x28, #48]
	mov	x24, x28
	str	wzr, [x24, #32]!
	str	xzr, [x28, #40]
	mov	x0, x20
	mov	x1, x27
	mov	x2, x28
	ldr	x3, [sp, #80]                   ; 8-byte Folded Reload
	str	w22, [sp, #64]                  ; 4-byte Folded Spill
	mov	x4, x22
	bl	_nfp_net_tx_tso
	mov	x0, x21
	mov	x1, x20
	mov	x2, x27
	mov	x3, x28
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
	mov	x4, x28
	bl	_nfp_net_tx_csum
	mov	x0, x28
	bl	_skb_vlan_tag_present
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w8, [x21]
Lloh16:
	adrp	x9, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_TXVLAN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh19:
	adrp	x8, _PCIE_DESC_TX_VLAN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCIE_DESC_TX_VLAN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
	mov	x0, x28
	bl	_skb_vlan_tag_get
	bl	_cpu_to_le16
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, x25, lsl #6
	str	x0, [x8, #24]
LBB0_13:
	ldur	w8, [x29, #-84]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.14:
	mov	x24, #0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, x25, lsl #6
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	mov	x22, #-4
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x8, x8, x22
	add	x27, x8, #4
	mov	x0, x27
	bl	_skb_frag_size
	mov	x26, x0
	ldr	w0, [x21, #4]
Lloh22:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	x1, x27
	mov	w2, #0
	mov	x3, x26
	bl	_skb_frag_dma_map
	mov	x27, x0
	ldr	w0, [x21, #4]
	mov	x1, x27
	bl	_dma_mapping_error
	cbnz	x0, LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w1, w25, #1
	mov	x0, x19
	bl	_D_IDX
	mov	x25, x0
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	sxtw	x9, w25
	add	x8, x8, x9, lsl #5
	stp	x27, x28, [x8, #16]
	str	w24, [x8]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x28, x8, x9, lsl #6
	mov	x0, x26
	bl	_cpu_to_le16
	str	x0, [x28, #16]
	mov	x0, x28
	mov	x1, x27
	bl	_nfp_desc_set_dma_addr
	ldur	w8, [x29, #-84]
	sub	w8, w8, #1
Lloh25:
	adrp	x9, _PCIE_DESC_TX_EOP@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PCIE_DESC_TX_EOP@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	x24, x8
	csel	w8, w9, wzr, eq
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	str	w8, [x28]
	ldr	x8, [x28, #8]
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
	ldr	w9, [sp, #48]                   ; 4-byte Folded Reload
	str	w9, [x8, #4]
	add	x24, x24, #1
	ldursw	x8, [x29, #-84]
	add	x22, x22, #4
	cmp	x24, x8
	b.lt	LBB0_15
; %bb.17:
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_u64_stats_update_end
LBB0_18:
	mov	x0, x28
	bl	_skb_tx_timestamp
	ldr	w0, [x21, #8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x21, x8, x23, lsl #6
	ldr	x1, [x21, #8]
	bl	_netdev_get_tx_queue
	mov	x20, x0
	ldur	w8, [x29, #-84]
	ldr	w9, [x19]
	add	w8, w8, w9
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_nfp_net_tx_ring_should_stop
	cbz	x0, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	bl	_nfp_net_tx_ring_stop
LBB0_20:
	ldur	w8, [x29, #-84]
	ldr	w9, [x21, #16]
	add	w8, w8, w9
	add	w8, w8, #1
	str	w8, [x21, #16]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w21, [x8]
	bl	_netdev_xmit_more
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	___netdev_tx_sent_queue
	cbnz	x0, LBB0_3
	b	LBB0_8
LBB0_21:
	cbz	w24, LBB0_27
; %bb.22:
	add	x26, x24, #1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, x23, lsl #6
	add	x8, x8, #32
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	w28, #-2
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	sub	x26, x26, #1
	sub	x22, x22, #4
	cmp	x26, #1
	b.le	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x22
	ldr	w23, [x21, #4]
	ldr	x8, [x24]
	sbfiz	x27, x25, #5, #32
	add	x8, x8, x27
	ldr	x24, [x8, #16]
	bl	_skb_frag_size
	mov	x2, x0
Lloh28:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	bl	_dma_unmap_page
	ldr	x8, [x24]
	add	x9, x8, x27
	stp	xzr, xzr, [x9, #16]
	str	w28, [x9]
	sub	w9, w25, #1
	cmp	w25, #0
	mov	x25, x9
	b.gt	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w10, [x10]
	add	w25, w9, w10
	b	LBB0_23
LBB0_26:
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
Lloh31:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh32:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	mov	x27, x24
	b	LBB0_28
LBB0_27:
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x8, [x27]
Lloh33:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh34:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_28:
	ldr	w23, [x21, #4]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sbfiz	x22, x25, #5, #32
	add	x8, x8, x22
	ldr	x24, [x8, #16]
	mov	x0, x28
	bl	_skb_headlen
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x23
	mov	x1, x24
	bl	_dma_unmap_single
	ldr	x8, [x27]
	add	x8, x8, x22
	stp	xzr, xzr, [x8, #16]
	mov	w9, #-2
	str	w9, [x8]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX ring %d busy. wrp=%u rdp=%u\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_PCIE_DESC_TX_EOP,4,2           ; @PCIE_DESC_TX_EOP
	.comm	_NFP_NET_CFG_CTRL_TXVLAN,4,2    ; @NFP_NET_CFG_CTRL_TXVLAN
	.comm	_PCIE_DESC_TX_VLAN,4,2          ; @PCIE_DESC_TX_VLAN
l_.str.1:                               ; @.str.1
	.asciz	"Failed to map DMA TX buffer\n"

	.no_dead_strip	_nfp_net_tx
.subsections_via_symbols
