	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ls                             ## -- Begin function ls
	.p2align	4, 0x90
_ls:                                    ## @ls
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	(%rsi), %rdi
	movb	(%rdi), %r15b
	xorl	%r13d, %r13d
	cmpb	$112, %r15b
	sete	%r13b
	addq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.2:
	movq	(%r12), %rdi
	addq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_features@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FEAT_MLST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_13
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.5:
	leaq	L_.str.3(%rip), %rcx
	movl	$1, %eax
LBB0_6:
	leaq	L_.str(%rip), %rdi
	cmpl	$2, %ebx
	jl	LBB0_9
## %bb.7:
	movq	8(%r12), %rdx
	jne	LBB0_14
LBB0_8:
	movq	%rdx, %r13
	cmpb	$112, %r15b
	je	LBB0_10
LBB0_20:
	movq	%rcx, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rdi, %rbx
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	cmpb	$124, (%rbx)
	movq	%rbx, %rsi
	jne	LBB0_24
## %bb.22:
	xorl	%r12d, %r12d
	jmp	LBB0_27
LBB0_9:
	xorl	%r13d, %r13d
	cmpb	$112, %r15b
	jne	LBB0_20
LBB0_10:
	movq	%rcx, %r15
	leaq	L_.str.9(%rip), %rdi
	callq	_getoptionvalue
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_EMPTYSTRING
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_DEFAULTPAGER@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_12:
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	leaq	2(%rbx), %rdi
	callq	_ftp_malloc
	movq	%rax, %r12
	movb	$124, (%rax)
	leaq	1(%rax), %rdi
	incq	%rbx
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_strlcpy
	movq	%r12, %rsi
	movq	%r15, %rdi
	jmp	LBB0_28
LBB0_13:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_14:
	cmpl	$3, %ebx
	ja	LBB0_16
## %bb.15:
	orl	%r13d, %eax
	je	LBB0_19
LBB0_16:
	testq	%r14, %r14
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rdi
	cmoveq	%rax, %rdi
	cmpb	$112, %r15b
	cmoveq	%rax, %rdi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.7(%rip), %rdi
LBB0_18:
	movq	(%r12), %rsi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	jmp	LBB0_31
LBB0_23:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_28
LBB0_24:
	movq	%rsi, %rdi
	callq	_globulize
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_30
## %bb.25:
	leaq	L_.str.10(%rip), %rdi
	movq	%r12, %rsi
	callq	_confirm
	testl	%eax, %eax
	je	LBB0_30
## %bb.26:
	movq	%r12, %rsi
LBB0_27:
	movq	%r14, %rdi
LBB0_28:
	leaq	L_.str.11(%rip), %rcx
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_recvrequest
	testq	%r12, %r12
	je	LBB0_31
LBB0_29:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_30:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	testq	%r12, %r12
	jne	LBB0_29
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	16(%r12), %rdi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	"mlsd"

	.comm	_features,8,3                   ## @features
	.comm	_FEAT_MLST,8,3                  ## @FEAT_MLST
	.comm	_ttyout,4,2                     ## @ttyout
L_.str.2:                               ## @.str.2
	.asciz	"MLSD is not supported by the remote server.\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"nlist"

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

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

L_.str.7:                               ## @.str.7
	.asciz	"usage: %s [remote-path]\n"

L_.str.8:                               ## @.str.8
	.asciz	"usage: %s [remote-path [local-file]]\n"

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

	.comm	_DEFAULTPAGER,8,3               ## @DEFAULTPAGER
L_.str.10:                              ## @.str.10
	.asciz	"output to local-file:"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ls                             ; -- Begin function ls
	.p2align	2
_ls:                                    ; @ls
	.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
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x1]
	mov	x9, x8
	ldrb	w24, [x9], #1
	cmp	w24, #112
	cset	w25, eq
	csel	x0, x8, x9, ne
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	mov	x23, x0
	cbz	x0, LBB0_7
; %bb.1:
	cbz	w22, LBB0_6
; %bb.2:
	ldr	x8, [x21]
	add	x0, x8, x25
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	mov	w8, #0
Lloh4:
	adrp	x9, l_.str.6@PAGE
Lloh5:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh6:
	adrp	x10, l_.str.5@PAGE
Lloh7:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x0, #0
	csel	x19, x10, x9, eq
	cmp	w22, #2
	b.lt	LBB0_10
LBB0_3:
	ldr	x20, [x21, #8]
	cmp	w22, #2
	b.eq	LBB0_11
; %bb.4:
	cmp	w22, #3
	b.hi	LBB0_6
; %bb.5:
	orr	w8, w8, w25
	cbz	w8, LBB0_17
LBB0_6:
	cmp	x23, #0
	mov	w8, #112
	ccmp	w24, w8, #4, ne
Lloh8:
	adrp	x8, l_.str.8@PAGE
Lloh9:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh10:
	adrp	x9, l_.str.7@PAGE
Lloh11:
	add	x9, x9, l_.str.7@PAGEOFF
	csel	x0, x9, x8, eq
	b	LBB0_16
LBB0_7:
Lloh12:
	adrp	x8, _features@GOTPAGE
Lloh13:
	ldr	x8, [x8, _features@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _FEAT_MLST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FEAT_MLST@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_14
; %bb.8:
	cbz	w22, LBB0_15
; %bb.9:
Lloh18:
	adrp	x19, l_.str.3@PAGE
Lloh19:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	w8, #1
	cmp	w22, #2
	b.ge	LBB0_3
LBB0_10:
	mov	x20, #0
LBB0_11:
Lloh20:
	adrp	x22, l_.str@PAGE
Lloh21:
	add	x22, x22, l_.str@PAGEOFF
	cmp	w24, #112
	b.ne	LBB0_18
LBB0_12:
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_getoptionvalue
	mov	x21, x0
	bl	_EMPTYSTRING
Lloh24:
	adrp	x8, _DEFAULTPAGER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEFAULTPAGER@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x22, x21, x8, eq
	mov	x0, x22
	bl	_strlen
	add	w8, w0, #2
	sxtw	x23, w8
	mov	x0, x23
	bl	_ftp_malloc
	mov	x21, x0
	mov	w8, #124
	strb	w8, [x0], #1
	sub	x2, x23, #1
	mov	x1, x22
	bl	_strlcpy
LBB0_13:
	mov	x22, x21
	b	LBB0_21
LBB0_14:
Lloh27:
	adrp	x8, _ttyout@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	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
	b	_fprintf
LBB0_15:
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_16:
	ldr	x1, [x21]
	bl	_UPRINTF
Lloh34:
	adrp	x8, _code@GOTPAGE
Lloh35:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh36:
	str	w9, [x8]
	b	LBB0_26
LBB0_17:
	ldr	x22, [x21, #16]
	cmp	w24, #112
	b.eq	LBB0_12
LBB0_18:
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.19:
	ldrb	w8, [x22]
	cmp	w8, #124
	b.ne	LBB0_23
LBB0_20:
	mov	x21, #0
LBB0_21:
Lloh39:
	adrp	x3, l_.str.11@PAGE
Lloh40:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	bl	_recvrequest
	cbz	x21, LBB0_26
LBB0_22:
	mov	x0, x21
	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
	b	_free
LBB0_23:
	mov	x0, x22
	bl	_globulize
	mov	x21, x0
	cbz	x0, LBB0_25
; %bb.24:
Lloh41:
	adrp	x0, l_.str.10@PAGE
Lloh42:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x21
	bl	_confirm
	cbnz	w0, LBB0_13
LBB0_25:
Lloh43:
	adrp	x8, _code@GOTPAGE
Lloh44:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh45:
	str	w9, [x8]
	cbnz	x21, LBB0_22
LBB0_26:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"mlsd"

	.comm	_features,8,3                   ; @features
	.comm	_FEAT_MLST,8,3                  ; @FEAT_MLST
	.comm	_ttyout,4,2                     ; @ttyout
l_.str.2:                               ; @.str.2
	.asciz	"MLSD is not supported by the remote server.\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"nlist"

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

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

l_.str.7:                               ; @.str.7
	.asciz	"usage: %s [remote-path]\n"

l_.str.8:                               ; @.str.8
	.asciz	"usage: %s [remote-path [local-file]]\n"

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

	.comm	_DEFAULTPAGER,8,3               ; @DEFAULTPAGER
l_.str.10:                              ; @.str.10
	.asciz	"output to local-file:"

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

.subsections_via_symbols
