	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgmac_xmit
_xgmac_xmit:                            ## @xgmac_xmit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r15), %eax
	movl	4(%r15), %esi
	incl	%eax
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	decl	%edx
	xorl	%edi, %edi
	movl	$0, %ecx
	andl	%eax, %edx
	movl	%edx, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	_TXDESC_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_TXDESC_CSUM_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_4:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	leaq	(,%rsi,4), %r14
	addq	24(%r15), %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_headlen
	movl	%eax, %r13d
	movl	8(%r15), %edi
	movl	8(%r12), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %edx
	callq	_dma_map_single
	movl	%eax, %ebx
	movl	8(%r15), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
LBB0_23:
	callq	_dev_kfree_skb_any
LBB0_24:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, (%rax,%rcx,8)
	movq	%rcx, %r12
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_desc_set_buf_addr_and_size
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	decl	%eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$1, %eax
	xorl	%r14d, %r14d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpq	-104(%rbp), %r14                ## 8-byte Folded Reload
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_skb_shinfo
	leaq	(,%r14,4), %rbx
	addq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movl	%eax, %r13d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_skb_frag_dma_map
	movl	%eax, %r15d
	movl	8(%r12), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_dma_ring_incr
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	leaq	(,%rax,4), %rdx
	addq	24(%r12), %rdx
	movq	16(%r12), %rcx
	movq	%rdx, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
	movq	%rdx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_desc_set_buf_addr_and_size
	cmpq	-112(%rbp), %r14                ## 8-byte Folded Reload
	movq	%rbx, %r15
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_desc_set_tx_owner
	jmp	LBB0_12
LBB0_7:
	movq	%r12, %rbx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %r13
	jmp	LBB0_15
LBB0_19:
	testl	%r14d, %r14d
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %rcx
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_22
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r14d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	movl	%r14d, %edi
	callq	_dma_ring_incr
	movq	%rax, %r14
	movl	%r14d, %eax
	leaq	(,%rax,4), %rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	24(%rdx), %rbx
	movq	16(%rdx), %rcx
	movq	$0, (%rcx,%rax,8)
	movl	8(%rdx), %r12d
	movq	%rbx, %rdi
	callq	_desc_get_buf_addr
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_desc_get_buf_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page
	movq	%rbx, %rdi
	callq	_desc_clear_tx_owner
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %rcx
	decl	%r15d
	cmpl	$1, %r15d
	jg	LBB0_21
LBB0_22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_desc_get_buf_addr
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_desc_get_buf_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_13:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r14, %r12
	je	LBB0_14
## %bb.25:
	movq	_TXDESC_LAST_SEG@GOTPCREL(%rip), %rax
	movq	%r12, %rdi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	orl	%r12d, %esi
	orl	(%rax), %esi
	callq	_desc_set_tx_owner
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_14:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_DMA_TX_RING_SZ@GOTPCREL(%rip), %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_15:
	movq	_TXDESC_LAST_SEG@GOTPCREL(%rip), %rax
	orl	%ecx, %r12d
	orl	(%rax), %r12d
LBB0_16:
	xorl	%eax, %eax
	callq	_wmb
	movq	_TXDESC_FIRST_SEG@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_desc_set_tx_owner
	movq	_XGMAC_DMA_TX_POLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	32(%r15), %rsi
	movl	$1, %edi
	callq	_writel
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_dma_ring_incr
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r15, %rdi
	callq	_tx_dma_ring_space
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_stop_queue
	xorl	%eax, %eax
	callq	_smp_mb
	movq	%r15, %rdi
	callq	_tx_dma_ring_space
	cmpq	(%rbx), %rax
	jle	LBB0_24
## %bb.18:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_start_queue
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TX_RING_SZ,4,2             ## @DMA_TX_RING_SZ
	.comm	_TXDESC_INTERRUPT,4,2           ## @TXDESC_INTERRUPT
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_TXDESC_CSUM_ALL,4,2            ## @TXDESC_CSUM_ALL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_TXDESC_LAST_SEG,4,2            ## @TXDESC_LAST_SEG
	.comm	_TXDESC_FIRST_SEG,4,2           ## @TXDESC_FIRST_SEG
	.comm	_XGMAC_DMA_TX_POLL,8,3          ## @XGMAC_DMA_TX_POLL
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.no_dead_strip	_xgmac_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgmac_xmit
_xgmac_xmit:                            ; @xgmac_xmit
	.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	x24, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w20, [x0]
	ldp	w8, w23, [x19]
	add	w8, w8, #1
Lloh0:
	adrp	x9, _DMA_TX_RING_SZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_TX_RING_SZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	sub	w9, w9, #1
	ands	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x8, _TXDESC_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXDESC_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	csel	w28, w8, wzr, eq
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh9:
	adrp	x8, _TXDESC_CSUM_ALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TXDESC_CSUM_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	csel	w27, w8, wzr, eq
	ldr	x22, [x19, #24]
	mov	x0, x21
	bl	_skb_headlen
	mov	x25, x0
	ldr	w0, [x19, #8]
	ldr	w1, [x21, #8]
Lloh12:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x2, x25
	bl	_dma_map_single
	mov	x26, x0
	ldr	w0, [x19, #8]
	mov	x1, x26
	bl	_dma_mapping_error
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, x21
	bl	_dev_kfree_skb_any
LBB0_2:
Lloh15:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	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_3:
	stp	w28, w27, [sp, #24]             ; 8-byte Folded Spill
	add	x22, x22, w23, uxtw #2
	ldr	x8, [x19, #16]
	str	x21, [x8, x23, lsl #3]
	mov	x0, x22
	mov	x1, x26
	mov	x2, x25
	bl	_desc_set_buf_addr_and_size
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.4:
	stp	x24, x22, [sp, #8]              ; 16-byte Folded Spill
	mov	x24, x23
	mov	x23, #0
	sub	w22, w20, #1
	mov	w28, #1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	add	w28, w28, #1
	cmp	x23, x20
	b.eq	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x26, x8, x23, lsl #2
	mov	x0, x26
	bl	_skb_frag_size
	mov	x25, x0
	ldr	w0, [x19, #8]
Lloh18:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	x1, x26
	mov	w2, #0
	mov	x3, x25
	bl	_skb_frag_dma_map
	mov	x27, x0
	ldr	w0, [x19, #8]
	mov	x1, x27
	bl	_dma_mapping_error
	cbnz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh21:
	adrp	x8, _DMA_TX_RING_SZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_TX_RING_SZ@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_dma_ring_incr
	mov	x24, x0
	ldp	x9, x8, [x19, #16]
	add	x26, x8, w24, uxtw #2
	str	x21, [x9, w24, uxtw #3]
	mov	x0, x26
	mov	x1, x27
	mov	x2, x25
	bl	_desc_set_buf_addr_and_size
	cmp	x23, x22
	b.hs	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_desc_set_tx_owner
	b	LBB0_5
LBB0_9:
	ldp	w9, w10, [sp, #24]              ; 8-byte Folded Reload
Lloh24:
	adrp	x27, _DMA_TX_RING_SZ@GOTPAGE
Lloh25:
	ldr	x27, [x27, _DMA_TX_RING_SZ@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
Lloh26:
	adrp	x22, _DMA_TX_RING_SZ@GOTPAGE
Lloh27:
	ldr	x22, [x22, _DMA_TX_RING_SZ@GOTPAGEOFF]
Lloh28:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh29:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	cbz	w23, LBB0_13
; %bb.11:
	ldr	w20, [x19, #4]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dma_ring_incr
	mov	x20, x0
	ldp	x9, x8, [x19, #16]
	add	x23, x8, w20, uxtw #2
	str	xzr, [x9, w20, uxtw #3]
	ldr	w24, [x19, #8]
	mov	x0, x23
	bl	_desc_get_buf_addr
	mov	x25, x0
	mov	x0, x23
	bl	_desc_get_buf_len
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x24
	mov	x1, x25
	bl	_dma_unmap_page
	mov	x0, x23
	bl	_desc_clear_tx_owner
	sub	w28, w28, #1
	cmp	w28, #1
	b.gt	LBB0_12
LBB0_13:
	ldr	w19, [x19, #8]
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x22
	bl	_desc_get_buf_addr
	mov	x20, x0
	mov	x0, x22
	bl	_desc_get_buf_len
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x20
	bl	_dma_unmap_single
	b	LBB0_1
LBB0_14:
	mov	x23, x24
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	cmp	x26, x22
	b.eq	LBB0_16
; %bb.15:
Lloh30:
	adrp	x8, _TXDESC_LAST_SEG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TXDESC_LAST_SEG@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldp	w9, w20, [sp, #24]              ; 8-byte Folded Reload
	orr	w9, w20, w9
	orr	w1, w9, w8
	mov	x0, x26
	bl	_desc_set_tx_owner
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
Lloh33:
	adrp	x27, _DMA_TX_RING_SZ@GOTPAGE
Lloh34:
	ldr	x27, [x27, _DMA_TX_RING_SZ@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
Lloh35:
	adrp	x27, _DMA_TX_RING_SZ@GOTPAGE
Lloh36:
	ldr	x27, [x27, _DMA_TX_RING_SZ@GOTPAGEOFF]
	ldp	w9, w10, [sp, #24]              ; 8-byte Folded Reload
LBB0_17:
Lloh37:
	adrp	x8, _TXDESC_LAST_SEG@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TXDESC_LAST_SEG@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w9, w10, w9
	orr	w20, w9, w8
LBB0_18:
	bl	_wmb
Lloh40:
	adrp	x8, _TXDESC_FIRST_SEG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TXDESC_FIRST_SEG@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	orr	w1, w8, w20
	mov	x0, x22
	bl	_desc_set_tx_owner
	ldr	x8, [x19, #32]
Lloh43:
	adrp	x9, _XGMAC_DMA_TX_POLL@GOTPAGE
Lloh44:
	ldr	x9, [x9, _XGMAC_DMA_TX_POLL@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_writel
	ldr	w1, [x27]
	mov	x0, x23
	bl	_dma_ring_incr
	str	w0, [x19, #4]
	bl	_smp_mb
	mov	x0, x19
	bl	_tx_dma_ring_space
Lloh46:
	adrp	x20, _MAX_SKB_FRAGS@GOTPAGE
Lloh47:
	ldr	x20, [x20, _MAX_SKB_FRAGS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.19:
	mov	x0, x24
	bl	_netif_stop_queue
	bl	_smp_mb
	mov	x0, x19
	bl	_tx_dma_ring_space
	ldr	x8, [x20]
	cmp	x0, x8
	b.le	LBB0_2
; %bb.20:
	mov	x0, x24
	bl	_netif_start_queue
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TX_RING_SZ,4,2             ; @DMA_TX_RING_SZ
	.comm	_TXDESC_INTERRUPT,4,2           ; @TXDESC_INTERRUPT
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_TXDESC_CSUM_ALL,4,2            ; @TXDESC_CSUM_ALL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_TXDESC_LAST_SEG,4,2            ; @TXDESC_LAST_SEG
	.comm	_TXDESC_FIRST_SEG,4,2           ; @TXDESC_FIRST_SEG
	.comm	_XGMAC_DMA_TX_POLL,8,3          ; @XGMAC_DMA_TX_POLL
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.no_dead_strip	_xgmac_xmit
.subsections_via_symbols
