	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_dialer                      ## -- Begin function dn_dialer
	.p2align	4, 0x90
_dn_dialer:                             ## @dn_dialer
	.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, %rbx
	movq	%rdi, %r14
	movq	_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_value
	movl	%eax, %edi
	callq	_boolean
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_2:
	movl	$1, %esi
	movq	%rbx, %rdi
	callq	_open
	movq	_dn@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	_jmpbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_child@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIGKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	(%r15), %edi
LBB0_5:
	callq	_close
	jmp	LBB0_17
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_16
LBB0_8:
	movq	_SIGALRM@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_alarmtr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,4), %eax
	cmpl	$31, %eax
	movl	$30, %edi
	cmovgel	%eax, %edi
	callq	_alarm
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_fork
	movq	_child@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_21
## %bb.9:
	movq	_DV@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$2, %esi
	callq	_open
	movq	_FD@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	js	LBB0_19
## %bb.10:
	xorl	%edi, %edi
	callq	_alarm
	movl	(%r15), %edi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_tcgetattr
	movq	_HUPCL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	movl	(%r15), %edi
	movq	_TCSANOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_tcsetattr
	movl	(%r13), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	leaq	-52(%rbp), %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_wait
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	(%r12), %eax
	jne	LBB0_11
LBB0_13:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	(%r15), %edi
	callq	_close
	cmpl	$0, -52(%rbp)
	je	LBB0_20
## %bb.14:
	movl	(%r14), %edi
	jmp	LBB0_5
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
LBB0_16:
	callq	_printf
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_printf
	xorl	%ebx, %ebx
	movl	%ebx, %edi
	callq	_alarm
	movl	(%r12), %edi
	movq	_SIGKILL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kill
	movl	(%r15), %edi
	callq	_close
	movl	%ebx, %eax
	jmp	LBB0_18
LBB0_20:
	movl	$1, %eax
	jmp	LBB0_18
LBB0_21:
	movl	(%r13), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movl	$2, %edi
	callq	_sleep
	movl	(%r15), %r15d
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	setne	%al
	movb	%al, %dil
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_VERBOSE,4,2                    ## @VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nstarting call..."

	.comm	_dn,4,2                         ## @dn
	.comm	_errno,8,3                      ## @errno
	.comm	_EBUSY,8,3                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"line busy..."

L_.str.2:                               ## @.str.2
	.asciz	"acu open error..."

	.comm	_jmpbuf,4,2                     ## @jmpbuf
	.comm	_child,4,2                      ## @child
	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_alarmtr,4,2                    ## @alarmtr
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_DV,8,3                         ## @DV
	.comm	_FD,4,2                         ## @FD
	.comm	_EIO,8,3                        ## @EIO
L_.str.3:                               ## @.str.3
	.asciz	"lost carrier..."

L_.str.4:                               ## @.str.4
	.asciz	"dialup line open failed..."

	.comm	_HUPCL,4,2                      ## @HUPCL
	.comm	_TCSANOW,4,2                    ## @TCSANOW
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_dialer                      ; -- Begin function dn_dialer
	.p2align	2
_dn_dialer:                             ; @dn_dialer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VERBOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERBOSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_value
	bl	_boolean
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	mov	w1, #1
	mov	x0, x20
	bl	_open
Lloh5:
	adrp	x20, _dn@GOTPAGE
Lloh6:
	ldr	x20, [x20, _dn@GOTPAGEOFF]
	str	w0, [x20]
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh7:
	adrp	x8, _jmpbuf@GOTPAGE
Lloh8:
	ldr	x8, [x8, _jmpbuf@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_setjmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh10:
	adrp	x8, _child@GOTPAGE
Lloh11:
	ldr	x8, [x8, _child@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_kill
	ldr	w0, [x20]
LBB0_5:
	bl	_close
	b	LBB0_16
LBB0_6:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _EBUSY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_8:
Lloh24:
	adrp	x22, _SIGALRM@GOTPAGE
Lloh25:
	ldr	x22, [x22, _SIGALRM@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh26:
	adrp	x8, _alarmtr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _alarmtr@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_signal
	mov	x0, x19
	bl	_strlen
	add	w8, w0, w0, lsl #2
	mov	w9, #30
	cmp	w8, #30
	csel	w0, w8, w9, gt
	bl	_alarm
	bl	_fork
Lloh29:
	adrp	x21, _child@GOTPAGE
Lloh30:
	ldr	x21, [x21, _child@GOTPAGEOFF]
	str	w0, [x21]
	cbz	w0, LBB0_20
; %bb.9:
Lloh31:
	adrp	x8, _DV@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DV@GOTPAGEOFF]
Lloh33:
	ldr	x0, [x8]
	mov	w1, #2
	bl	_open
Lloh34:
	adrp	x23, _FD@GOTPAGE
Lloh35:
	ldr	x23, [x23, _FD@GOTPAGEOFF]
	str	w0, [x23]
	tbnz	w0, #31, LBB0_18
; %bb.10:
	mov	w0, #0
	bl	_alarm
	ldr	w0, [x20]
	add	x19, sp, #8
	mov	x1, x19
	bl	_tcgetattr
Lloh36:
	adrp	x8, _HUPCL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HUPCL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	ldr	w0, [x20]
Lloh39:
	adrp	x8, _TCSANOW@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TCSANOW@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tcsetattr
	ldr	w0, [x22]
Lloh42:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_signal
	add	x19, sp, #12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_wait
	ldr	w8, [x21]
	cmn	w0, #1
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_11
; %bb.12:
Lloh45:
	adrp	x8, _stdout@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_fflush
	ldr	w0, [x20]
	bl	_close
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_19
; %bb.13:
	ldr	w0, [x23]
	b	LBB0_5
LBB0_14:
Lloh48:
	adrp	x0, l_.str.2@PAGE
Lloh49:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_15:
	bl	_printf
LBB0_16:
	mov	w0, #0
LBB0_17:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
Lloh50:
	adrp	x8, _errno@GOTPAGE
Lloh51:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
Lloh53:
	adrp	x9, _EIO@GOTPAGE
Lloh54:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
Lloh56:
	adrp	x10, l_.str.4@PAGE
Lloh57:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh58:
	adrp	x11, l_.str.3@PAGE
Lloh59:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x8, x9
	csel	x0, x11, x10, eq
	bl	_printf
	mov	w19, #0
	mov	w0, #0
	bl	_alarm
	ldr	w0, [x21]
Lloh60:
	adrp	x8, _SIGKILL@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SIGKILL@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_kill
	ldr	w0, [x20]
	bl	_close
	mov	x0, x19
	b	LBB0_17
LBB0_19:
	mov	w0, #1
	b	LBB0_17
LBB0_20:
	ldr	w0, [x22]
Lloh63:
	adrp	x21, _SIG_IGN@GOTPAGE
Lloh64:
	ldr	x21, [x21, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_signal
Lloh65:
	adrp	x8, _SIGINT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_signal
Lloh68:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_signal
	mov	w0, #2
	bl	_sleep
	ldr	w20, [x20]
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_write
	cmp	w0, w21
	cset	w0, ne
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_VERBOSE,4,2                    ; @VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nstarting call..."

	.comm	_dn,4,2                         ; @dn
	.comm	_errno,8,3                      ; @errno
	.comm	_EBUSY,8,3                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"line busy..."

l_.str.2:                               ; @.str.2
	.asciz	"acu open error..."

	.comm	_jmpbuf,4,2                     ; @jmpbuf
	.comm	_child,4,2                      ; @child
	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_alarmtr,4,2                    ; @alarmtr
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_DV,8,3                         ; @DV
	.comm	_FD,4,2                         ; @FD
	.comm	_EIO,8,3                        ; @EIO
l_.str.3:                               ; @.str.3
	.asciz	"lost carrier..."

l_.str.4:                               ; @.str.4
	.asciz	"dialup line open failed..."

	.comm	_HUPCL,4,2                      ; @HUPCL
	.comm	_TCSANOW,4,2                    ; @TCSANOW
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
