	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function direct_fifo_rx
_direct_fifo_rx:                        ## @direct_fifo_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_B43_DMA_64BIT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_B43_DMA64_RXCTL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_read32
	movq	_B43_DMA64_RXDIRECTFIFO@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_B43_DMA32_RXCTL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_b43_read32
	movq	_B43_DMA32_RXDIRECTFIFO@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	testl	%r15d, %r15d
	cmovel	%ecx, %edx
	addq	(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_write32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_DMA_64BIT,4,2              ## @B43_DMA_64BIT
	.comm	_B43_DMA64_RXCTL,8,3            ## @B43_DMA64_RXCTL
	.comm	_B43_DMA64_RXDIRECTFIFO,4,2     ## @B43_DMA64_RXDIRECTFIFO
	.comm	_B43_DMA32_RXCTL,8,3            ## @B43_DMA32_RXCTL
	.comm	_B43_DMA32_RXDIRECTFIFO,4,2     ## @B43_DMA32_RXDIRECTFIFO
	.no_dead_strip	_direct_fifo_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function direct_fifo_rx
_direct_fifo_rx:                        ; @direct_fifo_rx
	.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	x21, x3
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _B43_DMA_64BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_DMA_64BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x22, _B43_DMA64_RXCTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _B43_DMA64_RXCTL@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, x19
	mov	x0, x20
	bl	_b43_read32
Lloh5:
	adrp	x8, _B43_DMA64_RXDIRECTFIFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_DMA64_RXDIRECTFIFO@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x22, _B43_DMA32_RXCTL@GOTPAGE
Lloh8:
	ldr	x22, [x22, _B43_DMA32_RXCTL@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, x19
	mov	x0, x20
	bl	_b43_read32
Lloh9:
	adrp	x8, _B43_DMA32_RXDIRECTFIFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_DMA32_RXDIRECTFIFO@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w21, #0
	csel	w2, w9, w8, eq
	ldr	x8, [x22]
	add	x1, x8, x19
	mov	x0, x20
	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	_b43_write32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_DMA_64BIT,4,2              ; @B43_DMA_64BIT
	.comm	_B43_DMA64_RXCTL,8,3            ; @B43_DMA64_RXCTL
	.comm	_B43_DMA64_RXDIRECTFIFO,4,2     ; @B43_DMA64_RXDIRECTFIFO
	.comm	_B43_DMA32_RXCTL,8,3            ; @B43_DMA32_RXCTL
	.comm	_B43_DMA32_RXDIRECTFIFO,4,2     ; @B43_DMA32_RXDIRECTFIFO
	.no_dead_strip	_direct_fifo_rx
.subsections_via_symbols
