	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_tx_tso
_nfp_net_tx_tso:                        ## @nfp_net_tx_tso
	.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	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rcx, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	cmpl	$0, 4(%rbx)
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_skb_inner_network_offset
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_inner_transport_offset
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_skb_inner_transport_header
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	subl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_inner_tcp_hdrlen
	movl	%eax, %r15d
	addl	%r14d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_network_offset
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_transport_offset
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_skb_transport_offset
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_tcp_hdrlen
	movl	%eax, %r15d
	addl	-56(%rbp), %r15d                ## 4-byte Folded Reload
LBB0_4:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	decl	%eax
	imull	%r15d, %eax
	addl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	_PCIE_DESC_TX_MSS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	4(%rax), %edi
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	movl	%ecx, (%r12)
	subl	%eax, %r13d
	movl	%r13d, 4(%r12)
	subl	%eax, %r15d
	movl	%r15d, 8(%r12)
	callq	_cpu_to_le16
	movl	%eax, 16(%r12)
	movq	_PCIE_DESC_TX_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r12)
	movq	%r14, %rdi
	callq	_u64_stats_update_begin
	incl	4(%r14)
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_u64_stats_update_end           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_DESC_TX_MSS_MASK,4,2      ## @PCIE_DESC_TX_MSS_MASK
	.comm	_PCIE_DESC_TX_LSO,4,2           ## @PCIE_DESC_TX_LSO
	.no_dead_strip	_nfp_net_tx_tso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_tx_tso
_nfp_net_tx_tso:                        ; @nfp_net_tx_tso
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x3
	bl	_skb_is_gso
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_skb_inner_network_offset
	mov	x24, x0
	mov	x0, x22
	bl	_skb_inner_transport_offset
	mov	x25, x0
	mov	x0, x22
	bl	_skb_inner_transport_header
	ldr	w8, [x22]
	sub	w26, w0, w8
	mov	x0, x22
	bl	_inner_tcp_hdrlen
	add	w26, w26, w0
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x22
	bl	_skb_network_offset
	mov	x24, x0
	mov	x0, x22
	bl	_skb_transport_offset
	mov	x25, x0
	mov	x0, x22
	bl	_skb_transport_offset
	mov	x26, x0
	mov	x0, x22
	bl	_tcp_hdrlen
	add	w26, w0, w26
LBB0_5:
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	sub	w9, w8, #1
	ldr	w10, [x23, #4]
	madd	w9, w9, w26, w10
	stp	w8, w9, [x23]
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _PCIE_DESC_TX_MSS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCIE_DESC_TX_MSS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	sub	w8, w24, w21
	sub	w9, w25, w21
	stp	w8, w9, [x20]
	sub	w8, w26, w21
	str	w8, [x20, #8]
	bl	_cpu_to_le16
Lloh3:
	adrp	x8, _PCIE_DESC_TX_LSO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCIE_DESC_TX_LSO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20, #12]
	orr	w8, w9, w8
	stp	w8, w0, [x20, #12]
	mov	x0, x19
	bl	_u64_stats_update_begin
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_u64_stats_update_end
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_DESC_TX_MSS_MASK,4,2      ; @PCIE_DESC_TX_MSS_MASK
	.comm	_PCIE_DESC_TX_LSO,4,2           ; @PCIE_DESC_TX_LSO
	.no_dead_strip	_nfp_net_tx_tso
.subsections_via_symbols
