	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gre_print_1
_gre_print_1:                           ## @gre_print_1
	.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
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %r14d
	leaq	8(%r13), %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_gre_flag_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_bittok2str
	movslq	%eax, %rdi
	callq	_ND_PRINT
LBB0_2:
	movl	(%r12), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	cmpl	$4, %r15d
	jl	LBB0_21
## %bb.3:
	movq	%r12, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	16(%r13), %r12
	movq	_GRE_KP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.5:
	movl	(%r12), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	cmpl	$8, %r15d
	jb	LBB0_21
## %bb.6:
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movzwl	%ax, %edi
	callq	_ND_PRINT
	leal	-8(%r15), %eax
	addq	$32, %r13
	movq	%r13, %r12
	movl	%eax, %r13d
	jmp	LBB0_7
LBB0_4:
	leal	-4(%r15), %r13d
LBB0_7:
	movq	_GRE_SP@GOTPCREL(%rip), %rbx
	testl	%r14d, (%rbx)
	je	LBB0_10
## %bb.8:
	movl	(%r12), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	cmpl	$4, %r13d
	jb	LBB0_21
## %bb.9:
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	addq	$16, %r12
	addl	$-4, %r13d
LBB0_10:
	movq	_GRE_AP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_13
## %bb.11:
	movl	(%r12), %edi
	movl	$4, %esi
	callq	_ND_TCHECK2
	cmpl	$4, %r13d
	jae	LBB0_12
LBB0_21:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_12:
	movq	%r12, %rdi
	callq	_EXTRACT_32BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	addq	$16, %r12
	addl	$-4, %r13d
LBB0_13:
	testl	%r14d, (%rbx)
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	callq	_ND_PRINT
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	movq	_ethertype_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_tok2str
	movslq	%ebx, %rdi
	movq	_GRE_SP@GOTPCREL(%rip), %rbx
	callq	_ND_PRINT
LBB0_17:
	movl	%r15d, %edi
	callq	_ND_PRINT
	testl	%r14d, (%rbx)
	je	LBB0_22
## %bb.18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, (%rbx)
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.10(%rip), %rdi
	cmovleq	%rax, %rdi
	callq	_ND_PRINT
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$128, %eax
	jne	LBB0_19
## %bb.23:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ppp_print                      ## TAILCALL
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movslq	%eax, %rdi
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_gre_flag_values,4,2            ## @gre_flag_values
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"none"

	.comm	_GRE_KP,4,2                     ## @GRE_KP
	.comm	_GRE_SP,4,2                     ## @GRE_SP
	.comm	_GRE_AP,4,2                     ## @GRE_AP
L_.str.5:                               ## @.str.5
	.asciz	", no-payload"

	.comm	_ethertype_values,4,2           ## @ethertype_values
L_.str.7:                               ## @.str.7
	.asciz	"unknown"

L_.str.9:                               ## @.str.9
	.asciz	": "

L_.str.10:                              ## @.str.10
	.asciz	"\n\t"

	.comm	_tstr,4,2                       ## @tstr
	.no_dead_strip	_gre_print_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gre_print_1
_gre_print_1:                           ; @gre_print_1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x25, x1
	mov	x19, x0
	mov	x0, x1
	bl	_EXTRACT_16BITS
	mov	x20, x0
	add	x23, x25, #8
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _gre_flag_values@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gre_flag_values@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_bittok2str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
LBB0_2:
	ldr	w0, [x23]
	mov	w1, #2
	bl	_ND_TCHECK2
	subs	w22, w21, #4
	b.lt	LBB0_11
; %bb.3:
	mov	x0, x23
	bl	_EXTRACT_16BITS
	mov	x23, x0
	add	x24, x25, #16
Lloh5:
	adrp	x8, _GRE_KP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRE_KP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.4:
	ldr	w0, [x24]
	mov	w1, #4
	bl	_ND_TCHECK2
	subs	w22, w21, #8
	b.lo	LBB0_11
; %bb.5:
	mov	x0, x24
	bl	_EXTRACT_32BITS
	and	w0, w0, #0xffff
	bl	_ND_PRINT
	add	x24, x25, #32
LBB0_6:
Lloh8:
	adrp	x25, _GRE_SP@GOTPAGE
Lloh9:
	ldr	x25, [x25, _GRE_SP@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.7:
	ldr	w0, [x24]
	mov	w1, #4
	bl	_ND_TCHECK2
	subs	w22, w22, #4
	b.lo	LBB0_11
; %bb.8:
	mov	x0, x24
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	add	x24, x24, #16
LBB0_9:
Lloh10:
	adrp	x8, _GRE_AP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GRE_AP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.10:
	ldr	w0, [x24]
	mov	w1, #4
	bl	_ND_TCHECK2
	subs	w22, w22, #4
	b.hs	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _tstr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh15:
	ldrsw	x0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_13:
	mov	x0, x24
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	add	x24, x24, #16
LBB0_14:
	ldr	w8, [x25]
	tst	w8, w20
	b.ne	LBB0_16
; %bb.15:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ND_PRINT
LBB0_16:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_18
; %bb.17:
Lloh18:
	adrp	x8, _ethertype_values@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ethertype_values@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x23
	bl	_tok2str
	sxtw	x0, w23
	bl	_ND_PRINT
LBB0_18:
	mov	w0, w21
	bl	_ND_PRINT
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_21
; %bb.19:
	ldr	w8, [x19]
Lloh23:
	adrp	x9, l_.str.10@PAGE
Lloh24:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh25:
	adrp	x10, l_.str.9@PAGE
Lloh26:
	add	x10, x10, l_.str.9@PAGEOFF
	cmp	w8, #1
	csel	x0, x10, x9, lt
	bl	_ND_PRINT
	cmp	w23, #128
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ppp_print
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x0, w23
	b	LBB0_12
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_gre_flag_values,4,2            ; @gre_flag_values
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"none"

	.comm	_GRE_KP,4,2                     ; @GRE_KP
	.comm	_GRE_SP,4,2                     ; @GRE_SP
	.comm	_GRE_AP,4,2                     ; @GRE_AP
l_.str.5:                               ; @.str.5
	.asciz	", no-payload"

	.comm	_ethertype_values,4,2           ; @ethertype_values
l_.str.7:                               ; @.str.7
	.asciz	"unknown"

l_.str.9:                               ; @.str.9
	.asciz	": "

l_.str.10:                              ; @.str.10
	.asciz	"\n\t"

	.comm	_tstr,4,2                       ; @tstr
	.no_dead_strip	_gre_print_1
.subsections_via_symbols
