	.file	"100516.c"
	.intel_syntax noprefix
	.text
	.globl	verbose
	.bss
	.type	verbose, @object
	.size	verbose, 1
verbose:
	.zero	1
	.globl	chgnew
	.type	chgnew, @object
	.size	chgnew, 1
chgnew:
	.zero	1
	.globl	padchar
	.type	padchar, @object
	.size	padchar, 1
padchar:
	.zero	1
	.globl	checksum
	.type	checksum, @object
	.size	checksum, 1
checksum:
	.zero	1
	.globl	addr_len1
	.align 4
	.type	addr_len1, @object
	.size	addr_len1, 4
addr_len1:
	.zero	4
	.globl	addr_len1asc
	.align 4
	.type	addr_len1asc, @object
	.size	addr_len1asc, 4
addr_len1asc:
	.zero	4
	.globl	addr_len2
	.align 4
	.type	addr_len2, @object
	.size	addr_len2, 4
addr_len2:
	.zero	4
	.globl	len1
	.align 4
	.type	len1, @object
	.size	len1, 4
len1:
	.zero	4
	.globl	data_length
	.align 4
	.type	data_length, @object
	.size	data_length, 4
data_length:
	.zero	4
	.globl	padding_length
	.align 4
	.type	padding_length, @object
	.size	padding_length, 4
padding_length:
	.zero	4
	.globl	varname
	.section	.rodata
.LC0:
	.string	"file"
	.section	.data.rel.local,"aw"
	.align 8
	.type	varname, @object
	.size	varname, 8
varname:
	.quad	.LC0
	.globl	folname
	.section	.rodata
.LC1:
	.string	"main"
	.section	.data.rel.local
	.align 8
	.type	folname, @object
	.size	folname, 8
folname:
	.quad	.LC1
	.globl	varname_len
	.data
	.type	varname_len, @object
	.size	varname_len, 1
varname_len:
	.byte	5
	.globl	folname_len
	.type	folname_len, @object
	.size	folname_len, 1
folname_len:
	.byte	5
	.globl	infile
	.bss
	.align 8
	.type	infile, @object
	.size	infile, 8
infile:
	.zero	8
	.globl	outfile
	.align 8
	.type	outfile, @object
	.size	outfile, 8
outfile:
	.zero	8
	.globl	outputfilename
	.align 32
	.type	outputfilename, @object
	.size	outputfilename, 64
outputfilename:
	.zero	64
	.section	.rodata
	.align 8
.LC2:
	.ascii	"\nThis is the program txt2xcp by SnailMath.\nMy YouTube Chan"
	.ascii	"nel: https://www.youtube.com/channel/UC4MX6_QKFwnA2sG9eGwqcj"
	.ascii	"A\nMy GitHub:  https://github.com/SnailMath\nMy Discord: htt"
	.ascii	"ps://discord.gg/XWd4yNEhsR\nMy Email:   snailmathprog@gmail."
	.ascii	"com\n\nUsage: %s [OPTIONS] SOURCE [DEST]\n\nConverts the fil"
	.ascii	"e SOURCE to an .xcp file called DEST.\n\nOptions:\n  -l     "
	.ascii	"  Convert newline Characters from \"\\r\\n\" (Windows) or \""
	.ascii	"\\n\"\n           (Linux) to \"\\r\" (The newline characters"
	.ascii	" used by the calc). Use\n           this only for text, and "
	.ascii	"don't use it for programs or binary data.\n  -n NAME  Specif"
	.ascii	"y the name of the variable\n  -d NAME  Specify the name of t"
	.ascii	"he folder\n  -o NAME  Specify the output filename, if not pr"
	.ascii	"ovided at the end\n  -v       Verbose the output\n  -p      "
	.ascii	" Don't use it! Specify char"
	.string	"acter used for padding (default \\x00)\n\nExamples:\n%s yourfile.bin newfile.xcp\n%s -l yourfile2.txt newfile2.xcp\n%s -l -o out.xcp -n hello -f main yourfile3.txt\n\nThe xcp file is of the type program(text).\n\nTip: You can drag and drop a file into this program.\n"
	.align 8
.LC3:
	.string	"ERROR: You are stupid. If you say -p then you have to tell me a characer to use!\n"
	.align 8
.LC4:
	.string	"ERROR: Parameter \"-n\" is specified but no name is given.\n"
	.align 8
.LC5:
	.string	"ERROR: Parameter \"-d\" is specified but no name is given.\n"
	.align 8
.LC6:
	.string	"ERROR: Parameter \"-o\" is specified but no name is given.\n"
	.align 8
.LC7:
	.string	"ERROR: There are too many output filenames given. Please use just one ouput file!\n"
	.align 8
.LC8:
	.string	"ERROR: Parameter \"%s\" is not a recognized argument.\n"
	.align 8
.LC9:
	.string	"ERROR: There are too many filenames given. Please use just one input and one ouput file!\n"
	.align 8
.LC10:
	.string	"ERROR: There is no input file given!\n"
.LC11:
	.string	"rb"
	.align 8
.LC12:
	.string	"ERROR: Cannot open file \"%s\" for reading!\n"
.LC13:
	.string	"wb"
	.align 8
.LC14:
	.string	"ERROR: Cannot open file \"%s\" for writing!\n"
.LC15:
	.string	"Step 1: vcp"
.LC16:
	.string	"Step 2: longnumber"
.LC17:
	.string	"Step 3: folname_len"
.LC18:
	.string	"Step 4: folname"
.LC19:
	.string	"Step 5: varname_len"
.LC20:
	.string	"Step 6: varname"
.LC21:
	.string	"Step 7: block_31"
.LC22:
	.string	"Step 8: folname2"
.LC23:
	.string	"Step 9: varname2"
.LC24:
	.string	"Step 10: skip len1 (for now)"
.LC25:
	.string	"Step 11: block_guq"
	.align 8
.LC26:
	.string	"Step 12: skip len1asc (for now)"
.LC27:
	.string	"Step 13: skip len2 (for now)"
.LC28:
	.string	"Step 14: block_zero"
.LC29:
	.string	"Step 15: copy the data"
	.align 8
.LC30:
	.string	"Length of the content: %ld length of input file: %ld\n"
.LC31:
	.string	"Step 16: eof"
.LC32:
	.string	"Step 17: padding "
.LC33:
	.string	"(padding with %d bytes)\n"
.LC34:
	.string	"now Step 10: len1 "
.LC35:
	.string	"len1 is %d\n"
.LC36:
	.string	"now Step 12: len1asc"
.LC37:
	.string	"now Step 13: len2"
.LC38:
	.string	"Step 18: checksum"
.LC39:
	.string	"Closeing the files.."
.LC40:
	.string	"File converted successfully."
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L3
.L2:
	mov	DWORD PTR -80[rbp], 1
	jmp	.L4
.L30:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L5
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	jne	.L5
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	mov	BYTE PTR chgnew[rip], 1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L7
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	jne	.L7
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	BYTE PTR verbose[rip], 1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L8
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 112
	jne	.L8
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L10
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	sub	eax, 48
	sal	eax, 4
	mov	edx, eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	sub	eax, 87
	sal	eax, 4
	mov	edx, eax
.L11:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L12
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	sub	eax, 48
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	sub	eax, 87
.L13:
	add	eax, edx
	mov	BYTE PTR padchar[rip], al
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L14
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 110
	jne	.L14
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L14
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L15:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR varname[rip], rax
	mov	BYTE PTR varname_len[rip], 1
	mov	DWORD PTR -76[rbp], 0
	jmp	.L16
.L17:
	movzx	eax, BYTE PTR varname_len[rip]
	add	eax, 1
	mov	BYTE PTR varname_len[rip], al
	add	DWORD PTR -76[rbp], 1
.L16:
	mov	rdx, QWORD PTR varname[rip]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	movzx	eax, BYTE PTR varname_len[rip]
	cmp	al, 9
	jbe	.L6
	mov	BYTE PTR varname_len[rip], 9
	mov	rax, QWORD PTR varname[rip]
	add	rax, 8
	mov	BYTE PTR [rax], 0
	jmp	.L6
.L14:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L19
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 100
	jne	.L19
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L19
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jne	.L20
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L20:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR folname[rip], rax
	mov	BYTE PTR folname_len[rip], 1
	mov	DWORD PTR -72[rbp], 0
	jmp	.L21
.L22:
	movzx	eax, BYTE PTR folname_len[rip]
	add	eax, 1
	mov	BYTE PTR folname_len[rip], al
	add	DWORD PTR -72[rbp], 1
.L21:
	mov	rdx, QWORD PTR folname[rip]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L22
	movzx	eax, BYTE PTR folname_len[rip]
	cmp	al, 9
	jbe	.L6
	mov	BYTE PTR folname_len[rip], 9
	mov	rax, QWORD PTR folname[rip]
	add	rax, 8
	mov	BYTE PTR [rax], 0
	jmp	.L6
.L19:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L24
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 111
	jne	.L24
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L24
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L25:
	mov	rax, QWORD PTR outfile[rip]
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L26:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR outfile[rip], rax
	jmp	.L6
.L24:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L27
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L27:
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	jne	.L28
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR infile[rip], rax
	jmp	.L6
.L28:
	mov	rax, QWORD PTR outfile[rip]
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR outfile[rip], rax
	jmp	.L6
.L29:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 89
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L6:
	add	DWORD PTR -80[rbp], 1
.L4:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L30
	mov	rax, QWORD PTR infile[rip]
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L31:
	mov	rax, QWORD PTR outfile[rip]
	test	rax, rax
	jne	.L32
	mov	DWORD PTR -68[rbp], 0
	jmp	.L33
.L36:
	mov	rdx, QWORD PTR infile[rip]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -81[rbp], al
	cmp	BYTE PTR -81[rbp], 0
	je	.L80
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rcx, outputfilename[rip]
	movzx	edx, BYTE PTR -81[rbp]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -68[rbp], 1
.L33:
	cmp	DWORD PTR -68[rbp], 58
	jle	.L36
	jmp	.L35
.L80:
	nop
.L35:
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -68[rbp], edx
	cdqe
	lea	rdx, outputfilename[rip]
	mov	BYTE PTR [rax+rdx], 46
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -68[rbp], edx
	cdqe
	lea	rdx, outputfilename[rip]
	mov	BYTE PTR [rax+rdx], 120
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -68[rbp], edx
	cdqe
	lea	rdx, outputfilename[rip]
	mov	BYTE PTR [rax+rdx], 99
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -68[rbp], edx
	cdqe
	lea	rdx, outputfilename[rip]
	mov	BYTE PTR [rax+rdx], 112
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, outputfilename[rip]
	mov	BYTE PTR [rax+rdx], 0
	lea	rax, outputfilename[rip]
	mov	QWORD PTR outfile[rip], rax
.L32:
	mov	rax, QWORD PTR infile[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L37
	mov	rdx, QWORD PTR infile[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L37:
	mov	rax, QWORD PTR outfile[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L38
	mov	rdx, QWORD PTR outfile[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L3
.L38:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L39
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L39:
	movabs	rax, 6071208918196962134
	mov	QWORD PTR -32[rbp], rax
	mov	WORD PTR -24[rbp], 65
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 10
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L40
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L40:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rax
	mov	edi, 1598899027
	call	xcpwriteHexLong
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L41
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L41:
	movzx	eax, BYTE PTR folname_len[rip]
	movzx	eax, al
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L42
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L42:
	movzx	eax, BYTE PTR folname_len[rip]
	movzx	edx, al
	mov	rax, QWORD PTR folname[rip]
	mov	rcx, QWORD PTR -40[rbp]
	lea	r8, checksum[rip]
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L43
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L43:
	movzx	eax, BYTE PTR varname_len[rip]
	movzx	eax, al
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L44
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L44:
	movzx	eax, BYTE PTR varname_len[rip]
	movzx	edx, al
	mov	rax, QWORD PTR varname[rip]
	mov	rcx, QWORD PTR -40[rbp]
	lea	r8, checksum[rip]
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L45
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L45:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rax
	mov	edi, 49
	call	xcpwriteHexLong
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L46
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L46:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L47
.L50:
	movzx	eax, BYTE PTR folname_len[rip]
	movzx	eax, al
	sub	eax, 1
	cmp	DWORD PTR -64[rbp], eax
	jge	.L48
	mov	rdx, QWORD PTR folname[rip]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	jmp	.L49
.L48:
	mov	eax, -1
.L49:
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	mov	BYTE PTR -32[rbp+rdx], al
	add	DWORD PTR -64[rbp], 1
.L47:
	cmp	DWORD PTR -64[rbp], 15
	jle	.L50
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 16
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L51
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L51:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L52
.L55:
	movzx	eax, BYTE PTR varname_len[rip]
	movzx	eax, al
	sub	eax, 1
	cmp	DWORD PTR -60[rbp], eax
	jge	.L53
	mov	rdx, QWORD PTR varname[rip]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	jmp	.L54
.L53:
	mov	eax, -1
.L54:
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	mov	BYTE PTR -32[rbp+rdx], al
	add	DWORD PTR -60[rbp], 1
.L52:
	cmp	DWORD PTR -60[rbp], 15
	jle	.L55
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 16
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L56
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L56:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR addr_len1[rip], eax
	mov	DWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L57
	lea	rdi, .LC25[rip]
	call	puts@PLT
.L57:
	mov	QWORD PTR -32[rbp], -11446969
	mov	DWORD PTR -24[rbp], -1
	mov	BYTE PTR -20[rbp], -1
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 13
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L58
	lea	rdi, .LC26[rip]
	call	puts@PLT
.L58:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR addr_len1asc[rip], eax
	mov	QWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L59
	lea	rdi, .LC27[rip]
	call	puts@PLT
.L59:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR addr_len2[rip], eax
	mov	DWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L60
	lea	rdi, .LC28[rip]
	call	puts@PLT
.L60:
	mov	QWORD PTR -32[rbp], 0
	mov	BYTE PTR -24[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 9
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L67
	lea	rdi, .LC29[rip]
	call	puts@PLT
.L67:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -56[rbp], eax
	movzx	eax, BYTE PTR chgnew[rip]
	test	al, al
	je	.L62
	cmp	DWORD PTR -56[rbp], 13
	jne	.L63
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rax
	mov	edi, 13
	call	xcpputc
	mov	eax, DWORD PTR data_length[rip]
	add	eax, 1
	mov	DWORD PTR data_length[rip], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 10
	je	.L81
.L63:
	cmp	DWORD PTR -56[rbp], 10
	jne	.L62
	mov	DWORD PTR -56[rbp], 13
.L62:
	cmp	DWORD PTR -56[rbp], -1
	je	.L82
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -56[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR data_length[rip]
	add	eax, 1
	mov	DWORD PTR data_length[rip], eax
	jmp	.L67
.L81:
	nop
	jmp	.L67
.L82:
	nop
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L68
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR data_length[rip]
	mov	ecx, edx
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
.L68:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L69
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L69:
	mov	WORD PTR -32[rbp], -256
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L70
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
.L70:
	mov	edx, DWORD PTR data_length[rip]
	mov	eax, -15
	sub	eax, edx
	and	eax, 3
	mov	DWORD PTR padding_length[rip], eax
	movzx	eax, BYTE PTR padchar[rip]
	mov	BYTE PTR -32[rbp], al
	movzx	eax, BYTE PTR padchar[rip]
	mov	BYTE PTR -31[rbp], al
	movzx	eax, BYTE PTR padchar[rip]
	mov	BYTE PTR -30[rbp], al
	mov	eax, DWORD PTR padding_length[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	lea	r8, checksum[rip]
	mov	esi, 1
	mov	rdi, rax
	call	xcpwrite
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L71
	mov	eax, DWORD PTR padding_length[rip]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L71:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L72
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
.L72:
	mov	eax, DWORD PTR addr_len1[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	edx, DWORD PTR data_length[rip]
	mov	eax, DWORD PTR padding_length[rip]
	add	eax, edx
	add	eax, 15
	mov	DWORD PTR len1[rip], eax
	mov	eax, DWORD PTR len1[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rcx, checksum[rip]
	mov	esi, 1
	mov	edi, eax
	call	xcpwriteBinLong
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L73
	mov	eax, DWORD PTR len1[rip]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
.L73:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L74
	lea	rdi, .LC36[rip]
	call	puts@PLT
.L74:
	mov	eax, DWORD PTR addr_len1asc[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR len1[rip]
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexLong
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L75
	lea	rdi, .LC37[rip]
	call	puts@PLT
.L75:
	mov	eax, DWORD PTR addr_len2[rip]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR data_length[rip]
	add	eax, 3
	mov	DWORD PTR -52[rbp], eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rcx, checksum[rip]
	mov	esi, 0
	mov	edi, eax
	call	xcpwriteBinLong
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L76
	lea	rdi, .LC38[rip]
	call	puts@PLT
.L76:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	movzx	eax, BYTE PTR checksum[rip]
	movzx	eax, al
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, checksum[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L77
	lea	rdi, .LC39[rip]
	call	puts@PLT
.L77:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC40[rip]
	call	puts@PLT
	mov	eax, 0
.L3:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	xcpwrite
	.type	xcpwrite, @function
xcpwrite:
.LFB1:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -8[rbp], 0
	jmp	.L84
.L85:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	movzx	ecx, BYTE PTR [rdx]
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 1
.L84:
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, QWORD PTR -40[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L85
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	xcpwrite, .-xcpwrite
	.globl	xcpwriteHexLong
	.type	xcpwriteHexLong, @function
xcpwriteHexLong:
.LFB2:
	.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 24
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpwriteHexByte
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	xcpwriteHexLong, .-xcpwriteHexLong
	.globl	xcpwriteHexByte
	.type	xcpwriteHexByte, @function
xcpwriteHexByte:
.LFB3:
	.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	eax, edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	shr	al, 4
	movzx	eax, al
	and	eax, 15
	cmp	eax, 9
	jg	.L88
	movzx	eax, BYTE PTR -4[rbp]
	shr	al, 4
	movzx	eax, al
	and	eax, 15
	add	eax, 48
	jmp	.L89
.L88:
	movzx	eax, BYTE PTR -4[rbp]
	shr	al, 4
	movzx	eax, al
	and	eax, 15
	add	eax, 87
.L89:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 15
	cmp	eax, 9
	jg	.L90
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 15
	add	eax, 48
	jmp	.L91
.L90:
	movzx	eax, BYTE PTR -4[rbp]
	and	eax, 15
	add	eax, 87
.L91:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	sub	al, BYTE PTR -4[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	xcpwriteHexByte, .-xcpwriteHexByte
	.globl	xcpputc
	.type	xcpputc, @function
xcpputc:
.LFB4:
	.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	xcpputc, .-xcpputc
	.globl	xcpwriteBinLong
	.type	xcpwriteBinLong, @function
xcpwriteBinLong:
.LFB5:
	.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 -4[rbp], edi
	mov	eax, esi
	mov	QWORD PTR -16[rbp], rdx
	mov	QWORD PTR -24[rbp], rcx
	mov	BYTE PTR -8[rbp], al
	cmp	BYTE PTR -8[rbp], 1
	jne	.L94
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 24
	mov	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	jmp	.L96
.L94:
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 16
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	xcpputc
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 24
	mov	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	xcpputc
.L96:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	xcpwriteBinLong, .-xcpwriteBinLong
	.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	"100516.c"
	.text
	.global	verbose
	.bss
	.type	verbose, %object
	.size	verbose, 1
verbose:
	.space	1
	.global	chgnew
	.type	chgnew, %object
	.size	chgnew, 1
chgnew:
	.space	1
	.global	padchar
	.type	padchar, %object
	.size	padchar, 1
padchar:
	.space	1
	.global	checksum
	.type	checksum, %object
	.size	checksum, 1
checksum:
	.space	1
	.comm	addr_len1,4,4
	.comm	addr_len1asc,4,4
	.comm	addr_len2,4,4
	.comm	len1,4,4
	.global	data_length
	.align	2
	.type	data_length, %object
	.size	data_length, 4
data_length:
	.space	4
	.comm	padding_length,4,4
	.global	varname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"file\000"
	.data
	.align	2
	.type	varname, %object
	.size	varname, 4
varname:
	.word	.LC0
	.global	folname
	.section	.rodata
	.align	2
.LC1:
	.ascii	"main\000"
	.data
	.align	2
	.type	folname, %object
	.size	folname, 4
folname:
	.word	.LC1
	.global	varname_len
	.type	varname_len, %object
	.size	varname_len, 1
varname_len:
	.byte	5
	.global	folname_len
	.type	folname_len, %object
	.size	folname_len, 1
folname_len:
	.byte	5
	.global	infile
	.bss
	.align	2
	.type	infile, %object
	.size	infile, 4
infile:
	.space	4
	.global	outfile
	.align	2
	.type	outfile, %object
	.size	outfile, 4
outfile:
	.space	4
	.comm	outputfilename,64,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012This is the program txt2xcp by SnailMath.\012My"
	.ascii	" YouTube Channel: https://www.youtube.com/channel/U"
	.ascii	"C4MX6_QKFwnA2sG9eGwqcjA\012My GitHub:  https://gith"
	.ascii	"ub.com/SnailMath\012My Discord: https://discord.gg/"
	.ascii	"XWd4yNEhsR\012My Email:   snailmathprog@gmail.com\012"
	.ascii	"\012Usage: %s [OPTIONS] SOURCE [DEST]\012\012Conver"
	.ascii	"ts the file SOURCE to an .xcp file called DEST.\012"
	.ascii	"\012Options:\012  -l       Convert newline Characte"
	.ascii	"rs from \"\\r\\n\" (Windows) or \"\\n\"\012        "
	.ascii	"   (Linux) to \"\\r\" (The newline characters used "
	.ascii	"by the calc). Use\012           this only for text,"
	.ascii	" and don't use it for programs or binary data.\012 "
	.ascii	" -n NAME  Specify the name of the variable\012  -d "
	.ascii	"NAME  Specify the name of the folder\012  -o NAME  "
	.ascii	"Specify the output filename, if not provided at the"
	.ascii	" end\012  -v       Verbose the output\012  -p      "
	.ascii	" Don't use it! Specify character used for padding ("
	.ascii	"default \\x00)\012\012Examples:\012%s yourfile.bin "
	.ascii	"newfile.xcp\012%s -l yourfile2.txt newfile2.xcp\012"
	.ascii	"%s -l -o out.xcp -n hello -f main yourfile3.txt\012"
	.ascii	"\012The xcp file is of the type program(text).\012\012"
	.ascii	"Tip: You can drag and drop a file into this program"
	.ascii	".\012\000"
	.align	2
.LC3:
	.ascii	"ERROR: You are stupid. If you say -p then you have "
	.ascii	"to tell me a characer to use!\012\000"
	.align	2
.LC4:
	.ascii	"ERROR: Parameter \"-n\" is specified but no name is"
	.ascii	" given.\012\000"
	.align	2
.LC5:
	.ascii	"ERROR: Parameter \"-d\" is specified but no name is"
	.ascii	" given.\012\000"
	.align	2
.LC6:
	.ascii	"ERROR: Parameter \"-o\" is specified but no name is"
	.ascii	" given.\012\000"
	.align	2
.LC7:
	.ascii	"ERROR: There are too many output filenames given. P"
	.ascii	"lease use just one ouput file!\012\000"
	.align	2
.LC8:
	.ascii	"ERROR: Parameter \"%s\" is not a recognized argumen"
	.ascii	"t.\012\000"
	.align	2
.LC9:
	.ascii	"ERROR: There are too many filenames given. Please u"
	.ascii	"se just one input and one ouput file!\012\000"
	.align	2
.LC10:
	.ascii	"ERROR: There is no input file given!\012\000"
	.align	2
.LC11:
	.ascii	"rb\000"
	.align	2
.LC12:
	.ascii	"ERROR: Cannot open file \"%s\" for reading!\012\000"
	.align	2
.LC13:
	.ascii	"wb\000"
	.align	2
.LC14:
	.ascii	"ERROR: Cannot open file \"%s\" for writing!\012\000"
	.align	2
.LC15:
	.ascii	"Step 1: vcp\000"
	.align	2
.LC17:
	.ascii	"Step 2: longnumber\000"
	.align	2
.LC18:
	.ascii	"Step 3: folname_len\000"
	.align	2
.LC19:
	.ascii	"Step 4: folname\000"
	.align	2
.LC20:
	.ascii	"Step 5: varname_len\000"
	.align	2
.LC21:
	.ascii	"Step 6: varname\000"
	.align	2
.LC22:
	.ascii	"Step 7: block_31\000"
	.align	2
.LC23:
	.ascii	"Step 8: folname2\000"
	.align	2
.LC24:
	.ascii	"Step 9: varname2\000"
	.align	2
.LC25:
	.ascii	"Step 10: skip len1 (for now)\000"
	.align	2
.LC26:
	.ascii	"Step 11: block_guq\000"
	.align	2
.LC28:
	.ascii	"Step 12: skip len1asc (for now)\000"
	.align	2
.LC30:
	.ascii	"Step 13: skip len2 (for now)\000"
	.align	2
.LC31:
	.ascii	"Step 14: block_zero\000"
	.align	2
.LC33:
	.ascii	"Step 15: copy the data\000"
	.align	2
.LC34:
	.ascii	"Length of the content: %ld length of input file: %l"
	.ascii	"d\012\000"
	.align	2
.LC35:
	.ascii	"Step 16: eof\000"
	.align	2
.LC36:
	.ascii	"Step 17: padding \000"
	.align	2
.LC37:
	.ascii	"(padding with %d bytes)\012\000"
	.align	2
.LC38:
	.ascii	"now Step 10: len1 \000"
	.align	2
.LC39:
	.ascii	"len1 is %d\012\000"
	.align	2
.LC40:
	.ascii	"now Step 12: len1asc\000"
	.align	2
.LC41:
	.ascii	"now Step 13: len2\000"
	.align	2
.LC42:
	.ascii	"Step 18: checksum\000"
	.align	2
.LC43:
	.ascii	"Closeing the files..\000"
	.align	2
.LC44:
	.ascii	"File converted successfully.\000"
	.align	2
.LC16:
	.ascii	"VCP.XDATA\000"
	.align	2
.LC27:
	.ascii	"GUQ\377\377\377\377\377\377\377\377\377\377"
	.align	2
.LC29:
	.ascii	"\000\000\000\000\000\000\000\000"
	.align	2
.LC32:
	.ascii	"\000\000\000\000\000\000\000\000\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L83+248
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L83
	ldr	r0, [r3]
	ldr	r3, [fp, #-84]
	ldr	r1, [r3]
	ldr	r3, [fp, #-84]
	ldr	ip, [r3]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L83+4
	bl	fprintf
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L4
.L30:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L5
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L5
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L83+8
	mov	r2, #1
	strb	r2, [r3]
	b	.L6
.L5:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L7
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L7
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L83+236
	mov	r2, #1
	strb	r2, [r3]
	b	.L6
.L7:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L8
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L8
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L9
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L83+12
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L9:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L10
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r3, r3, #255
	lsl	r3, r3, #4
	and	r2, r3, #255
	b	.L11
.L10:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #87
	and	r3, r3, #255
	lsl	r3, r3, #4
	and	r2, r3, #255
.L11:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-84]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L12
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-84]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	and	r3, r3, #255
	b	.L13
.L12:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-84]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #87
	and	r3, r3, #255
.L13:
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L83+180
	strb	r2, [r3]
	b	.L6
.L8:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L14
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L14
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L83+16
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L15:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L83+20
	str	r3, [r2]
	ldr	r3, .L83+24
	mov	r2, #1
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L16
.L17:
	ldr	r3, .L83+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L83+24
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L16:
	ldr	r3, .L83+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L83+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L6
	ldr	r3, .L83+24
	mov	r2, #9
	strb	r2, [r3]
	ldr	r3, .L83+20
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	b	.L6
.L14:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L19
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L19
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L83+28
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L20:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L83+32
	str	r3, [r2]
	ldr	r3, .L83+36
	mov	r2, #1
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L21
.L22:
	ldr	r3, .L83+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L83+36
	strb	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L21:
	ldr	r3, .L83+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L83+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L6
	ldr	r3, .L83+36
	mov	r2, #9
	strb	r2, [r3]
	ldr	r3, .L83+32
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	b	.L6
.L19:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L24
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #111
	bne	.L24
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bne	.L25
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L83+40
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L25:
	ldr	r3, .L83+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L83+48
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L26:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L83+44
	str	r3, [r2]
	b	.L6
.L24:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L27
	ldr	r3, .L83
	ldr	r0, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L83+52
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L27:
	ldr	r3, .L83+56
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L83+56
	str	r3, [r2]
	b	.L6
.L28:
	ldr	r3, .L83+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L83+44
	str	r3, [r2]
	b	.L6
.L29:
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #89
	mov	r1, #1
	ldr	r0, .L83+60
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L6:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L4:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L30
	ldr	r3, .L83+56
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L83
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L83+64
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L31:
	ldr	r3, .L83+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L32
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L33
.L36:
	ldr	r3, .L83+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-73]
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	ldr	r2, .L83+68
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r2, [fp, #-73]
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L33:
	ldr	r3, [fp, #-60]
	cmp	r3, #58
	ble	.L36
	b	.L35
.L80:
	nop
.L35:
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	ldr	r2, .L83+68
	mov	r1, #46
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	ldr	r2, .L83+68
	mov	r1, #120
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	ldr	r2, .L83+68
	mov	r1, #99
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	ldr	r2, .L83+68
	mov	r1, #112
	strb	r1, [r2, r3]
	ldr	r2, .L83+68
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L83+44
	ldr	r2, .L83+68
	str	r2, [r3]
.L32:
	ldr	r3, .L83+56
	ldr	r3, [r3]
	ldr	r1, .L83+72
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L83
	ldr	r3, [r3]
	ldr	r2, .L83+56
	ldr	r2, [r2]
	ldr	r1, .L83+76
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L37:
	ldr	r3, .L83+44
	ldr	r3, [r3]
	ldr	r1, .L83+80
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L83
	ldr	r3, [r3]
	ldr	r2, .L83+44
	ldr	r2, [r2]
	ldr	r1, .L83+84
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-44]
	bl	fclose
	mvn	r3, #0
	b	.L3
.L38:
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L83+88
	bl	puts
.L39:
	ldr	r2, .L83+92
	sub	r3, fp, #32
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #10
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r0, .L83+96
	bl	puts
.L40:
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	ldr	r0, .L83+100
	bl	xcpwriteHexLong
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldr	r0, .L83+104
	bl	puts
.L41:
	ldr	r3, .L83+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L42
	ldr	r0, .L83+108
	bl	puts
.L42:
	ldr	r3, .L83+32
	ldr	r0, [r3]
	ldr	r3, .L83+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L43
	ldr	r0, .L83+112
	bl	puts
.L43:
	ldr	r3, .L83+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L83+116
	bl	puts
.L44:
	ldr	r3, .L83+20
	ldr	r0, [r3]
	ldr	r3, .L83+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L45
	ldr	r0, .L83+120
	bl	puts
.L45:
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, #49
	bl	xcpwriteHexLong
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	ldr	r0, .L83+124
	bl	puts
.L46:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L47
.L50:
	ldr	r3, .L83+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	bge	.L48
	ldr	r3, .L83+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	b	.L49
.L48:
	mov	r1, #255
.L49:
	sub	r2, fp, #32
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L47:
	ldr	r3, [fp, #-56]
	cmp	r3, #15
	ble	.L50
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #16
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L51
	ldr	r0, .L83+128
	bl	puts
.L51:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L52
.L55:
	ldr	r3, .L83+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #1
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bge	.L53
	ldr	r3, .L83+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	b	.L54
.L53:
	mov	r1, #255
.L54:
	sub	r2, fp, #32
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L52:
	ldr	r3, [fp, #-52]
	cmp	r3, #15
	ble	.L55
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #16
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L56
	ldr	r0, .L83+132
	bl	puts
.L56:
	ldr	r0, [fp, #-40]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L83+192
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-32]
	sub	r0, fp, #32
	ldr	r3, [fp, #-40]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L57
	ldr	r0, .L83+136
	bl	puts
.L57:
	ldr	r3, .L83+140
	sub	ip, fp, #32
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #13
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r0, .L83+144
	bl	puts
.L58:
	ldr	r0, [fp, #-40]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L83+208
	str	r2, [r3]
	ldr	r2, .L83+148
	sub	r3, fp, #32
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r0, fp, #32
	ldr	r3, [fp, #-40]
	mov	r2, #8
	mov	r1, #1
	bl	fwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	ldr	r0, .L83+152
	bl	puts
.L59:
	ldr	r0, [fp, #-40]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L83+220
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-32]
	sub	r0, fp, #32
	ldr	r3, [fp, #-40]
	mov	r2, #4
	mov	r1, #1
	bl	fwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L60
	ldr	r0, .L83+156
	bl	puts
.L60:
	ldr	r2, .L83+160
	sub	r3, fp, #32
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #9
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L83+164
	bl	puts
.L67:
	ldr	r0, [fp, #-44]
	bl	fgetc
	str	r0, [fp, #-48]
	ldr	r3, .L83+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-48]
	cmp	r3, #13
	bne	.L63
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, #13
	bl	xcpputc
	ldr	r3, .L83+224
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L83+224
	str	r3, [r2]
	ldr	r0, [fp, #-44]
	bl	fgetc
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	beq	.L81
.L63:
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	bne	.L62
	mov	r3, #13
	str	r3, [fp, #-48]
.L62:
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	beq	.L82
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-48]
	bl	xcpputc
	ldr	r3, .L83+224
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L83+224
	str	r3, [r2]
	b	.L67
.L81:
	nop
	b	.L67
.L84:
	.align	2
.L83:
	.word	stderr
	.word	.LC2
	.word	chgnew
	.word	.LC3
	.word	.LC4
	.word	varname
	.word	varname_len
	.word	.LC5
	.word	folname
	.word	folname_len
	.word	.LC6
	.word	outfile
	.word	.LC7
	.word	.LC8
	.word	infile
	.word	.LC9
	.word	.LC10
	.word	outputfilename
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	1598899027
	.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	padchar
	.word	.LC37
	.word	.LC38
	.word	addr_len1
	.word	padding_length
	.word	.LC39
	.word	.LC40
	.word	addr_len1asc
	.word	len1
	.word	.LC41
	.word	addr_len2
	.word	data_length
	.word	.LC42
	.word	checksum
	.word	verbose
	.word	.LC43
	.word	.LC44
	.word	.LC45
.L82:
	nop
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L83+224
	ldr	r3, [r3]
	mov	r4, r3
	ldr	r0, [fp, #-44]
	bl	ftell
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L83+168
	bl	printf
.L68:
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L69
	ldr	r0, .L83+172
	bl	puts
.L69:
	mov	r3, #65280
	strh	r3, [fp, #-32]	@ movhi
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r2, #2
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L70
	ldr	r0, .L83+176
	bl	printf
.L70:
	ldr	r3, .L83+224
	ldr	r2, [r3]
	mvn	r3, #14
	sub	r3, r3, r2
	and	r3, r3, #3
	ldr	r2, .L83+196
	str	r3, [r2]
	ldr	r3, .L83+180
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-32]
	ldr	r3, .L83+180
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-31]
	ldr	r3, .L83+180
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-30]
	ldr	r3, .L83+196
	ldr	r3, [r3]
	mov	r2, r3
	sub	r0, fp, #32
	ldr	r3, .L83+232
	str	r3, [sp]
	ldr	r3, [fp, #-40]
	mov	r1, #1
	bl	xcpwrite
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	ldr	r3, .L83+196
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L83+184
	bl	printf
.L71:
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L72
	ldr	r0, .L83+188
	bl	printf
.L72:
	ldr	r3, .L83+192
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	fseek
	ldr	r3, .L83+224
	ldr	r3, [r3]
	ldr	r2, .L83+196
	ldr	r2, [r2]
	add	r3, r3, r2
	add	r3, r3, #15
	ldr	r2, .L83+212
	str	r3, [r2]
	ldr	r3, .L83+212
	ldr	r0, [r3]
	ldr	r3, .L83+232
	ldr	r2, [fp, #-40]
	mov	r1, #1
	bl	xcpwriteBinLong
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L83+212
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L83+200
	bl	printf
.L73:
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	ldr	r0, .L83+204
	bl	puts
.L74:
	ldr	r3, .L83+208
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	fseek
	ldr	r3, .L83+212
	ldr	r3, [r3]
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	xcpwriteHexLong
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L75
	ldr	r0, .L83+216
	bl	puts
.L75:
	ldr	r3, .L83+220
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	fseek
	ldr	r3, .L83+224
	ldr	r3, [r3]
	add	r3, r3, #3
	str	r3, [fp, #-36]
	ldr	r3, .L83+232
	ldr	r2, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	xcpwriteBinLong
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L76
	ldr	r0, .L83+228
	bl	puts
.L76:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	fseek
	ldr	r3, .L83+232
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L83+232
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, .L83+236
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L77
	ldr	r0, .L83+240
	bl	puts
.L77:
	ldr	r0, [fp, #-40]
	bl	fclose
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r0, .L83+244
	bl	puts
	mov	r3, #0
.L3:
	ldr	r2, .L83+248
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.align	2
	.global	xcpwrite
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcpwrite, %function
xcpwrite:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L86
.L87:
	ldr	r3, [fp, #4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #4]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L86:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L87
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xcpwrite, .-xcpwrite
	.align	2
	.global	xcpwriteHexLong
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcpwriteHexLong, %function
xcpwriteHexLong:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #24
	and	r3, r3, #255
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #16
	and	r3, r3, #255
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	xcpwriteHexByte
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	xcpwriteHexByte
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xcpwriteHexLong, .-xcpwriteHexLong
	.align	2
	.global	xcpwriteHexByte
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcpwriteHexByte, %function
xcpwriteHexByte:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	cmp	r3, #9
	bgt	.L90
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	add	r3, r3, #48
	b	.L91
.L90:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #15
	add	r3, r3, #87
.L91:
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	fputc
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #15
	cmp	r3, #9
	bgt	.L92
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r3, #48
	b	.L93
.L92:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r3, #87
.L93:
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xcpwriteHexByte, .-xcpwriteHexByte
	.align	2
	.global	xcpputc
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcpputc, %function
xcpputc:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	fputc
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	sub	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xcpputc, .-xcpputc
	.align	2
	.global	xcpwriteBinLong
	.syntax unified
	.arm
	.fpu softvfp
	.type	xcpwriteBinLong, %function
xcpwriteBinLong:
	@ 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, #-8]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L96
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #24
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #16
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	b	.L98
.L96:
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #16
	and	r3, r3, #255
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #24
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	xcpputc
.L98:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xcpwriteBinLong, .-xcpwriteBinLong
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
