	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl2_intr_rx
_atl2_intr_rx:                          ## @atl2_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
	movq	32(%rdi), %r14
	movl	(%rdi), %eax
	movslq	%eax, %rbx
	movq	%rbx, %rcx
	shlq	$6, %rcx
	cmpq	$0, 48(%r14,%rcx)
	je	LBB0_17
## %bb.1:
	movq	40(%rdi), %r15
	leaq	(%r14,%rcx), %rdx
	addq	$48, %rdx
	addq	%r14, %rcx
	leaq	20(%r15), %r8
	leaq	16(%r15), %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_netif_rx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	addl	%r12d, (%r15)
	incl	24(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %eax
	movq	32(%rdi), %r14
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	cltq
	cmpq	%rax, 8(%rdi)
	cmovel	%r9d, %eax
	movl	%eax, (%rdi)
	movslq	%eax, %rbx
	movq	%rbx, %rsi
	shlq	$6, %rsi
	leaq	(%r14,%rsi), %rcx
	leaq	(%r14,%rsi), %rdx
	addq	$48, %rdx
	cmpq	$0, 48(%r14,%rsi)
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rdx)
	shlq	$6, %rbx
	cmpq	$0, 32(%r14,%rbx)
	movq	%r8, %rdx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %r12d
	cmpl	$60, %r12d
	jl	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-4, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_netdev_alloc_skb_ip_align
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	4(%rax), %edi
	movl	56(%r14,%rbx), %esi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r13)
	cmpq	$0, 40(%r14,%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%rbx), %ebx
	movl	%ebx, %eax
	sarl	$4, %eax
	movl	%ebx, %ecx
	shll	$13, %ecx
	movzwl	%cx, %ecx
	orl	%eax, %ecx
	andl	$8, %ebx
	shll	$9, %ebx
	orl	%ecx, %ebx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	___vlan_hwaccel_put_tag
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r8)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	(%rdx)
	cmpq	$0, 24(%r14,%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%r15)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r14,%rbx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	8(%r15)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r14,%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%r15)
	jmp	LBB0_16
LBB0_8:
	incl	28(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rdi), %rbx
LBB0_17:
	movq	%rbx, 16(%rdi)
	addq	$24, %rdi
	movq	_REG_MB_RXD_RD_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ATL2_WRITE_REGW                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_REG_MB_RXD_RD_IDX,4,2          ## @REG_MB_RXD_RD_IDX
	.no_dead_strip	_atl2_intr_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl2_intr_rx
_atl2_intr_rx:                          ; @atl2_intr_rx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x27, [x0, #32]
	ldr	w8, [x0]
	sxtw	x21, w8
	add	x9, x27, x21, lsl #6
	mov	x10, x9
	ldr	x11, [x10, #48]!
	cbz	x11, LBB0_17
; %bb.1:
	ldr	x20, [x19, #40]
	add	x24, x20, #20
	add	x25, x20, #16
Lloh0:
	adrp	x26, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ETH_P_8021Q@GOTPAGEOFF]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_netif_rx
	ldr	w8, [x20]
	add	w8, w8, w22
	str	w8, [x20]
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	ldr	w8, [x19]
	ldr	x27, [x19, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w8, #1
	ldr	x10, [x19, #8]
	cmp	x10, w9, sxtw
	csinc	w8, wzr, w8, eq
	str	w8, [x19]
	sxtw	x21, w8
	add	x9, x27, x21, lsl #6
	mov	x10, x9
	ldr	x11, [x10, #48]!
	cbz	x11, LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x10]
	add	x10, x27, x21, lsl #6
	ldr	x12, [x10, #32]
	mov	x11, x24
	cbz	x12, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x9]
	cmp	w9, #60
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w22, w9, #4
	mov	x0, x20
	mov	x1, x22
	bl	_netdev_alloc_skb_ip_align
	cbz	x0, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w0, [x0, #4]
	add	x21, x27, x21, lsl #6
	ldr	w1, [x21, #56]
	mov	x2, x22
	bl	_memcpy
	mov	x0, x23
	mov	x1, x22
	bl	_skb_put
	mov	x0, x23
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x23]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #4]
	ubfiz	w9, w8, #13, #3
	orr	w9, w9, w8, asr #4
	lsl	w8, w8, #9
	and	w8, w8, #0x1000
	orr	w21, w9, w8
	ldr	w0, [x26]
	bl	_htons
	mov	x1, x0
	mov	x0, x23
	mov	x2, x21
	bl	___vlan_hwaccel_put_tag
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x24]
	add	w9, w9, #1
	str	w9, [x24]
	mov	x11, x25
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x11]
	add	w9, w9, #1
	str	w9, [x11]
	ldr	x9, [x10, #24]
	cbz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #12]
	add	w9, w9, #1
	str	w9, [x20, #12]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x27, x21, lsl #6
	ldr	x10, [x9, #16]
	cbz	x10, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x20, #8]
	add	w10, w10, #1
	str	w10, [x20, #8]
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #4]
	add	w9, w9, #1
	str	w9, [x20, #4]
	b	LBB0_3
LBB0_16:
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	ldrsw	x21, [x19]
LBB0_17:
	str	x21, [x19, #16]
	add	x0, x19, #24
Lloh2:
	adrp	x8, _REG_MB_RXD_RD_IDX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_MB_RXD_RD_IDX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ATL2_WRITE_REGW
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_REG_MB_RXD_RD_IDX,4,2          ; @REG_MB_RXD_RD_IDX
	.no_dead_strip	_atl2_intr_rx
.subsections_via_symbols
