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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port_rcv_packets
_port_rcv_packets:                      ; @port_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, #16]
	cbnz	w22, LBB0_3
LBB0_1:
	str	w21, [x19, #20]
	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
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_release_desc
	add	w8, w21, #1
	ldr	w9, [x19, #24]
	and	w21, w9, w8
	cbz	w22, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	ldr	x8, [x19, #32]
	add	x20, x8, w21, sxtw #3
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_HW_TO_DEV_PORT
	ldr	x8, [x19, #8]
	ldr	x0, [x8, w0, sxtw #3]
	bl	_netif_running
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_port_rcv_packets
.subsections_via_symbols
