	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dolmmode
_dolmmode:                              ## @dolmmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_TELOPT_LINEMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_my_want_state_is_wont
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.2(%rip), %rdi
	callq	_puts
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_linemode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%ebx, %eax
	testl	%r14d, %r14d
	cmovel	%ecx, %eax
	movb	%al, -17(%rbp)
	leaq	-17(%rbp), %rdi
	movl	$1, %ebx
	movl	$1, %esi
	movl	$1, %edx
	callq	_lm_mode
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TELOPT_LINEMODE,4,2            ## @TELOPT_LINEMODE
	.comm	_linemode,4,2                   ## @linemode
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"?Need to have LINEMODE option enabled first.\r"

L_str.2:                                ## @str.2
	.asciz	"'mode ?' for help.\r"

	.no_dead_strip	_dolmmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dolmmode
_dolmmode:                              ; @dolmmode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TELOPT_LINEMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TELOPT_LINEMODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_my_want_state_is_wont
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh5:
	adrp	x0, l_str.2@PAGE
Lloh6:
	add	x0, x0, l_str.2@PAGEOFF
	bl	_puts
	mov	w19, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _linemode@GOTPAGE
Lloh8:
	ldr	x8, [x8, _linemode@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w9, w8, w20
	orr	w8, w8, w20
	cmp	w19, #0
	csel	w8, w9, w8, eq
	strb	w8, [sp, #15]
	mov	w19, #1
	add	x0, sp, #15
	mov	w1, #1
	mov	w2, #1
	bl	_lm_mode
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TELOPT_LINEMODE,4,2            ; @TELOPT_LINEMODE
	.comm	_linemode,4,2                   ; @linemode
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"?Need to have LINEMODE option enabled first.\r"

l_str.2:                                ; @str.2
	.asciz	"'mode ?' for help.\r"

	.no_dead_strip	_dolmmode
.subsections_via_symbols
