	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_tx_desc
_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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r12d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_need_skb_unmap
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	_FW_TUNNEL_SGEEC_START@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setge	%r13b
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.3:
	movq	%r12, %rbx
	shlq	$4, %rbx
	addq	24(%r14), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r14), %rbx
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	%r13b, %r13b
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rsi
	movl	%r12d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_unmap_skb
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	callq	_kfree_skb
	movq	$0, (%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	decl	%r15d
	incl	%r12d
	cmpl	16(%r14), %r12d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rbx
	testl	%r15d, %r15d
	jne	LBB0_4
LBB0_13:
	movl	%r12d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_TUNNEL_SGEEC_START,8,3      ## @FW_TUNNEL_SGEEC_START
	.no_dead_strip	_free_tx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_tx_desc
_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	x21, x2
	mov	x19, x1
	ldr	x22, [x0]
	ldr	w20, [x1]
	bl	_need_skb_unmap
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _FW_TUNNEL_SGEEC_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FW_TUNNEL_SGEEC_START@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w23, ge
	cbnz	w21, LBB0_3
	b	LBB0_12
LBB0_2:
	mov	w23, #0
	cbz	w21, LBB0_12
LBB0_3:
	ldr	x8, [x19, #24]
	add	x24, x8, x20, lsl #4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w20, #0
	ldr	x24, [x19, #24]
	cbz	w21, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w23, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_unmap_skb
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x24]
	bl	_kfree_skb
	str	xzr, [x24]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w21, w21, #1
	add	w20, w20, #1
	ldr	w8, [x19, #16]
	cmp	w20, w8
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #16
	cbnz	w21, LBB0_5
LBB0_12:
	str	w20, [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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_TUNNEL_SGEEC_START,8,3      ; @FW_TUNNEL_SGEEC_START
	.no_dead_strip	_free_tx_desc
.subsections_via_symbols
