	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fec_enet_txq_submit_skb
_fec_enet_txq_submit_skb:               ## @fec_enet_txq_submit_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_fec_enet_get_free_txdesc_num
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_1
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_fec_enet_clear_csum
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_4
LBB0_1:
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	callq	_netdev_err
LBB0_4:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_38:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %r13
	movq	8(%rbx), %r14
	movq	(%r14), %rdi
	callq	_fec16_to_cpu
                                        ## kill: def $ax killed $ax def $eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_BD_ENET_TX_STATS@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movq	8(%r12), %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_skb_headlen
	movw	%ax, -56(%rbp)                  ## 2-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_fec_enet_get_bd_index
	movzwl	-56(%rbp), %r14d                ## 2-byte Folded Reload
	testq	%r12, (%r13)
	jne	LBB0_9
## %bb.8:
	movq	_FEC_QUIRK_SWAP_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r13)
	je	LBB0_12
LBB0_9:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	32(%r12), %rcx
	movl	%eax, %ebx
	movq	(%rcx,%rbx,8), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %r12
	movq	_FEC_QUIRK_SWAP_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r13, %rbx
	testl	%eax, 8(%r13)
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_swap_buffer
LBB0_11:
	movq	%rbx, %r13
LBB0_12:
	movq	32(%r13), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rsi
	movl	%r14d, %ebx
	movl	%r14d, %edx
	callq	_dma_map_single
	movl	%eax, %r14d
	movq	32(%r13), %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_4
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_15:
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	notl	%ebx
	andl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_19
## %bb.16:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_fec_enet_txq_submit_frag_skb
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_dma_unmap_single
	jmp	LBB0_6
LBB0_19:
	movq	_BD_ENET_TX_INTR@GOTPCREL(%rip), %rax
	movq	_BD_ENET_TX_LAST@GOTPCREL(%rip), %rcx
	orw	(%rax), %bx
	orw	(%rcx), %bx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 24(%rax)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_20
## %bb.21:
	movq	_BD_ENET_TX_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_22
## %bb.23:
	xorl	%edi, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	setne	%dil
	jmp	LBB0_24
LBB0_17:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_20:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_22:
	xorl	%edi, %edi
LBB0_24:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	_BD_ENET_TX_TS@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_26:
	movq	%rbx, %r15
LBB0_27:
	movl	%r14d, %edi
	callq	_cpu_to_fec32
	movq	%rax, 16(%rbx)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_fec16
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 24(%rax)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_37
## %bb.28:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_29
## %bb.30:
	xorl	%edi, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	setne	%dil
	jmp	LBB0_31
LBB0_29:
	xorl	%edi, %edi
LBB0_31:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	_SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	orl	%ebx, 4(%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_33:
	movq	_FEC_QUIRK_HAS_AVB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_34
## %bb.35:
	movl	16(%r13), %edi
	callq	_FEC_TX_BD_FTYPE
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	orl	%eax, %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_34:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_36:
	movq	(%r12), %rax
	movq	_BD_ENET_TX_PINS@GOTPCREL(%rip), %rcx
	movq	_BD_ENET_TX_IINS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	cmovel	%edx, %edi
	orl	%esi, %edi
	movq	$0, 8(%rbx)
	callq	_cpu_to_fec32
	movq	%rax, (%rbx)
LBB0_37:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_fec_enet_get_bd_index
	movq	24(%r13), %rcx
	movl	%eax, %eax
	movq	%r12, (%rcx,%rax,8)
	movq	%rbx, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wmb
	movq	_BD_ENET_TX_READY@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	orw	(%rax), %cx
	movq	_BD_ENET_TX_TC@GOTPCREL(%rip), %rax
	orw	(%rax), %cx
	movzwl	%cx, %edi
	callq	_cpu_to_fec16
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_fec_enet_get_nextdesc
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_skb_tx_timestamp
	xorl	%eax, %eax
	callq	_wmb
	movq	%r15, 8(%r13)
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	_writel
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NOT enough BD for SG!\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_BD_ENET_TX_STATS,2,1           ## @BD_ENET_TX_STATS
	.comm	_FEC_QUIRK_SWAP_FRAME,4,2       ## @FEC_QUIRK_SWAP_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"Tx DMA memory map failed\n"

	.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	_SKBTX_IN_PROGRESS,4,2          ## @SKBTX_IN_PROGRESS
	.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	_BD_ENET_TX_READY,2,1           ## @BD_ENET_TX_READY
	.comm	_BD_ENET_TX_TC,2,1              ## @BD_ENET_TX_TC
	.no_dead_strip	_fec_enet_txq_submit_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_skb
_fec_enet_txq_submit_skb:               ; @fec_enet_txq_submit_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w27, [x0]
	mov	x0, x20
	bl	_fec_enet_get_free_txdesc_num
Lloh0:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x24
	bl	_fec_enet_clear_csum
	cbz	x0, LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	bl	_net_ratelimit
	cbz	x0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x24
	bl	_netdev_err
LBB0_6:
Lloh5:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	ldr	x21, [x20, #8]
	ldr	x0, [x21]
	bl	_fec16_to_cpu
	mov	x26, x0
Lloh8:
	adrp	x8, _BD_ENET_TX_STATS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BD_ENET_TX_STATS@GOTPAGEOFF]
	ldrh	w28, [x8]
	ldr	x25, [x19, #8]
	mov	x0, x19
	bl	_skb_headlen
	mov	x23, x0
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	x1, x20
	bl	_fec_enet_get_bd_index
	ldr	x8, [x22]
Lloh10:
	adrp	x21, _FEC_QUIRK_SWAP_FRAME@GOTPAGE
Lloh11:
	ldr	x21, [x21, _FEC_QUIRK_SWAP_FRAME@GOTPAGEOFF]
	tst	x8, x25
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x22, #8]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_10:
	ldr	x8, [x20, #32]
	mov	w9, w0
	lsl	x25, x9, #3
	ldr	x0, [x8, x25]
	ldr	x1, [x19, #8]
	mov	x2, x23
	bl	_memcpy
	ldr	x8, [x20, #32]
	ldr	x25, [x8, x25]
	ldr	w8, [x22, #8]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x25
	mov	x1, x23
	bl	_swap_buffer
LBB0_12:
	ldr	x0, [x22, #32]
Lloh12:
	adrp	x21, _DMA_TO_DEVICE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x1, x25
	mov	x2, x23
	bl	_dma_map_single
	mov	x25, x0
	ldr	x0, [x22, #32]
	mov	x1, x25
	bl	_dma_mapping_error
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	bl	_net_ratelimit
	cbz	x0, LBB0_6
; %bb.14:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_15:
	bic	w26, w26, w28
	cbz	w27, LBB0_18
; %bb.16:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_fec_enet_txq_submit_frag_skb
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.17:
	ldr	x0, [x22, #32]
	ldr	w3, [x21]
	mov	x1, x25
	mov	x2, x23
	bl	_dma_unmap_single
	b	LBB0_2
LBB0_18:
Lloh16:
	adrp	x8, _BD_ENET_TX_INTR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BD_ENET_TX_INTR@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh18:
	adrp	x9, _BD_ENET_TX_LAST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BD_ENET_TX_LAST@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w8, w26
	orr	w26, w8, w9
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_22
; %bb.19:
Lloh20:
	adrp	x8, _BD_ENET_TX_INT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BD_ENET_TX_INT@GOTPAGEOFF]
Lloh22:
	ldr	w27, [x8]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
Lloh23:
	adrp	x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.20:
	ldr	x8, [x22, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_24
LBB0_21:
	mov	w27, #0
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_27
LBB0_22:
	mov	w27, #0
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_26
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	bl	_unlikely
	cbz	x0, LBB0_26
; %bb.25:
Lloh26:
	adrp	x8, _BD_ENET_TX_TS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BD_ENET_TX_TS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w27, w8, w27
LBB0_26:
	mov	x24, x28
LBB0_27:
	mov	x0, x25
	bl	_cpu_to_fec32
	str	x0, [x28, #16]
	mov	x0, x23
	bl	_cpu_to_fec16
	str	x0, [x28, #8]
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_36
; %bb.28:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
Lloh29:
	adrp	x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.29:
	ldr	x8, [x22, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_31
LBB0_30:
	mov	w0, #0
LBB0_31:
	bl	_unlikely
	cbz	x0, LBB0_33
; %bb.32:
Lloh32:
	adrp	x8, _SKBTX_IN_PROGRESS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SKBTX_IN_PROGRESS@GOTPAGEOFF]
Lloh34:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0, #4]
	orr	w8, w8, w21
	str	w8, [x0, #4]
LBB0_33:
	ldr	w8, [x22, #8]
Lloh35:
	adrp	x9, _FEC_QUIRK_HAS_AVB@GOTPAGE
Lloh36:
	ldr	x9, [x9, _FEC_QUIRK_HAS_AVB@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.34:
	ldr	w0, [x20, #16]
	bl	_FEC_TX_BD_FTYPE
	orr	w27, w0, w27
LBB0_35:
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
Lloh41:
	adrp	x10, _BD_ENET_TX_PINS@GOTPAGE
Lloh42:
	ldr	x10, [x10, _BD_ENET_TX_PINS@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
Lloh44:
	adrp	x11, _BD_ENET_TX_IINS@GOTPAGE
Lloh45:
	ldr	x11, [x11, _BD_ENET_TX_IINS@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	x8, x9
	csel	w8, w10, wzr, eq
	orr	w0, w8, w27
	str	xzr, [x28, #8]
	bl	_cpu_to_fec32
	str	x0, [x28]
LBB0_36:
	mov	x0, x24
	mov	x1, x20
	bl	_fec_enet_get_bd_index
	ldr	x8, [x20, #24]
	str	x19, [x8, w0, uxtw #3]
	bl	_wmb
Lloh47:
	adrp	x8, _BD_ENET_TX_READY@GOTPAGE
Lloh48:
	ldr	x8, [x8, _BD_ENET_TX_READY@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh49:
	adrp	x9, _BD_ENET_TX_TC@GOTPAGE
Lloh50:
	ldr	x9, [x9, _BD_ENET_TX_TC@GOTPAGEOFF]
	ldrh	w9, [x9]
	and	w10, w26, #0xffff
	orr	w8, w8, w10
	orr	w0, w8, w9
	bl	_cpu_to_fec16
	str	x0, [x28]
	mov	x0, x24
	mov	x1, x20
	bl	_fec_enet_get_nextdesc
	mov	x21, x0
	mov	x0, x19
	bl	_skb_tx_timestamp
	bl	_wmb
	str	x21, [x20, #8]
	ldr	w1, [x20]
	mov	w0, #0
	bl	_writel
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NOT enough BD for SG!\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_BD_ENET_TX_STATS,2,1           ; @BD_ENET_TX_STATS
	.comm	_FEC_QUIRK_SWAP_FRAME,4,2       ; @FEC_QUIRK_SWAP_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"Tx DMA memory map failed\n"

	.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	_SKBTX_IN_PROGRESS,4,2          ; @SKBTX_IN_PROGRESS
	.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	_BD_ENET_TX_READY,2,1           ; @BD_ENET_TX_READY
	.comm	_BD_ENET_TX_TC,2,1              ; @BD_ENET_TX_TC
	.no_dead_strip	_fec_enet_txq_submit_skb
.subsections_via_symbols
