	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function niu_rx_pkt_ignore
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_niu_rx_pkt_ignore:                     ## @niu_rx_pkt_ignore
	.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	(%rsi), %ecx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	incl	32(%rsi)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_NEXT_RCR
	movl	%eax, %ecx
	movq	_RCR_ENTRY_MULTI@GOTPCREL(%rip), %rax
	andq	(%rax), %r13
	incl	%ebx
	testq	%r13, %r13
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	shlq	$2, %rdi
	addq	24(%r12), %rdi
	callq	_le64_to_cpup
	movq	%rax, %r13
	movq	_RCR_ENTRY_PKT_BUF_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	andq	%r13, %r14
	movq	_RCR_ENTRY_PKT_BUF_ADDR_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shlq	%cl, %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	leaq	-72(%rbp), %rdx
	callq	_niu_find_rxpage
	movq	_RCR_ENTRY_PKTBUFSZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	andq	%r13, %rdi
	movq	_RCR_ENTRY_PKTBUFSZ_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shrq	%cl, %rdi
	movq	%rax, %r15
	movq	8(%r12), %rax
	movq	(%r15), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rsi, %rcx
	subq	(%rax,%rdi,8), %rcx
	addq	%rdx, %rcx
	cmpq	%r14, %rcx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movq	-72(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movl	(%rcx), %edi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	callq	*(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	%r15, %rdi
	callq	___free_page
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
	jmp	LBB0_3
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCR_ENTRY_PKT_BUF_ADDR,8,3     ## @RCR_ENTRY_PKT_BUF_ADDR
	.comm	_RCR_ENTRY_PKT_BUF_ADDR_SHIFT,8,3 ## @RCR_ENTRY_PKT_BUF_ADDR_SHIFT
	.comm	_RCR_ENTRY_PKTBUFSZ,8,3         ## @RCR_ENTRY_PKTBUFSZ
	.comm	_RCR_ENTRY_PKTBUFSZ_SHIFT,8,3   ## @RCR_ENTRY_PKTBUFSZ_SHIFT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_RCR_ENTRY_MULTI,8,3            ## @RCR_ENTRY_MULTI
	.no_dead_strip	_niu_rx_pkt_ignore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_rx_pkt_ignore
_niu_rx_pkt_ignore:                     ; @niu_rx_pkt_ignore
	.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	x19, x1
	mov	x21, x0
	mov	w20, #0
	ldr	w22, [x1]
	ldr	w8, [x1, #32]
	add	w8, w8, #1
	str	w8, [x1, #32]
Lloh0:
	adrp	x26, _RCR_ENTRY_PKTBUFSZ_SHIFT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RCR_ENTRY_PKTBUFSZ_SHIFT@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x28, _RCR_ENTRY_MULTI@GOTPAGE
Lloh5:
	ldr	x28, [x28, _RCR_ENTRY_MULTI@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_NEXT_RCR
	mov	x22, x0
	ldr	x8, [x28]
	add	w20, w20, #1
	tst	x8, x23
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, w22, uxtw #2
	bl	_le64_to_cpup
	mov	x23, x0
Lloh6:
	adrp	x8, _RCR_ENTRY_PKT_BUF_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCR_ENTRY_PKT_BUF_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh9:
	adrp	x9, _RCR_ENTRY_PKT_BUF_ADDR_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RCR_ENTRY_PKT_BUF_ADDR_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsl	x25, x8, x9
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x25
	bl	_niu_find_rxpage
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _RCR_ENTRY_PKTBUFSZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RCR_ENTRY_PKTBUFSZ@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	and	x9, x9, x23
	ldr	x10, [x26]
	lsr	x9, x9, x10
	ldr	x8, [x8, x9, lsl #3]
	ldr	x1, [x0]
	ldr	x2, [x27]
	sub	x8, x1, x8
	add	x8, x8, x2
	cmp	x8, x25
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	ldr	x8, [x0, #8]
	ldr	x9, [sp, #8]
	str	x8, [x9]
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w0, [x21]
Lloh15:
	adrp	x9, _DMA_FROM_DEVICE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x9]
	blr	x8
	stp	xzr, xzr, [x24]
	mov	x0, x24
	bl	___free_page
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_1
LBB0_4:
	str	w22, [x19]
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RCR_ENTRY_PKT_BUF_ADDR,8,3     ; @RCR_ENTRY_PKT_BUF_ADDR
	.comm	_RCR_ENTRY_PKT_BUF_ADDR_SHIFT,8,3 ; @RCR_ENTRY_PKT_BUF_ADDR_SHIFT
	.comm	_RCR_ENTRY_PKTBUFSZ,8,3         ; @RCR_ENTRY_PKTBUFSZ
	.comm	_RCR_ENTRY_PKTBUFSZ_SHIFT,8,3   ; @RCR_ENTRY_PKTBUFSZ_SHIFT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_RCR_ENTRY_MULTI,8,3            ; @RCR_ENTRY_MULTI
	.no_dead_strip	_niu_rx_pkt_ignore
.subsections_via_symbols
