	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)
	movq	%rsi, -56(%rbp)
	movl	%edi, %eax
	cmpl	$1, %edi
	jg	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdx
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_23
## %bb.2:
	movl	-44(%rbp), %eax
LBB0_3:
	movl	%eax, %ecx
	cmpl	$2, %eax
	jg	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_23
## %bb.5:
	movl	-44(%rbp), %eax
LBB0_6:
	movq	-56(%rbp), %rcx
	cltq
	movq	-8(%rcx,%rax,8), %rdx
	movq	%rdx, -64(%rbp)
	movq	$0, -8(%rcx,%rax,8)
	movq	-64(%rbp), %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	cmpb	$124, (%rbx)
	je	LBB0_11
## %bb.8:
	leaq	-64(%rbp), %rdi
	callq	_globulize
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_confirm
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movq	-56(%rbp), %rax
	movq	(%rax), %rax
	cmpb	$108, 1(%rax)
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %r14
	cmoveq	%rcx, %r14
	movq	_mname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_mflag@GOTPCREL(%rip), %rbx
	movl	$1, (%rbx)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_mabort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_jabort@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	movb	$0, -45(%rbp)
	cmpl	$0, (%rbx)
	je	LBB0_21
## %bb.12:
	cmpl	$3, -44(%rbp)
	jl	LBB0_21
## %bb.13:
	movl	$2, %eax
	movl	$119, %r13d
	movq	_interactive@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	cmpq	$2, %rax
	movl	$97, %eax
	cmovel	%r13d, %eax
                                        ## kill: def $al killed $al killed $eax
	movb	%al, -46(%rbp)
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rax
	movq	-8(%rax,%r12,8), %rdx
	movq	%r14, %rdi
	leaq	-46(%rbp), %rcx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_recvrequest
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_fromatty@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15), %r13d
	movl	$1, (%r15)
	movq	-56(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_confirm
	movl	(%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	incl	%ecx
	movl	%ecx, (%rbx)
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%r13d, (%r15)
	movl	%ecx, %eax
	movl	$119, %r13d
	movq	_mflag@GOTPCREL(%rip), %rbx
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	-44(%rbp), %rcx
	decq	%rcx
	leaq	1(%r12), %rax
	cmpq	%rcx, %r12
	jl	LBB0_14
LBB0_21:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_signal
	movl	$0, (%rbx)
	jmp	LBB0_22
LBB0_23:
	movq	-56(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
LBB0_10:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_22:
	addq	$40, %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	"remote-files"

L_.str.1:                               ## @.str.1
	.asciz	"local-file"

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

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

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

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

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

	.comm	_mname,8,3                      ## @mname
	.comm	_mflag,4,2                      ## @mflag
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_mabort,4,2                     ## @mabort
	.comm	_jabort,4,2                     ## @jabort
	.comm	_fromatty,8,3                   ## @fromatty
	.comm	_interactive,4,2                ## @interactive
L_.str.7:                               ## @.str.7
	.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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	w0, [sp, #44]
	str	x1, [sp, #32]
	mov	x8, x0
	cmp	w0, #2
	b.ge	LBB0_3
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #44
	add	x1, sp, #32
	bl	_another
	cbz	w0, LBB0_19
; %bb.2:
	ldr	w8, [sp, #44]
LBB0_3:
	mov	x9, x8
	cmp	w8, #2
	b.gt	LBB0_6
; %bb.4:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #44
	add	x1, sp, #32
	bl	_another
	cbz	w0, LBB0_19
; %bb.5:
	ldr	w8, [sp, #44]
LBB0_6:
	ldr	x10, [sp, #32]
	sub	w8, w8, #1
                                        ; kill: def $w8 killed $w8 def $x8
	sbfiz	x8, x8, #3, #32
	ldr	x11, [x10, x8]
	str	x11, [sp, #16]
	str	xzr, [x10, x8]
	ldr	x19, [sp, #16]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@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, #16
	bl	_globulize
	cbz	w0, LBB0_20
; %bb.9:
	ldr	x1, [sp, #16]
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_confirm
	cbz	x0, LBB0_20
LBB0_10:
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, l_.str.6@PAGE
Lloh9:
	add	x9, x9, l_.str.6@PAGEOFF
	ldrb	w10, [x8, #1]
Lloh10:
	adrp	x11, l_.str.5@PAGE
Lloh11:
	add	x11, x11, l_.str.5@PAGEOFF
	cmp	w10, #108
Lloh12:
	adrp	x10, _mname@GOTPAGE
Lloh13:
	ldr	x10, [x10, _mname@GOTPAGEOFF]
	csel	x20, x11, x9, eq
Lloh14:
	str	x8, [x10]
Lloh15:
	adrp	x24, _mflag@GOTPAGE
Lloh16:
	ldr	x24, [x24, _mflag@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x24]
Lloh17:
	adrp	x8, _SIGINT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _mabort@GOTPAGE
Lloh21:
	ldr	x8, [x8, _mabort@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_signal
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh23:
	adrp	x8, _jabort@GOTPAGE
Lloh24:
	ldr	x8, [x8, _jabort@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_setjmp
	mov	w8, #0
	strb	wzr, [sp, #31]
	ldr	w8, [x24]
	cbz	w8, LBB0_18
; %bb.11:
	ldr	w8, [sp, #44]
	cmp	w8, #3
	b.lt	LBB0_18
; %bb.12:
	mov	w21, #1
	mov	x19, x21
	mov	w26, #97
	mov	w27, #119
Lloh26:
	adrp	x28, _fromatty@GOTPAGE
Lloh27:
	ldr	x28, [x28, _fromatty@GOTPAGEOFF]
	add	x22, sp, #30
Lloh28:
	adrp	x25, _interactive@GOTPAGE
Lloh29:
	ldr	x25, [x25, _interactive@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x8
	str	w23, [x25]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x19, x19, #1
	ldrsw	x10, [sp, #44]
	sub	x10, x10, #1
	cmp	w8, #0
	ccmp	x19, x10, #0, ne
	b.ge	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	x19, #1
	csel	w8, w27, w26, eq
	strb	w8, [sp, #30]
	ldr	x1, [sp, #16]
	ldr	x8, [sp, #32]
	ldr	x2, [x8, x19, lsl #3]
	mov	w4, #0
	mov	x0, x20
	mov	x3, x22
	mov	x5, x21
	bl	_recvrequest
	ldr	w8, [x24]
	cmp	w8, #0
	ldr	x9, [x28]
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w23, [x25]
	str	w21, [x25]
	ldr	x8, [sp, #32]
	ldr	x1, [x8]
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_confirm
	ldr	w8, [x24]
	cbz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w8, w8, #1
	str	w8, [x24]
	b	LBB0_13
LBB0_18:
Lloh32:
	adrp	x8, _SIGINT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_signal
	mov	w8, #0
	str	wzr, [x24]
	b	LBB0_21
LBB0_19:
	ldr	x8, [sp, #32]
	ldr	x1, [x8]
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
LBB0_20:
Lloh37:
	adrp	x8, _code@GOTPAGE
Lloh38:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh39:
	str	w9, [x8]
LBB0_21:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote-files"

l_.str.1:                               ; @.str.1
	.asciz	"local-file"

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

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

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

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

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

	.comm	_mname,8,3                      ; @mname
	.comm	_mflag,4,2                      ; @mflag
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_mabort,4,2                     ; @mabort
	.comm	_jabort,4,2                     ; @jabort
	.comm	_fromatty,8,3                   ; @fromatty
	.comm	_interactive,4,2                ; @interactive
l_.str.7:                               ; @.str.7
	.asciz	"Continue with"

.subsections_via_symbols
