	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_tso_put_hdr
_mvpp2_tso_put_hdr:                     ## @mvpp2_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
	movl	%r9d, %r13d
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_mvpp2_txq_next_desc_get
	movq	%rax, %r15
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mvpp2_txdesc_txq_set
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_mvpp2_txdesc_size_set
	movslq	(%r14), %rax
	movq	_TSO_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	imulq	%rax, %rdx
	addq	8(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mvpp2_txdesc_dma_addr_set
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mvpp2_skb_tx_csum
	movq	_MVPP2_TXD_F_DESC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MVPP2_TXD_PADDING_DISABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_mvpp2_txdesc_cmd_set
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvpp2_txq_inc_put              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TSO_HEADER_SIZE,4,2            ## @TSO_HEADER_SIZE
	.comm	_MVPP2_TXD_F_DESC,4,2           ## @MVPP2_TXD_F_DESC
	.comm	_MVPP2_TXD_PADDING_DISABLE,4,2  ## @MVPP2_TXD_PADDING_DISABLE
	.no_dead_strip	_mvpp2_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 mvpp2_tso_put_hdr
_mvpp2_tso_put_hdr:                     ; @mvpp2_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	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x24, x0
	mov	x0, x21
	bl	_mvpp2_txq_next_desc_get
	mov	x21, x0
	ldr	w2, [x22]
	mov	x0, x24
	mov	x1, x21
	bl	_mvpp2_txdesc_txq_set
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	bl	_mvpp2_txdesc_size_set
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
Lloh0:
	adrp	x10, _TSO_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TSO_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x10]
	madd	x2, x10, x9, x8
	mov	x0, x24
	mov	x1, x21
	bl	_mvpp2_txdesc_dma_addr_set
	mov	x0, x24
	mov	x1, x23
	bl	_mvpp2_skb_tx_csum
Lloh3:
	adrp	x8, _MVPP2_TXD_F_DESC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP2_TXD_F_DESC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh6:
	adrp	x9, _MVPP2_TXD_PADDING_DISABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MVPP2_TXD_PADDING_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x24
	mov	x1, x21
	bl	_mvpp2_txdesc_cmd_set
	mov	x0, x24
	mov	x1, x19
	mov	x2, #0
	mov	x3, 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
	b	_mvpp2_txq_inc_put
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSO_HEADER_SIZE,4,2            ; @TSO_HEADER_SIZE
	.comm	_MVPP2_TXD_F_DESC,4,2           ; @MVPP2_TXD_F_DESC
	.comm	_MVPP2_TXD_PADDING_DISABLE,4,2  ; @MVPP2_TXD_PADDING_DISABLE
	.no_dead_strip	_mvpp2_tso_put_hdr
.subsections_via_symbols
