	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ## -- Begin function cmd_main
	.p2align	4, 0x90
_cmd_main:                              ## @cmd_main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_strbuf_addf
	movl	-72(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-72(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_8
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.7(%rip), %rdx
	leaq	L_.str.8(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$1, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.6:
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	movl	$1, %r15d
	leaq	L_.str.6(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r15
	cmpq	%r15, %r14
	jne	LBB0_7
LBB0_8:
	movl	$10, %edi
	movq	%rbx, %rsi
	callq	_fputc
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$2, %ecx
	jl	LBB0_10
## %bb.9:
	decl	%ecx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)
	movq	_RUN_USING_SHELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	callq	_run_command_v_opt
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TRASH_DIRECTORY"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"Need a TRASH_DIRECTORY!"

L_.str.2:                               ## @.str.2
	.asciz	"%s/ssh-output"

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

L_.str.4:                               ## @.str.4
	.asciz	"Could not write to %s"

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

L_.str.6:                               ## @.str.6
	.asciz	" "

L_.str.7:                               ## @.str.7
	.space	1

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

	.comm	_RUN_USING_SHELL,4,2            ## @RUN_USING_SHELL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ; -- Begin function cmd_main
	.p2align	2
_cmd_main:                              ; @cmd_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x21, x0
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	xzr, [sp, #32]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_2:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #16
	mov	x2, x21
	bl	_strbuf_addf
	ldr	w0, [sp, #16]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #16]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_die
LBB0_4:
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.5:
Lloh16:
	adrp	x8, l_.str.8@PAGE
Lloh17:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh18:
	adrp	x9, l_.str.7@PAGE
Lloh19:
	add	x9, x9, l_.str.7@PAGEOFF
	stp	x9, x8, [sp]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	cmp	w20, #1
	b.eq	LBB0_8
; %bb.6:
	mov	w8, w20
	add	x23, x19, #8
	sub	x24, x8, #1
Lloh22:
	adrp	x25, l_.str.6@PAGE
Lloh23:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh24:
	adrp	x22, l_.str.5@PAGE
Lloh25:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23], #8
	stp	x25, x8, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_fprintf
	subs	x24, x24, #1
	b.ne	LBB0_7
LBB0_8:
	mov	w0, #10
	mov	x1, x21
	bl	_fputc
	mov	x0, x21
	bl	_fclose
	subs	w8, w20, #1
	b.gt	LBB0_10
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	ldr	x8, [x19, w8, uxtw #3]
	str	x8, [sp, #24]
Lloh26:
	adrp	x8, _RUN_USING_SHELL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RUN_USING_SHELL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_run_command_v_opt
LBB0_11:
	ldr	x8, [sp, #40]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TRASH_DIRECTORY"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"Need a TRASH_DIRECTORY!"

l_.str.2:                               ; @.str.2
	.asciz	"%s/ssh-output"

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

l_.str.4:                               ; @.str.4
	.asciz	"Could not write to %s"

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

l_.str.6:                               ; @.str.6
	.asciz	" "

l_.str.7:                               ; @.str.7
	.space	1

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

	.comm	_RUN_USING_SHELL,4,2            ; @RUN_USING_SHELL
.subsections_via_symbols
