	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_start_xmit
_niu_start_xmit:                        ## @niu_start_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_skb_get_queue_mapping
	movq	16(%r15), %rcx
	movslq	%eax, %rsi
	imulq	$56, %rsi, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax), %r13
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_netdev_get_tx_queue
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_niu_tx_avail
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	incq	%rax
	cmpq	%rax, %rbx
	jle	LBB0_5
## %bb.1:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_eth_skb_pad
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_skb_headroom
	cmpl	$30, %eax
	ja	LBB0_7
## %bb.3:
	movq	%r14, %r15
	movq	%r12, %rdi
	movl	$31, %esi
	callq	_skb_realloc_headroom
	testq	%rax, %rax
	je	LBB0_30
## %bb.4:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_kfree_skb
	movq	%r14, %r12
	jmp	LBB0_8
LBB0_5:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_tx_stop_queue
	movl	(%r15), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	28(%rax,%rcx)
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	callq	_skb_orphan
LBB0_8:
	movq	8(%r12), %r14
	movl	%r14d, %ebx
	andl	$15, %ebx
	leaq	16(%rbx), %rsi
	movq	%r12, %rdi
	callq	_skb_push
	movq	%rax, %r15
	movl	(%r12), %ecx
	addl	$-16, %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_niu_compute_tx_flags
	movl	%eax, %edi
	callq	_cpu_to_le64
	movl	%eax, 8(%r15)
	movq	$0, (%r15)
	movq	%r12, %rdi
	callq	_skb_headlen
	movl	%eax, %r14d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movl	(%rcx), %edi
	movq	8(%r12), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edx
	callq	*(%rax)
	movslq	(%r13), %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	40(%rdx,%rsi), %rdi
	movq	%r8, %rcx
	shlq	$4, %rcx
	movq	%r12, 8(%rdi,%rcx)
	movl	%eax, %r15d
	movl	%eax, (%rdi,%rcx)
	movq	_TX_DESC_SOP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%rdx,%rsi), %rax
	incq	%rax
	movq	%rax, 8(%rdx,%rsi)
	cmpq	16(%rdx,%rsi), %rax
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jne	LBB0_10
## %bb.9:
	leaq	(%rdx,%rsi), %rax
	addq	$8, %rax
	movq	$0, (%rax)
	movq	_TX_DESC_MARK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	incl	48(%rdx,%rsi)
LBB0_10:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r9d
	testl	%r14d, %r14d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_17
## %bb.11:
	movq	_MAX_TX_DESC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %ecx
	movl	%r15d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	subl	%eax, %ecx
	incl	%r9d
	testl	%ecx, %ecx
	jg	LBB0_12
## %bb.13:
	testl	%r14d, %r14d
	je	LBB0_18
LBB0_14:
	movq	_MAX_TX_DESC_LEN@GOTPCREL(%rip), %rax
	movl	%ebx, %r8d
	movl	(%rax), %r15d
	cmpl	%r15d, %r14d
	cmovbl	%r14d, %r15d
	movq	%r13, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_niu_set_txd
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_NEXT_TX
                                        ## kill: def $eax killed $eax def $rax
	subl	%r15d, %r14d
	je	LBB0_19
## %bb.15:
	addl	%r12d, %r15d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	_MAX_TX_DESC_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %r14d
	cmovbl	%r14d, %ebx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r12
	xorl	%r9d, %r9d
	callq	_niu_set_txd
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_NEXT_TX
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %r15d
	subl	%ebx, %r14d
	jne	LBB0_16
	jmp	LBB0_19
LBB0_17:
	movl	%r15d, %r12d
	testl	%r14d, %r14d
	jne	LBB0_14
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_19:
	movq	%rax, %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_22
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$40, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%r15, %rbx
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %rbx
	addq	%r12, %rbx
	movq	%rbx, %rdi
	callq	_skb_frag_size
	movl	%eax, %r15d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	8(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_frag_page
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_skb_frag_off
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	*-120(%rbp)                     ## 8-byte Folded Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	movslq	-64(%rbp), %rbx                 ## 4-byte Folded Reload
	movq	%rbx, %rdx
	shlq	$4, %rdx
	movq	$0, 8(%rcx,%rdx)
	movl	%eax, (%rcx,%rdx)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_niu_set_txd
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_NEXT_TX
	movl	%eax, %ebx
	incq	%r14
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movslq	(%rax), %rax
	addq	$4, %r12
	cmpq	%rax, %r14
	jl	LBB0_21
	jmp	LBB0_23
LBB0_22:
	movq	%r15, %rbx
LBB0_23:
	cmpl	(%r13), %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_25
## %bb.24:
	movq	_TX_RING_KICK_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 24(%r14,%r15)
LBB0_25:
	movl	%ebx, (%r13)
	movl	32(%r14,%r15), %edi
	callq	_TX_RING_KICK
	shll	$3, %ebx
	orl	24(%r14,%r15), %ebx
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_nw64
	movq	%r13, %rdi
	callq	_niu_tx_avail
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incq	%rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_29
## %bb.26:
	movq	%rbx, %rdi
	callq	_netif_tx_stop_queue
	movq	%r13, %rdi
	callq	_niu_tx_avail
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_NIU_TX_WAKEUP_THRESH
	cmpq	%rax, %r14
	jle	LBB0_29
## %bb.27:
	movq	%rbx, %rdi
	callq	_netif_tx_wake_queue
LBB0_29:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	28(%r15,%rax)
	movq	%r12, %rdi
	callq	_kfree_skb
LBB0_6:
	movl	(%rbx), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: BUG! Tx ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_TX_DESC_SOP,4,2                ## @TX_DESC_SOP
	.comm	_TX_DESC_MARK,4,2               ## @TX_DESC_MARK
	.comm	_MAX_TX_DESC_LEN,4,2            ## @MAX_TX_DESC_LEN
	.comm	_TX_RING_KICK_WRAP,4,2          ## @TX_RING_KICK_WRAP
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_niu_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_start_xmit
_niu_start_xmit:                        ; @niu_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x28, x0
	mov	x0, x21
	bl	_skb_get_queue_mapping
	mov	x1, x0
	ldr	x22, [x28, #16]
	sxtw	x27, w1
	mov	w8, #56
	smaddl	x20, w0, w8, x22
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_netdev_get_tx_queue
	mov	x19, x0
	mov	x0, x20
	bl	_niu_tx_avail
	mov	x24, x0
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x8, x8, #1
	cmp	x24, x8
	b.le	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_eth_skb_pad
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_netif_tx_stop_queue
	ldr	w0, [x28]
	ldr	w2, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w8, #56
	madd	x8, x27, x8, x22
	ldr	w9, [x8, #28]
	add	w9, w9, #1
	str	w9, [x8, #28]
Lloh4:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	mov	x0, x21
	bl	_skb_headroom
	cmp	w0, #30
	b.hi	LBB0_8
; %bb.6:
	mov	x0, x21
	mov	w1, #31
	bl	_skb_realloc_headroom
	cbz	x0, LBB0_26
; %bb.7:
	mov	x23, x0
	mov	x0, x21
	bl	_kfree_skb
	mov	x21, x23
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_skb_orphan
LBB0_9:
	ldr	x23, [x21, #8]
	and	x24, x23, #0xf
	mov	w1, #16
	bfxil	x1, x23, #0, #4
	mov	x0, x21
	bl	_skb_push
	mov	x25, x0
	ldr	w8, [x21]
	sub	w3, w8, #16
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_niu_compute_tx_flags
	bl	_cpu_to_le64
	str	w0, [x25, #8]
	str	xzr, [x25]
	mov	x0, x21
	bl	_skb_headlen
	mov	x24, x0
	ldr	x8, [x28, #8]
	ldr	x8, [x8]
	ldr	w0, [x28]
	ldr	x1, [x21, #8]
Lloh6:
	adrp	x9, _DMA_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	mov	x2, x24
	blr	x8
	ldrsw	x23, [x20]
	mov	w8, #56
	madd	x8, x27, x8, x22
	ldr	x9, [x8, #8]!
	mov	x11, x8
	ldr	x10, [x11, #32]!
	str	x11, [sp, #40]                  ; 8-byte Folded Spill
	add	x10, x10, x23, lsl #4
	str	x21, [x10, #8]
Lloh9:
	adrp	x11, _TX_DESC_SOP@GOTPAGE
Lloh10:
	ldr	x11, [x11, _TX_DESC_SOP@GOTPAGEOFF]
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	str	w0, [x10]
Lloh11:
	ldr	w25, [x11]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x10, [x8, #8]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.10:
	str	xzr, [x8]
Lloh12:
	adrp	x8, _TX_DESC_MARK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_DESC_MARK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w25, w8, w25
	mov	w8, #56
	madd	x8, x27, x8, x22
	ldr	w9, [x8, #48]
	add	w9, w9, #1
	str	w9, [x8, #48]
LBB0_11:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w5, [x0]
Lloh15:
	adrp	x26, _MAX_TX_DESC_LEN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _MAX_TX_DESC_LEN@GOTPAGEOFF]
	cmp	w24, #1
	b.lt	LBB0_14
; %bb.12:
	ldr	w8, [x26]
	mov	x9, x24
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, w8
	add	w5, w5, #1
	cmp	w9, #0
	b.gt	LBB0_13
LBB0_14:
	stp	x19, x27, [sp]                  ; 16-byte Folded Spill
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	cbz	w24, LBB0_18
; %bb.15:
	ldr	w8, [x26]
	cmp	w24, w8
	csel	w27, w24, w8, lo
	mov	x0, x20
	mov	x1, x23
	ldr	w22, [sp, #32]                  ; 4-byte Folded Reload
	mov	x2, x22
	mov	x3, x27
	mov	x4, x25
	bl	_niu_set_txd
	mov	x0, x20
	mov	x1, x23
	bl	_NEXT_TX
	mov	x23, x0
	subs	w19, w24, w27
	b.eq	LBB0_18
; %bb.16:
	add	w24, w27, w22
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	cmp	w19, w8
	csel	w25, w19, w8, lo
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	w4, #0
	mov	w5, #0
	bl	_niu_set_txd
	mov	x0, x20
	mov	x1, x23
	bl	_NEXT_TX
	mov	x23, x0
	add	w24, w25, w24
	subs	w19, w19, w25
	b.ne	LBB0_17
LBB0_18:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.19:
	stp	x28, x21, [sp, #24]             ; 16-byte Folded Spill
	mov	x28, #0
	mov	x19, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x28
	mov	x0, x24
	bl	_skb_frag_size
	mov	x25, x0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x9, #8]
	ldr	x22, [x8, #8]
	ldr	w26, [x9]
	mov	x0, x24
	bl	_skb_frag_page
	mov	x27, x0
	mov	x0, x24
	bl	_skb_frag_off
	mov	x2, x0
Lloh17:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	x0, x26
	mov	x1, x27
	mov	x3, x25
	blr	x22
	mov	x2, x0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x8, x8, w23, sxtw #4
	str	xzr, [x8, #8]
	str	w0, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x3, x25
	mov	w4, #0
	mov	w5, #0
	bl	_niu_set_txd
	mov	x0, x20
	mov	x1, x23
	bl	_NEXT_TX
	mov	x23, x0
	add	x19, x19, #1
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x28, x28, #4
	cmp	x19, x8
	b.lt	LBB0_20
LBB0_21:
	ldr	w8, [x20]
	cmp	w23, w8
	ldp	x12, x11, [sp, #8]              ; 16-byte Folded Reload
	b.ge	LBB0_23
; %bb.22:
Lloh20:
	adrp	x8, _TX_RING_KICK_WRAP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TX_RING_KICK_WRAP@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #56
	madd	x9, x12, x9, x11
	ldr	w10, [x9, #24]
	eor	w8, w10, w8
	str	w8, [x9, #24]
LBB0_23:
	str	w23, [x20]
	mov	w8, #56
	madd	x19, x12, x8, x11
	ldr	w0, [x19, #32]
	bl	_TX_RING_KICK
	ldr	w8, [x19, #24]
	orr	w1, w8, w23, lsl #3
	bl	_nw64
	mov	x0, x20
	bl	_niu_tx_avail
Lloh23:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	x8, x8, #1
	cmp	x0, x8
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.24:
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	mov	x0, x19
	bl	_netif_tx_stop_queue
	mov	x0, x20
	bl	_niu_tx_avail
	mov	x21, x0
	mov	x0, x20
	bl	_NIU_TX_WAKEUP_THRESH
	cmp	x21, x0
	b.le	LBB0_2
; %bb.25:
	mov	x0, x19
	bl	_netif_tx_wake_queue
	b	LBB0_2
LBB0_26:
	mov	w8, #56
	madd	x8, x27, x8, x22
	ldr	w9, [x8, #28]
	add	w9, w9, #1
	str	w9, [x8, #28]
	mov	x0, x21
	bl	_kfree_skb
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: BUG! Tx ring full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_TX_DESC_SOP,4,2                ; @TX_DESC_SOP
	.comm	_TX_DESC_MARK,4,2               ; @TX_DESC_MARK
	.comm	_MAX_TX_DESC_LEN,4,2            ; @MAX_TX_DESC_LEN
	.comm	_TX_RING_KICK_WRAP,4,2          ; @TX_RING_KICK_WRAP
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_niu_start_xmit
.subsections_via_symbols
