	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_do                        ## -- Begin function send_do
	.p2align	4, 0x90
_send_do:                               ## @send_do
	.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, %ebx
	testl	%esi, %esi
	je	LBB0_8
## %bb.1:
	movq	_do_dont_resp@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%ebx, %r15
	cmpq	$0, (%rax,%r15,8)
	je	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	callq	_his_want_state_is_will
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	_TELOPT_TM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_set_his_want_state_wont
	jmp	LBB0_7
LBB0_2:
	movl	%ebx, %edi
	callq	_his_state_is_will
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%ebx, %edi
	callq	_set_his_want_state_will
LBB0_7:
	movq	(%r14), %rax
	incq	(%rax,%r15,8)
LBB0_8:
	movq	_doopt@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_output_data
	movq	_TD_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_printoption
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DIAG                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_do_dont_resp,8,3               ## @do_dont_resp
	.comm	_TELOPT_TM,4,2                  ## @TELOPT_TM
	.comm	_doopt,8,3                      ## @doopt
	.comm	_TD_OPTIONS,4,2                 ## @TD_OPTIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"td: send do"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_do                        ; -- Begin function send_do
	.p2align	2
_send_do:                               ; @send_do
	.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
	cbz	w1, LBB0_9
; %bb.1:
Lloh0:
	adrp	x20, _do_dont_resp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _do_dont_resp@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8, w19, sxtw #3]
	cbz	x8, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_his_want_state_is_will
	cbnz	x0, LBB0_6
; %bb.3:
	sxtw	x21, w19
Lloh2:
	adrp	x8, _TELOPT_TM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TELOPT_TM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x0, x19
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.4:
	bl	_set_his_want_state_wont
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_his_state_is_will
	cbz	x0, LBB0_2
LBB0_6:
	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_7:
	bl	_set_his_want_state_will
LBB0_8:
	ldr	x8, [x20]
	lsl	x9, x21, #3
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
LBB0_9:
Lloh5:
	adrp	x8, _doopt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _doopt@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_output_data
Lloh8:
	adrp	x8, _TD_OPTIONS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TD_OPTIONS@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printoption
	mov	x1, x0
	mov	x0, x20
	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	_DIAG
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_do_dont_resp,8,3               ; @do_dont_resp
	.comm	_TELOPT_TM,4,2                  ; @TELOPT_TM
	.comm	_doopt,8,3                      ; @doopt
	.comm	_TD_OPTIONS,4,2                 ; @TD_OPTIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"td: send do"

.subsections_via_symbols
