	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_rx
_dma_rx:                                ## @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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movl	(%rsi), %esi
	leaq	-48(%rbp), %rdx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	*(%rax)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	movq	%r12, %rdi
	callq	_sync_descbuffer_for_cpu
	movq	-48(%rbp), %rax
	movq	8(%rax), %r14
	movq	(%r14), %r13
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_b43_rx_buffer_is_poisoned
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43dbg
	jmp	LBB0_8
LBB0_1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2, %edi
	callq	_udelay
	xorl	%eax, %eax
	callq	_barrier
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	$5, %ebx
	movl	%eax, %ebx
	jb	LBB0_2
LBB0_4:
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
LBB0_8:
	movq	-48(%rbp), %rax
	movl	(%rax), %ebx
LBB0_15:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_b43_poison_rx_buffer
	movq	(%r12), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sync_descbuffer_for_device
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	8(%r12), %rax
	addq	%r15, %rax
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movl	(%rbx), %eax
	movq	%rbx, %r13
	xorl	%ebx, %ebx
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%eax, %esi
	leaq	-48(%rbp), %rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	movq	-48(%rbp), %rax
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	callq	_b43_poison_rx_buffer
	movq	-48(%rbp), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	movq	%r12, %rdi
	callq	_sync_descbuffer_for_device
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_next_slot
	movl	%eax, (%r13)
	incl	%ebx
	movq	(%r12), %rcx
	subq	%rcx, %r14
	jg	LBB0_11
## %bb.12:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	callq	_b43err
	jmp	LBB0_16
LBB0_5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_13:
	movq	-48(%rbp), %rdx
	movl	(%rdx), %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_setup_rx_descbuffer
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	16(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_b43dbg
	jmp	LBB0_15
LBB0_17:
	movq	(%r12), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_unmap_descbuffer
	addq	8(%r12), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_put
	movq	8(%r12), %rsi
	movq	%r14, %rdi
	callq	_skb_pull
	movq	16(%r12), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_b43_rx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA RX: Dropping poisoned buffer.\n"

L_.str.1:                               ## @.str.1
	.asciz	"DMA RX buffer too small (len: %u, buffer: %u, nr-dropped: %d)\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"DMA RX: setup_rx_descbuffer() failed\n"

	.no_dead_strip	_dma_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_rx
_dma_rx:                                ; @dma_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	ldr	x25, [x0, #24]
	ldr	x8, [x25]
	ldr	w1, [x1]
	add	x2, sp, #8
	blr	x8
	mov	x23, x0
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	ldr	x2, [x19]
	mov	x0, x19
	bl	_sync_descbuffer_for_cpu
	ldr	x8, [sp, #8]
	ldr	x20, [x8, #8]
	ldr	x22, [x20]
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, x19
	mov	x1, x20
	bl	_b43_rx_buffer_is_poisoned
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43dbg
	b	LBB0_10
LBB0_3:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	cbnz	x24, LBB0_9
; %bb.4:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	cbnz	x24, LBB0_9
; %bb.5:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	cbnz	x24, LBB0_9
; %bb.6:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	cbnz	x24, LBB0_9
; %bb.7:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	cbnz	x24, LBB0_9
; %bb.8:
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x22]
	bl	_le16_to_cpu
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
LBB0_9:
	bl	_unlikely
	cbz	x0, LBB0_1
LBB0_10:
	ldr	x8, [sp, #8]
	ldr	w21, [x8]
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_b43_poison_rx_buffer
	ldr	x2, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_sync_descbuffer_for_device
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldp	x9, x8, [x19]
	add	x8, x8, x24
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_17
; %bb.14:
	mov	w20, #0
	ldr	w1, [x21]
	mov	x22, x24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
	ldr	x8, [sp, #8]
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_b43_poison_rx_buffer
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	ldr	x2, [x19]
	mov	x0, x19
	bl	_sync_descbuffer_for_device
	ldr	w1, [x21]
	mov	x0, x19
	bl	_next_slot
	mov	x1, x0
	str	w0, [x21]
	add	w20, w20, #1
	ldr	x3, [x19]
	sub	x22, x22, x3
	cmp	x22, #0
	b.gt	LBB0_15
; %bb.16:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x4, x20
	bl	_b43err
	b	LBB0_12
LBB0_17:
	ldr	x2, [sp, #8]
	ldr	w21, [x2]
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_setup_rx_descbuffer
	bl	_unlikely
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_b43dbg
	b	LBB0_11
LBB0_19:
	ldr	x2, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_unmap_descbuffer
	ldr	x8, [x19, #8]
	add	x1, x8, x24
	mov	x0, x20
	bl	_skb_put
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_skb_pull
	ldr	x0, [x19, #16]
	mov	x1, x20
	mov	x2, x22
	bl	_b43_rx
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA RX: Dropping poisoned buffer.\n"

l_.str.1:                               ; @.str.1
	.asciz	"DMA RX buffer too small (len: %u, buffer: %u, nr-dropped: %d)\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"DMA RX: setup_rx_descbuffer() failed\n"

	.no_dead_strip	_dma_rx
.subsections_via_symbols
