	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_enet_txq_submit_frag_skb
_fec_enet_txq_submit_frag_skb:          ## @fec_enet_txq_submit_frag_skb
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r15
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_25
## %bb.1:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	leal	-1(%rcx), %eax
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %r12
	addq	%rbx, %r12
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fec_enet_get_nextdesc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	callq	_fec16_to_cpu
                                        ## kill: def $ax killed $ax def $eax
	movq	_BD_ENET_TX_STATS@GOTPCREL(%rip), %rcx
	movq	%rbx, %r15
	movzwl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_BD_ENET_TX_TC@GOTPCREL(%rip), %rax
	orw	(%rax), %bx
	movq	_BD_ENET_TX_READY@GOTPCREL(%rip), %rax
	orw	(%rax), %bx
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%r15, %rdi
	callq	_skb_frag_size
	movl	%eax, %r14d
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	cmpq	%r15, -112(%rbp)                ## 8-byte Folded Reload
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BD_ENET_TX_INTR@GOTPCREL(%rip), %rax
	orw	(%rax), %bx
	movq	_BD_ENET_TX_LAST@GOTPCREL(%rip), %rax
	orw	(%rax), %bx
	cmpq	$0, 24(%r13)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BD_ENET_TX_INT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	orl	(%rax), %r15d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%r13)
	setne	%al
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_BD_ENET_TX_TS@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%r13)
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_FEC_QUIRK_HAS_AVB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_FEC_TX_BD_FTYPE
	orl	%eax, %r15d
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_BD_ENET_TX_IINS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_BD_ENET_TX_PINS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movl	$0, %eax
	cmovnel	%eax, %ecx
	orl	%ecx, %r15d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	$0, 8(%r14)
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	callq	_cpu_to_fec32
	movq	%rax, (%r14)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_skb_frag_address
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fec_enet_get_bd_index
	testq	%rbx, 8(%r13)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_FEC_QUIRK_SWAP_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r13)
	je	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rcx
	movq	%r13, %r12
	movq	%rdx, %r13
	movl	%eax, %r14d
	movq	(%rcx,%r14,8), %rdi
	movq	%rbx, %rsi
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	16(%r13), %rax
	movq	%r12, %r13
	movq	(%rax,%r14,8), %rbx
	movq	_FEC_QUIRK_SWAP_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_swap_buffer
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r14d
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_dma_map_single
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_cpu_to_fec32
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movzwl	%r14w, %edi
	callq	_cpu_to_fec16
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movzwl	%r15w, %edi
	movq	%rbx, %r15
	callq	_cpu_to_fec16
	movq	%rax, 16(%rbx)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	addq	$4, %rbx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rbx, %rcx
	jne	LBB0_2
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_22
LBB0_25:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_err
LBB0_28:
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_31
## %bb.29:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_fec_enet_get_nextdesc
	movq	%rax, %rbx
	movq	16(%r13), %r14
	movq	8(%rax), %rdi
	callq	_fec32_to_cpu
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_fec16_to_cpu
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movzwl	%ax, %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_dma_unmap_single
	decl	%r12d
	jne	LBB0_30
LBB0_31:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BD_ENET_TX_STATS,2,1           ## @BD_ENET_TX_STATS
	.comm	_BD_ENET_TX_TC,2,1              ## @BD_ENET_TX_TC
	.comm	_BD_ENET_TX_READY,2,1           ## @BD_ENET_TX_READY
	.comm	_BD_ENET_TX_INTR,2,1            ## @BD_ENET_TX_INTR
	.comm	_BD_ENET_TX_LAST,2,1            ## @BD_ENET_TX_LAST
	.comm	_BD_ENET_TX_INT,4,2             ## @BD_ENET_TX_INT
	.comm	_SKBTX_HW_TSTAMP,4,2            ## @SKBTX_HW_TSTAMP
	.comm	_BD_ENET_TX_TS,4,2              ## @BD_ENET_TX_TS
	.comm	_FEC_QUIRK_HAS_AVB,4,2          ## @FEC_QUIRK_HAS_AVB
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_BD_ENET_TX_PINS,4,2            ## @BD_ENET_TX_PINS
	.comm	_BD_ENET_TX_IINS,4,2            ## @BD_ENET_TX_IINS
	.comm	_FEC_QUIRK_SWAP_FRAME,4,2       ## @FEC_QUIRK_SWAP_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx DMA memory map failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_fec_enet_txq_submit_frag_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fec_enet_txq_submit_frag_skb
_fec_enet_txq_submit_frag_skb:          ; @fec_enet_txq_submit_frag_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x2
	bl	_netdev_priv
	mov	x20, x0
	ldr	x23, [x19]
	str	x22, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.1:
	str	x21, [sp]                       ; 8-byte Folded Spill
	mov	x21, #0
	mov	w27, #0
	mov	w24, #0
	sub	w9, w8, #1
	lsl	x9, x9, #2
	lsl	x8, x8, #2
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x26, [x0, #8]
	mov	x0, x23
	mov	x1, x19
	bl	_fec_enet_get_nextdesc
	mov	x23, x0
	ldr	x0, [x0, #16]
	bl	_fec16_to_cpu
Lloh0:
	adrp	x8, _BD_ENET_TX_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BD_ENET_TX_STATS@GOTPAGEOFF]
	ldrh	w8, [x8]
	bic	w8, w0, w8
Lloh2:
	adrp	x9, _BD_ENET_TX_TC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BD_ENET_TX_TC@GOTPAGEOFF]
	ldrh	w9, [x9]
Lloh4:
	adrp	x10, _BD_ENET_TX_READY@GOTPAGE
Lloh5:
	ldr	x10, [x10, _BD_ENET_TX_READY@GOTPAGEOFF]
	ldrh	w10, [x10]
	orr	w8, w8, w9
	orr	w28, w8, w10
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x21
	bl	_skb_frag_size
	mov	x25, x0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, x21
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _BD_ENET_TX_INTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BD_ENET_TX_INTR@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh8:
	adrp	x9, _BD_ENET_TX_LAST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BD_ENET_TX_LAST@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w8, w28
	orr	w28, w8, w9
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, _BD_ENET_TX_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BD_ENET_TX_INT@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
Lloh13:
	adrp	x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #32]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	orr	w24, w22, w24
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _BD_ENET_TX_TS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BD_ENET_TX_TS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
Lloh19:
	adrp	x9, _FEC_QUIRK_HAS_AVB@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FEC_QUIRK_HAS_AVB@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #8]
	bl	_FEC_TX_BD_FTYPE
	orr	w24, w0, w24
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _BD_ENET_TX_PINS@GOTPAGE
Lloh26:
	ldr	x10, [x10, _BD_ENET_TX_PINS@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _BD_ENET_TX_IINS@GOTPAGE
Lloh29:
	ldr	x11, [x11, _BD_ENET_TX_IINS@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	x8, x9
	csel	w8, w10, wzr, eq
	orr	w24, w8, w24
	str	xzr, [x23, #8]
	mov	x0, x24
	bl	_cpu_to_fec32
	str	x0, [x23]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x26, x21
	bl	_skb_frag_address
	mov	x26, x0
	mov	x0, x23
	mov	x1, x19
	bl	_fec_enet_get_bd_index
	ldr	x8, [x20, #8]
	tst	x8, x26
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
Lloh31:
	adrp	x9, _FEC_QUIRK_SWAP_FRAME@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FEC_QUIRK_SWAP_FRAME@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	mov	w9, w0
	lsl	x22, x9, #3
	ldr	x0, [x8, x22]
	mov	x1, x26
	mov	x2, x25
	bl	_memcpy
	ldr	x8, [x19, #16]
	ldr	x26, [x8, x22]
	ldr	w8, [x20]
Lloh34:
	adrp	x9, _FEC_QUIRK_SWAP_FRAME@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FEC_QUIRK_SWAP_FRAME@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_swap_buffer
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #16]
Lloh37:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	x1, x26
	mov	x2, x25
	bl	_dma_map_single
	mov	x26, x0
	ldr	x0, [x20, #16]
	mov	x1, x26
	bl	_dma_mapping_error
	cbnz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x26
	bl	_cpu_to_fec32
	str	x0, [x23, #8]
	and	w0, w25, #0xffff
	bl	_cpu_to_fec16
	str	x0, [x23]
	bl	_wmb
	and	w0, w28, #0xffff
	bl	_cpu_to_fec16
	str	x0, [x23, #16]
	add	w27, w27, #1
	add	x21, x21, #4
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x21
	b.ne	LBB0_2
LBB0_19:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	bl	_net_ratelimit
	cbz	x0, LBB0_22
; %bb.21:
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_netdev_err
LBB0_22:
Lloh42:
	adrp	x24, _DMA_TO_DEVICE@GOTPAGE
Lloh43:
	ldr	x24, [x24, _DMA_TO_DEVICE@GOTPAGEOFF]
	cbz	w27, LBB0_25
; %bb.23:
	ldr	x21, [x19]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_fec_enet_get_nextdesc
	mov	x21, x0
	ldr	x22, [x20, #16]
	ldr	x0, [x0, #8]
	bl	_fec32_to_cpu
	mov	x23, x0
	ldr	x0, [x21]
	bl	_fec16_to_cpu
	mov	x2, x0
	ldr	w3, [x24]
	mov	x0, x22
	mov	x1, x23
	bl	_dma_unmap_single
	subs	w27, w27, #1
	b.ne	LBB0_24
LBB0_25:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_BD_ENET_TX_STATS,2,1           ; @BD_ENET_TX_STATS
	.comm	_BD_ENET_TX_TC,2,1              ; @BD_ENET_TX_TC
	.comm	_BD_ENET_TX_READY,2,1           ; @BD_ENET_TX_READY
	.comm	_BD_ENET_TX_INTR,2,1            ; @BD_ENET_TX_INTR
	.comm	_BD_ENET_TX_LAST,2,1            ; @BD_ENET_TX_LAST
	.comm	_BD_ENET_TX_INT,4,2             ; @BD_ENET_TX_INT
	.comm	_SKBTX_HW_TSTAMP,4,2            ; @SKBTX_HW_TSTAMP
	.comm	_BD_ENET_TX_TS,4,2              ; @BD_ENET_TX_TS
	.comm	_FEC_QUIRK_HAS_AVB,4,2          ; @FEC_QUIRK_HAS_AVB
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_BD_ENET_TX_PINS,4,2            ; @BD_ENET_TX_PINS
	.comm	_BD_ENET_TX_IINS,4,2            ; @BD_ENET_TX_IINS
	.comm	_FEC_QUIRK_SWAP_FRAME,4,2       ; @FEC_QUIRK_SWAP_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx DMA memory map failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_fec_enet_txq_submit_frag_skb
.subsections_via_symbols
