	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_tx_dma_complete
_fst_tx_dma_complete:                   ## @fst_tx_dma_complete
	.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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_port_to_dev
	movq	%rax, %rbx
	movq	_DBG_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dbg
	movq	_txDescrRing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_DMA_OWN@GOTPCREL(%rip), %rcx
	movq	_TX_STP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	_TX_ENP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_FST_WRB
	incl	4(%rbx)
	addl	%r14d, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_trans_update             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_TX,4,2                     ## @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fst_tx_dma_complete\n"

	.comm	_txDescrRing,8,3                ## @txDescrRing
	.comm	_DMA_OWN,4,2                    ## @DMA_OWN
	.comm	_TX_STP,4,2                     ## @TX_STP
	.comm	_TX_ENP,4,2                     ## @TX_ENP
	.no_dead_strip	_fst_tx_dma_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_tx_dma_complete
_fst_tx_dma_complete:                   ; @fst_tx_dma_complete
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_port_to_dev
	mov	x23, x0
Lloh0:
	adrp	x8, _DBG_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_TX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg
Lloh5:
	adrp	x8, _txDescrRing@GOTPAGE
Lloh6:
	ldr	x8, [x8, _txDescrRing@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8, w19, sxtw #2]
Lloh8:
	adrp	x8, _DMA_OWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_OWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TX_STP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TX_STP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _TX_ENP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TX_ENP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x22
	bl	_FST_WRB
	ldr	d0, [x23]
	movi.2s	v1, #1
	mov.s	v1[0], w20
	add.2s	v0, v0, v1
	str	d0, [x23]
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_netif_trans_update
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_TX,4,2                     ; @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fst_tx_dma_complete\n"

	.comm	_txDescrRing,8,3                ; @txDescrRing
	.comm	_DMA_OWN,4,2                    ; @DMA_OWN
	.comm	_TX_STP,4,2                     ; @TX_STP
	.comm	_TX_ENP,4,2                     ; @TX_ENP
	.no_dead_strip	_fst_tx_dma_complete
.subsections_via_symbols
