	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linksock_print_addr
_linksock_print_addr:                   ## @linksock_print_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -40(%rbp)
	movq	(%r15), %rax
	movq	_LS_MODE_TCP_ACCEPT_FROM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_D_INIT_MEDIUM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_M_INFO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	cmpq	$0, 32(%r15)
	je	LBB0_5
## %bb.4:
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movl	$1, %edx
	callq	_proto2ascii
	leaq	L_.str(%rip), %rsi
LBB0_13:
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_msg
	jmp	LBB0_14
LBB0_5:
	cmpq	$0, 24(%r15)
	je	LBB0_12
## %bb.6:
	movq	8(%r15), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.7:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rbx), %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rdi
	callq	_ASSERT
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movl	$1, %edx
	callq	_proto2ascii
	movl	%eax, %r12d
	movl	8(%rbx), %edi
	leaq	-40(%rbp), %rsi
	callq	_print_sockaddr
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_msg
LBB0_14:
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movl	$1, %edx
	callq	_proto2ascii
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	movq	_PS_SHOW_PORT_IF_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %r15
	movq	%r15, %rcx
	callq	_print_link_socket_actual_ex
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_msg
	movq	%r15, %rdi
	callq	_gc_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movl	$1, %edx
	callq	_proto2ascii
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_LS_MODE_TCP_ACCEPT_FROM,8,3    ## @LS_MODE_TCP_ACCEPT_FROM
	.comm	_D_INIT_MEDIUM,4,2              ## @D_INIT_MEDIUM
	.comm	_M_INFO,4,2                     ## @M_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s link local: [inetd]"

L_.str.1:                               ## @.str.1
	.asciz	"%s link local (bound): %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s link local: (not bound)"

L_.str.3:                               ## @.str.3
	.asciz	"%s link remote: %s"

L_.str.4:                               ## @.str.4
	.asciz	":"

	.comm	_PS_SHOW_PORT_IF_DEFINED,4,2    ## @PS_SHOW_PORT_IF_DEFINED
	.no_dead_strip	_linksock_print_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linksock_print_addr
_linksock_print_addr:                   ; @linksock_print_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_gc_new
	str	w0, [sp, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _LS_MODE_TCP_ACCEPT_FROM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LS_MODE_TCP_ACCEPT_FROM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _D_INIT_MEDIUM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _D_INIT_MEDIUM@GOTPAGEOFF]
Lloh5:
	adrp	x11, _M_INFO@GOTPAGE
Lloh6:
	ldr	x11, [x11, _M_INFO@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w19, [x8]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	w1, w0, [x20, #16]
	mov	w2, #1
	bl	_proto2ascii
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	b	LBB0_8
LBB0_3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	x9, [x20, #8]
	ldp	x8, x21, [x9]
	cmp	x21, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_5
LBB0_7:
	mov	x0, x21
	bl	_ASSERT
	ldp	w1, w0, [x20, #16]
	mov	w2, #1
	bl	_proto2ascii
	mov	x22, x0
	ldr	w0, [x21, #8]
	add	x1, sp, #8
	bl	_print_sockaddr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
LBB0_8:
	bl	_msg
	ldp	w1, w0, [x20, #16]
	mov	w2, #1
	bl	_proto2ascii
	mov	x21, x0
	ldr	x0, [x20, #8]
Lloh11:
	adrp	x8, _PS_SHOW_PORT_IF_DEFINED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PS_SHOW_PORT_IF_DEFINED@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x3, sp, #8
	bl	_print_link_socket_actual_ex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_msg
	add	x0, sp, #8
	bl	_gc_free
	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
	add	sp, sp, #64
	ret
LBB0_9:
	ldp	w1, w0, [x20, #16]
	mov	w2, #1
	bl	_proto2ascii
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LS_MODE_TCP_ACCEPT_FROM,8,3    ; @LS_MODE_TCP_ACCEPT_FROM
	.comm	_D_INIT_MEDIUM,4,2              ; @D_INIT_MEDIUM
	.comm	_M_INFO,4,2                     ; @M_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s link local: [inetd]"

l_.str.1:                               ; @.str.1
	.asciz	"%s link local (bound): %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s link local: (not bound)"

l_.str.3:                               ; @.str.3
	.asciz	"%s link remote: %s"

l_.str.4:                               ; @.str.4
	.asciz	":"

	.comm	_PS_SHOW_PORT_IF_DEFINED,4,2    ; @PS_SHOW_PORT_IF_DEFINED
	.no_dead_strip	_linksock_print_addr
.subsections_via_symbols
