	.file	"735668.c"
	.intel_syntax noprefix
	.text
	.globl	data_0x46eaf0
	.bss
	.align 32
	.type	data_0x46eaf0, @object
	.size	data_0x46eaf0, 512
data_0x46eaf0:
	.zero	512
	.globl	data_0x46eae0
	.align 4
	.type	data_0x46eae0, @object
	.size	data_0x46eae0, 4
data_0x46eae0:
	.zero	4
	.globl	data_0x46ecf0
	.align 32
	.type	data_0x46ecf0, @object
	.size	data_0x46ecf0, 64
data_0x46ecf0:
	.zero	64
	.globl	sub_46ed30
	.align 8
	.type	sub_46ed30, @object
	.size	sub_46ed30, 12
sub_46ed30:
	.zero	12
	.text
	.globl	sub_12180
	.type	sub_12180, @function
sub_12180:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L2
.L5:
	mov	rcx, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L3
	mov	eax, -1
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sub	QWORD PTR -32[rbp], rax
.L2:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -32[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sub_12180, .-sub_12180
	.globl	sub_12210
	.type	sub_12210, @function
sub_12210:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L7
.L11:
	mov	rcx, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L8
	mov	eax, -1
	jmp	.L9
.L8:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L10
	mov	eax, -1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sub	QWORD PTR -32[rbp], rax
.L7:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -32[rbp]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sub_12210, .-sub_12210
	.section	.rodata
.LC0:
	.string	"\n"
	.text
	.globl	sub_122c0
	.type	sub_122c0, @function
sub_122c0:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L13
	mov	eax, -1
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, 1
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sub_122c0, .-sub_122c0
	.section	.rodata
.LC1:
	.string	"Ascii id: "
	.text
	.globl	sub_12340
	.type	sub_12340, @function
sub_12340:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 64
	mov	esi, 0
	lea	rdi, data_0x46ecf0[rip]
	call	memset@PLT
	mov	esi, 8
	lea	rdi, data_0x46ecf0[rip]
	call	sub_122c0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sub_12340, .-sub_12340
	.section	.rodata
.LC2:
	.string	"(X, Y) char"
.LC3:
	.string	"pixel: "
	.text
	.globl	sub_12390
	.type	sub_12390, @function
sub_12390:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 64
	mov	esi, 0
	lea	rdi, data_0x46ecf0[rip]
	call	memset@PLT
	mov	edx, 12
	mov	esi, 0
	lea	rdi, sub_46ed30[rip]
	call	memset@PLT
	mov	esi, 64
	lea	rdi, data_0x46ecf0[rip]
	call	sub_122c0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sub_12390, .-sub_12390
	.globl	sub_12420
	.type	sub_12420, @function
sub_12420:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 64
	mov	esi, 0
	lea	rdi, data_0x46ecf0[rip]
	call	memset@PLT
	mov	esi, 64
	lea	rdi, data_0x46ecf0[rip]
	call	sub_122c0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	sub_12420, .-sub_12420
	.globl	sub_12460
	.type	sub_12460, @function
sub_12460:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	DWORD PTR data_0x46eae0[rip], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	ebx, DWORD PTR data_0x46eae0[rip]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 16832
	mov	edi, 0
	call	mmap@PLT
	movsx	rdx, ebx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, data_0x46eaf0[rip+8]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR data_0x46eae0[rip]
	add	eax, 1
	mov	DWORD PTR data_0x46eae0[rip], eax
.L22:
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cmp	eax, 1
	jle	.L23
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	sub_12460, .-sub_12460
	.globl	sub_12510
	.type	sub_12510, @function
sub_12510:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cmp	eax, 31
	jle	.L25
	mov	eax, -1
	jmp	.L26
.L25:
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	ebx, DWORD PTR data_0x46eae0[rip]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 16832
	mov	edi, 0
	call	mmap@PLT
	movsx	rdx, ebx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, data_0x46eaf0[rip+8]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR data_0x46eae0[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR data_0x46eae0[rip], edx
.L26:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	sub_12510, .-sub_12510
	.globl	sub_125b0
	.type	sub_125b0, @function
sub_125b0:
.LFB14:
	.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 15
	setg	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	sub_125b0, .-sub_125b0
	.globl	sub_125d0
	.type	sub_125d0, @function
sub_125d0:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L33:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	sub_125b0
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L32
.L31:
	add	DWORD PTR -4[rbp], 1
.L30:
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L33
	mov	eax, -1
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sub_125d0, .-sub_125d0
	.globl	sub_12650
	.type	sub_12650, @function
sub_12650:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L35
.L38:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax, 1052
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 8[rax]
	test	al, al
	jne	.L36
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L37
.L36:
	add	DWORD PTR -20[rbp], 1
.L35:
	cmp	DWORD PTR -20[rbp], 15
	jle	.L38
	mov	eax, 0
.L37:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	sub_12650, .-sub_12650
	.section	.rodata
.LC4:
	.string	"allocator OOM: no pools left"
.LC5:
	.string	"allocator OOM: no chunks left"
	.text
	.globl	sub_126f0
	.type	sub_126f0, @function
sub_126f0:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	call	sub_125d0
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L40
	call	sub_12510
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L40
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L41
.L40:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	sub_12650
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L42
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1052
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR -8[rbp]
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	sub_126f0, .-sub_126f0
	.globl	sub_127d0
	.type	sub_127d0, @function
sub_127d0:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L44
.L50:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L45
.L49:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax, 1052
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L46
	cmp	QWORD PTR -48[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
.L47:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L48
.L46:
	add	DWORD PTR -20[rbp], 1
.L45:
	cmp	DWORD PTR -20[rbp], 15
	jle	.L49
	add	DWORD PTR -24[rbp], 1
.L44:
	mov	eax, DWORD PTR data_0x46eae0[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L50
	mov	eax, 0
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	sub_127d0, .-sub_127d0
	.globl	sub_128d0
	.type	sub_128d0, @function
sub_128d0:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1052
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	sub_128d0, .-sub_128d0
	.globl	sub_12900
	.type	sub_12900, @function
sub_12900:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sub_127d0
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L53
	mov	eax, -1
	jmp	.L55
.L53:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	sub_128d0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rdx]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, data_0x46eaf0[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -20[rbp]
.L55:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	sub_12900, .-sub_12900
	.section	.rodata
.LC6:
	.string	"ASCI"
	.text
	.globl	sub_129b0
	.type	sub_129b0, @function
sub_129b0:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L58
	mov	eax, -1
	jmp	.L59
.L58:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jns	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
.L60:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jns	.L61
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], edx
.L61:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	jns	.L62
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 12[rax], edx
.L62:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 32
	jle	.L63
	mov	eax, -1
	jmp	.L59
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 32
	jle	.L64
	mov	eax, -1
	jmp	.L59
.L64:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1024
	jle	.L65
	mov	eax, -1
	jmp	.L59
.L65:
	mov	eax, 1
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	sub_129b0, .-sub_129b0
	.section	.rodata
.LC7:
	.string	"no bytes read"
.LC8:
	.string	"no image found with id %s\n"
	.text
	.globl	sub_12aa0
	.type	sub_12aa0, @function
sub_12aa0:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	call	sub_12340
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L67
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L68
.L67:
	mov	esi, 0
	lea	rdi, data_0x46ecf0[rip]
	call	sub_127d0
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L69
	lea	rsi, data_0x46ecf0[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L68
.L69:
	mov	rax, QWORD PTR -8[rbp]
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	sub_12aa0, .-sub_12aa0
	.globl	sub_12b40
	.type	sub_12b40, @function
sub_12b40:
.LFB23:
	.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	sub_12b40, .-sub_12b40
	.globl	sub_12b60
	.type	sub_12b60, @function
sub_12b60:
.LFB24:
	.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 28
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	sub_12b60, .-sub_12b60
	.section	.rodata
.LC9:
	.string	"Upload ascii"
.LC10:
	.string	"Invalid image"
	.text
	.globl	sub_12b80
	.type	sub_12b80, @function
sub_12b80:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	call	sub_126f0
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L78
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	sub_122c0
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 12
	mov	esi, 1040
	mov	rdi, rax
	call	sub_12180
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L77
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sub_128d0
.L77:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sub_12b40
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	sub_129b0
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L74
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sub_128d0
	jmp	.L74
.L78:
	nop
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	sub_12b80, .-sub_12b80
	.section	.rodata
.LC11:
	.string	"<<<EOF\n"
	.text
	.globl	sub_12c70
	.type	sub_12c70, @function
sub_12c70:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	call	sub_12aa0
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L82
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sub_12b60
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sub_12b40
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	imul	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sub_12210
	mov	esi, 7
	lea	rdi, .LC11[rip]
	call	sub_12210
	jmp	.L79
.L82:
	nop
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	sub_12c70, .-sub_12c70
	.section	.rodata
	.align 8
.LC12:
	.string	"Ascii Image %s was successfully deleted\n"
	.text
	.globl	sub_12d00
	.type	sub_12d00, @function
sub_12d00:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	call	sub_12340
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L84
	lea	rsi, data_0x46ecf0[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L83
.L84:
	lea	rdi, data_0x46ecf0[rip]
	call	sub_12900
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L86
	lea	rsi, data_0x46ecf0[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L83
.L86:
	lea	rsi, data_0x46ecf0[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	sub_12d00, .-sub_12d00
	.section	.rodata
.LC13:
	.string	"Upload filter"
	.text
	.globl	sub_12da0
	.type	sub_12da0, @function
sub_12da0:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1060[rbp], 0
	mov	DWORD PTR -1064[rbp], 0
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	call	sub_12aa0
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	je	.L95
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	sub_12180
	mov	DWORD PTR -1060[rbp], eax
	cmp	DWORD PTR -1060[rbp], -1
	jne	.L90
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L87
.L90:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	sub_12b60
	mov	QWORD PTR -1048[rbp], rax
	mov	DWORD PTR -1064[rbp], 0
	jmp	.L91
.L92:
	mov	eax, DWORD PTR -1064[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1048[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, DWORD PTR -1064[rbp]
	cdqe
	movzx	eax, BYTE PTR -1040[rbp+rax]
	mov	ecx, edx
	or	ecx, eax
	mov	eax, DWORD PTR -1064[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1048[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -1064[rbp], 1
.L91:
	mov	eax, DWORD PTR -1064[rbp]
	cmp	eax, DWORD PTR -1060[rbp]
	jl	.L92
	jmp	.L87
.L95:
	nop
.L87:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L94
	call	__stack_chk_fail@PLT
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	sub_12da0, .-sub_12da0
	.section	.rodata
.LC14:
	.string	"%2d |"
.LC15:
	.string	"   "
.LC16:
	.string	" %2c"
.LC17:
	.string	" %2x"
.LC18:
	.string	"     "
.LC19:
	.string	"__ "
.LC20:
	.string	"\n     "
.LC21:
	.string	"%2d "
.LC22:
	.string	""
	.text
	.globl	sub_12eb0
	.type	sub_12eb0, @function
sub_12eb0:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	BYTE PTR -37[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sub_12b60
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sub_12b40
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -32[rbp], 31
	jmp	.L97
.L106:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L98
.L105:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, ecx
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jne	.L99
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L99:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -37[rbp], al
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L100
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L101
.L100:
	cmp	BYTE PTR -37[rbp], 0
	jne	.L102
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L101
.L102:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -37[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L103
	movsx	eax, BYTE PTR -37[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L101
.L103:
	movsx	eax, BYTE PTR -37[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L101:
	cmp	DWORD PTR -36[rbp], 31
	jne	.L104
	mov	edi, 10
	call	putchar@PLT
.L104:
	add	DWORD PTR -36[rbp], 1
.L98:
	cmp	DWORD PTR -36[rbp], 31
	jle	.L105
	sub	DWORD PTR -32[rbp], 1
.L97:
	cmp	DWORD PTR -32[rbp], 0
	jns	.L106
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L107
.L108:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L107:
	cmp	DWORD PTR -36[rbp], 31
	jle	.L108
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L109
.L110:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L109:
	cmp	DWORD PTR -36[rbp], 31
	jle	.L110
	lea	rdi, .LC22[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	sub_12eb0, .-sub_12eb0
	.section	.rodata
.LC23:
	.string	"(%d, %d) %c"
.LC24:
	.string	"%d is invalid for x\n"
.LC25:
	.string	"%d is invalid for y\n"
.LC26:
	.string	"integer overflow detected!"
.LC27:
	.string	"index %d out of bounds!\n"
	.text
	.globl	sub_130f0
	.type	sub_130f0, @function
sub_130f0:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	sub_12b60
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	sub_12b40
	mov	QWORD PTR -16[rbp], rax
	call	sub_12390
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], -1
	je	.L121
	lea	r8, sub_46ed30[rip+8]
	lea	rcx, sub_46ed30[rip+4]
	lea	rdx, sub_46ed30[rip]
	lea	rsi, .LC23[rip]
	lea	rdi, data_0x46ecf0[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 3
	jne	.L122
	mov	eax, DWORD PTR sub_46ed30[rip]
	test	eax, eax
	jns	.L115
	mov	eax, DWORD PTR sub_46ed30[rip]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L111
.L115:
	mov	eax, DWORD PTR sub_46ed30[rip+4]
	test	eax, eax
	jns	.L116
	mov	eax, DWORD PTR sub_46ed30[rip+4]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L111
.L116:
	mov	edx, DWORD PTR sub_46ed30[rip+4]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	ecx, DWORD PTR sub_46ed30[rip+4]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	esi
	cmp	ecx, eax
	je	.L117
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L111
.L117:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L118
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L111
.L118:
	mov	eax, DWORD PTR sub_46ed30[rip]
	add	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L119
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L111
.L119:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	imul	eax, edx
	cmp	DWORD PTR -20[rbp], eax
	jl	.L120
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L111
.L120:
	movzx	edx, BYTE PTR sub_46ed30[rip+8]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	jmp	.L111
.L121:
	nop
	jmp	.L111
.L122:
	nop
.L111:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	sub_130f0, .-sub_130f0
	.section	.rodata
.LC28:
	.string	"1. Change Pixel"
.LC29:
	.string	"2. Print Grid"
.LC30:
	.string	"3. Help"
.LC31:
	.string	"4. back"
.LC32:
	.string	">>> "
	.align 8
.LC33:
	.string	"(X, Y) char\nExample: (16, 10) A"
.LC34:
	.string	"Invalid input."
	.text
	.globl	sub_13300
	.type	sub_13300, @function
sub_13300:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -13[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	call	sub_12340
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L124
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L123
.L124:
	mov	esi, 0
	lea	rdi, data_0x46ecf0[rip]
	call	sub_127d0
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L126
	lea	rsi, data_0x46ecf0[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L123
.L126:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	call	sub_12420
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L127
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L123
.L127:
	movzx	eax, BYTE PTR data_0x46ecf0[rip]
	sub	eax, 48
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 1
	jne	.L128
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sub_130f0
	jmp	.L126
.L128:
	cmp	BYTE PTR -13[rbp], 2
	jne	.L130
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sub_12eb0
	jmp	.L126
.L130:
	cmp	BYTE PTR -13[rbp], 3
	jne	.L131
	lea	rdi, .LC33[rip]
	call	puts@PLT
	jmp	.L129
.L131:
	cmp	BYTE PTR -13[rbp], 4
	je	.L133
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L129:
	jmp	.L126
.L133:
	nop
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	sub_13300, .-sub_13300
	.section	.rodata
.LC35:
	.string	"1. Touchup Ascii Art"
.LC36:
	.string	"2. Add filter to Ascii Art"
.LC37:
	.string	"Welcome to AsciiShop"
	.align 8
.LC38:
	.string	"\tTouchup your photo with option 1"
	.align 8
.LC39:
	.string	"\tAdd a filter to your photo with option 2"
.LC40:
	.string	"Invalid option."
	.text
	.globl	sub_134a0
	.type	sub_134a0, @function
sub_134a0:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -1[rbp], 0
.L141:
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rdi, .LC36[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	call	sub_12420
	movzx	eax, BYTE PTR data_0x46ecf0[rip]
	sub	eax, 48
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 1
	jne	.L135
	call	sub_13300
	jmp	.L141
.L135:
	cmp	BYTE PTR -1[rbp], 2
	jne	.L137
	call	sub_12da0
	jmp	.L141
.L137:
	cmp	BYTE PTR -1[rbp], 3
	jne	.L138
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	call	puts@PLT
	lea	rdi, .LC39[rip]
	call	puts@PLT
	jmp	.L141
.L138:
	cmp	BYTE PTR -1[rbp], 4
	je	.L143
	lea	rdi, .LC40[rip]
	call	puts@PLT
	jmp	.L141
.L143:
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	sub_134a0, .-sub_134a0
	.section	.rodata
	.align 8
.LC41:
	.string	"++++++++++++++++++++++++++++++++++++++++++"
	.align 8
.LC42:
	.string	"+WWWWWWNNNXkc,'..   ....   ....,,;;;oKWWW+"
	.align 8
.LC43:
	.string	"+WWWWWNNXx;...',,'.......      ..,;;;oXWW+"
	.align 8
.LC44:
	.string	"+WWWWNWXl.     ................. ..,:ckNW+"
	.align 8
.LC45:
	.string	"+WWWWWNo.                ............:kNW+"
	.align 8
.LC46:
	.string	"+WWWWWK;                 .............lKW+"
	.align 8
.LC47:
	.string	"+NXXXKO;      .......'',,;;;.......''.'xW+"
	.align 8
.LC48:
	.string	"+K000Ok;    ..';;;,;looddddo:',,..':c'.;K+"
	.align 8
.LC49:
	.string	"+KOOOkd:. .......';codxkxdodlldd,..;ll,,O+"
	.align 8
.LC50:
	.string	"+XOO0kxd'.',.......;oxo;'..,:cdd:. .'ccc0+"
	.align 8
.LC51:
	.string	"+Kxdkolo;.;c:;;:c:;lO0xc;,';cloxl.  .;cxN+"
	.align 8
.LC52:
	.string	"+XkxOkdx:.;lddddolcxKK0kxddxkO00d..,loONW+"
	.align 8
.LC53:
	.string	"+NXXXXXXk;':ldxxdlo0XXXK0000000Od,;k0KNWW+"
	.align 8
.LC54:
	.string	"+NXXXKKOd'.;ldxxdcoO00K0O0K0OOOko,lOkOXWW+"
	.align 8
.LC55:
	.string	"+odkkxdo, .,cdddl:;codx000000OOk;..:xKNNW+"
	.align 8
.LC56:
	.string	"+:odddol;...:olc;,:ldxkOOO00OOOx:,,;;cxXN+"
	.align 8
.LC57:
	.string	"+..;ldoll;..';c:'',:ccldxxkOOOkocll:,',l0+"
	.align 8
.LC58:
	.string	"+.  :xdolc'...,;;,,:cloxkkkkkxc,.':c;,''c+"
	.align 8
.LC59:
	.string	"+   ;xdoll;....,cccldxxOOkxdxd,..';;;;'.'+"
	.align 8
.LC60:
	.string	"+   :kxdlc;..'..'',;:ccllodkxl,..,:,;;...+"
	.align 8
.LC61:
	.string	"+   ;l:,...  .'...     .'o0k:;,'.,l,',...+"
	.align 8
.LC62:
	.string	"++                                      ++"
	.align 8
.LC63:
	.string	"++++++++++      AsciiShop       ++++++++++"
	.align 8
.LC64:
	.string	"++++++++++   Reimagine Ascii.   ++++++++++"
	.text
	.globl	sub_135c0
	.type	sub_135c0, @function
sub_135c0:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	call	puts@PLT
	lea	rdi, .LC43[rip]
	call	puts@PLT
	lea	rdi, .LC44[rip]
	call	puts@PLT
	lea	rdi, .LC45[rip]
	call	puts@PLT
	lea	rdi, .LC46[rip]
	call	puts@PLT
	lea	rdi, .LC47[rip]
	call	puts@PLT
	lea	rdi, .LC48[rip]
	call	puts@PLT
	lea	rdi, .LC49[rip]
	call	puts@PLT
	lea	rdi, .LC50[rip]
	call	puts@PLT
	lea	rdi, .LC51[rip]
	call	puts@PLT
	lea	rdi, .LC52[rip]
	call	puts@PLT
	lea	rdi, .LC53[rip]
	call	puts@PLT
	lea	rdi, .LC54[rip]
	call	puts@PLT
	lea	rdi, .LC55[rip]
	call	puts@PLT
	lea	rdi, .LC56[rip]
	call	puts@PLT
	lea	rdi, .LC57[rip]
	call	puts@PLT
	lea	rdi, .LC58[rip]
	call	puts@PLT
	lea	rdi, .LC59[rip]
	call	puts@PLT
	lea	rdi, .LC60[rip]
	call	puts@PLT
	lea	rdi, .LC61[rip]
	call	puts@PLT
	lea	rdi, .LC62[rip]
	call	puts@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC63[rip]
	call	puts@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC64[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	sub_135c0, .-sub_135c0
	.globl	sub_13760
	.type	sub_13760, @function
sub_13760:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 60
	call	alarm@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	call	sub_135c0
	call	sub_12460
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	sub_13760, .-sub_13760
	.section	.rodata
.LC65:
	.string	"1. Upload ascii art"
.LC66:
	.string	"2. Download ascii art"
.LC67:
	.string	"3. Delete ascii art"
.LC68:
	.string	"4. Asciishop"
.LC69:
	.string	"5. Exit"
	.text
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -1[rbp], 0
	call	sub_13760
.L154:
	lea	rdi, .LC65[rip]
	call	puts@PLT
	lea	rdi, .LC66[rip]
	call	puts@PLT
	lea	rdi, .LC67[rip]
	call	puts@PLT
	lea	rdi, .LC68[rip]
	call	puts@PLT
	lea	rdi, .LC69[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	call	sub_12420
	movzx	eax, BYTE PTR data_0x46ecf0[rip]
	sub	eax, 48
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 1
	jne	.L147
	call	sub_12b80
	jmp	.L154
.L147:
	cmp	BYTE PTR -1[rbp], 2
	jne	.L149
	call	sub_12c70
	jmp	.L154
.L149:
	cmp	BYTE PTR -1[rbp], 3
	jne	.L150
	call	sub_12d00
	jmp	.L154
.L150:
	cmp	BYTE PTR -1[rbp], 4
	jne	.L151
	call	sub_134a0
	jmp	.L154
.L151:
	cmp	BYTE PTR -1[rbp], 5
	je	.L157
	lea	rdi, .LC40[rip]
	call	puts@PLT
	jmp	.L154
.L157:
	nop
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.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	"735668.c"
	.text
	.comm	data_0x46eaf0,256,4
	.global	data_0x46eae0
	.bss
	.align	2
	.type	data_0x46eae0, %object
	.size	data_0x46eae0, 4
data_0x46eae0:
	.space	4
	.comm	data_0x46ecf0,64,4
	.comm	sub_46ed30,12,4
	.text
	.align	2
	.global	sub_12180
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12180, %function
sub_12180:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L2
.L5:
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L3
	mvn	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-20]
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stdin
	.size	sub_12180, .-sub_12180
	.align	2
	.global	sub_12210
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12210, %function
sub_12210:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L9
.L13:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	fwrite
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	mvn	r3, #0
	b	.L11
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L12
	mvn	r3, #0
	b	.L11
.L12:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-20]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	stdout
	.size	sub_12210, .-sub_12210
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.global	sub_122c0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_122c0, %function
sub_122c0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L19
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mvn	r3, #0
	b	.L18
.L17:
	ldr	r1, .L19+4
	ldr	r0, [fp, #-8]
	bl	strcspn
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #1
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stdin
	.word	.LC0
	.size	sub_122c0, .-sub_122c0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Ascii id: \000"
	.text
	.align	2
	.global	sub_12340
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12340, %function
sub_12340:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L23
	bl	printf
	mov	r2, #64
	mov	r1, #0
	ldr	r0, .L23+4
	bl	memset
	mov	r1, #8
	ldr	r0, .L23+4
	bl	sub_122c0
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	data_0x46ecf0
	.size	sub_12340, .-sub_12340
	.section	.rodata
	.align	2
.LC2:
	.ascii	"(X, Y) char\000"
	.align	2
.LC3:
	.ascii	"pixel: \000"
	.text
	.align	2
	.global	sub_12390
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12390, %function
sub_12390:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L27
	bl	puts
	ldr	r0, .L27+4
	bl	printf
	mov	r2, #64
	mov	r1, #0
	ldr	r0, .L27+8
	bl	memset
	mov	r2, #12
	mov	r1, #0
	ldr	r0, .L27+12
	bl	memset
	mov	r1, #64
	ldr	r0, .L27+8
	bl	sub_122c0
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC2
	.word	.LC3
	.word	data_0x46ecf0
	.word	sub_46ed30
	.size	sub_12390, .-sub_12390
	.align	2
	.global	sub_12420
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12420, %function
sub_12420:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #64
	mov	r1, #0
	ldr	r0, .L31
	bl	memset
	mov	r1, #64
	ldr	r0, .L31
	bl	sub_122c0
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	data_0x46ecf0
	.size	sub_12420, .-sub_12420
	.align	2
	.global	sub_12460
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12460, %function
sub_12460:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L36
	mov	r2, #0
	str	r2, [r3]
	b	.L34
.L35:
	ldr	r3, .L36
	ldr	r3, [r3]
	ldr	r2, .L36+4
	mov	r1, #0
	str	r1, [r2, r3, lsl #3]
	ldr	r3, .L36
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	ldr	r1, .L36+8
	mov	r0, #0
	bl	mmap
	mov	r2, r0
	ldr	r1, .L36+4
	lsl	r3, r4, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36
	str	r3, [r2]
.L34:
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L35
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	data_0x46eae0
	.word	data_0x46eaf0
	.word	16832
	.size	sub_12460, .-sub_12460
	.align	2
	.global	sub_12510
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12510, %function
sub_12510:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L41
	ldr	r3, [r3]
	cmp	r3, #31
	ble	.L39
	mvn	r3, #0
	b	.L40
.L39:
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, .L41+4
	mov	r1, #0
	str	r1, [r2, r3, lsl #3]
	ldr	r3, .L41
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	ldr	r1, .L41+8
	mov	r0, #0
	bl	mmap
	mov	r2, r0
	ldr	r1, .L41+4
	lsl	r3, r4, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L41
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L41
	str	r2, [r1]
.L40:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L42:
	.align	2
.L41:
	.word	data_0x46eae0
	.word	data_0x46eaf0
	.word	16832
	.size	sub_12510, .-sub_12510
	.align	2
	.global	sub_125b0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_125b0, %function
sub_125b0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #15
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sub_125b0, .-sub_125b0
	.align	2
	.global	sub_125d0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_125d0, %function
sub_125d0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L46
.L49:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L50
	add	r3, r3, r2
	mov	r0, r3
	bl	sub_125b0
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-8]
	b	.L48
.L47:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L46:
	ldr	r3, .L50+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L49
	mvn	r3, #0
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	data_0x46eaf0
	.word	data_0x46eae0
	.size	sub_125d0, .-sub_125d0
	.align	2
	.global	sub_12650
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12650, %function
sub_12650:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, .L57
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L53
.L56:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-8]
	b	.L55
.L54:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L53:
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	ble	.L56
	mov	r3, #0
.L55:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L58:
	.align	2
.L57:
	.word	data_0x46eaf0
	.size	sub_12650, .-sub_12650
	.section	.rodata
	.align	2
.LC4:
	.ascii	"allocator OOM: no pools left\000"
	.align	2
.LC5:
	.ascii	"allocator OOM: no chunks left\000"
	.text
	.align	2
	.global	sub_126f0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_126f0, %function
sub_126f0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_125d0
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L60
	bl	sub_12510
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L60
	ldr	r0, .L63
	bl	puts
	mov	r3, #0
	b	.L61
.L60:
	ldr	r0, [fp, #-12]
	bl	sub_12650
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L62
	ldr	r0, .L63+4
	bl	puts
	mov	r3, #0
	b	.L61
.L62:
	ldr	r2, .L63+8
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r3, [fp, #-8]
	mov	r2, #1
	strb	r2, [r3, #8]
	ldr	r2, .L63+12
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #3]
	add	r2, r3, #1
	ldr	r1, .L63+12
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #3]
	ldr	r3, [fp, #-8]
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC4
	.word	.LC5
	.word	1052
	.word	data_0x46eaf0
	.size	sub_126f0, .-sub_126f0
	.align	2
	.global	sub_127d0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_127d0, %function
sub_127d0:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L66
.L72:
	ldr	r2, .L73
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L67
.L71:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #8
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L69:
	ldr	r3, [fp, #-8]
	b	.L70
.L68:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L67:
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	ble	.L71
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L66:
	ldr	r3, .L73+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L72
	mov	r3, #0
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	data_0x46eaf0
	.word	data_0x46eae0
	.size	sub_127d0, .-sub_127d0
	.align	2
	.global	sub_128d0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_128d0, %function
sub_128d0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r2, .L76
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	1052
	.size	sub_128d0, .-sub_128d0
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sub_12900
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12900, %function
sub_12900:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	sub_127d0
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L79
	mvn	r3, #0
	b	.L81
.L79:
	ldr	r0, [fp, #-12]
	bl	sub_128d0
	ldr	r3, [fp, #-16]
	ldr	r2, .L83+4
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, [fp, #-16]
	sub	r2, r2, #1
	ldr	r1, .L83+4
	str	r2, [r1, r3, lsl #3]
	ldr	r3, [fp, #-16]
.L81:
	ldr	r2, .L83
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L82
	bl	__stack_chk_fail
.L82:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC6
	.word	data_0x46eaf0
	.size	sub_12900, .-sub_12900
	.section	.rodata
	.align	2
.LC7:
	.ascii	"ASCI\000"
	.text
	.align	2
	.global	sub_129b0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_129b0, %function
sub_129b0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L94
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L86
	mvn	r3, #0
	b	.L87
.L86:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L88
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L88:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bge	.L89
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
.L89:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bge	.L90
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
.L90:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #32
	ble	.L91
	mvn	r3, #0
	b	.L87
.L91:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #32
	ble	.L92
	mvn	r3, #0
	b	.L87
.L92:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #1024
	ble	.L93
	mvn	r3, #0
	b	.L87
.L93:
	mov	r3, #1
.L87:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC7
	.size	sub_129b0, .-sub_129b0
	.section	.rodata
	.align	2
.LC8:
	.ascii	"no bytes read\000"
	.align	2
.LC9:
	.ascii	"no image found with id %s\012\000"
	.text
	.align	2
	.global	sub_12aa0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12aa0, %function
sub_12aa0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_12340
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L97
	ldr	r0, .L100
	bl	puts
	mov	r3, #0
	b	.L98
.L97:
	mov	r1, #0
	ldr	r0, .L100+4
	bl	sub_127d0
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L99
	ldr	r1, .L100+4
	ldr	r0, .L100+8
	bl	printf
	mov	r3, #0
	b	.L98
.L99:
	ldr	r3, [fp, #-8]
.L98:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	.LC8
	.word	data_0x46ecf0
	.word	.LC9
	.size	sub_12aa0, .-sub_12aa0
	.align	2
	.global	sub_12b40
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12b40, %function
sub_12b40:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sub_12b40, .-sub_12b40
	.align	2
	.global	sub_12b60
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12b60, %function
sub_12b60:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sub_12b60, .-sub_12b60
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Upload ascii\000"
	.align	2
.LC11:
	.ascii	"Invalid image\000"
	.text
	.align	2
	.global	sub_12b80
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12b80, %function
sub_12b80:
	@ 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, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_126f0
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L110
	ldr	r0, .L111
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, #8
	mov	r0, r3
	bl	sub_122c0
	ldr	r0, .L111+4
	bl	puts
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	mov	r1, #1040
	mov	r0, r3
	bl	sub_12180
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L109
	ldr	r0, .L111+8
	bl	puts
	ldr	r0, [fp, #-12]
	bl	sub_128d0
.L109:
	ldr	r0, [fp, #-12]
	bl	sub_12b40
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	sub_129b0
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L106
	ldr	r0, .L111+8
	bl	puts
	ldr	r0, [fp, #-12]
	bl	sub_128d0
	b	.L106
.L110:
	nop
.L106:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC1
	.word	.LC10
	.word	.LC11
	.size	sub_12b80, .-sub_12b80
	.section	.rodata
	.align	2
.LC12:
	.ascii	"<<<EOF\012\000"
	.text
	.align	2
	.global	sub_12c70
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12c70, %function
sub_12c70:
	@ 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, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_12aa0
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L116
	ldr	r0, [fp, #-16]
	bl	sub_12b60
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	sub_12b40
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	sub_12210
	mov	r1, #7
	ldr	r0, .L117
	bl	sub_12210
	b	.L113
.L116:
	nop
.L113:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	.LC12
	.size	sub_12c70, .-sub_12c70
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Ascii Image %s was successfully deleted\012\000"
	.text
	.align	2
	.global	sub_12d00
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12d00, %function
sub_12d00:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_12340
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L120
	ldr	r1, .L123
	ldr	r0, .L123+4
	bl	printf
	b	.L119
.L120:
	ldr	r0, .L123
	bl	sub_12900
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L122
	ldr	r1, .L123
	ldr	r0, .L123+4
	bl	printf
	b	.L119
.L122:
	ldr	r1, .L123
	ldr	r0, .L123+8
	bl	printf
.L119:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	data_0x46ecf0
	.word	.LC9
	.word	.LC13
	.size	sub_12d00, .-sub_12d00
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Upload filter\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sub_12da0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12da0, %function
sub_12da0:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	ldr	r3, .L134
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1044]
	mov	r3, #0
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1040]
	mov	r3, #0
	str	r3, [fp, #-1036]
	bl	sub_12aa0
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	beq	.L133
	ldr	r0, .L134+4
	bl	puts
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	sub_12180
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmn	r3, #1
	bne	.L128
	ldr	r0, .L134+8
	bl	puts
	b	.L125
.L128:
	ldr	r0, [fp, #-1040]
	bl	sub_12b60
	str	r0, [fp, #-1036]
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L129
.L130:
	ldr	r3, [fp, #-1048]
	ldr	r2, [fp, #-1036]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1048]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-1048]
	ldr	r0, [fp, #-1036]
	add	r3, r0, r3
	orr	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L129:
	ldr	r2, [fp, #-1048]
	ldr	r3, [fp, #-1044]
	cmp	r2, r3
	blt	.L130
	b	.L125
.L133:
	nop
.L125:
	ldr	r3, .L134
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L132
	bl	__stack_chk_fail
.L132:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L135:
	.align	2
.L134:
	.word	.LC15
	.word	.LC14
	.word	.LC8
	.size	sub_12da0, .-sub_12da0
	.section	.rodata
	.align	2
.LC16:
	.ascii	"%2d |\000"
	.align	2
.LC17:
	.ascii	"   \000"
	.align	2
.LC18:
	.ascii	" %2c\000"
	.align	2
.LC19:
	.ascii	" %2x\000"
	.align	2
.LC20:
	.ascii	"     \000"
	.align	2
.LC21:
	.ascii	"__ \000"
	.align	2
.LC22:
	.ascii	"\012     \000"
	.align	2
.LC23:
	.ascii	"%2d \000"
	.align	2
.LC24:
	.ascii	"\000"
	.text
	.align	2
	.global	sub_12eb0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_12eb0, %function
sub_12eb0:
	@ 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, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-29]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-40]
	bl	sub_12b60
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-40]
	bl	sub_12b40
	str	r0, [fp, #-12]
	mov	r3, #31
	str	r3, [fp, #-24]
	b	.L137
.L146:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L138
.L145:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-24]
	mul	r1, r3, r1
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L139
	ldr	r1, [fp, #-24]
	ldr	r0, .L151
	bl	printf
.L139:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-29]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L140
	ldr	r0, .L151+4
	bl	printf
	b	.L141
.L140:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L142
	ldr	r0, .L151+4
	bl	printf
	b	.L141
.L142:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L143
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L151+8
	bl	printf
	b	.L141
.L143:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L151+12
	bl	printf
.L141:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	bne	.L144
	mov	r0, #10
	bl	putchar
.L144:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L138:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	ble	.L145
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L137:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L146
	ldr	r0, .L151+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L147
.L148:
	ldr	r0, .L151+20
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L147:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	ble	.L148
	ldr	r0, .L151+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L149
.L150:
	ldr	r1, [fp, #-28]
	ldr	r0, .L151+28
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L149:
	ldr	r3, [fp, #-28]
	cmp	r3, #31
	ble	.L150
	ldr	r0, .L151+32
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	sub_12eb0, .-sub_12eb0
	.section	.rodata
	.align	2
.LC25:
	.ascii	"(%d, %d) %c\000"
	.align	2
.LC26:
	.ascii	"%d is invalid for x\012\000"
	.align	2
.LC27:
	.ascii	"%d is invalid for y\012\000"
	.global	__aeabi_idiv
	.align	2
.LC28:
	.ascii	"integer overflow detected!\000"
	.align	2
.LC29:
	.ascii	"index %d out of bounds!\012\000"
	.text
	.align	2
	.global	sub_130f0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_130f0, %function
sub_130f0:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	sub_12b60
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	sub_12b40
	str	r0, [fp, #-20]
	bl	sub_12390
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	beq	.L163
	ldr	r3, .L165
	str	r3, [sp]
	ldr	r3, .L165+4
	ldr	r2, .L165+8
	ldr	r1, .L165+12
	ldr	r0, .L165+16
	bl	__isoc99_sscanf
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	bne	.L164
	ldr	r3, .L165+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L157
	ldr	r3, .L165+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L165+20
	bl	printf
	b	.L153
.L157:
	ldr	r3, .L165+8
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L158
	ldr	r3, .L165+8
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L165+24
	bl	printf
	b	.L153
.L158:
	ldr	r3, .L165+8
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2, #4]
	mul	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, .L165+8
	ldr	r4, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r4, r3
	beq	.L159
	ldr	r0, .L165+28
	bl	puts
	b	.L153
.L159:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L160
	ldr	r0, .L165+28
	bl	puts
	b	.L153
.L160:
	ldr	r3, .L165+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L161
	ldr	r0, .L165+28
	bl	puts
	b	.L153
.L161:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L162
	ldr	r1, [fp, #-24]
	ldr	r0, .L165+32
	bl	printf
	b	.L153
.L162:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L165+8
	ldrb	r2, [r2, #8]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L153
.L163:
	nop
	b	.L153
.L164:
	nop
.L153:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L166:
	.align	2
.L165:
	.word	sub_46ed30+8
	.word	sub_46ed30+4
	.word	sub_46ed30
	.word	.LC25
	.word	data_0x46ecf0
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	sub_130f0, .-sub_130f0
	.section	.rodata
	.align	2
.LC30:
	.ascii	"1. Change Pixel\000"
	.align	2
.LC31:
	.ascii	"2. Print Grid\000"
	.align	2
.LC32:
	.ascii	"3. Help\000"
	.align	2
.LC33:
	.ascii	"4. back\000"
	.align	2
.LC34:
	.ascii	">>> \000"
	.align	2
.LC35:
	.ascii	"(X, Y) char\012Example: (16, 10) A\000"
	.align	2
.LC36:
	.ascii	"Invalid input.\000"
	.text
	.align	2
	.global	sub_13300
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_13300, %function
sub_13300:
	@ 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, #0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	sub_12340
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L168
	ldr	r0, .L178
	bl	puts
	b	.L167
.L168:
	mov	r1, #0
	ldr	r0, .L178+4
	bl	sub_127d0
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L170
	ldr	r1, .L178+4
	ldr	r0, .L178+8
	bl	printf
	b	.L167
.L170:
	ldr	r0, .L178+12
	bl	puts
	ldr	r0, .L178+16
	bl	puts
	ldr	r0, .L178+20
	bl	puts
	ldr	r0, .L178+24
	bl	puts
	ldr	r0, .L178+28
	bl	printf
	bl	sub_12420
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L171
	ldr	r0, .L178
	bl	puts
	b	.L167
.L171:
	ldr	r3, .L178+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L172
	ldr	r0, [fp, #-8]
	bl	sub_130f0
	b	.L170
.L172:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L174
	ldr	r0, [fp, #-8]
	bl	sub_12eb0
	b	.L170
.L174:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L175
	ldr	r0, .L178+32
	bl	puts
	b	.L173
.L175:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L177
	ldr	r0, .L178+36
	bl	puts
.L173:
	b	.L170
.L177:
	nop
.L167:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L179:
	.align	2
.L178:
	.word	.LC8
	.word	data_0x46ecf0
	.word	.LC9
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	sub_13300, .-sub_13300
	.section	.rodata
	.align	2
.LC37:
	.ascii	"1. Touchup Ascii Art\000"
	.align	2
.LC38:
	.ascii	"2. Add filter to Ascii Art\000"
	.align	2
.LC39:
	.ascii	"Welcome to AsciiShop\000"
	.align	2
.LC40:
	.ascii	"\011Touchup your photo with option 1\000"
	.align	2
.LC41:
	.ascii	"\011Add a filter to your photo with option 2\000"
	.align	2
.LC42:
	.ascii	"Invalid option.\000"
	.text
	.align	2
	.global	sub_134a0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_134a0, %function
sub_134a0:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	strb	r3, [fp, #-5]
.L187:
	ldr	r0, .L190
	bl	puts
	ldr	r0, .L190+4
	bl	puts
	ldr	r0, .L190+8
	bl	puts
	ldr	r0, .L190+12
	bl	puts
	ldr	r0, .L190+16
	bl	printf
	bl	sub_12420
	ldr	r3, .L190+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L181
	bl	sub_13300
	b	.L187
.L181:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L183
	bl	sub_12da0
	b	.L187
.L183:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L184
	ldr	r0, .L190+24
	bl	puts
	ldr	r0, .L190+28
	bl	puts
	ldr	r0, .L190+32
	bl	puts
	b	.L187
.L184:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L189
	ldr	r0, .L190+36
	bl	puts
	b	.L187
.L189:
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L191:
	.align	2
.L190:
	.word	.LC37
	.word	.LC38
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	data_0x46ecf0
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	sub_134a0, .-sub_134a0
	.section	.rodata
	.align	2
.LC43:
	.ascii	"++++++++++++++++++++++++++++++++++++++++++\000"
	.align	2
.LC44:
	.ascii	"+WWWWWWNNNXkc,'..   ....   ....,,;;;oKWWW+\000"
	.align	2
.LC45:
	.ascii	"+WWWWWNNXx;...',,'.......      ..,;;;oXWW+\000"
	.align	2
.LC46:
	.ascii	"+WWWWNWXl.     ................. ..,:ckNW+\000"
	.align	2
.LC47:
	.ascii	"+WWWWWNo.                ............:kNW+\000"
	.align	2
.LC48:
	.ascii	"+WWWWWK;                 .............lKW+\000"
	.align	2
.LC49:
	.ascii	"+NXXXKO;      .......'',,;;;.......''.'xW+\000"
	.align	2
.LC50:
	.ascii	"+K000Ok;    ..';;;,;looddddo:',,..':c'.;K+\000"
	.align	2
.LC51:
	.ascii	"+KOOOkd:. .......';codxkxdodlldd,..;ll,,O+\000"
	.align	2
.LC52:
	.ascii	"+XOO0kxd'.',.......;oxo;'..,:cdd:. .'ccc0+\000"
	.align	2
.LC53:
	.ascii	"+Kxdkolo;.;c:;;:c:;lO0xc;,';cloxl.  .;cxN+\000"
	.align	2
.LC54:
	.ascii	"+XkxOkdx:.;lddddolcxKK0kxddxkO00d..,loONW+\000"
	.align	2
.LC55:
	.ascii	"+NXXXXXXk;':ldxxdlo0XXXK0000000Od,;k0KNWW+\000"
	.align	2
.LC56:
	.ascii	"+NXXXKKOd'.;ldxxdcoO00K0O0K0OOOko,lOkOXWW+\000"
	.align	2
.LC57:
	.ascii	"+odkkxdo, .,cdddl:;codx000000OOk;..:xKNNW+\000"
	.align	2
.LC58:
	.ascii	"+:odddol;...:olc;,:ldxkOOO00OOOx:,,;;cxXN+\000"
	.align	2
.LC59:
	.ascii	"+..;ldoll;..';c:'',:ccldxxkOOOkocll:,',l0+\000"
	.align	2
.LC60:
	.ascii	"+.  :xdolc'...,;;,,:cloxkkkkkxc,.':c;,''c+\000"
	.align	2
.LC61:
	.ascii	"+   ;xdoll;....,cccldxxOOkxdxd,..';;;;'.'+\000"
	.align	2
.LC62:
	.ascii	"+   :kxdlc;..'..'',;:ccllodkxl,..,:,;;...+\000"
	.align	2
.LC63:
	.ascii	"+   ;l:,...  .'...     .'o0k:;,'.,l,',...+\000"
	.align	2
.LC64:
	.ascii	"++                                      ++\000"
	.align	2
.LC65:
	.ascii	"++++++++++      AsciiShop       ++++++++++\000"
	.align	2
.LC66:
	.ascii	"++++++++++   Reimagine Ascii.   ++++++++++\000"
	.text
	.align	2
	.global	sub_135c0
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_135c0, %function
sub_135c0:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L193
	bl	puts
	ldr	r0, .L193+4
	bl	puts
	ldr	r0, .L193+8
	bl	puts
	ldr	r0, .L193+12
	bl	puts
	ldr	r0, .L193+16
	bl	puts
	ldr	r0, .L193+20
	bl	puts
	ldr	r0, .L193+24
	bl	puts
	ldr	r0, .L193+28
	bl	puts
	ldr	r0, .L193+32
	bl	puts
	ldr	r0, .L193+36
	bl	puts
	ldr	r0, .L193+40
	bl	puts
	ldr	r0, .L193+44
	bl	puts
	ldr	r0, .L193+48
	bl	puts
	ldr	r0, .L193+52
	bl	puts
	ldr	r0, .L193+56
	bl	puts
	ldr	r0, .L193+60
	bl	puts
	ldr	r0, .L193+64
	bl	puts
	ldr	r0, .L193+68
	bl	puts
	ldr	r0, .L193+72
	bl	puts
	ldr	r0, .L193+76
	bl	puts
	ldr	r0, .L193+80
	bl	puts
	ldr	r0, .L193+84
	bl	puts
	ldr	r0, .L193
	bl	puts
	ldr	r0, .L193+88
	bl	puts
	ldr	r0, .L193
	bl	puts
	ldr	r0, .L193+92
	bl	puts
	nop
	pop	{fp, pc}
.L194:
	.align	2
.L193:
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.size	sub_135c0, .-sub_135c0
	.align	2
	.global	sub_13760
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub_13760, %function
sub_13760:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #60
	bl	alarm
	ldr	r3, .L196
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r3, .L196+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	bl	sub_135c0
	bl	sub_12460
	nop
	pop	{fp, pc}
.L197:
	.align	2
.L196:
	.word	stdin
	.word	stdout
	.size	sub_13760, .-sub_13760
	.section	.rodata
	.align	2
.LC67:
	.ascii	"1. Upload ascii art\000"
	.align	2
.LC68:
	.ascii	"2. Download ascii art\000"
	.align	2
.LC69:
	.ascii	"3. Delete ascii art\000"
	.align	2
.LC70:
	.ascii	"4. Asciishop\000"
	.align	2
.LC71:
	.ascii	"5. Exit\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	strb	r3, [fp, #-5]
	bl	sub_13760
.L206:
	ldr	r0, .L210
	bl	puts
	ldr	r0, .L210+4
	bl	puts
	ldr	r0, .L210+8
	bl	puts
	ldr	r0, .L210+12
	bl	puts
	ldr	r0, .L210+16
	bl	puts
	ldr	r0, .L210+20
	bl	printf
	bl	sub_12420
	ldr	r3, .L210+24
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L199
	bl	sub_12b80
	b	.L206
.L199:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #2
	bne	.L201
	bl	sub_12c70
	b	.L206
.L201:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L202
	bl	sub_12d00
	b	.L206
.L202:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L203
	bl	sub_134a0
	b	.L206
.L203:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #5
	beq	.L209
	ldr	r0, .L210+28
	bl	puts
	b	.L206
.L209:
	nop
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L211:
	.align	2
.L210:
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC34
	.word	data_0x46ecf0
	.word	.LC42
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
