	.file	"64786.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	colors, @object
	.size	colors, 88
colors:
	.byte	32
	.zero	3
	.long	0
	.byte	66
	.zero	3
	.long	0
	.byte	87
	.zero	3
	.long	16777215
	.byte	71
	.zero	3
	.long	8421504
	.byte	114
	.zero	3
	.long	16711680
	.byte	111
	.zero	3
	.long	16744448
	.byte	121
	.zero	3
	.long	16776960
	.byte	103
	.zero	3
	.long	65280
	.byte	98
	.zero	3
	.long	33023
	.byte	112
	.zero	3
	.long	16711808
	.byte	0
	.zero	3
	.long	0
	.align 8
.LC0:
	.string	"    gg       gggg     gggggg   gg gg gg  gggggggg   g gg g   g      g   g    g  "
	.section	.data.rel.ro.local,"aw"
	.align 16
	.type	invader1a, @object
	.size	invader1a, 16
invader1a:
	.long	10
	.long	8
	.quad	.LC0
	.section	.rodata
	.align 8
.LC1:
	.string	"    gg       gggg     gggggg   gg gg gg  gggggggg    g  g     g gg g   g g  g g "
	.section	.data.rel.ro.local
	.align 16
	.type	invader1b, @object
	.size	invader1b, 16
invader1b:
	.long	10
	.long	8
	.quad	.LC1
	.section	.rodata
	.align 8
.LC2:
	.string	"  b     b     b   b     bbbbbbb   bb bbb bb bbbbbbbbbbbb bbbbbbb bb b     b b   bb bb   "
	.section	.data.rel.ro.local
	.align 16
	.type	invader2a, @object
	.size	invader2a, 16
invader2a:
	.long	11
	.long	8
	.quad	.LC2
	.section	.rodata
	.align 8
.LC3:
	.string	"  b     b  b  b   b  bb bbbbbbb b bb bbb bb bbbbbbbbbbb bbbbbbbbb   b     b   b       b "
	.section	.data.rel.ro.local
	.align 16
	.type	invader2b, @object
	.size	invader2b, 16
invader2b:
	.long	11
	.long	8
	.quad	.LC3
	.section	.rodata
	.align 8
.LC4:
	.string	"    pppp     pppppppppp ppppppppppppppp  pp  ppppppppppppppp  ppp  ppp   pp  pp  pp   pp    pp  "
	.section	.data.rel.ro.local
	.align 16
	.type	invader3a, @object
	.size	invader3a, 16
invader3a:
	.long	12
	.long	8
	.quad	.LC4
	.section	.rodata
	.align 8
.LC5:
	.string	"    pppp     pppppppppp ppppppppppppppp  pp  ppppppppppppppp   pp  pp     pp pp pp  pp        pp"
	.section	.data.rel.ro.local
	.align 16
	.type	invader3b, @object
	.size	invader3b, 16
invader3b:
	.long	12
	.long	8
	.quad	.LC5
	.text
	.type	draw_blob, @function
draw_blob:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	js	.L4
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L4
	cmp	DWORD PTR -4[rbp], 0
	js	.L4
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L4
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 32
	je	.L4
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L4:
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 79
	jle	.L5
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 7
	jle	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	draw_blob, .-draw_blob
	.type	draw_back, @function
draw_back:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 640
	mov	esi, 66
	mov	rdi, rax
	call	memset@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	draw_back, .-draw_back
	.type	draw_invaders, @function
draw_invaders:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -48[rbp], r8
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L9
.L10:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 4
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	edx, DWORD PTR -4[rbp]
	imul	edx, edx, 30
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, -30[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	draw_blob
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	draw_blob
	add	DWORD PTR -16[rbp], 1
.L9:
	cmp	DWORD PTR -16[rbp], 4
	jle	.L10
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	draw_invaders, .-draw_invaders
	.section	.rodata
.LC6:
	.string	"color '%c' not found!\n"
	.text
	.type	get_rgb, @function
get_rgb:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	lea	rax, colors[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	jmp	.L14
.L13:
	add	QWORD PTR -8[rbp], 8
.L12:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	movsx	edx, BYTE PTR -20[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	get_rgb, .-get_rgb
	.section	.rodata
.LC7:
	.string	"invaders%03d.ppm"
.LC8:
	.string	"wb"
.LC9:
	.string	"P6\n%d %d\n%d\n"
	.text
	.type	save_image, @function
save_image:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR -180[rbp]
	lea	rax, -144[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -144[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -152[rbp]
	mov	r8d, 255
	mov	ecx, 8
	mov	edx, 80
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L18
.L21:
	mov	DWORD PTR -160[rbp], 0
	jmp	.L19
.L20:
	mov	edx, DWORD PTR -164[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -160[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -165[rbp], al
	movsx	eax, BYTE PTR -165[rbp]
	mov	edi, eax
	call	get_rgb
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	shr	eax, 16
	mov	BYTE PTR -166[rbp], al
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -166[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -156[rbp]
	shr	eax, 8
	mov	BYTE PTR -166[rbp], al
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -166[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -156[rbp]
	mov	BYTE PTR -166[rbp], al
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -166[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -160[rbp], 1
.L19:
	cmp	DWORD PTR -160[rbp], 79
	jle	.L20
	add	DWORD PTR -164[rbp], 1
.L18:
	cmp	DWORD PTR -164[rbp], 7
	jle	.L21
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L23:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	save_image, .-save_image
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 736
	mov	DWORD PTR -724[rbp], edi
	mov	QWORD PTR -736[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, invader1a[rip]
	mov	QWORD PTR -704[rbp], rax
	lea	rax, invader1b[rip]
	mov	QWORD PTR -696[rbp], rax
	lea	rax, invader2a[rip]
	mov	QWORD PTR -688[rbp], rax
	lea	rax, invader2b[rip]
	mov	QWORD PTR -680[rbp], rax
	lea	rax, invader3a[rip]
	mov	QWORD PTR -672[rbp], rax
	lea	rax, invader3b[rip]
	mov	QWORD PTR -664[rbp], rax
	mov	DWORD PTR -708[rbp], -10
	mov	DWORD PTR -712[rbp], 0
	jmp	.L25
.L28:
	lea	rdx, -656[rbp]
	mov	eax, DWORD PTR -712[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	draw_back
	mov	eax, DWORD PTR -712[rbp]
	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
	and	eax, 1
	test	eax, eax
	je	.L26
	sub	DWORD PTR -708[rbp], 3
	jmp	.L27
.L26:
	add	DWORD PTR -708[rbp], 3
.L27:
	lea	rcx, -656[rbp]
	lea	rdx, -704[rbp]
	mov	esi, DWORD PTR -708[rbp]
	mov	eax, DWORD PTR -712[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 0
	mov	edi, eax
	call	draw_invaders
	lea	rcx, -656[rbp]
	lea	rdx, -688[rbp]
	mov	esi, DWORD PTR -708[rbp]
	mov	eax, DWORD PTR -712[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 10
	mov	edi, eax
	call	draw_invaders
	lea	rcx, -656[rbp]
	lea	rdx, -672[rbp]
	mov	esi, DWORD PTR -708[rbp]
	mov	eax, DWORD PTR -712[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 20
	mov	edi, eax
	call	draw_invaders
	lea	rdx, -656[rbp]
	mov	eax, DWORD PTR -712[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	save_image
	add	DWORD PTR -712[rbp], 1
.L25:
	cmp	DWORD PTR -712[rbp], 59
	jle	.L28
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"64786.c"
	.text
	.section	.rodata
	.align	2
	.type	colors, %object
	.size	colors, 88
colors:
	.byte	32
	.space	3
	.word	0
	.byte	66
	.space	3
	.word	0
	.byte	87
	.space	3
	.word	16777215
	.byte	71
	.space	3
	.word	8421504
	.byte	114
	.space	3
	.word	16711680
	.byte	111
	.space	3
	.word	16744448
	.byte	121
	.space	3
	.word	16776960
	.byte	103
	.space	3
	.word	65280
	.byte	98
	.space	3
	.word	33023
	.byte	112
	.space	3
	.word	16711808
	.byte	0
	.space	3
	.word	0
	.align	2
.LC3:
	.ascii	"    gg       gggg     gggggg   gg gg gg  gggggggg  "
	.ascii	" g gg g   g      g   g    g  \000"
	.align	2
	.type	invader1a, %object
	.size	invader1a, 12
invader1a:
	.word	10
	.word	8
	.word	.LC3
	.align	2
.LC4:
	.ascii	"    gg       gggg     gggggg   gg gg gg  gggggggg  "
	.ascii	"  g  g     g gg g   g g  g g \000"
	.align	2
	.type	invader1b, %object
	.size	invader1b, 12
invader1b:
	.word	10
	.word	8
	.word	.LC4
	.align	2
.LC5:
	.ascii	"  b     b     b   b     bbbbbbb   bb bbb bb bbbbbbb"
	.ascii	"bbbbb bbbbbbb bb b     b b   bb bb   \000"
	.align	2
	.type	invader2a, %object
	.size	invader2a, 12
invader2a:
	.word	11
	.word	8
	.word	.LC5
	.align	2
.LC6:
	.ascii	"  b     b  b  b   b  bb bbbbbbb b bb bbb bb bbbbbbb"
	.ascii	"bbbb bbbbbbbbb   b     b   b       b \000"
	.align	2
	.type	invader2b, %object
	.size	invader2b, 12
invader2b:
	.word	11
	.word	8
	.word	.LC6
	.align	2
.LC7:
	.ascii	"    pppp     pppppppppp ppppppppppppppp  pp  pppppp"
	.ascii	"ppppppppp  ppp  ppp   pp  pp  pp   pp    pp  \000"
	.align	2
	.type	invader3a, %object
	.size	invader3a, 12
invader3a:
	.word	12
	.word	8
	.word	.LC7
	.align	2
.LC8:
	.ascii	"    pppp     pppppppppp ppppppppppppppp  pp  pppppp"
	.ascii	"ppppppppp   pp  pp     pp pp pp  pp        pp\000"
	.align	2
	.type	invader3b, %object
	.size	invader3b, 12
invader3b:
	.word	12
	.word	8
	.word	.LC8
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_blob, %function
draw_blob:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L4
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L4
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-36]
	ldr	r2, [r2]
	ldr	r1, [fp, #-8]
	mul	r1, r2, r1
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L4
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #79
	ble	.L5
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L6
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	draw_blob, .-draw_blob
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_back, %function
draw_back:
	@ 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	r2, #640
	mov	r1, #66
	ldr	r0, [fp, #-12]
	bl	memset
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	draw_back, .-draw_back
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_invaders, %function
draw_invaders:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L9
.L10:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, .L11
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #30
	ldr	r2, [fp, #-12]
	ldr	r0, [fp, #4]
	bl	draw_blob
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r0, [fp, #4]
	bl	draw_blob
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	ble	.L10
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	-2004318071
	.size	draw_invaders, .-draw_invaders
	.section	.rodata
	.align	2
.LC9:
	.ascii	"color '%c' not found!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_rgb, %function
get_rgb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L18
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L15
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	b	.L16
.L15:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L18+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	colors
	.word	stderr
	.word	.LC9
	.size	get_rgb, .-get_rgb
	.section	.rodata
	.align	2
.LC10:
	.ascii	"invaders%03d.ppm\000"
	.align	2
.LC11:
	.ascii	"wb\000"
	.align	2
.LC12:
	.ascii	"P6\012%d %d\012%d\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_image, %function
save_image:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	ldr	r2, [fp, #-160]
	ldr	r1, .L28+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #136
	ldr	r1, .L28+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L27
	mov	r3, #255
	str	r3, [sp]
	mov	r3, #8
	mov	r2, #80
	ldr	r1, .L28+12
	ldr	r0, [fp, #-144]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L22
.L25:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L23
.L24:
	ldr	r2, [fp, #-152]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-153]
	ldrb	r3, [fp, #-153]	@ zero_extendqisi2
	mov	r0, r3
	bl	get_rgb
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	lsr	r3, r3, #16
	and	r3, r3, #255
	strb	r3, [fp, #-154]
	sub	r0, fp, #154
	ldr	r3, [fp, #-144]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-140]
	lsr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-154]
	sub	r0, fp, #154
	ldr	r3, [fp, #-144]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-140]
	and	r3, r3, #255
	strb	r3, [fp, #-154]
	sub	r0, fp, #154
	ldr	r3, [fp, #-144]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L23:
	ldr	r3, [fp, #-148]
	cmp	r3, #79
	ble	.L24
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L22:
	ldr	r3, [fp, #-152]
	cmp	r3, #7
	ble	.L25
	ldr	r0, [fp, #-144]
	bl	fclose
.L27:
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC13
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	save_image, .-save_image
	.section	.rodata
	.align	2
.LC0:
	.word	invader1a
	.word	invader1b
	.align	2
.LC1:
	.word	invader2a
	.word	invader2b
	.align	2
.LC2:
	.word	invader3a
	.word	invader3b
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 688
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #696
	str	r0, [fp, #-688]
	str	r1, [fp, #-692]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L37+4
	sub	r3, fp, #672
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, .L37+8
	sub	r3, fp, #664
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, .L37+12
	sub	r3, fp, #656
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	mvn	r3, #9
	str	r3, [fp, #-676]
	mov	r3, #0
	str	r3, [fp, #-680]
	b	.L31
.L34:
	sub	r3, fp, #648
	mov	r1, r3
	ldr	r0, [fp, #-680]
	bl	draw_back
	ldr	r3, [fp, #-680]
	ldr	r2, .L37+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-676]
	sub	r3, r3, #3
	str	r3, [fp, #-676]
	b	.L33
.L32:
	ldr	r3, [fp, #-676]
	add	r3, r3, #3
	str	r3, [fp, #-676]
.L33:
	sub	r2, fp, #672
	sub	r3, fp, #648
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	ldr	r1, [fp, #-676]
	ldr	r0, [fp, #-680]
	bl	draw_invaders
	sub	r2, fp, #664
	sub	r3, fp, #648
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #10
	ldr	r1, [fp, #-676]
	ldr	r0, [fp, #-680]
	bl	draw_invaders
	sub	r2, fp, #656
	sub	r3, fp, #648
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #20
	ldr	r1, [fp, #-676]
	ldr	r0, [fp, #-680]
	bl	draw_invaders
	sub	r3, fp, #648
	mov	r1, r3
	ldr	r0, [fp, #-680]
	bl	save_image
	ldr	r3, [fp, #-680]
	add	r3, r3, #1
	str	r3, [fp, #-680]
.L31:
	ldr	r3, [fp, #-680]
	cmp	r3, #59
	ble	.L34
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1717986919
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
