	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_if_print                ## -- Begin function arcnet_if_print
	.p2align	4, 0x90
_arcnet_if_print:                       ## @arcnet_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
	subq	$24, %rsp
	.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_HDRLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%r15, %rbx
	jl	LBB0_4
## %bb.1:
	movq	8(%rsi), %r12
	cmpq	%r15, %r12
	jl	LBB0_4
## %bb.2:
	movl	(%rdx), %esi
	leal	-128(%rsi), %eax
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	setae	%r8b
	jae	LBB0_5
## %bb.3:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r9d, %r9d
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_22
LBB0_5:
	movq	_ARC_HDRNEWLEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
## %bb.6:
	cmpq	%rax, %r12
	jl	LBB0_20
## %bb.7:
	movl	4(%rdx), %r14d
	movl	$3, %eax
	cmpl	$255, %r14d
	jne	LBB0_11
## %bb.8:
	movq	_ARC_HDRNEWLEN_EXC@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_21
## %bb.9:
	cmpq	%rax, %r12
	jl	LBB0_21
## %bb.10:
	movl	8(%rdx), %r14d
	movl	$4, %eax
LBB0_11:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax,4), %rdi
	movq	%rdx, %r13
	movb	%r8b, -44(%rbp)                 ## 1-byte Spill
	callq	_EXTRACT_16BITS
	movb	-44(%rbp), %r8b                 ## 1-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %r9
	movq	(%r15), %r15
LBB0_12:
	movb	%r8b, %cl
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.13:
	movq	%rdi, %r13
	movq	%rdx, %rsi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %r8d
	callq	_arcnet_print
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rdi
LBB0_14:
	movslq	%r15d, %r15
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.15:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.16:
	andl	$1, %r14d
	je	LBB0_19
LBB0_17:
	subq	%r15, %rbx
	leaq	(%rdx,%r15,4), %r14
	subq	%r15, %r12
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_arcnet_encap_print
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ND_DEFAULTPRINT
LBB0_19:
	movq	%r15, %rbx
	jmp	LBB0_23
LBB0_20:
	movq	%rdx, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_arcnet_print
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_22
LBB0_21:
	movq	%rdx, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_arcnet_print
	leaq	L_.str.2(%rip), %rdi
LBB0_22:
	callq	_ND_PRINT
LBB0_23:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARC_HDRLEN,8,3                 ## @ARC_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|arcnet]"

	.comm	_ARC_HDRNEWLEN,8,3              ## @ARC_HDRNEWLEN
L_.str.1:                               ## @.str.1
	.asciz	"[|phds]"

	.comm	_ARC_HDRNEWLEN_EXC,8,3          ## @ARC_HDRNEWLEN_EXC
L_.str.2:                               ## @.str.2
	.asciz	"[|phds extended]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_if_print                ; -- Begin function arcnet_if_print
	.p2align	2
_arcnet_if_print:                       ; @arcnet_if_print
	.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
	ldp	x19, x22, [x1]
Lloh0:
	adrp	x8, _ARC_HDRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_HDRLEN@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	cmp	x19, x26
	ccmp	x22, x26, #8, ge
	b.ge	LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_ND_PRINT
	b	LBB0_10
LBB0_3:
	mov	x21, x2
	mov	x20, x0
	ldr	w23, [x2]
	sub	w8, w23, #128
	cmp	w8, #2
	cset	w24, hi
	cmp	w8, #3
	b.hs	LBB0_11
; %bb.4:
	mov	w25, #0
	mov	x5, #0
	ldr	x8, [x20]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
	bl	_arcnet_print
LBB0_6:
	sxtw	x27, w26
	and	w8, w25, #0x1
	cmp	w24, #0
	ccmp	w25, #0, #4, ne
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_9
; %bb.7:
	lsl	x8, x26, #32
	sub	x19, x19, x27
	add	x21, x21, x8, asr #30
	sub	x3, x22, x27
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x4, x19
	bl	_arcnet_encap_print
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	bl	_ND_DEFAULTPRINT
LBB0_9:
	mov	x19, x27
LBB0_10:
	mov	x0, 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
LBB0_11:
Lloh5:
	adrp	x8, _ARC_HDRNEWLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARC_HDRNEWLEN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x19, x8
	ccmp	x22, x8, #8, ge
	b.ge	LBB0_13
; %bb.12:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_arcnet_print
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_13:
	ldr	w25, [x21, #4]
	cmp	w25, #255
	b.ne	LBB0_16
; %bb.14:
Lloh10:
	adrp	x8, _ARC_HDRNEWLEN_EXC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARC_HDRNEWLEN_EXC@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x19, x8
	ccmp	x22, x8, #8, ge
	b.ge	LBB0_17
; %bb.15:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_arcnet_print
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_16:
Lloh15:
	adrp	x26, _ARC_HDRNEWLEN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ARC_HDRNEWLEN@GOTPAGEOFF]
	mov	w8, #3
	b	LBB0_18
LBB0_17:
	ldr	w25, [x21, #8]
Lloh17:
	adrp	x26, _ARC_HDRNEWLEN_EXC@GOTPAGE
Lloh18:
	ldr	x26, [x26, _ARC_HDRNEWLEN_EXC@GOTPAGEOFF]
	mov	w8, #4
LBB0_18:
	add	x0, x21, x8, lsl #2
	bl	_EXTRACT_16BITS
	mov	x5, x0
	ldr	x26, [x26]
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_HDRLEN,8,3                 ; @ARC_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|arcnet]"

	.comm	_ARC_HDRNEWLEN,8,3              ; @ARC_HDRNEWLEN
l_.str.1:                               ; @.str.1
	.asciz	"[|phds]"

	.comm	_ARC_HDRNEWLEN_EXC,8,3          ; @ARC_HDRNEWLEN_EXC
l_.str.2:                               ; @.str.2
	.asciz	"[|phds extended]"

.subsections_via_symbols
