	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function desc_list_free
_desc_list_free:                        ## @desc_list_free
	.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	_tx_desc@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	_CONFIG_BFIN_TX_DESC_NUM@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.2:
	movq	_tx_list_head@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_dev_kfree_skb
	movq	$0, 8(%r12)
	movl	(%r15), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %r12
	jmp	LBB0_8
LBB0_9:
	movq	(%r14), %rsi
LBB0_10:
	xorl	%edi, %edi
	callq	_bfin_mac_free
LBB0_11:
	movq	_rx_desc@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.12:
	movq	_CONFIG_BFIN_RX_DESC_NUM@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.13:
	movq	_rx_list_head@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%r12d, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jge	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_dev_kfree_skb
	movq	$0, 8(%r12)
	movl	(%r15), %eax
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %r12
	jmp	LBB0_19
LBB0_22:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	(%r14), %rsi
LBB0_21:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfin_mac_free                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_desc,8,3                    ## @tx_desc
	.comm	_tx_list_head,8,3               ## @tx_list_head
	.comm	_CONFIG_BFIN_TX_DESC_NUM,4,2    ## @CONFIG_BFIN_TX_DESC_NUM
	.comm	_rx_desc,8,3                    ## @rx_desc
	.comm	_rx_list_head,8,3               ## @rx_list_head
	.comm	_CONFIG_BFIN_RX_DESC_NUM,4,2    ## @CONFIG_BFIN_RX_DESC_NUM
	.no_dead_strip	_desc_list_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function desc_list_free
_desc_list_free:                        ; @desc_list_free
	.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
Lloh0:
	adrp	x19, _tx_desc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tx_desc@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_10
; %bb.1:
Lloh2:
	adrp	x20, _CONFIG_BFIN_TX_DESC_NUM@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CONFIG_BFIN_TX_DESC_NUM@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w21, #0
Lloh4:
	adrp	x9, _tx_list_head@GOTPAGE
Lloh5:
	ldr	x9, [x9, _tx_list_head@GOTPAGEOFF]
Lloh6:
	ldr	x22, [x9]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x22]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x22, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_dev_kfree_skb
	str	xzr, [x22, #8]
	ldr	w8, [x20]
	b	LBB0_3
LBB0_8:
	ldr	x1, [x19]
LBB0_9:
	mov	w0, #0
	bl	_bfin_mac_free
LBB0_10:
Lloh7:
	adrp	x19, _rx_desc@GOTPAGE
Lloh8:
	ldr	x19, [x19, _rx_desc@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_18
; %bb.11:
Lloh9:
	adrp	x20, _CONFIG_BFIN_RX_DESC_NUM@GOTPAGE
Lloh10:
	ldr	x20, [x20, _CONFIG_BFIN_RX_DESC_NUM@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.12:
	mov	w21, #0
Lloh11:
	adrp	x9, _rx_list_head@GOTPAGE
Lloh12:
	ldr	x9, [x9, _rx_list_head@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x9]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x22, [x22]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cbz	x22, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_dev_kfree_skb
	str	xzr, [x22, #8]
	ldr	w8, [x20]
	b	LBB0_13
LBB0_18:
	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
LBB0_19:
	ldr	x1, [x19]
LBB0_20:
	mov	w0, #0
	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	_bfin_mac_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_desc,8,3                    ; @tx_desc
	.comm	_tx_list_head,8,3               ; @tx_list_head
	.comm	_CONFIG_BFIN_TX_DESC_NUM,4,2    ; @CONFIG_BFIN_TX_DESC_NUM
	.comm	_rx_desc,8,3                    ; @rx_desc
	.comm	_rx_list_head,8,3               ; @rx_list_head
	.comm	_CONFIG_BFIN_RX_DESC_NUM,4,2    ; @CONFIG_BFIN_RX_DESC_NUM
	.no_dead_strip	_desc_list_free
.subsections_via_symbols
