	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nixge_start_xmit_done
_nixge_start_xmit_done:                 ## @nixge_start_xmit_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rax), %rsi
	movq	16(%rax), %rax
	movl	(%rax,%rsi,4), %r14d
	movq	_XAXIDMA_BD_STS_COMPLETE_MASK@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rsi,4), %r12
	shlq	$2, %rsi
	addq	8(%r15), %rsi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	divq	%rcx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %r13
	incq	%rbx
	movq	%rdx, (%r15)
	movq	16(%r15), %rax
	leaq	(,%rdx,4), %rsi
	addq	8(%r15), %rsi
	leaq	(%rax,%rdx,4), %r12
	movl	(%rax,%rdx,4), %r14d
	movq	_XAXIDMA_BD_STS_COMPLETE_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_nixge_tx_skb_unmap
	movl	$0, (%r12)
	movq	(%r15), %rax
	incq	%rax
	movq	_XAXIDMA_BD_STS_ACTUAL_LEN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r14d
	movq	%rax, (%r15)
	movq	_TX_BD_NUM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_6
LBB0_7:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
LBB0_8:
	addl	%ebx, 4(%r12)
	addl	%r13d, (%r12)
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XAXIDMA_BD_STS_COMPLETE_MASK,4,2 ## @XAXIDMA_BD_STS_COMPLETE_MASK
	.comm	_XAXIDMA_BD_STS_ACTUAL_LEN_MASK,4,2 ## @XAXIDMA_BD_STS_ACTUAL_LEN_MASK
	.comm	_TX_BD_NUM,8,3                  ## @TX_BD_NUM
	.no_dead_strip	_nixge_start_xmit_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nixge_start_xmit_done
_nixge_start_xmit_done:                 ; @nixge_start_xmit_done
	.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	x19, x0
	bl	_netdev_priv
	ldr	x9, [x0, #16]
	ldr	x8, [x0]
	add	x27, x9, x8, lsl #2
	ldr	w26, [x27]
Lloh0:
	adrp	x23, _XAXIDMA_BD_STS_COMPLETE_MASK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _XAXIDMA_BD_STS_COMPLETE_MASK@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w26
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x22, #0
	mov	x21, #0
	ldr	x9, [x0, #8]
	add	x1, x9, x8, lsl #2
Lloh2:
	adrp	x24, _XAXIDMA_BD_STS_ACTUAL_LEN_MASK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _XAXIDMA_BD_STS_ACTUAL_LEN_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TX_BD_NUM@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TX_BD_NUM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_nixge_tx_skb_unmap
	str	wzr, [x27]
	ldr	w8, [x24]
	mov	w9, w26
	and	x8, x8, x9
	add	x22, x22, x8
	add	x21, x21, #1
	ldp	x8, x9, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	ldr	x10, [x25]
	udiv	x11, x8, x10
	msub	x8, x11, x10, x8
	str	x8, [x20]
	ldr	x10, [x20, #16]
	lsl	x8, x8, #2
	add	x1, x9, x8
	add	x27, x10, x8
	ldr	w26, [x27]
	ldr	w8, [x23]
	tst	w8, w26
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x21, #0
	mov	w22, #0
LBB0_4:
	ldp	w9, w8, [x19]
	add	w8, w8, w21
	add	w9, w9, w22
	stp	w9, w8, [x19]
	cbz	x21, LBB0_6
; %bb.5:
	mov	x0, x19
	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
	b	_netif_wake_queue
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_XAXIDMA_BD_STS_COMPLETE_MASK,4,2 ; @XAXIDMA_BD_STS_COMPLETE_MASK
	.comm	_XAXIDMA_BD_STS_ACTUAL_LEN_MASK,4,2 ; @XAXIDMA_BD_STS_ACTUAL_LEN_MASK
	.comm	_TX_BD_NUM,8,3                  ; @TX_BD_NUM
	.no_dead_strip	_nixge_start_xmit_done
.subsections_via_symbols
