	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx
_rx:                                    ## @rx
	.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	%ecx, %r12d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_D_DURING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	movl	%r12d, %ecx
	callq	_arc_printk
	movq	_MinTU@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	%r12d, (%rax)
	setle	-41(%rbp)                       ## 1-byte Folded Spill
	movslq	%r12d, %r13
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r13, %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%rbx, %rdi
	callq	_skb_put
	movq	%r14, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	cmpl	$9, %r13d
	jb	LBB0_3
## %bb.2:
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	shll	$8, %r15d
	addl	$256, %r15d                     ## imm = 0x100
	subl	%r12d, %r15d
	addl	$8, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	addq	$8, %rcx
	addl	$-8, %r12d
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r12d, %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
LBB0_3:
	movq	_D_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BUGLVL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_arcnet_dump_skb
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_type_trans
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_rx                       ## TAILCALL
LBB0_6:
	incl	(%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_DURING,4,2                   ## @D_DURING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"it's a raw packet (length=%d)\n"

	.comm	_MinTU,4,2                      ## @MinTU
	.comm	_ARC_HDR_SIZE,8,3               ## @ARC_HDR_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_D_SKB,4,2                      ## @D_SKB
L_.str.1:                               ## @.str.1
	.asciz	"rx"

	.no_dead_strip	_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx
_rx:                                    ; @rx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x8, _D_DURING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_DURING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x21
	bl	_arc_printk
Lloh5:
	adrp	x8, _MinTU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MinTU@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #512
	mov	w10, #256
	cmp	w8, w21
	csel	w26, w10, w9, gt
Lloh8:
	adrp	x27, _ARC_HDR_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _ARC_HDR_SIZE@GOTPAGEOFF]
	sxtw	x25, w21
	ldr	x8, [x27]
	add	x0, x8, x25
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	ldr	x8, [x27]
	add	x1, x8, x25
	bl	_skb_put
	str	x19, [x22, #16]
	ldr	x25, [x22, #8]
	mov	x0, x25
	mov	x1, x24
	mov	w2, #8
	bl	_memcpy
	cmp	w21, #9
	b.lo	LBB0_3
; %bb.2:
	ldr	x8, [x23]
	sub	w9, w26, w21
	add	w2, w9, #8
	ldr	x9, [x25]
	add	x3, x9, #8
	sub	w4, w21, #8
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_3:
Lloh13:
	adrp	x8, _D_SKB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _D_SKB@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_BUGLVL
	cbz	x0, LBB0_5
; %bb.4:
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_arcnet_dump_skb
LBB0_5:
	mov	x0, x22
	mov	x1, x19
	bl	_type_trans
	str	w0, [x22]
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_netif_rx
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_D_DURING,4,2                   ; @D_DURING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"it's a raw packet (length=%d)\n"

	.comm	_MinTU,4,2                      ; @MinTU
	.comm	_ARC_HDR_SIZE,8,3               ; @ARC_HDR_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_D_SKB,4,2                      ; @D_SKB
l_.str.1:                               ; @.str.1
	.asciz	"rx"

	.no_dead_strip	_rx
.subsections_via_symbols
