	.file	"223588.c"
	.intel_syntax noprefix
	.text
	.local	g_lzf_hashtab
	.comm	g_lzf_hashtab,65536,32
	.local	g_progname
	.comm	g_progname,8,8
	.local	g_dirname
	.comm	g_dirname,8,8
	.local	g_outname
	.comm	g_outname,8,8
	.local	g_outstream
	.comm	g_outstream,8,8
	.local	g_tmpstream
	.comm	g_tmpstream,8,8
	.section	.rodata
	.align 32
	.type	g_delim, @object
	.size	g_delim, 97
g_delim:
	.string	"************************************************************************************************"
	.local	g_offset
	.comm	g_offset,4,4
	.local	g_diroffset
	.comm	g_diroffset,4,4
	.local	g_parent_offset
	.comm	g_parent_offset,4,4
	.local	g_nnodes
	.comm	g_nnodes,4,4
	.local	g_nblocks
	.comm	g_nblocks,4,4
	.local	g_nhex
	.comm	g_nhex,4,4
	.local	g_ntmps
	.comm	g_ntmps,4,4
	.align 8
.LC0:
	.string	"USAGE: %s <dir-path> <out-file>\n"
	.text
	.type	show_usage, @function
show_usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, QWORD PTR g_progname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	show_usage, .-show_usage
	.section	.rodata
	.align 8
.LC1:
	.string	"ERROR: Source <dir-path> %s is invalid\n"
	.align 8
.LC2:
	.string	"ERROR: Source <dir-path> %s does not exist\n"
.LC3:
	.string	"ERROR: stat(%s) failed: %s\n"
	.align 8
.LC4:
	.string	"ERROR: Source <dir-path> %s is not a directory\n"
	.text
	.type	verify_directory, @function
verify_directory:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR g_dirname[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -172[rbp], eax
	jmp	.L3
.L5:
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	sub	DWORD PTR -172[rbp], 1
.L3:
	cmp	DWORD PTR -172[rbp], 1
	jle	.L4
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L5
.L4:
	cmp	DWORD PTR -172[rbp], 0
	jg	.L6
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	show_usage
.L6:
	mov	rax, QWORD PTR g_dirname[rip]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -168[rbp], eax
	cmp	DWORD PTR -168[rbp], 0
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 2
	jne	.L8
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -164[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L9:
	call	show_usage
	jmp	.L12
.L7:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	je	.L12
	mov	rdx, QWORD PTR g_dirname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L12:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	verify_directory, .-verify_directory
	.section	.rodata
	.align 8
.LC5:
	.string	"ERROR: Destination <out-file> %s exists\n"
	.align 8
.LC6:
	.string	"Existing file %s will be replaced\n"
	.text
	.type	verify_outfile, @function
verify_outfile:
.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR g_outname[rip]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -168[rbp], eax
	cmp	DWORD PTR -168[rbp], 0
	jns	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 2
	je	.L18
	mov	eax, DWORD PTR -164[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR g_outname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	show_usage
	jmp	.L18
.L14:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 32768
	je	.L16
	mov	rdx, QWORD PTR g_outname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	show_usage
	jmp	.L18
.L16:
	mov	rax, QWORD PTR g_outname[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	verify_outfile, .-verify_outfile
	.section	.rodata
.LC7:
	.string	"/%s\n"
.LC8:
	.string	" * %s\n"
.LC9:
	.string	" *\n"
	.align 8
.LC10:
	.string	" *   Copyright (C) 2018 Gregory Nutt. All rights reserved.\n"
	.align 8
.LC11:
	.string	" *   Author: Gregory Nutt <gnutt@nuttx.org>\n"
	.align 8
.LC12:
	.string	" * Redistribution and use in source and binary forms, with or without\n"
	.align 8
.LC13:
	.string	" * modification, are permitted provided that the following conditions\n"
.LC14:
	.string	" * are met:\n"
	.align 8
.LC15:
	.string	" * 1. Redistributions of source code must retain the above copyright\n"
	.align 8
.LC16:
	.string	" *    notice, this list of conditions and the following disclaimer.\n"
	.align 8
.LC17:
	.string	" * 2. Redistributions in binary form must reproduce the above copyright\n"
	.align 8
.LC18:
	.string	" *    notice, this list of conditions and the following disclaimer in\n"
	.align 8
.LC19:
	.string	" *    the documentation and/or other materials provided with the\n"
.LC20:
	.string	" *    distribution.\n"
	.align 8
.LC21:
	.string	" * 3. Neither the name NuttX nor the names of its contributors may be\n"
	.align 8
.LC22:
	.string	" *    used to endorse or promote products derived from this software\n"
	.align 8
.LC23:
	.string	" *    without specific prior written permission.\n"
	.align 8
.LC24:
	.string	" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"
	.align 8
.LC25:
	.string	" * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n"
	.align 8
.LC26:
	.string	" * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n"
	.align 8
.LC27:
	.string	" * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n"
	.align 8
.LC28:
	.string	" * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n"
	.align 8
.LC29:
	.string	" * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n"
	.align 8
.LC30:
	.string	" * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n"
	.align 8
.LC31:
	.string	" * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n"
	.align 8
.LC32:
	.string	" * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n"
	.align 8
.LC33:
	.string	" * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n"
	.align 8
.LC34:
	.string	" * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n"
	.align 8
.LC35:
	.string	" * POSSIBILITY OF SUCH DAMAGE.\n"
.LC36:
	.string	" %s/\n\n"
.LC37:
	.string	" * Included Files\n"
.LC38:
	.string	"#include <nuttx/config.h>\n\n"
.LC39:
	.string	"#include <stdint.h>\n\n"
.LC40:
	.string	" * Private Data\n"
	.text
	.type	init_outfile, @function
init_outfile:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR g_outname[rip]
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 59
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 68
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 72
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 65
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 66
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 72
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 70
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 63
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC39[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rdx, g_delim[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	init_outfile, .-init_outfile
	.section	.rodata
.LC41:
	.string	"/tmp/gencromfs-%06u"
.LC42:
	.string	"w+"
	.align 8
.LC43:
	.string	"fopen for tmp file %s failed: %s\n"
	.text
	.type	open_tmpfile, @function
open_tmpfile:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR g_ntmps[rip]
	lea	rax, -48[rbp]
	mov	ecx, edx
	lea	rdx, .LC41[rip]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	eax, DWORD PTR g_ntmps[rip]
	add	eax, 1
	mov	DWORD PTR g_ntmps[rip], eax
	lea	rax, -48[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -48[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	open_tmpfile, .-open_tmpfile
	.type	unlink_tmpfiles, @function
unlink_tmpfiles:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L25
.L26:
	mov	edx, DWORD PTR -52[rbp]
	lea	rax, -48[rbp]
	mov	ecx, edx
	lea	rdx, .LC41[rip]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	unlink@PLT
	add	DWORD PTR -52[rbp], 1
.L25:
	mov	eax, DWORD PTR g_ntmps[rip]
	cmp	DWORD PTR -52[rbp], eax
	jb	.L26
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	unlink_tmpfiles, .-unlink_tmpfiles
	.type	append_tmpfile, @function
append_tmpfile:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdi, rax
	call	rewind@PLT
.L30:
	mov	rdx, QWORD PTR -1072[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1024
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	je	.L29
	mov	rcx, QWORD PTR -1064[rbp]
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L29:
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L30
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	append_tmpfile, .-append_tmpfile
	.section	.rodata
.LC44:
	.string	" 0x%02x,"
	.text
	.type	dump_hexbuffer, @function
dump_hexbuffer:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L33
.L37:
	mov	eax, DWORD PTR g_nhex[rip]
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR g_nhex[rip]
	cmp	eax, 8
	jne	.L35
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
.L35:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR g_nhex[rip]
	add	eax, 1
	mov	DWORD PTR g_nhex[rip], eax
	mov	eax, DWORD PTR g_nhex[rip]
	cmp	eax, 15
	jbe	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR g_nhex[rip], 0
.L36:
	sub	DWORD PTR -36[rbp], 1
.L33:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L37
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	dump_hexbuffer, .-dump_hexbuffer
	.type	dump_nextline, @function
dump_nextline:
.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	eax, DWORD PTR g_nhex[rip]
	test	eax, eax
	je	.L40
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR g_nhex[rip], 0
.L40:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	dump_nextline, .-dump_nextline
	.type	lzf_compress, @function
lzf_compress:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 7
	mov	QWORD PTR -64[rbp], rax
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 512
	mov	QWORD PTR -32[rbp], rax
	cmp	DWORD PTR -108[rbp], 0
	jne	.L42
	mov	QWORD PTR -56[rbp], 0
	jmp	.L43
.L42:
	mov	edx, 65536
	mov	esi, 0
	lea	rdi, g_lzf_hashtab[rip]
	call	memset@PLT
	mov	DWORD PTR -84[rbp], 0
	add	QWORD PTR -64[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -88[rbp], eax
	jmp	.L44
.L74:
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 5
	xor	eax, DWORD PTR -88[rbp]
	shr	eax, 11
	mov	ecx, eax
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, edx
	sal	eax, 2
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	and	eax, 8191
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, g_lzf_hashtab[rip]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jnb	.L45
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 8191
	ja	.L45
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jbe	.L45
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L45
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, ecx
	cmp	edx, eax
	jne	.L45
	mov	DWORD PTR -80[rbp], 2
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -72[rbp]
	sub	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, 264
	cmp	DWORD PTR -76[rbp], 264
	cmovbe	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 4
	cmp	QWORD PTR -32[rbp], rax
	ja	.L46
	cmp	DWORD PTR -84[rbp], 0
	jne	.L47
	mov	edx, 3
	jmp	.L48
.L47:
	mov	edx, 4
.L48:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	cmp	QWORD PTR -32[rbp], rax
	ja	.L46
	mov	QWORD PTR -56[rbp], 0
	jmp	.L43
.L46:
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	sub	edx, 1
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -84[rbp], 0
	sete	al
	movzx	eax, al
	neg	rax
	add	QWORD PTR -64[rbp], rax
	cmp	DWORD PTR -76[rbp], 16
	jbe	.L67
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L81
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L82
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L83
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L84
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L85
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L86
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L87
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L88
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L89
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L90
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L91
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L92
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L93
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L94
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L95
	add	DWORD PTR -80[rbp], 1
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L96
.L67:
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jnb	.L97
	mov	edx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L67
	jmp	.L97
.L81:
	nop
	jmp	.L51
.L82:
	nop
	jmp	.L51
.L83:
	nop
	jmp	.L51
.L84:
	nop
	jmp	.L51
.L85:
	nop
	jmp	.L51
.L86:
	nop
	jmp	.L51
.L87:
	nop
	jmp	.L51
.L88:
	nop
	jmp	.L51
.L89:
	nop
	jmp	.L51
.L90:
	nop
	jmp	.L51
.L91:
	nop
	jmp	.L51
.L92:
	nop
	jmp	.L51
.L93:
	nop
	jmp	.L51
.L94:
	nop
	jmp	.L51
.L95:
	nop
	jmp	.L51
.L96:
	nop
	jmp	.L51
.L97:
	nop
.L51:
	sub	DWORD PTR -80[rbp], 2
	add	QWORD PTR -72[rbp], 1
	cmp	DWORD PTR -80[rbp], 6
	ja	.L68
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 8
	mov	esi, eax
	mov	eax, DWORD PTR -80[rbp]
	sal	eax, 5
	mov	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	lea	edx, [rsi+rcx]
	mov	BYTE PTR [rax], dl
	jmp	.L69
.L68:
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	lea	edx, -32[rcx]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -80[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	lea	edx, -7[rcx]
	mov	BYTE PTR [rax], dl
.L69:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -84[rbp], 0
	add	QWORD PTR -64[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	mov	eax, eax
	add	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 2
	cmp	QWORD PTR -72[rbp], rax
	jnb	.L98
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	mov	eax, eax
	neg	rax
	add	QWORD PTR -72[rbp], rax
.L72:
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 5
	xor	eax, DWORD PTR -88[rbp]
	shr	eax, 11
	mov	ecx, eax
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, edx
	sal	eax, 2
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	and	eax, 8191
	mov	eax, eax
	lea	rcx, 0[0+rax*8]
	lea	rdx, g_lzf_hashtab[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	add	QWORD PTR -72[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -80[rbp], edx
	test	eax, eax
	jne	.L72
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L73
	mov	QWORD PTR -56[rbp], 0
	jmp	.L43
.L73:
	add	DWORD PTR -84[rbp], 1
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -64[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -84[rbp], 32
	jne	.L44
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	sub	edx, 1
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -84[rbp], 0
	add	QWORD PTR -64[rbp], 1
.L44:
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 2
	cmp	QWORD PTR -72[rbp], rax
	jb	.L74
	jmp	.L71
.L98:
	nop
.L71:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 3
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L76
	mov	QWORD PTR -56[rbp], 0
	jmp	.L43
.L77:
	add	DWORD PTR -84[rbp], 1
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -64[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -84[rbp], 32
	jne	.L76
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	sub	edx, 1
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -84[rbp], 0
	add	QWORD PTR -64[rbp], 1
.L76:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L77
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	sub	edx, 1
	mov	BYTE PTR [rax], dl
	cmp	DWORD PTR -84[rbp], 0
	sete	al
	movzx	eax, al
	neg	rax
	add	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, 7[rax]
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	mov	QWORD PTR -56[rbp], rax
.L43:
	cmp	QWORD PTR -56[rbp], 0
	jle	.L78
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR [rax], 90
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 1[rax], 86
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 2[rax], 1
	mov	rax, QWORD PTR -56[rbp]
	sar	rax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 3[rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 4[rax], dl
	mov	eax, DWORD PTR -108[rbp]
	shr	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 5[rax], dl
	mov	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 6[rax], dl
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 7
	mov	QWORD PTR -48[rbp], rax
	jmp	.L79
.L78:
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR [rax], 90
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 1[rax], 86
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 2[rax], 0
	mov	eax, DWORD PTR -108[rbp]
	shr	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 3[rax], dl
	mov	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	BYTE PTR 4[rax], dl
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -120[rbp]
	lea	rcx, 5[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -108[rbp]
	add	eax, 5
	mov	eax, eax
	mov	QWORD PTR -48[rbp], rax
.L79:
	mov	rax, QWORD PTR -48[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	lzf_compress, .-lzf_compress
	.type	get_mode, @function
get_mode:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	WORD PTR -2[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L100
	or	WORD PTR -2[rbp], 1
.L100:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 4
	test	eax, eax
	je	.L101
	or	WORD PTR -2[rbp], 4
.L101:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 8
	test	eax, eax
	je	.L102
	or	WORD PTR -2[rbp], 8
.L102:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 32
	test	eax, eax
	je	.L103
	or	WORD PTR -2[rbp], 32
.L103:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 64
	test	eax, eax
	je	.L104
	or	WORD PTR -2[rbp], 64
.L104:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 256
	test	eax, eax
	je	.L105
	or	WORD PTR -2[rbp], 256
.L105:
	movzx	eax, WORD PTR -2[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	get_mode, .-get_mode
	.section	.rodata
	.align 8
.LC45:
	.string	"\n  /* Offset %6lu:  Hard link %s */\n\n"
	.text
	.type	gen_dirlink, @function
gen_dirlink:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	eax, edx
	mov	BYTE PTR -64[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdi, rax
	call	dump_nextline
	mov	eax, DWORD PTR g_offset[rip]
	mov	esi, eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	WORD PTR -32[rbp], -28307
	mov	WORD PTR -30[rbp], 0
	mov	eax, DWORD PTR g_offset[rip]
	add	eax, 20
	mov	DWORD PTR g_offset[rip], eax
	mov	eax, DWORD PTR g_offset[rip]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	mov	edx, DWORD PTR g_offset[rip]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	mov	DWORD PTR g_offset[rip], eax
	cmp	BYTE PTR -64[rbp], 0
	je	.L108
	mov	eax, 0
	jmp	.L109
.L108:
	mov	eax, DWORD PTR g_offset[rip]
.L109:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	lea	rcx, -32[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	eax, DWORD PTR g_nnodes[rip]
	add	eax, 1
	mov	DWORD PTR g_nnodes[rip], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L110
	call	__stack_chk_fail@PLT
.L110:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	gen_dirlink, .-gen_dirlink
	.section	.rodata
.LC46:
	.string	"."
.LC47:
	.string	".."
	.align 8
.LC48:
	.string	"\n  /* Offset %6lu:  Directory %s */\n\n"
	.text
	.type	gen_directory, @function
gen_directory:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -104[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR g_offset[rip]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR g_diroffset[rip]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR g_parent_offset[rip]
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -56[rbp], eax
	call	open_tmpfile
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR g_tmpstream[rip], rax
	mov	edx, DWORD PTR g_offset[rip]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	add	eax, 20
	mov	DWORD PTR g_offset[rip], eax
	mov	eax, DWORD PTR g_diroffset[rip]
	mov	DWORD PTR g_parent_offset[rip], eax
	mov	eax, DWORD PTR g_offset[rip]
	mov	DWORD PTR g_diroffset[rip], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 0
	lea	rsi, dir_notempty[rip]
	mov	rdi, rax
	call	traverse_directory
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR g_diroffset[rip]
	mov	edx, 0
	mov	esi, eax
	lea	rdi, .LC46[rip]
	call	gen_dirlink
	cmp	DWORD PTR -52[rbp], 0
	sete	al
	movzx	edx, al
	mov	eax, DWORD PTR g_parent_offset[rip]
	mov	esi, eax
	lea	rdi, .LC47[rip]
	call	gen_dirlink
	cmp	DWORD PTR -52[rbp], 0
	je	.L112
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 0
	lea	rsi, process_direntry[rip]
	mov	rdi, rax
	call	traverse_directory
.L112:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR g_tmpstream[rip], rax
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR g_diroffset[rip], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR g_parent_offset[rip], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdi, rax
	call	dump_nextline
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rcx, QWORD PTR -88[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -100[rbp]
	mov	edi, eax
	call	get_mode
	or	ah, 16
	mov	WORD PTR -32[rbp], ax
	mov	WORD PTR -30[rbp], 0
	add	DWORD PTR -68[rbp], 20
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -68[rbp], eax
	cmp	BYTE PTR -104[rbp], 0
	je	.L113
	mov	eax, 0
	jmp	.L114
.L113:
	mov	eax, DWORD PTR g_offset[rip]
.L114:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	lea	rcx, -32[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	eax, DWORD PTR g_nnodes[rip]
	add	eax, 1
	mov	DWORD PTR g_nnodes[rip], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	append_tmpfile
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L115
	call	__stack_chk_fail@PLT
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	gen_directory, .-gen_directory
	.section	.rodata
.LC49:
	.string	"r"
	.align 8
.LC50:
	.string	"fopen for source file %s failed: %s\n"
	.align 8
.LC51:
	.string	"\n  /* Offset %6lu:  Block %u blklen=%lu Uncompressed=%lu Compressed=%u */\n\n"
	.align 8
.LC52:
	.string	"\n  /* Offset %6lu:  File %s:  Uncompressed=%lu Compressed=%lu */\n\n"
	.text
	.type	gen_file, @function
gen_file:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1216
	mov	QWORD PTR -1192[rbp], rdi
	mov	QWORD PTR -1200[rbp], rsi
	mov	DWORD PTR -1204[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -1208[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR g_offset[rip]
	mov	DWORD PTR -1168[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	QWORD PTR -1144[rbp], rax
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -1164[rbp], eax
	call	open_tmpfile
	mov	QWORD PTR -1136[rbp], rax
	mov	rax, QWORD PTR -1136[rbp]
	mov	QWORD PTR g_tmpstream[rip], rax
	mov	edx, DWORD PTR -1164[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	add	eax, edx
	add	eax, 20
	mov	DWORD PTR g_offset[rip], eax
	mov	rax, QWORD PTR -1192[rbp]
	lea	rsi, .LC49[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1128[rbp], rax
	cmp	QWORD PTR -1128[rbp], 0
	jne	.L117
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1192[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L117:
	mov	DWORD PTR -1172[rbp], 0
	mov	QWORD PTR -1160[rbp], 0
	mov	QWORD PTR -1152[rbp], 0
.L121:
	mov	rdx, QWORD PTR -1128[rbp]
	lea	rax, -528[rbp]
	mov	rcx, rdx
	mov	edx, 512
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -1120[rbp], rax
	cmp	QWORD PTR -1120[rbp], 0
	je	.L118
	mov	rax, QWORD PTR -1120[rbp]
	mov	ecx, eax
	lea	rdx, -1072[rbp]
	lea	rax, -528[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	lzf_compress
	mov	QWORD PTR -1112[rbp], rax
	movzx	eax, BYTE PTR -1070[rbp]
	test	al, al
	jne	.L119
	mov	rax, QWORD PTR -1120[rbp]
	mov	WORD PTR -1174[rbp], ax
	jmp	.L120
.L119:
	movzx	eax, BYTE PTR -1069[rbp]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -1068[rbp]
	movzx	eax, al
	or	eax, edx
	mov	WORD PTR -1174[rbp], ax
.L120:
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdi, rax
	call	dump_nextline
	movzx	ecx, WORD PTR -1174[rbp]
	mov	rdi, QWORD PTR -1120[rbp]
	mov	rsi, QWORD PTR -1112[rbp]
	mov	eax, DWORD PTR g_offset[rip]
	mov	r10d, eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	edx, DWORD PTR -1172[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9, rdi
	mov	r8, rsi
	mov	ecx, edx
	mov	rdx, r10
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -1112[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	lea	rcx, -1072[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	rax, QWORD PTR -1120[rbp]
	add	QWORD PTR -1160[rbp], rax
	mov	rax, QWORD PTR -1112[rbp]
	add	QWORD PTR -1152[rbp], rax
	mov	rax, QWORD PTR -1112[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR g_offset[rip]
	add	eax, edx
	mov	DWORD PTR g_offset[rip], eax
	mov	eax, DWORD PTR g_nblocks[rip]
	add	eax, 1
	mov	DWORD PTR g_nblocks[rip], eax
	add	DWORD PTR -1172[rbp], 1
.L118:
	cmp	QWORD PTR -1120[rbp], 0
	jne	.L121
	mov	rax, QWORD PTR -1144[rbp]
	mov	QWORD PTR g_tmpstream[rip], rax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdi, rax
	call	dump_nextline
	mov	edx, DWORD PTR -1168[rbp]
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdi, QWORD PTR -1152[rbp]
	mov	rsi, QWORD PTR -1160[rbp]
	mov	rcx, QWORD PTR -1192[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -1204[rbp]
	mov	edi, eax
	call	get_mode
	or	ah, 32
	mov	WORD PTR -1104[rbp], ax
	mov	WORD PTR -1102[rbp], 0
	add	DWORD PTR -1168[rbp], 20
	mov	eax, DWORD PTR -1168[rbp]
	mov	DWORD PTR -1100[rbp], eax
	mov	rax, QWORD PTR -1160[rbp]
	mov	DWORD PTR -1096[rbp], eax
	mov	eax, DWORD PTR -1164[rbp]
	add	DWORD PTR -1168[rbp], eax
	mov	eax, DWORD PTR -1168[rbp]
	mov	DWORD PTR -1088[rbp], eax
	mov	rax, QWORD PTR -1152[rbp]
	add	DWORD PTR -1168[rbp], eax
	cmp	BYTE PTR -1208[rbp], 0
	je	.L122
	mov	eax, 0
	jmp	.L123
.L122:
	mov	eax, DWORD PTR -1168[rbp]
.L123:
	mov	DWORD PTR -1092[rbp], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	lea	rcx, -1104[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	edx, DWORD PTR -1164[rbp]
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rcx, QWORD PTR -1200[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	eax, DWORD PTR g_nnodes[rip]
	add	eax, 1
	mov	DWORD PTR g_nnodes[rip], eax
	mov	rax, QWORD PTR g_tmpstream[rip]
	mov	rdx, QWORD PTR -1136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	append_tmpfile
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L124
	call	__stack_chk_fail@PLT
.L124:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	gen_file, .-gen_file
	.section	.rodata
.LC53:
	.string	"%s/%s"
	.text
	.type	dir_notempty, @function
dir_notempty:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	QWORD PTR -200[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -204[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rax, -168[rbp]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	mov	DWORD PTR -176[rbp], eax
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -176[rbp], eax
	cmp	DWORD PTR -176[rbp], 0
	jns	.L126
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L126:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 32768
	je	.L127
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L128
.L127:
	mov	eax, 1
	jmp	.L130
.L128:
	mov	eax, 0
.L130:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L131
	call	__stack_chk_fail@PLT
.L131:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	dir_notempty, .-dir_notempty
	.section	.rodata
	.align 8
.LC54:
	.string	"ERROR: Directory entry %s does not exist\n"
.LC55:
	.string	"Omitting entry %s\n"
	.text
	.type	process_direntry, @function
process_direntry:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	QWORD PTR -200[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -204[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	lea	rax, -168[rbp]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	mov	DWORD PTR -176[rbp], eax
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -176[rbp], eax
	cmp	DWORD PTR -176[rbp], 0
	jns	.L133
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 2
	jne	.L134
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L135
.L134:
	mov	eax, DWORD PTR -172[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L135:
	call	show_usage
	jmp	.L136
.L133:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L137
	movzx	ecx, BYTE PTR -204[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	gen_directory
	jmp	.L136
.L137:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L138
	movzx	ecx, BYTE PTR -204[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	gen_file
	jmp	.L136
.L138:
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L136:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	process_direntry, .-process_direntry
	.section	.rodata
	.align 8
.LC56:
	.string	"ERROR: opendir(%s) failed: %s\n"
	.text
	.type	traverse_directory, @function
traverse_directory:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	QWORD PTR -312[rbp], rdi
	mov	QWORD PTR -320[rbp], rsi
	mov	QWORD PTR -328[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -292[rbp], 0
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L142
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -312[rbp]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	show_usage
.L142:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	jmp	.L143
.L145:
	mov	rax, QWORD PTR -288[rbp]
	lea	rcx, 19[rax]
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -288[rbp], rax
	lea	rax, -272[rbp]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L143
	lea	rax, -272[rbp]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L143
	cmp	QWORD PTR -288[rbp], 0
	sete	al
	movzx	ecx, al
	mov	rdx, QWORD PTR -328[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	r8, QWORD PTR -320[rbp]
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	jne	.L148
.L143:
	cmp	QWORD PTR -288[rbp], 0
	jne	.L145
	jmp	.L144
.L148:
	nop
.L144:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR -292[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L147
	call	__stack_chk_fail@PLT
.L147:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	traverse_directory, .-traverse_directory
	.section	.rodata
	.align 8
.LC57:
	.string	"Unexpected number of arguments\n"
.LC58:
	.string	"w"
.LC59:
	.string	"open %s failed: %s\n"
.LC60:
	.string	"/* CROMFS image */\n\n"
	.align 8
.LC61:
	.string	"const uint8_t g_cromfs_image[] =\n"
.LC62:
	.string	"{\n"
	.align 8
.LC63:
	.string	"\n  /* Offset %6lu:  Volume header */\n\n"
	.align 8
.LC64:
	.string	"\n  /* Offset %6lu:  Root directory */\n"
.LC65:
	.string	"\n};\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L150
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L151
.L150:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
.L151:
	mov	QWORD PTR g_progname[rip], rax
	cmp	DWORD PTR -52[rbp], 3
	je	.L152
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC57[rip]
	call	fwrite@PLT
	call	show_usage
.L152:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR g_dirname[rip], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR g_outname[rip], rax
	call	verify_directory
	call	verify_outfile
	mov	rax, QWORD PTR g_outname[rip]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR g_outstream[rip], rax
	mov	rax, QWORD PTR g_outstream[rip]
	test	rax, rax
	jne	.L153
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR g_outname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L153:
	call	open_tmpfile
	mov	QWORD PTR g_tmpstream[rip], rax
	call	init_outfile
	mov	DWORD PTR g_offset[rip], 20
	mov	DWORD PTR g_diroffset[rip], 20
	mov	DWORD PTR g_parent_offset[rip], 20
	mov	rax, QWORD PTR g_dirname[rip]
	mov	edx, 0
	lea	rsi, dir_notempty[rip]
	mov	rdi, rax
	call	traverse_directory
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	movzx	edx, al
	mov	eax, DWORD PTR g_diroffset[rip]
	mov	esi, eax
	lea	rdi, .LC46[rip]
	call	gen_dirlink
	cmp	DWORD PTR -44[rbp], 0
	je	.L154
	mov	rax, QWORD PTR g_dirname[rip]
	mov	edx, 0
	lea	rsi, process_direntry[rip]
	mov	rdi, rax
	call	traverse_directory
.L154:
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC60[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC61[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC62[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	edx, 0
	lea	rsi, .LC63[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 1297044035
	mov	eax, DWORD PTR g_nnodes[rip]
	mov	WORD PTR -28[rbp], ax
	mov	eax, DWORD PTR g_nblocks[rip]
	mov	WORD PTR -26[rbp], ax
	mov	DWORD PTR -24[rbp], 20
	mov	eax, DWORD PTR g_offset[rip]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -16[rbp], 512
	mov	DWORD PTR g_nhex[rip], 0
	mov	rax, QWORD PTR g_outstream[rip]
	lea	rcx, -32[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	dump_hexbuffer
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rdi, rax
	call	dump_nextline
	mov	rax, QWORD PTR g_outstream[rip]
	mov	edx, 20
	lea	rsi, .LC64[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR g_tmpstream[rip]
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	append_tmpfile
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR g_outstream[rip]
	mov	rdi, rax
	call	fclose@PLT
	call	unlink_tmpfiles
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L156
	call	__stack_chk_fail@PLT
.L156:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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	"223588.c"
	.text
	.local	g_lzf_hashtab
	.comm	g_lzf_hashtab,32768,4
	.local	g_progname
	.comm	g_progname,4,4
	.local	g_dirname
	.comm	g_dirname,4,4
	.local	g_outname
	.comm	g_outname,4,4
	.local	g_outstream
	.comm	g_outstream,4,4
	.local	g_tmpstream
	.comm	g_tmpstream,4,4
	.section	.rodata
	.align	2
	.type	g_delim, %object
	.size	g_delim, 97
g_delim:
	.ascii	"***************************************************"
	.ascii	"*********************************************\000"
	.local	g_offset
	.comm	g_offset,4,4
	.local	g_diroffset
	.comm	g_diroffset,4,4
	.local	g_parent_offset
	.comm	g_parent_offset,4,4
	.local	g_nnodes
	.comm	g_nnodes,4,4
	.local	g_nblocks
	.comm	g_nblocks,4,4
	.local	g_nhex
	.comm	g_nhex,4,4
	.local	g_ntmps
	.comm	g_ntmps,4,4
	.align	2
.LC0:
	.ascii	"USAGE: %s <dir-path> <out-file>\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_usage, %function
show_usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	ldr	r2, [r2]
	ldr	r1, .L2+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	g_progname
	.word	.LC0
	.size	show_usage, .-show_usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ERROR: Source <dir-path> %s is invalid\012\000"
	.align	2
.LC2:
	.ascii	"ERROR: Source <dir-path> %s does not exist\012\000"
	.align	2
.LC3:
	.ascii	"ERROR: stat(%s) failed: %s\012\000"
	.align	2
.LC4:
	.ascii	"ERROR: Source <dir-path> %s is not a directory\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_directory, %function
verify_directory:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #112
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-120]
	b	.L5
.L7:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-120]
.L5:
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	ble	.L6
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L7
.L6:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bgt	.L8
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, .L15+4
	ldr	r2, [r2]
	ldr	r1, .L15+12
	mov	r0, r3
	bl	fprintf
	bl	show_usage
.L8:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stat
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	bne	.L10
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, .L15+4
	ldr	r2, [r2]
	ldr	r1, .L15+16
	mov	r0, r3
	bl	fprintf
	b	.L11
.L10:
	ldr	r3, .L15+8
	ldr	r4, [r3]
	ldr	r3, .L15+4
	ldr	r5, [r3]
	ldr	r0, [fp, #-112]
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L15+20
	mov	r0, r4
	bl	fprintf
.L11:
	bl	show_usage
	b	.L14
.L9:
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #16384
	beq	.L14
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, .L15+4
	ldr	r2, [r2]
	ldr	r1, .L15+24
	mov	r0, r3
	bl	fprintf
.L14:
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	g_dirname
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	verify_directory, .-verify_directory
	.section	.rodata
	.align	2
.LC6:
	.ascii	"ERROR: Destination <out-file> %s exists\012\000"
	.align	2
.LC7:
	.ascii	"Existing file %s will be replaced\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_outfile, %function
verify_outfile:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #104
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L23+4
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stat
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	beq	.L22
	ldr	r3, .L23+8
	ldr	r4, [r3]
	ldr	r3, .L23+4
	ldr	r5, [r3]
	ldr	r0, [fp, #-112]
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L23+12
	mov	r0, r4
	bl	fprintf
	bl	show_usage
	b	.L22
.L18:
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #32768
	beq	.L20
	ldr	r3, .L23+8
	ldr	r3, [r3]
	ldr	r2, .L23+4
	ldr	r2, [r2]
	ldr	r1, .L23+16
	mov	r0, r3
	bl	fprintf
	bl	show_usage
	b	.L22
.L20:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+20
	bl	printf
.L22:
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC8
	.word	g_outname
	.word	stderr
	.word	.LC3
	.word	.LC6
	.word	.LC7
	.size	verify_outfile, .-verify_outfile
	.section	.rodata
	.align	2
.LC9:
	.ascii	"/%s\012\000"
	.align	2
.LC10:
	.ascii	" * %s\012\000"
	.align	2
.LC11:
	.ascii	" *\012\000"
	.align	2
.LC12:
	.ascii	" *   Copyright (C) 2018 Gregory Nutt. All rights re"
	.ascii	"served.\012\000"
	.align	2
.LC13:
	.ascii	" *   Author: Gregory Nutt <gnutt@nuttx.org>\012\000"
	.align	2
.LC14:
	.ascii	" * Redistribution and use in source and binary form"
	.ascii	"s, with or without\012\000"
	.align	2
.LC15:
	.ascii	" * modification, are permitted provided that the fo"
	.ascii	"llowing conditions\012\000"
	.align	2
.LC16:
	.ascii	" * are met:\012\000"
	.align	2
.LC17:
	.ascii	" * 1. Redistributions of source code must retain th"
	.ascii	"e above copyright\012\000"
	.align	2
.LC18:
	.ascii	" *    notice, this list of conditions and the follo"
	.ascii	"wing disclaimer.\012\000"
	.align	2
.LC19:
	.ascii	" * 2. Redistributions in binary form must reproduce"
	.ascii	" the above copyright\012\000"
	.align	2
.LC20:
	.ascii	" *    notice, this list of conditions and the follo"
	.ascii	"wing disclaimer in\012\000"
	.align	2
.LC21:
	.ascii	" *    the documentation and/or other materials prov"
	.ascii	"ided with the\012\000"
	.align	2
.LC22:
	.ascii	" *    distribution.\012\000"
	.align	2
.LC23:
	.ascii	" * 3. Neither the name NuttX nor the names of its c"
	.ascii	"ontributors may be\012\000"
	.align	2
.LC24:
	.ascii	" *    used to endorse or promote products derived f"
	.ascii	"rom this software\012\000"
	.align	2
.LC25:
	.ascii	" *    without specific prior written permission.\012"
	.ascii	"\000"
	.align	2
.LC26:
	.ascii	" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDE"
	.ascii	"RS AND CONTRIBUTORS\012\000"
	.align	2
.LC27:
	.ascii	" * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,"
	.ascii	" INCLUDING, BUT NOT\012\000"
	.align	2
.LC28:
	.ascii	" * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTAB"
	.ascii	"ILITY AND FITNESS\012\000"
	.align	2
.LC29:
	.ascii	" * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO E"
	.ascii	"VENT SHALL THE\012\000"
	.align	2
.LC30:
	.ascii	" * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR AN"
	.ascii	"Y DIRECT, INDIRECT,\012\000"
	.align	2
.LC31:
	.ascii	" * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL"
	.ascii	" DAMAGES (INCLUDING,\012\000"
	.align	2
.LC32:
	.ascii	" * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GO"
	.ascii	"ODS OR SERVICES; LOSS\012\000"
	.align	2
.LC33:
	.ascii	" * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTI"
	.ascii	"ON) HOWEVER CAUSED\012\000"
	.align	2
.LC34:
	.ascii	" * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTR"
	.ascii	"ACT, STRICT\012\000"
	.align	2
.LC35:
	.ascii	" * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHE"
	.ascii	"RWISE) ARISING IN\012\000"
	.align	2
.LC36:
	.ascii	" * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF"
	.ascii	" ADVISED OF THE\012\000"
	.align	2
.LC37:
	.ascii	" * POSSIBILITY OF SUCH DAMAGE.\012\000"
	.align	2
.LC38:
	.ascii	" %s/\012\012\000"
	.align	2
.LC39:
	.ascii	" * Included Files\012\000"
	.align	2
.LC40:
	.ascii	"#include <nuttx/config.h>\012\012\000"
	.align	2
.LC41:
	.ascii	"#include <stdint.h>\012\012\000"
	.align	2
.LC42:
	.ascii	" * Private Data\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_outfile, %function
init_outfile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+12
	ldr	r2, [r2]
	ldr	r1, .L26+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L26+20
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #59
	mov	r1, #1
	ldr	r0, .L26+24
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L26+28
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L26+20
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L26+32
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L26+36
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L26+40
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L26+20
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L26+44
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #68
	mov	r1, #1
	ldr	r0, .L26+48
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #72
	mov	r1, #1
	ldr	r0, .L26+52
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L26+56
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #65
	mov	r1, #1
	ldr	r0, .L26+60
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L26+64
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L26+68
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L26+72
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L26+76
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L26+20
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L26+80
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L26+84
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L26+88
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #66
	mov	r1, #1
	ldr	r0, .L26+92
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L26+96
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #72
	mov	r1, #1
	ldr	r0, .L26+100
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L26+104
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, #1
	ldr	r0, .L26+108
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #63
	mov	r1, #1
	ldr	r0, .L26+112
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L26+116
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L26+120
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L26+124
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L26+20
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+128
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L26+132
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+128
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L26+136
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L26+140
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L26+144
	bl	fwrite
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+4
	ldr	r1, .L26+128
	mov	r0, r3
	bl	fprintf
	nop
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	g_outstream
	.word	g_delim
	.word	.LC9
	.word	g_outname
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	init_outfile, .-init_outfile
	.section	.rodata
	.align	2
.LC43:
	.ascii	"/tmp/gencromfs-%06u\000"
	.align	2
.LC44:
	.ascii	"w+\000"
	.align	2
.LC45:
	.ascii	"fopen for tmp file %s failed: %s\012\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_tmpfile, %function
open_tmpfile:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L32+4
	ldr	r3, [r3]
	sub	r0, fp, #48
	ldr	r2, .L32+8
	mov	r1, #32
	bl	snprintf
	ldr	r3, .L32+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L32+4
	str	r3, [r2]
	sub	r3, fp, #48
	ldr	r1, .L32+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L32+16
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #48
	ldr	r1, .L32+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L29:
	ldr	r3, [fp, #-52]
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC46
	.word	g_ntmps
	.word	.LC43
	.word	.LC44
	.word	stderr
	.word	.LC45
	.size	open_tmpfile, .-open_tmpfile
	.section	.rodata
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unlink_tmpfiles, %function
unlink_tmpfiles:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L35
.L36:
	sub	r0, fp, #40
	ldr	r3, [fp, #-44]
	ldr	r2, .L38+4
	mov	r1, #32
	bl	snprintf
	sub	r3, fp, #40
	mov	r0, r3
	bl	unlink
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L35:
	ldr	r3, .L38+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bcc	.L36
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC47
	.word	.LC43
	.word	g_ntmps
	.size	unlink_tmpfiles, .-unlink_tmpfiles
	.section	.rodata
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_tmpfile, %function
append_tmpfile:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	str	r1, [fp, #-1044]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-1044]
	bl	rewind
.L42:
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1044]
	mov	r2, #1024
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	beq	.L41
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-1040]
	ldr	r2, [fp, #-1036]
	mov	r1, #1
	bl	fwrite
.L41:
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L42
	ldr	r0, [fp, #-1044]
	bl	fclose
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC48
	.size	append_tmpfile, .-append_tmpfile
	.section	.rodata
	.align	2
.LC49:
	.ascii	" 0x%02x,\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_hexbuffer, %function
dump_hexbuffer:
	@ 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]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L47
.L51:
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L48
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L49
.L48:
	ldr	r1, [fp, #-16]
	mov	r0, #32
	bl	fputc
.L49:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L52+4
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, .L52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52
	str	r3, [r2]
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #15
	bls	.L50
	ldr	r1, [fp, #-16]
	mov	r0, #10
	bl	fputc
	ldr	r3, .L52
	mov	r2, #0
	str	r2, [r3]
.L50:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L47:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L51
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	g_nhex
	.word	.LC49
	.size	dump_hexbuffer, .-dump_hexbuffer
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_nextline, %function
dump_nextline:
	@ 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]
	ldr	r3, .L57
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	ldr	r1, [fp, #-8]
	mov	r0, #10
	bl	fputc
	ldr	r3, .L57
	mov	r2, #0
	str	r2, [r3]
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	g_nhex
	.size	dump_nextline, .-dump_nextline
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lzf_compress, %function
lzf_compress:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	add	r3, r3, #7
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	add	r3, r3, #512
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L60
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L61
.L60:
	mov	r2, #32768
	mov	r1, #0
	ldr	r0, .L117
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-56]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-40]
	b	.L62
.L92:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #8
	ldr	r2, [fp, #-56]
	add	r2, r2, #2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-40]
	eor	r3, r3, r2
	lsr	r1, r3, #11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r3, r1, r3
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #2
	ldr	r2, .L117
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bcs	.L63
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #8192
	bcs	.L63
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bls	.L63
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-56]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L63
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r1, [fp, #-56]
	ldrb	r1, [r1]	@ zero_extendqisi2
	orr	r3, r3, r1
	cmp	r2, r3
	bne	.L63
	mov	r3, #2
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #264
	movcc	r3, r3
	movcs	r3, #264
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L64
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L65
	mov	r3, #3
	b	.L66
.L65:
	mov	r3, #4
.L66:
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L64
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L61
.L64:
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-36]
	mvn	r3, r3
	ldr	r1, [fp, #-52]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	bls	.L85
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L99
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L100
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L101
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L102
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L103
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L105
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L106
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L107
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L108
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L109
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L110
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L111
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L112
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L113
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L114
.L85:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcs	.L115
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L85
	b	.L115
.L99:
	nop
	b	.L69
.L100:
	nop
	b	.L69
.L101:
	nop
	b	.L69
.L102:
	nop
	b	.L69
.L103:
	nop
	b	.L69
.L104:
	nop
	b	.L69
.L105:
	nop
	b	.L69
.L106:
	nop
	b	.L69
.L107:
	nop
	b	.L69
.L108:
	nop
	b	.L69
.L109:
	nop
	b	.L69
.L110:
	nop
	b	.L69
.L111:
	nop
	b	.L69
.L112:
	nop
	b	.L69
.L113:
	nop
	b	.L69
.L114:
	nop
	b	.L69
.L115:
	nop
.L69:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-32]
	cmp	r3, #6
	bhi	.L86
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #8
	and	r1, r3, #255
	ldr	r3, [fp, #-32]
	and	r3, r3, #255
	lsl	r3, r3, #5
	and	r2, r3, #255
	ldr	r3, [fp, #-52]
	add	r0, r3, #1
	str	r0, [fp, #-52]
	add	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L87
.L86:
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	and	r2, r3, #255
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	sub	r2, r2, #7
	and	r2, r2, #255
	strb	r2, [r3]
.L87:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bcs	.L116
	ldr	r3, [fp, #-32]
	mvn	r3, r3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L90:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #8
	ldr	r2, [fp, #-56]
	add	r2, r2, #2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-40]
	eor	r3, r3, r2
	lsr	r1, r3, #11
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r3, r1, r3
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	ldr	r1, .L117
	ldr	r2, [fp, #-56]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-32]
	sub	r2, r3, #1
	str	r2, [fp, #-32]
	cmp	r3, #0
	bne	.L90
	b	.L62
.L63:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L91
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L61
.L91:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	add	r3, r2, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	cmp	r3, #32
	bne	.L62
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-36]
	mvn	r3, r3
	ldr	r1, [fp, #-52]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L62:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bcc	.L92
	b	.L89
.L116:
	nop
.L89:
	ldr	r3, [fp, #-52]
	add	r3, r3, #3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bcs	.L94
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L61
.L95:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	add	r3, r2, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	cmp	r3, #32
	bne	.L94
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-36]
	mvn	r3, r3
	ldr	r1, [fp, #-52]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L94:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bcc	.L95
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-36]
	mvn	r3, r3
	ldr	r1, [fp, #-52]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-72]
	add	r3, r3, #7
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-48]
.L61:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L96
	ldr	r3, [fp, #-72]
	mov	r2, #90
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	mov	r2, #86
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-72]
	mov	r2, #1
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-48]
	asr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-48]
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-68]
	lsr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #5]
	ldr	r3, [fp, #-68]
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #6]
	ldr	r3, [fp, #-48]
	add	r3, r3, #7
	str	r3, [fp, #-44]
	b	.L97
.L96:
	ldr	r3, [fp, #-72]
	mov	r2, #90
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	mov	r2, #86
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-72]
	mov	r2, #0
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-68]
	lsr	r3, r3, #8
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-68]
	and	r2, r3, #255
	ldr	r3, [fp, #-72]
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-72]
	add	r3, r3, #5
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-68]
	add	r3, r3, #5
	str	r3, [fp, #-44]
.L97:
	ldr	r3, [fp, #-44]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	g_lzf_hashtab
	.size	lzf_compress, .-lzf_compress
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mode, %function
get_mode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L120
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L120:
	ldr	r3, [fp, #-16]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L121
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #4
	strh	r3, [fp, #-6]	@ movhi
.L121:
	ldr	r3, [fp, #-16]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L122
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #8
	strh	r3, [fp, #-6]	@ movhi
.L122:
	ldr	r3, [fp, #-16]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L123
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #32
	strh	r3, [fp, #-6]	@ movhi
.L123:
	ldr	r3, [fp, #-16]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L124
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #64
	strh	r3, [fp, #-6]	@ movhi
.L124:
	ldr	r3, [fp, #-16]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L125
	ldrh	r3, [fp, #-6]	@ movhi
	orr	r3, r3, #256
	strh	r3, [fp, #-6]	@ movhi
.L125:
	ldrh	r3, [fp, #-6]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get_mode, .-get_mode
	.section	.rodata
	.align	2
.LC50:
	.ascii	"\012  /* Offset %6lu:  Hard link %s */\012\012\000"
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_dirlink, %function
gen_dirlink:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, r2
	strb	r3, [fp, #-45]
	ldr	r3, .L131
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, .L131+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	dump_nextline
	ldr	r3, .L131+4
	ldr	r0, [r3]
	ldr	r3, .L131+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, .L131+12
	bl	fprintf
	ldr	r3, .L131+16
	strh	r3, [fp, #-28]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-26]	@ movhi
	ldr	r3, .L131+8
	ldr	r3, [r3]
	add	r3, r3, #20
	ldr	r2, .L131+8
	str	r3, [r2]
	ldr	r3, .L131+8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L131+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, .L131+8
	str	r3, [r2]
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L128
	mov	r3, #0
	b	.L129
.L128:
	ldr	r3, .L131+8
	ldr	r3, [r3]
.L129:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-12]
	ldr	r3, .L131+4
	ldr	r3, [r3]
	sub	r1, fp, #28
	mov	r2, #20
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L131+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L131+20
	str	r3, [r2]
	nop
	ldr	r3, .L131
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L132:
	.align	2
.L131:
	.word	.LC51
	.word	g_tmpstream
	.word	g_offset
	.word	.LC50
	.word	-28307
	.word	g_nnodes
	.size	gen_dirlink, .-gen_dirlink
	.section	.rodata
	.align	2
.LC52:
	.ascii	".\000"
	.align	2
.LC53:
	.ascii	"..\000"
	.align	2
.LC54:
	.ascii	"\012  /* Offset %6lu:  Directory %s */\012\012\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_directory, %function
gen_directory:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	strb	r3, [fp, #-73]
	ldr	r3, .L138
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L138+4
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	ldr	r3, .L138+8
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r3, .L138+12
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, .L138+16
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r0, [fp, #-68]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-40]
	bl	open_tmpfile
	str	r0, [fp, #-36]
	ldr	r2, .L138+16
	ldr	r3, [fp, #-36]
	str	r3, [r2]
	ldr	r2, [fp, #-40]
	ldr	r3, .L138+4
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #20
	ldr	r2, .L138+4
	str	r3, [r2]
	ldr	r3, .L138+8
	ldr	r3, [r3]
	ldr	r2, .L138+12
	str	r3, [r2]
	ldr	r3, .L138+4
	ldr	r3, [r3]
	ldr	r2, .L138+8
	str	r3, [r2]
	mov	r2, #0
	ldr	r1, .L138+20
	ldr	r0, [fp, #-64]
	bl	traverse_directory
	str	r0, [fp, #-32]
	ldr	r3, .L138+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, .L138+24
	bl	gen_dirlink
	ldr	r3, .L138+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r0, .L138+28
	bl	gen_dirlink
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L134
	mov	r2, #0
	ldr	r1, .L138+32
	ldr	r0, [fp, #-64]
	bl	traverse_directory
.L134:
	ldr	r2, .L138+16
	ldr	r3, [fp, #-44]
	str	r3, [r2]
	ldr	r2, .L138+8
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	ldr	r2, .L138+12
	ldr	r3, [fp, #-48]
	str	r3, [r2]
	ldr	r3, .L138+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	dump_nextline
	ldr	r3, .L138+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-56]
	ldr	r1, .L138+36
	bl	fprintf
	ldr	r0, [fp, #-72]
	bl	get_mode
	mov	r3, r0
	orr	r3, r3, #4096
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-26]	@ movhi
	ldr	r3, [fp, #-56]
	add	r3, r3, #20
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L135
	mov	r3, #0
	b	.L136
.L135:
	ldr	r3, .L138+4
	ldr	r3, [r3]
.L136:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-12]
	ldr	r3, .L138+16
	ldr	r3, [r3]
	sub	r1, fp, #28
	mov	r2, #20
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L138+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L138+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L138+40
	str	r3, [r2]
	ldr	r3, .L138+16
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	append_tmpfile
	nop
	ldr	r3, .L138
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L137
	bl	__stack_chk_fail
.L137:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L139:
	.align	2
.L138:
	.word	.LC55
	.word	g_offset
	.word	g_diroffset
	.word	g_parent_offset
	.word	g_tmpstream
	.word	dir_notempty
	.word	.LC52
	.word	.LC53
	.word	process_direntry
	.word	.LC54
	.word	g_nnodes
	.size	gen_directory, .-gen_directory
	.section	.rodata
	.align	2
.LC56:
	.ascii	"r\000"
	.align	2
.LC57:
	.ascii	"fopen for source file %s failed: %s\012\000"
	.align	2
.LC58:
	.ascii	"\012  /* Offset %6lu:  Block %u blklen=%lu Uncompre"
	.ascii	"ssed=%lu Compressed=%u */\012\012\000"
	.align	2
.LC59:
	.ascii	"\012  /* Offset %6lu:  File %s:  Uncompressed=%lu C"
	.ascii	"ompressed=%lu */\012\012\000"
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_file, %function
gen_file:
	@ args = 0, pretend = 0, frame = 1136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1152
	sub	sp, sp, #4
	str	r0, [fp, #-1136]
	str	r1, [fp, #-1140]
	str	r2, [fp, #-1144]
	strb	r3, [fp, #-1145]
	ldr	r3, .L149
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L149+4
	ldr	r3, [r3]
	str	r3, [fp, #-1112]
	ldr	r3, .L149+8
	ldr	r3, [r3]
	str	r3, [fp, #-1108]
	ldr	r0, [fp, #-1140]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-1104]
	bl	open_tmpfile
	str	r0, [fp, #-1100]
	ldr	r2, .L149+8
	ldr	r3, [fp, #-1100]
	str	r3, [r2]
	ldr	r2, [fp, #-1104]
	ldr	r3, [fp, #-1112]
	add	r3, r2, r3
	add	r3, r3, #20
	ldr	r2, .L149+4
	str	r3, [r2]
	ldr	r1, .L149+12
	ldr	r0, [fp, #-1136]
	bl	fopen
	str	r0, [fp, #-1096]
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	bne	.L141
	ldr	r3, .L149+16
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-1136]
	ldr	r1, .L149+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L141:
	mov	r3, #0
	str	r3, [fp, #-1116]
	mov	r3, #0
	str	r3, [fp, #-1124]
	mov	r3, #0
	str	r3, [fp, #-1120]
.L145:
	sub	r0, fp, #528
	ldr	r3, [fp, #-1096]
	mov	r2, #512
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	beq	.L142
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r0, fp, #528
	mov	r2, r3
	ldr	r1, [fp, #-1092]
	bl	lzf_compress
	str	r0, [fp, #-1088]
	ldrb	r3, [fp, #-1062]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L143
	sub	r3, fp, #12
	sub	r3, r3, #1104
	sub	r3, r3, #10
	ldr	r2, [fp, #-1092]
	strh	r2, [r3]	@ movhi
	b	.L144
.L143:
	ldrb	r3, [fp, #-1061]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrb	r3, [fp, #-1060]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #1104
	sub	r3, r3, #10
	strh	r2, [r3]	@ movhi
.L144:
	ldr	r3, .L149+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	dump_nextline
	ldr	r3, .L149+8
	ldr	r0, [r3]
	ldr	r3, .L149+4
	ldr	ip, [r3]
	ldr	r2, [fp, #-1088]
	ldr	r1, [fp, #-1092]
	sub	r3, fp, #12
	sub	r3, r3, #1104
	sub	r3, r3, #10
	ldrh	r3, [r3]
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	ldr	r3, [fp, #-1116]
	mov	r2, ip
	ldr	r1, .L149+24
	bl	fprintf
	ldr	r3, .L149+8
	ldr	r0, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [fp, #-1088]
	mov	r1, r3
	bl	dump_hexbuffer
	ldr	r2, [fp, #-1124]
	ldr	r3, [fp, #-1092]
	add	r3, r2, r3
	str	r3, [fp, #-1124]
	ldr	r2, [fp, #-1120]
	ldr	r3, [fp, #-1088]
	add	r3, r2, r3
	str	r3, [fp, #-1120]
	ldr	r3, .L149+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1088]
	add	r3, r2, r3
	ldr	r2, .L149+4
	str	r3, [r2]
	ldr	r3, .L149+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L149+28
	str	r3, [r2]
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	str	r3, [fp, #-1116]
.L142:
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bne	.L145
	ldr	r2, .L149+8
	ldr	r3, [fp, #-1108]
	str	r3, [r2]
	ldr	r3, .L149+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	dump_nextline
	ldr	r3, .L149+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-1120]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1124]
	str	r3, [sp]
	ldr	r3, [fp, #-1136]
	ldr	r2, [fp, #-1112]
	ldr	r1, .L149+32
	bl	fprintf
	ldr	r0, [fp, #-1144]
	bl	get_mode
	mov	r3, r0
	orr	r3, r3, #8192
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #1072
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #1072
	mov	r2, #0
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1112]
	add	r3, r3, #20
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1112]
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1124]
	str	r3, [fp, #-1076]
	ldr	r3, [fp, #-1104]
	ldr	r2, [fp, #-1112]
	add	r3, r2, r3
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1112]
	str	r3, [fp, #-1068]
	ldr	r2, [fp, #-1112]
	ldr	r3, [fp, #-1120]
	add	r3, r2, r3
	str	r3, [fp, #-1112]
	ldrb	r3, [fp, #-1145]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L146
	mov	r3, #0
	b	.L147
.L146:
	ldr	r3, [fp, #-1112]
.L147:
	str	r3, [fp, #-1072]
	ldr	r3, .L149+8
	ldr	r3, [r3]
	sub	r1, fp, #1072
	sub	r1, r1, #12
	mov	r2, #20
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L149+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-1104]
	ldr	r1, [fp, #-1140]
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L149+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L149+36
	str	r3, [r2]
	ldr	r3, .L149+8
	ldr	r3, [r3]
	ldr	r1, [fp, #-1100]
	mov	r0, r3
	bl	append_tmpfile
	nop
	ldr	r3, .L149
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L148
	bl	__stack_chk_fail
.L148:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L150:
	.align	2
.L149:
	.word	.LC60
	.word	g_offset
	.word	g_tmpstream
	.word	.LC56
	.word	stderr
	.word	.LC57
	.word	.LC58
	.word	g_nblocks
	.word	.LC59
	.word	g_nnodes
	.size	gen_file, .-gen_file
	.section	.rodata
	.align	2
.LC61:
	.ascii	"%s/%s\000"
	.align	2
.LC62:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dir_notempty, %function
dir_notempty:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	strb	r3, [fp, #-137]
	ldr	r3, .L158
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r0, fp, #120
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-128]
	ldr	r1, .L158+4
	bl	asprintf
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-120]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stat
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L152
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, .L158+8
	ldr	r4, [r3]
	ldr	r5, [fp, #-120]
	ldr	r0, [fp, #-112]
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L158+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L152:
	ldr	r3, [fp, #-120]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #32768
	beq	.L153
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L154
.L153:
	mov	r3, #1
	b	.L156
.L154:
	mov	r3, #0
.L156:
	ldr	r2, .L158
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L157
	bl	__stack_chk_fail
.L157:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L159:
	.align	2
.L158:
	.word	.LC62
	.word	.LC61
	.word	stderr
	.word	.LC3
	.size	dir_notempty, .-dir_notempty
	.section	.rodata
	.align	2
.LC63:
	.ascii	"ERROR: Directory entry %s does not exist\012\000"
	.align	2
.LC64:
	.ascii	"Omitting entry %s\012\000"
	.align	2
.LC65:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_direntry, %function
process_direntry:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	strb	r3, [fp, #-137]
	ldr	r3, .L169
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r0, fp, #120
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-128]
	ldr	r1, .L169+4
	bl	asprintf
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-120]
	sub	r2, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	stat
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L161
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	bne	.L162
	ldr	r3, .L169+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	ldr	r1, .L169+12
	mov	r0, r3
	bl	fprintf
	b	.L163
.L162:
	ldr	r3, .L169+8
	ldr	r4, [r3]
	ldr	r5, [fp, #-120]
	ldr	r0, [fp, #-112]
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L169+16
	mov	r0, r4
	bl	fprintf
.L163:
	bl	show_usage
	b	.L164
.L161:
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L165
	ldr	r0, [fp, #-120]
	ldr	r2, [fp, #-92]
	ldrb	r3, [fp, #-137]	@ zero_extendqisi2
	ldr	r1, [fp, #-132]
	bl	gen_directory
	b	.L164
.L165:
	ldr	r3, [fp, #-92]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L166
	ldr	r0, [fp, #-120]
	ldr	r2, [fp, #-92]
	ldrb	r3, [fp, #-137]	@ zero_extendqisi2
	ldr	r1, [fp, #-132]
	bl	gen_file
	b	.L164
.L166:
	ldr	r3, .L169+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	ldr	r1, .L169+20
	mov	r0, r3
	bl	fprintf
.L164:
	ldr	r3, [fp, #-120]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L169
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L168
	bl	__stack_chk_fail
.L168:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L170:
	.align	2
.L169:
	.word	.LC65
	.word	.LC61
	.word	stderr
	.word	.LC63
	.word	.LC3
	.word	.LC64
	.size	process_direntry, .-process_direntry
	.section	.rodata
	.align	2
.LC66:
	.ascii	"ERROR: opendir(%s) failed: %s\012\000"
	.align	2
.LC67:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse_directory, %function
traverse_directory:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #292
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	str	r2, [fp, #-296]
	ldr	r3, .L179
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-280]
	ldr	r0, [fp, #-288]
	bl	opendir
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L172
	ldr	r3, .L179+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-288]
	ldr	r1, .L179+8
	mov	r0, r4
	bl	fprintf
	bl	show_usage
.L172:
	ldr	r0, [fp, #-276]
	bl	readdir
	str	r0, [fp, #-284]
	b	.L173
.L175:
	ldr	r3, [fp, #-284]
	add	r1, r3, #11
	sub	r3, fp, #272
	mov	r2, #256
	mov	r0, r3
	bl	strncpy
	ldr	r0, [fp, #-276]
	bl	readdir
	str	r0, [fp, #-284]
	sub	r3, fp, #272
	ldr	r1, .L179+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L173
	sub	r3, fp, #272
	ldr	r1, .L179+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L173
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	sub	r1, fp, #272
	ldr	r4, [fp, #-292]
	ldr	r2, [fp, #-296]
	ldr	r0, [fp, #-288]
	blx	r4
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L178
.L173:
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L175
	b	.L174
.L178:
	nop
.L174:
	ldr	r0, [fp, #-276]
	bl	closedir
	ldr	r3, [fp, #-280]
	ldr	r2, .L179
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L177
	bl	__stack_chk_fail
.L177:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L180:
	.align	2
.L179:
	.word	.LC67
	.word	stderr
	.word	.LC66
	.word	.LC52
	.word	.LC53
	.size	traverse_directory, .-traverse_directory
	.section	.rodata
	.align	2
.LC68:
	.ascii	"Unexpected number of arguments\012\000"
	.align	2
.LC69:
	.ascii	"w\000"
	.align	2
.LC70:
	.ascii	"open %s failed: %s\012\000"
	.align	2
.LC71:
	.ascii	"/* CROMFS image */\012\012\000"
	.align	2
.LC72:
	.ascii	"const uint8_t g_cromfs_image[] =\012\000"
	.align	2
.LC73:
	.ascii	"{\012\000"
	.align	2
.LC74:
	.ascii	"\012  /* Offset %6lu:  Volume header */\012\012\000"
	.align	2
.LC75:
	.ascii	"\012  /* Offset %6lu:  Root directory */\012\000"
	.align	2
.LC76:
	.ascii	"\012};\012\000"
	.align	2
.LC77:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L189
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L182
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	b	.L183
.L182:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
.L183:
	ldr	r2, .L189+4
	str	r3, [r2]
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L184
	ldr	r3, .L189+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L189+12
	bl	fwrite
	bl	show_usage
.L184:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #4]
	ldr	r2, .L189+16
	str	r3, [r2]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	ldr	r2, .L189+20
	str	r3, [r2]
	bl	verify_directory
	bl	verify_outfile
	ldr	r3, .L189+20
	ldr	r3, [r3]
	ldr	r1, .L189+24
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L189+28
	str	r3, [r2]
	ldr	r3, .L189+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L185
	ldr	r3, .L189+8
	ldr	r4, [r3]
	ldr	r3, .L189+20
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L189+32
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L185:
	bl	open_tmpfile
	mov	r3, r0
	ldr	r2, .L189+36
	str	r3, [r2]
	bl	init_outfile
	ldr	r3, .L189+40
	mov	r2, #20
	str	r2, [r3]
	ldr	r3, .L189+44
	mov	r2, #20
	str	r2, [r3]
	ldr	r3, .L189+48
	mov	r2, #20
	str	r2, [r3]
	ldr	r3, .L189+16
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L189+52
	mov	r0, r3
	bl	traverse_directory
	str	r0, [fp, #-40]
	ldr	r3, .L189+44
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r0, .L189+56
	bl	gen_dirlink
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L186
	ldr	r3, .L189+16
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L189+60
	mov	r0, r3
	bl	traverse_directory
.L186:
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L189+64
	bl	fwrite
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L189+68
	bl	fwrite
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L189+72
	bl	fwrite
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L189+76
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L189+80
	str	r3, [fp, #-36]
	ldr	r3, .L189+84
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-32]	@ movhi
	ldr	r3, .L189+88
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #20
	str	r3, [fp, #-28]
	ldr	r3, .L189+40
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3, #512
	str	r3, [fp, #-20]
	ldr	r3, .L189+92
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L189+28
	ldr	r3, [r3]
	sub	r1, fp, #36
	mov	r2, #20
	mov	r0, r3
	bl	dump_hexbuffer
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	dump_nextline
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #20
	ldr	r1, .L189+96
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L189+28
	ldr	r3, [r3]
	ldr	r2, .L189+36
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	append_tmpfile
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L189+100
	bl	fwrite
	ldr	r3, .L189+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	bl	unlink_tmpfiles
	mov	r3, #0
	ldr	r2, .L189
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L188
	bl	__stack_chk_fail
.L188:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L190:
	.align	2
.L189:
	.word	.LC77
	.word	g_progname
	.word	stderr
	.word	.LC68
	.word	g_dirname
	.word	g_outname
	.word	.LC69
	.word	g_outstream
	.word	.LC70
	.word	g_tmpstream
	.word	g_offset
	.word	g_diroffset
	.word	g_parent_offset
	.word	dir_notempty
	.word	.LC52
	.word	process_direntry
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	1297044035
	.word	g_nnodes
	.word	g_nblocks
	.word	g_nhex
	.word	.LC75
	.word	.LC76
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
