	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mespipe                        ## -- Begin function mespipe
	.p2align	4, 0x90
_mespipe:                               ## @mespipe
	.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, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	%eax, %r12d
	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, %r15
	movq	_tmpdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	movq	%r15, %rdi
	callq	_mkstemp
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_Fdopen
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_rm
	leaq	L_.str.3(%rip), %rdi
	callq	_value
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	__PATH_CSHELL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fileno
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_fileno
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %r8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movq	%r14, %r9
	pushq	$0
	callq	_run_command
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_10
## %bb.5:
	movq	%r13, %rdi
	callq	_fsize
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_fseeko
	movq	_collf@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_warn
	jmp	LBB0_12
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_10:
	movq	%r13, %rdi
LBB0_11:
	callq	_Fclose
LBB0_12:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_signal
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.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	"w+"

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

L_.str.3:                               ## @.str.3
	.asciz	"SHELL"

	.comm	__PATH_CSHELL,8,3               ## @_PATH_CSHELL
L_.str.4:                               ## @.str.4
	.asciz	"-c"

	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"No bytes from \"%s\" !?\n"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_collf,8,3                      ## @collf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mespipe                        ; -- Begin function mespipe
	.p2align	2
_mespipe:                               ; @mespipe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _SIGINT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SIGINT@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh5:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_signal
	mov	x19, x0
Lloh8:
	adrp	x8, _PATHSIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PATHSIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x9, x1
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh13:
	adrp	x8, _tmpdir@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tmpdir@GOTPAGEOFF]
Lloh15:
	ldr	x3, [x8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
	mov	x0, x23
	bl	_mkstemp
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Fdopen
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	mov	x0, x23
	bl	_rm
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_value
Lloh22:
	adrp	x8, __PATH_CSHELL@GOTPAGE
Lloh23:
	ldr	x8, [x8, __PATH_CSHELL@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x23, x8, x0, eq
	mov	x0, x20
	bl	_fileno
	mov	x24, x0
	mov	x0, x22
	bl	_fileno
	mov	x3, x0
Lloh25:
	adrp	x4, l_.str.4@PAGE
Lloh26:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	w1, #0
	mov	x2, x24
	mov	x5, x21
	mov	x6, #0
	bl	_run_command
	tbnz	x0, #63, LBB0_7
; %bb.3:
	mov	x0, x22
	bl	_fsize
	cbz	x0, LBB0_6
; %bb.4:
Lloh27:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_fseeko
Lloh30:
	adrp	x8, _collf@GOTPAGE
Lloh31:
	ldr	x8, [x8, _collf@GOTPAGEOFF]
Lloh32:
	str	x22, [x8]
	mov	x0, x20
	b	LBB0_8
LBB0_5:
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_warn
	b	LBB0_9
LBB0_6:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_7:
	mov	x0, x22
LBB0_8:
	bl	_Fclose
LBB0_9:
	ldr	w0, [x25]
	mov	x1, x19
	bl	_signal
	ldur	x8, [x29, #-72]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.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	"w+"

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

l_.str.3:                               ; @.str.3
	.asciz	"SHELL"

	.comm	__PATH_CSHELL,8,3               ; @_PATH_CSHELL
l_.str.4:                               ; @.str.4
	.asciz	"-c"

	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"No bytes from \"%s\" !?\n"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_collf,8,3                      ; @collf
.subsections_via_symbols
