	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mls                            ## -- Begin function mls
	.p2align	4, 0x90
_mls:                                   ## @mls
	.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
	movl	%edi, %eax
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	_line@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	movl	%eax, %r14d
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	movl	%r14d, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_margv@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
LBB0_2:
	movl	%eax, %ecx
	movq	%rsi, %rbx
	cmpl	$2, %eax
	jg	LBB0_5
## %bb.3:
	movq	_line@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	movl	%eax, %r14d
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_fflush
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	movl	%r14d, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_margv@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$2, %eax
	jg	LBB0_4
## %bb.21:
	movq	(%rcx), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_printf
	movl	(%r15), %edi
	callq	_fflush
	jmp	LBB0_9
LBB0_4:
	movq	%rcx, %rbx
LBB0_5:
	decl	%eax
	movl	%eax, %r15d
	movq	(%rbx,%r15,8), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	$0, (%rbx,%r15,8)
	movq	-56(%rbp), %r14
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	cmpb	$124, (%r14)
	je	LBB0_10
## %bb.7:
	leaq	-56(%rbp), %rdi
	callq	_globulize
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_confirm
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpb	$108, 1(%rax)
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.7(%rip), %r13
	cmoveq	%rcx, %r13
	movq	_mname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_mflag@GOTPCREL(%rip), %r14
	movl	$1, (%r14)
	movq	_jabort@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	cmpl	$0, (%r14)
	je	LBB0_19
## %bb.11:
	movl	$2, %eax
	movl	$119, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	cmpq	$2, %rax
	movl	$97, %eax
	cmovel	%ebx, %eax
                                        ## kill: def $al killed $al killed $eax
	movb	%al, -41(%rbp)
	movq	-56(%rbp), %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%r12,8), %rdx
	movq	%r13, %rdi
	leaq	-41(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_recvrequest
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_fromatty@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rbx
	movq	%r15, %r13
	movq	_interactive@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$1, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	L_.str.8(%rip), %rdi
	callq	_confirm
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%ecx
	movl	%ecx, (%r14)
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_interactive@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movl	%ecx, %eax
	movq	%r13, %r15
	movq	_mflag@GOTPCREL(%rip), %r14
	movq	%rbx, %r13
	movl	$119, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	1(%r12), %rax
	cmpq	%r15, %r12
	jb	LBB0_12
LBB0_19:
	movl	$0, (%r14)
	jmp	LBB0_20
LBB0_9:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_line,8,3                       ## @line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"(remote-files) "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
L_.str.2:                               ## @.str.2
	.asciz	"(local-file) "

L_.str.3:                               ## @.str.3
	.asciz	"usage:%s remote-files local-file\n"

	.comm	_code,4,2                       ## @code
L_.str.4:                               ## @.str.4
	.asciz	"-"

L_.str.5:                               ## @.str.5
	.asciz	"output to local-file:"

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

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

	.comm	_mname,8,3                      ## @mname
	.comm	_mflag,4,2                      ## @mflag
	.comm	_fromatty,8,3                   ## @fromatty
	.comm	_interactive,4,2                ## @interactive
L_.str.8:                               ## @.str.8
	.asciz	"Continue with"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mls                            ; -- Begin function mls
	.p2align	2
_mls:                                   ; @mls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x23, _line@GOTPAGE
Lloh1:
	ldr	x23, [x23, _line@GOTPAGEOFF]
Lloh2:
	adrp	x20, _stdout@GOTPAGE
Lloh3:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
Lloh4:
	adrp	x22, _margc@GOTPAGE
Lloh5:
	ldr	x22, [x22, _margc@GOTPAGEOFF]
Lloh6:
	adrp	x21, _margv@GOTPAGE
Lloh7:
	ldr	x21, [x21, _margv@GOTPAGEOFF]
	mov	x8, x0
	cmp	w0, #2
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	bl	_fflush
	ldr	x19, [x23]
	mov	x0, x19
	bl	_strlen
	add	x0, x19, x0, lsl #2
	bl	_gets
	bl	_makeargv
	ldr	w8, [x22]
	ldr	x1, [x21]
LBB0_2:
	mov	x10, x8
	mov	x9, x1
	cmp	w8, #2
	b.gt	LBB0_6
; %bb.3:
	ldr	x0, [x23]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	bl	_fflush
	ldr	x19, [x23]
	mov	x0, x19
	bl	_strlen
	add	x0, x19, x0, lsl #2
	bl	_gets
	bl	_makeargv
	ldr	w10, [x22]
	ldr	x9, [x21]
	cmp	w10, #2
	b.gt	LBB0_5
; %bb.4:
	ldr	x8, [x9]
	mov	x9, sp
	str	x8, [x9]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	bl	_fflush
	b	LBB0_18
LBB0_5:
	mov	x8, x10
LBB0_6:
	mov	x22, x9
	sub	w8, w8, #1
	mov	x23, x8
	lsl	x8, x23, #3
	ldr	x9, [x9, x8]
	str	x9, [sp, #24]
	str	xzr, [x22, x8]
	ldr	x19, [sp, #24]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.7:
	ldrb	w8, [x19]
	cmp	w8, #124
	b.eq	LBB0_10
; %bb.8:
	add	x0, sp, #24
	bl	_globulize
	cbz	w0, LBB0_18
; %bb.9:
	ldr	x1, [sp, #24]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_confirm
	cbz	x0, LBB0_18
LBB0_10:
	ldr	x8, [x22]
	ldrb	w9, [x8, #1]
Lloh22:
	adrp	x10, l_.str.7@PAGE
Lloh23:
	add	x10, x10, l_.str.7@PAGEOFF
Lloh24:
	adrp	x11, l_.str.6@PAGE
Lloh25:
	add	x11, x11, l_.str.6@PAGEOFF
	cmp	w9, #108
	csel	x19, x11, x10, eq
Lloh26:
	adrp	x9, _mname@GOTPAGE
Lloh27:
	ldr	x9, [x9, _mname@GOTPAGEOFF]
Lloh28:
	adrp	x24, _mflag@GOTPAGE
Lloh29:
	ldr	x24, [x24, _mflag@GOTPAGEOFF]
Lloh30:
	str	x8, [x9]
	mov	w8, #1
	str	w8, [x24]
Lloh31:
	adrp	x8, _jabort@GOTPAGE
Lloh32:
	ldr	x8, [x8, _jabort@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_setjmp
	ldr	w8, [x24]
	cbz	w8, LBB0_17
; %bb.11:
	mov	w8, #1
	mov	x21, x8
	mov	w26, #97
	mov	w27, #119
Lloh34:
	adrp	x28, _fromatty@GOTPAGE
Lloh35:
	ldr	x28, [x28, _fromatty@GOTPAGEOFF]
	add	x20, sp, #23
Lloh36:
	adrp	x25, _interactive@GOTPAGE
Lloh37:
	ldr	x25, [x25, _interactive@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x8
	str	w26, [x25]
	mov	w26, #97
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	cmp	w8, #0
	ccmp	x21, x23, #2, ne
	b.hs	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, #1
	csel	w8, w27, w26, eq
	strb	w8, [sp, #23]
	ldr	x1, [sp, #24]
	ldr	x2, [x22, x21, lsl #3]
	mov	w4, #0
	mov	x0, x19
	mov	x3, x20
	bl	_recvrequest
	ldr	w8, [x24]
	cmp	w8, #0
	ldr	x9, [x28]
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w26, [x25]
	mov	w8, #1
	str	w8, [x25]
	ldr	x1, [x22]
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_confirm
	ldr	w8, [x24]
	cbz	x0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w8, w8, #1
	str	w8, [x24]
	b	LBB0_12
LBB0_17:
	mov	w8, #0
	str	wzr, [x24]
	b	LBB0_19
LBB0_18:
Lloh40:
	adrp	x8, _code@GOTPAGE
Lloh41:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh42:
	str	w9, [x8]
LBB0_19:
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh30
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_line,8,3                       ; @line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"(remote-files) "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
l_.str.2:                               ; @.str.2
	.asciz	"(local-file) "

l_.str.3:                               ; @.str.3
	.asciz	"usage:%s remote-files local-file\n"

	.comm	_code,4,2                       ; @code
l_.str.4:                               ; @.str.4
	.asciz	"-"

l_.str.5:                               ; @.str.5
	.asciz	"output to local-file:"

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

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

	.comm	_mname,8,3                      ; @mname
	.comm	_mflag,4,2                      ; @mflag
	.comm	_fromatty,8,3                   ; @fromatty
	.comm	_interactive,4,2                ; @interactive
l_.str.8:                               ; @.str.8
	.asciz	"Continue with"

.subsections_via_symbols
