	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_tncmd
_send_tncmd:                            ## @send_tncmd
	.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
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_isprefix
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_isprefix
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_telopts@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	addq	$8, %r13
	movl	$8, %ebx
	leaq	L_.str.5(%rip), %r14
	leaq	L_.str.6(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%r12d, %ebx
	movq	-8(%r13), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r13), %rdi
	addq	$8, %r13
	testq	%rdi, %rdi
	je	LBB0_7
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx), %ecx
	addl	$3, %ecx
	movl	%eax, %r12d
	addl	$3, %r12d
	cmpl	$66, %ecx
	jl	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$8, %ebx
	jmp	LBB0_4
LBB0_7:
	movl	$10, %edi
	callq	_putchar
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_telopts@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_genget
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_Ambiguous
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_12:
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_fprintf
	jmp	LBB0_8
LBB0_13:
	testq	%r13, %r13
	je	LBB0_17
## %bb.14:
	subq	_telopts@GOTPCREL(%rip), %r13
	shrq	$3, %r13
LBB0_15:
	movq	_connected@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.16:
	movl	$1, %ebx
	movl	%r13d, %edi
	movl	$1, %esi
	callq	*%r15
	jmp	LBB0_9
LBB0_17:
	movb	(%r12), %al
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_24
## %bb.18:
	leaq	1(%r12), %rcx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %eax
	leal	(%r13,%r13,4), %edx
	leal	(%rax,%rdx,2), %r13d
	addl	$-48, %r13d
	movzbl	(%rcx), %eax
	leal	-48(%rax), %edx
	incq	%rcx
	cmpb	$10, %dl
	jb	LBB0_19
## %bb.20:
	testb	%al, %al
	jne	LBB0_25
## %bb.21:
	cmpl	$256, %r13d                     ## imm = 0x100
	jb	LBB0_15
## %bb.22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_12
LBB0_23:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_8
LBB0_24:
	testb	%al, %al
	je	LBB0_26
LBB0_25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_12
LBB0_26:
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"help"

L_.str.1:                               ## @.str.1
	.asciz	"?"

L_.str.2:                               ## @.str.2
	.asciz	"usage: send %s <value|option>\n"

L_.str.4:                               ## @.str.4
	.asciz	"Valid options are:\n\t"

L_.str.5:                               ## @.str.5
	.asciz	"\n\t"

L_.str.6:                               ## @.str.6
	.asciz	" \"%s\""

	.comm	_stderr,4,2                     ## @stderr
L_.str.8:                               ## @.str.8
	.asciz	"'%s': ambiguous argument ('send %s ?' for help).\n"

L_.str.9:                               ## @.str.9
	.asciz	"'%s': unknown argument ('send %s ?' for help).\n"

L_.str.10:                              ## @.str.10
	.asciz	"'%s': bad value ('send %s ?' for help).\n"

	.comm	_connected,4,2                  ## @connected
L_str:                                  ## @str
	.asciz	"?Need to be connected first."

L_str.12:                               ## @str.12
	.asciz	"\"value\" must be from 0 to 255"

	.no_dead_strip	_send_tncmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_tncmd
_send_tncmd:                            ; @send_tncmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_isprefix
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_isprefix
	cbz	x0, LBB0_10
LBB0_2:
	str	x19, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh6:
	adrp	x0, l_str.12@PAGE
Lloh7:
	add	x0, x0, l_str.12@PAGEOFF
	bl	_puts
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh10:
	adrp	x8, _telopts@GOTPAGE
Lloh11:
	ldr	x8, [x8, _telopts@GOTPAGEOFF]
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.3:
	add	x21, x8, #8
	mov	w22, #8
Lloh12:
	adrp	x19, l_.str.5@PAGE
Lloh13:
	add	x19, x19, l_.str.5@PAGEOFF
Lloh14:
	adrp	x20, l_.str.6@PAGE
Lloh15:
	add	x20, x20, l_.str.6@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x21, #-8]
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
	add	w22, w22, w23
	ldr	x0, [x21], #8
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	add	w23, w0, #3
	add	w8, w23, w22
	cmp	w8, #66
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_printf
	mov	w22, #8
	b	LBB0_4
LBB0_7:
	mov	w0, #10
	bl	_putchar
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh16:
	adrp	x22, _telopts@GOTPAGE
Lloh17:
	ldr	x22, [x22, _telopts@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #8
	bl	_genget
	mov	x23, x0
	bl	_Ambiguous
	cbz	x0, LBB0_13
; %bb.11:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_12:
	mov	x2, x20
	mov	x3, x19
	bl	_fprintf
	b	LBB0_8
LBB0_13:
	cbz	x23, LBB0_17
; %bb.14:
	sub	x8, x23, x22
	lsr	x0, x8, #3
LBB0_15:
Lloh23:
	adrp	x8, _connected@GOTPAGE
Lloh24:
	ldr	x8, [x8, _connected@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cbz	w8, LBB0_23
; %bb.16:
	mov	w19, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	blr	x21
	b	LBB0_9
LBB0_17:
	ldrb	w8, [x20]
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_24
; %bb.18:
	mov	w0, #0
	mov	w9, #1
	mov	w10, #10
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	madd	w8, w0, w10, w8
	sub	w0, w8, #48
	ldrb	w8, [x20, x9]
	sub	w11, w8, #48
	add	x9, x9, #1
	cmp	w11, #10
	b.lo	LBB0_19
; %bb.20:
	cbnz	w8, LBB0_25
; %bb.21:
	cmp	w0, #256
	b.lo	LBB0_15
; %bb.22:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.10@PAGE
Lloh30:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_12
LBB0_23:
Lloh31:
	adrp	x0, l_str@PAGE
Lloh32:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_8
LBB0_24:
	cbz	w8, LBB0_26
LBB0_25:
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_12
LBB0_26:
	mov	w0, #0
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"help"

l_.str.1:                               ; @.str.1
	.asciz	"?"

l_.str.2:                               ; @.str.2
	.asciz	"usage: send %s <value|option>\n"

l_.str.4:                               ; @.str.4
	.asciz	"Valid options are:\n\t"

l_.str.5:                               ; @.str.5
	.asciz	"\n\t"

l_.str.6:                               ; @.str.6
	.asciz	" \"%s\""

	.comm	_stderr,4,2                     ; @stderr
l_.str.8:                               ; @.str.8
	.asciz	"'%s': ambiguous argument ('send %s ?' for help).\n"

l_.str.9:                               ; @.str.9
	.asciz	"'%s': unknown argument ('send %s ?' for help).\n"

l_.str.10:                              ; @.str.10
	.asciz	"'%s': bad value ('send %s ?' for help).\n"

	.comm	_connected,4,2                  ; @connected
l_str:                                  ; @str
	.asciz	"?Need to be connected first."

l_str.12:                               ; @str.12
	.asciz	"\"value\" must be from 0 to 255"

	.no_dead_strip	_send_tncmd
.subsections_via_symbols
