	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expect
_expect:                                ## @expect
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movb	$0, -352(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	%rax, %r14
	movl	$30, %r15d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_DIALTIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_number
	movl	%eax, %r15d
LBB0_4:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_alarmtr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_Sjbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ecx, %eax
	jmp	LBB0_18
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_18
LBB0_6:
	movl	%r15d, %edi
	callq	_alarm
	leaq	-352(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_notin
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_notin
	testq	%rax, %rax
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_read
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	andb	$127, (%r12)
	setne	%cl
	movb	%cl, %al
	movl	%eax, %r13d
	movb	$0, (%r12,%r13)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_notin
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdx
	addq	%r13, %rdx
	movq	%rdx, %r12
	movl	%ecx, %eax
	leaq	-53(%rbp), %rcx
	cmpq	%rcx, %rdx
	jb	LBB0_9
	jmp	LBB0_17
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_17
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	movl	%ecx, %eax
LBB0_17:
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_alarm
	movl	%ebx, %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"\""

L_.str.1:                               ## @.str.1
	.asciz	"ON LINE"

	.comm	_DIALTIMEOUT,4,2                ## @DIALTIMEOUT
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_alarmtr,4,2                    ## @alarmtr
	.comm	_Sjbuf,4,2                      ## @Sjbuf
L_.str.2:                               ## @.str.2
	.asciz	"FAILED CALL"

	.comm	_FD,4,2                         ## @FD
	.no_dead_strip	_expect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expect
_expect:                                ; @expect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.1:
	strb	wzr, [sp, #12]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	mov	w21, #30
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	b	LBB0_18
LBB0_4:
Lloh7:
	adrp	x8, _DIALTIMEOUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DIALTIMEOUT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_value
	bl	_number
	mov	x21, x0
LBB0_5:
Lloh10:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _alarmtr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _alarmtr@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_signal
Lloh16:
	adrp	x8, _Sjbuf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Sjbuf@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_setjmp
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_18
LBB0_7:
	mov	x0, x21
	bl	_alarm
	add	x21, sp, #12
	mov	x0, x19
	mov	x1, x21
	bl	_notin
	cbz	x0, LBB0_14
; %bb.8:
	mov	x24, x20
	add	x25, x21, #299
	add	x20, sp, #12
	mov	x8, x20
Lloh19:
	adrp	x21, l_.str.2@PAGE
Lloh20:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh21:
	adrp	x26, _FD@GOTPAGE
Lloh22:
	ldr	x26, [x26, _FD@GOTPAGEOFF]
	mov	w22, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	cbnz	x24, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_notin
	cbz	x0, LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x26]
	mov	x1, x23
	mov	x2, x22
	bl	_read
	tbnz	x0, #63, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w9, [x23]
	ands	w9, w9, #0x7f
	mov	x10, x23
	strb	w9, [x10], #1
	csel	x23, x23, x10, eq
	strb	wzr, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_notin
	mov	w1, #1
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x23
	mov	x0, x1
	cmp	x23, x25
	b.lo	LBB0_9
	b	LBB0_17
LBB0_14:
	mov	w0, #1
	b	LBB0_17
LBB0_15:
	mov	w0, #0
	b	LBB0_17
LBB0_16:
	mov	x0, x1
LBB0_17:
	mov	x19, x0
	mov	w0, #0
	bl	_alarm
	mov	x0, x19
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"\""

l_.str.1:                               ; @.str.1
	.asciz	"ON LINE"

	.comm	_DIALTIMEOUT,4,2                ; @DIALTIMEOUT
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_alarmtr,4,2                    ; @alarmtr
	.comm	_Sjbuf,4,2                      ; @Sjbuf
l_.str.2:                               ; @.str.2
	.asciz	"FAILED CALL"

	.comm	_FD,4,2                         ; @FD
	.no_dead_strip	_expect
.subsections_via_symbols
