	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dialit
_dialit:                                ## @dialit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_sanitize
	movq	%rax, %r14
	cmpb	$60, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpb	$0, 1(%r14)
	je	LBB0_2
LBB0_3:
	movq	_vaconfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:
	addq	$16, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	jne	LBB0_5
	jmp	LBB0_8
LBB0_7:
	cmpq	$0, -16(%rbx)
	je	LBB0_8
## %bb.9:
	movq	_AC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-56(%rbp), %r12
	movq	%r12, %rsi
	callq	_tcgetattr
	movq	_B2400@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_cfsetospeed
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_cfsetispeed
	movq	_PARODD@GOTPCREL(%rip), %rax
	movq	_PARENB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, -56(%rbp)
	movq	_ISIG@GOTPCREL(%rip), %rax
	movq	_ICANON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, -52(%rbp)
	movl	(%r15), %edi
	movq	_TCSANOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tcsetattr
	movl	(%r15), %edi
	movq	_TCIOFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tcflush
	movq	_STX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pc
	movl	-4(%rbx), %edi
	callq	_pc
	movl	-8(%rbx), %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	callq	_pc
	movsbl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$60, %dil
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$75, %eax
	jmp	LBB0_18
LBB0_2:
	movl	$90, %eax
	jmp	LBB0_18
LBB0_13:
	movq	_SI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pc
	movq	_ETX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pc
	movl	$1, %edi
	callq	_sleep
	movl	(%r15), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	movb	$77, %bl
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.14:
	movb	-41(%rbp), %bl
	cmpb	$71, %bl
	je	LBB0_16
## %bb.15:
	cmpb	$66, %bl
	jne	LBB0_17
LBB0_16:
	movq	_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pc
	movl	(%r15), %edi
	leaq	-42(%rbp), %rsi
	movl	$1, %edx
	callq	_read
	xorl	%eax, %eax
	callq	_v831_disconnect
LBB0_17:
	movl	(%r15), %edi
	callq	_close
	movsbl	%bl, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vaconfig,8,3                   ## @vaconfig
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to locate dialer (%s)\n"

	.comm	_AC,4,2                         ## @AC
	.comm	_B2400,4,2                      ## @B2400
	.comm	_PARODD,4,2                     ## @PARODD
	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_ISIG,4,2                       ## @ISIG
	.comm	_ICANON,4,2                     ## @ICANON
	.comm	_TCSANOW,4,2                    ## @TCSANOW
	.comm	_TCIOFLUSH,4,2                  ## @TCIOFLUSH
	.comm	_STX,4,2                        ## @STX
	.comm	_SI,4,2                         ## @SI
	.comm	_ETX,4,2                        ## @ETX
	.comm	_ABORT,4,2                      ## @ABORT
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_dialit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dialit
_dialit:                                ; @dialit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	bl	_sanitize
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #60
	b.ne	LBB0_2
; %bb.1:
	ldrb	w8, [x19, #1]
	cbz	w8, LBB0_12
LBB0_2:
Lloh0:
	adrp	x8, _vaconfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vaconfig@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.3:
	add	x21, x8, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21], #16
	cbnz	x0, LBB0_4
	b	LBB0_11
LBB0_6:
	ldur	x8, [x21, #-16]
	cbz	x8, LBB0_11
; %bb.7:
Lloh3:
	adrp	x20, _AC@GOTPAGE
Lloh4:
	ldr	x20, [x20, _AC@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #24
	bl	_tcgetattr
Lloh5:
	adrp	x22, _B2400@GOTPAGE
Lloh6:
	ldr	x22, [x22, _B2400@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x0, sp, #24
	bl	_cfsetospeed
	ldr	w1, [x22]
	add	x0, sp, #24
	bl	_cfsetispeed
Lloh7:
	adrp	x8, _PARODD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PARODD@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _PARENB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PARENB@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldp	w9, w10, [sp, #24]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _ISIG@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ISIG@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x11, _ICANON@GOTPAGE
Lloh17:
	ldr	x11, [x11, _ICANON@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	orr	w9, w11, w9
	bic	w9, w10, w9
	stp	w8, w9, [sp, #24]
	ldr	w0, [x20]
Lloh19:
	adrp	x8, _TCSANOW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TCSANOW@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_tcsetattr
	ldr	w0, [x20]
Lloh22:
	adrp	x8, _TCIOFLUSH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TCIOFLUSH@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_tcflush
Lloh25:
	adrp	x8, _STX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _STX@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_pc
	ldur	w0, [x21, #-4]
	bl	_pc
	ldur	w0, [x21, #-8]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_pc
	ldrb	w8, [x19]
	cbz	w8, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #60
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w0, w8
	add	x19, x19, #1
	b	LBB0_8
LBB0_11:
	str	x20, [sp]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #75
	b	LBB0_19
LBB0_12:
	mov	w0, #90
	b	LBB0_19
LBB0_13:
Lloh30:
	adrp	x8, _SI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SI@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_pc
Lloh33:
	adrp	x8, _ETX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETX@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_pc
	mov	w0, #1
	bl	_sleep
	ldr	w0, [x20]
	add	x1, sp, #23
	mov	w2, #1
	bl	_read
	cmp	w0, #1
	b.ne	LBB0_17
; %bb.14:
	ldrb	w19, [sp, #23]
	cmp	w19, #71
	b.eq	LBB0_16
; %bb.15:
	cmp	w19, #66
	b.ne	LBB0_18
LBB0_16:
Lloh36:
	adrp	x8, _ABORT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ABORT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_pc
	ldr	w0, [x20]
	add	x1, sp, #22
	mov	w2, #1
	bl	_read
	bl	_v831_disconnect
	b	LBB0_18
LBB0_17:
	mov	w19, #77
LBB0_18:
	ldr	w0, [x20]
	bl	_close
	sxtb	w0, w19
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_vaconfig,8,3                   ; @vaconfig
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to locate dialer (%s)\n"

	.comm	_AC,4,2                         ; @AC
	.comm	_B2400,4,2                      ; @B2400
	.comm	_PARODD,4,2                     ; @PARODD
	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_ISIG,4,2                       ; @ISIG
	.comm	_ICANON,4,2                     ; @ICANON
	.comm	_TCSANOW,4,2                    ; @TCSANOW
	.comm	_TCIOFLUSH,4,2                  ; @TCIOFLUSH
	.comm	_STX,4,2                        ; @STX
	.comm	_SI,4,2                         ; @SI
	.comm	_ETX,4,2                        ; @ETX
	.comm	_ABORT,4,2                      ; @ABORT
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_dialit
.subsections_via_symbols
