	.file	"767608.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
	.text
	.globl	Error
	.type	Error, @function
Error:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	QWORD PTR -216[rbp], rdi
	mov	DWORD PTR -220[rbp], esi
	mov	DWORD PTR -224[rbp], edx
	mov	QWORD PTR -232[rbp], rcx
	mov	QWORD PTR -240[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 40
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	vprintf@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Error, .-Error
	.section	.rodata
.LC1:
	.string	"EfiLdrImage"
.LC2:
	.string	"%s Version %d.%d\n"
	.text
	.globl	Version
	.type	Version, @function
Version:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, 0
	mov	edx, 1
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Version, .-Version
	.section	.rodata
	.align 8
.LC3:
	.string	"Usage: EfiLdrImage -o OutImage LoaderImage PeImage1 PeImage2 ... PeImageN"
	.align 8
.LC4:
	.string	"Copyright (c) 1999-2017 Intel Corporation. All rights reserved."
	.align 8
.LC5:
	.string	"\n  The EfiLdrImage tool is used to combine PE files into EFILDR image with Efi loader header."
	.text
	.globl	Usage
	.type	Usage, @function
Usage:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	ecx, 0
	mov	edx, 1
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Usage, .-Usage
	.globl	CountVerboseLevel
	.type	CountVerboseLevel, @function
CountVerboseLevel:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	jmp	.L7
.L10:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	je	.L8
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 86
	je	.L8
	mov	eax, -1
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L10
	mov	eax, 0
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	CountVerboseLevel, .-CountVerboseLevel
	.globl	FCopyFile
	.type	FCopyFile, @function
FCopyFile:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -8232[rbp], rdi
	mov	QWORD PTR -8240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8232[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -8232[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -8216[rbp], eax
	mov	rax, QWORD PTR -8232[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -8224[rbp], 0
	jmp	.L12
.L15:
	mov	DWORD PTR -8220[rbp], 8192
	mov	eax, DWORD PTR -8216[rbp]
	sub	eax, DWORD PTR -8224[rbp]
	cmp	DWORD PTR -8220[rbp], eax
	jbe	.L13
	mov	eax, DWORD PTR -8216[rbp]
	sub	eax, DWORD PTR -8224[rbp]
	mov	DWORD PTR -8220[rbp], eax
.L13:
	mov	esi, DWORD PTR -8220[rbp]
	mov	rdx, QWORD PTR -8232[rbp]
	lea	rax, -8208[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], 0
	jns	.L14
	call	abort@PLT
.L14:
	mov	esi, DWORD PTR -8220[rbp]
	mov	rdx, QWORD PTR -8240[rbp]
	lea	rax, -8208[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -8220[rbp]
	add	DWORD PTR -8224[rbp], eax
.L12:
	mov	eax, DWORD PTR -8224[rbp]
	cmp	eax, DWORD PTR -8216[rbp]
	jb	.L15
	mov	eax, DWORD PTR -8216[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	FCopyFile, .-FCopyFile
	.section	.rodata
.LC6:
	.string	"-h"
.LC7:
	.string	"--help"
.LC8:
	.string	"--version"
.LC9:
	.string	"-o"
.LC10:
	.string	"--output"
.LC11:
	.string	"Output file can't be null"
.LC12:
	.string	"Invalid option value"
.LC13:
	.string	"-q"
.LC14:
	.string	"--quiet"
.LC15:
	.string	"--verbose"
.LC16:
	.string	"%s"
.LC17:
	.string	"-d"
.LC18:
	.string	"--debug"
.LC19:
	.string	"No input file"
.LC20:
	.string	"Missing option"
.LC21:
	.string	"No output file"
.LC22:
	.string	"w+b"
.LC23:
	.string	"Could not open output file"
.LC24:
	.string	"rb"
.LC25:
	.string	"Could not open input file"
.LC26:
	.string	"Created %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 576
	mov	DWORD PTR -4660[rbp], edi
	mov	QWORD PTR -4672[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4624[rbp], 0
	mov	BYTE PTR -4645[rbp], 0
	mov	QWORD PTR -4608[rbp], 0
	mov	QWORD PTR -4640[rbp], 0
	mov	DWORD PTR -4644[rbp], 0
	cmp	DWORD PTR -4660[rbp], 1
	jne	.L19
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L46
.L19:
	sub	DWORD PTR -4660[rbp], 1
	add	QWORD PTR -4672[rbp], 8
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
.L21:
	call	Usage
	mov	eax, 0
	jmp	.L46
.L22:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	call	Version
	mov	eax, 0
	jmp	.L46
.L36:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
.L25:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -4624[rbp], rax
	cmp	QWORD PTR -4624[rbp], 0
	jne	.L27
	lea	r8, .LC11[rip]
	lea	rcx, .LC12[rip]
	mov	edx, 1003
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	eax, 1
	jmp	.L46
.L27:
	sub	DWORD PTR -4660[rbp], 2
	add	QWORD PTR -4672[rbp], 16
	jmp	.L24
.L26:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
.L28:
	sub	DWORD PTR -4660[rbp], 1
	add	QWORD PTR -4672[rbp], 8
	jmp	.L24
.L29:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L30
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L30
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	je	.L31
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 86
	je	.L31
.L30:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
.L31:
	mov	QWORD PTR -4640[rbp], 1
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 2
	jbe	.L33
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	lea	rsi, -2[rax]
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 2[rax]
	lea	rax, -4640[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	CountVerboseLevel
	mov	DWORD PTR -4644[rbp], eax
	cmp	DWORD PTR -4644[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r9, rax
	lea	r8, .LC16[rip]
	lea	rcx, .LC12[rip]
	mov	edx, 1003
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	eax, 1
	jmp	.L46
.L33:
	sub	DWORD PTR -4660[rbp], 1
	add	QWORD PTR -4672[rbp], 8
	jmp	.L24
.L32:
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L34
	mov	rax, QWORD PTR -4672[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
.L34:
	mov	rax, QWORD PTR -4672[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoull@PLT
	mov	QWORD PTR -4608[rbp], rax
	sub	DWORD PTR -4660[rbp], 2
	add	QWORD PTR -4672[rbp], 16
	jmp	.L24
.L35:
	movzx	ecx, BYTE PTR -4645[rbp]
	mov	rax, QWORD PTR -4672[rbp]
	mov	rdx, QWORD PTR [rax]
	movsx	rax, ecx
	mov	QWORD PTR -4560[rbp+rax*8], rdx
	movzx	eax, BYTE PTR -4645[rbp]
	add	eax, 1
	mov	BYTE PTR -4645[rbp], al
	sub	DWORD PTR -4660[rbp], 1
	add	QWORD PTR -4672[rbp], 8
.L24:
	cmp	DWORD PTR -4660[rbp], 0
	jg	.L36
	cmp	BYTE PTR -4645[rbp], 0
	jne	.L37
	lea	r8, .LC19[rip]
	lea	rcx, .LC20[rip]
	mov	edx, 1001
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	eax, 1
	jmp	.L46
.L37:
	cmp	QWORD PTR -4624[rbp], 0
	jne	.L38
	lea	r8, .LC21[rip]
	lea	rcx, .LC20[rip]
	mov	edx, 1001
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	eax, 1
	jmp	.L46
.L38:
	mov	rax, QWORD PTR -4624[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4600[rbp], rax
	cmp	QWORD PTR -4600[rbp], 0
	jne	.L39
	mov	rax, QWORD PTR -4624[rbp]
	mov	r8, rax
	lea	rcx, .LC23[rip]
	mov	edx, 1
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	eax, 1
	jmp	.L46
.L39:
	lea	rax, -4576[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	movzx	eax, BYTE PTR -4645[rbp]
	sal	rax, 6
	mov	rdx, rax
	lea	rax, -4048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -4576[rbp], 1279870533
	movzx	eax, BYTE PTR -4645[rbp]
	sal	eax, 6
	add	eax, 16
	mov	DWORD PTR -4568[rbp], eax
	mov	eax, DWORD PTR -4568[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -4600[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	QWORD PTR -4632[rbp], 0
	jmp	.L40
.L45:
	mov	rax, QWORD PTR -4632[rbp]
	mov	rax, QWORD PTR -4560[rbp+rax*8]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4592[rbp], rax
	cmp	QWORD PTR -4592[rbp], 0
	jne	.L41
	mov	rax, QWORD PTR -4632[rbp]
	mov	rax, QWORD PTR -4560[rbp+rax*8]
	mov	r8, rax
	lea	rcx, .LC25[rip]
	mov	edx, 1
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	Error
	mov	rax, QWORD PTR -4600[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L46
.L41:
	mov	rdx, QWORD PTR -4600[rbp]
	mov	rax, QWORD PTR -4592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	FCopyFile
	mov	QWORD PTR -4584[rbp], rax
	mov	rax, QWORD PTR -4592[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -4568[rbp]
	mov	rdx, QWORD PTR -4632[rbp]
	sal	rdx, 6
	add	rdx, rbp
	sub	rdx, 4044
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -4584[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -4632[rbp]
	sal	rax, 6
	add	rax, rbp
	sub	rax, 4040
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -4632[rbp]
	mov	rax, QWORD PTR -4560[rbp+rax*8]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -4616[rbp], rax
	cmp	QWORD PTR -4616[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR -4632[rbp]
	mov	rax, QWORD PTR -4560[rbp+rax*8]
	mov	esi, 92
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -4616[rbp], rax
	cmp	QWORD PTR -4616[rbp], 0
	jne	.L43
	mov	rax, QWORD PTR -4632[rbp]
	mov	rax, QWORD PTR -4560[rbp+rax*8]
	mov	QWORD PTR -4616[rbp], rax
	jmp	.L44
.L43:
	add	QWORD PTR -4616[rbp], 1
	jmp	.L44
.L42:
	add	QWORD PTR -4616[rbp], 1
.L44:
	lea	rdx, -4048[rbp]
	mov	rax, QWORD PTR -4632[rbp]
	sal	rax, 6
	add	rax, rdx
	lea	rcx, 12[rax]
	mov	rax, QWORD PTR -4616[rbp]
	mov	edx, 51
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	edx, DWORD PTR -4568[rbp]
	mov	rax, QWORD PTR -4584[rbp]
	add	eax, edx
	mov	DWORD PTR -4568[rbp], eax
	mov	eax, DWORD PTR -4564[rbp]
	add	eax, 1
	mov	DWORD PTR -4564[rbp], eax
	add	QWORD PTR -4632[rbp], 1
.L40:
	movzx	eax, BYTE PTR -4645[rbp]
	cmp	QWORD PTR -4632[rbp], rax
	jb	.L45
	mov	rax, QWORD PTR -4600[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -4600[rbp]
	lea	rax, -4576[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fwrite@PLT
	movzx	eax, BYTE PTR -4645[rbp]
	sal	rax, 6
	mov	rsi, rax
	mov	rdx, QWORD PTR -4600[rbp]
	lea	rax, -4048[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -4600[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -4624[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L46:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"767608.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Error
	.syntax unified
	.arm
	.fpu softvfp
	.type	Error, %function
Error:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	vprintf
	ldr	r0, .L3+4
	bl	puts
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC1
	.word	.LC0
	.size	Error, .-Error
	.section	.rodata
	.align	2
.LC2:
	.ascii	"EfiLdrImage\000"
	.align	2
.LC3:
	.ascii	"%s Version %d.%d\012\000"
	.text
	.align	2
	.global	Version
	.syntax unified
	.arm
	.fpu softvfp
	.type	Version, %function
Version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L6
	ldr	r0, .L6+4
	bl	printf
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC3
	.size	Version, .-Version
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Usage: EfiLdrImage -o OutImage LoaderImage PeImage1"
	.ascii	" PeImage2 ... PeImageN\000"
	.align	2
.LC5:
	.ascii	"Copyright (c) 1999-2017 Intel Corporation. All righ"
	.ascii	"ts reserved.\000"
	.align	2
.LC6:
	.ascii	"\012  The EfiLdrImage tool is used to combine PE fi"
	.ascii	"les into EFILDR image with Efi loader header.\000"
	.text
	.align	2
	.global	Usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	Usage, %function
Usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L9
	bl	puts
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	printf
	ldr	r0, .L9+12
	bl	puts
	ldr	r0, .L9+16
	bl	puts
	nop
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.size	Usage, .-Usage
	.align	2
	.global	CountVerboseLevel
	.syntax unified
	.arm
	.fpu softvfp
	.type	CountVerboseLevel, %function
CountVerboseLevel:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, fp}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L12
.L15:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	beq	.L13
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #86
	beq	.L13
	mvn	r3, #0
	b	.L14
.L13:
	ldr	r3, [fp, #4]
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r3, [fp, #4]
	stm	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-28]
	str	r7, [fp, #-24]
.L12:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L15
	mov	r3, #0
.L14:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, fp}
	bx	lr
	.size	CountVerboseLevel, .-CountVerboseLevel
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	FCopyFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	FCopyFile, %function
FCopyFile:
	@ args = 0, pretend = 0, frame = 8224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8192
	sub	sp, sp, #32
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r0, [r3, #-28]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r1, [r3, #-32]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [r3, #-28]
	bl	fseek
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r0, [r3, #-28]
	bl	ftell
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-28]
	bl	fseek
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	b	.L17
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #8192
	str	r3, [r2, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r3, [r3, #-20]
	sub	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #4
	ldr	r2, [r2, #-16]
	cmp	r2, r3
	bls	.L18
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r3, [r3, #-20]
	sub	r3, r2, r3
	str	r3, [r1, #-16]
.L18:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	mov	r1, r2
	sub	r0, fp, #8192
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [r3, #-28]
	mov	r2, #1
	ldr	r1, [r1, #-16]
	bl	fread
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #4
	str	r3, [r2, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bge	.L19
	bl	abort
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #4
	mov	r1, r2
	sub	r0, fp, #8192
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [r3, #-32]
	mov	r2, #1
	ldr	r1, [r1, #-16]
	bl	fwrite
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #-16]
	add	r3, r2, r3
	str	r3, [r1, #-20]
.L17:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #-12]
	cmp	r2, r3
	bcc	.L20
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldr	r3, [r3, #-12]
	mov	r2, r3
	mov	r3, #0
	ldr	r1, .L23
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC7
	.size	FCopyFile, .-FCopyFile
	.section	.rodata
	.align	2
.LC8:
	.ascii	"-h\000"
	.align	2
.LC9:
	.ascii	"--help\000"
	.align	2
.LC10:
	.ascii	"--version\000"
	.align	2
.LC11:
	.ascii	"-o\000"
	.align	2
.LC12:
	.ascii	"--output\000"
	.align	2
.LC13:
	.ascii	"Invalid option value\000"
	.align	2
.LC14:
	.ascii	"Output file can't be null\000"
	.align	2
.LC15:
	.ascii	"-q\000"
	.align	2
.LC16:
	.ascii	"--quiet\000"
	.align	2
.LC17:
	.ascii	"--verbose\000"
	.align	2
.LC18:
	.ascii	"%s\000"
	.align	2
.LC19:
	.ascii	"-d\000"
	.align	2
.LC20:
	.ascii	"--debug\000"
	.align	2
.LC21:
	.ascii	"Missing option\000"
	.align	2
.LC22:
	.ascii	"No input file\000"
	.align	2
.LC23:
	.ascii	"No output file\000"
	.align	2
.LC24:
	.ascii	"w+b\000"
	.align	2
.LC25:
	.ascii	"Could not open output file\000"
	.align	2
.LC26:
	.ascii	"rb\000"
	.align	2
.LC27:
	.ascii	"Could not open input file\000"
	.align	2
.LC28:
	.ascii	"Created %s\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #4352
	sub	sp, sp, #32
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r0, [r3, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r1, [r3, #-280]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-268]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, #0
	strb	r2, [r3, #-269]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-260]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	cmp	r3, #1
	bne	.L26
	ldr	r0, .L55+4
	bl	puts
	mov	r3, #1
	b	.L53
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #1
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #4
	str	r3, [r2, #-280]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
.L28:
	bl	Usage
	mov	r3, #0
	b	.L53
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	bl	Version
	mov	r3, #0
	b	.L53
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3, #4]
	str	r3, [r2, #-268]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-268]
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L55+28
	str	r3, [sp]
	ldr	r3, .L55+32
	ldr	r2, .L55+36
	mov	r1, #0
	mov	r0, #0
	bl	Error
	mov	r3, #1
	b	.L53
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #2
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #8
	str	r3, [r2, #-280]
	b	.L31
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #1
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #4
	str	r3, [r2, #-280]
	b	.L31
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	beq	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #86
	beq	.L38
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
.L38:
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	mov	r1, r3
	mov	r2, #1
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #2
	bls	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	add	r6, r3, #2
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #2
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r7, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #56
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	bl	CountVerboseLevel
	str	r0, [r7, #-260]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	cmp	r3, #0
	beq	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	ldr	r3, .L55+52
	str	r3, [sp]
	ldr	r3, .L55+32
	ldr	r2, .L55+36
	mov	r1, #0
	mov	r0, #0
	bl	Error
	mov	r3, #1
	b	.L53
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #1
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #4
	str	r3, [r2, #-280]
	b	.L31
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	ldr	r3, [r3]
	ldr	r1, .L55+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r6, r3
	mov	r2, #0
	mov	r1, #0
	bl	strtoull
	stmdb	r6, {r0-r1}
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #2
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #8
	str	r3, [r2, #-280]
	b	.L31
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-280]
	ldr	r2, [r2]
	sub	r1, fp, #4096
	sub	r1, r1, #20
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-196]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	add	r3, r3, #1
	strb	r3, [r2, #-269]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	sub	r3, r3, #1
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-280]
	add	r3, r3, #4
	str	r3, [r2, #-280]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-276]
	cmp	r3, #0
	bgt	.L43
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L55+64
	str	r3, [sp]
	ldr	r3, .L55+68
	ldr	r2, .L55+72
	mov	r1, #0
	mov	r0, #0
	bl	Error
	mov	r3, #1
	b	.L53
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-268]
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L55+76
	str	r3, [sp]
	ldr	r3, .L55+68
	ldr	r2, .L55+72
	mov	r1, #0
	mov	r0, #0
	bl	Error
	mov	r3, #1
	b	.L53
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, .L55+80
	ldr	r0, [r3, #-268]
	bl	fopen
	str	r0, [r6, #-256]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-256]
	cmp	r3, #0
	bne	.L46
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-268]
	str	r3, [sp]
	ldr	r3, .L55+84
	mov	r2, #1
	mov	r1, #0
	mov	r0, #0
	bl	Error
	mov	r3, #1
	b	.L53
.L46:
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #20
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	lsl	r2, r3, #6
	sub	r3, fp, #4048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L55+88
	str	r3, [r2, #-212]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	lsl	r3, r3, #6
	add	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-204]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-204]
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, #0
	ldr	r0, [r3, #-256]
	bl	fseek
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L47
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	ldr	r1, .L55+92
	mov	r0, r3
	bl	fopen
	str	r0, [r6, #-252]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-252]
	cmp	r3, #0
	bne	.L48
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	str	r3, [sp]
	ldr	r3, .L55+96
	mov	r2, #1
	mov	r1, #0
	mov	r0, #0
	bl	Error
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-256]
	bl	fclose
	mov	r3, #1
	b	.L53
.L48:
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #32
	mov	r6, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r2, #-256]
	ldr	r0, [r3, #-252]
	bl	FCopyFile
	stm	r6, {r0-r1}
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-252]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r3, #-204]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #6
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-4032]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #32
	ldr	r2, [r3]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #6
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-4028]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	str	r0, [r6, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	cmp	r3, #0
	bne	.L49
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-196]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	mov	r1, #92
	mov	r0, r3
	bl	strrchr
	str	r0, [r6, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	cmp	r3, #0
	bne	.L50
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-196]
	str	r3, [r2, #-264]
	b	.L51
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	add	r3, r3, #1
	str	r3, [r2, #-264]
	b	.L51
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	add	r3, r3, #1
	str	r3, [r2, #-264]
.L51:
	sub	r3, fp, #4048
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #4288
	sub	r2, r2, #20
	sub	r2, r2, #48
	ldr	r2, [r2]
	lsl	r2, r2, #6
	add	r2, r2, #8
	add	r3, r3, r2
	add	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r1, r2
	mov	r2, #51
	ldr	r1, [r1, #-264]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r3, #-204]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #32
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-204]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-200]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-200]
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	mov	r1, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	stm	r1, {r4-r5}
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r0, [r3, #-269]	@ zero_extendqisi2
	mov	r1, #0
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L52
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-256]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #20
	sub	r0, fp, #4288
	sub	r0, r0, #20
	sub	r0, r0, #20
	ldr	r3, [r3, #-256]
	mov	r2, #1
	mov	r1, #16
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldrb	r3, [r3, #-269]	@ zero_extendqisi2
	lsl	r1, r3, #6
	sub	r3, fp, #4096
	sub	r3, r3, #20
	sub	r0, fp, #4048
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [r3, #-256]
	mov	r2, #1
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-256]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r3, #-268]
	ldr	r0, .L55+100
	bl	printf
	mov	r3, #0
.L53:
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC29
	.word	.LC4
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC14
	.word	.LC13
	.word	1003
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC22
	.word	.LC21
	.word	1001
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	1279870533
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
