	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toremote                       ## -- Begin function toremote
	.p2align	4, 0x90
_toremote:                              ## @toremote
	.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
	movb	$0, (%rdi)
	cmpb	$0, 1(%rdi)
	leaq	1(%rdi), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rcx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r13d
	movslq	%esi, %rbx
	movq	-8(%rdx,%rbx,8), %r15
	decq	%rbx
	movq	%r15, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movq	(%r14,%rbx,8), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_3
## %bb.4:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_okname
	testl	%eax, %eax
	jne	LBB0_5
LBB0_26:
	movl	$1, %edi
	callq	_exit
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_5:
	movq	%r12, %rdi
	callq	_unbracket
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r13d
	jl	LBB0_25
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rcx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rcx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi
	callq	_susystem
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$8, %r14
	decq	%r12
	je	LBB0_25
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_colon
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	cmpb	$0, 1(%rax)
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %r15
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	incq	%rdi
	movb	$0, (%rax)
	callq	_unbracket
	movq	%rax, %r8
	movq	(%r14), %r13
	cmpb	$0, (%r13)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movq	%r8, %rbx
	callq	_okname
	movq	%rbx, %r8
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_remin@GOTPCREL(%rip), %rax
	cmpl	$-1, (%rax)
	jne	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_err
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	_remin@GOTPCREL(%rip), %rcx
	movq	_remout@GOTPCREL(%rip), %r8
	callq	_do_cmd
	testq	%rax, %rax
	js	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_response
	testq	%rax, %rax
	js	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	movq	%r14, %rsi
	callq	_source
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_unbracket
	movq	_eflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	__PATH_RSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rsi, %rcx
	movq	_cmd@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %r8
	xorl	%eax, %eax
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	callq	_asprintf
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_pwd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_eflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	__PATH_RSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rcx
	movq	_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-48(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %r9
	xorl	%eax, %eax
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	pushq	%rbx
	callq	_asprintf
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$48, %rsp
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_err
	jmp	LBB0_16
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_pwd,8,3                        ## @pwd
L_.str.1:                               ## @.str.1
	.asciz	"%s%s %s -l %s -n %s %s '%s%s%s:%s'"

	.comm	__PATH_RSH,4,2                  ## @_PATH_RSH
	.comm	_eflag,8,3                      ## @eflag
L_.str.2:                               ## @.str.2
	.asciz	" -e"

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

	.comm	_cmd,4,2                        ## @cmd
L_.str.4:                               ## @.str.4
	.asciz	"@"

L_.str.5:                               ## @.str.5
	.asciz	"exec %s%s %s -n %s %s '%s%s%s:%s'"

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

	.comm	_remin,4,2                      ## @remin
L_.str.7:                               ## @.str.7
	.asciz	"%s -t %s"

	.comm	_remout,4,2                     ## @remout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toremote                       ; -- Begin function toremote
	.p2align	2
_toremote:                              ; @toremote
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x2
	mov	x23, x1
	strb	wzr, [x0]
	ldrb	w8, [x0, #1]!
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x20, x9, x0, eq
	sub	w8, w1, #1
	sxtw	x21, w8
	ldr	x24, [x2, w8, sxtw #3]
	mov	x0, x24
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	strb	wzr, [x22], #1
	ldr	x0, [x19, x21, lsl #3]
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	bl	_okname
	cbnz	w0, LBB0_6
LBB0_3:
	mov	w0, #1
	bl	_exit
LBB0_4:
	str	xzr, [sp, #64]                  ; 8-byte Folded Spill
	mov	x22, x24
	b	LBB0_6
LBB0_5:
	str	xzr, [sp, #64]                  ; 8-byte Folded Spill
LBB0_6:
	mov	x0, x22
	bl	_unbracket
	cmp	w23, #2
	b.lt	LBB0_26
; %bb.7:
	mov	x22, x0
Lloh2:
	adrp	x9, l_.str.3@PAGE
Lloh3:
	add	x9, x9, l_.str.3@PAGEOFF
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x8, #0
	csel	x28, x9, x8, eq
Lloh4:
	adrp	x8, l_.str.4@PAGE
Lloh5:
	add	x8, x8, l_.str.4@PAGEOFF
	csel	x23, x9, x8, eq
	and	x27, x21, #0xffffffff
Lloh6:
	adrp	x21, _cmd@GOTPAGE
Lloh7:
	ldr	x21, [x21, _cmd@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [sp, #72]
	bl	_susystem
	ldr	x0, [sp, #72]
	bl	_free
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x19, x19, #8
	subs	x27, x27, #1
	b.eq	LBB0_26
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_colon
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	wzr, [x0]
	ldrb	w8, [x0, #1]!
	cmp	w8, #0
Lloh8:
	adrp	x8, l_.str@PAGE
Lloh9:
	add	x8, x8, l_.str@PAGEOFF
	csel	x25, x8, x0, eq
	ldr	x24, [x19]
	mov	x0, x24
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	wzr, [x0], #1
	bl	_unbracket
	mov	x24, x0
	ldr	x26, [x19]
	ldrb	w8, [x26]
	cbz	w8, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x26
	bl	_okname
	cbnz	w0, LBB0_23
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh10:
	adrp	x8, _remin@GOTPAGE
Lloh11:
	ldr	x8, [x8, _remin@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w8, #1
	b.ne	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x21]
	add	x0, sp, #72
Lloh13:
	adrp	x1, l_.str.7@PAGE
Lloh14:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x3, x20
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_err
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	ldp	x1, x2, [sp, #64]               ; 8-byte Folded Reload
	mov	x0, x22
Lloh17:
	adrp	x3, _remin@GOTPAGE
Lloh18:
	ldr	x3, [x3, _remin@GOTPAGEOFF]
Lloh19:
	adrp	x4, _remout@GOTPAGE
Lloh20:
	ldr	x4, [x4, _remout@GOTPAGEOFF]
	bl	_do_cmd
	tbnz	x0, #63, LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_response
	tbnz	x0, #63, LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [sp, #72]
	bl	_free
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_source
	b	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x24
	bl	_unbracket
	mov	x8, x0
Lloh21:
	adrp	x9, __PATH_RSH@GOTPAGE
Lloh22:
	ldr	x9, [x9, __PATH_RSH@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x9]
Lloh24:
	adrp	x9, _eflag@GOTPAGE
Lloh25:
	ldr	x9, [x9, _eflag@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, #0
Lloh27:
	adrp	x9, l_.str.3@PAGE
Lloh28:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh29:
	adrp	x10, l_.str.2@PAGE
Lloh30:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x3, x9, x10, eq
	ldr	w9, [x21]
	stp	x22, x20, [sp, #40]
	stp	x28, x23, [sp, #24]
	stp	x9, x25, [sp, #8]
	add	x0, sp, #72
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh33:
	adrp	x8, _pwd@GOTPAGE
Lloh34:
	ldr	x8, [x8, _pwd@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	x26, [x8]
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh36:
	adrp	x8, __PATH_RSH@GOTPAGE
Lloh37:
	ldr	x8, [x8, __PATH_RSH@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x8, _eflag@GOTPAGE
Lloh40:
	ldr	x8, [x8, _eflag@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x8, #0
Lloh42:
	adrp	x8, l_.str.3@PAGE
Lloh43:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh44:
	adrp	x9, l_.str.2@PAGE
Lloh45:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x8, x9, eq
	ldr	w8, [x21]
	stp	x22, x20, [sp, #48]
	stp	x28, x23, [sp, #32]
	stp	x8, x25, [sp, #16]
	add	x0, sp, #72
	stp	x24, x26, [sp]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_err
	b	LBB0_8
LBB0_26:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_pwd,8,3                        ; @pwd
l_.str.1:                               ; @.str.1
	.asciz	"%s%s %s -l %s -n %s %s '%s%s%s:%s'"

	.comm	__PATH_RSH,4,2                  ; @_PATH_RSH
	.comm	_eflag,8,3                      ; @eflag
l_.str.2:                               ; @.str.2
	.asciz	" -e"

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

	.comm	_cmd,4,2                        ; @cmd
l_.str.4:                               ; @.str.4
	.asciz	"@"

l_.str.5:                               ; @.str.5
	.asciz	"exec %s%s %s -n %s %s '%s%s%s:%s'"

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

	.comm	_remin,4,2                      ; @remin
l_.str.7:                               ; @.str.7
	.asciz	"%s -t %s"

	.comm	_remout,4,2                     ; @remout
.subsections_via_symbols
