	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_labeled_vpn_clnp_prefix
_decode_labeled_vpn_clnp_prefix:        ## @decode_labeled_vpn_clnp_prefix
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %edi
	callq	_ND_TCHECK
	movl	(%r12), %r14d
	movl	$-1, %ebx
	cmpl	$88, %r14d
	jl	LBB0_5
## %bb.1:
	cmpl	$240, %r14d
	ja	LBB0_5
## %bb.2:
	movl	%r15d, -136(%rbp)               ## 4-byte Spill
	leal	-88(%r14), %eax
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	movl	$76, %edx
	callq	_memset
	leaq	48(%r12), %r15
	movl	48(%r12), %edi
	leal	175(%r14), %ebx
	shrl	$3, %ebx
	andl	$31, %ebx
	movl	%ebx, %esi
	callq	_ND_TCHECK2
	leaq	-128(%rbp), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	andl	$7, %r14d
	je	LBB0_4
## %bb.3:
	movl	$65280, %eax                    ## imm = 0xFF00
	movl	%r14d, %ecx
	shrl	%cl, %eax
	movl	%ebx, %ecx
	movzbl	-132(%rbp,%rcx,4), %edx
	andl	%eax, %edx
	movl	%edx, -132(%rbp,%rcx,4)
LBB0_4:
	leaq	16(%r12), %rsi
	movq	%r13, %rdi
	callq	_bgp_vpn_rd_print
	movq	%rax, %r14
	leaq	-128(%rbp), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_isonsap_string
	movq	%rax, %r15
	leaq	4(%r12), %rdi
	callq	_EXTRACT_24BITS
                                        ## kill: def $eax killed $eax def $rax
	sarl	$4, %eax
	testb	$1, 12(%r12)
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r10
	cmoveq	%rcx, %r10
	leaq	L_.str(%rip), %rdx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movl	-136(%rbp), %esi                ## 4-byte Reload
	movq	%r14, %rcx
	movq	%r15, %r8
	movl	-132(%rbp), %r9d                ## 4-byte Reload
	pushq	%r10
	pushq	%rax
	callq	_snprintf
	addq	$16, %rsp
	addl	$12, %ebx
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.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_clnp_prefix
.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_clnp_prefix
_decode_labeled_vpn_clnp_prefix:        ; @decode_labeled_vpn_clnp_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	ldr	w0, [x1]
	bl	_ND_TCHECK
	ldr	w26, [x22]
	subs	w21, w26, #88
	b.lt	LBB0_2
; %bb.1:
	cmp	w26, #240
	b.ls	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_6
LBB0_3:
	add	x27, sp, #12
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #76
	bl	_memset
	mov	x25, x22
	ldr	w0, [x25, #48]!
	add	w8, w26, #175
	ubfx	x24, x8, #3, #5
	mov	x1, x24
	bl	_ND_TCHECK2
	add	x0, sp, #12
	mov	x1, x25
	mov	x2, x24
	bl	_memcpy
	ands	w8, w26, #0x7
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #65280
	lsr	w8, w9, w8
	add	x9, x27, x24, lsl #2
	ldur	w10, [x9, #-4]
	and	w8, w8, w10
	and	w8, w8, #0xfe
	stur	w8, [x9, #-4]
LBB0_5:
	add	x1, x22, #16
	mov	x0, x23
	bl	_bgp_vpn_rd_print
	mov	x25, x0
	add	x1, sp, #12
	mov	x0, x23
	mov	x2, x24
	bl	_isonsap_string
	mov	x23, x0
	add	x0, x22, #4
	bl	_EXTRACT_24BITS
	asr	w6, w0, #4
	ldr	w8, [x22, #12]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, #0x1
	csel	x7, x10, x9, eq
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x3, x25
	mov	x4, x23
	mov	x5, x21
	bl	_snprintf
	add	w0, w24, #12
LBB0_6:
	ldr	x8, [sp, #88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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_clnp_prefix
.subsections_via_symbols
