	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lldp_mgmt_addr_tlv_print
_lldp_mgmt_addr_tlv_print:              ## @lldp_mgmt_addr_tlv_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testl	%edx, %edx
	jle	LBB0_9
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r13
	movslq	(%rsi), %r12
	cmpl	%edx, %r12d
	jge	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	addq	$4, %r13
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_lldp_network_addr_print
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_ND_PRINT
	movl	%r12d, %r14d
	notl	%r14d
	addl	%ebx, %r14d
	movq	_LLDP_INTF_NUM_LEN@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r14d
	jl	LBB0_9
## %bb.4:
	movl	(%r13,%r12,4), %edx
	movq	_lldp_intf_numb_subtype_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_tok2str
	leaq	4(,%r12,4), %rdi
	addq	%r13, %rdi
	callq	_EXTRACT_32BITS
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movslq	(%rbx), %rax
	subl	%eax, %r14d
	je	LBB0_8
## %bb.5:
	leaq	(,%r12,4), %rcx
	addq	%r13, %rcx
	leaq	(%rcx,%rax,4), %r12
	movslq	(%r12), %rbx
	leal	1(%rbx), %eax
	cmpl	%eax, %r14d
	jb	LBB0_9
## %bb.6:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_ND_PRINT
	addq	$4, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_safeputs
LBB0_8:
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLDP_INTF_NUM_LEN,4,2          ## @LLDP_INTF_NUM_LEN
	.comm	_lldp_intf_numb_subtype_values,4,2 ## @lldp_intf_numb_subtype_values
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Unknown"

	.no_dead_strip	_lldp_mgmt_addr_tlv_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lldp_mgmt_addr_tlv_print
_lldp_mgmt_addr_tlv_print:              ; @lldp_mgmt_addr_tlv_print
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	ldrsw	x22, [x20], #4
	cmp	w22, w2
	b.ge	LBB0_4
; %bb.2:
	mov	x19, x0
	mov	x1, x20
	mov	x2, x22
	bl	_lldp_network_addr_print
	cbz	x0, LBB0_5
; %bb.3:
	bl	_ND_PRINT
	mvn	w8, w22
Lloh0:
	adrp	x23, _LLDP_INTF_NUM_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LLDP_INTF_NUM_LEN@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w21, w8, w21
	cmp	w21, w9
	b.ge	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	add	x22, x20, x22, lsl #2
	mov	x20, x22
	ldr	w2, [x20], #4
Lloh2:
	adrp	x8, _lldp_intf_numb_subtype_values@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lldp_intf_numb_subtype_values@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_tok2str
	mov	x0, x20
	bl	_EXTRACT_32BITS
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldrsw	x9, [x23]
	subs	w8, w21, w9
	b.eq	LBB0_10
; %bb.7:
	add	x21, x22, x9, lsl #2
	ldrsw	x20, [x21]
	add	w9, w20, #1
	cmp	w8, w9
	b.lo	LBB0_4
; %bb.8:
	cbz	w20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_ND_PRINT
	add	x1, x21, #4
	mov	x0, x19
	mov	x2, x20
	bl	_safeputs
LBB0_10:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LLDP_INTF_NUM_LEN,4,2          ; @LLDP_INTF_NUM_LEN
	.comm	_lldp_intf_numb_subtype_values,4,2 ; @lldp_intf_numb_subtype_values
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Unknown"

	.no_dead_strip	_lldp_mgmt_addr_tlv_print
.subsections_via_symbols
