	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send
_send:                                  ## @send
	.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
	movl	%edi, %r13d
	movb	%r13b, -41(%rbp)
	movq	_FD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	_CDELAY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	cmpl	$13, %r13d
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	movq	%rax, %rdi
	callq	_usleep
LBB0_3:
	movq	_ECHOCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	_timedout@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_ETIMEOUT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_lvalue
	movl	%eax, %edi
	callq	_alarm
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%edi, %edi
	callq	_alarm
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.5:
	movl	%r13d, %edi
	callq	_ctrl
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movl	(%r14), %edi
	movq	_null@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	$0, (%r15)
	movl	(%r12), %edi
	callq	_lvalue
	movl	%eax, %edi
	callq	_alarm
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%edi, %edi
	callq	_alarm
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.6:
	movl	%r13d, %edi
	callq	_ctrl
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movl	(%r14), %edi
	movq	_null@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	$0, (%r15)
	movl	(%r12), %edi
	callq	_lvalue
	movl	%eax, %edi
	callq	_alarm
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%edi, %edi
	callq	_alarm
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.7:
	movl	%r13d, %edi
	callq	_ctrl
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movl	(%r14), %edi
	movq	_null@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	$0, (%r15)
	movl	(%r12), %edi
	callq	_lvalue
	movl	%eax, %edi
	callq	_alarm
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%edi, %edi
	callq	_alarm
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.8:
	movl	%r13d, %edi
	callq	_ctrl
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movl	(%r14), %edi
	movq	_null@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	callq	_parwrite
	movq	$0, (%r15)
	movl	(%r12), %edi
	callq	_lvalue
	movl	%eax, %edi
	callq	_alarm
	movl	(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%edi, %edi
	callq	_alarm
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.9:
	movl	%r13d, %edi
	callq	_ctrl
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_13
LBB0_10:
	movq	_LDELAY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	cmpl	$13, %r13d
	jne	LBB0_13
## %bb.11:
	testq	%rax, %rax
	jle	LBB0_13
## %bb.12:
	movl	(%rbx), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	movq	%rax, %rdi
	callq	_usleep
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FD,4,2                         ## @FD
	.comm	_CDELAY,4,2                     ## @CDELAY
	.comm	_ECHOCHECK,4,2                  ## @ECHOCHECK
	.comm	_LDELAY,4,2                     ## @LDELAY
	.comm	_timedout,8,3                   ## @timedout
	.comm	_ETIMEOUT,4,2                   ## @ETIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r\ntimeout error (%s)\r\n"

	.comm	_null,1,0                       ## @null
	.no_dead_strip	_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send
_send:                                  ; @send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	strb	w0, [sp, #15]
Lloh0:
	adrp	x20, _FD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FD@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_parwrite
Lloh2:
	adrp	x21, _CDELAY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CDELAY@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_value
	bl	_number
	cmp	w19, #13
	b.eq	LBB0_3
; %bb.1:
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_value
	bl	_number
	bl	_usleep
LBB0_3:
Lloh4:
	adrp	x8, _ECHOCHECK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ECHOCHECK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_value
	bl	_boolean
	cbz	w0, LBB0_10
; %bb.4:
Lloh7:
	adrp	x21, _timedout@GOTPAGE
Lloh8:
	ldr	x21, [x21, _timedout@GOTPAGEOFF]
	str	xzr, [x21]
Lloh9:
	adrp	x22, _ETIMEOUT@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ETIMEOUT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_lvalue
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_alarm
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.5:
	mov	x0, x19
	bl	_ctrl
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
Lloh13:
	adrp	x1, _null@GOTPAGE
Lloh14:
	ldr	x1, [x1, _null@GOTPAGEOFF]
	mov	w2, #1
	bl	_parwrite
	str	xzr, [x21]
	ldr	w0, [x22]
	bl	_lvalue
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_alarm
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.6:
	mov	x0, x19
	bl	_ctrl
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
Lloh17:
	adrp	x1, _null@GOTPAGE
Lloh18:
	ldr	x1, [x1, _null@GOTPAGEOFF]
	mov	w2, #1
	bl	_parwrite
	str	xzr, [x21]
	ldr	w0, [x22]
	bl	_lvalue
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_alarm
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.7:
	mov	x0, x19
	bl	_ctrl
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
Lloh21:
	adrp	x1, _null@GOTPAGE
Lloh22:
	ldr	x1, [x1, _null@GOTPAGEOFF]
	mov	w2, #1
	bl	_parwrite
	str	xzr, [x21]
	ldr	w0, [x22]
	bl	_lvalue
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_alarm
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.8:
	mov	x0, x19
	bl	_ctrl
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
Lloh25:
	adrp	x1, _null@GOTPAGE
Lloh26:
	ldr	x1, [x1, _null@GOTPAGEOFF]
	mov	w2, #1
	bl	_parwrite
	str	xzr, [x21]
	ldr	w0, [x22]
	bl	_lvalue
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_alarm
	ldr	w0, [x20]
	add	x1, sp, #15
	mov	w2, #1
	bl	_read
	mov	w0, #0
	bl	_alarm
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.9:
	mov	x0, x19
	bl	_ctrl
	mov	x1, x0
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_13
LBB0_10:
Lloh29:
	adrp	x20, _LDELAY@GOTPAGE
Lloh30:
	ldr	x20, [x20, _LDELAY@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_value
	bl	_number
	cmp	w19, #13
	b.ne	LBB0_13
; %bb.11:
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.12:
	ldr	w0, [x20]
	bl	_value
	bl	_number
	bl	_usleep
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_FD,4,2                         ; @FD
	.comm	_CDELAY,4,2                     ; @CDELAY
	.comm	_ECHOCHECK,4,2                  ; @ECHOCHECK
	.comm	_LDELAY,4,2                     ; @LDELAY
	.comm	_timedout,8,3                   ; @timedout
	.comm	_ETIMEOUT,4,2                   ; @ETIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\ntimeout error (%s)\r\n"

	.comm	_null,1,0                       ; @null
	.no_dead_strip	_send
.subsections_via_symbols
