	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outof                          ## -- Begin function outof
	.p2align	4, 0x90
_outof:                                 ## @outof
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	callq	_time
	movq	%r14, %rdi
	callq	_ctime
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_image@GOTPCREL(%rip), %r12
	movq	_GDEL@GOTPCREL(%rip), %r14
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_warn
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_GDEL@GOTPCREL(%rip), %r14
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	orl	%eax, 16(%r13)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	movq	(%r13), %rdi
	callq	_isfileaddr
	movq	(%r13), %r15
	movb	(%r15), %cl
	testl	%eax, %eax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$124, %cl
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_expand
	movq	%rax, %r15
	xorl	%eax, %eax
	cmpl	$0, (%r12)
	js	LBB0_13
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	%al, %al
	je	LBB0_32
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
	leaq	L_.str.5(%rip), %rdi
	callq	_value
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	__PATH_CSHELL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-108(%rbp), %r12
	movq	%r12, %rdi
	callq	_sigemptyset
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sigaddset
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sigaddset
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sigaddset
	movl	(%r14), %edx
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$-1, %ecx
	leaq	L_.str.6(%rip), %r8
	movq	%r15, %r9
	pushq	$0
	callq	_start_command
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_free_child
	movq	%r14, %r12
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$124, %cl
	jne	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movb	$1, %al
	cmpl	$0, (%r12)
	jns	LBB0_25
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_PATHSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	_tmpdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %esi
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_mkstemp
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Fdopen
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	movq	_image@GOTPCREL(%rip), %rcx
	movq	%rbx, %r14
	movq	%rcx, %rbx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_rm
	movl	(%rbx), %edi
	testl	%edi, %edi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	js	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	_F_SETFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_fcntl
	movq	_myname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movq	_GSUBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GTO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_GCC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_GREPLYTO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_GINREPLYTO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_GNL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_puthead
	movq	%rbx, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	je	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_putc
	movq	%rbx, %rdi
	callq	_getc
	cmpl	(%r14), %eax
	jne	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_rewind
	movl	$10, %edi
	movq	%r12, %rsi
	callq	_fputc
	movq	%r12, %rdi
	callq	_fflush
	movq	%r12, %rdi
	callq	_ferror
	testq	%rax, %rax
	movq	_GDEL@GOTPCREL(%rip), %r14
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_warn
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r12, %rdi
	callq	_Fclose
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warn
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	_image@GOTPCREL(%rip), %r12
	jmp	LBB0_46
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r14, %r12
	jmp	LBB0_45
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_warn
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r12, %rdi
	callq	_Fclose
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	_image@GOTPCREL(%rip), %r12
	jmp	LBB0_45
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_Fclose
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	_image@GOTPCREL(%rip), %r12
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testb	%al, %al
	jne	LBB0_26
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_Fopen
	testq	%rax, %rax
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movl	(%r12), %edi
	callq	_dup
	testl	%eax, %eax
	js	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_Fdopen
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rewind
	movq	%rbx, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	je	LBB0_42
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_putc
	movq	%rbx, %rdi
	callq	_getc
	cmpl	(%r12), %eax
	jne	LBB0_40
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	movq	_image@GOTPCREL(%rip), %r12
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_warnx
	movq	_senderr@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_Fclose
	movq	%rbx, %rdi
	callq	_Fclose
	jmp	LBB0_45
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$19, %esi
	movl	$1, %edx
	leaq	L_.str.9(%rip), %rdi
	callq	_fwrite
	movq	%r14, %rdi
	callq	_Fclose
	jmp	LBB0_34
LBB0_5:
	movq	_image@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_7
## %bb.6:
	callq	_close
	movl	$-1, (%rbx)
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.47:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_image,4,2                      ## @image
	.comm	_PATHSIZE,4,2                   ## @PATHSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/mail.ReXXXXXXXXXX"

	.comm	_tmpdir,8,3                     ## @tmpdir
L_.str.1:                               ## @.str.1
	.asciz	"a"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_senderr,4,2                    ## @senderr
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_F_SETFD,4,2                    ## @F_SETFD
L_.str.3:                               ## @.str.3
	.asciz	"From %s %s"

	.comm	_myname,8,3                     ## @myname
	.comm	_GTO,4,2                        ## @GTO
	.comm	_GSUBJECT,4,2                   ## @GSUBJECT
	.comm	_GCC,4,2                        ## @GCC
	.comm	_GREPLYTO,4,2                   ## @GREPLYTO
	.comm	_GINREPLYTO,4,2                 ## @GINREPLYTO
	.comm	_GNL,4,2                        ## @GNL
	.comm	_EOF,4,2                        ## @EOF
L_.str.5:                               ## @.str.5
	.asciz	"SHELL"

	.comm	__PATH_CSHELL,8,3               ## @_PATH_CSHELL
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
L_.str.6:                               ## @.str.6
	.asciz	"-c"

L_.str.7:                               ## @.str.7
	.asciz	"dup"

L_.str.8:                               ## @.str.8
	.asciz	"r"

	.comm	_stderr,8,3                     ## @stderr
L_.str.9:                               ## @.str.9
	.asciz	"Can't reopen image\n"

	.comm	_GDEL,4,2                       ## @GDEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outof                          ; -- Begin function outof
	.p2align	2
_outof:                                 ; @outof
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	stur	x2, [x29, #-112]                ; 8-byte Folded Spill
	mov	x21, x1
	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]
	sub	x0, x29, #92
	bl	_time
	sub	x0, x29, #92
	bl	_ctime
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
Lloh3:
	adrp	x27, _image@GOTPAGE
Lloh4:
	ldr	x27, [x27, _image@GOTPAGEOFF]
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	cbz	x19, LBB0_35
; %bb.1:
Lloh5:
	adrp	x23, _EOF@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
Lloh7:
	adrp	x28, _GDEL@GOTPAGE
Lloh8:
	ldr	x28, [x28, _GDEL@GOTPAGEOFF]
	ldur	x24, [x29, #-104]               ; 8-byte Folded Reload
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x26, [sp, #-16]!
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	add	sp, sp, #16
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh11:
	adrp	x9, _senderr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _senderr@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	ldr	w9, [x24, #16]
	orr	w8, w9, w8
	str	w8, [x24, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_35
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	ldr	x0, [x24]
	bl	_isfileaddr
	mov	x8, x0
	ldr	x0, [x24]
	ldrb	w9, [x0]
	cmp	w9, #124
	cbz	w8, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	b.eq	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_expand
	mov	x26, x0
	mov	w19, #0
	ldr	w8, [x27]
	tbnz	w8, #31, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	w19, LBB0_24
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_value
Lloh15:
	adrp	x8, __PATH_CSHELL@GOTPAGE
Lloh16:
	ldr	x8, [x8, __PATH_CSHELL@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x0, eq
	sub	x0, x29, #96
	bl	_sigemptyset
Lloh18:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_sigaddset
Lloh21:
	adrp	x8, _SIGINT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_sigaddset
Lloh24:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_sigaddset
	ldr	w2, [x27]
	sub	x1, x29, #96
	mov	x0, x20
	mov	w3, #-1
Lloh27:
	adrp	x4, l_.str.6@PAGE
Lloh28:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x5, x26
	mov	x6, #0
	bl	_start_command
	tbnz	w0, #31, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_free_child
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	b.ne	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x0, #1
	mov	w19, #1
	ldr	w8, [x27]
	tbz	w8, #31, LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, sp
Lloh29:
	adrp	x8, _PATHSIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PATHSIZE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x9, x1
Lloh32:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh33:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh34:
	adrp	x8, _tmpdir@GOTPAGE
Lloh35:
	ldr	x8, [x8, _tmpdir@GOTPAGEOFF]
Lloh36:
	ldr	x3, [x8]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh37:
	adrp	x2, l_.str@PAGE
Lloh38:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	mov	x0, x20
	bl	_mkstemp
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Fdopen
	cbz	x0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
Lloh41:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_open
	str	w0, [x27]
	mov	x0, x20
	bl	_rm
	ldr	w0, [x27]
	tbnz	w0, #31, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh44:
	adrp	x8, _F_SETFD@GOTPAGE
Lloh45:
	ldr	x8, [x8, _F_SETFD@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_fcntl
Lloh47:
	adrp	x8, _myname@GOTPAGE
Lloh48:
	ldr	x8, [x8, _myname@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	stp	x8, x9, [sp, #-16]!
	mov	x0, x22
Lloh50:
	adrp	x1, l_.str.3@PAGE
Lloh51:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
Lloh52:
	adrp	x8, _GTO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _GTO@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _GSUBJECT@GOTPAGE
Lloh56:
	ldr	x9, [x9, _GSUBJECT@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh58:
	adrp	x9, _GCC@GOTPAGE
Lloh59:
	ldr	x9, [x9, _GCC@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh61:
	adrp	x9, _GREPLYTO@GOTPAGE
Lloh62:
	ldr	x9, [x9, _GREPLYTO@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh64:
	adrp	x9, _GINREPLYTO@GOTPAGE
Lloh65:
	ldr	x9, [x9, _GINREPLYTO@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh67:
	adrp	x9, _GNL@GOTPAGE
Lloh68:
	ldr	x9, [x9, _GNL@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	mov	x1, x22
	bl	_puthead
LBB0_18:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_getc
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x1, x22
	bl	_putc
	b	LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x20, [sp, #-16]!
Lloh70:
	adrp	x0, l_.str.2@PAGE
Lloh71:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	add	sp, sp, #16
Lloh72:
	adrp	x9, _senderr@GOTPAGE
Lloh73:
	ldr	x9, [x9, _senderr@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	mov	sp, x25
	b	LBB0_4
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_rewind
	mov	w0, #10
	mov	x1, x22
	bl	_fputc
	mov	x0, x22
	bl	_fflush
	mov	x0, x22
	bl	_ferror
	cbz	x0, LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x20, [sp, #-16]!
Lloh74:
	adrp	x0, l_.str.2@PAGE
Lloh75:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	add	sp, sp, #16
Lloh76:
	adrp	x9, _senderr@GOTPAGE
Lloh77:
	ldr	x9, [x9, _senderr@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	mov	x0, x22
	bl	_Fclose
	mov	sp, x25
	b	LBB0_4
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_Fclose
	mov	sp, x25
	cbnz	w19, LBB0_10
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh78:
	adrp	x1, l_.str.1@PAGE
Lloh79:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Fopen
	cbz	x0, LBB0_2
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x0
	ldr	w0, [x27]
	bl	_dup
	tbnz	w0, #31, LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh80:
	adrp	x1, l_.str.8@PAGE
Lloh81:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_Fdopen
	cbz	x0, LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	bl	_rewind
LBB0_28:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_getc
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x1, x20
	bl	_putc
	b	LBB0_28
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh82:
	adrp	x0, l_.str.2@PAGE
Lloh83:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x26
	bl	_warnx
Lloh84:
	adrp	x9, _senderr@GOTPAGE
Lloh85:
	ldr	x9, [x9, _senderr@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_Fclose
	mov	x0, x22
	bl	_Fclose
	b	LBB0_4
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh86:
	adrp	x0, l_.str.7@PAGE
Lloh87:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warn
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh88:
	adrp	x8, _stderr@GOTPAGE
Lloh89:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh90:
	ldr	x3, [x8]
Lloh91:
	adrp	x0, l_.str.9@PAGE
Lloh92:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #19
	mov	w2, #1
	bl	_fwrite
	mov	x0, x20
	bl	_Fclose
	b	LBB0_3
LBB0_35:
	ldr	w0, [x27]
	tbnz	w0, #31, LBB0_37
; %bb.36:
	bl	_close
	mov	w8, #-1
	str	w8, [x27]
LBB0_37:
	ldur	x8, [x29, #-88]
Lloh93:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh94:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_image,4,2                      ; @image
	.comm	_PATHSIZE,4,2                   ; @PATHSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/mail.ReXXXXXXXXXX"

	.comm	_tmpdir,8,3                     ; @tmpdir
l_.str.1:                               ; @.str.1
	.asciz	"a"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_senderr,4,2                    ; @senderr
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_F_SETFD,4,2                    ; @F_SETFD
l_.str.3:                               ; @.str.3
	.asciz	"From %s %s"

	.comm	_myname,8,3                     ; @myname
	.comm	_GTO,4,2                        ; @GTO
	.comm	_GSUBJECT,4,2                   ; @GSUBJECT
	.comm	_GCC,4,2                        ; @GCC
	.comm	_GREPLYTO,4,2                   ; @GREPLYTO
	.comm	_GINREPLYTO,4,2                 ; @GINREPLYTO
	.comm	_GNL,4,2                        ; @GNL
	.comm	_EOF,4,2                        ; @EOF
l_.str.5:                               ; @.str.5
	.asciz	"SHELL"

	.comm	__PATH_CSHELL,8,3               ; @_PATH_CSHELL
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
l_.str.6:                               ; @.str.6
	.asciz	"-c"

l_.str.7:                               ; @.str.7
	.asciz	"dup"

l_.str.8:                               ; @.str.8
	.asciz	"r"

	.comm	_stderr,8,3                     ; @stderr
l_.str.9:                               ; @.str.9
	.asciz	"Can't reopen image\n"

	.comm	_GDEL,4,2                       ; @GDEL
.subsections_via_symbols
