	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_clean_tx
_fe_clean_tx:                           ## @fe_clean_tx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	32(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	cmpl	$0, 8(%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r12, %rsi
	movq	%r14, %rdi
	callq	_fe_txd_unmap
	incq	%rbx
	movslq	8(%r15), %rax
	movq	32(%r15), %rsi
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	%rsi, %rdi
	callq	_kfree
	movq	$0, 32(%r15)
LBB0_5:
	movq	16(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movl	8(%r15), %esi
	movl	24(%r15), %ecx
	shll	$2, %esi
	movq	%r14, %rdi
	callq	_dma_free_coherent
	movq	$0, 16(%r15)
LBB0_7:
	movq	(%r15), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_reset_queue             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fe_clean_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_clean_tx
_fe_clean_tx:                           ; @fe_clean_tx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x0, [x0, #32]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x0, x21
	mov	x0, x20
	bl	_fe_txd_unmap
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	ldr	x0, [x19, #32]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	bl	_kfree
	str	xzr, [x19, #32]
LBB0_5:
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_7
; %bb.6:
	ldr	w8, [x19, #8]
	lsl	w1, w8, #2
	ldr	w3, [x19, #24]
	mov	x0, x20
	bl	_dma_free_coherent
	str	xzr, [x19, #16]
LBB0_7:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netdev_reset_queue
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fe_clean_tx
.subsections_via_symbols
