	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_names                      ## -- Begin function get_names
	.p2align	4, 0x90
_get_names:                             ## @get_names
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	cmpl	$1, %ebx
	jg	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	xorl	%edi, %edi
	callq	_isatty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	xorl	%eax, %eax
	callq	_getlogin
	movq	%rax, %r13
	testq	%rax, %rax
	movq	%r15, %rbx
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_getpwuid
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_7:
	movq	(%rbx), %r13
	movq	%r15, %rbx
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_gethostname
	movq	8(%r12), %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcspn
	cltq
	movb	(%r15,%rax), %cl
	testb	%cl, %cl
	je	LBB0_9
## %bb.10:
	addq	%r15, %rax
	leaq	1(%rax), %rdx
	cmpb	$64, %cl
	movq	%r15, %rsi
	cmoveq	%rdx, %rsi
	cmovneq	%rdx, %r15
	movb	$0, (%rax)
	cmpl	$3, -52(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_12
LBB0_13:
	movq	16(%r12), %r14
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.3(%rip), %rbx
	movq	%rbx, %rsi
	cmpl	$3, -52(%rbp)                   ## 4-byte Folded Reload
	jge	LBB0_13
LBB0_12:
	leaq	L_.str.4(%rip), %r14
LBB0_14:
	movq	%rbx, %rdi
	callq	_get_addrs
	movq	_TALK_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_msg@GOTPCREL(%rip), %rbx
	movl	%eax, 32(%rbx)
	movq	_AF_INET@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_htons
	movq	%rax, 24(%rbx)
	movl	(%r12), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	callq	_htonl
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %edi
	movq	_NAME_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r13, %rsi
	callq	_strlcpy
	movl	4(%rbx), %edi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_strlcpy
	movl	(%rbx), %edi
	movq	_TTY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_strlcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"standard input must be a tty, not a pipe or a file"

L_.str.1:                               ## @.str.1
	.asciz	"you don't exist. Go away"

L_.str.2:                               ## @.str.2
	.asciz	"@:!"

L_.str.3:                               ## @.str.3
	.asciz	"localhost"

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

	.comm	_TALK_VERSION,4,2               ## @TALK_VERSION
	.comm	_msg,40,3                       ## @msg
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NAME_SIZE,4,2                  ## @NAME_SIZE
	.comm	_TTY_SIZE,4,2                   ## @TTY_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_names                      ; -- Begin function get_names
	.p2align	2
_get_names:                             ; @get_names
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	mov	w0, #0
	bl	_isatty
	cbnz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	bl	_getlogin
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.5:
	bl	_getuid
	bl	_getpwuid
	mov	x22, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_7:
	ldr	x22, [x22]
LBB0_8:
	mov	x0, x21
	mov	x1, x23
	bl	_gethostname
	ldr	x23, [x19, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_strcspn
	add	x8, x23, w0, sxtw
	ldrb	w9, [x8]
	cbz	w9, LBB0_11
; %bb.9:
	cmp	w9, #64
	strb	wzr, [x8], #1
	csel	x1, x8, x23, eq
	csel	x23, x23, x8, eq
	cmp	w20, #3
	b.lt	LBB0_12
LBB0_10:
	ldr	x19, [x19, #16]
	b	LBB0_13
LBB0_11:
Lloh14:
	adrp	x21, l_.str.3@PAGE
Lloh15:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x1, x21
	cmp	w20, #3
	b.ge	LBB0_10
LBB0_12:
Lloh16:
	adrp	x19, l_.str.4@PAGE
Lloh17:
	add	x19, x19, l_.str.4@PAGEOFF
LBB0_13:
	mov	x0, x21
	bl	_get_addrs
Lloh18:
	adrp	x8, _TALK_VERSION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TALK_VERSION@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x20, _msg@GOTPAGE
Lloh22:
	ldr	x20, [x20, _msg@GOTPAGEOFF]
	str	w8, [x20, #32]
Lloh23:
	adrp	x21, _AF_INET@GOTPAGE
Lloh24:
	ldr	x21, [x21, _AF_INET@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_htons
	str	x0, [x20, #24]
	ldr	w0, [x21]
	bl	_htons
	str	x0, [x20, #16]
	mov	w0, #0
	bl	_htonl
	str	w0, [x20, #12]
	ldr	w0, [x20, #8]
Lloh25:
	adrp	x21, _NAME_SIZE@GOTPAGE
Lloh26:
	ldr	x21, [x21, _NAME_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x1, x22
	bl	_strlcpy
	ldr	w0, [x20, #4]
	ldr	w2, [x21]
	mov	x1, x23
	bl	_strlcpy
	ldr	w0, [x20]
Lloh27:
	adrp	x8, _TTY_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TTY_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_strlcpy
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #48
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"standard input must be a tty, not a pipe or a file"

l_.str.1:                               ; @.str.1
	.asciz	"you don't exist. Go away"

l_.str.2:                               ; @.str.2
	.asciz	"@:!"

l_.str.3:                               ; @.str.3
	.asciz	"localhost"

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

	.comm	_TALK_VERSION,4,2               ; @TALK_VERSION
	.comm	_msg,40,3                       ; @msg
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NAME_SIZE,4,2                  ; @NAME_SIZE
	.comm	_TTY_SIZE,4,2                   ; @TTY_SIZE
.subsections_via_symbols
