	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_dma_rx               ## -- Begin function b43legacy_dma_rx
	.p2align	4, 0x90
_b43legacy_dma_rx:                      ## @b43legacy_dma_rx
	.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
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_B43legacy_WARN_ON
	movq	%r15, %rdi
	callq	_op32_get_current_rxslot
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	4(%r15), %r14d
	setge	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_B43legacy_WARN_ON
	movl	8(%r15), %eax
	movl	%eax, -36(%rbp)
	cmpl	%r14d, %eax
	je	LBB0_6
## %bb.4:
	movl	$1, %ebx
	leaq	-36(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_dma_rx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_update_max_used_slots
	movl	-36(%rbp), %esi
	movq	%r15, %rdi
	callq	_next_slot
	movl	%eax, -36(%rbp)
	incl	%ebx
	cmpl	%r14d, %eax
	jne	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_op32_set_current_rxslot
	movl	-36(%rbp), %eax
	movl	%eax, 8(%r15)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	_b43legacy_dma_rx               ; -- Begin function b43legacy_dma_rx
	.p2align	2
_b43legacy_dma_rx:                      ; @b43legacy_dma_rx
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_B43legacy_WARN_ON
	mov	x0, x19
	bl	_op32_get_current_rxslot
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w20, w8
	cset	w0, ge
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_B43legacy_WARN_ON
	ldr	w8, [x19, #8]
	str	w8, [sp, #12]
	cmp	w8, w20
	b.eq	LBB0_6
; %bb.4:
	mov	w21, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_dma_rx
	mov	x0, x19
	mov	x1, x21
	bl	_update_max_used_slots
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_next_slot
	str	w0, [sp, #12]
	add	w21, w21, #1
	cmp	w0, w20
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_op32_set_current_rxslot
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	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
.subsections_via_symbols
