	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc35815_rx
_tc35815_rx:                            ## @tc35815_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_FD_CownsFD@GOTPCREL(%rip), %rax
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%ebx, (%rax)
	je	LBB0_1
LBB0_39:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	32(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	$8, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	testl	%eax, (%r14)
	jne	LBB0_39
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
	movq	8(%r15), %rax
	movq	16(%rax), %rdi
	callq	_le32_to_cpu
	movq	_FD_FDLength_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	andl	%ebx, %r12d
	movq	_FD_BDCnt_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_FD_BDCnt_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %ebx
	movl	%eax, %r14d
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_netif_msg_rx_status
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	callq	_dump_rxfd
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_Rx_Good@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_39
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpl	$2, %ebx
	setge	%dil
	callq	_BUG_ON
	movq	8(%r15), %rax
	movq	24(%rax), %rax
	movq	(%rax), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_BD_RxBDID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_BD_RxBDID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	xorl	%edi, %edi
	movq	_RX_BUF_NUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setge	%dil
	callq	_BUG_ON
	movq	32(%r15), %rax
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movq	8(%rax,%rbx), %r14
	movl	4(%r14), %edi
	callq	_prefetch
	movq	32(%r15), %rax
	movq	$0, 8(%rax,%rbx)
	movl	40(%r15), %edi
	movl	(%rax,%rbx), %esi
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	%r15, %rdi
	callq	_HAVE_DMA_RXALIGN
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14), %edi
	movl	%edi, %esi
	subl	%eax, %esi
	movl	%r12d, %edx
	callq	_memmove
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_netif_msg_pktdata
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_print_eth
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_netif_receive_skb
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	incl	28(%rbx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	24(%rax)
	movq	%r15, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_Rx_Stat_Mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_Rx_LongErr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %eax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_Rx_CRCErr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r14d, %ecx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	orl	%eax, %ecx
	notl	%ecx
	andl	%ecx, %r14d
	movq	_Rx_Over@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %r14d
	testl	%eax, %ecx
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	20(%rax)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_Rx_Over@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	_Rx_CRCErr@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	12(%rax)
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r12d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	_Rx_Align@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%r12d, (%rax)
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	24(%rax), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leal	-1(%rbx), %ecx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdi
	callq	_le32_to_cpu
	movq	_BD_RxBDID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_BD_RxBDID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movzbl	%al, %r14d
	xorl	%edi, %edi
	movq	_RX_BUF_NUM@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r14d
	setge	%dil
	callq	_BUG_ON
	movl	(%r15), %edx
	leal	-1(%rdx), %eax
	movl	%eax, (%r15)
	movl	(%r12), %ecx
	cmpl	%ecx, %edx
	jg	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	_BD_RxBDID_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %ebx
	movq	_BD_CownsBD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r12,%r13)
	movl	(%r15), %eax
	incl	%eax
	movl	%eax, (%r15)
	movq	_RX_BUF_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_31
LBB0_27:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	movq	32(%r15), %rdx
	movq	48(%r15), %rcx
	movq	(%rcx), %r12
	movzbl	%al, %ebx
	movq	%rbx, %r13
	shlq	$4, %r13
	cmpq	$0, 8(%rdx,%r13)
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	40(%r15), %esi
	addq	%r13, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_alloc_rxbuf_skb
	movq	32(%r15), %rcx
	movq	%rax, 8(%rcx,%r13)
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	(%rcx,%r13), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r12,%r13)
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$-3, %ebx
	jg	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rcx
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movq	_FD_CownsFD@GOTPCREL(%rip), %r14
	cmpq	24(%r15), %rcx
	jbe	LBB0_38
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	incl	%eax
	shrl	$31, %eax
	addl	%eax, %ebx
	incl	%ebx
	sarl	%ebx
	incl	%ebx
	movq	_FD_CownsFD@GOTPCREL(%rip), %r14
	movq	_FD_Next_EOL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %edi
	callq	_cpu_to_le32
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	(%r14), %edi
	callq	_cpu_to_le32
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
	addq	$32, %rcx
	movq	%rcx, 8(%r15)
	decl	%ebx
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	cmpq	24(%r15), %rcx
	jbe	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rcx
	movq	%rcx, 8(%r15)
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_FD_CownsFD,4,2                 ## @FD_CownsFD
	.comm	_FD_FDLength_MASK,4,2           ## @FD_FDLength_MASK
	.comm	_FD_BDCnt_MASK,4,2              ## @FD_BDCnt_MASK
	.comm	_FD_BDCnt_SHIFT,4,2             ## @FD_BDCnt_SHIFT
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_Rx_Good,4,2                    ## @Rx_Good
	.comm	_BD_RxBDID_MASK,4,2             ## @BD_RxBDID_MASK
	.comm	_BD_RxBDID_SHIFT,4,2            ## @BD_RxBDID_SHIFT
	.comm	_RX_BUF_NUM,4,2                 ## @RX_BUF_NUM
	.comm	_RX_BUF_SIZE,4,2                ## @RX_BUF_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx error (status %x)\n"

	.comm	_Rx_Stat_Mask,4,2               ## @Rx_Stat_Mask
	.comm	_Rx_LongErr,4,2                 ## @Rx_LongErr
	.comm	_Rx_CRCErr,4,2                  ## @Rx_CRCErr
	.comm	_Rx_Over,4,2                    ## @Rx_Over
	.comm	_Rx_Align,4,2                   ## @Rx_Align
	.comm	_BD_CownsBD,4,2                 ## @BD_CownsBD
	.comm	_FD_Next_EOL,4,2                ## @FD_Next_EOL
	.no_dead_strip	_tc35815_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc35815_rx
_tc35815_rx:                            ; @tc35815_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
	bl	_le32_to_cpu
Lloh0:
	adrp	x28, _FD_CownsFD@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FD_CownsFD@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
LBB0_2:
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_3:
	mov	x26, x0
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	add	x9, x20, #4
	add	x8, x20, #32
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	add	x8, x20, #8
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh2:
	adrp	x24, _BD_RxBDID_SHIFT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BD_RxBDID_SHIFT@GOTPAGEOFF]
Lloh4:
	adrp	x19, _FD_Next_EOL@GOTPAGE
Lloh5:
	ldr	x19, [x19, _FD_Next_EOL@GOTPAGEOFF]
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x8]
	bl	_le32_to_cpu
	mov	x26, x0
	ldr	w8, [x28]
	tst	w8, w0
	b.ne	LBB0_2
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
	mov	x20, x24
	ldr	x8, [x21, #8]
	ldr	x0, [x8, #16]
	bl	_le32_to_cpu
	mov	x25, x0
Lloh6:
	adrp	x8, _FD_FDLength_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FD_FDLength_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _FD_BDCnt_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FD_BDCnt_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _FD_BDCnt_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FD_BDCnt_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
Lloh15:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w27, [x8]
	mov	x0, x21
	bl	_netif_msg_rx_status
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21, #8]
	bl	_dump_rxfd
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w24, w26
	lsr	w22, w8, w22
Lloh18:
	adrp	x8, _Rx_Good@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Rx_Good@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	subs	w8, w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w23, w26
	sub	w25, w8, w27
	cmp	w22, #1
	cset	w0, gt
	bl	_BUG_ON
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #24]
	ldr	x0, [x8]
	bl	_le32_to_cpu
Lloh21:
	adrp	x8, _BD_RxBDID_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BD_RxBDID_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	and	w8, w8, w0
	mov	x24, x20
	ldr	w9, [x20]
	asr	w23, w8, w9
Lloh24:
	adrp	x8, _RX_BUF_NUM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RX_BUF_NUM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w23, w8
	cset	w0, ge
	bl	_BUG_ON
	ldr	x8, [x21, #32]
	sbfiz	x23, x23, #4, #32
	add	x8, x8, x23
	ldr	x26, [x8, #8]
	ldr	w0, [x26, #4]
	bl	_prefetch
	ldr	x8, [x21, #32]
	add	x8, x8, x23
	str	xzr, [x8, #8]
	ldr	w0, [x21, #40]
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _RX_BUF_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RX_BUF_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	bl	_pci_unmap_single
	mov	x0, x21
	bl	_HAVE_DMA_RXALIGN
	cbnz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh33:
	adrp	x8, _NET_IP_ALIGN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26, #4]
	sub	w1, w0, w8
	mov	x2, x25
	bl	_memmove
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_skb_put
	mov	x27, x0
	mov	x0, x21
	bl	_netif_msg_pktdata
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	bl	_print_eth
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x26]
	mov	x0, x26
	bl	_netif_receive_skb
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_28
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x9, #24]
	add	w8, w8, #1
	str	w8, [x9, #24]
	mov	x0, x21
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh36:
	adrp	x8, _Rx_Stat_Mask@GOTPAGE
Lloh37:
	ldr	x8, [x8, _Rx_Stat_Mask@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	and	w2, w8, w25
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh41:
	adrp	x8, _Rx_LongErr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _Rx_LongErr@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh44:
	adrp	x9, _Rx_CRCErr@GOTPAGE
Lloh45:
	ldr	x9, [x9, _Rx_CRCErr@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w25
	mov	x24, x20
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w8
	bic	w9, w25, w9
Lloh47:
	adrp	x10, _Rx_Over@GOTPAGE
Lloh48:
	ldr	x10, [x10, _Rx_Over@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	orr	w25, w10, w9
	tst	w10, w8
	b.eq	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x20
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh50:
	adrp	x8, _Rx_Over@GOTPAGE
Lloh51:
	ldr	x8, [x8, _Rx_Over@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh53:
	adrp	x8, _Rx_CRCErr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _Rx_CRCErr@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh56:
	adrp	x8, _Rx_Align@GOTPAGE
Lloh57:
	ldr	x8, [x8, _Rx_Align@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w25, #1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x8]
	add	w9, w9, w25
	str	w9, [x8]
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w8, w22, #1
	b.lt	LBB0_36
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #8]
	ldr	x9, [x9, #24]
	lsl	x8, x8, #4
	ldr	x0, [x9, x8]
	bl	_le32_to_cpu
Lloh59:
	adrp	x8, _BD_RxBDID_MASK@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BD_RxBDID_MASK@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x24]
	asr	w8, w8, w9
	and	w23, w8, #0xff
Lloh62:
	adrp	x25, _RX_BUF_NUM@GOTPAGE
Lloh63:
	ldr	x25, [x25, _RX_BUF_NUM@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w23, w8
	cset	w0, ge
	bl	_BUG_ON
	ldr	w10, [x21]
	sub	w8, w10, #1
	str	w8, [x21]
	ldr	w9, [x25]
	cmp	w10, w9
	b.gt	LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w23, #1
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
Lloh64:
	adrp	x8, _BD_CownsBD@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BD_CownsBD@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	w9, [x24]
	lsl	w9, w23, w9
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _RX_BUF_SIZE@GOTPAGE
Lloh68:
	ldr	x9, [x9, _RX_BUF_SIZE@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x26, x27]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
Lloh70:
	adrp	x9, _RX_BUF_NUM@GOTPAGE
Lloh71:
	ldr	x9, [x9, _RX_BUF_NUM@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_36
LBB0_33:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w25, w8
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	ldr	x9, [x21, #48]
	ldr	x26, [x9]
	and	w23, w8, #0xff
	ldr	x8, [x21, #32]
	add	x9, x8, w23, uxtw #4
	ldr	x9, [x9, #8]
	lsl	x27, x23, #4
	cbnz	x9, LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	w1, [x21, #40]
	add	x2, x8, x27
	mov	x0, x20
	bl	_alloc_rxbuf_skb
	ldr	x8, [x21, #32]
	add	x9, x8, x27
	str	x0, [x9, #8]
	cbz	x0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	w0, [x8, x27]
	bl	_cpu_to_le32
	add	x8, x26, x27
	str	x0, [x8, #8]
	b	LBB0_32
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	cmn	w22, #3
	b.gt	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	b	LBB0_41
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w22, #1
	add	w9, w22, #2
	cmp	w8, #0
	csinc	w8, w9, w22, lt
	asr	w8, w8, #1
	add	w22, w8, #1
LBB0_39:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19]
	bl	_cpu_to_le32
	ldr	x8, [x21, #8]
	str	x0, [x8, #8]
	ldr	w0, [x28]
	bl	_cpu_to_le32
	ldr	x8, [x21, #8]
	mov	x9, x8
	str	x0, [x9], #32
	str	x9, [x21, #8]
	subs	w22, w22, #1
	b.ne	LBB0_39
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #32
LBB0_41:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ls	LBB0_4
; %bb.42:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	str	x8, [x21, #8]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_FD_CownsFD,4,2                 ; @FD_CownsFD
	.comm	_FD_FDLength_MASK,4,2           ; @FD_FDLength_MASK
	.comm	_FD_BDCnt_MASK,4,2              ; @FD_BDCnt_MASK
	.comm	_FD_BDCnt_SHIFT,4,2             ; @FD_BDCnt_SHIFT
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_Rx_Good,4,2                    ; @Rx_Good
	.comm	_BD_RxBDID_MASK,4,2             ; @BD_RxBDID_MASK
	.comm	_BD_RxBDID_SHIFT,4,2            ; @BD_RxBDID_SHIFT
	.comm	_RX_BUF_NUM,4,2                 ; @RX_BUF_NUM
	.comm	_RX_BUF_SIZE,4,2                ; @RX_BUF_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx error (status %x)\n"

	.comm	_Rx_Stat_Mask,4,2               ; @Rx_Stat_Mask
	.comm	_Rx_LongErr,4,2                 ; @Rx_LongErr
	.comm	_Rx_CRCErr,4,2                  ; @Rx_CRCErr
	.comm	_Rx_Over,4,2                    ; @Rx_Over
	.comm	_Rx_Align,4,2                   ; @Rx_Align
	.comm	_BD_CownsBD,4,2                 ; @BD_CownsBD
	.comm	_FD_Next_EOL,4,2                ; @FD_Next_EOL
	.no_dead_strip	_tc35815_rx
.subsections_via_symbols
