	.file	"23576103.c"
	.intel_syntax noprefix
	.text
	.globl	checksum
	.bss
	.type	checksum, @object
	.size	checksum, 1
checksum:
	.zero	1
	.globl	col
	.align 2
	.type	col, @object
	.size	col, 2
col:
	.zero	2
	.globl	row
	.align 2
	.type	row, @object
	.size	row, 2
row:
	.zero	2
	.globl	err
	.align 8
	.type	err, @object
	.size	err, 8
err:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 256
s:
	.zero	256
	.globl	s1
	.align 32
	.type	s1, @object
	.size	s1, 256
s1:
	.zero	256
	.globl	target
	.align 32
	.type	target, @object
	.size	target, 256
target:
	.zero	256
	.section	.rodata
.LC0:
	.string	"Error! (Row %d, Col %d)\n"
	.text
	.globl	print_err_rc
	.type	print_err_rc, @function
print_err_rc:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, WORD PTR col[rip]
	movzx	eax, ax
	lea	edx, 1[rax]
	movzx	eax, WORD PTR row[rip]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR err[rip]
	add	rax, 1
	mov	QWORD PTR err[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_err_rc, .-print_err_rc
	.section	.rodata
.LC1:
	.string	"Number of byte"
.LC2:
	.string	"Unknown datatype"
.LC3:
	.string	"Checksum"
.LC4:
	.string	"Error! %s. (Row %d)\n"
	.text
	.globl	print_err_r
	.type	print_err_r, @function
print_err_r:
.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, 48
	mov	eax, edi
	mov	BYTE PTR -36[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, WORD PTR row[rip]
	movzx	edx, ax
	movzx	eax, BYTE PTR -36[rbp]
	cdqe
	mov	rax, QWORD PTR -32[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR err[rip]
	add	rax, 1
	mov	QWORD PTR err[rip], rax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_err_r, .-print_err_r
	.globl	getbyte
	.type	getbyte, @function
getbyte:
.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, 16
	movzx	eax, WORD PTR col[rip]
	movzx	eax, ax
	cdqe
	lea	rdx, s[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -2[rbp], al
	cmp	BYTE PTR -2[rbp], 47
	jbe	.L5
	cmp	BYTE PTR -2[rbp], 57
	jbe	.L6
.L5:
	cmp	BYTE PTR -2[rbp], 64
	jbe	.L7
	cmp	BYTE PTR -2[rbp], 70
	ja	.L7
.L6:
	sub	BYTE PTR -2[rbp], 48
	cmp	BYTE PTR -2[rbp], 9
	jbe	.L9
	sub	BYTE PTR -2[rbp], 7
	jmp	.L9
.L7:
	mov	eax, 0
	call	print_err_rc
	mov	BYTE PTR -2[rbp], 0
.L9:
	movzx	eax, WORD PTR col[rip]
	add	eax, 1
	mov	WORD PTR col[rip], ax
	movzx	eax, WORD PTR col[rip]
	movzx	eax, ax
	cdqe
	lea	rdx, s[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 47
	jbe	.L10
	cmp	BYTE PTR -1[rbp], 57
	jbe	.L11
.L10:
	cmp	BYTE PTR -1[rbp], 64
	jbe	.L12
	cmp	BYTE PTR -1[rbp], 70
	ja	.L12
.L11:
	sub	BYTE PTR -1[rbp], 48
	cmp	BYTE PTR -1[rbp], 9
	jbe	.L14
	sub	BYTE PTR -1[rbp], 7
	jmp	.L14
.L12:
	mov	eax, 0
	call	print_err_rc
	mov	BYTE PTR -1[rbp], 0
.L14:
	movzx	eax, WORD PTR col[rip]
	add	eax, 1
	mov	WORD PTR col[rip], ax
	movzx	eax, BYTE PTR -2[rbp]
	sal	eax, 4
	mov	edx, eax
	movzx	eax, BYTE PTR -1[rbp]
	or	eax, edx
	mov	BYTE PTR -1[rbp], al
	movzx	edx, BYTE PTR checksum[rip]
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, edx
	mov	BYTE PTR checksum[rip], al
	movzx	eax, BYTE PTR -1[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getbyte, .-getbyte
	.globl	readhex
	.type	readhex, @function
readhex:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -32[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], -1
	add	QWORD PTR -32[rbp], 1
.L17:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jb	.L18
	mov	QWORD PTR err[rip], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR row[rip], 0
	jmp	.L19
.L38:
	movzx	eax, WORD PTR row[rip]
	add	eax, 1
	mov	WORD PTR row[rip], ax
	mov	WORD PTR col[rip], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	esi, 255
	lea	rdi, s[rip]
	call	fgets@PLT
	test	rax, rax
	je	.L19
	lea	rax, s[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L19
	movzx	eax, WORD PTR col[rip]
	movzx	eax, ax
	cdqe
	lea	rdx, s[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 58
	je	.L20
	mov	eax, 0
	call	print_err_rc
.L20:
	movzx	eax, WORD PTR col[rip]
	add	eax, 1
	mov	WORD PTR col[rip], ax
	mov	BYTE PTR checksum[rip], 0
	mov	eax, 0
	call	getbyte
	mov	BYTE PTR -35[rbp], al
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 8
	or	rax, QWORD PTR -24[rbp]
	or	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, 0
	call	getbyte
	mov	BYTE PTR -34[rbp], al
	movzx	eax, BYTE PTR -34[rbp]
	cmp	eax, 5
	ja	.L21
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L23[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L23[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L23:
	.long	.L29-.L23
	.long	.L27-.L23
	.long	.L26-.L23
	.long	.L39-.L23
	.long	.L24-.L23
	.long	.L39-.L23
	.text
.L31:
	mov	eax, 0
	call	getbyte
	mov	BYTE PTR -33[rbp], al
	movzx	eax, BYTE PTR -35[rbp]
	sub	eax, 1
	mov	BYTE PTR -35[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jnb	.L30
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -33[rbp]
	mov	BYTE PTR [rdx], al
.L30:
	add	QWORD PTR -32[rbp], 1
.L29:
	cmp	BYTE PTR -35[rbp], 0
	jne	.L31
	jmp	.L32
.L27:
	cmp	BYTE PTR -35[rbp], 0
	je	.L40
	mov	edi, 0
	call	print_err_r
	jmp	.L40
.L26:
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 12
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 4
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	cmp	BYTE PTR -35[rbp], 2
	je	.L41
	mov	edi, 0
	call	print_err_r
	jmp	.L41
.L24:
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	getbyte
	movzx	eax, al
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 16
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	cmp	BYTE PTR -35[rbp], 2
	je	.L42
	mov	edi, 0
	call	print_err_r
	jmp	.L42
.L21:
	mov	edi, 1
	call	print_err_r
	jmp	.L36
.L37:
	mov	eax, 0
	call	getbyte
	movzx	eax, BYTE PTR -35[rbp]
	sub	eax, 1
	mov	BYTE PTR -35[rbp], al
.L36:
	cmp	BYTE PTR -35[rbp], 0
	jne	.L37
	jmp	.L32
.L39:
	nop
	jmp	.L32
.L40:
	nop
	jmp	.L32
.L41:
	nop
	jmp	.L32
.L42:
	nop
.L32:
	mov	eax, 0
	call	getbyte
	movzx	eax, BYTE PTR checksum[rip]
	test	al, al
	je	.L19
	mov	edi, 2
	call	print_err_r
.L19:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L38
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readhex, .-readhex
	.globl	makebitmap
	.type	makebitmap, @function
makebitmap:
.LFB10:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	mov	QWORD PTR -24[rbp], 0
.L68:
	mov	BYTE PTR -25[rbp], 0
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L44:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L45
	cmp	BYTE PTR -26[rbp], -1
	je	.L46
	or	BYTE PTR -25[rbp], 1
.L46:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L47
.L48:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L47:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L48
	cmp	BYTE PTR -26[rbp], -1
	je	.L49
	or	BYTE PTR -25[rbp], 2
.L49:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L50:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L51
	cmp	BYTE PTR -26[rbp], -1
	je	.L52
	or	BYTE PTR -25[rbp], 4
.L52:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L53:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L54
	cmp	BYTE PTR -26[rbp], -1
	je	.L55
	or	BYTE PTR -25[rbp], 8
.L55:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L56
.L57:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L56:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L57
	cmp	BYTE PTR -26[rbp], -1
	je	.L58
	or	BYTE PTR -25[rbp], 16
.L58:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L59
.L60:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L59:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L60
	cmp	BYTE PTR -26[rbp], -1
	je	.L61
	or	BYTE PTR -25[rbp], 32
.L61:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L62
.L63:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L62:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L63
	cmp	BYTE PTR -26[rbp], -1
	je	.L64
	or	BYTE PTR -25[rbp], 64
.L64:
	mov	BYTE PTR -26[rbp], -1
	mov	QWORD PTR -16[rbp], 0
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	and	BYTE PTR -26[rbp], al
	add	QWORD PTR -16[rbp], 1
.L65:
	cmp	QWORD PTR -16[rbp], 255
	jbe	.L66
	cmp	BYTE PTR -26[rbp], -1
	je	.L67
	or	BYTE PTR -25[rbp], -128
.L67:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -25[rbp]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L68
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	makebitmap, .-makebitmap
	.section	.rodata
	.align 8
.LC5:
	.string	"ZX EVO project:  HEX to BIN + CRC + Header"
	.align 8
.LC6:
	.string	"usage: make_fw <HexFileName> <EepFileName> <OutputFileName> <VersionFileName>"
.LC7:
	.string	"rt"
.LC8:
	.string	"Open file %s... "
.LC9:
	.string	"Can't open file"
.LC10:
	.string	"Read... "
.LC11:
	.string	"Close."
.LC12:
	.string	"Total %u error(s)!\n"
.LC13:
	.string	"wb"
.LC14:
	.string	"Can't create output file!"
.LC15:
	.string	"Created file %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
	lea	r11, -126976[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 832
	mov	DWORD PTR -127796[rbp], edi
	mov	QWORD PTR -127808[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC5[rip]
	call	puts@PLT
	cmp	DWORD PTR -127796[rbp], 4
	jg	.L70
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L105
.L70:
	mov	BYTE PTR -127120[rbp], 90
	mov	BYTE PTR -127119[rbp], 88
	mov	BYTE PTR -127118[rbp], 69
	mov	BYTE PTR -127117[rbp], 86
	mov	BYTE PTR -127116[rbp], 79
	mov	BYTE PTR -127115[rbp], 26
	mov	WORD PTR -127788[rbp], 6
	jmp	.L72
.L73:
	movzx	eax, WORD PTR -127788[rbp]
	cdqe
	mov	BYTE PTR -127120[rbp+rax], 0
	movzx	eax, WORD PTR -127788[rbp]
	add	eax, 1
	mov	WORD PTR -127788[rbp], ax
.L72:
	cmp	WORD PTR -127788[rbp], 127
	jbe	.L73
	mov	WORD PTR -127788[rbp], 6
	mov	BYTE PTR -127791[rbp], 0
	cmp	DWORD PTR -127796[rbp], 6
	jne	.L74
	mov	rax, QWORD PTR -127808[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strncpy@PLT
	movzx	eax, BYTE PTR s1[rip]
	cmp	al, 111
	jne	.L74
	mov	BYTE PTR -127791[rbp], -128
.L74:
	mov	rax, QWORD PTR -127808[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	edx, 255
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strncpy@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, s1[rip]
	call	fopen@PLT
	mov	QWORD PTR -127768[rbp], rax
	mov	BYTE PTR -127184[rbp], 0
	cmp	QWORD PTR -127768[rbp], 0
	je	.L75
	mov	rdx, QWORD PTR -127768[rbp]
	lea	rax, -127184[rbp]
	mov	esi, 56
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -127768[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L75:
	mov	WORD PTR -127790[rbp], 0
	jmp	.L76
.L80:
	movzx	eax, WORD PTR -127790[rbp]
	cdqe
	movzx	eax, BYTE PTR -127184[rbp+rax]
	cmp	al, 31
	jbe	.L77
	movzx	eax, WORD PTR -127790[rbp]
	cdqe
	movzx	eax, BYTE PTR -127184[rbp+rax]
	test	al, al
	jns	.L78
.L77:
	movzx	eax, WORD PTR -127790[rbp]
	cdqe
	mov	BYTE PTR -127184[rbp+rax], 0
	jmp	.L79
.L78:
	movzx	eax, WORD PTR -127790[rbp]
	add	eax, 1
	mov	WORD PTR -127790[rbp], ax
.L76:
	cmp	WORD PTR -127790[rbp], 56
	jbe	.L80
.L79:
	lea	rax, -127184[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	WORD PTR -127790[rbp], ax
	cmp	WORD PTR -127790[rbp], 0
	jne	.L81
	lea	rax, -127184[rbp]
	movabs	rcx, 31356346811051854
	mov	QWORD PTR [rax], rcx
.L81:
	movzx	eax, WORD PTR -127788[rbp]
	lea	rdx, -127120[rbp]
	cdqe
	add	rdx, rax
	lea	rax, -127184[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rax, -127120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	WORD PTR -127788[rbp], ax
	mov	rax, QWORD PTR -127808[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 255
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strncpy@PLT
	lea	rsi, s1[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, s1[rip]
	call	fopen@PLT
	mov	QWORD PTR -127768[rbp], rax
	cmp	QWORD PTR -127768[rbp], 0
	jne	.L82
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L105
.L82:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -122896[rbp]
	mov	rax, QWORD PTR -127768[rbp]
	mov	edx, 122880
	mov	rsi, rcx
	mov	rdi, rax
	call	readhex
	mov	rax, QWORD PTR -127768[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rax, QWORD PTR err[rip]
	test	rax, rax
	je	.L83
	mov	rax, QWORD PTR err[rip]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 3
	jmp	.L105
.L83:
	mov	rax, QWORD PTR -127808[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 255
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strncpy@PLT
	lea	rsi, s1[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, s1[rip]
	call	fopen@PLT
	mov	QWORD PTR -127768[rbp], rax
	cmp	QWORD PTR -127768[rbp], 0
	jne	.L84
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L85
.L84:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -126992[rbp]
	mov	rax, QWORD PTR -127768[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	rdi, rax
	call	readhex
	mov	rax, QWORD PTR -127768[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	rax, QWORD PTR err[rip]
	test	rax, rax
	je	.L85
	mov	rax, QWORD PTR err[rip]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 3
	jmp	.L105
.L85:
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -127784[rbp], rax
	lea	rax, -127784[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rcx, rax
	lea	rax, -127760[rbp]
	mov	edx, 56
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -127740[rbp]
	sub	eax, 100
	sal	eax, 9
	and	ax, 32256
	mov	edx, eax
	mov	eax, DWORD PTR -127744[rbp]
	add	eax, 1
	sal	eax, 5
	and	ax, 480
	or	edx, eax
	mov	eax, DWORD PTR -127748[rbp]
	and	eax, 31
	or	eax, edx
	mov	WORD PTR -127790[rbp], ax
	movzx	eax, WORD PTR -127790[rbp]
	shr	ax, 8
	and	eax, 127
	mov	edx, eax
	movzx	eax, BYTE PTR -127791[rbp]
	or	eax, edx
	mov	BYTE PTR -19[rbp], al
	movzx	eax, BYTE PTR -19[rbp]
	mov	BYTE PTR -127057[rbp], al
	movzx	eax, WORD PTR -127790[rbp]
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR -127058[rbp], al
	lea	rax, -127184[rbp]
	lea	rdx, -122896[rbp]
	lea	rcx, 122864[rdx]
	mov	edx, 12
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	WORD PTR -127790[rbp], 0
	jmp	.L86
.L91:
	movzx	eax, WORD PTR -127790[rbp]
	sal	eax, 8
	mov	WORD PTR -127786[rbp], ax
	mov	BYTE PTR -127792[rbp], 8
.L90:
	movzx	eax, WORD PTR -127786[rbp]
	test	ax, ax
	jns	.L87
	movzx	eax, WORD PTR -127786[rbp]
	add	eax, eax
	xor	ax, 4129
	mov	WORD PTR -127786[rbp], ax
	jmp	.L88
.L87:
	sal	WORD PTR -127786[rbp]
.L88:
	movzx	eax, BYTE PTR -127792[rbp]
	sub	eax, 1
	mov	BYTE PTR -127792[rbp], al
	cmp	BYTE PTR -127792[rbp], 0
	je	.L89
	cmp	WORD PTR -127786[rbp], 0
	jne	.L90
.L89:
	movzx	eax, WORD PTR -127790[rbp]
	cdqe
	movzx	edx, WORD PTR -127786[rbp]
	mov	WORD PTR -127696[rbp+rax*2], dx
	movzx	eax, WORD PTR -127790[rbp]
	add	eax, 1
	mov	WORD PTR -127790[rbp], ax
.L86:
	cmp	WORD PTR -127790[rbp], 255
	jbe	.L91
	mov	WORD PTR -127786[rbp], -1
	mov	QWORD PTR -127776[rbp], 0
	jmp	.L92
.L93:
	movzx	eax, WORD PTR -127786[rbp]
	shr	ax, 8
	movzx	edx, ax
	lea	rcx, -122896[rbp]
	mov	rax, QWORD PTR -127776[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	xor	eax, edx
	cdqe
	movzx	eax, WORD PTR -127696[rbp+rax*2]
	mov	edx, eax
	movzx	eax, WORD PTR -127786[rbp]
	sal	eax, 8
	xor	eax, edx
	mov	WORD PTR -127786[rbp], ax
	add	QWORD PTR -127776[rbp], 1
.L92:
	cmp	QWORD PTR -127776[rbp], 122877
	jbe	.L93
	movzx	eax, WORD PTR -127786[rbp]
	shr	ax, 8
	mov	BYTE PTR -18[rbp], al
	movzx	eax, WORD PTR -127786[rbp]
	mov	BYTE PTR -17[rbp], al
	lea	rax, -127120[rbp]
	lea	rcx, 64[rax]
	lea	rax, -122896[rbp]
	mov	edx, 122880
	mov	rsi, rcx
	mov	rdi, rax
	call	makebitmap
	lea	rax, -127120[rbp]
	lea	rcx, 124[rax]
	lea	rax, -126992[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	rdi, rax
	call	makebitmap
	mov	WORD PTR -127786[rbp], 0
	mov	WORD PTR -127790[rbp], 0
	jmp	.L94
.L95:
	movzx	eax, WORD PTR -127786[rbp]
	shr	ax, 8
	movzx	edx, ax
	movzx	eax, WORD PTR -127790[rbp]
	cdqe
	movzx	eax, BYTE PTR -127120[rbp+rax]
	movzx	eax, al
	xor	eax, edx
	cdqe
	movzx	eax, WORD PTR -127696[rbp+rax*2]
	mov	edx, eax
	movzx	eax, WORD PTR -127786[rbp]
	sal	eax, 8
	xor	eax, edx
	mov	WORD PTR -127786[rbp], ax
	movzx	eax, WORD PTR -127790[rbp]
	add	eax, 1
	mov	WORD PTR -127790[rbp], ax
.L94:
	cmp	WORD PTR -127790[rbp], 125
	jbe	.L95
	movzx	eax, WORD PTR -127786[rbp]
	shr	ax, 8
	mov	BYTE PTR -126994[rbp], al
	movzx	eax, WORD PTR -127786[rbp]
	mov	BYTE PTR -126993[rbp], al
	mov	rax, QWORD PTR -127808[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	edx, 255
	mov	rsi, rax
	lea	rdi, target[rip]
	call	strncpy@PLT
	lea	rsi, .LC13[rip]
	lea	rdi, target[rip]
	call	fopen@PLT
	mov	QWORD PTR -127768[rbp], rax
	cmp	QWORD PTR -127768[rbp], 0
	jne	.L96
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L105
.L96:
	mov	rdx, QWORD PTR -127768[rbp]
	lea	rax, -127120[rbp]
	mov	rcx, rdx
	mov	edx, 128
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -127776[rbp], 0
.L100:
	mov	BYTE PTR -127792[rbp], -1
	mov	WORD PTR -127790[rbp], 0
	jmp	.L97
.L98:
	mov	rax, QWORD PTR -127776[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -127776[rbp], rdx
	movzx	eax, BYTE PTR -122896[rbp+rax]
	and	BYTE PTR -127792[rbp], al
	movzx	eax, WORD PTR -127790[rbp]
	add	eax, 1
	mov	WORD PTR -127790[rbp], ax
.L97:
	cmp	WORD PTR -127790[rbp], 255
	jbe	.L98
	cmp	BYTE PTR -127792[rbp], -1
	je	.L99
	mov	rax, QWORD PTR -127776[rbp]
	lea	rdx, -256[rax]
	lea	rax, -122896[rbp]
	lea	rdi, [rax+rdx]
	mov	rax, QWORD PTR -127768[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 256
	call	fwrite@PLT
.L99:
	cmp	QWORD PTR -127776[rbp], 122879
	jbe	.L100
	mov	QWORD PTR -127776[rbp], 0
.L104:
	mov	BYTE PTR -127792[rbp], -1
	mov	WORD PTR -127790[rbp], 0
	jmp	.L101
.L102:
	mov	rax, QWORD PTR -127776[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -127776[rbp], rdx
	movzx	eax, BYTE PTR -126992[rbp+rax]
	and	BYTE PTR -127792[rbp], al
	movzx	eax, WORD PTR -127790[rbp]
	add	eax, 1
	mov	WORD PTR -127790[rbp], ax
.L101:
	cmp	WORD PTR -127790[rbp], 255
	jbe	.L102
	cmp	BYTE PTR -127792[rbp], -1
	je	.L103
	mov	rax, QWORD PTR -127776[rbp]
	lea	rdx, -256[rax]
	lea	rax, -126992[rbp]
	lea	rdi, [rax+rdx]
	mov	rax, QWORD PTR -127768[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 256
	call	fwrite@PLT
.L103:
	cmp	QWORD PTR -127776[rbp], 4095
	jbe	.L104
	mov	rax, QWORD PTR -127768[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, target[rip]
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L105:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L106
	call	__stack_chk_fail@PLT
.L106:
	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	"23576103.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Number of byte\000"
	.align	2
.LC1:
	.ascii	"Unknown datatype\000"
	.align	2
.LC2:
	.ascii	"Checksum\000"
	.text
	.comm	checksum,1,1
	.comm	col,2,2
	.comm	row,2,2
	.comm	err,4,4
	.comm	s,256,4
	.comm	s1,256,4
	.comm	target,256,4
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Error! (Row %d, Col %d)\012\000"
	.text
	.align	2
	.global	print_err_rc
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_err_rc, %function
print_err_rc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r3, .L2+4
	ldrh	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L2+8
	bl	printf
	ldr	r3, .L2+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2+12
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	row
	.word	col
	.word	.LC4
	.word	err
	.size	print_err_rc, .-print_err_rc
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Error! %s. (Row %d)\012\000"
	.align	2
.LC5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_err_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_err_r, %function
print_err_r:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L6+4
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	ldr	r2, .L6+8
	ldrh	r2, [r2]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, .L6+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+16
	str	r3, [r2]
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC7
	.word	.LC5
	.word	row
	.word	.LC6
	.word	err
	.size	print_err_r, .-print_err_r
	.align	2
	.global	getbyte
	.syntax unified
	.arm
	.fpu softvfp
	.type	getbyte, %function
getbyte:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L20
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L20+4
	ldrb	r3, [r3, r2]
	strb	r3, [fp, #-6]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L9
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L10
.L9:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L11
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L11
.L10:
	ldrb	r3, [fp, #-6]
	sub	r3, r3, #48
	strb	r3, [fp, #-6]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L13
	ldrb	r3, [fp, #-6]
	sub	r3, r3, #7
	strb	r3, [fp, #-6]
	b	.L13
.L11:
	bl	print_err_rc
	mov	r3, #0
	strb	r3, [fp, #-6]
.L13:
	ldr	r3, .L20
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L20
	strh	r3, [r2]	@ movhi
	ldr	r3, .L20
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L20+4
	ldrb	r3, [r3, r2]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L14
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L15
.L14:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L16
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L16
.L15:
	ldrb	r3, [fp, #-5]
	sub	r3, r3, #48
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L18
	ldrb	r3, [fp, #-5]
	sub	r3, r3, #7
	strb	r3, [fp, #-5]
	b	.L18
.L16:
	bl	print_err_rc
	mov	r3, #0
	strb	r3, [fp, #-5]
.L18:
	ldr	r3, .L20
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L20
	strh	r3, [r2]	@ movhi
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-5]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-5]
	ldr	r3, .L20+8
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L20+8
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	col
	.word	s
	.word	checksum
	.size	getbyte, .-getbyte
	.align	2
	.global	readhex
	.syntax unified
	.arm
	.fpu softvfp
	.type	readhex, %function
readhex:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L23
.L24:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L23:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L24
	ldr	r3, .L49
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L49+4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L25
.L44:
	ldr	r3, .L49+4
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L49+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L49+8
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r2, [fp, #-32]
	mov	r1, #255
	ldr	r0, .L49+12
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L49+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L49+8
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L49+12
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L26
	bl	print_err_rc
.L26:
	ldr	r3, .L49+8
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L49+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L49+16
	mov	r2, #0
	strb	r2, [r3]
	bl	getbyte
	mov	r3, r0
	strb	r3, [fp, #-23]
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-12]
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-16]
	orr	r3, r2, r3
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-20]
	bl	getbyte
	mov	r3, r0
	strb	r3, [fp, #-22]
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L35
	.word	.L33
	.word	.L32
	.word	.L45
	.word	.L30
	.word	.L45
.L37:
	bl	getbyte
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-23]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcs	.L36
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L36:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L35:
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L37
	b	.L38
.L33:
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	mov	r0, #0
	bl	print_err_r
	b	.L46
.L32:
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-12]
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #12
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L47
	mov	r0, #0
	bl	print_err_r
	b	.L47
.L30:
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-12]
	bl	getbyte
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L48
	mov	r0, #0
	bl	print_err_r
	b	.L48
.L27:
	mov	r0, #1
	bl	print_err_r
	b	.L42
.L43:
	bl	getbyte
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-23]
.L42:
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L43
	b	.L38
.L45:
	nop
	b	.L38
.L46:
	nop
	b	.L38
.L47:
	nop
	b	.L38
.L48:
	nop
.L38:
	bl	getbyte
	ldr	r3, .L49+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	mov	r0, #2
	bl	print_err_r
.L25:
	ldr	r0, [fp, #-32]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	err
	.word	row
	.word	col
	.word	s
	.word	checksum
	.size	readhex, .-readhex
	.align	2
	.global	makebitmap
	.syntax unified
	.arm
	.fpu softvfp
	.type	makebitmap, %function
makebitmap:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
.L76:
	mov	r3, #0
	strb	r3, [fp, #-17]
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L52
.L53:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L52:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L53
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L54
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #1
	strb	r3, [fp, #-17]
.L54:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L55
.L56:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L55:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L56
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L57
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #2
	strb	r3, [fp, #-17]
.L57:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L58
.L59:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L59
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L60
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #4
	strb	r3, [fp, #-17]
.L60:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L61
.L62:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L61:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L62
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L63
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #8
	strb	r3, [fp, #-17]
.L63:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L64
.L65:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L64:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L65
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L66
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #16
	strb	r3, [fp, #-17]
.L66:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L67
.L68:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L67:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L68
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L69
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #32
	strb	r3, [fp, #-17]
.L69:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L70
.L71:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L70:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L71
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L72
	ldrb	r3, [fp, #-17]
	orr	r3, r3, #64
	strb	r3, [fp, #-17]
.L72:
	mvn	r3, #0
	strb	r3, [fp, #-18]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L73
.L74:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]
	and	r3, r3, r2
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L73:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	bls	.L74
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L75
	ldrb	r3, [fp, #-17]
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	strb	r3, [fp, #-17]
.L75:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r2, [fp, #-17]
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L76
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	makebitmap, .-makebitmap
	.section	.rodata
	.align	2
.LC8:
	.ascii	"ZX EVO project:  HEX to BIN + CRC + Header\000"
	.align	2
.LC9:
	.ascii	"usage: make_fw <HexFileName> <EepFileName> <OutputF"
	.ascii	"ileName> <VersionFileName>\000"
	.align	2
.LC10:
	.ascii	"rt\000"
	.align	2
.LC11:
	.ascii	"No info\000"
	.align	2
.LC12:
	.ascii	"Open file %s... \000"
	.align	2
.LC13:
	.ascii	"Can't open file\000"
	.align	2
.LC14:
	.ascii	"Read... \000"
	.align	2
.LC15:
	.ascii	"Close.\000"
	.align	2
.LC16:
	.ascii	"Total %u error(s)!\012\000"
	.align	2
.LC17:
	.ascii	"wb\000"
	.align	2
.LC18:
	.ascii	"Can't create output file!\000"
	.align	2
.LC19:
	.ascii	"Created file %s\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 127752
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #126976
	sub	sp, sp, #780
	sub	r3, fp, #126976
	sub	r3, r3, #12
	str	r0, [r3, #-772]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	str	r1, [r3, #-776]
	ldr	r3, .L115
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L115+4
	bl	puts
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-772]
	cmp	r3, #4
	bgt	.L78
	ldr	r0, .L115+8
	bl	puts
	mov	r3, #2
	b	.L113
.L78:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #90
	strb	r2, [r3, #-132]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #88
	strb	r2, [r3, #-131]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #69
	strb	r2, [r3, #-130]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #86
	strb	r2, [r3, #-129]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #79
	strb	r2, [r3, #-128]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #26
	strb	r2, [r3, #-127]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	mov	r2, #6
	strh	r2, [r3]	@ movhi
	b	.L80
.L81:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	ldrh	r3, [r3]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-132]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L80:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	ldrh	r3, [r3]
	cmp	r3, #127
	bls	.L81
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	mov	r2, #6
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-767]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-772]
	cmp	r3, #6
	bne	.L82
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-776]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L115+12
	bl	strncpy
	ldr	r3, .L115+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #111
	bne	.L82
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mvn	r2, #127
	strb	r2, [r3, #-767]
.L82:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-776]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, #255
	mov	r1, r3
	ldr	r0, .L115+12
	bl	strncpy
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L115+16
	ldr	r0, .L115+12
	bl	fopen
	str	r0, [r4, #-752]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-192]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	cmp	r3, #0
	beq	.L83
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #192
	ldr	r2, [r2, #-752]
	mov	r1, #56
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r0, [r3, #-752]
	bl	fclose
.L83:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L84
.L88:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-192]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L85
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-192]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L86
.L85:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-192]
	b	.L87
.L86:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L84:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #56
	bls	.L88
.L87:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #192
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L89
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #192
	ldr	r2, .L115+20
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
.L89:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #132
	add	r2, r3, r2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #192
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #132
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-776]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #255
	mov	r1, r3
	ldr	r0, .L115+12
	bl	strncpy
	ldr	r1, .L115+12
	ldr	r0, .L115+24
	bl	printf
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L115+16
	ldr	r0, .L115+12
	bl	fopen
	str	r0, [r4, #-752]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	cmp	r3, #0
	bne	.L90
	ldr	r0, .L115+28
	bl	puts
	mov	r3, #1
	b	.L113
.L90:
	ldr	r0, .L115+32
	bl	printf
	sub	r3, fp, #122880
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #126976
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #122880
	mov	r1, r3
	ldr	r0, [r0, #-752]
	bl	readhex
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r0, [r3, #-752]
	bl	fclose
	ldr	r0, .L115+36
	bl	puts
	ldr	r3, .L115+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L91
	ldr	r3, .L115+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L115+44
	bl	printf
	mov	r3, #3
	b	.L113
.L91:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-776]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #255
	mov	r1, r3
	ldr	r0, .L115+12
	bl	strncpy
	ldr	r1, .L115+12
	ldr	r0, .L115+24
	bl	printf
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L115+16
	ldr	r0, .L115+12
	bl	fopen
	str	r0, [r4, #-752]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	cmp	r3, #0
	bne	.L92
	ldr	r0, .L115+28
	bl	puts
	b	.L93
.L92:
	ldr	r0, .L115+32
	bl	printf
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #126976
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, [r0, #-752]
	bl	readhex
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r0, [r3, #-752]
	bl	fclose
	ldr	r0, .L115+36
	bl	puts
	ldr	r3, .L115+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L93
	ldr	r3, .L115+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L115+44
	bl	printf
	mov	r3, #3
	b	.L113
.L93:
	mov	r0, #0
	bl	time
	mov	r3, r0
	sub	r2, fp, #126976
	sub	r2, r2, #12
	str	r3, [r2, #-760]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	mov	r0, r3
	bl	localtime
	mov	r1, r0
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #748
	mov	r2, #44
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-728]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #100
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #9
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #32256
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-732]
	add	r3, r3, #1
	lsl	r3, r3, #5
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #480
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-736]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #31
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #127
	lsl	r3, r3, #24
	asr	r2, r3, #24
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #3
	ldrsb	r3, [r3]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	strb	r2, [r3, #4089]
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	ldrb	r2, [r3, #4089]	@ zero_extendqisi2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	strb	r2, [r3, #-69]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	and	r2, r3, #255
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	strb	r2, [r3, #4088]
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	ldrb	r2, [r3, #4088]	@ zero_extendqisi2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	strb	r2, [r3, #-70]
	sub	r1, fp, #126976
	sub	r1, r1, #12
	sub	r1, r1, #192
	sub	r3, fp, #122880
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #121856
	add	r3, r3, #1008
	mov	r2, #12
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L94
.L99:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r2, r2, #764
	sub	r2, r2, #2
	ldrh	r2, [r2]	@ movhi
	lsl	r2, r2, #8
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, #8
	strb	r2, [r3, #-768]
.L98:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #0
	bge	.L95
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	eor	r3, r3, #4096
	eor	r3, r3, #33
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	b	.L96
.L95:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r2, r2, #760
	sub	r2, r2, #2
	ldrh	r2, [r2]	@ movhi
	lsl	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L96:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]	@ zero_extendqisi2
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r3, r3, #1
	strb	r3, [r2, #-768]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L97
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L98
.L97:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r2, r2, #704
	lsl	r3, r3, #1
	add	r2, r2, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	strh	r3, [r2]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L94:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #255
	bls	.L99
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	mvn	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-756]
	b	.L100
.L101:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	sub	r3, fp, #122880
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	add	r3, r1, r3
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r2, r2, #704
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	eor	r3, r3, r2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	add	r3, r3, #1
	str	r3, [r2, #-756]
.L100:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	ldr	r2, .L115+48
	cmp	r3, r2
	bls	.L101
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	strb	r2, [r3, #4090]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	and	r2, r3, #255
	sub	r3, fp, #122880
	sub	r3, r3, #12
	add	r3, r3, #118784
	strb	r2, [r3, #4091]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #132
	add	r1, r3, #64
	sub	r3, fp, #122880
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #122880
	mov	r0, r3
	bl	makebitmap
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #132
	add	r1, r3, #124
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r0, r3
	bl	makebitmap
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L102
.L103:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r1, fp, #126976
	sub	r1, r1, #12
	add	r3, r1, r3
	ldrb	r3, [r3, #-132]	@ zero_extendqisi2
	eor	r3, r3, r2
	sub	r2, fp, #126976
	sub	r2, r2, #12
	sub	r2, r2, #704
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	eor	r3, r3, r2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L102:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #125
	bls	.L103
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #126976
	sub	r3, r3, #12
	strb	r2, [r3, #-6]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #760
	sub	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	and	r2, r3, #255
	sub	r3, fp, #126976
	sub	r3, r3, #12
	strb	r2, [r3, #-5]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-776]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, #255
	mov	r1, r3
	ldr	r0, .L115+52
	bl	strncpy
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L115+56
	ldr	r0, .L115+52
	bl	fopen
	str	r0, [r4, #-752]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	cmp	r3, #0
	bne	.L104
	ldr	r0, .L115+60
	bl	puts
	mov	r3, #1
	b	.L113
.L104:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r0, fp, #126976
	sub	r0, r0, #12
	sub	r0, r0, #132
	ldr	r3, [r3, #-752]
	mov	r2, #128
	mov	r1, #1
	bl	fwrite
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-756]
.L108:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mvn	r2, #0
	strb	r2, [r3, #-768]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L105
.L106:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-756]
	sub	r2, fp, #122880
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-4]	@ zero_extendqisi2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]
	and	r3, r3, r2
	strb	r3, [r1, #-768]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L105:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #255
	bls	.L106
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L107
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	sub	r2, r3, #256
	sub	r3, fp, #122880
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r0, r3, r2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	mov	r2, #1
	mov	r1, #256
	bl	fwrite
.L107:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	cmp	r3, #122880
	bcc	.L108
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-756]
.L112:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mvn	r2, #0
	strb	r2, [r3, #-768]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L109
.L110:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-756]
	sub	r2, fp, #126976
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-4]	@ zero_extendqisi2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]
	and	r3, r3, r2
	strb	r3, [r1, #-768]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r2, [r3]
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	add	r2, r2, #1
	strh	r2, [r3]	@ movhi
.L109:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #764
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #255
	bls	.L110
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldrb	r3, [r3, #-768]	@ zero_extendqisi2
	cmp	r3, #255
	beq	.L111
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	sub	r2, r3, #256
	sub	r3, fp, #126976
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r0, r3, r2
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-752]
	mov	r2, #1
	mov	r1, #256
	bl	fwrite
.L111:
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r3, [r3, #-756]
	cmp	r3, #4096
	bcc	.L112
	sub	r3, fp, #126976
	sub	r3, r3, #12
	ldr	r0, [r3, #-752]
	bl	fclose
	ldr	r1, .L115+52
	ldr	r0, .L115+64
	bl	printf
	mov	r3, #0
.L113:
	ldr	r2, .L115
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L114
	bl	__stack_chk_fail
.L114:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC20
	.word	.LC8
	.word	.LC9
	.word	s1
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	err
	.word	.LC16
	.word	122877
	.word	target
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
