	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_tso_put_data
_mvpp2_tso_put_data:                    ## @mvpp2_tso_put_data
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_mvpp2_txq_next_desc_get
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edx
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_mvpp2_txdesc_txq_set
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	16(%rbp), %ebx
	movl	%ebx, %edx
	callq	_mvpp2_txdesc_size_set
	movl	(%r12), %edi
	movl	(%r13), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edx
	callq	_dma_map_single
	movl	%eax, %ebx
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mvpp2_txq_desc_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	24(%rbp), %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_mvpp2_txdesc_dma_addr_set
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_mvpp2_txdesc_cmd_set
	movq	%r13, %rsi
LBB0_6:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_mvpp2_txq_inc_put
	jmp	LBB0_7
LBB0_3:
	movl	32(%rbp), %ebx
	movq	_MVPP2_TXD_L_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mvpp2_txdesc_cmd_set
	testl	%ebx, %ebx
	movq	%r13, %rsi
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_mvpp2_txq_inc_put
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MVPP2_TXD_L_DESC,4,2           ## @MVPP2_TXD_L_DESC
	.no_dead_strip	_mvpp2_tso_put_data
.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_data
_mvpp2_tso_put_data:                    ; @mvpp2_tso_put_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x7
	mov	x25, x6
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x26, x2
	mov	x27, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_mvpp2_txq_next_desc_get
	mov	x20, x0
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	bl	_mvpp2_txdesc_txq_set
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	bl	_mvpp2_txdesc_size_set
	ldr	w0, [x27]
	ldr	w1, [x26]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x2, x25
	bl	_dma_map_single
	mov	x25, x0
	ldr	w0, [x27]
	mov	x1, x25
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_mvpp2_txq_desc_put
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	bl	_mvpp2_txdesc_dma_addr_set
	cbz	w23, LBB0_5
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_mvpp2_txdesc_cmd_set
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	b	LBB0_7
LBB0_5:
	ldr	w23, [x29, #16]
Lloh6:
	adrp	x8, _MVPP2_TXD_L_DESC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVPP2_TXD_L_DESC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_mvpp2_txdesc_cmd_set
	cbz	w23, LBB0_4
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
LBB0_7:
	mov	x3, x20
	bl	_mvpp2_txq_inc_put
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MVPP2_TXD_L_DESC,4,2           ; @MVPP2_TXD_L_DESC
	.no_dead_strip	_mvpp2_tso_put_data
.subsections_via_symbols
