	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_file                      ## -- Begin function list_file
	.p2align	4, 0x90
_list_file:                             ## @list_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_use_builtin_ls@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_dataconn
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_fileno
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_set_buffer_size
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_builtin_ls
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	$451, %edi                      ## imm = 0x1C3
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_retrieve                       ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$226, %edi
LBB0_5:
	callq	_reply
	movq	%r14, %rdi
	callq	_fclose
	movq	_data@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_pdata@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_use_builtin_ls,8,3             ## @use_builtin_ls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

L_.str.1:                               ## @.str.1
	.asciz	"Transfer complete."

L_.str.2:                               ## @.str.2
	.asciz	"Requested action aborted. Local error in processing."

	.comm	_data,4,2                       ## @data
	.comm	_pdata,4,2                      ## @pdata
L_.str.3:                               ## @.str.3
	.asciz	"/bin/ls -la %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_file                      ; -- Begin function list_file
	.p2align	2
_list_file:                             ; @list_file
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _use_builtin_ls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _use_builtin_ls@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #-1
	bl	_dataconn
	cbz	x0, LBB0_7
; %bb.2:
	mov	x19, x0
	bl	_fileno
	mov	w1, #0
	bl	_set_buffer_size
	mov	x0, x19
	mov	x1, x20
	bl	_builtin_ls
	cbz	x0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #451
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_retrieve
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #226
LBB0_6:
	bl	_reply
	mov	x0, x19
	bl	_fclose
Lloh11:
	adrp	x8, _data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _data@GOTPAGEOFF]
	mov	w9, #-1
Lloh13:
	str	w9, [x8]
Lloh14:
	adrp	x8, _pdata@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pdata@GOTPAGEOFF]
Lloh16:
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_use_builtin_ls,8,3             ; @use_builtin_ls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

l_.str.1:                               ; @.str.1
	.asciz	"Transfer complete."

l_.str.2:                               ; @.str.2
	.asciz	"Requested action aborted. Local error in processing."

	.comm	_data,4,2                       ; @data
	.comm	_pdata,4,2                      ; @pdata
l_.str.3:                               ; @.str.3
	.asciz	"/bin/ls -la %s"

.subsections_via_symbols
