	.file	"550366.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"too little or too many arguments!\n"
	.align 8
.LC1:
	.string	"You are not creating a file in the right format!\n"
	.align 8
.LC2:
	.string	"One or more colors are not from the available options.\n the available options are:\nred\ngreen\nblue\nyellow\norange\ncyan\nmagenta\nocean\nviolet\n"
	.align 8
.LC3:
	.string	"You have to enter integer when talking about the number of children that create the picture!\n"
	.align 8
.LC4:
	.string	"You have to enter integer when talking about the size of the picture!\n"
.LC5:
	.string	"Cannot create or open file\n"
.LC6:
	.string	"Child is writing to file.\n"
.LC7:
	.string	"Parent is running\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 200
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 4
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 4
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 4
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 4
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 33
	mov	edx, 3
	mov	esi, 4
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	DWORD PTR -180[rbp], 10
	je	.L2
	lea	rdi, .LC0[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	verifyFileName
	xor	eax, 1
	test	al, al
	je	.L3
	lea	rdi, .LC1[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	colorMatch
	xor	eax, 1
	test	al, al
	jne	.L4
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	colorMatch
	xor	eax, 1
	test	al, al
	jne	.L4
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	colorMatch
	xor	eax, 1
	test	al, al
	jne	.L4
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	colorMatch
	xor	eax, 1
	test	al, al
	jne	.L4
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	colorMatch
	xor	eax, 1
	test	al, al
	je	.L5
.L4:
	lea	rdi, .LC2[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	checkIfInt
	xor	eax, 1
	test	al, al
	jne	.L6
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	checkIfInt
	xor	eax, 1
	test	al, al
	je	.L7
.L6:
	lea	rdi, .LC3[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	checkIfInt
	xor	eax, 1
	test	al, al
	je	.L8
	lea	rdi, .LC4[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR -152[rbp]
	mov	edx, 420
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC5[rip]
	call	print
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getColor
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 40
	mov	rdx, QWORD PTR [rax]
	lea	rax, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getColor
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 32
	mov	rdx, QWORD PTR [rax]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getColor
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 48
	mov	rdx, QWORD PTR [rax]
	lea	rax, -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getColor
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getColor
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 64
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 56
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	writeHeader
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	lea	rsi, action[rip]
	mov	edi, 10
	call	signal@PLT
	mov	DWORD PTR -160[rbp], 0
	jmp	.L13
.L15:
	call	fork@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -160[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -160[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L14
	call	pause@PLT
	lea	rdi, .LC6[rip]
	call	print
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	r12d, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	rbx, QWORD PTR -144[rbp]
	mov	QWORD PTR -216[rbp], rbx
	mov	rcx, QWORD PTR -120[rbp]
	mov	QWORD PTR -224[rbp], rcx
	mov	r15, QWORD PTR -128[rbp]
	mov	r14, QWORD PTR -80[rbp]
	mov	r13, QWORD PTR -88[rbp]
	mov	rsi, QWORD PTR -96[rbp]
	mov	QWORD PTR -232[rbp], rsi
	mov	rdi, QWORD PTR -104[rbp]
	mov	QWORD PTR -240[rbp], rdi
	mov	rbx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -184[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	esi, eax
	mov	rax, QWORD PTR -152[rbp]
	push	r12
	push	QWORD PTR -208[rbp]
	push	QWORD PTR -216[rbp]
	push	QWORD PTR -224[rbp]
	push	r15
	mov	edx, DWORD PTR -156[rbp]
	push	rdx
	push	r14
	push	r13
	mov	r9, QWORD PTR -232[rbp]
	mov	r8, QWORD PTR -240[rbp]
	mov	rcx, rbx
	mov	edx, DWORD PTR -184[rbp]
	mov	rdi, rax
	call	createFileContent
	add	rsp, 64
	call	getppid@PLT
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	mov	edi, 0
	call	exit@PLT
.L14:
	add	DWORD PTR -160[rbp], 1
.L13:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -160[rbp], eax
	jl	.L15
	mov	DWORD PTR -164[rbp], 0
	jmp	.L16
.L17:
	lea	rdi, .LC7[rip]
	call	print
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	call	pause@PLT
	add	DWORD PTR -164[rbp], 1
.L16:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -164[rbp], eax
	jl	.L17
	lea	rax, -152[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	munmap@PLT
	lea	rax, -144[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	munmap@PLT
	lea	rax, -136[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	munmap@PLT
	lea	rax, -128[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	munmap@PLT
	lea	rax, -120[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rsp, r12
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"Switching\n"
	.text
	.globl	action
	.type	action, @function
action:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC8[rip]
	call	print
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	action, .-action
	.globl	checkIfInt
	.type	checkIfInt, @function
checkIfInt:
.LFB8:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L22
.L26:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L23
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L24
.L23:
	mov	eax, 0
	jmp	.L25
.L24:
	add	DWORD PTR -20[rbp], 1
.L22:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L26
	mov	eax, 1
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	checkIfInt, .-checkIfInt
	.globl	print
	.type	print, @function
print:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print, .-print
	.section	.rodata
.LC9:
	.string	"red"
.LC10:
	.string	"green"
.LC11:
	.string	"blue"
.LC12:
	.string	"yellow"
.LC13:
	.string	"orange"
.LC14:
	.string	"cyan"
.LC15:
	.string	"magenta"
.LC16:
	.string	"ocean"
.LC17:
	.string	"violet"
	.text
	.globl	colorMatch
	.type	colorMatch, @function
colorMatch:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L30
.L29:
	mov	eax, 1
	jmp	.L31
.L30:
	mov	eax, 0
.L31:
	and	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	colorMatch, .-colorMatch
	.section	.rodata
.LC18:
	.string	"255"
.LC19:
	.string	"P6"
	.text
	.globl	writeHeader
	.type	writeHeader, @function
writeHeader:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	WORD PTR -26[rbp], 8202
	lea	rax, .LC18[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L34:
	cmp	rsp, rdx
	je	.L35
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L34
.L35:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L36
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L36:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -26[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rdx, -26[rbp]
	lea	rcx, 1[rdx]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -26[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -26[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	writeHeader, .-writeHeader
	.section	.rodata
.LC20:
	.string	"ppm"
	.text
	.globl	verifyFileName
	.type	verifyFileName, @function
verifyFileName:
.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -73[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L39
.L42:
	cmp	BYTE PTR -73[rbp], 0
	je	.L40
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -72[rbp], edx
	movzx	edx, BYTE PTR [rcx]
	cdqe
	mov	BYTE PTR -64[rbp+rax], dl
.L40:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L41
	mov	BYTE PTR -73[rbp], 1
.L41:
	add	DWORD PTR -68[rbp], 1
.L39:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L42
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	BYTE PTR -64[rbp+rax], 0
	lea	rax, -64[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	sete	al
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	verifyFileName, .-verifyFileName
	.globl	getColor
	.type	getColor, @function
getColor:
.LFB13:
	.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	edi, 3
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L48
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L48:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L49:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L50
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], -1
	jmp	.L45
.L50:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L51:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], -116
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L52:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], -1
	jmp	.L45
.L53:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], -1
	jmp	.L45
.L54:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L55
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 119
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], -66
	jmp	.L45
.L55:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], -108
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], -45
	jmp	.L45
.L56:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	mov	BYTE PTR [rax], 0
	jmp	.L45
.L57:
	nop
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getColor, .-getColor
	.globl	createFileContent
	.type	createFileContent, @function
createFileContent:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	QWORD PTR -80[rbp], r8
	mov	QWORD PTR -88[rbp], r9
	lea	rax, .LC18[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -36[rbp], 3
	mov	eax, DWORD PTR -60[rbp]
	imul	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -24[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC21[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC22[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L59
.L74:
	mov	rax, QWORD PTR 40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR 56[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, ecx
	cmp	edx, eax
	jge	.L60
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L61
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L62
.L61:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L62
.L60:
	mov	rax, QWORD PTR 40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR 56[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, ecx
	cmp	edx, eax
	jl	.L63
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L64
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L62
.L64:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR 16[rbp]
	mov	edi, eax
	call	write@PLT
	jmp	.L62
.L63:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR 24[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L62:
	mov	rax, QWORD PTR 40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR 40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR 40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jne	.L65
	mov	rax, QWORD PTR 40[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR 48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR 64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L66
	mov	rax, QWORD PTR 56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR 56[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L65
.L66:
	mov	rax, QWORD PTR 64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L67
	mov	rax, QWORD PTR 56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR 56[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L65
.L67:
	mov	rax, QWORD PTR 64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3
	jne	.L65
	mov	rax, QWORD PTR 56[rbp]
	mov	DWORD PTR [rax], 0
.L65:
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -20[rbp]
	sub	edx, 1
	cmp	eax, edx
	jl	.L68
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -24[rbp]
	sub	edx, 1
	cmp	eax, edx
	jge	.L68
	mov	rax, QWORD PTR 64[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L69
.L68:
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L70
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L70
	mov	rax, QWORD PTR 64[rbp]
	mov	DWORD PTR [rax], 2
	jmp	.L69
.L70:
	mov	rax, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -24[rbp]
	sub	edx, 1
	cmp	eax, edx
	jne	.L71
	mov	rax, QWORD PTR 64[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L69
.L71:
	mov	rax, QWORD PTR 64[rbp]
	mov	DWORD PTR [rax], 3
.L69:
	add	DWORD PTR -40[rbp], 1
.L59:
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -40[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR 72[rbp]
	divss	xmm0, xmm2
	comiss	xmm0, xmm1
	ja	.L75
	jmp	.L76
.L75:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L74
.L76:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	createFileContent, .-createFileContent
	.section	.rodata
	.align 8
.LC21:
	.long	0
	.long	1070596096
	.align 8
.LC22:
	.long	0
	.long	1072168960
	.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	"550366.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"too little or too many arguments!\012\000"
	.align	2
.LC1:
	.ascii	"You are not creating a file in the right format!\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"One or more colors are not from the available optio"
	.ascii	"ns.\012 the available options are:\012red\012green\012"
	.ascii	"blue\012yellow\012orange\012cyan\012magenta\012ocea"
	.ascii	"n\012violet\012\000"
	.align	2
.LC3:
	.ascii	"You have to enter integer when talking about the nu"
	.ascii	"mber of children that create the picture!\012\000"
	.align	2
.LC4:
	.ascii	"You have to enter integer when talking about the si"
	.ascii	"ze of the picture!\012\000"
	.align	2
.LC5:
	.ascii	"Cannot create or open file\012\000"
	.align	2
.LC6:
	.ascii	"Child is writing to file.\012\000"
	.align	2
.LC7:
	.ascii	"Parent is running\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #140
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r1, #4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r1, #4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r1, #4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r1, #4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [sp, #4]
	mvn	r3, #0
	str	r3, [sp]
	mov	r3, #33
	mov	r2, #3
	mov	r1, #4
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-104]
	cmp	r3, #10
	beq	.L2
	ldr	r0, .L17+4
	bl	print
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	verifyFileName
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L17+8
	bl	print
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	colorMatch
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-108]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	colorMatch
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-108]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	colorMatch
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-108]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	colorMatch
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-108]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	colorMatch
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L5
.L4:
	ldr	r0, .L17+12
	bl	print
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-108]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	checkIfInt
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-108]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	checkIfInt
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r0, .L17+16
	bl	print
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-108]
	add	r3, r3, #36
	ldr	r3, [r3]
	mov	r0, r3
	bl	checkIfInt
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L17+20
	bl	print
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r4, [fp, #-100]
	mov	r2, #420
	mov	r1, #65
	mov	r0, r3
	bl	open
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L17+24
	bl	print
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-108]
	add	r3, r3, #12
	ldr	r2, [r3]
	sub	r3, fp, #80
	mov	r1, r2
	mov	r0, r3
	bl	getColor
	ldr	r3, [fp, #-108]
	add	r3, r3, #20
	ldr	r2, [r3]
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	getColor
	ldr	r3, [fp, #-108]
	add	r3, r3, #16
	ldr	r2, [r3]
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	getColor
	ldr	r3, [fp, #-108]
	add	r3, r3, #24
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	getColor
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #64
	mov	r1, r2
	mov	r0, r3
	bl	getColor
	ldr	r3, [fp, #-108]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L17+28
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-100]
	ldr	r3, [fp, #-108]
	add	r3, r3, #28
	ldr	r1, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r2, r3
	bl	writeHeader
	ldr	r3, [fp, #-108]
	add	r3, r3, #36
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	ip, r0
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #40
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	r1, .L17+32
	mov	r0, #10
	bl	signal
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L10
.L12:
	bl	fork
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L11
	bl	pause
	ldr	r0, .L17+36
	bl	print
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-108]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-108]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-120]
	ldr	ip, [fp, #-80]
	str	ip, [fp, #-124]
	ldr	r4, [fp, #-76]
	ldr	r5, [fp, #-72]
	ldr	r6, [fp, #-68]
	ldr	r7, [fp, #-64]
	ldr	r8, [fp, #-88]
	ldr	r9, [fp, #-84]
	ldr	r10, [fp, #-96]
	ldr	lr, [fp, #-92]
	str	lr, [fp, #-128]
	ldr	r3, [fp, #-108]
	add	r3, r3, #36
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [sp, #36]
	ldr	lr, [fp, #-128]
	str	lr, [sp, #32]
	str	r10, [sp, #28]
	str	r9, [sp, #24]
	str	r8, [sp, #20]
	ldr	r3, [fp, #-52]
	str	r3, [sp, #16]
	str	r7, [sp, #12]
	str	r6, [sp, #8]
	str	r5, [sp, #4]
	str	r4, [sp]
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-120]
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	createFileContent
	bl	getppid
	mov	r3, r0
	mov	r1, #10
	mov	r0, r3
	bl	kill
	mov	r0, #0
	bl	exit
.L11:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L10:
	ldr	r3, [fp, #-108]
	add	r3, r3, #36
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-56]
	cmp	r3, r2
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L13
.L14:
	ldr	r0, .L17+40
	bl	print
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, #10
	mov	r0, r3
	bl	kill
	bl	pause
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L13:
	ldr	r3, [fp, #-108]
	add	r3, r3, #36
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	blt	.L14
	sub	r3, fp, #100
	mov	r1, #4
	mov	r0, r3
	bl	munmap
	sub	r3, fp, #96
	mov	r1, #4
	mov	r0, r3
	bl	munmap
	sub	r3, fp, #92
	mov	r1, #4
	mov	r0, r3
	bl	munmap
	sub	r3, fp, #88
	mov	r1, #4
	mov	r0, r3
	bl	munmap
	sub	r3, fp, #84
	mov	r1, #4
	mov	r0, r3
	bl	munmap
	ldr	r3, [fp, #-80]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-72]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, #0
	mov	sp, r5
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1717986919
	.word	action
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Switching\012\000"
	.text
	.align	2
	.global	action
	.syntax unified
	.arm
	.fpu softvfp
	.type	action, %function
action:
	@ 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	r0, .L20
	bl	print
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC9
	.size	action, .-action
	.align	2
	.global	checkIfInt
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkIfInt, %function
checkIfInt:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L27:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L24
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L25
.L24:
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L23:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L27
	mov	r3, #1
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	checkIfInt, .-checkIfInt
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #1
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print, .-print
	.section	.rodata
	.align	2
.LC10:
	.ascii	"red\000"
	.align	2
.LC11:
	.ascii	"green\000"
	.align	2
.LC12:
	.ascii	"blue\000"
	.align	2
.LC13:
	.ascii	"yellow\000"
	.align	2
.LC14:
	.ascii	"orange\000"
	.align	2
.LC15:
	.ascii	"cyan\000"
	.align	2
.LC16:
	.ascii	"magenta\000"
	.align	2
.LC17:
	.ascii	"ocean\000"
	.align	2
.LC18:
	.ascii	"violet\000"
	.text
	.align	2
	.global	colorMatch
	.syntax unified
	.arm
	.fpu softvfp
	.type	colorMatch, %function
colorMatch:
	@ 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	r1, .L34
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+20
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+24
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+28
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L34+32
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
.L30:
	mov	r3, #1
	b	.L32
.L31:
	mov	r3, #0
.L32:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	colorMatch, .-colorMatch
	.section	.rodata
	.align	2
.LC19:
	.ascii	"255\000"
	.align	2
.LC20:
	.ascii	"P6\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	writeHeader
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeHeader, %function
writeHeader:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, .L38+4
	strh	r3, [fp, #-20]	@ movhi
	ldr	r3, .L38+8
	str	r3, [fp, #-40]
	ldr	r3, .L38+12
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-32]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-36]
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r1, fp, #20
	mov	r2, #1
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]
	ldr	r0, [fp, #-52]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-52]
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r0, [r3]
	sub	r3, fp, #20
	add	r3, r3, #1
	mov	r2, #1
	mov	r1, r3
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-56]
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r1, fp, #20
	mov	r2, #1
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r4, [r3]
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-40]
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r1, fp, #20
	mov	r2, #1
	mov	r0, r3
	bl	write
	mov	sp, r5
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC21
	.word	8202
	.word	.LC19
	.word	.LC20
	.size	writeHeader, .-writeHeader
	.section	.rodata
	.align	2
.LC22:
	.ascii	"ppm\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	verifyFileName
	.syntax unified
	.arm
	.fpu softvfp
	.type	verifyFileName, %function
verifyFileName:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-49]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L41
.L44:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r1, r3, #1
	str	r1, [fp, #-48]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-36]
.L42:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L43
	mov	r3, #1
	strb	r3, [fp, #-49]
.L43:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L41:
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bhi	.L44
	sub	r2, fp, #40
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #40
	ldr	r1, .L47+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC23
	.word	.LC22
	.size	verifyFileName, .-verifyFileName
	.align	2
	.global	getColor
	.syntax unified
	.arm
	.fpu softvfp
	.type	getColor, %function
getColor:
	@ 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]
	mov	r0, #3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L61
	ldr	r1, .L62
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L52:
	ldr	r1, .L62+4
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L53:
	ldr	r1, .L62+8
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mvn	r2, #0
	strb	r2, [r3]
	b	.L49
.L54:
	ldr	r1, .L62+12
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L55:
	ldr	r1, .L62+16
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mvn	r2, #115
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L56:
	ldr	r1, .L62+20
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mvn	r2, #0
	strb	r2, [r3]
	b	.L49
.L57:
	ldr	r1, .L62+24
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mvn	r2, #0
	strb	r2, [r3]
	b	.L49
.L58:
	ldr	r1, .L62+28
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #119
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mvn	r2, #65
	strb	r2, [r3]
	b	.L49
.L59:
	ldr	r1, .L62+32
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L60
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mvn	r2, #107
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mvn	r2, #44
	strb	r2, [r3]
	b	.L49
.L60:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r2, #0
	strb	r2, [r3]
	b	.L49
.L61:
	nop
.L49:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	getColor, .-getColor
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fcmplt
	.align	2
	.global	createFileContent
	.syntax unified
	.arm
	.fpu softvfp
	.type	createFileContent, %function
createFileContent:
	@ args = 40, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L83
	str	r3, [fp, #-44]
	mov	r3, #3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-60]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-64]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L83+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-64]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L83+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L65
.L80:
	ldr	r3, [fp, #24]
	ldr	r2, [r3]
	ldr	r3, [fp, #32]
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	sub	r3, r1, r3
	cmp	r2, r3
	bge	.L66
	ldr	r3, [fp, #28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L67
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	write
	b	.L68
.L67:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	write
	b	.L68
.L66:
	ldr	r3, [fp, #24]
	ldr	r2, [r3]
	ldr	r3, [fp, #32]
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	cmp	r2, r3
	blt	.L69
	ldr	r3, [fp, #28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L70
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #8]
	mov	r0, r3
	bl	write
	b	.L68
.L70:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #12]
	mov	r0, r3
	bl	write
	b	.L68
.L69:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #16]
	mov	r0, r3
	bl	write
.L68:
	ldr	r3, [fp, #24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #24]
	str	r2, [r3]
	ldr	r3, [fp, #24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bne	.L71
	ldr	r3, [fp, #24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #28]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #28]
	str	r2, [r3]
	ldr	r3, [fp, #36]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L72
	ldr	r3, [fp, #32]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #32]
	str	r2, [r3]
	b	.L71
.L72:
	ldr	r3, [fp, #36]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L73
	ldr	r3, [fp, #32]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #32]
	str	r2, [r3]
	b	.L71
.L73:
	ldr	r3, [fp, #36]
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L71
	ldr	r3, [fp, #32]
	mov	r2, #0
	str	r2, [r3]
.L71:
	ldr	r3, [fp, #28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L74
	ldr	r3, [fp, #28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L74
	ldr	r3, [fp, #36]
	mov	r2, #1
	str	r2, [r3]
	b	.L75
.L74:
	ldr	r3, [fp, #28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bgt	.L76
	ldr	r3, [fp, #28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L76
	ldr	r3, [fp, #36]
	mov	r2, #2
	str	r2, [r3]
	b	.L75
.L76:
	ldr	r3, [fp, #28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L77
	ldr	r3, [fp, #36]
	mov	r2, #0
	str	r2, [r3]
	b	.L75
.L77:
	ldr	r3, [fp, #36]
	mov	r2, #3
	str	r2, [r3]
.L75:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L65:
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #40]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	b	.L82
.L81:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L80
.L82:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC19
	.word	1070596096
	.word	1072168960
	.size	createFileContent, .-createFileContent
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
