	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b44_rx
_b44_rx:                                ## @b44_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_B44_DMARX_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_br32
	movq	_DMARX_STAT_CDMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sarl	$2, %eax
	movl	(%rbx), %r14d
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r14d
	je	LBB0_22
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_22
## %bb.2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	16(%rbx), %rax
	movq	32(%rbx), %rcx
	movslq	%r14d, %rdx
	shlq	$4, %rdx
	movq	%rbx, %r13
	movq	8(%rcx,%rdx), %rbx
	movl	(%rcx,%rdx), %esi
	movl	(%rax), %edi
	movq	_RX_PKT_BUF_SZ@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_dma_sync_single_for_cpu
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r12
	movq	%r13, %rbx
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	_RX_PKT_OFFSET@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	cmpq	%rax, %r13
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %r15d
	movq	_RX_FLAG_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	testl	%r15d, %eax
	je	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b44_recycle_rx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	incl	(%rax)
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %eax
	incl	%eax
	movq	_B44_RX_RING_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%rbx)
	incl	%r14d
	andl	%ecx, %r14d
	cmpl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	jg	LBB0_3
	jmp	LBB0_23
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r13, %r13
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$2, %edi
	callq	_udelay
	xorl	%eax, %eax
	callq	_barrier
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leal	1(%r15), %eax
	cmpl	$5, %r15d
	movl	%eax, %r15d
	jb	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%r13, %r13
	je	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-4(%r13), %r12
	cmpl	$0, 24(%rbx)
	movl	4(%rbx), %edx
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_RX_COPY_THRESHOLD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jle	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b44_alloc_rx_skb
	testl	%eax, %eax
	js	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rcx
	movl	(%rcx), %edi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	_RX_PKT_OFFSET@GOTPCREL(%rip), %r15
	addq	(%r15), %r12
	movq	%r12, %rsi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_put
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_skb_pull
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b44_recycle_rx
	addq	$-2, %r13
	movq	%r13, %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_skb_put
	movq	_RX_PKT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	8(%r15), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_skb_copy_from_linear_data_offset
	movq	%r15, %r12
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_eth_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_netif_receive_skb
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	decl	%r15d
	jmp	LBB0_7
LBB0_22:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_23:
	movl	%r14d, (%rbx)
	movq	_B44_DMARX_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_bw32
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_DMARX_STAT,4,2             ## @B44_DMARX_STAT
	.comm	_DMARX_STAT_CDMASK,4,2          ## @DMARX_STAT_CDMASK
	.comm	_RX_PKT_BUF_SZ,8,3              ## @RX_PKT_BUF_SZ
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_RX_PKT_OFFSET,8,3              ## @RX_PKT_OFFSET
	.comm	_RX_FLAG_ERRORS,4,2             ## @RX_FLAG_ERRORS
	.comm	_RX_COPY_THRESHOLD,8,3          ## @RX_COPY_THRESHOLD
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_B44_RX_RING_SIZE,4,2           ## @B44_RX_RING_SIZE
	.comm	_B44_DMARX_PTR,4,2              ## @B44_DMARX_PTR
	.no_dead_strip	_b44_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_rx
_b44_rx:                                ; @b44_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _B44_DMARX_STAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B44_DMARX_STAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_br32
Lloh3:
	adrp	x8, _DMARX_STAT_CDMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMARX_STAT_CDMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	asr	w27, w8, #2
	ldr	w21, [x19]
	cmp	w21, w27
	ccmp	w20, #1, #8, ne
	b.ge	LBB0_3
; %bb.1:
	str	wzr, [sp]                       ; 4-byte Folded Spill
LBB0_2:
	str	w21, [x19]
Lloh6:
	adrp	x8, _B44_DMARX_PTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B44_DMARX_PTR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	lsl	w2, w21, #2
	mov	x0, x19
	bl	_bw32
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	str	wzr, [sp]                       ; 4-byte Folded Spill
Lloh9:
	adrp	x28, _RX_PKT_BUF_SZ@GOTPAGE
Lloh10:
	ldr	x28, [x28, _RX_PKT_BUF_SZ@GOTPAGEOFF]
Lloh11:
	adrp	x22, _DMA_FROM_DEVICE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh13:
	adrp	x23, _RX_PKT_OFFSET@GOTPAGE
Lloh14:
	ldr	x23, [x23, _RX_PKT_OFFSET@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_b44_recycle_rx
	sub	x0, x25, #2
	bl	_dev_alloc_skb
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
	mov	w1, #2
	bl	_skb_reserve
	mov	x0, x24
	mov	x1, x26
	bl	_skb_put
	ldr	x1, [x23]
	ldr	x2, [x24, #8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x26
	bl	_skb_copy_from_linear_data_offset
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh15:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	ldr	x1, [x19, #8]
	mov	x0, x24
	bl	_eth_type_trans
	str	w0, [x24]
	mov	x0, x24
	bl	_netif_receive_skb
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp]                        ; 4-byte Folded Spill
	sub	w20, w20, #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
Lloh18:
	adrp	x9, _B44_RX_RING_SIZE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _B44_RX_RING_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w8, w9, w8
	str	w8, [x19, #4]
	add	w8, w21, #1
	and	w21, w9, w8
	cmp	w21, w27
	ccmp	w20, #0, #4, ne
	b.le	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x8, x8, w21, sxtw #4
	ldr	x24, [x8, #8]
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	x2, [x28]
	ldr	w3, [x22]
	str	w1, [sp, #4]                    ; 4-byte Folded Spill
	bl	_dma_sync_single_for_cpu
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x26, [x24, #8]
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	ldr	x8, [x28]
	ldr	x9, [x23]
	sub	x8, x8, x9
	cmp	x0, x8
	b.gt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	mov	x24, x23
	mov	x23, x20
	mov	x20, x27
	mov	x27, x28
	mov	x28, x22
	ldr	w22, [x26]
Lloh21:
	adrp	x8, _RX_FLAG_ERRORS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RX_FLAG_ERRORS@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	tst	w0, w22
	mov	x22, x28
	mov	x28, x27
	mov	x27, x20
	mov	x20, x23
	mov	x23, x24
	b.eq	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_b44_recycle_rx
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x25, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	cmp	x0, #0
	cset	w8, eq
	cbnz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	cmp	x0, #0
	cset	w8, eq
	cbnz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	cmp	x0, #0
	cset	w8, eq
	cbnz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	cmp	x0, #0
	cset	w8, eq
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	cmp	x0, #0
	cset	w8, eq
	cbz	x0, LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	tbnz	w8, #0, LBB0_10
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x26, x25, #4
	ldr	w8, [x19, #24]
	ldr	w2, [x19, #4]
	cbnz	w8, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh24:
	adrp	x8, _RX_COPY_THRESHOLD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RX_COPY_THRESHOLD@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x26, x8
	b.le	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_b44_alloc_rx_skb
	tbnz	w0, #31, LBB0_10
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w3, [x22]
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	bl	_dma_unmap_single
	ldr	x8, [x23]
	add	x1, x8, x26
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x24
	bl	_skb_put
	ldr	x1, [x23]
	mov	x0, x24
	bl	_skb_pull
	b	LBB0_6
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #2
	bl	_udelay
	bl	_barrier
	ldr	w0, [x26, #4]
	bl	_le16_to_cpu
	mov	x25, x0
	cmp	x0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB0_10
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_DMARX_STAT,4,2             ; @B44_DMARX_STAT
	.comm	_DMARX_STAT_CDMASK,4,2          ; @DMARX_STAT_CDMASK
	.comm	_RX_PKT_BUF_SZ,8,3              ; @RX_PKT_BUF_SZ
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_RX_PKT_OFFSET,8,3              ; @RX_PKT_OFFSET
	.comm	_RX_FLAG_ERRORS,4,2             ; @RX_FLAG_ERRORS
	.comm	_RX_COPY_THRESHOLD,8,3          ; @RX_COPY_THRESHOLD
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_B44_RX_RING_SIZE,4,2           ; @B44_RX_RING_SIZE
	.comm	_B44_DMARX_PTR,4,2              ; @B44_DMARX_PTR
	.no_dead_strip	_b44_rx
.subsections_via_symbols
