	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statfilecmd                    ## -- Begin function statfilecmd
	.p2align	4, 0x90
_statfilecmd:                           ## @statfilecmd
	.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
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_snprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_ftpd_popen
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	movl	$211, %edi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_lreply
	movq	%r15, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_1
LBB0_9:
	movq	%r15, %rdi
	callq	_ftpd_pclose
	leaq	L_.str.4(%rip), %rsi
	movl	$211, %edi
	callq	_reply
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, %ebx
	movq	_stdout@GOTPCREL(%rip), %r14
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_putc
	movq	%r15, %rdi
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$10, %ebx
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$421, %edi                      ## imm = 0x1A5
	movq	%r12, %rsi
	callq	_perror_reply
	movq	%r15, %rdi
	callq	_ftpd_pclose
	movl	$1, %edi
	callq	_dologout
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rsi
	movl	$13, %edi
	callq	_putc
	jmp	LBB0_8
LBB0_6:
	movl	$551, %edi                      ## imm = 0x227
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_perror_reply
	movq	%r15, %rdi
	callq	_ftpd_pclose
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_MAX,4,2                   ## @LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/bin/ls -la -- %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"status of %s:"

	.comm	_EOF,4,2                        ## @EOF
	.comm	_stdout,8,3                     ## @stdout
L_.str.3:                               ## @.str.3
	.asciz	"control connection"

L_.str.4:                               ## @.str.4
	.asciz	"End of Status"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_statfilecmd                    ; -- Begin function statfilecmd
	.p2align	2
_statfilecmd:                           ; @statfilecmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _LINE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x3, x19
	bl	_snprintf
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	bl	_ftpd_popen
	mov	x20, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #211
	mov	x2, x19
	bl	_lreply
	mov	x0, x20
	bl	_getc
Lloh14:
	adrp	x23, _EOF@GOTPAGE
Lloh15:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_4
LBB0_1:
	mov	x0, x20
	bl	_ftpd_pclose
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #211
	bl	_reply
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.3:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x21, x0
Lloh21:
	adrp	x24, _stdout@GOTPAGE
Lloh22:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
Lloh23:
	adrp	x22, l_.str.3@PAGE
Lloh24:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x24]
	mov	x0, x21
	bl	_putc
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #10
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x24]
	bl	_ferror
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #421
	mov	x1, x22
	bl	_perror_reply
	mov	x0, x20
	bl	_ftpd_pclose
	mov	w0, #1
	bl	_dologout
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_ferror
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x24]
	mov	w0, #13
	bl	_putc
	b	LBB0_5
LBB0_11:
	mov	w0, #551
	mov	x1, x19
	bl	_perror_reply
	mov	x0, x20
	bl	_ftpd_pclose
	b	LBB0_2
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_MAX,4,2                   ; @LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/bin/ls -la -- %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"status of %s:"

	.comm	_EOF,4,2                        ; @EOF
	.comm	_stdout,8,3                     ; @stdout
l_.str.3:                               ; @.str.3
	.asciz	"control connection"

l_.str.4:                               ; @.str.4
	.asciz	"End of Status"

.subsections_via_symbols
