	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_willoption                     ## -- Begin function willoption
	.p2align	4, 0x90
_willoption:                            ## @willoption
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_TD_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_printoption
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DIAG
	movq	_do_dont_resp@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%r14d, %rbx
	movq	(%rax,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	decq	%rcx
	movq	%rcx, (%rax,%rbx,8)
	je	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	callq	_his_state_is_will
	movq	(%r15), %rdx
	movq	(%rdx,%rbx,8), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rdx,%rbx,8)
LBB0_4:
	testq	%rcx, %rcx
	jne	LBB0_17
LBB0_5:
	movl	%r14d, %edi
	callq	_his_want_state_is_wont
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	leal	-128(%r14), %eax
	cmpl	$12, %eax
	ja	LBB0_12
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	%r14d, %edi
	callq	_set_his_want_state_will
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_send_do
	jmp	LBB0_17
LBB0_13:
	cmpl	$137, %r14d
	je	LBB0_18
## %bb.14:
	cmpl	$139, %r14d
	jne	LBB0_17
## %bb.15:
	movq	_not42@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$139, %edi
	movl	$1, %esi
	jmp	LBB0_16
LBB0_18:
	movl	$137, %edi
	callq	_set_his_state_will
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flowstat                       ## TAILCALL
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_SLC_LEVELBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	movq	_slctab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_SLC_XON@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	andl	(%rdx,%rsi,4), %ecx
	movl	%ecx, (%rdx,%rsi,4)
	movq	_SLC_DEFAULT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	movl	%ecx, (%rdx,%rsi,4)
	movl	(%rax), %eax
	notl	%eax
	movq	_SLC_XOFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	(%rdx,%rcx,4), %eax
	movl	%eax, (%rdx,%rcx,4)
	orl	(%rdi), %eax
	movl	%eax, (%rdx,%rcx,4)
	jmp	LBB0_10
LBB0_11:
	movq	_not42@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_12:
	movq	(%r15), %rax
	incq	(%rax,%rbx,8)
	movl	%r14d, %edi
	xorl	%esi, %esi
LBB0_16:
	callq	_send_dont
LBB0_17:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_his_state_will             ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	callq	_init_termbuf
	movl	$1, %edi
	callq	_tty_binaryin
	xorl	%eax, %eax
	callq	_set_termbuf
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_19
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_TD_OPTIONS,4,2                 ## @TD_OPTIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"td: recv will"

	.comm	_do_dont_resp,8,3               ## @do_dont_resp
	.comm	_not42,4,2                      ## @not42
	.comm	_SLC_LEVELBITS,4,2              ## @SLC_LEVELBITS
	.comm	_slctab,8,3                     ## @slctab
	.comm	_SLC_XON,8,3                    ## @SLC_XON
	.comm	_SLC_DEFAULT,4,2                ## @SLC_DEFAULT
	.comm	_SLC_XOFF,8,3                   ## @SLC_XOFF
	.comm	_KLUDGE_LINEMODE,4,2            ## @KLUDGE_LINEMODE
	.comm	_KLUDGE_OK,4,2                  ## @KLUDGE_OK
	.comm	_NO_AUTOKLUDGE,4,2              ## @NO_AUTOKLUDGE
	.comm	_REAL_LINEMODE,4,2              ## @REAL_LINEMODE
	.comm	_WILL,4,2                       ## @WILL
	.comm	_auth_level,4,2                 ## @auth_level
	.comm	_lmodetype,4,2                  ## @lmodetype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_willoption                     ; -- Begin function willoption
	.p2align	2
_willoption:                            ; @willoption
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _TD_OPTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TD_OPTIONS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printoption
	mov	x1, x0
	mov	x0, x20
	bl	_DIAG
Lloh5:
	adrp	x20, _do_dont_resp@GOTPAGE
Lloh6:
	ldr	x20, [x20, _do_dont_resp@GOTPAGEOFF]
	ldr	x8, [x20]
	sxtw	x21, w19
	ldr	x9, [x8, w19, sxtw #3]
	cbz	x9, LBB0_5
; %bb.1:
	subs	x9, x9, #1
	str	x9, [x8, x21, lsl #3]
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_his_state_is_will
	ldr	x9, [x20]
	ldr	x8, [x9, x21, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	sub	x8, x8, #1
	str	x8, [x9, x21, lsl #3]
LBB0_4:
	cbnz	x8, LBB0_18
LBB0_5:
	mov	x0, x19
	bl	_his_want_state_is_wont
	cbz	x0, LBB0_9
; %bb.6:
	sub	w8, w19, #128
	cmp	w8, #12
	b.hi	LBB0_16
; %bb.7:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	x0, x19
	bl	_set_his_want_state_will
	mov	x0, x19
	mov	w1, #0
	bl	_send_do
	b	LBB0_18
LBB0_9:
	cmp	w19, #137
	b.eq	LBB0_12
; %bb.10:
	cmp	w19, #139
	b.ne	LBB0_18
; %bb.11:
Lloh9:
	adrp	x8, _not42@GOTPAGE
Lloh10:
	ldr	x8, [x8, _not42@GOTPAGEOFF]
Lloh11:
	str	wzr, [x8]
	mov	w0, #139
	mov	w1, #1
	b	LBB0_17
LBB0_12:
	mov	w0, #137
	bl	_set_his_state_will
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_flowstat
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh12:
	adrp	x8, _SLC_LEVELBITS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLC_LEVELBITS@GOTPAGEOFF]
Lloh14:
	adrp	x9, _slctab@GOTPAGE
Lloh15:
	ldr	x9, [x9, _slctab@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _SLC_XON@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SLC_XON@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	ldr	w12, [x8]
	bic	w11, w11, w12
	str	w11, [x9, x10]
Lloh20:
	adrp	x12, _SLC_DEFAULT@GOTPAGE
Lloh21:
	ldr	x12, [x12, _SLC_DEFAULT@GOTPAGEOFF]
	ldr	w13, [x12]
	orr	w11, w13, w11
	str	w11, [x9, x10]
Lloh22:
	adrp	x10, _SLC_XOFF@GOTPAGE
Lloh23:
	ldr	x10, [x10, _SLC_XOFF@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh24:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
	ldr	w11, [x12]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_8
LBB0_15:
Lloh25:
	adrp	x8, _not42@GOTPAGE
Lloh26:
	ldr	x8, [x8, _not42@GOTPAGEOFF]
Lloh27:
	str	wzr, [x8]
LBB0_16:
	ldr	x8, [x20]
	lsl	x9, x21, #3
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
	mov	x0, x19
	mov	w1, #0
LBB0_17:
	bl	_send_dont
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_his_state_will
LBB0_19:
	bl	_init_termbuf
	mov	w0, #1
	bl	_tty_binaryin
	bl	_set_termbuf
	b	LBB0_8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
                                        ; -- End function
	.comm	_TD_OPTIONS,4,2                 ; @TD_OPTIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"td: recv will"

	.comm	_do_dont_resp,8,3               ; @do_dont_resp
	.comm	_not42,4,2                      ; @not42
	.comm	_SLC_LEVELBITS,4,2              ; @SLC_LEVELBITS
	.comm	_slctab,8,3                     ; @slctab
	.comm	_SLC_XON,8,3                    ; @SLC_XON
	.comm	_SLC_DEFAULT,4,2                ; @SLC_DEFAULT
	.comm	_SLC_XOFF,8,3                   ; @SLC_XOFF
	.comm	_KLUDGE_LINEMODE,4,2            ; @KLUDGE_LINEMODE
	.comm	_KLUDGE_OK,4,2                  ; @KLUDGE_OK
	.comm	_NO_AUTOKLUDGE,4,2              ; @NO_AUTOKLUDGE
	.comm	_REAL_LINEMODE,4,2              ; @REAL_LINEMODE
	.comm	_WILL,4,2                       ; @WILL
	.comm	_auth_level,4,2                 ; @auth_level
	.comm	_lmodetype,4,2                  ; @lmodetype
.subsections_via_symbols
