	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_all_descbuffers
_free_all_descbuffers:                  ## @free_all_descbuffers
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 24(%rdi)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_11
## %bb.2:
	leaq	4(%r14), %r12
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	sete	%dil
	callq	_B43_WARN_ON
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	*(%rax)
	movq	-40(%rbp), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_b43_dma_ptr_is_poisoned
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%r14)
	movq	-40(%rbp), %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rdx
	movl	$1, %ecx
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	movq	%r12, %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %esi
	movl	(%rdx), %edx
	movq	%r14, %rdi
	callq	_unmap_descbuffer
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_free_descriptor_buffer
	jmp	LBB0_10
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_all_descbuffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_all_descbuffers
_free_all_descbuffers:                  ; @free_all_descbuffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	w20, #0
	add	x21, x19, #4
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_B43_WARN_ON
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_b43_dma_ptr_is_poisoned
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	x8, [sp, #8]
	cbz	x9, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x8, #8]
	mov	w3, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #0
	mov	x9, x21
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x8]
	ldr	w2, [x9]
	mov	x0, x19
	bl	_unmap_descbuffer
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_free_descriptor_buffer
	b	LBB0_4
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_all_descbuffers
.subsections_via_symbols
