	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvneta_tso_put_hdr
_mvneta_tso_put_hdr:                    ## @mvneta_tso_put_hdr
	.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	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_skb_transport_offset
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_tcp_hdrlen
	movl	%eax, %ebx
	addl	%r12d, %ebx
	movq	(%r13), %rax
	movq	16(%r13), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	%r13, %rdi
	callq	_mvneta_txq_next_desc_get
	movq	%rax, %r12
	movl	%ebx, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mvneta_skb_tx_csum
	movq	_MVNETA_TXD_F_DESC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 16(%r12)
	movq	_TSO_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	(%r13), %rax
	addq	8(%r13), %rax
	movq	%rax, 8(%r12)
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvneta_txq_inc_put             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MVNETA_TXD_F_DESC,4,2          ## @MVNETA_TXD_F_DESC
	.comm	_TSO_HEADER_SIZE,4,2            ## @TSO_HEADER_SIZE
	.no_dead_strip	_mvneta_tso_put_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvneta_tso_put_hdr
_mvneta_tso_put_hdr:                    ; @mvneta_tso_put_hdr
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_skb_transport_offset
	mov	x22, x0
	mov	x0, x21
	bl	_tcp_hdrlen
	add	w23, w0, w22
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x19
	bl	_mvneta_txq_next_desc_get
	mov	x22, x0
	str	w23, [x0]
	mov	x0, x20
	mov	x1, x21
	bl	_mvneta_skb_tx_csum
Lloh0:
	adrp	x8, _MVNETA_TXD_F_DESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVNETA_TXD_F_DESC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w0
	str	w8, [x22, #16]
	ldp	x9, x8, [x19]
Lloh3:
	adrp	x10, _TSO_HEADER_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TSO_HEADER_SIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
	madd	x8, x9, x10, x8
	str	x8, [x22, #8]
	mov	x0, x19
	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
	b	_mvneta_txq_inc_put
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVNETA_TXD_F_DESC,4,2          ; @MVNETA_TXD_F_DESC
	.comm	_TSO_HEADER_SIZE,4,2            ; @TSO_HEADER_SIZE
	.no_dead_strip	_mvneta_tso_put_hdr
.subsections_via_symbols
