	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sendcmd
_sendcmd:                               ## @sendcmd
	.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
	cmpl	$2, %edi
	jge	LBB0_4
## %bb.1:
	leaq	L_str.19(%rip), %rdi
LBB0_2:
	callq	_puts
	leaq	L_str.20(%rip), %rdi
LBB0_3:
	callq	_puts
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_4:
	movl	%edi, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r14d, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdi
	callq	_GETSEND
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_Ambiguous
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edx
	addl	%edx, %r14d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r15d, %r14d
	jge	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_send_help@GOTPCREL(%rip), %rax
	cmpq	%rax, 24(%rbx)
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	40(%rbx), %r12d
	addl	32(%rbx), %r13d
	incl	%r14d
	cmpl	%r15d, %r14d
	jl	LBB0_5
## %bb.10:
	movq	_connected@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.11:
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.12:
	leaq	L_str.17(%rip), %rdi
	jmp	LBB0_2
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	leaq	L_.str.3(%rip), %rdi
LBB0_15:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$1, %edx
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	8(%rbx), %r8
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r8, %r9
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_18
LBB0_17:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_send_help
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	callq	_NETROOM
	cmpl	%r12d, %eax
	jge	LBB0_21
## %bb.20:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.14(%rip), %rdi
	callq	_puts
	leaq	L_str.15(%rip), %rdi
	callq	_puts
	leaq	L_str.16(%rip), %rdi
	jmp	LBB0_3
LBB0_21:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r12d
	cmpl	$2, %r15d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_35
## %bb.22:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	_IAC@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	16(%r13), %esi
	callq	_NET2ADD
	movl	(%r14), %esi
	movl	16(%r13), %edx
	leaq	L_.str.13(%rip), %rdi
	callq	_printoption
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	%ebx
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_35
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r14
	movq	(%r15,%r14,8), %rdi
	callq	_GETSEND
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_quit
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_23
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%r15,%r14,8), %rdi
	cmpl	$1, %ecx
	je	LBB0_24
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	16(%r15,%r14,8), %rsi
	jmp	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%edi, %edi
LBB0_24:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%esi, %esi
LBB0_25:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	callq	*%rax
	addl	%eax, %r12d
	addl	(%r13), %ebx
	jmp	LBB0_26
LBB0_35:
	xorl	%ebx, %ebx
	cmpl	%r12d, -44(%rbp)                ## 4-byte Folded Reload
	sete	%bl
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"Unknown send argument '%s'\r\n'send ?' for help.\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"Ambiguous send argument '%s'\r\n'send ?' for help.\r\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"Need %d argument%s to 'send %s' command.  'send %s ?' for help.\r\n"

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

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

	.comm	_connected,4,2                  ## @connected
L_.str.12:                              ## @.str.12
	.asciz	"Telnet 'send' error - argument disappeared!\r\n"

	.comm	_IAC,4,2                        ## @IAC
L_.str.13:                              ## @.str.13
	.asciz	"SENT"

L_str:                                  ## @str
	.asciz	"There is not enough room in the buffer TO the network\r"

L_str.14:                               ## @str.14
	.asciz	"to process your request.  Nothing will be done.\r"

L_str.15:                               ## @str.15
	.asciz	"('send synch' will throw away most data in the network\r"

L_str.16:                               ## @str.16
	.asciz	"buffer, if this might help.)\r"

L_str.17:                               ## @str.17
	.asciz	"?Need to be connected first.\r"

L_str.19:                               ## @str.19
	.asciz	"need at least one argument for 'send' command\r"

L_str.20:                               ## @str.20
	.asciz	"'send ?' for help\r"

	.no_dead_strip	_sendcmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sendcmd
_sendcmd:                               ; @sendcmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w0, #2
	b.ge	LBB0_4
; %bb.1:
Lloh0:
	adrp	x0, l_str.19@PAGE
Lloh1:
	add	x0, x0, l_str.19@PAGEOFF
LBB0_2:
	bl	_puts
Lloh2:
	adrp	x0, l_str.20@PAGE
Lloh3:
	add	x0, x0, l_str.20@PAGEOFF
LBB0_3:
	bl	_puts
	b	LBB0_18
LBB0_4:
	mov	x19, x1
	mov	x20, x0
	mov	w23, #0
	mov	w22, #0
	mov	w8, #1
Lloh4:
	adrp	x24, _send_help@GOTPAGE
Lloh5:
	ldr	x24, [x24, _send_help@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x25, w8
	ldr	x0, [x19, w8, sxtw #3]
	bl	_GETSEND
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	bl	_Ambiguous
	cbnz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	add	w9, w8, w25
	cmp	w9, w20
	b.ge	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #24]
	cmp	x8, x24
	b.eq	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #40]
	add	w22, w22, w8
	ldr	w8, [x21, #32]
	add	w23, w23, w8
	add	w8, w9, #1
	cmp	w8, w20
	b.lt	LBB0_5
; %bb.10:
Lloh6:
	adrp	x8, _connected@GOTPAGE
Lloh7:
	ldr	x8, [x8, _connected@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #0
	ccmp	w23, #0, #4, eq
	b.ne	LBB0_20
; %bb.11:
	bl	_NETROOM
	cmp	w0, w22
	b.ge	LBB0_21
; %bb.12:
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh11:
	adrp	x0, l_str.14@PAGE
Lloh12:
	add	x0, x0, l_str.14@PAGEOFF
	bl	_puts
Lloh13:
	adrp	x0, l_str.15@PAGE
Lloh14:
	add	x0, x0, l_str.15@PAGEOFF
	bl	_puts
Lloh15:
	adrp	x0, l_str.16@PAGE
Lloh16:
	add	x0, x0, l_str.16@PAGEOFF
	b	LBB0_3
LBB0_13:
	ldr	x8, [x19, x25, lsl #3]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
	ldr	x8, [x19, x25, lsl #3]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_15:
	bl	_printf
	b	LBB0_18
LBB0_16:
Lloh21:
	adrp	x9, _stderr@GOTPAGE
Lloh22:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh23:
	adrp	x10, l_.str.6@PAGE
Lloh24:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh25:
	ldr	w0, [x9]
Lloh26:
	adrp	x9, l_.str.5@PAGE
Lloh27:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w8, #1
	csel	x9, x9, x10, eq
	ldr	x10, [x21, #8]
	stp	x10, x10, [sp, #16]
	stp	x8, x9, [sp]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	b	LBB0_18
LBB0_17:
	bl	_send_help
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
Lloh30:
	adrp	x0, l_str.17@PAGE
Lloh31:
	add	x0, x0, l_str.17@PAGEOFF
	b	LBB0_2
LBB0_21:
	cmp	w20, #2
	b.lt	LBB0_34
; %bb.22:
	mov	w25, #0
	mov	w24, #0
	mov	w26, #1
Lloh32:
	adrp	x27, _stderr@GOTPAGE
Lloh33:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
Lloh34:
	adrp	x21, l_.str.12@PAGE
Lloh35:
	add	x21, x21, l_.str.12@PAGEOFF
Lloh36:
	adrp	x28, _IAC@GOTPAGE
Lloh37:
	ldr	x28, [x28, _IAC@GOTPAGEOFF]
Lloh38:
	adrp	x22, l_.str.13@PAGE
Lloh39:
	add	x22, x22, l_.str.13@PAGEOFF
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w0, [x28]
	ldr	w1, [x23, #16]
	bl	_NET2ADD
	ldr	w1, [x28]
	ldr	w2, [x23, #16]
	mov	x0, x22
	bl	_printoption
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w26, w26, #1
	cmp	w26, w20
	b.ge	LBB0_35
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, w26, sxtw #3]
	bl	_GETSEND
	mov	x23, x0
	cbz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_28
	b	LBB0_23
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w0, [x27]
	mov	x1, x21
	bl	_fprintf
	bl	_quit
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	sxtw	x10, w26
	add	x10, x19, x10, lsl #3
	ldr	x0, [x10, #8]
	cmp	w9, #1
	b.eq	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x1, [x10, #16]
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, #0
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x1, #0
LBB0_33:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w24, w24, #1
	blr	x8
	add	w25, w25, w0
	ldr	w8, [x23]
	add	w26, w8, w26
	b	LBB0_24
LBB0_34:
	mov	w24, #0
	mov	w25, #0
LBB0_35:
	cmp	w24, w25
	cset	w0, eq
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"Unknown send argument '%s'\r\n'send ?' for help.\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"Ambiguous send argument '%s'\r\n'send ?' for help.\r\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"Need %d argument%s to 'send %s' command.  'send %s ?' for help.\r\n"

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

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

	.comm	_connected,4,2                  ; @connected
l_.str.12:                              ; @.str.12
	.asciz	"Telnet 'send' error - argument disappeared!\r\n"

	.comm	_IAC,4,2                        ; @IAC
l_.str.13:                              ; @.str.13
	.asciz	"SENT"

l_str:                                  ; @str
	.asciz	"There is not enough room in the buffer TO the network\r"

l_str.14:                               ; @str.14
	.asciz	"to process your request.  Nothing will be done.\r"

l_str.15:                               ; @str.15
	.asciz	"('send synch' will throw away most data in the network\r"

l_str.16:                               ; @str.16
	.asciz	"buffer, if this might help.)\r"

l_str.17:                               ; @str.17
	.asciz	"?Need to be connected first.\r"

l_str.19:                               ; @str.19
	.asciz	"need at least one argument for 'send' command\r"

l_str.20:                               ; @str.20
	.asciz	"'send ?' for help\r"

	.no_dead_strip	_sendcmd
.subsections_via_symbols
