	.file	"1047329.c"
	.intel_syntax noprefix
	.text
	.local	fn
	.comm	fn,540672,32
	.data
	.align 4
	.type	page_size, @object
	.size	page_size, 4
page_size:
	.long	24
	.local	n_files
	.comm	n_files,4,4
	.local	show_info
	.comm	show_info,4,4
	.local	current_dir
	.comm	current_dir,8,8
	.text
	.type	is_a_dir, @function
is_a_dir:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 1
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	is_a_dir, .-is_a_dir
	.type	is_a_dir3, @function
is_a_dir3:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	je	.L5
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L5
	mov	eax, 1
	jmp	.L7
.L5:
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	is_a_dir3, .-is_a_dir3
	.section	.rodata
.LC0:
	.string	"NO ACCESS"
	.text
	.type	is_a_dir2, @function
is_a_dir2:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	DWORD PTR -436[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -436[rbp], 0
	jle	.L10
	mov	eax, DWORD PTR n_files[rip]
	cmp	DWORD PTR -436[rbp], eax
	jg	.L10
	sub	DWORD PTR -436[rbp], 1
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+260]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 100
	jne	.L11
	mov	eax, 1
	jmp	.L15
.L11:
	mov	rdx, QWORD PTR current_dir[rip]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	lea	rdx, fn[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rdx, -416[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	je	.L13
	mov	eax, DWORD PTR -392[rbp]
	and	eax, 61440
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 16384
	jne	.L13
	mov	eax, 1
	jmp	.L15
.L13:
	lea	rax, -272[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	access@PLT
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 0
	je	.L14
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 2
	jmp	.L15
.L14:
	mov	eax, 0
	jmp	.L15
.L10:
	mov	eax, 3
.L15:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	is_a_dir2, .-is_a_dir2
	.type	get_file_name, @function
get_file_name:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 0
	jle	.L18
	mov	eax, DWORD PTR n_files[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L18
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	lea	rdx, fn[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, 1
	jmp	.L19
.L18:
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_file_name, .-get_file_name
	.section	.rodata
	.align 8
.LC1:
	.string	"Invalid page size for file display."
.LC2:
	.string	"\nNo files found.\n"
.LC3:
	.string	" %4.d. %-32.32s  %9.d  %s\n"
.LC4:
	.string	" %4.d. %-32.32s\n"
	.text
	.type	list_files, @function
list_files:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -432[rbp], 3
	mov	eax, DWORD PTR page_size[rip]
	test	eax, eax
	jg	.L21
	mov	eax, DWORD PTR page_size[rip]
	mov	DWORD PTR -428[rbp], eax
	lea	rdi, page_size[rip]
	mov	eax, 0
	call	get_screen_size@PLT
	mov	DWORD PTR -440[rbp], eax
	mov	eax, DWORD PTR page_size[rip]
	test	eax, eax
	jg	.L21
	mov	eax, DWORD PTR -428[rbp]
	neg	eax
	mov	DWORD PTR page_size[rip], eax
.L21:
	mov	eax, DWORD PTR page_size[rip]
	sub	eax, DWORD PTR -432[rbp]
	mov	DWORD PTR -424[rbp], eax
	cmp	DWORD PTR -424[rbp], 0
	jne	.L22
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L36
.L22:
	mov	eax, DWORD PTR n_files[rip]
	test	eax, eax
	jne	.L24
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L36
.L24:
	mov	eax, DWORD PTR n_files[rip]
	cdq
	idiv	DWORD PTR -424[rbp]
	mov	DWORD PTR -436[rbp], eax
	mov	eax, DWORD PTR -436[rbp]
	imul	eax, DWORD PTR -424[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR n_files[rip]
	cmp	edx, eax
	jge	.L25
	add	DWORD PTR -436[rbp], 1
.L25:
	mov	rax, QWORD PTR -456[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L26
	mov	rax, QWORD PTR -456[rbp]
	mov	DWORD PTR [rax], 1
.L26:
	mov	rax, QWORD PTR -456[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -436[rbp], eax
	jge	.L27
	mov	rax, QWORD PTR -456[rbp]
	mov	edx, DWORD PTR -436[rbp]
	mov	DWORD PTR [rax], edx
.L27:
	mov	rax, QWORD PTR -456[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -424[rbp]
	imul	eax, edx
	mov	DWORD PTR -440[rbp], eax
	mov	edx, DWORD PTR -440[rbp]
	mov	eax, DWORD PTR -424[rbp]
	add	eax, edx
	mov	DWORD PTR -428[rbp], eax
	mov	edi, 10
	call	putchar@PLT
	jmp	.L28
.L35:
	mov	eax, DWORD PTR show_info[rip]
	test	eax, eax
	je	.L29
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+256]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	rdx, QWORD PTR current_dir[rip]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	lea	rdx, fn[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rdx, -416[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	je	.L30
	mov	rax, QWORD PTR -368[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+256]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+260]
	mov	BYTE PTR [rdx+rax], 32
	mov	eax, DWORD PTR -392[rbp]
	and	eax, 61440
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 16384
	jne	.L31
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+260]
	mov	BYTE PTR [rdx+rax], 100
.L31:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+261]
	mov	BYTE PTR [rdx+rax], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+256]
	mov	DWORD PTR [rdx+rax], -1
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+260]
	mov	BYTE PTR [rdx+rax], 63
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+261]
	mov	BYTE PTR [rdx+rax], 0
.L29:
	mov	eax, DWORD PTR show_info[rip]
	test	eax, eax
	je	.L32
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 256[rax]
	lea	rax, fn[rip]
	add	rax, rdx
	lea	rdi, 4[rax]
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+256]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	add	rax, rcx
	sal	rax, 3
	lea	rcx, fn[rip]
	lea	rsi, [rax+rcx]
	mov	eax, DWORD PTR -440[rbp]
	add	eax, 1
	mov	r8, rdi
	mov	ecx, edx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L33
.L32:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	lea	rdx, fn[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -440[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L33:
	add	DWORD PTR -440[rbp], 1
.L28:
	mov	eax, DWORD PTR -440[rbp]
	cmp	eax, DWORD PTR -428[rbp]
	jge	.L34
	mov	eax, DWORD PTR n_files[rip]
	cmp	DWORD PTR -440[rbp], eax
	jl	.L35
.L34:
	mov	eax, 1
.L36:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	list_files, .-list_files
	.section	.rodata
	.align 8
.LC5:
	.string	"Cannot open this directory (1): %s\n"
.LC6:
	.string	".sfdu"
	.align 8
.LC7:
	.string	"Too many files, %d not shown.\n"
	.text
	.type	get_files, @function
get_files:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L40
.L39:
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR n_files[rip], 0
	mov	DWORD PTR -28[rbp], -1
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L41
.L44:
	cmp	DWORD PTR -28[rbp], 0
	jle	.L42
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 19
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L42
	cmp	DWORD PTR -24[rbp], 2047
	jg	.L43
	add	DWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 19[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	add	rax, rcx
	sal	rax, 3
	lea	rcx, fn[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, fn[rip+256]
	mov	DWORD PTR [rdx+rax], 0
	jmp	.L42
.L43:
	add	DWORD PTR -20[rbp], 1
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L41:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR n_files[rip], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L45
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	get_files, .-get_files
	.section	.rodata
.LC8:
	.string	"WIND_DATA"
	.align 8
.LC9:
	.string	"Environment variable WIND_DATA is undefined."
	.align 8
.LC10:
	.string	"Use setenv WIND_DATA to point to WIND/WAVES data tree."
.LC11:
	.string	"WIND_DATA is %s.\n"
	.align 8
.LC12:
	.string	"Using %s as initial directory.\n"
	.align 8
.LC13:
	.string	"\nCurrent directory: %s, %d files.\n"
	.align 8
.LC14:
	.string	"Enter file number (0,q=Exit, ..=up, F=Forward, B=Back, I=Info): "
.LC15:
	.string	"  EOF detected, returning."
.LC16:
	.string	"  Invalid!"
.LC17:
	.string	"  Cannot go up any higher."
.LC18:
	.string	"No file selected."
.LC19:
	.string	"...input error, exiting."
	.align 8
.LC20:
	.string	"   Invalid integer value, enter zero to exit."
	.text
	.globl	w_sun_file_select
	.type	w_sun_file_select, @function
w_sun_file_select:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 592
	mov	QWORD PTR -584[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -272[rbp]
	mov	QWORD PTR current_dir[rip], rax
	lea	rdi, .LC8[rip]
	call	getenv@PLT
	mov	QWORD PTR -544[rbp], rax
	cmp	QWORD PTR -544[rbp], 0
	jne	.L47
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L76
.L47:
	mov	rdx, QWORD PTR -544[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	QWORD PTR -544[rbp], rax
	jmp	.L49
.L50:
	add	QWORD PTR -544[rbp], 1
.L49:
	mov	rax, QWORD PTR -544[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jg	.L50
	mov	rax, QWORD PTR -544[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	je	.L51
	mov	rax, QWORD PTR -536[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L51:
	mov	rax, QWORD PTR -584[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -564[rbp], 0
	mov	DWORD PTR -560[rbp], 0
	mov	DWORD PTR -572[rbp], 1
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	get_files
	mov	DWORD PTR -556[rbp], eax
	lea	rax, -572[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	list_files
	mov	DWORD PTR -556[rbp], eax
	jmp	.L52
.L75:
	mov	edx, DWORD PTR n_files[rip]
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -528[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	cdqe
	mov	QWORD PTR -536[rbp], rax
	cmp	QWORD PTR -536[rbp], 0
	jne	.L53
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L76
.L53:
	mov	rax, QWORD PTR -536[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	test	eax, eax
	je	.L54
	test	eax, eax
	js	.L55
	cmp	eax, 113
	jg	.L55
	cmp	eax, 46
	jl	.L55
	sub	eax, 46
	cmp	eax, 67
	ja	.L55
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L57[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L57[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L57:
	.long	.L60-.L57
	.long	.L55-.L57
	.long	.L56-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L59-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L54-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L58-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L56-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L59-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L54-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L58-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L55-.L57
	.long	.L56-.L57
	.text
.L54:
	mov	eax, DWORD PTR -572[rbp]
	add	eax, 1
	mov	DWORD PTR -572[rbp], eax
	mov	DWORD PTR -560[rbp], 1
	jmp	.L61
.L59:
	mov	eax, DWORD PTR -572[rbp]
	sub	eax, 1
	mov	DWORD PTR -572[rbp], eax
	mov	DWORD PTR -560[rbp], 1
	jmp	.L61
.L58:
	mov	eax, DWORD PTR show_info[rip]
	not	eax
	mov	DWORD PTR show_info[rip], eax
	mov	DWORD PTR -560[rbp], 1
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -536[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L62
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L61
.L62:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -568[rbp], eax
	cmp	DWORD PTR -568[rbp], 1
	jne	.L64
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L61
.L66:
	mov	eax, DWORD PTR -568[rbp]
	sub	eax, 1
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	sub	DWORD PTR -568[rbp], 1
	mov	eax, DWORD PTR -568[rbp]
	sub	eax, 1
	mov	DWORD PTR -552[rbp], eax
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	cmp	al, 47
	jne	.L64
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	jmp	.L65
.L64:
	cmp	DWORD PTR -568[rbp], 0
	jg	.L66
.L65:
	mov	DWORD PTR -564[rbp], 1
	jmp	.L61
.L56:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L76
.L55:
	lea	rax, -528[rbp]
	cmp	QWORD PTR -536[rbp], rax
	je	.L67
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L76
.L67:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -548[rbp], eax
	cmp	DWORD PTR -548[rbp], 0
	jle	.L68
	mov	eax, DWORD PTR n_files[rip]
	cmp	DWORD PTR -548[rbp], eax
	jle	.L69
.L68:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	QWORD PTR -536[rbp], 0
	jmp	.L61
.L69:
	lea	rdx, -528[rbp]
	mov	eax, DWORD PTR -548[rbp]
	mov	rsi, rdx
	mov	edi, eax
	mov	eax, 0
	call	get_file_name
	mov	DWORD PTR -568[rbp], eax
	cmp	DWORD PTR -568[rbp], 1
	jne	.L79
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -584[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -584[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	lea	rdx, -528[rbp]
	mov	rax, QWORD PTR -584[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	eax, DWORD PTR -548[rbp]
	mov	edi, eax
	mov	eax, 0
	call	is_a_dir2
	mov	DWORD PTR -556[rbp], eax
	cmp	DWORD PTR -556[rbp], 0
	je	.L71
	cmp	DWORD PTR -556[rbp], 1
	je	.L72
	jmp	.L78
.L71:
	mov	eax, 1
	jmp	.L76
.L72:
	mov	rdx, QWORD PTR -584[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -584[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -564[rbp], 1
	jmp	.L70
.L78:
	mov	rax, QWORD PTR -584[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L80
.L79:
	nop
.L70:
.L80:
	nop
.L61:
	cmp	DWORD PTR -564[rbp], 0
	je	.L74
	mov	DWORD PTR -564[rbp], 0
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	get_files
	mov	DWORD PTR -556[rbp], eax
	mov	DWORD PTR -572[rbp], 1
	lea	rax, -572[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	list_files
	mov	DWORD PTR -556[rbp], eax
	jmp	.L52
.L74:
	cmp	DWORD PTR -560[rbp], 0
	je	.L52
	mov	DWORD PTR -560[rbp], 0
	lea	rax, -572[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	list_files
	mov	DWORD PTR -556[rbp], eax
.L52:
	mov	rax, QWORD PTR -584[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L75
	mov	eax, 0
.L76:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	w_sun_file_select, .-w_sun_file_select
	.type	compare1, @function
compare1:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	compare1, .-compare1
	.type	compare2, @function
compare2:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	compare2, .-compare2
	.section	.rodata
.LC21:
	.string	"wc_get_files_wc"
	.align 8
.LC22:
	.string	"Cannot open this directory (%d attempts): %s.\n"
.LC23:
	.string	"wi_lz_wav_"
	.text
	.globl	wc_get_files_wc
	.type	wc_get_files_wc, @function
wc_get_files_wc:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 400
	mov	QWORD PTR -344[rbp], rdi
	mov	QWORD PTR -352[rbp], rsi
	mov	QWORD PTR -360[rbp], rdx
	mov	QWORD PTR -368[rbp], rcx
	mov	QWORD PTR -376[rbp], r8
	mov	QWORD PTR -384[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -392[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -280[rbp], rax
	mov	DWORD PTR -316[rbp], 5
	mov	DWORD PTR -328[rbp], 0
	jmp	.L86
.L92:
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L87
	mov	eax, DWORD PTR -328[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jne	.L88
	mov	rdx, QWORD PTR -344[rbp]
	mov	eax, DWORD PTR -328[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L102
.L88:
	mov	edi, 2
	call	sleep@PLT
	jmp	.L104
.L87:
	mov	eax, DWORD PTR -316[rbp]
	add	eax, 1
	mov	DWORD PTR -328[rbp], eax
	jmp	.L91
.L104:
	add	DWORD PTR -328[rbp], 1
.L86:
	mov	eax, DWORD PTR -328[rbp]
	cmp	eax, DWORD PTR -316[rbp]
	jle	.L92
.L91:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 2
	mov	DWORD PTR -312[rbp], eax
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	mov	DWORD PTR -308[rbp], eax
	mov	DWORD PTR -328[rbp], 0
	mov	eax, DWORD PTR -328[rbp]
	mov	DWORD PTR -324[rbp], eax
	jmp	.L93
.L101:
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	wc_match_spec@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 1
	jne	.L94
	add	DWORD PTR -324[rbp], 1
	mov	rax, QWORD PTR -392[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -392[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L95
	mov	rax, QWORD PTR -392[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	DWORD PTR -300[rbp], eax
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	edx, DWORD PTR -300[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -360[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	memset@PLT
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 19[rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -300[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rcx, rax
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	jmp	.L96
.L95:
	cmp	DWORD PTR -312[rbp], 0
	je	.L97
	mov	rax, QWORD PTR -368[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jg	.L98
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	mov	eax, 0
	call	fnstrcmp@PLT
	test	eax, eax
	jle	.L96
.L98:
	mov	rax, QWORD PTR -392[rbp]
	mov	DWORD PTR [rax], 1
	mov	DWORD PTR -300[rbp], 0
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	edx, DWORD PTR -300[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -360[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	memset@PLT
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 19[rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -300[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -360[rbp]
	add	rcx, rax
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	jmp	.L96
.L97:
	mov	rax, QWORD PTR -392[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -392[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L96
.L94:
	cmp	DWORD PTR -308[rbp], 0
	je	.L96
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 19
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L96
	mov	DWORD PTR -320[rbp], 0
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 19[rax]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	is_a_dir
	test	eax, eax
	je	.L99
	mov	r8, QWORD PTR -384[rbp]
	mov	rdi, QWORD PTR -376[rbp]
	mov	rcx, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	mov	rsi, QWORD PTR -352[rbp]
	lea	rax, -272[rbp]
	sub	rsp, 8
	push	QWORD PTR -392[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	wc_get_files_wc
	add	rsp, 16
	mov	DWORD PTR -320[rbp], eax
.L99:
	mov	eax, DWORD PTR -320[rbp]
	add	DWORD PTR -324[rbp], eax
.L96:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	add	DWORD PTR -328[rbp], 1
.L93:
	cmp	QWORD PTR -288[rbp], 0
	je	.L100
	mov	rax, QWORD PTR -392[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jl	.L101
	cmp	DWORD PTR -312[rbp], 0
	jne	.L101
.L100:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -324[rbp]
.L102:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	wc_get_files_wc, .-wc_get_files_wc
	.section	.rodata
.LC24:
	.string	"w_get_file_list_from_dir"
	.align 8
.LC25:
	.string	"%s: cannot get environment string for %s.\n"
	.text
	.globl	w_get_file_list_from_dir_
	.type	w_get_file_list_from_dir_, @function
w_get_file_list_from_dir_:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 624
	mov	QWORD PTR -568[rbp], rdi
	mov	QWORD PTR -576[rbp], rsi
	mov	QWORD PTR -584[rbp], rdx
	mov	QWORD PTR -592[rbp], rcx
	mov	QWORD PTR -600[rbp], r8
	mov	QWORD PTR -608[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -616[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -536[rbp], rax
	mov	rax, QWORD PTR -608[rbp]
	mov	DWORD PTR [rax], 0
	lea	rax, -272[rbp]
	mov	QWORD PTR -552[rbp], rax
	jmp	.L106
.L107:
	mov	rax, QWORD PTR -576[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -552[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -552[rbp], 1
	add	QWORD PTR -576[rbp], 1
.L106:
	mov	rax, QWORD PTR -576[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jg	.L107
	mov	rax, QWORD PTR -552[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L108
	mov	rax, QWORD PTR -568[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -552[rbp], rax
	cmp	QWORD PTR -552[rbp], 0
	jne	.L111
	mov	rdx, QWORD PTR -568[rbp]
	mov	rax, QWORD PTR -536[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L118
.L108:
	mov	rax, QWORD PTR -568[rbp]
	mov	QWORD PTR -552[rbp], rax
	jmp	.L111
.L115:
	lea	rax, -528[rbp]
	mov	QWORD PTR -544[rbp], rax
	jmp	.L112
.L114:
	mov	rax, QWORD PTR -552[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -544[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -552[rbp], 1
	add	QWORD PTR -544[rbp], 1
.L112:
	mov	rax, QWORD PTR -552[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jle	.L113
	mov	rax, QWORD PTR -552[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L114
.L113:
	mov	rax, QWORD PTR -544[rbp]
	mov	BYTE PTR [rax], 0
	mov	r8, QWORD PTR -616[rbp]
	mov	rdi, QWORD PTR -600[rbp]
	mov	rcx, QWORD PTR -592[rbp]
	mov	rdx, QWORD PTR -584[rbp]
	lea	rsi, -272[rbp]
	lea	rax, -528[rbp]
	sub	rsp, 8
	push	QWORD PTR -608[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	wc_get_files_wc
	add	rsp, 16
	mov	DWORD PTR -556[rbp], eax
	mov	rax, QWORD PTR -552[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L111
	add	QWORD PTR -552[rbp], 1
.L111:
	mov	rax, QWORD PTR -552[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jg	.L115
	mov	rax, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jle	.L116
	mov	rax, QWORD PTR -616[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 4
	test	eax, eax
	je	.L117
	mov	rax, QWORD PTR -600[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rsi, eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rcx, QWORD PTR i4fncmpdec@GOTPCREL[rip]
	mov	rdi, rax
	call	qsort@PLT
	jmp	.L116
.L117:
	mov	rax, QWORD PTR -600[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rsi, eax
	mov	rax, QWORD PTR -584[rbp]
	mov	rcx, QWORD PTR i4fncmpasc@GOTPCREL[rip]
	mov	rdi, rax
	call	qsort@PLT
.L116:
	mov	eax, 1
.L118:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L119
	call	__stack_chk_fail@PLT
.L119:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	w_get_file_list_from_dir_, .-w_get_file_list_from_dir_
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1047329.c"
	.text
	.local	fn
	.comm	fn,540672,4
	.data
	.align	2
	.type	page_size, %object
	.size	page_size, 4
page_size:
	.word	24
	.local	n_files
	.comm	n_files,4,4
	.local	show_info
	.comm	show_info,4,4
	.local	current_dir
	.comm	current_dir,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_a_dir, %function
is_a_dir:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	opendir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r0, [fp, #-8]
	bl	closedir
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_a_dir, .-is_a_dir
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_a_dir3, %function
is_a_dir3:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	beq	.L5
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L5
	mov	r3, #1
	b	.L7
.L5:
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	is_a_dir3, .-is_a_dir3
	.section	.rodata
	.align	2
.LC1:
	.ascii	"/\000"
	.align	2
.LC2:
	.ascii	"NO ACCESS\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_a_dir2, %function
is_a_dir2:
	@ args = 0, pretend = 0, frame = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #368
	str	r0, [fp, #-368]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	ble	.L12
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-368]
	cmp	r2, r3
	bgt	.L12
	ldr	r3, [fp, #-368]
	sub	r3, r3, #1
	str	r3, [fp, #-368]
	ldr	r1, .L19+8
	ldr	r2, [fp, #-368]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L13
	mov	r3, #1
	b	.L17
.L13:
	ldr	r3, .L19+12
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L19+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-368]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L19+8
	add	r2, r3, r2
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r2, fp, #356
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	beq	.L15
	ldr	r3, [fp, #-340]
	and	r3, r3, #61440
	str	r3, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #16384
	bne	.L15
	mov	r3, #1
	b	.L17
.L15:
	sub	r3, fp, #264
	mov	r1, #4
	mov	r0, r3
	bl	access
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L19+20
	bl	perror
	mov	r3, #2
	b	.L17
.L16:
	mov	r3, #0
	b	.L17
.L12:
	mov	r3, #3
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	n_files
	.word	fn
	.word	current_dir
	.word	.LC1
	.word	.LC2
	.size	is_a_dir2, .-is_a_dir2
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file_name, %function
get_file_name:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L22
	ldr	r3, .L24
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L22
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L24+4
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strcpy
	mov	r3, #1
	b	.L23
.L22:
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	n_files
	.word	fn
	.size	get_file_name, .-get_file_name
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Invalid page size for file display.\000"
	.align	2
.LC5:
	.ascii	"\012No files found.\012\000"
	.global	__aeabi_idiv
	.align	2
.LC6:
	.ascii	" %4.d. %-32.32s  %9.d  %s\012\000"
	.align	2
.LC7:
	.ascii	" %4.d. %-32.32s\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_files, %function
list_files:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #392
	str	r0, [fp, #-384]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-372]
	ldr	r3, .L44+4
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L27
	ldr	r3, .L44+4
	ldr	r3, [r3]
	str	r3, [fp, #-368]
	ldr	r0, .L44+4
	bl	get_screen_size
	str	r0, [fp, #-380]
	ldr	r3, .L44+4
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L27
	ldr	r3, [fp, #-368]
	rsb	r3, r3, #0
	ldr	r2, .L44+4
	str	r3, [r2]
.L27:
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-372]
	sub	r3, r2, r3
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L28
	ldr	r0, .L44+8
	bl	puts
	mov	r3, #0
	b	.L42
.L28:
	ldr	r3, .L44+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L44+16
	bl	puts
	mov	r3, #0
	b	.L42
.L30:
	ldr	r3, .L44+12
	ldr	r3, [r3]
	ldr	r1, [fp, #-364]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-376]
	ldr	r3, [fp, #-376]
	ldr	r2, [fp, #-364]
	mul	r2, r3, r2
	ldr	r3, .L44+12
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L31
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L31:
	ldr	r3, [fp, #-384]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L32
	ldr	r3, [fp, #-384]
	mov	r2, #1
	str	r2, [r3]
.L32:
	ldr	r3, [fp, #-384]
	ldr	r3, [r3]
	ldr	r2, [fp, #-376]
	cmp	r2, r3
	bge	.L33
	ldr	r3, [fp, #-384]
	ldr	r2, [fp, #-376]
	str	r2, [r3]
.L33:
	ldr	r3, [fp, #-384]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-364]
	mul	r3, r2, r3
	str	r3, [fp, #-380]
	ldr	r2, [fp, #-380]
	ldr	r3, [fp, #-364]
	add	r3, r2, r3
	str	r3, [fp, #-368]
	mov	r0, #10
	bl	putchar
	b	.L34
.L41:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #256
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L44+28
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L44+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L44+24
	add	r2, r3, r2
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r2, fp, #356
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	beq	.L36
	ldr	r1, [fp, #-312]
	ldr	r0, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #256
	str	r1, [r3]
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-340]
	and	r3, r3, #61440
	str	r3, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #16384
	bne	.L37
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	mov	r2, #100
	strb	r2, [r3]
.L37:
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	b	.L35
.L36:
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #256
	mvn	r2, #0
	str	r2, [r3]
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	mov	r2, #63
	strb	r2, [r3]
	ldr	r1, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #260
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L35:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-380]
	add	r1, r3, #1
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L44+24
	add	r0, r3, r2
	ldr	ip, .L44+24
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #256
	ldr	ip, [r3]
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #256
	ldr	r2, .L44+24
	add	r3, r3, r2
	add	r3, r3, #4
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L44+36
	bl	printf
	b	.L39
.L38:
	ldr	r3, [fp, #-380]
	add	r1, r3, #1
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L44+24
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L44+40
	bl	printf
.L39:
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
.L34:
	ldr	r2, [fp, #-380]
	ldr	r3, [fp, #-368]
	cmp	r2, r3
	bge	.L40
	ldr	r3, .L44+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-380]
	cmp	r2, r3
	blt	.L41
.L40:
	mov	r3, #1
.L42:
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC8
	.word	page_size
	.word	.LC4
	.word	n_files
	.word	.LC5
	.word	show_info
	.word	fn
	.word	current_dir
	.word	.LC1
	.word	.LC6
	.word	.LC7
	.size	list_files, .-list_files
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Cannot open this directory (1): %s\012\000"
	.align	2
.LC10:
	.ascii	".sfdu\000"
	.align	2
.LC11:
	.ascii	"Too many files, %d not shown.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_files, %function
get_files:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	opendir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L47
	ldr	r1, [fp, #-32]
	ldr	r0, .L54
	bl	printf
	mov	r3, #0
	b	.L48
.L47:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L54+4
	mov	r2, #0
	str	r2, [r3]
	mvn	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	readdir
	str	r0, [fp, #-24]
	b	.L49
.L52:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L50
	ldr	r3, [fp, #-24]
	add	r3, r3, #11
	ldr	r1, .L54+8
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-16]
	cmp	r3, #2048
	bge	.L51
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L54+12
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r3, #11
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r1, .L54+12
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #256
	mov	r2, #0
	str	r2, [r3]
	b	.L50
.L51:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r0, [fp, #-8]
	bl	readdir
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L49:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L52
	ldr	r0, [fp, #-8]
	bl	closedir
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, .L54+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L53
	ldr	r1, [fp, #-12]
	ldr	r0, .L54+16
	bl	printf
.L53:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC9
	.word	n_files
	.word	.LC10
	.word	fn
	.word	.LC11
	.size	get_files, .-get_files
	.section	.rodata
	.align	2
.LC12:
	.ascii	"WIND_DATA\000"
	.align	2
.LC13:
	.ascii	"Environment variable WIND_DATA is undefined.\000"
	.align	2
.LC14:
	.ascii	"Use setenv WIND_DATA to point to WIND/WAVES data tr"
	.ascii	"ee.\000"
	.align	2
.LC15:
	.ascii	"WIND_DATA is %s.\012\000"
	.align	2
.LC16:
	.ascii	"Using %s as initial directory.\012\000"
	.align	2
.LC17:
	.ascii	"\012Current directory: %s, %d files.\012\000"
	.align	2
.LC18:
	.ascii	"Enter file number (0,q=Exit, ..=up, F=Forward, B=Ba"
	.ascii	"ck, I=Info): \000"
	.align	2
.LC19:
	.ascii	"  EOF detected, returning.\000"
	.align	2
.LC20:
	.ascii	"  Invalid!\000"
	.align	2
.LC21:
	.ascii	"  Cannot go up any higher.\000"
	.align	2
.LC22:
	.ascii	"No file selected.\000"
	.align	2
.LC23:
	.ascii	"...input error, exiting.\000"
	.align	2
.LC24:
	.ascii	"   Invalid integer value, enter zero to exit.\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	w_sun_file_select
	.syntax unified
	.arm
	.fpu softvfp
	.type	w_sun_file_select, %function
w_sun_file_select:
	@ args = 0, pretend = 0, frame = 560
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #560
	str	r0, [fp, #-560]
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L91+4
	sub	r3, fp, #264
	str	r3, [r2]
	ldr	r0, .L91+8
	bl	getenv
	str	r0, [fp, #-552]
	ldr	r3, [fp, #-552]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L91+12
	bl	puts
	ldr	r0, .L91+16
	bl	puts
	mov	r3, #0
	b	.L86
.L57:
	sub	r3, fp, #264
	ldr	r1, [fp, #-552]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	str	r3, [fp, #-552]
	b	.L59
.L60:
	ldr	r3, [fp, #-552]
	add	r3, r3, #1
	str	r3, [fp, #-552]
.L59:
	ldr	r3, [fp, #-552]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L60
	ldr	r3, [fp, #-552]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L91+20
	bl	printf
	sub	r3, fp, #264
	mov	r1, #58
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-536]
	ldr	r3, [fp, #-536]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-536]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L91+24
	bl	printf
.L61:
	ldr	r3, [fp, #-560]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-544]
	mov	r3, #0
	str	r3, [fp, #-540]
	mov	r3, #1
	str	r3, [fp, #-556]
	sub	r3, fp, #264
	mov	r0, r3
	bl	get_files
	str	r0, [fp, #-532]
	sub	r3, fp, #556
	mov	r0, r3
	bl	list_files
	str	r0, [fp, #-532]
	b	.L62
.L85:
	ldr	r3, .L91+28
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L91+32
	bl	printf
	ldr	r0, .L91+36
	bl	printf
	sub	r3, fp, #520
	mov	r0, r3
	bl	gets
	mov	r3, r0
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-536]
	cmp	r3, #0
	bne	.L63
	ldr	r0, .L91+40
	bl	puts
	mov	r3, #0
	b	.L86
.L63:
	ldr	r3, [fp, #-536]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	cmp	r3, #0
	blt	.L65
	cmp	r3, #113
	bgt	.L65
	cmp	r3, #46
	blt	.L65
	sub	r3, r3, #46
	cmp	r3, #67
	ldrls	pc, [pc, r3, asl #2]
	b	.L65
.L67:
	.word	.L70
	.word	.L65
	.word	.L66
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L69
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L64
	.word	.L65
	.word	.L65
	.word	.L68
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L66
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L69
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L64
	.word	.L65
	.word	.L65
	.word	.L68
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L65
	.word	.L66
.L64:
	ldr	r3, [fp, #-556]
	add	r3, r3, #1
	str	r3, [fp, #-556]
	mov	r3, #1
	str	r3, [fp, #-540]
	b	.L71
.L69:
	ldr	r3, [fp, #-556]
	sub	r3, r3, #1
	str	r3, [fp, #-556]
	mov	r3, #1
	str	r3, [fp, #-540]
	b	.L71
.L68:
	ldr	r3, .L91+44
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L91+44
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-540]
	b	.L71
.L70:
	ldr	r3, [fp, #-536]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L72
	ldr	r0, .L91+48
	bl	puts
	b	.L71
.L72:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #1
	bne	.L74
	ldr	r0, .L91+52
	bl	puts
	b	.L71
.L76:
	ldr	r3, [fp, #-548]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-260]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #1
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #1
	str	r3, [fp, #-528]
	sub	r2, fp, #264
	ldr	r3, [fp, #-528]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L74
	sub	r2, fp, #264
	ldr	r3, [fp, #-528]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L75
.L74:
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	bgt	.L76
.L75:
	mov	r3, #1
	str	r3, [fp, #-544]
	b	.L71
.L66:
	ldr	r0, .L91+56
	bl	puts
	mov	r3, #0
	b	.L86
.L65:
	sub	r3, fp, #520
	ldr	r2, [fp, #-536]
	cmp	r2, r3
	beq	.L77
	ldr	r0, .L91+60
	bl	puts
	mov	r3, #0
	b	.L86
.L77:
	sub	r3, fp, #520
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	ble	.L78
	ldr	r3, .L91+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-524]
	cmp	r2, r3
	ble	.L79
.L78:
	ldr	r0, .L91+64
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-536]
	b	.L71
.L79:
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, [fp, #-524]
	bl	get_file_name
	str	r0, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #1
	bne	.L89
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-560]
	bl	strcpy
	ldr	r0, [fp, #-560]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-560]
	add	r3, r3, r2
	ldr	r2, .L91+68
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, [fp, #-560]
	bl	strcat
	ldr	r0, [fp, #-524]
	bl	is_a_dir2
	str	r0, [fp, #-532]
	ldr	r3, [fp, #-532]
	cmp	r3, #0
	beq	.L81
	ldr	r3, [fp, #-532]
	cmp	r3, #1
	beq	.L82
	b	.L88
.L81:
	mov	r3, #1
	b	.L86
.L82:
	sub	r3, fp, #264
	ldr	r1, [fp, #-560]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-560]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-544]
	b	.L80
.L88:
	ldr	r3, [fp, #-560]
	mov	r2, #0
	strb	r2, [r3]
	b	.L90
.L89:
	nop
.L80:
.L90:
	nop
.L71:
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	beq	.L84
	mov	r3, #0
	str	r3, [fp, #-544]
	sub	r3, fp, #264
	mov	r0, r3
	bl	get_files
	str	r0, [fp, #-532]
	mov	r3, #1
	str	r3, [fp, #-556]
	sub	r3, fp, #556
	mov	r0, r3
	bl	list_files
	str	r0, [fp, #-532]
	b	.L62
.L84:
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	beq	.L62
	mov	r3, #0
	str	r3, [fp, #-540]
	sub	r3, fp, #556
	mov	r0, r3
	bl	list_files
	str	r0, [fp, #-532]
.L62:
	ldr	r3, [fp, #-560]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L85
	mov	r3, #0
.L86:
	ldr	r2, .L91
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC25
	.word	current_dir
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	n_files
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	show_info
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC1
	.size	w_sun_file_select, .-w_sun_file_select
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare1, %function
compare1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare1, .-compare1
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare2, %function
compare2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare2, .-compare2
	.section	.rodata
	.align	2
.LC26:
	.ascii	"wc_get_files_wc\000"
	.align	2
.LC27:
	.ascii	"Cannot open this directory (%d attempts): %s.\012\000"
	.align	2
.LC28:
	.ascii	"wi_lz_wav_\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wc_get_files_wc
	.syntax unified
	.arm
	.fpu softvfp
	.type	wc_get_files_wc, %function
wc_get_files_wc:
	@ args = 12, pretend = 0, frame = 336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #352
	str	r0, [fp, #-312]
	str	r1, [fp, #-316]
	str	r2, [fp, #-320]
	str	r3, [fp, #-324]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-328]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-332]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-336]
	ldr	r3, .L117
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L117+4
	str	r3, [fp, #-288]
	mov	r3, #5
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L98
.L104:
	ldr	r0, [fp, #-312]
	bl	opendir
	str	r0, [fp, #-308]
	ldr	r3, [fp, #-308]
	cmp	r3, #0
	bne	.L99
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	bne	.L100
	ldr	r2, [fp, #-312]
	ldr	r1, [fp, #-300]
	ldr	r0, .L117+8
	bl	printf
	mov	r3, #0
	b	.L114
.L100:
	mov	r0, #2
	bl	sleep
	b	.L116
.L99:
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-300]
	b	.L103
.L116:
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L98:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	ble	.L104
.L103:
	ldr	r0, [fp, #-308]
	bl	readdir
	str	r0, [fp, #-304]
	ldr	r0, [fp, #-308]
	bl	readdir
	str	r0, [fp, #-304]
	ldr	r0, [fp, #-308]
	bl	readdir
	str	r0, [fp, #-304]
	ldr	r3, [fp, #-332]
	ldr	r3, [r3]
	and	r3, r3, #2
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-332]
	ldr	r3, [r3]
	and	r3, r3, #1
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-300]
	ldr	r3, [fp, #-300]
	str	r3, [fp, #-296]
	b	.L105
.L113:
	ldr	r3, [fp, #-304]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-316]
	bl	wc_match_spec
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #1
	bne	.L106
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-336]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-336]
	str	r2, [r3]
	ldr	r3, [fp, #-336]
	ldr	r2, [r3]
	ldr	r3, [fp, #-324]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L107
	ldr	r3, [fp, #-336]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-328]
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-320]
	add	r0, r2, r3
	ldr	r3, [fp, #-328]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #264
	ldr	r1, [fp, #-312]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L117+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-304]
	add	r2, r3, #11
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-320]
	add	r0, r2, r3
	ldr	r3, [fp, #-328]
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #264
	mov	r1, r3
	bl	strncpy
	b	.L108
.L107:
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	beq	.L109
	ldr	r3, [fp, #-324]
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L110
	ldr	r3, [fp, #-304]
	add	r3, r3, #11
	ldr	r1, [fp, #-320]
	mov	r0, r3
	bl	fnstrcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L108
.L110:
	ldr	r3, [fp, #-336]
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-320]
	add	r0, r2, r3
	ldr	r3, [fp, #-328]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #264
	ldr	r1, [fp, #-312]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L117+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-304]
	add	r2, r3, #11
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-320]
	add	r0, r2, r3
	ldr	r3, [fp, #-328]
	ldr	r3, [r3]
	mov	r2, r3
	sub	r3, fp, #264
	mov	r1, r3
	bl	strncpy
	b	.L108
.L109:
	ldr	r3, [fp, #-336]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-336]
	str	r2, [r3]
	b	.L108
.L106:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L108
	ldr	r3, [fp, #-304]
	add	r3, r3, #11
	ldr	r1, .L117+16
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L108
	mov	r3, #0
	str	r3, [fp, #-292]
	sub	r3, fp, #264
	ldr	r1, [fp, #-312]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L117+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-304]
	add	r2, r3, #11
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	is_a_dir
	mov	r3, r0
	cmp	r3, #0
	beq	.L111
	sub	r0, fp, #264
	ldr	r3, [fp, #-336]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-332]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-328]
	str	r3, [sp]
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-320]
	ldr	r1, [fp, #-316]
	bl	wc_get_files_wc
	str	r0, [fp, #-292]
.L111:
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-292]
	add	r3, r2, r3
	str	r3, [fp, #-296]
.L108:
	ldr	r0, [fp, #-308]
	bl	readdir
	str	r0, [fp, #-304]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L105:
	ldr	r3, [fp, #-304]
	cmp	r3, #0
	beq	.L112
	ldr	r3, [fp, #-336]
	ldr	r2, [r3]
	ldr	r3, [fp, #-324]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L113
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L113
.L112:
	ldr	r0, [fp, #-308]
	bl	closedir
	ldr	r3, [fp, #-296]
.L114:
	ldr	r2, .L117
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L115
	bl	__stack_chk_fail
.L115:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	.LC29
	.word	.LC26
	.word	.LC27
	.word	.LC1
	.word	.LC28
	.size	wc_get_files_wc, .-wc_get_files_wc
	.section	.rodata
	.align	2
.LC30:
	.ascii	"w_get_file_list_from_dir\000"
	.align	2
.LC31:
	.ascii	"%s: cannot get environment string for %s.\012\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	w_get_file_list_from_dir_
	.syntax unified
	.arm
	.fpu softvfp
	.type	w_get_file_list_from_dir_, %function
w_get_file_list_from_dir_:
	@ args = 12, pretend = 0, frame = 568
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #584
	str	r0, [fp, #-544]
	str	r1, [fp, #-548]
	str	r2, [fp, #-552]
	str	r3, [fp, #-556]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-560]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-564]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-568]
	ldr	r3, .L134
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L134+4
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-564]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #264
	str	r3, [fp, #-536]
	b	.L120
.L121:
	ldr	r3, [fp, #-548]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-536]
	strb	r2, [r3]
	ldr	r3, [fp, #-536]
	add	r3, r3, #1
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-548]
	add	r3, r3, #1
	str	r3, [fp, #-548]
.L120:
	ldr	r3, [fp, #-548]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L121
	ldr	r3, [fp, #-536]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L122
	ldr	r0, [fp, #-544]
	bl	getenv
	str	r0, [fp, #-536]
	ldr	r3, [fp, #-536]
	cmp	r3, #0
	bne	.L125
	ldr	r2, [fp, #-544]
	ldr	r1, [fp, #-528]
	ldr	r0, .L134+8
	bl	printf
	mov	r3, #0
	b	.L132
.L122:
	ldr	r3, [fp, #-544]
	str	r3, [fp, #-536]
	b	.L125
.L129:
	sub	r3, fp, #520
	str	r3, [fp, #-532]
	b	.L126
.L128:
	ldr	r3, [fp, #-536]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-532]
	strb	r2, [r3]
	ldr	r3, [fp, #-536]
	add	r3, r3, #1
	str	r3, [fp, #-536]
	ldr	r3, [fp, #-532]
	add	r3, r3, #1
	str	r3, [fp, #-532]
.L126:
	ldr	r3, [fp, #-536]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L127
	ldr	r3, [fp, #-536]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L128
.L127:
	ldr	r3, [fp, #-532]
	mov	r2, #0
	strb	r2, [r3]
	sub	r1, fp, #264
	sub	r0, fp, #520
	ldr	r3, [fp, #-564]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-568]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-560]
	str	r3, [sp]
	ldr	r3, [fp, #-556]
	ldr	r2, [fp, #-552]
	bl	wc_get_files_wc
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-536]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L125
	ldr	r3, [fp, #-536]
	add	r3, r3, #1
	str	r3, [fp, #-536]
.L125:
	ldr	r3, [fp, #-536]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L129
	ldr	r3, [fp, #-564]
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L130
	ldr	r3, [fp, #-568]
	ldr	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L131
	ldr	r3, [fp, #-564]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-560]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L134+12
	ldr	r0, [fp, #-552]
	bl	qsort
	b	.L130
.L131:
	ldr	r3, [fp, #-564]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-560]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L134+16
	ldr	r0, [fp, #-552]
	bl	qsort
.L130:
	mov	r3, #1
.L132:
	ldr	r2, .L134
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L133
	bl	__stack_chk_fail
.L133:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L135:
	.align	2
.L134:
	.word	.LC32
	.word	.LC30
	.word	.LC31
	.word	i4fncmpdec
	.word	i4fncmpasc
	.size	w_get_file_list_from_dir_, .-w_get_file_list_from_dir_
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
