	.file	"604164.c"
	.intel_syntax noprefix
	.text
	.type	append, @function
append:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 10
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	cmp	DWORD PTR -44[rbp], 0
	je	.L4
	cmp	QWORD PTR -40[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L4
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 8
	mov	BYTE PTR [rax], 47
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax+rdx], 0
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	append, .-append
	.section	.rodata
.LC0:
	.string	"."
.LC1:
	.string	""
	.text
	.type	do_glob, @function
do_glob:
.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, 304
	mov	QWORD PTR -264[rbp], rdi
	mov	QWORD PTR -272[rbp], rsi
	mov	DWORD PTR -276[rbp], edx
	mov	QWORD PTR -288[rbp], rcx
	mov	DWORD PTR -280[rbp], r8d
	mov	QWORD PTR -296[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -276[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L6
	mov	DWORD PTR -276[rbp], 8
.L6:
	mov	rax, QWORD PTR -288[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	cmp	DWORD PTR -276[rbp], 4
	je	.L8
	mov	DWORD PTR -276[rbp], 0
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -288[rbp], rdx
	mov	rdx, QWORD PTR -272[rbp]
	lea	rcx, 1[rdx]
	mov	QWORD PTR -272[rbp], rcx
	mov	rcx, QWORD PTR -264[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L8:
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 1
	cmp	rax, 4095
	ja	.L9
	mov	rax, QWORD PTR -288[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L10
.L9:
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	DWORD PTR -240[rbp], 0
	mov	DWORD PTR -236[rbp], 0
	jmp	.L11
.L25:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	cmp	DWORD PTR -236[rbp], 0
	je	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -216[rbp]
	add	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	add	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -208[rbp], 0
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -216[rbp], rax
	jmp	.L15
.L12:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L16
	mov	DWORD PTR -240[rbp], 1
	jmp	.L17
.L16:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L17
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 64
	test	eax, eax
	jne	.L17
	cmp	DWORD PTR -240[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	je	.L63
.L18:
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L19
	mov	eax, 0
	jmp	.L14
.L19:
	add	QWORD PTR -216[rbp], 1
.L17:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L20
	cmp	DWORD PTR -236[rbp], 0
	je	.L21
	mov	eax, 0
	jmp	.L14
.L21:
	mov	DWORD PTR -240[rbp], 0
	mov	rax, QWORD PTR -216[rbp]
	add	rax, 1
	add	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -216[rbp], -1
	mov	rdx, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	add	rax, 1
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -208[rbp], -1
.L20:
	mov	rdx, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	add	rax, 1
	cmp	rax, 4095
	ja	.L22
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -208[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -208[rbp], rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -272[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -264[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	jmp	.L23
.L22:
	cmp	DWORD PTR -240[rbp], 0
	je	.L24
	mov	DWORD PTR -236[rbp], 1
	jmp	.L23
.L24:
	mov	eax, 0
	jmp	.L14
.L23:
	mov	DWORD PTR -276[rbp], 0
	add	QWORD PTR -216[rbp], 1
.L11:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L15
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L15
	cmp	DWORD PTR -240[rbp], 0
	je	.L25
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L25
	jmp	.L15
.L63:
	nop
.L15:
	mov	rdx, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -288[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L26
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 2
	test	eax, eax
	je	.L27
	cmp	DWORD PTR -276[rbp], 0
	je	.L28
	cmp	DWORD PTR -276[rbp], 10
	jne	.L27
.L28:
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L27
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L29
	mov	DWORD PTR -276[rbp], 4
	jmp	.L27
.L29:
	mov	DWORD PTR -276[rbp], 8
.L27:
	cmp	DWORD PTR -276[rbp], 0
	jne	.L30
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	je	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L31
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 1
	test	eax, eax
	je	.L31
.L32:
	mov	eax, 2
	jmp	.L14
.L31:
	mov	eax, 0
	jmp	.L14
.L30:
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 2
	test	eax, eax
	je	.L34
	cmp	DWORD PTR -276[rbp], 4
	jne	.L34
	mov	ecx, 1
	jmp	.L35
.L34:
	mov	ecx, 0
.L35:
	mov	rdx, QWORD PTR -272[rbp]
	mov	rsi, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	append
	test	eax, eax
	je	.L36
	mov	eax, 1
	jmp	.L14
.L36:
	mov	eax, 0
	jmp	.L14
.L26:
	mov	rax, QWORD PTR -288[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -200[rbp], rax
	mov	BYTE PTR -241[rbp], 47
	cmp	QWORD PTR -200[rbp], 0
	je	.L37
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 64
	test	eax, eax
	jne	.L37
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -192[rbp], rax
	jmp	.L38
.L40:
	sub	QWORD PTR -192[rbp], 1
.L38:
	mov	rax, QWORD PTR -192[rbp]
	cmp	rax, QWORD PTR -288[rbp]
	jbe	.L39
	mov	rax, QWORD PTR -192[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	je	.L40
.L39:
	mov	rax, QWORD PTR -200[rbp]
	sub	rax, QWORD PTR -192[rbp]
	and	eax, 1
	test	rax, rax
	je	.L37
	sub	QWORD PTR -200[rbp], 1
	mov	BYTE PTR -241[rbp], 92
.L37:
	cmp	QWORD PTR -272[rbp], 0
	je	.L41
	mov	rax, QWORD PTR -264[rbp]
	jmp	.L42
.L41:
	lea	rax, .LC0[rip]
.L42:
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L43
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jne	.L44
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 1
	test	eax, eax
	je	.L45
.L44:
	mov	eax, 2
	jmp	.L14
.L45:
	mov	eax, 0
	jmp	.L14
.L43:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -232[rbp], eax
	jmp	.L46
.L58:
	cmp	QWORD PTR -200[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 18[rax]
	test	al, al
	je	.L47
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	je	.L47
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 10
	je	.L47
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	eax, 4096
	sub	rax, QWORD PTR -272[rbp]
	cmp	QWORD PTR -168[rbp], rax
	jb	.L48
	jmp	.L46
.L48:
	cmp	QWORD PTR -200[rbp], 0
	je	.L49
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 0
.L49:
	mov	eax, DWORD PTR -280[rbp]
	sar	eax, 5
	and	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 128
	test	eax, eax
	jne	.L50
	mov	eax, 4
	jmp	.L51
.L50:
	mov	eax, 0
.L51:
	or	eax, edx
	mov	DWORD PTR -224[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	lea	rcx, 19[rax]
	mov	edx, DWORD PTR -224[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fnmatch@PLT
	test	eax, eax
	je	.L52
	jmp	.L46
.L52:
	cmp	QWORD PTR -200[rbp], 0
	je	.L53
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 128
	test	eax, eax
	je	.L53
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	jne	.L53
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 20[rax]
	test	al, al
	je	.L54
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 20[rax]
	cmp	al, 46
	jne	.L53
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 21[rax]
	test	al, al
	jne	.L53
.L54:
	mov	eax, DWORD PTR -224[rbp]
	or	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -176[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fnmatch@PLT
	test	eax, eax
	je	.L53
	jmp	.L46
.L53:
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -176[rbp]
	lea	rcx, 19[rax]
	mov	rsi, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	cmp	QWORD PTR -200[rbp], 0
	je	.L55
	mov	rax, QWORD PTR -200[rbp]
	movzx	edx, BYTE PTR -241[rbp]
	mov	BYTE PTR [rax], dl
.L55:
	cmp	QWORD PTR -200[rbp], 0
	je	.L56
	mov	rax, QWORD PTR -200[rbp]
	jmp	.L57
.L56:
	lea	rax, .LC1[rip]
.L57:
	mov	rdx, QWORD PTR -176[rbp]
	movzx	edx, BYTE PTR 18[rdx]
	movzx	edx, dl
	mov	rsi, QWORD PTR -272[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	add	rsi, rcx
	mov	r8, QWORD PTR -296[rbp]
	mov	ecx, DWORD PTR -280[rbp]
	mov	rdi, QWORD PTR -264[rbp]
	sub	rsp, 8
	push	QWORD PTR -304[rbp]
	mov	r9, r8
	mov	r8d, ecx
	mov	rcx, rax
	call	do_glob
	add	rsp, 16
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	je	.L46
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -220[rbp]
	jmp	.L14
.L46:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L58
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -228[rbp], eax
	cmp	QWORD PTR -200[rbp], 0
	je	.L59
	mov	rax, QWORD PTR -200[rbp]
	movzx	edx, BYTE PTR -241[rbp]
	mov	BYTE PTR [rax], dl
.L59:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	closedir@PLT
	cmp	DWORD PTR -228[rbp], 0
	je	.L60
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jne	.L61
	mov	eax, DWORD PTR -280[rbp]
	and	eax, 1
	test	eax, eax
	je	.L60
.L61:
	mov	eax, 2
	jmp	.L14
.L60:
	call	__errno_location@PLT
	mov	edx, DWORD PTR -232[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L14:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	do_glob, .-do_glob
	.type	ignore_err, @function
ignore_err:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ignore_err, .-ignore_err
	.type	freelist, @function
freelist:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L67:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L68
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	freelist, .-freelist
	.type	sort, @function
sort:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sort, .-sort
	.section	.rodata
.LC2:
	.string	"HOME"
	.text
	.type	expand_tilde, @function
expand_tilde:
.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, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -96[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 47
	mov	rdi, rax
	mov	eax, 0
	call	__strchrnul@PLT
	cdqe
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -105[rbp], al
	cmp	BYTE PTR -105[rbp], 0
	je	.L72
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -88[rbp], rdx
	mov	BYTE PTR [rax], 0
.L72:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L73
	lea	rdi, .LC2[rip]
	call	getenv@PLT
	jmp	.L74
.L73:
	mov	eax, 0
.L74:
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L83
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L76
	lea	rcx, -104[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	lea	rsi, -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, rcx
	mov	ecx, 4096
	mov	rdi, rax
	call	getpwnam_r@PLT
	jmp	.L77
.L76:
	call	getuid@PLT
	mov	edi, eax
	lea	rcx, -104[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -64[rbp]
	mov	r8, rcx
	mov	ecx, 4096
	mov	rsi, rax
	call	getpwuid_r@PLT
.L77:
	test	eax, eax
	je	.L78
	cmp	eax, 12
	jne	.L79
	mov	eax, 1
	jmp	.L82
.L78:
	mov	rax, QWORD PTR -104[rbp]
	test	rax, rax
	jne	.L81
.L79:
	mov	eax, 3
	jmp	.L82
.L81:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L83
.L85:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -80[rbp], rdx
	mov	rdx, QWORD PTR -96[rbp]
	lea	rcx, 1[rdx]
	mov	QWORD PTR -96[rbp], rcx
	mov	rcx, QWORD PTR -128[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L83:
	cmp	QWORD PTR -96[rbp], 4093
	ja	.L84
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L85
.L84:
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L86
	mov	eax, 3
	jmp	.L82
.L86:
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR -105[rbp]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L87
	add	QWORD PTR -96[rbp], 1
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L87:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L82:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L88
	call	__stack_chk_fail@PLT
.L88:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	expand_tilde, .-expand_tilde
	.globl	glob
	.type	glob, @function
glob:
.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, 4096
	or	QWORD PTR [rsp], 0
	add	rsp, -128
	mov	QWORD PTR -4200[rbp], rdi
	mov	DWORD PTR -4204[rbp], esi
	mov	QWORD PTR -4216[rbp], rdx
	mov	QWORD PTR -4224[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4120[rbp], 0
	lea	rax, -4120[rbp]
	mov	QWORD PTR -4184[rbp], rax
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 8
	test	eax, eax
	je	.L90
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 16[rax]
	jmp	.L91
.L90:
	mov	eax, 0
.L91:
	mov	QWORD PTR -4144[rbp], rax
	mov	DWORD PTR -4188[rbp], 0
	cmp	QWORD PTR -4216[rbp], 0
	jne	.L92
	lea	rax, ignore_err[rip]
	mov	QWORD PTR -4216[rbp], rax
.L92:
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 32
	test	eax, eax
	jne	.L93
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR -4144[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -4224[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -4224[rbp]
	mov	QWORD PTR 8[rax], 0
.L93:
	mov	rax, QWORD PTR -4200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L94
	mov	rax, QWORD PTR -4200[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L95
	mov	eax, 1
	jmp	.L114
.L95:
	mov	BYTE PTR -4112[rbp], 0
	mov	QWORD PTR -4176[rbp], 0
	mov	rax, QWORD PTR -4136[rbp]
	mov	QWORD PTR -4168[rbp], rax
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 20480
	test	eax, eax
	je	.L97
	mov	rax, QWORD PTR -4136[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	jne	.L97
	lea	rdx, -4176[rbp]
	lea	rcx, -4112[rbp]
	lea	rax, -4168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	expand_tilde
	mov	DWORD PTR -4188[rbp], eax
.L97:
	cmp	DWORD PTR -4188[rbp], 0
	jne	.L98
	mov	rdx, QWORD PTR -4168[rbp]
	mov	rsi, QWORD PTR -4176[rbp]
	mov	r8, QWORD PTR -4216[rbp]
	mov	edi, DWORD PTR -4204[rbp]
	lea	rax, -4112[rbp]
	sub	rsp, 8
	lea	rcx, -4184[rbp]
	push	rcx
	mov	r9, r8
	mov	r8d, edi
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	do_glob
	add	rsp, 16
	mov	DWORD PTR -4188[rbp], eax
.L98:
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	free@PLT
.L94:
	cmp	DWORD PTR -4188[rbp], 1
	jne	.L99
	lea	rax, -4120[rbp]
	mov	rdi, rax
	call	freelist
	mov	eax, DWORD PTR -4188[rbp]
	jmp	.L114
.L99:
	mov	QWORD PTR -4160[rbp], 0
	mov	rax, QWORD PTR -4120[rbp]
	mov	QWORD PTR -4184[rbp], rax
	jmp	.L100
.L101:
	mov	rax, QWORD PTR -4184[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4184[rbp], rax
	add	QWORD PTR -4160[rbp], 1
.L100:
	mov	rax, QWORD PTR -4184[rbp]
	test	rax, rax
	jne	.L101
	cmp	QWORD PTR -4160[rbp], 0
	jne	.L102
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 16
	test	eax, eax
	je	.L103
	lea	rax, -4120[rbp]
	mov	QWORD PTR -4184[rbp], rax
	mov	rax, QWORD PTR -4200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rsi, QWORD PTR -4200[rbp]
	lea	rax, -4184[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	append
	test	eax, eax
	je	.L104
	mov	eax, 1
	jmp	.L114
.L104:
	add	QWORD PTR -4160[rbp], 1
	jmp	.L102
.L103:
	mov	eax, 3
	jmp	.L114
.L102:
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 32
	test	eax, eax
	je	.L105
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4144[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -4128[rbp], rax
	cmp	QWORD PTR -4128[rbp], 0
	jne	.L106
	lea	rax, -4120[rbp]
	mov	rdi, rax
	call	freelist
	mov	eax, 1
	jmp	.L114
.L106:
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR -4128[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -4144[rbp], rax
	jmp	.L107
.L105:
	mov	rdx, QWORD PTR -4144[rbp]
	mov	rax, QWORD PTR -4160[rbp]
	add	rax, rdx
	add	rax, 1
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4224[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L108
	lea	rax, -4120[rbp]
	mov	rdi, rax
	call	freelist
	mov	eax, 1
	jmp	.L114
.L108:
	mov	QWORD PTR -4152[rbp], 0
	jmp	.L109
.L110:
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -4152[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	add	QWORD PTR -4152[rbp], 1
.L109:
	mov	rax, QWORD PTR -4152[rbp]
	cmp	rax, QWORD PTR -4144[rbp]
	jb	.L110
.L107:
	mov	QWORD PTR -4152[rbp], 0
	mov	rax, QWORD PTR -4120[rbp]
	mov	QWORD PTR -4184[rbp], rax
	jmp	.L111
.L112:
	mov	rdx, QWORD PTR -4184[rbp]
	mov	rax, QWORD PTR -4224[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR -4144[rbp]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rsi
	sal	rax, 3
	add	rax, rcx
	add	rdx, 8
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -4184[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4184[rbp], rax
	add	QWORD PTR -4152[rbp], 1
.L111:
	mov	rax, QWORD PTR -4152[rbp]
	cmp	rax, QWORD PTR -4160[rbp]
	jb	.L112
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -4144[rbp]
	mov	rax, QWORD PTR -4152[rbp]
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4160[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -4224[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -4204[rbp]
	and	eax, 4
	test	eax, eax
	jne	.L113
	mov	rax, QWORD PTR -4224[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -4144[rbp]
	sal	rax, 3
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -4160[rbp]
	lea	rcx, sort[rip]
	mov	edx, 8
	mov	rsi, rax
	call	qsort@PLT
.L113:
	mov	eax, DWORD PTR -4188[rbp]
.L114:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L115
	call	__stack_chk_fail@PLT
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	glob, .-glob
	.globl	globfree
	.type	globfree, @function
globfree:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L117
.L118:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	sub	rax, 8
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -8[rbp], 1
.L117:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L118
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	globfree, .-globfree
	.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	"604164.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	append, %function
append:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #6
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r0, r3, #4
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	memcpy
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L4
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, #47
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #4]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	append, .-append
	.section	.rodata
	.align	2
.LC0:
	.ascii	".\000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_glob, %function
do_glob:
	@ args = 12, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-180]
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #4]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L6
	mov	r3, #8
	str	r3, [fp, #-168]
.L6:
	ldr	r3, [fp, #-172]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-168]
	cmp	r3, #4
	beq	.L8
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L8
.L10:
	ldr	r3, [fp, #-172]
	add	r2, r3, #1
	str	r2, [fp, #-172]
	ldr	r2, [fp, #-164]
	add	r1, r2, #1
	str	r1, [fp, #-164]
	ldr	r1, [fp, #-160]
	add	r2, r1, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r2]
.L8:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	cmp	r3, #4096
	bcs	.L9
	ldr	r3, [fp, #-172]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L10
.L9:
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L11
.L25:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L13
	mov	r3, #0
	b	.L14
.L13:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-152]
	b	.L15
.L12:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L16
	mov	r3, #1
	str	r3, [fp, #-144]
	b	.L17
.L16:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L17
	ldr	r3, [fp, #4]
	and	r3, r3, #64
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	beq	.L63
.L18:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	b	.L14
.L19:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L17:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L20
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L21
	mov	r3, #0
	b	.L14
.L21:
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	str	r3, [fp, #-172]
	mvn	r3, #0
	str	r3, [fp, #-152]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-164]
	mvn	r3, #0
	str	r3, [fp, #-148]
.L20:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	add	r3, r3, #1
	cmp	r3, #4096
	bcs	.L22
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r2, r2, r3
	ldr	r3, [fp, #-148]
	add	r1, r3, #1
	str	r1, [fp, #-148]
	mov	r1, r3
	ldr	r3, [fp, #-164]
	add	r3, r1, r3
	ldr	r1, [fp, #-160]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L23
.L22:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L24
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L23
.L24:
	mov	r3, #0
	b	.L14
.L23:
	mov	r3, #0
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L11:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L15
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L15
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L25
	b	.L15
.L63:
	nop
.L15:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-172]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #4]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-168]
	cmp	r3, #10
	bne	.L27
.L28:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L29
	mov	r3, #4
	str	r3, [fp, #-168]
	b	.L27
.L29:
	mov	r3, #8
	str	r3, [fp, #-168]
.L27:
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	bne	.L30
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-160]
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L31
	bl	__errno_location
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	mov	r1, r2
	ldr	r0, [fp, #-160]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L31
.L32:
	mov	r3, #2
	b	.L14
.L31:
	mov	r3, #0
	b	.L14
.L30:
	ldr	r3, [fp, #4]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-168]
	cmp	r3, #4
	bne	.L34
	mov	r3, #1
	b	.L35
.L34:
	mov	r3, #0
.L35:
	ldr	r2, [fp, #-164]
	ldr	r1, [fp, #-160]
	ldr	r0, [fp, #-180]
	bl	append
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	mov	r3, #1
	b	.L14
.L36:
	mov	r3, #0
	b	.L14
.L26:
	mov	r1, #47
	ldr	r0, [fp, #-172]
	bl	strchr
	str	r0, [fp, #-136]
	mov	r3, #47
	strb	r3, [fp, #-153]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #4]
	and	r3, r3, #64
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-132]
	b	.L38
.L40:
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L38:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	bls	.L39
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L40
.L39:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	mov	r3, #92
	strb	r3, [fp, #-153]
.L37:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-160]
	b	.L42
.L41:
	ldr	r3, .L64+4
.L42:
	mov	r0, r3
	bl	opendir
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L43
	bl	__errno_location
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	mov	r1, r2
	ldr	r0, [fp, #-160]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L45
.L44:
	mov	r3, #2
	b	.L14
.L45:
	mov	r3, #0
	b	.L14
.L43:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	b	.L46
.L58:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L47
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L47
	b	.L46
.L47:
	ldr	r3, [fp, #-120]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-164]
	rsb	r3, r3, #4096
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	bcc	.L48
	b	.L46
.L48:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-136]
	mov	r2, #0
	strb	r2, [r3]
.L49:
	ldr	r3, [fp, #4]
	asr	r3, r3, #5
	and	r3, r3, #2
	ldr	r2, [fp, #4]
	and	r2, r2, #128
	cmp	r2, #0
	bne	.L50
	mov	r2, #4
	b	.L51
.L50:
	mov	r2, #0
.L51:
	orr	r3, r2, r3
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-120]
	add	r3, r3, #11
	ldr	r2, [fp, #-108]
	mov	r1, r3
	ldr	r0, [fp, #-172]
	bl	fnmatch
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	b	.L46
.L52:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #4]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L53
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L53
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
.L54:
	ldr	r3, [fp, #-120]
	add	r1, r3, #11
	ldr	r3, [fp, #-108]
	orr	r3, r3, #4
	mov	r2, r3
	ldr	r0, [fp, #-172]
	bl	fnmatch
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	b	.L46
.L53:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-164]
	add	r0, r2, r3
	ldr	r3, [fp, #-120]
	add	r1, r3, #11
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-136]
	ldrb	r2, [fp, #-153]
	strb	r2, [r3]
.L55:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-112]
	add	r1, r2, r3
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-136]
	b	.L57
.L56:
	ldr	r3, .L64+8
.L57:
	ldr	r2, [fp, #-180]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-176]
	str	r2, [sp, #4]
	ldr	r2, [fp, #4]
	str	r2, [sp]
	mov	r2, r0
	ldr	r0, [fp, #-160]
	bl	do_glob
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-128]
	bl	closedir
	ldr	r3, [fp, #-104]
	b	.L14
.L46:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-128]
	bl	readdir
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L58
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-136]
	ldrb	r2, [fp, #-153]
	strb	r2, [r3]
.L59:
	ldr	r0, [fp, #-128]
	bl	closedir
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	beq	.L60
	bl	__errno_location
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	mov	r1, r2
	ldr	r0, [fp, #-160]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #4]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L60
.L61:
	mov	r3, #2
	b	.L14
.L60:
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r3, [r2]
	mov	r3, #0
.L14:
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	do_glob, .-do_glob
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ignore_err, %function
ignore_err:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ignore_err, .-ignore_err
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	freelist, %function
freelist:
	@ 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	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L69
.L70:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L69:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L70
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	freelist, .-freelist
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort, %function
sort:
	@ 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	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sort, .-sort
	.section	.rodata
	.align	2
.LC3:
	.ascii	"HOME\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	expand_tilde, %function
expand_tilde:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r1, #47
	ldr	r0, [fp, #-40]
	bl	__strchrnul
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-48]
	add	r2, r3, #1
	str	r2, [fp, #-48]
	mov	r2, #0
	strb	r2, [r3]
.L74:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L91+4
	bl	getenv
	mov	r3, r0
	b	.L76
.L75:
	mov	r3, #0
.L76:
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L78
	sub	r1, fp, #36
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #4096
	ldr	r2, [fp, #-68]
	ldr	r0, [fp, #-40]
	bl	getpwnam_r
	mov	r3, r0
	b	.L79
.L78:
	bl	getuid
	sub	r1, fp, #36
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #4096
	ldr	r2, [fp, #-68]
	bl	getpwuid_r
	mov	r3, r0
.L79:
	cmp	r3, #0
	beq	.L80
	cmp	r3, #12
	bne	.L81
	mov	r3, #1
	b	.L84
.L80:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L83
.L81:
	mov	r3, #3
	b	.L84
.L83:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-44]
	b	.L85
.L87:
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	ldr	r2, [fp, #-52]
	add	r1, r2, #1
	str	r1, [fp, #-52]
	ldr	r1, [fp, #-68]
	add	r2, r1, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r2]
.L85:
	ldr	r3, [fp, #-52]
	ldr	r2, .L91+8
	cmp	r3, r2
	bhi	.L86
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
.L86:
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L88
	mov	r3, #3
	b	.L84
.L88:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r2, [fp, #-57]
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L89
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L89:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	mov	r3, #0
.L84:
	ldr	r2, .L91
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L90
	bl	__stack_chk_fail
.L90:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC4
	.word	.LC3
	.word	4093
	.size	expand_tilde, .-expand_tilde
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	glob
	.syntax unified
	.arm
	.fpu softvfp
	.type	glob, %function
glob:
	@ args = 0, pretend = 0, frame = 4160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #20
	sub	ip, fp, #4096
	sub	ip, ip, #12
	str	r0, [ip, #-52]
	sub	r0, fp, #4096
	sub	r0, r0, #12
	str	r1, [r0, #-56]
	sub	r1, fp, #4096
	sub	r1, r1, #12
	str	r2, [r1, #-60]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-64]
	ldr	r3, .L120
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L94
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3, #8]
	b	.L95
.L94:
	mov	r3, #0
.L95:
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #0
	bne	.L96
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L120+4
	str	r3, [r2, #-60]
.L96:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #32
	cmp	r3, #0
	bne	.L97
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	str	r2, [r3, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	mov	r2, #0
	str	r2, [r3, #4]
.L97:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L98
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-52]
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L99
	mov	r3, #1
	b	.L118
.L99:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #20480
	cmp	r3, #0
	beq	.L101
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L101
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #40
	sub	r1, fp, #4096
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	bl	expand_tilde
	str	r0, [r4, #-20]
.L101:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L102
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #44
	str	r3, [sp, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	str	r3, [sp, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	bl	do_glob
	str	r0, [r4, #-20]
.L102:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	free
.L98:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #1
	bne	.L103
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	freelist
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	b	.L118
.L103:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	b	.L104
.L105:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L104:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L105
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	bne	.L106
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L107
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-52]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #44
	mov	r3, #0
	ldr	r1, [r1, #-52]
	bl	append
	mov	r3, r0
	cmp	r3, #0
	beq	.L108
	mov	r3, #1
	b	.L118
.L108:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
	b	.L106
.L107:
	mov	r3, #3
	b	.L118
.L106:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L109
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r0, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, r3
	bl	realloc
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L110
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	freelist
	mov	r3, #1
	b	.L118
.L110:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	str	r3, [r1, #-24]
	b	.L111
.L109:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-32]
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L112
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	freelist
	mov	r3, #1
	b	.L118
.L112:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L113
.L114:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L113:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-24]
	cmp	r2, r3
	bcc	.L114
.L111:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	b	.L115
.L116:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r1, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r0, #-24]
	ldr	r3, [r3, #-28]
	add	r3, r0, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #4
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L115:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-32]
	cmp	r2, r3
	bcc	.L116
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r1, #-24]
	ldr	r3, [r3, #-28]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L117
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r3, .L120+8
	mov	r2, #4
	ldr	r1, [r1, #-32]
	bl	qsort
.L117:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
.L118:
	ldr	r2, .L120
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L119
	bl	__stack_chk_fail
.L119:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC5
	.word	ignore_err
	.word	sort
	.size	glob, .-glob
	.align	2
	.global	globfree
	.syntax unified
	.arm
	.fpu softvfp
	.type	globfree, %function
globfree:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L123
.L124:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r3, r3, #4
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L123:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L124
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	globfree, .-globfree
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
