	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_etop_free_channel
_ltq_etop_free_channel:                 ## @ltq_etop_free_channel
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_ltq_dma_free
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%r14, %rsi
	callq	_free_irq
LBB0_2:
	movl	24(%r15), %edi
	callq	_IS_RX
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_LTQ_DESC_NUM@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_dev_kfree_skb_any
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LTQ_DESC_NUM,4,2               ## @LTQ_DESC_NUM
	.no_dead_strip	_ltq_etop_free_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_etop_free_channel
_ltq_etop_free_channel:                 ; @ltq_etop_free_channel
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_ltq_dma_free
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x20
	bl	_free_irq
LBB0_2:
	ldr	w0, [x19, #24]
	bl	_IS_RX
Lloh0:
	adrp	x20, _LTQ_DESC_NUM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LTQ_DESC_NUM@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	bl	_dev_kfree_skb_any
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_4
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LTQ_DESC_NUM,4,2               ; @LTQ_DESC_NUM
	.no_dead_strip	_ltq_etop_free_channel
.subsections_via_symbols
