	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bgp_update_print
_bgp_update_print:                      ## @bgp_update_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %edi
	movq	_BGP_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ND_TCHECK2
	movl	(%r15), %edx
	cmpl	%r14d, %edx
	jg	LBB0_30
## %bb.1:
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movslq	(%r15), %r15
	subl	%r15d, %r14d
	movl	(%rbx,%r15,4), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	cmpl	$2, %r14d
	jl	LBB0_30
## %bb.2:
	leaq	(%rbx,%r15,4), %r15
	movq	%r15, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %ebx
	addq	$8, %r15
	addl	$-2, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ND_TCHECK2
	subl	%ebx, %r14d
	jl	LBB0_30
## %bb.4:
	movslq	%ebx, %r12
	movq	%r12, %rdi
	callq	_ND_PRINT
	leaq	(%r15,%r12,4), %r15
LBB0_5:
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	cmpl	$2, %r14d
	jge	LBB0_6
LBB0_30:
	leaq	L_.str.15(%rip), %rdi
LBB0_31:
	callq	_ND_PRINT
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %r12d
	addl	$-2, %r14d
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.7:
	testl	%r12d, %r12d
	jne	LBB0_10
## %bb.8:
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_31
LBB0_10:
	addq	$8, %r15
	testl	%r12d, %r12d
	je	LBB0_11
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_ND_TCHECK2
	cmpl	$2, %r12d
	jl	LBB0_30
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$2, %r14d
	jl	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%r15), %r13d
	movl	4(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	8(%r15), %rsi
	addl	$-2, %r12d
	movl	%r13d, %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_bgp_attr_lenlen
	movl	%eax, %ebx
	movl	8(%r15), %edi
	movl	%eax, %esi
	callq	_ND_TCHECK2
	subl	%ebx, %r12d
	jl	LBB0_30
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%ebx, %r15d
	addl	$-2, %r14d
	subl	%ebx, %r14d
	jl	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%r13d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_bgp_attr_len
	movl	%eax, %ebx
	movq	_bgp_attr_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_tok2str
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_ND_PRINT
	testq	%r13, %r13
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	testb	$16, %r13b
	leaq	L_.str.9(%rip), %rdi
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %rdi
	callq	_ND_PRINT
	andq	$15, %r13
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	callq	_ND_PRINT
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	leaq	L_.str.11(%rip), %rdi
	callq	_ND_PRINT
LBB0_25:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %r12d
	jl	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	%ebx, %r14d
	jl	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_17 Depth=1
	movslq	%r15d, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_bgp_attr_print
	testl	%eax, %eax
	je	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %r15
	subl	%ebx, %r14d
	subl	%ebx, %r12d
	jne	LBB0_17
LBB0_11:
	testl	%r14d, %r14d
	je	LBB0_32
## %bb.12:
	leaq	L_.str.12(%rip), %rdi
	callq	_ND_PRINT
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r13
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$100, %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	callq	_decode_prefix4
	movl	%eax, %ebx
	leal	3(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$-1, %ebx
	je	LBB0_15
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	callq	_ND_PRINT
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %r15
	subl	%ebx, %r14d
	movq	%r13, %rsp
	jne	LBB0_13
	jmp	LBB0_32
LBB0_29:
	movq	%r13, %rsp
	jmp	LBB0_30
LBB0_15:
	leaq	L_.str.13(%rip), %rdi
	callq	_ND_PRINT
	movq	%r13, %rsp
	jmp	LBB0_32
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BGP_SIZE,4,2                   ## @BGP_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\n\t  End-of-Rib Marker (empty NLRI)"

	.comm	_bgp_attr_values,4,2            ## @bgp_attr_values
L_.str.3:                               ## @.str.3
	.asciz	"Unknown Attribute"

L_.str.6:                               ## @.str.6
	.space	1

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

L_.str.11:                              ## @.str.11
	.asciz	"]: "

L_.str.12:                              ## @.str.12
	.asciz	"\n\t  Updated routes:"

	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
L_.str.13:                              ## @.str.13
	.asciz	"\n\t    (illegal prefix length)"

L_.str.15:                              ## @.str.15
	.asciz	"[|BGP]"

	.no_dead_strip	_bgp_update_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bgp_update_print
_bgp_update_print:                      ; @bgp_update_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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x1]
Lloh3:
	adrp	x22, _BGP_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _BGP_SIZE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_ND_TCHECK2
	ldr	w2, [x22]
	cmp	w2, w20
	b.gt	LBB0_6
; %bb.1:
	sub	x0, x29, #96
	mov	x1, x21
	bl	_memcpy
	ldrsw	x8, [x22]
	add	x22, x21, x8, lsl #2
	sub	w20, w20, w8
	ldr	w0, [x22]
	mov	w1, #2
	bl	_ND_TCHECK2
	subs	w23, w20, #2
	b.lt	LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_EXTRACT_16BITS
	mov	x21, x0
	add	x20, x22, #8
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x20]
	mov	x1, x21
	bl	_ND_TCHECK2
	subs	w23, w23, w21
	b.lt	LBB0_6
; %bb.4:
	sxtw	x0, w21
	bl	_ND_PRINT
	add	x20, x20, w21, sxtw #2
LBB0_5:
	ldr	w0, [x20]
	mov	w1, #2
	bl	_ND_TCHECK2
	subs	w22, w23, #2
	b.ge	LBB0_10
LBB0_6:
Lloh5:
	adrp	x0, l_.str.15@PAGE
Lloh6:
	add	x0, x0, l_.str.15@PAGEOFF
LBB0_7:
	bl	_ND_PRINT
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.9:
	sub	sp, x29, #80
	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_10:
	mov	x0, x20
	bl	_EXTRACT_16BITS
	cmp	w21, #0
	ccmp	w0, #0, #0, eq
	ccmp	w22, #0, #0, eq
	b.eq	LBB0_29
; %bb.11:
	mov	x24, x0
	add	x23, x20, #8
	cbz	w0, LBB0_24
; %bb.12:
Lloh10:
	adrp	x20, l_.str.3@PAGE
Lloh11:
	add	x20, x20, l_.str.3@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	w1, #2
	bl	_ND_TCHECK2
	subs	w21, w24, #2
	b.lt	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	subs	w28, w22, #2
	b.lt	LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	w27, w22, [x23]
	add	x24, x23, #8
	mov	x0, x27
	mov	x1, x24
	bl	_bgp_attr_lenlen
	mov	x25, x0
	ldr	w0, [x23, #8]
	mov	x1, x25
	bl	_ND_TCHECK2
	subs	w21, w21, w25
	ccmp	w28, w25, #8, ge
	b.lt	LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x27
	mov	x1, x24
	bl	_bgp_attr_len
	mov	x23, x0
Lloh12:
	adrp	x8, _bgp_attr_values@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bgp_attr_values@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x22
	bl	_tok2str
	sxtw	x26, w23
	mov	x0, x26
	bl	_ND_PRINT
	cbz	w27, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	tst	w27, #0x10
Lloh15:
	adrp	x8, l_.str.9@PAGE
Lloh16:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh17:
	adrp	x9, l_.str.6@PAGE
Lloh18:
	add	x9, x9, l_.str.6@PAGEOFF
	csel	x0, x9, x8, eq
	bl	_ND_PRINT
	and	x0, x27, #0xf
	cbz	w0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_ND_PRINT
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh19:
	adrp	x0, l_.str.11@PAGE
Lloh20:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_ND_PRINT
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w21, w26
	b.lt	LBB0_6
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w27, w28, w25
	cmp	w27, w26
	b.lt	LBB0_6
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x24, w25, sxtw #2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x26
	bl	_bgp_attr_print
	cbz	w0, LBB0_6
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, x26, lsl #2
	sub	w22, w27, w26
	sub	w24, w21, w26
	cbnz	w24, LBB0_13
LBB0_24:
	cbz	w22, LBB0_8
; %bb.25:
Lloh21:
	adrp	x0, l_.str.12@PAGE
Lloh22:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_ND_PRINT
Lloh23:
	adrp	x24, _MAXHOSTNAMELEN@GOTPAGE
Lloh24:
	ldr	x24, [x24, _MAXHOSTNAMELEN@GOTPAGEOFF]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, sp
	ldr	w8, [x24]
	add	w4, w8, #100
	mov	x9, x4
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x4, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_decode_prefix4
	add	w8, w0, #3
	cmp	w8, #2
	b.lo	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x21, x0
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	bl	_ND_PRINT
	add	x23, x23, w21, sxtw #2
	subs	w22, w22, w21
	mov	sp, x25
	b.ne	LBB0_26
	b	LBB0_8
LBB0_29:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_30:
	mov	sp, x25
	b	LBB0_6
LBB0_31:
Lloh29:
	adrp	x0, l_.str.13@PAGE
Lloh30:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_ND_PRINT
	mov	sp, x25
	b	LBB0_8
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_BGP_SIZE,4,2                   ; @BGP_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\n\t  End-of-Rib Marker (empty NLRI)"

	.comm	_bgp_attr_values,4,2            ; @bgp_attr_values
l_.str.3:                               ; @.str.3
	.asciz	"Unknown Attribute"

l_.str.6:                               ; @.str.6
	.space	1

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

l_.str.11:                              ; @.str.11
	.asciz	"]: "

l_.str.12:                              ; @.str.12
	.asciz	"\n\t  Updated routes:"

	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
l_.str.13:                              ; @.str.13
	.asciz	"\n\t    (illegal prefix length)"

l_.str.15:                              ; @.str.15
	.asciz	"[|BGP]"

	.no_dead_strip	_bgp_update_print
.subsections_via_symbols
