	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_rx_process_rrd
_emac_rx_process_rrd:                   ## @emac_rx_process_rrd
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	4(%rdi), %esi
	movq	(%r14), %rdx
	movq	%r14, %rdi
	callq	_EMAC_RRD
	movq	%rax, %r15
	movl	12(%rax), %eax
	movq	(%r13), %rcx
	movl	%eax, 12(%rcx)
	movq	%r13, %rdi
	callq	_RRD_UPDT
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r13), %rax
	movq	$0, 16(%rax)
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	movl	4(%r15), %ecx
	movl	%ecx, 4(%rax)
	movl	8(%r15), %ecx
	movl	%ecx, 8(%rax)
	movq	%r13, %rdi
	callq	_RRD_NOR
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %r12d
	movq	%r13, %rdi
	callq	_RRD_NOR
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_netdev_err
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_RRD_UPDT_SET
	movq	(%r13), %rax
	movl	12(%rax), %eax
	movl	%eax, 12(%r15)
	movq	(%r14), %rax
	incq	%rax
	cmpq	8(%r14), %rax
	cmovneq	%rax, %rbx
	movq	%rbx, (%r14)
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: multi-RFD not support yet! nor:%lu\n"

	.no_dead_strip	_emac_rx_process_rrd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_rx_process_rrd
_emac_rx_process_rrd:                   ; @emac_rx_process_rrd
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w1, [x0, #4]
	ldr	x2, [x19]
	mov	x0, x19
	bl	_EMAC_RRD
	mov	x21, x0
	ldr	w8, [x0, #12]
	ldr	x9, [x20]
	str	w8, [x9, #12]
	mov	x0, x20
	bl	_RRD_UPDT
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	str	xzr, [x8, #16]
	ldr	w9, [x21]
	str	w9, [x8]
	ldr	w9, [x21, #4]
	str	w9, [x8, #4]
	ldr	w9, [x21, #8]
	str	w9, [x8, #8]
	mov	x0, x20
	bl	_RRD_NOR
	cmp	w0, #1
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w22, [x22]
	mov	x0, x20
	bl	_RRD_NOR
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_netdev_err
LBB0_3:
	mov	x0, x20
	mov	w1, #0
	bl	_RRD_UPDT_SET
	ldr	x8, [x20]
	ldr	w8, [x8, #12]
	str	w8, [x21, #12]
	ldp	x8, x9, [x19]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x8, xzr, x8, eq
	str	x8, [x19]
	mov	w0, #1
LBB0_4:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: multi-RFD not support yet! nor:%lu\n"

	.no_dead_strip	_emac_rx_process_rrd
.subsections_via_symbols
