	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_telnet_print                   ## -- Begin function telnet_print
	.p2align	4, 0x90
_telnet_print:                          ## @telnet_print
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdi
	callq	_ND_TCHECK
	testq	%r14, %r14
	jle	LBB0_17
## %bb.1:
	xorl	%r13d, %r13d
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rax
	cmovneq	%rax, %rdi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_ND_PRINT
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_telnet_parse
	movl	%r12d, %ebx
	leaq	(%r15,%rbx,8), %r12
	movq	(%r15,%rbx,8), %rdi
	callq	_ND_TCHECK
	movb	$1, %r13b
	movq	%r12, %r15
	subq	%rbx, %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	_IAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_telnet_parse
	testl	%eax, %eax
	js	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, (%rbx)
	jl	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r8
	subq	-56(%rbp), %r8                  ## 8-byte Folded Reload
	shrq	$3, %r8
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_hex_print_with_offset
	leaq	L_.str.2(%rip), %rdi
	cmpl	$9, %r12d
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_12:
	testb	$1, %r13b
	je	LBB0_17
LBB0_13:
	cmpq	$0, 8(%rbx)
	je	LBB0_15
## %bb.14:
	cmpl	$2, (%rbx)
	jg	LBB0_16
LBB0_15:
	leaq	L_.str.8(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IAC,8,3                        ## @IAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nTelnet:"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

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

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

L_.str.6:                               ## @.str.6
	.asciz	" [telnet "

L_.str.7:                               ## @.str.7
	.asciz	", "

L_.str.8:                               ## @.str.8
	.asciz	"]"

	.comm	_tstr,4,2                       ## @tstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_telnet_print                   ; -- Begin function telnet_print
	.p2align	2
_telnet_print:                          ; @telnet_print
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x1]
	bl	_ND_TCHECK
	cmp	x20, #1
	b.lt	LBB0_15
; %bb.1:
	mov	w22, #0
Lloh0:
	adrp	x26, _IAC@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IAC@GOTPAGEOFF]
Lloh2:
	adrp	x27, l_.str.6@PAGE
Lloh3:
	add	x27, x27, l_.str.6@PAGEOFF
Lloh4:
	adrp	x28, l_.str.7@PAGE
Lloh5:
	add	x28, x28, l_.str.7@PAGEOFF
Lloh6:
	adrp	x24, l_.str.2@PAGE
Lloh7:
	add	x24, x24, l_.str.2@PAGEOFF
	mov	x23, x21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	tst	w22, #0x1
	csel	x0, x28, x27, ne
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_ND_PRINT
	mov	w22, #1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	w3, #1
	bl	_telnet_parse
	add	x23, x23, w25, uxtw #3
	sub	x20, x20, w25, uxtw
	ldr	x0, [x23]
	bl	_ND_TCHECK
	cmp	x20, #0
	b.le	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	w3, #0
	bl	_telnet_parse
	tbnz	w0, #31, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w22, #0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x23, x21
	lsr	x4, x8, #3
	mov	x0, x19
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	mov	x3, x25
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_hex_print_with_offset
	cmp	w25, #8
Lloh12:
	adrp	x8, l_.str.4@PAGE
Lloh13:
	add	x8, x8, l_.str.4@PAGEOFF
	csel	x0, x24, x8, hi
	b	LBB0_3
LBB0_11:
	tbz	w22, #0, LBB0_15
LBB0_12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.13:
	ldr	w8, [x19]
	cmp	w8, #2
	b.le	LBB0_16
; %bb.14:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ND_PRINT
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IAC,8,3                        ; @IAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nTelnet:"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

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

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

l_.str.6:                               ; @.str.6
	.asciz	" [telnet "

l_.str.7:                               ; @.str.7
	.asciz	", "

l_.str.8:                               ; @.str.8
	.asciz	"]"

	.comm	_tstr,4,2                       ; @tstr
.subsections_via_symbols
