	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_linux_if_print          ## -- Begin function arcnet_linux_if_print
	.p2align	4, 0x90
_arcnet_linux_if_print:                 ## @arcnet_linux_if_print
	.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), %rbx
	movq	_ARC_LINUX_HDRLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %rbx
	jl	LBB0_2
## %bb.1:
	movq	8(%rsi), %r12
	cmpq	%r13, %r12
	jl	LBB0_2
## %bb.3:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	(%rdx), %esi
	leal	-128(%rsi), %eax
	cmpl	$3, %eax
	jb	LBB0_6
## %bb.4:
	movq	_ARC_LINUX_HDRNEWLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %rbx
	jl	LBB0_2
## %bb.5:
	cmpq	%r13, %r12
	jl	LBB0_2
LBB0_6:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_arcnet_print
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_8:
	movslq	%r13d, %r13
	subq	%r13, %r12
	subq	%r13, %rbx
	leaq	(%r15,%r13,4), %r15
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_arcnet_encap_print
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ND_DEFAULTPRINT
LBB0_10:
	movq	%r13, %rbx
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARC_LINUX_HDRLEN,8,3           ## @ARC_LINUX_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|arcnet]"

	.comm	_ARC_LINUX_HDRNEWLEN,8,3        ## @ARC_LINUX_HDRNEWLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_linux_if_print          ; -- Begin function arcnet_linux_if_print
	.p2align	2
_arcnet_linux_if_print:                 ; @arcnet_linux_if_print
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	x19, x22, [x1]
Lloh0:
	adrp	x8, _ARC_LINUX_HDRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_LINUX_HDRLEN@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	cmp	x19, x24
	ccmp	x22, x24, #8, ge
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x20, x0
	ldr	w23, [x2]
	sub	w8, w23, #128
	cmp	w8, #3
	b.lo	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ARC_LINUX_HDRNEWLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARC_LINUX_HDRNEWLEN@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	cmp	x19, x24
	ccmp	x22, x24, #8, ge
	b.ge	LBB0_4
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_arcnet_print
LBB0_6:
	lsl	x8, x24, #32
	sxtw	x24, w24
	sub	x3, x22, x24
	sub	x19, x19, x24
	add	x21, x21, x8, asr #30
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x4, x19
	bl	_arcnet_encap_print
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x19
	bl	_ND_DEFAULTPRINT
LBB0_8:
	mov	x19, x24
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_LINUX_HDRLEN,8,3           ; @ARC_LINUX_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|arcnet]"

	.comm	_ARC_LINUX_HDRNEWLEN,8,3        ; @ARC_LINUX_HDRNEWLEN
.subsections_via_symbols
