	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_labeled_vpn_prefix6
_decode_labeled_vpn_prefix6:            ## @decode_labeled_vpn_prefix6
	.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, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %edi
	callq	_ND_TCHECK
	movl	(%rbx), %r14d
	movl	$-1, %eax
	cmpl	$88, %r14d
	jl	LBB0_5
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	cmpl	$216, %r14d
	ja	LBB0_5
## %bb.2:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	leal	-88(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	48(%rbx), %r15
	movl	48(%rbx), %edi
	leal	175(%r14), %r12d
	shrl	$3, %r12d
	andl	$31, %r12d
	movl	%r12d, %esi
	callq	_ND_TCHECK2
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	andl	$7, %r14d
	je	LBB0_4
## %bb.3:
	movl	$65280, %eax                    ## imm = 0xFF00
	movl	%r14d, %ecx
	shrl	%cl, %eax
	movq	-56(%rbp), %rcx
	movl	%r12d, %edx
	movzbl	-4(%rcx,%rdx,4), %esi
	andl	%eax, %esi
	movl	%esi, -4(%rcx,%rdx,4)
LBB0_4:
	leaq	16(%rbx), %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_bgp_vpn_rd_print
	movq	%rax, %r14
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ip6addr_string
	movq	%rax, %r15
	leaq	4(%rbx), %rdi
	callq	_EXTRACT_24BITS
                                        ## kill: def $eax killed $eax def $rax
	sarl	$4, %eax
	testb	$1, 12(%rbx)
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rcx, %rbx
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	%r15, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_snprintf
	addq	$16, %rsp
	addl	$12, %r12d
	movl	%r12d, %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RD: %s, %s/%d, label:%u %s"

L_.str.1:                               ## @.str.1
	.asciz	"(BOGUS: Bottom of Stack NOT set!)"

L_.str.2:                               ## @.str.2
	.asciz	"(bottom)"

	.no_dead_strip	_decode_labeled_vpn_prefix6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_labeled_vpn_prefix6
_decode_labeled_vpn_prefix6:            ; @decode_labeled_vpn_prefix6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x24, x0
	ldr	w0, [x1]
	bl	_ND_TCHECK
	ldr	w26, [x22]
	subs	w21, w26, #88
	b.lt	LBB0_2
; %bb.1:
	cmp	w26, #216
	b.ls	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_6
LBB0_3:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x25, x22
	ldr	w0, [x25, #48]!
	add	w8, w26, #175
	ubfx	w23, w8, #3, #5
	mov	x1, x23
	bl	_ND_TCHECK2
	add	x0, sp, #8
	mov	x1, x25
	mov	x2, x23
	bl	_memcpy
	ands	w8, w26, #0x7
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #65280
	lsr	w8, w9, w8
	ldr	x9, [sp, #8]
	sub	w10, w23, #1
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x9, x10]
	and	w8, w8, w11
	and	w8, w8, #0xfe
	str	w8, [x9, x10]
LBB0_5:
	add	x1, x22, #16
	mov	x0, x24
	bl	_bgp_vpn_rd_print
	mov	x25, x0
	add	x1, sp, #8
	mov	x0, x24
	bl	_ip6addr_string
	mov	x24, x0
	add	x0, x22, #4
	bl	_EXTRACT_24BITS
	asr	w6, w0, #4
	ldr	w8, [x22, #12]
Lloh0:
	adrp	x9, l_.str.2@PAGE
Lloh1:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, #0x1
	csel	x7, x10, x9, eq
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x3, x25
	mov	x4, x24
	mov	x5, x21
	bl	_snprintf
	add	w0, w23, #12
LBB0_6:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RD: %s, %s/%d, label:%u %s"

l_.str.1:                               ; @.str.1
	.asciz	"(BOGUS: Bottom of Stack NOT set!)"

l_.str.2:                               ; @.str.2
	.asciz	"(bottom)"

	.no_dead_strip	_decode_labeled_vpn_prefix6
.subsections_via_symbols
