	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mace_dma_rx_frame
_mace_dma_rx_frame:                     ## @mace_dma_rx_frame
	.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	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rsi), %ebx
	movq	_RS_OFLO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RS_CLSN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %edi
	orl	%esi, %edi
	movq	_RS_FRAMERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_RS_FCSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r8d, %ecx
	orl	%eax, %ecx
	orl	%edi, %ecx
	testl	%ebx, %ecx
	je	LBB0_9
## %bb.1:
	incl	28(%r13)
	testl	%ebx, %esi
	je	LBB0_3
## %bb.2:
	incl	24(%r13)
LBB0_3:
	testl	%ebx, %edx
	je	LBB0_5
## %bb.4:
	incl	20(%r13)
LBB0_5:
	testl	%ebx, %r8d
	je	LBB0_7
## %bb.6:
	incl	16(%r13)
LBB0_7:
	testl	%ebx, %eax
	je	LBB0_14
## %bb.8:
	addq	$12, %r13
	jmp	LBB0_12
LBB0_9:
	movl	4(%r15), %r14d
	andl	$15, %ebx
	shll	$8, %ebx
	leal	(%r14,%rbx), %esi
	addl	$2, %esi
	movq	%r13, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r12
	addl	%ebx, %r14d
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movl	8(%r15), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_skb_put_data
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_netif_rx
	incl	4(%r13)
	jmp	LBB0_13
LBB0_11:
	addq	$8, %r13
LBB0_12:
	movl	$1, %r14d
LBB0_13:
	addl	%r14d, (%r13)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RS_OFLO,4,2                    ## @RS_OFLO
	.comm	_RS_CLSN,4,2                    ## @RS_CLSN
	.comm	_RS_FRAMERR,4,2                 ## @RS_FRAMERR
	.comm	_RS_FCSERR,4,2                  ## @RS_FCSERR
	.no_dead_strip	_mace_dma_rx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mace_dma_rx_frame
_mace_dma_rx_frame:                     ; @mace_dma_rx_frame
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _RS_OFLO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RS_OFLO@GOTPAGEOFF]
Lloh2:
	adrp	x10, _RS_CLSN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RS_CLSN@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x9]
Lloh5:
	ldr	w11, [x10]
	orr	w9, w11, w12
Lloh6:
	adrp	x10, _RS_FRAMERR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RS_FRAMERR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w13, w9, w10
Lloh9:
	adrp	x9, _RS_FCSERR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RS_FCSERR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w13, w13, w9
	tst	w13, w8
	b.eq	LBB0_9
; %bb.1:
	ldr	w13, [x19, #28]
	add	w13, w13, #1
	str	w13, [x19, #28]
	tst	w12, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w12, [x19, #24]
	add	w12, w12, #1
	str	w12, [x19, #24]
LBB0_3:
	tst	w11, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w11, [x19, #20]
	add	w11, w11, #1
	str	w11, [x19, #20]
LBB0_5:
	tst	w10, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w10, [x19, #16]
	add	w10, w10, #1
	str	w10, [x19, #16]
LBB0_7:
	tst	w9, w8
	b.eq	LBB0_14
; %bb.8:
	add	x19, x19, #12
	b	LBB0_12
LBB0_9:
	mov	x21, x1
	ldr	w9, [x1, #4]
	ubfiz	w8, w8, #8, #4
	add	w20, w9, w8
	add	w1, w20, #2
	mov	x0, x19
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_11
; %bb.10:
	mov	x22, x0
	mov	w1, #2
	bl	_skb_reserve
	ldr	w1, [x21, #8]
	mov	x0, x22
	mov	x2, x20
	bl	_skb_put_data
	mov	x0, x22
	mov	x1, x19
	bl	_eth_type_trans
	str	w0, [x22]
	mov	x0, x22
	bl	_netif_rx
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_11:
	add	x19, x19, #8
LBB0_12:
	mov	w20, #1
LBB0_13:
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
LBB0_14:
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RS_OFLO,4,2                    ; @RS_OFLO
	.comm	_RS_CLSN,4,2                    ; @RS_CLSN
	.comm	_RS_FRAMERR,4,2                 ; @RS_FRAMERR
	.comm	_RS_FCSERR,4,2                  ; @RS_FCSERR
	.no_dead_strip	_mace_dma_rx_frame
.subsections_via_symbols
