	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atelnet                        ## -- Begin function atelnet
	.p2align	4, 0x90
_atelnet:                               ## @atelnet
	.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
	cmpl	$3, %edx
	jb	LBB0_13
## %bb.1:
	movq	%rsi, %rbx
	movl	%edx, %eax
	leaq	(%rsi,%rax), %r13
	addq	$-2, %r13
	cmpq	%rsi, %r13
	jbe	LBB0_13
## %bb.2:
	movl	%edi, %r14d
	movq	_IAC@GOTPCREL(%rip), %r12
	movq	_WILL@GOTPCREL(%rip), %r15
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%r13, %rbx
	jae	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	(%r12), %al
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	%al, -44(%rbp)
	movzbl	1(%rbx), %ecx
	cmpb	(%r15), %cl
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_WONT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	cmpb	%al, %cl
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_DO@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_DONT@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_11
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_DONT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%al, -43(%rbp)
	movzbl	2(%rbx), %eax
	addq	$2, %rbx
	movb	%al, -42(%rbp)
	movq	_vwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	movl	$3, %ecx
	callq	_atomicio
	cmpl	$3, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IAC,1,0                        ## @IAC
	.comm	_WILL,1,0                       ## @WILL
	.comm	_WONT,1,0                       ## @WONT
	.comm	_DONT,1,0                       ## @DONT
	.comm	_DO,1,0                         ## @DO
	.comm	_vwrite,4,2                     ## @vwrite
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Write Error!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atelnet                        ; -- Begin function atelnet
	.p2align	2
_atelnet:                               ; @atelnet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	w2, #3
	b.lo	LBB0_11
; %bb.1:
	add	x8, x1, w2, uxtw
	sub	x21, x8, #2
	cmp	x21, x1
	b.ls	LBB0_11
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x22, _IAC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IAC@GOTPAGEOFF]
Lloh2:
	adrp	x23, _WILL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WILL@GOTPAGEOFF]
Lloh4:
	adrp	x24, _WONT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _WONT@GOTPAGEOFF]
Lloh6:
	adrp	x25, _DONT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DONT@GOTPAGEOFF]
Lloh8:
	adrp	x26, _vwrite@GOTPAGE
Lloh9:
	ldr	x26, [x26, _vwrite@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str@PAGE
Lloh11:
	add	x20, x20, l_.str@PAGEOFF
Lloh12:
	adrp	x27, _DO@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DO@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x28, #1
	cmp	x1, x21
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1]
	ldrb	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	w8, [sp, #12]
	mov	x28, x1
	ldrb	w9, [x28, #1]!
	ldrb	w10, [x23]
	ldrb	w8, [x24]
	cmp	w9, w10
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w10, [x27]
	ldrb	w11, [x25]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	strb	w8, [sp, #13]
	ldrb	w8, [x1, #2]!
	mov	x28, x1
	strb	w8, [sp, #14]
	ldr	w0, [x26]
	add	x2, sp, #12
	mov	x1, x19
	mov	w3, #3
	bl	_atomicio
	cmp	w0, #3
	b.eq	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_warn
	b	LBB0_4
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IAC,1,0                        ; @IAC
	.comm	_WILL,1,0                       ; @WILL
	.comm	_WONT,1,0                       ; @WONT
	.comm	_DONT,1,0                       ; @DONT
	.comm	_DO,1,0                         ; @DO
	.comm	_vwrite,4,2                     ; @vwrite
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Write Error!"

.subsections_via_symbols
