	.file	"232955100.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"unknown error"
.LC1:
	.string	"can't open input file"
.LC2:
	.string	"not a xdelta3 file"
	.align 8
.LC3:
	.string	"unrecognized header indicator bits set"
.LC4:
	.string	"no AppHeader in file"
	.align 8
.LC5:
	.string	"memory allocation failed for AppHeader"
	.align 8
.LC6:
	.string	"invalid filename(s) in AppHeader"
.LC7:
	.string	"can't create output file"
.LC8:
	.string	"output file write error"
	.section	.data.rel.local,"aw"
	.align 32
	.type	ErrMsgList, @object
	.size	ErrMsgList, 72
ErrMsgList:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.text
	.globl	CopyFilePart
	.type	CopyFilePart, @function
CopyFilePart:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	eax, DWORD PTR -40[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L3
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	CopyFilePart, .-CopyFilePart
	.globl	ChangeFileExt
	.type	ChangeFileExt, @function
ChangeFileExt:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	je	.L11
	cmp	QWORD PTR -32[rbp], 0
	je	.L11
	mov	QWORD PTR -8[rbp], 0
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
.L7:
	add	QWORD PTR -24[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -24[rbp]
.L10:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ChangeFileExt, .-ChangeFileExt
	.globl	ReadVarSize
	.type	ReadVarSize, @function
ReadVarSize:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
.L13:
	mov	BYTE PTR -13[rbp], 0
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -13[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 7
	mov	edx, eax
	movzx	eax, BYTE PTR -13[rbp]
	movzx	eax, al
	and	eax, 127
	or	eax, edx
	mov	DWORD PTR -12[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	test	al, al
	js	.L13
	mov	eax, DWORD PTR -12[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ReadVarSize, .-ReadVarSize
	.globl	WriteVarSize
	.type	WriteVarSize, @function
WriteVarSize:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -14[rbp], 0
.L17:
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	movzx	eax, BYTE PTR -14[rbp]
	or	edx, -128
	cdqe
	mov	BYTE PTR -13[rbp+rax], dl
	movzx	eax, BYTE PTR -14[rbp]
	add	eax, 1
	mov	BYTE PTR -14[rbp], al
	shr	DWORD PTR -28[rbp], 7
	cmp	DWORD PTR -28[rbp], 0
	jne	.L17
	movzx	eax, BYTE PTR -14[rbp]
	mov	DWORD PTR -28[rbp], eax
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, -128
	mov	BYTE PTR -13[rbp], al
	jmp	.L18
.L19:
	movzx	eax, BYTE PTR -14[rbp]
	sub	eax, 1
	lea	rdx, -13[rbp]
	cdqe
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 1
	call	fwrite@PLT
	movzx	eax, BYTE PTR -14[rbp]
	sub	eax, 1
	mov	BYTE PTR -14[rbp], al
.L18:
	cmp	BYTE PTR -14[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	WriteVarSize, .-WriteVarSize
	.section	.rodata
.LC9:
	.string	"rb"
.LC10:
	.string	"%s\n%s\n"
.LC11:
	.string	"wb"
.LC12:
	.string	".delta"
	.text
	.globl	XDeltaFix
	.type	XDeltaFix, @function
XDeltaFix:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 1
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -84[rbp], 2
	mov	DWORD PTR -92[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -92[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 12895190
	jne	.L24
	mov	DWORD PTR -84[rbp], 3
	mov	DWORD PTR -88[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -88[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, 7
	ja	.L24
	mov	DWORD PTR -80[rbp], 5
	mov	eax, DWORD PTR -88[rbp]
	and	eax, 1
	test	eax, eax
	je	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ReadVarSize
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -92[rbp]
	add	DWORD PTR -80[rbp], eax
.L25:
	mov	eax, DWORD PTR -88[rbp]
	and	eax, 2
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ReadVarSize
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -92[rbp]
	add	DWORD PTR -80[rbp], eax
.L26:
	mov	DWORD PTR -84[rbp], 4
	mov	eax, DWORD PTR -88[rbp]
	and	eax, 4
	test	eax, eax
	je	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ReadVarSize
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	add	eax, 1
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -84[rbp], 5
	cmp	QWORD PTR -32[rbp], 0
	je	.L24
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L27
.L32:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L28
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L28
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 2
	mov	QWORD PTR -48[rbp], rax
.L28:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L29
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L30
.L29:
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L30
	cmp	QWORD PTR -48[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	mov	QWORD PTR -48[rbp], rax
.L30:
	add	QWORD PTR -64[rbp], 1
.L27:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L32
	mov	DWORD PTR -84[rbp], 6
	cmp	QWORD PTR -48[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L33
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L33
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -72[rbp], 0
	cmp	QWORD PTR -112[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 7
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L35
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	ChangeFileExt
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
.L35:
	mov	DWORD PTR -84[rbp], 7
	cmp	QWORD PTR -72[rbp], 0
	je	.L33
	mov	edx, DWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	CopyFilePart
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	add	eax, 3
	mov	DWORD PTR -88[rbp], eax
	mov	edx, DWORD PTR -88[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	WriteVarSize
	mov	edx, DWORD PTR -88[rbp]
	add	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 47
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	CopyFilePart
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	ecx, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -80[rbp]
	add	ecx, edx
	mov	edx, DWORD PTR -76[rbp]
	add	edx, ecx
	mov	ecx, DWORD PTR -92[rbp]
	sub	edx, ecx
	mov	edx, edx
	cmp	rax, rdx
	jne	.L36
	mov	eax, 0
	jmp	.L37
.L36:
	mov	eax, 8
.L37:
	mov	DWORD PTR -84[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L33:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
.L24:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L23:
	mov	eax, DWORD PTR -84[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	XDeltaFix, .-XDeltaFix
	.section	.rodata
	.align 8
.LC13:
	.string	"xdelta3 AppHeader fixer v1.0\n(c) SysTools 2016\nhttp://systools.losthost.org/?misc\n"
	.align 8
.LC14:
	.ascii	"This program strips path from the filenames of source and ou"
	.ascii	"tput files\ninside AppHeader of xdelta3 patches, so you can "
	.ascii	"call \"xdelta3 -d patch.delta\"\nwithout specify source and "
	.ascii	"output filenames.\n\nUsage: fixdelta <input.delta"
	.string	"> [output.delta]\n\nIf optional output filename is ommited then an output file will have xdelta3\nsource filename (from AppHeader) with \".delta\" as extension.\n\nTHIS SOFTWARE IS PROVIDED \"AS IS\" WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES!\nUSE AT YOUR OWN RISK!\n"
.LC15:
	.string	"%s\n\n"
.LC16:
	.string	"ERROR-%d: %s"
.LC17:
	.string	"\ndone"
.LC18:
	.string	"\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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC13[rip]
	call	puts@PLT
	cmp	DWORD PTR -20[rbp], 1
	jle	.L41
	cmp	DWORD PTR -20[rbp], 3
	jle	.L42
.L41:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L43
.L42:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 3
	jne	.L44
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	jmp	.L45
.L44:
	mov	eax, 0
.L45:
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, 8
	mov	rdx, QWORD PTR [rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	XDeltaFix
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L46
	cmp	DWORD PTR -4[rbp], 8
	jg	.L47
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L48
.L47:
	mov	eax, 0
.L48:
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ErrMsgList[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L49
.L46:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L49:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
.L43:
	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	"232955100.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"unknown error\000"
	.align	2
.LC1:
	.ascii	"can't open input file\000"
	.align	2
.LC2:
	.ascii	"not a xdelta3 file\000"
	.align	2
.LC3:
	.ascii	"unrecognized header indicator bits set\000"
	.align	2
.LC4:
	.ascii	"no AppHeader in file\000"
	.align	2
.LC5:
	.ascii	"memory allocation failed for AppHeader\000"
	.align	2
.LC6:
	.ascii	"invalid filename(s) in AppHeader\000"
	.align	2
.LC7:
	.ascii	"can't create output file\000"
	.align	2
.LC8:
	.ascii	"output file write error\000"
	.data
	.align	2
	.type	ErrMsgList, %object
	.size	ErrMsgList, 36
ErrMsgList:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.text
	.align	2
	.global	CopyFilePart
	.syntax unified
	.arm
	.fpu softvfp
	.type	CopyFilePart, %function
CopyFilePart:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	free
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	CopyFilePart, .-CopyFilePart
	.align	2
	.global	ChangeFileExt
	.syntax unified
	.arm
	.fpu softvfp
	.type	ChangeFileExt, %function
ChangeFileExt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L11
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L8:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L7
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-8]
	b	.L10
.L9:
	ldr	r3, [fp, #-16]
.L10:
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
.L11:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ChangeFileExt, .-ChangeFileExt
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ReadVarSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	ReadVarSize, %function
ReadVarSize:
	@ 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, #-24]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
.L13:
	mov	r3, #0
	strb	r3, [fp, #-13]
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #7
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #127
	orr	r3, r2, r3
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-12]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC9
	.size	ReadVarSize, .-ReadVarSize
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	WriteVarSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	WriteVarSize, %function
WriteVarSize:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-17]
.L19:
	ldr	r3, [fp, #-28]
	and	r3, r3, #255
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	and	r1, r3, #255
	sub	r3, fp, #4
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-12]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-28]
	lsr	r3, r3, #7
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L19
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	str	r3, [fp, #-28]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	eor	r3, r3, #127
	mvn	r3, r3
	and	r3, r3, #255
	strb	r3, [fp, #-16]
	b	.L20
.L21:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r3, r3, #1
	sub	r2, fp, #16
	add	r0, r2, r3
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-17]
.L20:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-28]
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC10
	.size	WriteVarSize, .-WriteVarSize
	.section	.rodata
	.align	2
.LC11:
	.ascii	"rb\000"
	.align	2
.LC12:
	.ascii	"%s\012%s\012\000"
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	".delta\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	XDeltaFix
	.syntax unified
	.arm
	.fpu softvfp
	.type	XDeltaFix, %function
XDeltaFix:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r1, .L44+4
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L27
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	fseek
	ldr	r0, [fp, #-28]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	fseek
	mov	r3, #2
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r0, fp, #60
	ldr	r3, [fp, #-28]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-60]
	ldr	r2, .L44+8
	cmp	r3, r2
	bne	.L28
	mov	r3, #3
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r0, fp, #56
	ldr	r3, [fp, #-28]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-56]
	cmp	r3, #7
	bhi	.L28
	mov	r3, #5
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L29
	ldr	r0, [fp, #-28]
	bl	ReadVarSize
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	fseek
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
.L29:
	ldr	r3, [fp, #-56]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L30
	ldr	r0, [fp, #-28]
	bl	ReadVarSize
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	fseek
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
.L30:
	mov	r3, #4
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L28
	ldr	r0, [fp, #-28]
	bl	ReadVarSize
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r3, #5
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L28
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-28]
	mov	r2, #1
	ldr	r0, [fp, #-20]
	bl	fread
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-28]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-40]
	b	.L31
.L36:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L32
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L32
	ldr	r3, [fp, #-40]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	str	r3, [fp, #-32]
.L32:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L33
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L34
.L33:
	ldr	r3, [fp, #-40]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L34
.L35:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L31:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	mov	r3, #6
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L44+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L38
	ldr	r1, .L44+16
	ldr	r0, [fp, #-68]
	bl	fopen
	str	r0, [fp, #-52]
	b	.L39
.L38:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #7
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L39
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	strcpy
	ldr	r1, .L44+20
	ldr	r0, [fp, #-40]
	bl	ChangeFileExt
	ldr	r1, .L44+16
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r0, [fp, #-40]
	bl	free
.L39:
	mov	r3, #7
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-44]
	mov	r2, #0
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-52]
	bl	CopyFilePart
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r3, r3, #3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	WriteVarSize
	mov	r2, r0
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-52]
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #47
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-52]
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	fwrite
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r1
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-52]
	bl	CopyFilePart
	ldr	r0, [fp, #-52]
	bl	ftell
	mov	r1, r0
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	sub	r3, r2, r3
	cmp	r1, r3
	bne	.L40
	mov	r3, #0
	b	.L41
.L40:
	mov	r3, #8
.L41:
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	fclose
.L37:
	ldr	r0, [fp, #-20]
	bl	free
.L28:
	ldr	r0, [fp, #-28]
	bl	fclose
.L27:
	ldr	r3, [fp, #-48]
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC15
	.word	.LC11
	.word	12895190
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	XDeltaFix, .-XDeltaFix
	.section	.rodata
	.align	2
.LC16:
	.ascii	"xdelta3 AppHeader fixer v1.0\012(c) SysTools 2016\012"
	.ascii	"http://systools.losthost.org/?misc\012\000"
	.align	2
.LC17:
	.ascii	"This program strips path from the filenames of sour"
	.ascii	"ce and output files\012inside AppHeader of xdelta3 "
	.ascii	"patches, so you can call \"xdelta3 -d patch.delta\""
	.ascii	"\012without specify source and output filenames.\012"
	.ascii	"\012Usage: fixdelta <input.delta> [output.delta]\012"
	.ascii	"\012If optional output filename is ommited then an "
	.ascii	"output file will have xdelta3\012source filename (f"
	.ascii	"rom AppHeader) with \".delta\" as extension.\012\012"
	.ascii	"THIS SOFTWARE IS PROVIDED \"AS IS\" WITHOUT ANY EXP"
	.ascii	"RESS OR IMPLIED WARRANTIES!\012USE AT YOUR OWN RISK"
	.ascii	"!\012\000"
	.align	2
.LC18:
	.ascii	"%s\012\012\000"
	.align	2
.LC19:
	.ascii	"ERROR-%d: %s\000"
	.align	2
.LC20:
	.ascii	"\012done\000"
	.align	2
.LC21:
	.ascii	"\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L56
	bl	puts
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L47
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L48
.L47:
	ldr	r0, .L56+4
	bl	puts
	mov	r3, #1
	b	.L49
.L48:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56+8
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L50
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	b	.L51
.L50:
	mov	r3, #0
.L51:
	mov	r1, r3
	mov	r0, r2
	bl	XDeltaFix
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bgt	.L53
	ldr	r3, [fp, #-8]
	b	.L54
.L53:
	mov	r3, #0
.L54:
	ldr	r2, .L56+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L56+16
	bl	printf
	b	.L55
.L52:
	ldr	r0, .L56+20
	bl	printf
.L55:
	ldr	r0, .L56+24
	bl	puts
	ldr	r3, [fp, #-8]
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	ErrMsgList
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
