	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function done
_done:                                  ## @done
	.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, %r15d
	movq	_ttyflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSAFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tt@GOTPCREL(%rip), %rdx
	callq	_tcsetattr
LBB0_2:
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -28(%rbp)
	movq	_rawout@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_fscript@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$101, %ecx
	callq	_record
LBB0_4:
	movq	_qflg@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.5:
	cmpq	$0, (%rbx)
	jne	LBB0_9
## %bb.6:
	movq	_showexit@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_fscript@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	movq	_fscript@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-28(%rbp), %rdi
	callq	_ctime
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movq	_fname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movq	_fflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_fmfname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
LBB0_11:
	movq	_fscript@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fclose
	movq	_master@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_close
	movl	%r15d, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_ttyflg,8,3                     ## @ttyflg
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_TCSAFLUSH,4,2                  ## @TCSAFLUSH
	.comm	_tt,4,2                         ## @tt
	.comm	_rawout,8,3                     ## @rawout
	.comm	_fscript,4,2                    ## @fscript
	.comm	_qflg,4,2                       ## @qflg
	.comm	_showexit,8,3                   ## @showexit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nCommand exit status: %d"

L_.str.1:                               ## @.str.1
	.asciz	"\nScript done on %s"

L_.str.2:                               ## @.str.2
	.asciz	"\nScript done, output file is %s\n"

	.comm	_fname,8,3                      ## @fname
	.comm	_fflg,8,3                       ## @fflg
L_.str.3:                               ## @.str.3
	.asciz	"Filemon done, output file is %s\n"

	.comm	_fmfname,8,3                    ## @fmfname
	.comm	_master,4,2                     ## @master
	.no_dead_strip	_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function done
_done:                                  ; @done
	.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
Lloh0:
	adrp	x8, _ttyflg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ttyflg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TCSAFLUSH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCSAFLUSH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, _tt@GOTPAGE
Lloh10:
	ldr	x2, [x2, _tt@GOTPAGEOFF]
	bl	_tcsetattr
LBB0_2:
	mov	x0, #0
	bl	_time
	str	w0, [sp, #12]
Lloh11:
	adrp	x20, _rawout@GOTPAGE
Lloh12:
	ldr	x20, [x20, _rawout@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh13:
	adrp	x21, _fscript@GOTPAGE
Lloh14:
	ldr	x21, [x21, _fscript@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x21]
	mov	x1, #0
	mov	w2, #0
	mov	w3, #101
	bl	_record
LBB0_4:
Lloh15:
	adrp	x8, _qflg@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qflg@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbnz	w8, LBB0_11
; %bb.5:
	ldr	x8, [x20]
	cbnz	x8, LBB0_9
; %bb.6:
Lloh18:
	adrp	x8, _showexit@GOTPAGE
Lloh19:
	ldr	x8, [x8, _showexit@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_8:
	ldr	w20, [x21]
	add	x0, sp, #12
	bl	_ctime
	str	x0, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_9:
Lloh25:
	adrp	x8, _fname@GOTPAGE
Lloh26:
	ldr	x8, [x8, _fname@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh30:
	adrp	x8, _fflg@GOTPAGE
Lloh31:
	ldr	x8, [x8, _fflg@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh33:
	adrp	x8, _fmfname@GOTPAGE
Lloh34:
	ldr	x8, [x8, _fmfname@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_11:
	ldr	w0, [x21]
	bl	_fclose
Lloh38:
	adrp	x8, _master@GOTPAGE
Lloh39:
	ldr	x8, [x8, _master@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_close
	mov	x0, x19
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ttyflg,8,3                     ; @ttyflg
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_TCSAFLUSH,4,2                  ; @TCSAFLUSH
	.comm	_tt,4,2                         ; @tt
	.comm	_rawout,8,3                     ; @rawout
	.comm	_fscript,4,2                    ; @fscript
	.comm	_qflg,4,2                       ; @qflg
	.comm	_showexit,8,3                   ; @showexit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nCommand exit status: %d"

l_.str.1:                               ; @.str.1
	.asciz	"\nScript done on %s"

l_.str.2:                               ; @.str.2
	.asciz	"\nScript done, output file is %s\n"

	.comm	_fname,8,3                      ; @fname
	.comm	_fflg,8,3                       ; @fflg
l_.str.3:                               ; @.str.3
	.asciz	"Filemon done, output file is %s\n"

	.comm	_fmfname,8,3                    ; @fmfname
	.comm	_master,4,2                     ; @master
	.no_dead_strip	_done
.subsections_via_symbols
