	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dev_rcv_packets
_dev_rcv_packets:                       ## @dev_rcv_packets
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r15d
	movl	4(%rdi), %ebx
	testl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rax
	movq	16(%rdi), %r13
	movq	%rax, %r12
	movq	(%r13,%rax,8), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, -72(%rbp)
	xorl	%r14d, %r14d
	testb	%r14b, %r14b
	jne	LBB0_10
## %bb.3:
	leaq	(%r13,%r12,8), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r15d
	cmpq	$0, -64(%rbp)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -72(%rbp)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_rx_proc
	cmpq	$1, %rax
	adcl	$0, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_release_desc
	movslq	%ebx, %rax
	incq	%rax
	movslq	8(%r12), %rbx
	andq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %r13
	movq	(%r13,%rbx,8), %rax
	movl	(%rax), %edi
	movl	%r14d, %r12d
	movq	-56(%rbp), %r14
	callq	_le32_to_cpu
	leaq	(%r13,%rbx,8), %r13
	movl	%eax, -72(%rbp)
	testq	%r14, %r14
	movl	%r12d, %r14d
	je	LBB0_4
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, 4(%rax)
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dev_rcv_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dev_rcv_packets
_dev_rcv_packets:                       ; @dev_rcv_packets
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w22, w21, [x0]
	cbz	w22, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	ldr	x8, [x19, #16]
	add	x20, x8, w21, sxtw #3
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	x0, x20
	bl	_release_desc
	add	w8, w21, #1
	ldr	w9, [x19, #8]
	and	w21, w9, w8
	cbnz	w22, LBB0_1
LBB0_2:
	str	w21, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dev_rcv_packets
.subsections_via_symbols
