	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function atl1_intr_rx
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_atl1_intr_rx:                          ## @atl1_intr_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
	movl	%esi, %ebx
	movq	%rdi, %r12
	leaq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_atomic_read
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_22
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_KERN_DEBUG@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_netif_receive_skb
	xorps	%xmm0, %xmm0
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, 24(%r15)
	movl	-56(%rbp), %r13d                ## 4-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ATL1_RRD_DESC
	movq	%rax, %r15
	movl	24(%rax), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_24
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpl	$1, (%r15)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	80(%r12), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	28(%r15), %ecx
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	4(%r15), %ecx
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	8(%r15), %ecx
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	movl	12(%r15), %ecx
	leaq	L_.str.6(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	decl	%ebx
	movl	$1, %edi
	callq	_udelay
	xorl	%edi, %edi
	cmpl	$1, (%r15)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_atl1_clean_alloc_flag
	movq	32(%r12), %rax
	movq	56(%r12), %r13
	movq	16(%r15), %rbx
	shlq	$5, %rbx
	incq	%rax
	cmpq	40(%r12), %rax
	movl	$0, %ecx
	cmoveq	%rcx, %rax
	movq	%rax, 32(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	16(%r12), %rax
	cmoveq	%rcx, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_PACKET_FLAG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	4(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_ERR_FLAG_L4_CHKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ERR_FLAG_IP_CHKSUM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ERR_FLAG_LEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, 8(%r15)
	je	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	72(%r12), %rdi
	movq	16(%r13,%rbx), %rsi
	movl	24(%r13,%rbx), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_page
	movq	$0, 16(%r13,%rbx)
	movq	8(%r13,%rbx), %r13
	movl	28(%r15), %edi
	callq	_le16_to_cpu
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_skb_put
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_atl1_rx_checksum
	movl	68(%r12), %esi
	movq	%r13, %rdi
	callq	_eth_type_trans
	movl	%eax, (%r13)
	movq	_PACKET_FLAG_VLAN_INS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%r15), %eax
	movl	%eax, %ecx
	sarl	$4, %ecx
	movl	%eax, %edx
	shll	$13, %edx
	movzwl	%dx, %edx
	orl	%ecx, %edx
	andl	$8, %eax
	shll	$9, %eax
	orl	%edx, %eax
	movslq	%eax, %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	___vlan_hwaccel_put_tag
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_netif_msg_rx_err
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edi
	movq	72(%r12), %rsi
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_dev_printk
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, (%r15)
	jl	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_atl1_update_rfd_index
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, 24(%r15)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	movl	$0, %eax
	cmoveq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_3
LBB0_22:
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_23:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_24:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_25:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_atomic_set
	movq	%r12, %rdi
	callq	_atl1_alloc_rx_buffers
	testl	%r13d, %r13d
	je	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	callq	_spin_lock
	leaq	64(%r12), %rdi
	callq	_atomic_read
	movq	%rax, %r15
	leaq	48(%r12), %rdi
	callq	_atomic_read
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_atomic_read
	movq	_MB_RFD_PROD_INDX_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rbx
	movq	_MB_RFD_PROD_INDX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rbx
	movq	_MB_RRD_CONS_INDX_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_MB_RRD_CONS_INDX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	orq	%rax, %rbx
	movq	_MB_TPD_PROD_INDX_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %r15
	movq	_MB_TPD_PROD_INDX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %r15
	orq	%rbx, %r15
	movq	_REG_MAILBOX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movq	%r15, %rdi
	callq	_iowrite32
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_27:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected RRD buffer count\n"

L_.str.1:                               ## @.str.1
	.asciz	"rx_buf_len = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"RRD num_buf = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"RRD pkt_len = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"RRD pkt_flg = 0x%08X\n"

L_.str.5:                               ## @.str.5
	.asciz	"RRD err_flg = 0x%08X\n"

L_.str.6:                               ## @.str.6
	.asciz	"RRD vlan_tag = 0x%08X\n"

L_.str.7:                               ## @.str.7
	.asciz	"bad RRD\n"

	.comm	_PACKET_FLAG_ERR,4,2            ## @PACKET_FLAG_ERR
	.comm	_ERR_FLAG_IP_CHKSUM,4,2         ## @ERR_FLAG_IP_CHKSUM
	.comm	_ERR_FLAG_L4_CHKSUM,4,2         ## @ERR_FLAG_L4_CHKSUM
	.comm	_ERR_FLAG_LEN,4,2               ## @ERR_FLAG_LEN
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_PACKET_FLAG_VLAN_INS,4,2       ## @PACKET_FLAG_VLAN_INS
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_MB_RFD_PROD_INDX_MASK,8,3      ## @MB_RFD_PROD_INDX_MASK
	.comm	_MB_RFD_PROD_INDX_SHIFT,8,3     ## @MB_RFD_PROD_INDX_SHIFT
	.comm	_MB_RRD_CONS_INDX_MASK,8,3      ## @MB_RRD_CONS_INDX_MASK
	.comm	_MB_RRD_CONS_INDX_SHIFT,8,3     ## @MB_RRD_CONS_INDX_SHIFT
	.comm	_MB_TPD_PROD_INDX_MASK,8,3      ## @MB_TPD_PROD_INDX_MASK
	.comm	_MB_TPD_PROD_INDX_SHIFT,8,3     ## @MB_TPD_PROD_INDX_SHIFT
	.comm	_REG_MAILBOX,8,3                ## @REG_MAILBOX
	.no_dead_strip	_atl1_intr_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_intr_rx
_atl1_intr_rx:                          ; @atl1_intr_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x28, x1
	mov	x19, x0
	add	x23, x0, #24
	mov	x0, x23
	bl	_atomic_read
	mov	x22, x0
	cmp	w28, #1
	b.lt	LBB0_21
; %bb.1:
	str	x23, [sp, #16]                  ; 8-byte Folded Spill
	mov	w20, #0
	add	x23, x19, #16
Lloh0:
	adrp	x25, _KERN_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _KERN_DEBUG@GOTPAGEOFF]
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	bl	_netif_receive_skb
	str	xzr, [x21, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x21]
	str	wzr, [x26, #24]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	cmp	w20, w28
	b.eq	LBB0_22
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x23
	mov	x1, x22
	bl	_ATL1_RRD_DESC
	mov	x26, x0
	ldr	w0, [x0, #24]
	bl	_likely
	cbz	x0, LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cmp	w8, #1
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #1
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	mov	x2, x24
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x19, #80]
	str	x8, [sp]
	mov	x2, x21
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x26]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x26, #28]
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x26, #4]
	str	x8, [sp]
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x26, #8]
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_dev_printk
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
	ldr	w8, [x26, #12]
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_dev_printk
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w27, #0
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	sub	w27, w27, #1
	mov	w0, #1
	bl	_udelay
	ldr	w8, [x26]
	cmp	w8, #1
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x26
	mov	w2, #0
	bl	_atl1_clean_alloc_flag
	ldr	x8, [x19, #56]
	ldr	x9, [x26, #16]
	add	x21, x8, x9, lsl #5
	ldp	x8, x9, [x19, #32]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x8, xzr, x8, eq
	str	x8, [x19, #32]
	add	x8, x22, #1
	ldr	x9, [x19, #16]
	cmp	x8, x9
	csinc	x22, xzr, x22, eq
	ldr	w8, [x26, #4]
Lloh18:
	adrp	x9, _PACKET_FLAG_ERR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PACKET_FLAG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26, #8]
Lloh21:
	adrp	x9, _ERR_FLAG_IP_CHKSUM@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ERR_FLAG_IP_CHKSUM@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _ERR_FLAG_L4_CHKSUM@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ERR_FLAG_L4_CHKSUM@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh27:
	adrp	x10, _ERR_FLAG_LEN@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ERR_FLAG_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #72]
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #24]
Lloh30:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	bl	_pci_unmap_page
	str	xzr, [x21, #16]
	ldr	x27, [x21, #8]
	ldr	w0, [x26, #28]
	bl	_le16_to_cpu
Lloh33:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	sub	x1, x0, x8
	mov	x0, x27
	bl	_skb_put
	mov	x0, x19
	mov	x1, x26
	mov	x2, x27
	bl	_atl1_rx_checksum
	ldr	w1, [x19, #68]
	mov	x0, x27
	bl	_eth_type_trans
	str	w0, [x27]
	ldr	w8, [x26, #4]
Lloh36:
	adrp	x9, _PACKET_FLAG_VLAN_INS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PACKET_FLAG_VLAN_INS@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26, #12]
	ubfiz	w9, w8, #13, #3
	orr	w9, w9, w8, asr #4
	lsl	w8, w8, #9
	and	w8, w8, #0x1000
	orr	w8, w9, w8
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
	mov	x20, x22
	mov	x22, x24
	mov	x24, x23
	mov	x23, x28
	sxtw	x28, w8
Lloh39:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	mov	x0, x27
	mov	x2, x28
	mov	x28, x23
	mov	x23, x24
	mov	x24, x22
	mov	x22, x20
	ldr	w20, [sp, #28]                  ; 4-byte Folded Reload
	bl	___vlan_hwaccel_put_tag
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_netif_msg_rx_err
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	ldr	x1, [x19, #72]
Lloh42:
	adrp	x2, l_.str.7@PAGE
Lloh43:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_dev_printk
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_atl1_update_rfd_index
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [x26, #24]
	add	x8, x22, #1
	ldr	x9, [x23]
	cmp	x8, x9
	csinc	x22, xzr, x22, eq
	b	LBB0_4
LBB0_21:
	mov	w20, #0
	b	LBB0_24
LBB0_22:
	mov	x20, x28
LBB0_23:
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
LBB0_24:
	mov	x0, x23
	mov	x1, x22
	bl	_atomic_set
	mov	x0, x19
	bl	_atl1_alloc_rx_buffers
	cbz	w20, LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_spin_lock
	add	x0, x19, #64
	bl	_atomic_read
	mov	x21, x0
	add	x0, x19, #48
	bl	_atomic_read
	mov	x22, x0
	mov	x0, x23
	bl	_atomic_read
Lloh44:
	adrp	x8, _MB_RFD_PROD_INDX_MASK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MB_RFD_PROD_INDX_MASK@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	and	x8, x8, x22
Lloh47:
	adrp	x9, _MB_RFD_PROD_INDX_SHIFT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _MB_RFD_PROD_INDX_SHIFT@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	lsl	x8, x8, x9
Lloh50:
	adrp	x9, _MB_RRD_CONS_INDX_MASK@GOTPAGE
Lloh51:
	ldr	x9, [x9, _MB_RRD_CONS_INDX_MASK@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
Lloh53:
	adrp	x10, _MB_RRD_CONS_INDX_SHIFT@GOTPAGE
Lloh54:
	ldr	x10, [x10, _MB_RRD_CONS_INDX_SHIFT@GOTPAGEOFF]
	and	x9, x9, x0
Lloh55:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x8, x9, x8
Lloh56:
	adrp	x9, _MB_TPD_PROD_INDX_MASK@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MB_TPD_PROD_INDX_MASK@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	and	x9, x9, x21
Lloh59:
	adrp	x10, _MB_TPD_PROD_INDX_SHIFT@GOTPAGE
Lloh60:
	ldr	x10, [x10, _MB_TPD_PROD_INDX_SHIFT@GOTPAGEOFF]
Lloh61:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x0, x8, x9
	ldr	x8, [x19, #8]
Lloh62:
	adrp	x9, _REG_MAILBOX@GOTPAGE
Lloh63:
	ldr	x9, [x9, _REG_MAILBOX@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
	mov	x0, x19
	bl	_spin_unlock
LBB0_26:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected RRD buffer count\n"

l_.str.1:                               ; @.str.1
	.asciz	"rx_buf_len = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"RRD num_buf = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"RRD pkt_len = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"RRD pkt_flg = 0x%08X\n"

l_.str.5:                               ; @.str.5
	.asciz	"RRD err_flg = 0x%08X\n"

l_.str.6:                               ; @.str.6
	.asciz	"RRD vlan_tag = 0x%08X\n"

l_.str.7:                               ; @.str.7
	.asciz	"bad RRD\n"

	.comm	_PACKET_FLAG_ERR,4,2            ; @PACKET_FLAG_ERR
	.comm	_ERR_FLAG_IP_CHKSUM,4,2         ; @ERR_FLAG_IP_CHKSUM
	.comm	_ERR_FLAG_L4_CHKSUM,4,2         ; @ERR_FLAG_L4_CHKSUM
	.comm	_ERR_FLAG_LEN,4,2               ; @ERR_FLAG_LEN
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_PACKET_FLAG_VLAN_INS,4,2       ; @PACKET_FLAG_VLAN_INS
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_MB_RFD_PROD_INDX_MASK,8,3      ; @MB_RFD_PROD_INDX_MASK
	.comm	_MB_RFD_PROD_INDX_SHIFT,8,3     ; @MB_RFD_PROD_INDX_SHIFT
	.comm	_MB_RRD_CONS_INDX_MASK,8,3      ; @MB_RRD_CONS_INDX_MASK
	.comm	_MB_RRD_CONS_INDX_SHIFT,8,3     ; @MB_RRD_CONS_INDX_SHIFT
	.comm	_MB_TPD_PROD_INDX_MASK,8,3      ; @MB_TPD_PROD_INDX_MASK
	.comm	_MB_TPD_PROD_INDX_SHIFT,8,3     ; @MB_TPD_PROD_INDX_SHIFT
	.comm	_REG_MAILBOX,8,3                ; @REG_MAILBOX
	.no_dead_strip	_atl1_intr_rx
.subsections_via_symbols
