	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_tx_desc                   ## -- Begin function free_tx_desc
	.p2align	4, 0x90
_free_tx_desc:                          ## @free_tx_desc
	.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	%rsi, %r15
	movl	(%rsi), %r12d
	testl	%edx, %edx
	je	LBB0_10
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	shlq	$4, %rbx
	addq	8(%r15), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rbx
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_unmap_sgl
	movq	(%rbx), %rsi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rdi
	callq	_dev_consume_skb_any
	movq	$0, (%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	incl	%r12d
	cmpl	4(%r15), %r12d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	testl	%r13d, %r13d
	jne	LBB0_2
LBB0_10:
	movl	%r12d, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_tx_desc                   ; -- Begin function free_tx_desc
	.p2align	2
_free_tx_desc:                          ; @free_tx_desc
	.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, x1
	ldr	w23, [x1]
	cbz	w2, LBB0_9
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	ldr	x22, [x0]
	ldr	x8, [x19, #8]
	add	x24, x8, x23, lsl #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
	ldr	x24, [x19, #8]
	cbz	w21, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24]
	cbz	x1, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w20, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x24, #8]
	mov	x0, x22
	mov	x3, x19
	bl	_unmap_sgl
	ldr	x1, [x24]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x1
	bl	_dev_consume_skb_any
	str	xzr, [x24]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w21, #1
	add	w23, w23, #1
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #16
	cbnz	w21, LBB0_3
LBB0_9:
	str	w23, [x19]
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
