	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ether_print                    ## -- Begin function ether_print
	.p2align	4, 0x90
_ether_print:                           ## @ether_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	_ETHER_HDRLEN@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	cmpq	%rcx, %r12
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	jmp	LBB0_45
LBB0_2:
	movq	%rdx, %r13
	cmpq	%rdx, %r12
	jle	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	movq	%r13, %rbx
	jmp	LBB0_45
LBB0_4:
	movq	%rdi, %r15
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.5:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%rsi, %rbx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*%rax
	movq	%rbx, %rsi
LBB0_7:
	movq	%r15, %rdi
	movq	%rsi, %rbx
	movq	%r13, %rdx
	callq	_ether_hdr_print
	movq	%rbx, %rsi
	movq	(%r14), %r12
LBB0_8:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%r12,4), %r15
	movq	%rsi, %rdi
	movq	%rsi, %r14
	callq	_ESRC
	movl	%eax, -104(%rbp)
	movq	_etheraddr_string@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -112(%rbp)
	movq	%r14, %rdi
	callq	_EDST
	movl	%eax, -88(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -96(%rbp)
	movq	%r14, %rdi
	callq	_EXTRACT_16BITS
	movq	_ETHERMTU@GOTPCREL(%rip), %rbx
	cmpq	%rax, (%rbx)
	jge	LBB0_9
## %bb.16:
	movq	%rax, %r13
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	negq	%r12
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_17 Depth=1
	addq	$16, %r15
	addq	$-4, %r12
	cmpq	%r13, %rax
	jge	LBB0_10
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rbx
	movq	_ETHERTYPE_8021Q@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_ETHERTYPE_8021Q9100@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_ETHERTYPE_8021Q9200@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_ETHERTYPE_8021QinQ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_31
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$3, %rbx
	jle	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$3, %rcx
	jle	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 8(%rbx)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	callq	_EXTRACT_16BITS
	movq	%rax, %rdi
	callq	_ieee8021q_tci_string
	movslq	%eax, %rdi
	callq	_ND_PRINT
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	leaq	8(%r15), %rdi
	callq	_EXTRACT_16BITS
	movq	%rax, %r13
	cmpq	$0, 8(%rbx)
	movq	%r14, %rbx
	movq	(%r14), %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r13, %rax
	jge	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_ethertype_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	callq	_tok2str
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movq	(%rbx), %rax
	jmp	LBB0_30
LBB0_9:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	subq	%r12, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	subq	%r12, %rbx
LBB0_11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	-112(%rbp), %r8
	leaq	-96(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_llc_print
	movq	%r14, %rcx
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_15
## %bb.12:
	cmpl	$0, (%rcx)
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ND_DEFAULTPRINT
LBB0_14:
	negl	%r14d
LBB0_15:
	movl	%r14d, %eax
	addq	%rax, %r12
LBB0_44:
	movq	%r12, %rbx
LBB0_45:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_ETHERTYPE_JUMBO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_37
## %bb.32:
	leaq	-112(%rbp), %r8
	leaq	-96(%rbp), %r9
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rcx, %rdx
	movq	%rbx, %rcx
	callq	_llc_print
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_36
## %bb.33:
	cmpl	$0, (%r13)
	jne	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ND_DEFAULTPRINT
LBB0_35:
	negl	%r14d
LBB0_36:
	movl	%r14d, %ebx
	subq	%r12, %rbx
	jmp	LBB0_45
LBB0_22:
	leaq	L_.str.1(%rip), %rdi
	callq	_ND_PRINT
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_24:
	leaq	L_.str.1(%rip), %rdi
	callq	_ND_PRINT
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_10:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	%r12, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	%r12, %rbx
	negq	%r12
	jmp	LBB0_11
LBB0_37:
	negq	%r12
	leaq	-96(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-112(%rbp), %r9
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%rbx, %r8
	callq	_ethertype_print
	testq	%rax, %rax
	jne	LBB0_44
## %bb.38:
	cmpq	$0, 8(%r14)
	jne	LBB0_42
## %bb.39:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	*%rax
LBB0_41:
	movq	%r14, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_ether_hdr_print
LBB0_42:
	cmpl	$0, (%r14)
	jne	LBB0_44
## %bb.43:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ND_DEFAULTPRINT
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_HDRLEN,8,3               ## @ETHER_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|ether]"

	.comm	_etheraddr_string,8,3           ## @etheraddr_string
	.comm	_ETHERMTU,8,3                   ## @ETHERMTU
	.comm	_ETHERTYPE_8021Q,8,3            ## @ETHERTYPE_8021Q
	.comm	_ETHERTYPE_8021Q9100,8,3        ## @ETHERTYPE_8021Q9100
	.comm	_ETHERTYPE_8021Q9200,8,3        ## @ETHERTYPE_8021Q9200
	.comm	_ETHERTYPE_8021QinQ,8,3         ## @ETHERTYPE_8021QinQ
L_.str.1:                               ## @.str.1
	.asciz	"[|vlan]"

	.comm	_ethertype_values,4,2           ## @ethertype_values
L_.str.4:                               ## @.str.4
	.asciz	"0x%04x"

	.comm	_ETHERTYPE_JUMBO,8,3            ## @ETHERTYPE_JUMBO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ether_print                    ; -- Begin function ether_print
	.p2align	2
_ether_print:                           ; @ether_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x3
Lloh0:
	adrp	x21, _ETHER_HDRLEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETHER_HDRLEN@GOTPAGEOFF]
	ldr	x28, [x21]
	cmp	x28, x3
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	b	LBB0_26
LBB0_2:
	mov	x22, x2
	cmp	x28, x2
	b.le	LBB0_5
; %bb.3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_ND_PRINT
	mov	x20, x22
	b	LBB0_26
LBB0_5:
	mov	x27, x5
	mov	x24, x4
	mov	x23, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.6:
	cbz	x24, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x27
	blr	x24
LBB0_8:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_ether_hdr_print
	ldr	x28, [x21]
LBB0_9:
	add	x21, x23, x28, lsl #2
	mov	x0, x23
	bl	_ESRC
	str	w0, [sp, #40]
Lloh6:
	adrp	x25, _etheraddr_string@GOTPAGE
Lloh7:
	ldr	x25, [x25, _etheraddr_string@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [sp, #32]
	mov	x0, x23
	bl	_EDST
	str	w0, [sp, #24]
	ldr	x8, [x25]
	str	x8, [sp, #16]
	mov	x0, x23
	bl	_EXTRACT_16BITS
Lloh8:
	adrp	x25, _ETHERMTU@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ETHERMTU@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x0
	b.ge	LBB0_20
; %bb.10:
	mov	x26, x0
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	neg	x27, x28
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #16
	sub	x27, x27, #4
	cmp	x8, x26
	b.ge	LBB0_35
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x3, x22, x27
	add	x28, x20, x27
Lloh10:
	adrp	x8, _ETHERTYPE_8021Q@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETHERTYPE_8021Q@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _ETHERTYPE_8021Q9100@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ETHERTYPE_8021Q9100@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _ETHERTYPE_8021Q9200@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ETHERTYPE_8021Q9200@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
Lloh19:
	adrp	x11, _ETHERTYPE_8021QinQ@GOTPAGE
Lloh20:
	ldr	x11, [x11, _ETHERTYPE_8021QinQ@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	cmp	x26, x8
	ccmp	x26, x9, #4, ne
	ccmp	x26, x10, #4, ne
	ccmp	x26, x11, #4, ne
	b.ne	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x28, #3
	b.le	LBB0_33
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x3, #3
	b.le	LBB0_34
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x21
	bl	_EXTRACT_16BITS
	bl	_ieee8021q_tci_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, x21, #8
	bl	_EXTRACT_16BITS
	mov	x26, x0
	ldr	x9, [x19, #8]
	ldr	x8, [x25]
	cbz	x9, LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x8, x26
	b.ge	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh22:
	adrp	x8, _ethertype_values@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ethertype_values@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x26
	bl	_tok2str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	x8, [x25]
	b	LBB0_11
LBB0_20:
	sub	x2, x22, x28
	sub	x20, x20, x28
LBB0_21:
	add	x4, sp, #32
	add	x5, sp, #16
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_llc_print
	mov	x22, x0
	tbz	w0, #31, LBB0_25
; %bb.22:
	ldr	w8, [x19]
	cbnz	w8, LBB0_24
; %bb.23:
	mov	x0, x21
	mov	x1, x20
	bl	_ND_DEFAULTPRINT
LBB0_24:
	neg	w22, w22
LBB0_25:
	add	x20, x28, w22, uxtw
LBB0_26:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_27:
Lloh27:
	adrp	x8, _ETHERTYPE_JUMBO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETHERTYPE_JUMBO@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ne	LBB0_36
; %bb.28:
	add	x4, sp, #32
	add	x5, sp, #16
	mov	x0, x19
	mov	x1, x21
	mov	x2, x3
	mov	x3, x28
	bl	_llc_print
	mov	x20, x0
	tbz	w0, #31, LBB0_32
; %bb.29:
	ldr	w8, [x19]
	cbnz	w8, LBB0_31
; %bb.30:
	mov	x0, x21
	mov	x1, x28
	bl	_ND_DEFAULTPRINT
LBB0_31:
	neg	w20, w20
LBB0_32:
	mov	w8, w20
	sub	x20, x8, x27
	b	LBB0_26
LBB0_33:
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ND_PRINT
	b	LBB0_26
LBB0_34:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_35:
	neg	x28, x27
	add	x2, x22, x27
	add	x20, x20, x27
	b	LBB0_21
LBB0_36:
	neg	x20, x27
	add	x5, sp, #32
	add	x6, sp, #16
	mov	x0, x19
	mov	x1, x26
	mov	x2, x21
	mov	x4, x28
	bl	_ethertype_print
	cbnz	x0, LBB0_26
; %bb.37:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_41
; %bb.38:
	cbz	x24, LBB0_40
; %bb.39:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	blr	x24
LBB0_40:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_ether_hdr_print
LBB0_41:
	ldr	w8, [x19]
	cbnz	w8, LBB0_26
; %bb.42:
	mov	x0, x21
	mov	x1, x28
	bl	_ND_DEFAULTPRINT
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_HDRLEN,8,3               ; @ETHER_HDRLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|ether]"

	.comm	_etheraddr_string,8,3           ; @etheraddr_string
	.comm	_ETHERMTU,8,3                   ; @ETHERMTU
	.comm	_ETHERTYPE_8021Q,8,3            ; @ETHERTYPE_8021Q
	.comm	_ETHERTYPE_8021Q9100,8,3        ; @ETHERTYPE_8021Q9100
	.comm	_ETHERTYPE_8021Q9200,8,3        ; @ETHERTYPE_8021Q9200
	.comm	_ETHERTYPE_8021QinQ,8,3         ; @ETHERTYPE_8021QinQ
l_.str.1:                               ; @.str.1
	.asciz	"[|vlan]"

	.comm	_ethertype_values,4,2           ; @ethertype_values
l_.str.4:                               ; @.str.4
	.asciz	"0x%04x"

	.comm	_ETHERTYPE_JUMBO,8,3            ; @ETHERTYPE_JUMBO
.subsections_via_symbols
