	.file	"97153.c"
	.intel_syntax noprefix
	.text
	.globl	tam
	.bss
	.align 4
	.type	tam, @object
	.size	tam, 4
tam:
	.zero	4
	.globl	ger
	.align 4
	.type	ger, @object
	.size	ger, 4
ger:
	.zero	4
	.globl	old
	.align 8
	.type	old, @object
	.size	old, 8
old:
	.zero	8
	.globl	new
	.align 8
	.type	new, @object
	.size	new, 8
new:
	.zero	8
	.text
	.globl	GerarMatriz
	.type	GerarMatriz, @function
GerarMatriz:
.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	DWORD PTR -4[rbp], 0
	mov	edi, 1985
	call	srand@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 31
	add	eax, ecx
	and	eax, 1
	sub	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L3:
	mov	eax, DWORD PTR tam[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L4
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR tam[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L5
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	GerarMatriz, .-GerarMatriz
	.section	.rodata
.LC0:
	.string	"Condicao inicial: %d\n"
	.text
	.globl	inicializacao
	.type	inicializacao, @function
inicializacao:
.LFB7:
	.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, 24
	.cfi_offset 3, -24
	mov	eax, DWORD PTR tam[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR old[rip], rax
	mov	eax, DWORD PTR tam[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR new[rip], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR tam[rip]
	cdqe
	sal	rax, 2
	mov	rcx, QWORD PTR old[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR tam[rip]
	cdqe
	sal	rax, 2
	mov	rcx, QWORD PTR new[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -20[rbp], 1
.L8:
	mov	eax, DWORD PTR tam[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L9
	mov	rax, QWORD PTR old[rip]
	mov	rdi, rax
	call	GerarMatriz
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inicializacao, .-inicializacao
	.globl	trocar_matrizes
	.type	trocar_matrizes, @function
trocar_matrizes:
.LFB8:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	trocar_matrizes, .-trocar_matrizes
	.globl	getNeighbors
	.type	getNeighbors, @function
getNeighbors:
.LFB9:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edi, [rsi+rax]
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	lea	r8d, [rdi+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	add	eax, esi
	lea	edi, [r8+rax]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	edx, DWORD PTR tam[rip]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	sub	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	r8d, [rsi+rax]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR tam[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	add	eax, r8d
	add	eax, edi
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getNeighbors, .-getNeighbors
	.globl	ViverOuMorrer
	.type	ViverOuMorrer, @function
ViverOuMorrer:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	getNeighbors
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L14
	cmp	DWORD PTR -4[rbp], 1
	jle	.L15
	cmp	DWORD PTR -4[rbp], 3
	jle	.L16
.L15:
	mov	eax, 0
	jmp	.L17
.L16:
	mov	eax, 1
	jmp	.L17
.L14:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L18
	mov	eax, 1
	jmp	.L17
.L18:
	mov	eax, 0
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ViverOuMorrer, .-ViverOuMorrer
	.globl	Evoluir
	.type	Evoluir, @function
Evoluir:
.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, 32
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L23:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	lea	rbx, [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ViverOuMorrer
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -12[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L21:
	mov	eax, DWORD PTR tam[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L22
	add	DWORD PTR -20[rbp], 1
.L20:
	mov	eax, DWORD PTR tam[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L23
	mov	eax, DWORD PTR -12[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	Evoluir, .-Evoluir
	.section	.rodata
	.align 8
.LC1:
	.string	"\nTempo: %d segundos %d milisegundos\n"
	.text
	.globl	TempoDecorrido
	.type	TempoDecorrido, @function
TempoDecorrido:
.LFB12:
	.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	rax, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	sub	rax, rdx
	imul	esi, eax, 1000
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	sub	rax, rdx
	mov	rcx, rax
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	eax, esi
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	imul	edx, eax, -1000
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	TempoDecorrido, .-TempoDecorrido
	.section	.rodata
.LC2:
	.string	"Geracao %d: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR tam[rip], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR ger[rip], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	omp_set_num_threads@PLT
	mov	eax, 0
	call	inicializacao
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -60[rbp], 0
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR new[rip]
	mov	rax, QWORD PTR old[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	Evoluir
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, new[rip]
	lea	rdi, old[rip]
	call	trocar_matrizes
	add	DWORD PTR -60[rbp], 1
.L27:
	mov	eax, DWORD PTR ger[rip]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L28
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdi, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	TempoDecorrido
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"97153.c"
	.text
	.comm	tam,4,4
	.comm	ger,4,4
	.global	old
	.bss
	.align	2
	.type	old, %object
	.size	old, 4
old:
	.space	4
	.global	new
	.align	2
	.type	new, %object
	.size	new, 4
new:
	.space	4
	.text
	.align	2
	.global	GerarMatriz
	.syntax unified
	.arm
	.fpu softvfp
	.type	GerarMatriz, %function
GerarMatriz:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L7
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L4:
	bl	rand
	mov	r3, r0
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-24]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	add	r2, r1, r2
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	1985
	.word	tam
	.size	GerarMatriz, .-GerarMatriz
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Condicao inicial: %d\012\000"
	.text
	.align	2
	.global	inicializacao
	.syntax unified
	.arm
	.fpu softvfp
	.type	inicializacao, %function
inicializacao:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L12+4
	str	r2, [r3]
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L12+8
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r1, r3, #2
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L12
	ldr	r3, [r3]
	lsl	r1, r3, #2
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L11
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	GerarMatriz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	tam
	.word	old
	.word	new
	.word	.LC0
	.size	inicializacao, .-inicializacao
	.align	2
	.global	trocar_matrizes
	.syntax unified
	.arm
	.fpu softvfp
	.type	trocar_matrizes, %function
trocar_matrizes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	trocar_matrizes, .-trocar_matrizes
	.global	__aeabi_idivmod
	.align	2
	.global	getNeighbors
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNeighbors, %function
getNeighbors:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r4, r3
	ldr	r4, [r3]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r4, r4, r3
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r5, r3
	ldr	r3, [r3]
	add	r4, r4, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r5, [r3]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r5, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r6, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r6, r3
	ldr	r3, [r3]
	add	r3, r5, r3
	add	r4, r4, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r5, [r3]
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r5, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r5, r5, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r6, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, .L17
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r6, r3
	ldr	r3, [r3]
	add	r3, r5, r3
	add	r3, r4, r3
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L18:
	.align	2
.L17:
	.word	tam
	.size	getNeighbors, .-getNeighbors
	.align	2
	.global	ViverOuMorrer
	.syntax unified
	.arm
	.fpu softvfp
	.type	ViverOuMorrer, %function
ViverOuMorrer:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getNeighbors
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L21
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L22
.L21:
	mov	r3, #0
	b	.L23
.L22:
	mov	r3, #1
	b	.L23
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L24
	mov	r3, #1
	b	.L23
.L24:
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ViverOuMorrer, .-ViverOuMorrer
	.align	2
	.global	Evoluir
	.syntax unified
	.arm
	.fpu softvfp
	.type	Evoluir, %function
Evoluir:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L26
.L29:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L27
.L28:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	ViverOuMorrer
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L27:
	ldr	r3, .L31
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L26:
	ldr	r3, .L31
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	tam
	.size	Evoluir, .-Evoluir
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Tempo: %d segundos %d milisegundos\012\000"
	.text
	.align	2
	.global	TempoDecorrido
	.syntax unified
	.arm
	.fpu softvfp
	.type	TempoDecorrido, %function
TempoDecorrido:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	sub	ip, fp, #28
	stm	ip, {r0, r1}
	sub	r1, fp, #36
	stm	r1, {r2, r3}
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	ldr	r2, .L34
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r1, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L34
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #22
	sub	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L34+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	274877907
	.word	.LC1
	.size	TempoDecorrido, .-TempoDecorrido
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Geracao %d: %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-44]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L41+4
	str	r3, [r2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L41+8
	str	r3, [r2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	omp_set_num_threads
	bl	inicializacao
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L37
.L38:
	ldr	r3, .L41+12
	ldr	r3, [r3]
	ldr	r2, .L41+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	Evoluir
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L41+20
	bl	printf
	ldr	r1, .L41+16
	ldr	r0, .L41+12
	bl	trocar_matrizes
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L37:
	ldr	r3, .L41+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L38
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #16
	ldm	r3, {r2, r3}
	sub	r1, fp, #24
	ldm	r1, {r0, r1}
	bl	TempoDecorrido
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC3
	.word	tam
	.word	ger
	.word	old
	.word	new
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
