	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_link_addr
_print_link_addr:                       ## @print_link_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movq	8(%rdi), %rcx
	movq	_IFT_ETHER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%dl
	movq	_IFT_L2VLAN@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%bl
	orb	%dl, %bl
	movq	_IFT_BRIDGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	orb	%bl, %cl
	cmpb	$1, %cl
	jne	LBB0_7
## %bb.3:
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	callq	_LLADDR
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ether_ntoa_r
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_9
## %bb.6:
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	16(%rdi), %rax
	leal	1(%rax), %ecx
	xorl	%ebx, %ebx
	testq	%rax, %rax
	movslq	%ecx, %rax
	cmovgq	%rax, %rbx
	callq	_link_ntoa
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	%rbx, %rax
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_IFT_ETHER,8,3                  ## @IFT_ETHER
	.comm	_IFT_L2VLAN,8,3                 ## @IFT_L2VLAN
	.comm	_IFT_BRIDGE,8,3                 ## @IFT_BRIDGE
	.comm	_ETHER_ADDR_LEN,8,3             ## @ETHER_ADDR_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tether %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"\tlladdr %s\n"

	.no_dead_strip	_print_link_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_link_addr
_print_link_addr:                       ; @print_link_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _NI_MAXHOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_MAXHOST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x0, [x1]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x9, [x0, #8]
Lloh8:
	adrp	x10, _IFT_ETHER@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IFT_ETHER@GOTPAGEOFF]
Lloh10:
	adrp	x11, _IFT_L2VLAN@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IFT_L2VLAN@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
Lloh13:
	ldr	x11, [x11]
Lloh14:
	adrp	x12, _IFT_BRIDGE@GOTPAGE
Lloh15:
	ldr	x12, [x12, _IFT_BRIDGE@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
	cmp	x9, x12
	ccmp	x9, x11, #4, ne
	ccmp	x9, x10, #4, ne
Lloh17:
	adrp	x9, _ETHER_ADDR_LEN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x0, #16]
	add	w9, w8, #1
	sxtw	x9, w9
	cmp	x8, #0
	csel	x19, x9, xzr, gt
	bl	_link_ntoa
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.4:
	add	x1, x0, x19
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
LBB0_5:
	bl	_LLADDR
	mov	x1, x19
	bl	_ether_ntoa_r
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_IFT_ETHER,8,3                  ; @IFT_ETHER
	.comm	_IFT_L2VLAN,8,3                 ; @IFT_L2VLAN
	.comm	_IFT_BRIDGE,8,3                 ; @IFT_BRIDGE
	.comm	_ETHER_ADDR_LEN,8,3             ; @ETHER_ADDR_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tether %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"\tlladdr %s\n"

	.no_dead_strip	_print_link_addr
.subsections_via_symbols
